1 2015-06-24 H.J. Lu <hongjiu.lu@intel.com>
4 * elf/readlib.c (is_gdb_python_file): New.
5 (process_file): Don't issue errors on filenames with -gdb.py
8 2015-06-24 Joseph Myers <joseph@codesourcery.com>
10 * math/auto-libm-test-in: Add more tests of csin and csinh.
11 * math/auto-libm-test-out: Regenerated.
12 * math/libm-test.inc (csin_test_data): Remove tests moved to
14 (csinh_test_data): Likewise.
17 * math/s_csin.c (__csin): Negate before rather than after possibly
18 overflowing multiplication.
19 * math/s_csinf.c (__csinf): Likewise.
20 * math/s_csinh.c (__csinh): Likewise.
21 * math/s_csinhf.c (__csinhf): Likewise.
22 * math/s_csinhl.c (__csinhl): Likewise.
23 * math/s_csinl.c (__csinl): Likewise.
24 * math/auto-libm-test-in: Add some tests of csin and csinh.
25 * math/auto-libm-test-out: Regenerated.
26 * math/libm-test.inc (csin_test_data): Use AUTO_TESTS_c_c.
27 (csinh_test_data): Likewise.
28 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
31 * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Force
32 underflow exception for small results.
34 2015-06-24 Andrew Senkevich <andrew.senkevich@intel.com>
36 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Fixed files list.
37 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S: Renamed variable
39 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S: Likewise.
40 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S: Likewise.
41 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S: Likewise.
42 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S: Likewise.
43 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S: Likewise.
44 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S: Likewise.
45 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S: Likewise.
46 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S: Likewise.
47 * sysdeps/x86_64/fpu/svml_s_trig_data.S: New file.
48 * sysdeps/x86_64/fpu/svml_s_trig_data.h: Likewise.
49 * sysdeps/x86_64/fpu/svml_s_cosf_data.S: Removed file.
50 * sysdeps/x86_64/fpu/svml_s_cosf_data.h: Likewise.
51 * sysdeps/x86_64/fpu/svml_s_sinf_data.S: Likewise.
52 * sysdeps/x86_64/fpu/svml_s_sinf_data.h: Likewise.
53 * sysdeps/x86_64/fpu/svml_s_sincosf_data.S: Likewise.
54 * sysdeps/x86_64/fpu/svml_s_sincosf_data.h: Likewise.
56 2015-06-23 Joseph Myers <joseph@codesourcery.com>
60 * sysdeps/ieee754/dbl-64/s_sin.c: Include <float.h>.
61 (__sin): Force underflow exception for arguments with small
63 * sysdeps/ieee754/flt-32/k_sinf.c: Include <float.h>.
64 (__kernel_sinf): Force underflow exception for arguments with
66 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Include <float.h>.
67 (__kernel_sincosl): Force underflow exception for arguments with
69 * sysdeps/ieee754/ldbl-128/k_sinl.c: Include <float.h>.
70 (__kernel_sinl): Force underflow exception for arguments with
72 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Include <float.h>.
73 (__kernel_sincosl): Force underflow exception for arguments with
75 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Include <float.h>.
76 (__kernel_sinl): Force underflow exception for arguments with
78 * sysdeps/ieee754/ldbl-96/k_sinl.c: Include <float.h>.
79 (__kernel_sinl): Force underflow exception for arguments with
81 * sysdeps/powerpc/fpu/k_sinf.c: Include <float.h>.
82 (__kernel_sinf): Force underflow exception for arguments with
84 * math/auto-libm-test-in: Add more tests of sin and sincos.
85 * math/auto-libm-test-out: Regenerated.
89 * sysdeps/ieee754/k_standardl.c: Include <fenv.h>.
90 (__kernel_standard_l): Use feholdexcept and fesetenv around
91 conversion to double instead of special-casing overflow and
93 * math/libm-test.inc (fmod_test_data): Add more tests.
94 (remainder_test_data): Likewise.
95 (sqrt_test_data): Likewise.
97 2015-06-23 Torvald Riegel <triegel@redhat.com>
100 * sysdeps/x86_64/bits/atomic.h: (atomic_full_barrier,
101 atomic_read_barrier, atomic_write_barrier): Define.
102 * sysdeps/i386/i486/bits/atomic.h (atomic_full_barrier,
103 atomic_read_barrier, atomic_write_barrier): Define.
105 2015-06-23 Joseph Myers <joseph@codesourcery.com>
107 * math/Makefile [$(PERL) != no]
108 ($(addprefix $(objpfx), $(addsuffix .o, $(libm-vec-tests)))): Move
109 dependency on libm-test.stmp below the inclusion of Rules.
111 2015-06-23 Andrew Senkevich <andrew.senkevich@intel.com>
113 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Fixed files list.
114 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S: Renamed variable
116 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S: Likewise.
117 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: Likewise.
118 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S: Likewise.
119 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S: Likewise.
120 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S: Likewise.
121 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: Likewise.
122 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: Likewise.
123 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: Likewise.
124 * sysdeps/x86_64/fpu/svml_d_trig_data.S: New file.
125 * sysdeps/x86_64/fpu/svml_d_trig_data.h: Likewise.
126 * sysdeps/x86_64/fpu/svml_d_cos2_core.S: Removed unneeded include.
127 * sysdeps/x86_64/fpu/svml_d_cos4_core.S: Likewise.
128 * sysdeps/x86_64/fpu/svml_d_cos8_core.S: Likewise.
129 * sysdeps/x86_64/fpu/svml_d_cos_data.S: Removed file.
130 * sysdeps/x86_64/fpu/svml_d_cos_data.h: Likewise.
131 * sysdeps/x86_64/fpu/svml_d_sin_data.S: Likewise.
132 * sysdeps/x86_64/fpu/svml_d_sin_data.h: Likewise.
133 * sysdeps/x86_64/fpu/svml_d_sincos_data.S: Likewise.
134 * sysdeps/x86_64/fpu/svml_d_sincos_data.h: Likewise.
136 2015-06-23 Joseph Myers <joseph@codesourcery.com>
139 * math/s_csqrt.c (__csqrt): Avoid multiplication by 0.5 where
140 intermediate but not final result might underflow.
141 * math/s_csqrtf.c (__csqrtf): Likewise.
142 * math/s_csqrtl.c (__csqrtl): Likewise.
143 * math/auto-libm-test-in: Add more tests of csqrt.
144 * math/auto-libm-test-out: Regenerated.
145 * sysdeps/i386/fpu/libm-test-ulps: Update.
148 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Reduce
149 threshold on absolute value of exponent for which scaling is used.
150 * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
151 * math/auto-libm-test-in: Add more tests of exp2.
152 * math/auto-libm-test-out: Regenerated.
154 2015-06-23 Dmitry V. Levin <ldv@altlinux.org>
157 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix unlocking
158 when initializing interface list, based on the bug analysis
159 and the patch proposed by Eric Newton.
160 * resolv/tst-res_hconf_reorder.c: New test.
161 * resolv/Makefile [$(have-thread-library) = yes] (tests): Add
162 tst-res_hconf_reorder.
163 ($(objpfx)tst-res_hconf_reorder): Depend on $(libdl)
164 and $(shared-thread-library).
165 (tst-res_hconf_reorder-ENV): New variable.
167 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix typo
170 2015-06-22 Joseph Myers <joseph@codesourcery.com>
173 * sysdeps/i386/fpu/s_expm1.S (dbl_min): New object.
174 (__expm1): Force underflow exception for arguments with small
176 * sysdeps/i386/fpu/s_expm1f.S (flt_min): New object.
177 (__expm1f): Force underflow exception for arguments with small
179 * sysdeps/ieee754/dbl-64/s_expm1.c: Include <float.h>.
180 (__expm1): Force underflow exception for arguments with small
182 * sysdeps/ieee754/flt-32/s_expm1f.c: Include <float.h>.
183 (__expm1f): Force underflow exception for arguments with small
185 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
186 Check for small arguments before calling __expm1.
187 * math/auto-libm-test-in: Do not mark underflow exceptions as
188 possibly missing for bug 16353.
189 * math/auto-libm-test-out: Regenerated.
191 2015-06-22 Andreas Schwab <schwab@suse.de>
194 * resolv/nss_dns/dns-host.c (getanswer_r): Record TTL also for
197 2015-06-22 Leonhard Holz <leonhard.holz@web.de>
199 * string/strcoll_l.c (STRCOLL): Remove unnecessary memset.
201 * string/strcoll_l.c: Remove unused struct element idxnow.
203 2015-06-21 Joseph Myers <joseph@codesourcery.com>
206 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Force
207 underflow and return argument in case of subnormal argument.
208 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
210 * math/auto-libm-test-in: Add more tests of expm1.
211 * math/auto-libm-test-out: Regenerated.
214 * sysdeps/i386/fpu/e_expl.S [!USE_AS_EXPM1L] (cmin): New object.
215 (IEEE754_EXPL) [!USE_AS_EXPM1L]: Force underflow exception for
217 * sysdeps/x86_64/fpu/e_expl.S [!USE_AS_EXPM1L] (cmin): New object.
218 (IEEE754_EXPL) [!USE_AS_EXPM1L]: Force underflow exception for
220 * math/auto-libm-test-in: Add more tests of exp and exp10. Do not
221 mark underflow exceptions as possibly missing for bug 16361.
222 * math/auto-libm-test-out: Regenerated.
224 2015-06-19 Joseph Myers <joseph@codesourcery.com>
226 * conform/data/sys/select.h-data [XOPEN2K8] (pselect): Expect.
227 * conform/Makefile (test-xfail-XOPEN2K8/sys/select.h/conform):
229 (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
230 (test-xfail-XOPEN2K8/utmpx.h/conform).
232 * conform/conformtest.pl ($xerrors): New variable.
233 (note_error): New function.
234 (compiletest): New argument $xfail. Use not_error.
236 (top level): Handle xfail- lines. Update calls to compiletest and
237 runtest. Handle xfail- and optional- in headers listed with
239 * conform/data/fcntl.h-data (O_TTY_INIT): Use xfail-.
241 (O_SEARCH): Likewise.
242 * conform/data/stropts.h-data (ioctl): Likewise.
243 * conform/data/sys/ipc.h-data (ipc_perm.mode): Likewise.
244 * conform/data/sys/sem.h-data (semid_ds.sem_nsems): Likewise.
245 * conform/data/sys/socket.h-data (msghdr.msg_iovlen): Likewise.
246 (msghdr.msg_controllen): Likewise.
247 (cmsghdr.cmsg_len): Likewise.
248 * conform/data/utmpx.h-data (utmpx.ut_tv): Likewise.
249 * conform/Makefile (test-xfail-XPG3/sys/ipc.h/conform): Remove
251 (test-xfail-XPG3/sys/sem.h/conform): Likewise.
252 (test-xfail-XPG4/stropts.h/conform): Likewise.
253 (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
254 (test-xfail-XPG4/sys/sem.h/conform): Likewise.
255 (test-xfail-XPG4/sys/socket.h/conform): Likewise.
256 (test-xfail-UNIX98/stropts.h/conform): Likewise.
257 (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
258 (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
259 (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
260 (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
261 (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
262 (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
263 (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
264 (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
265 (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
266 (test-xfail-POSIX2008/stropts.h/conform): Likewise.
267 (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
268 (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
269 (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
270 (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
271 (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
273 2015-06-19 Andrew Senkevich <andrew.senkevich@intel.com>
275 * sysdeps/ieee754/ldbl-opt/s_sin.c (__DECL_SIMD_sincos_disable,
276 __DECL_SIMD_sincos_disablef, __DECL_SIMD_sincos_disablel): Added empty
277 definitions for proper unfolding of __MATHDECL_VEC.
279 2015-06-19 Stefan Liebler <stli@linux.vnet.ibm.com>
281 * benchtests/bench-strcoll.c:
283 (main): Remove unused variable res.
285 2015-06-19 Stefan Liebler <stli@linux.vnet.ibm.com>
287 * timezone/Makefile (%/UTC %/Universal):
288 Generate test-result files for UTC and Universal.
290 2015-06-19 Stefan Liebler <stli@linux.vnet.ibm.com>
292 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
294 2015-06-18 Joseph Myers <joseph@codesourcery.com>
297 * sysdeps/i386/fpu/s_asinh.S (__asinh): Force underflow exception
298 for arguments with small absolute value.
299 * sysdeps/i386/fpu/s_asinhf.S (__asinhf): Likewise.
300 * sysdeps/i386/fpu/s_asinhl.S (__asinhl): Likewise.
301 * sysdeps/ieee754/dbl-64/s_asinh.c: Include <float.h>.
302 (__asinh): Force underflow exception for arguments with small
304 * sysdeps/ieee754/flt-32/s_asinhf.c: Include <float.h>.
305 (__asinhf): Force underflow exception for arguments with small
307 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Include <float.h>.
308 (__asinhl): Force underflow exception for arguments with small
310 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Include <float.h>.
311 (__asinhl): Force underflow exception for arguments with small
313 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Include <float.h>.
314 (__asinhl): Force underflow exception for arguments with small
316 * math/auto-libm-test-in: Do not mark underflow exceptions as
317 possibly missing for bug 16350.
318 * math/auto-libm-test-out: Regenerated.
320 * include/bits/ipc.h: Remove file.
321 * conform/Makefile (test-xfail-XPG3/sys/msg.h/conform): Remove
323 (test-xfail-XPG3/sys/shm.h/conform): Likewise.
324 (test-xfail-XPG4/sys/msg.h/conform): Likewise.
325 (test-xfail-XPG4/sys/shm.h/conform): Likewise.
326 (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
327 (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
328 (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
329 (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
330 (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
331 (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
333 * math/auto-libm-test-in: Remove spurious underflow allowance for
335 * math/auto-libm-test-out: Regenerated.
338 * sysdeps/unix/sysv/linux/bits/in.h (MCAST_JOIN_GROUP): Remove
339 unconditional definition.
340 (MCAST_BLOCK_SOURCE): Likewise.
341 (MCAST_UNBLOCK_SOURCE): Likewise.
342 (MCAST_LEAVE_GROUP): Likewise.
343 (MCAST_JOIN_SOURCE_GROUP): Likewise.
344 (MCAST_LEAVE_SOURCE_GROUP): Likewise.
345 (MCAST_MSFILTER): Likewise.
346 * conform/Makefile (test-xfail-XOPEN2K/arpa/inet.h/conform):
348 (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
349 (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
350 (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
351 (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
352 (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
354 2015-06-18 Andrew Senkevich <andrew.senkevich@intel.com>
356 * NEWS: Mention addition of x86_64 vector sincosf.
357 * math/test-float-vlen16.h: Added wrapper for sincosf tests.
358 * math/test-float-vlen4.h: Likewise.
359 * math/test-float-vlen8.h: Likewise.
360 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
361 * sysdeps/x86/fpu/bits/math-vector.h: Added sincosf SIMD declaration.
362 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
363 * sysdeps/x86_64/fpu/Versions: New versions added.
364 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
365 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
366 Added build of SSE, AVX2 and AVX512 IFUNC versions.
367 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S
368 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S
369 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core.S
370 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S
371 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core.S
372 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S
373 * sysdeps/x86_64/fpu/svml_s_sincosf16_core.S
374 * sysdeps/x86_64/fpu/svml_s_sincosf4_core.S
375 * sysdeps/x86_64/fpu/svml_s_sincosf8_core.S
376 * sysdeps/x86_64/fpu/svml_s_sincosf8_core_avx.S
377 * sysdeps/x86_64/fpu/svml_s_sincosf_data.S: New file.
378 * sysdeps/x86_64/fpu/svml_s_sincosf_data.h: New file.
379 * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Added 3 argument wrappers.
380 * sysdeps/x86_64/fpu/test-float-vlen16.c: : Vector sincosf tests.
381 * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
382 * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
383 * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
384 * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
385 * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
386 * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
387 * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
389 * NEWS: Mention addition of x86_64 vector sincos.
390 * bits/libm-simd-decl-stubs.h: Added stubs for sincos.
391 * math/math.h (__MATHDECL_VEC): New macro.
392 * math/bits/mathcalls.h: Added sincos declaration with __MATHDECL_VEC.
393 * math/gen-libm-have-vector-test.sh: Added generation of sincos wrapper
394 declaration under condition.
395 * math/test-vec-loop.h (TEST_VEC_LOOP): Refactored.
396 * math/test-double-vlen2.h: Added wrapper for sincos tests, reflected
397 TEST_VEC_LOOP change.
398 * math/test-double-vlen4.h: Likewise.
399 * math/test-double-vlen8.h: Likewise.
400 * math/test-float-vlen16.h: Reflected TEST_VEC_LOOP change.
401 * math/test-float-vlen4.h: Likewise.
402 * math/test-float-vlen8.h: Likewise.
403 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
404 * sysdeps/x86/fpu/bits/math-vector.h: Added sincos SIMD declaration.
405 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
406 * sysdeps/x86_64/fpu/Versions: New versions added.
407 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
408 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
409 Added build of SSE, AVX2 and AVX512 IFUNC versions.
410 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: New file.
411 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: New file.
412 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: New file.
413 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: New file.
414 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: New file.
415 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: New file.
416 * sysdeps/x86_64/fpu/svml_d_sincos2_core.S: New file.
417 * sysdeps/x86_64/fpu/svml_d_sincos4_core.S: New file.
418 * sysdeps/x86_64/fpu/svml_d_sincos4_core_avx.S: New file.
419 * sysdeps/x86_64/fpu/svml_d_sincos8_core.S: New file.
420 * sysdeps/x86_64/fpu/svml_d_sincos_data.S: New file.
421 * sysdeps/x86_64/fpu/svml_d_sincos_data.h: New file.
422 * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Added wrappers for sincos.
423 * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Vector sincos tests.
424 * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
425 * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
426 * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
427 * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
428 * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
429 * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
430 * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
432 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
433 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
434 redirections for powf.
435 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
436 * sysdeps/x86_64/fpu/Versions: New versions added.
437 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
438 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
439 Added build of SSE, AVX2 and AVX512 IFUNC versions.
440 * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Added 2 argument wrappers.
441 * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: New file.
442 * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S: New file.
443 * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core.S: New file.
444 * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S: New file.
445 * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core.S: New file.
446 * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S: New file.
447 * sysdeps/x86_64/fpu/svml_s_powf16_core.S: New file.
448 * sysdeps/x86_64/fpu/svml_s_powf4_core.S: New file.
449 * sysdeps/x86_64/fpu/svml_s_powf8_core.S: New file.
450 * sysdeps/x86_64/fpu/svml_s_powf8_core_avx.S: New file.
451 * sysdeps/x86_64/fpu/svml_s_powf_data.S: New file.
452 * sysdeps/x86_64/fpu/svml_s_powf_data.h: New file.
453 * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector powf tests.
454 * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
455 * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
456 * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
457 * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
458 * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
459 * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
460 * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
461 * math/test-float-vlen16.h: Fixed 2 argument macro.
462 * math/test-float-vlen4.h: Likewise.
463 * math/test-float-vlen8.h: Likewise.
464 * NEWS: Mention addition of x86_64 vector powf.
466 2015-06-17 Joseph Myers <joseph@codesourcery.com>
468 * math/s_ctanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
470 * math/s_ctanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
472 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c: Remove file.
473 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
474 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
477 * resource/getpriority.c (getpriority): Rename to __getpriority
478 and define as weak alias of __getpriority.
479 * resource/setpriority.c (setpriority): Rename to __setpriority
480 and define as weak alias of __setpriority.
481 * sysdeps/mach/hurd/getpriority.c (getpriority): Rename to
482 __getpriority and define as weak alias of __getpriority.
483 * sysdeps/mach/hurd/setpriority.c (setpriority): Rename to
484 __setpriority and define as weak alias of __setpriority.
485 * sysdeps/unix/syscalls.list (getpriority): Use __getpriority as
487 (setpriority): Use __setpriority as strong name.
488 * sysdeps/unix/sysv/linux/getpriority.c (getpriority): Rename to
489 __getpriority and define as weak alias of __getpriority.
490 * include/sys/resource.h (__getpriority): Declare. Use
492 (__setpriority): Likewise.
493 (getpriority): Don't use libc_hidden_proto.
494 (setpriority): Likewise.
495 * sysdeps/posix/nice.c (nice): Call __getpriority instead of
496 getpriority. Call __setpriority instead of setpriority.
497 * conform/Makefile (test-xfail-XPG3/unistd.h/linknamespace):
501 * misc/getttyent.c (getttynam): Rename to __getttynam and define
502 as weak alias of __getttynam. Use prototype function definition.
503 Call __setttyent, __getttyent and __endttyent instead of
504 setttyent, getttyent and endttyent.
505 (getttyent): Rename to __getttyent and define as weak alias of
506 __getttyent. Call __setttyent instead of setttyent. Call
507 __fgets_unlocked instead of fgets_unlocked.
508 (setttyent): Rename to __setttyent and define as weak alias of
510 (endttyent): Rename to __endttyent and define as weak alias of
512 * include/ttyent.h (__getttyent): Declare. Use libc_hidden_proto.
513 (__setttyent): Likewise.
514 (__endttyent): Likewise.
515 (getttyent): Don't use libc_hidden_proto.
516 (setttyent): Likewise.
517 (endttyent): Likewise.
518 * misc/ttyslot.c (ttyslot): Call __setttyent, __getttyent and
519 __endttyent instead of setttyent, getttyent and endttyent.
520 * conform/Makefile (test-xfail-XPG4/unistd.h/linknamespace):
524 * socket/recv.c (__recv): Use libc_hidden_def.
525 * socket/socket.c (__socket): Likewise.
526 * sysdeps/mach/hurd/recv.c (__recv): Likewise.
527 * sysdeps/mach/hurd/socket.c (__socket): Likewise.
528 * sysdeps/unix/sysv/linux/generic/recv.c (__recv): Likewise.
529 * sysdeps/unix/sysv/linux/recv.c (__recv): Use libc_hidden_weak.
530 * sysdeps/unix/sysv/linux/socket.c (__socket): Use
532 * sysdeps/unix/sysv/linux/x86_64/recv.c (__recv): Use
534 * include/sys/socket.h (__socket): Do not use attribute_hidden.
535 Use libc_hidden_proto.
537 * socket/Versions (libc): Export __recv and __socket at version
539 * sysdeps/unix/sysv/linux/mq_notify.c (helper_thread): Call __recv
541 (init_mq_netlink): Call __socket instead of socket.
542 * conform/Makefile (test-xfail-POSIX/mqueue.h/linknamespace):
546 * rt/mq_timedreceive.c (mq_timedreceive): Rename to
547 __mq_timedreceive and define as alias of __mq_timedreceive. Use
549 * rt/mq_timedsend.c (mq_timedsend): Rename to __mq_timedsend and
550 define as alias of __mq_timedsend. Use hidden_weak.
551 * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Use
552 __mq_timedsend as strong name.
553 (mq_timedreceive): Use __mq_timedreceive as strong name.
554 * include/mqueue.h (__mq_timedsend): Declare. Use hidden_proto.
555 (__mq_timedreceive): Likewise.
556 * sysdeps/unix/sysv/linux/mq_receive.c (mq_receive): Call
557 __mq_timedreceive instead of mq_timedreceive.
558 * sysdeps/unix/sysv/linux/mq_send.c (mq_send): Call __mq_timedsend
559 instead of mq_timedsend.
560 * conform/Makefile (test-xfail-UNIX98/mqueue.h/linknamespace):
563 * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Use
564 hidden_def and hidden_weak instead of libc_hidden_def and
566 (top level): Refer to hidden_def in comment.
567 * sysdeps/unix/syscall-template.S (syscall_hidden_def): New
568 macro. Use it instead of libc_hidden_def.
569 * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Do not
570 specify __GI_* name explicitly.
571 (mq_timedreceive): Likewise.
572 (mq_setattr): Likewise.
575 * nptl/pthread_barrier_init.c (pthread_barrier_init): Rename to
576 __pthread_barrier_init and define as weak alias of
577 __pthread_barrier_init.
578 * sysdeps/sparc/nptl/pthread_barrier_init.c
579 (pthread_barrier_init): Likewise.
580 * nptl/pthread_barrier_wait.c (pthread_barrier_wait): Rename to
581 __pthread_barrier_wait and define as weak alias of
582 __pthread_barrier_wait.
583 * sysdeps/sparc/nptl/pthread_barrier_wait.c
584 (pthread_barrier_wait): Likewise.
585 * sysdeps/sparc/sparc32/pthread_barrier_wait.c
586 (pthread_barrier_wait): Likewise.
587 * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S
588 (pthread_barrier_wait): Likewise.
589 * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S
590 (pthread_barrier_wait): Likewise.
591 * nptl/Versions (libpthread): Export __pthread_barrier_init and
592 __pthread_barrier_wait at version GLIBC_PRIVATE.
593 * include/pthread.h (__pthread_barrier_init): Declare.
594 (__pthread_barrier_wait): Likewise.
595 * sysdeps/unix/sysv/linux/mq_notify.c (notification_function):
596 Call __pthread_barrier_wait instead of pthread_barrier_wait.
597 (helper_thread): Likewise.
598 (init_mq_netlink): Call __pthread_barrier_init instead of
599 pthread_barrier_init.
602 * libio/iovswscanf.c (__vswscanf): Use libc_hidden_def.
603 (vswscanf): Use ldbl_weak_alias instead of ldbl_strong_alias
604 * include/wchar.h (__vswscanf): Declare. Use libc_hidden_proto.
605 * libio/swscanf.c (__swscanf): Call __vswscanf instead of
607 * conform/Makefile (test-xfail-UNIX98/wchar.h/linknamespace):
611 * libio/iofflush.c [!_IO_MTSAFE_IO] (__fflush_unlocked): Define as
612 strong alias of _IO_fflush. Use libc_hidden_def.
613 * libio/iofflush_u.c (fflush_unlocked): Rename to
614 __fflush_unlocked and define as weak alias of __fflush_unlocked.
615 Use libc_hidden_weak.
616 * include/stdio.h (__fflush_unlocked): Declare. Use
618 * misc/getpass.c (getpass): Call __fflush_unlocked instead of
620 * conform/Makefile (test-xfail-UNIX98/unistd.h/linknamespace):
624 * stdlib/fmtmsg.c (addseverity): Rename to __addseverity and
625 define as weak alias of __addseverity.
626 * conform/Makefile (test-xfail-XPG4/fmtmsg.h/linknamespace):
628 (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
629 (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
630 (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
633 * misc/tsearch.c (__tsearch): Use libc_hidden_def.
635 (__tdelete): Likewise.
637 * misc/Versions (libc): Add __tdelete, __tfind, __tsearch and
638 __twalk to GLIBC_PRIVATE.
639 * include/search.h (__tsearch): Use libc_hidden_proto.
641 (__tdelete): Likewise.
643 * nptl/sem_close.c (sem_close): Call __twalk instead of twalk.
644 Call __tdelete instead of tdelete.
645 * nptl/sem_open.c (check_add_mapping): Call __tfind instead of
646 tfind. Call __tsearch instead of tsearch.
647 * sysdeps/sparc/sparc32/sem_open.c (check_add_mapping): Likewise.
648 * conform/Makefile (test-xfail-POSIX/semaphore.h/linknamespace):
650 (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
653 * stdio-common/dprintf.c (__dprintf): Use libc_hidden_def.
654 (dprintf): Define as a weak alias of __dprintf, not a strong
656 * include/stdio.h (__dprintf): Declare. Use libc_hidden_proto.
657 * misc/syslog.c (__vsyslog_chk): Call __dprintf instead of
659 * conform/Makefile (test-xfail-XPG4/syslog.h/linknamespace):
661 (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
662 (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
665 * misc/syslog.c (vsyslog): Define as a weak alias of __vsyslog,
667 * conform/Makefile (test-xfail-XOPEN2K8/syslog.h/linknamespace):
671 * inet/in6_addr.c (in6addr_any): Rename to __in6addr_any and
672 define as weak alias of __in6addr_any. Use libc_hidden_data_weak.
673 (in6addr_loopback): Rename to __in6addr_loopback and define as
674 weak alias of __in6addr_loopback. Use libc_hidden_data_weak.
675 * include/netinet/in.h (__in6addr_loopback): Declare. Use
677 (__in6addr_any): Likewise.
678 * inet/gethstbyad_r.c (PREPROCESS): Use __in6addr_any instead of
680 * conform/Makefile (test-xfail-XPG4/netdb.h/linknamespace): Remove
682 (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
684 2015-06-17 Andrew Senkevich <andrew.senkevich@intel.com>
686 * bits/libm-simd-decl-stubs.h: Added stubs for pow.
687 * math/bits/mathcalls.h: Added pow declaration with __MATHCALL_VEC.
688 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
689 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
690 redirections for pow.
691 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
692 * sysdeps/x86_64/fpu/Versions: New versions added.
693 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
694 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
695 build of SSE, AVX2 and AVX512 IFUNC versions.
696 * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Added 2 argument wrappers.
697 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: New file.
698 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S: New file.
699 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: New file.
700 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S: New file.
701 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: New file.
702 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S: New file.
703 * sysdeps/x86_64/fpu/svml_d_pow2_core.S: New file.
704 * sysdeps/x86_64/fpu/svml_d_pow4_core.S: New file.
705 * sysdeps/x86_64/fpu/svml_d_pow4_core_avx.S: New file.
706 * sysdeps/x86_64/fpu/svml_d_pow8_core.S: New file.
707 * sysdeps/x86_64/fpu/svml_d_pow_data.S: New file.
708 * sysdeps/x86_64/fpu/svml_d_pow_data.h: New file.
709 * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector pow test.
710 * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
711 * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
712 * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
713 * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
714 * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
715 * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
716 * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
717 * NEWS: Mention addition of x86_64 vector pow.
719 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
720 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
721 redirections for expf.
722 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
723 * sysdeps/x86_64/fpu/Versions: New versions added.
724 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
725 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
726 build of SSE, AVX2 and AVX512 IFUNC versions.
727 * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: New file.
728 * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: New file.
729 * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core.S: New file.
730 * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S: New file.
731 * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core.S: New file.
732 * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S: New file.
733 * sysdeps/x86_64/fpu/svml_s_expf16_core.S: New file.
734 * sysdeps/x86_64/fpu/svml_s_expf4_core.S: New file.
735 * sysdeps/x86_64/fpu/svml_s_expf8_core.S: New file.
736 * sysdeps/x86_64/fpu/svml_s_expf8_core_avx.S: New file.
737 * sysdeps/x86_64/fpu/svml_s_expf_data.S: New file.
738 * sysdeps/x86_64/fpu/svml_s_expf_data.h: New file.
739 * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector expf tests.
740 * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
741 * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
742 * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
743 * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
744 * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
745 * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
746 * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
747 * NEWS: Mention addition of x86_64 vector expf.
749 * bits/libm-simd-decl-stubs.h: Added stubs for exp.
750 * math/bits/mathcalls.h: Added exp declaration with __MATHCALL_VEC.
751 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
752 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
753 redirections for exp.
754 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
755 * sysdeps/x86_64/fpu/Versions: New versions added.
756 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
757 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
758 build of SSE, AVX2 and AVX512 IFUNC versions.
759 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: New file.
760 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S: New file.
761 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: New file.
762 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S: New file.
763 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: New file.
764 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S: New file.
765 * sysdeps/x86_64/fpu/svml_d_exp2_core.S: New file.
766 * sysdeps/x86_64/fpu/svml_d_exp4_core.S: New file.
767 * sysdeps/x86_64/fpu/svml_d_exp4_core_avx.S: New file.
768 * sysdeps/x86_64/fpu/svml_d_exp8_core.S: New file.
769 * sysdeps/x86_64/fpu/svml_d_exp_data.S: New file.
770 * sysdeps/x86_64/fpu/svml_d_exp_data.h: New file.
771 * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector exp test.
772 * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
773 * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
774 * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
775 * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
776 * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
777 * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
778 * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
779 * NEWS: Mention addition of x86_64 vector exp.
781 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
782 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
783 redirections for logf.
784 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
785 * sysdeps/x86_64/fpu/Versions: New versions added.
786 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
787 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
788 build of SSE, AVX2 and AVX512 IFUNC versions.
789 * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: New file.
790 * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S: New file.
791 * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core.S: New file.
792 * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S: New file.
793 * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core.S: New file.
794 * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S: New file.
795 * sysdeps/x86_64/fpu/svml_s_logf16_core.S: New file.
796 * sysdeps/x86_64/fpu/svml_s_logf4_core.S: New file.
797 * sysdeps/x86_64/fpu/svml_s_logf8_core.S: New file.
798 * sysdeps/x86_64/fpu/svml_s_logf8_core_avx.S: New file.
799 * sysdeps/x86_64/fpu/svml_s_logf_data.S: New file.
800 * sysdeps/x86_64/fpu/svml_s_logf_data.h: New file.
801 * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector logf tests.
802 * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
803 * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
804 * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
805 * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
806 * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
807 * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
808 * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
809 * NEWS: Mention addition of x86_64 vector logf.
811 * bits/libm-simd-decl-stubs.h: Added stubs for log.
812 * math/bits/mathcalls.h: Added log declaration with __MATHCALL_VEC.
813 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
814 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
815 redirections for log.
816 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
817 * sysdeps/x86_64/fpu/Versions: New versions added.
818 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
819 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
820 build of SSE, AVX2 and AVX512 IFUNC versions.
821 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: New file.
822 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S: New file.
823 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: New file.
824 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S: New file.
825 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: New file.
826 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S: New file.
827 * sysdeps/x86_64/fpu/svml_d_log2_core.S: New file.
828 * sysdeps/x86_64/fpu/svml_d_log4_core.S: New file.
829 * sysdeps/x86_64/fpu/svml_d_log4_core_avx.S: New file.
830 * sysdeps/x86_64/fpu/svml_d_log8_core.S: New file.
831 * sysdeps/x86_64/fpu/svml_d_log_data.S: New file.
832 * sysdeps/x86_64/fpu/svml_d_log_data.h: New file.
833 * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector log test.
834 * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
835 * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
836 * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
837 * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
838 * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
839 * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
840 * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
841 * NEWS: Mention addition of x86_64 vector log.
843 2015-06-17 Szabolcs Nagy <szabolcs.nagy@arm.com>
845 * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Fix
846 cfi_adjust_cfa_offset argument.
847 (_dl_tlsdesc_undefweak, _dl_tlsdesc_dynamic): Likewise.
848 (_dl_tlsdesc_resolve_rela, _dl_tlsdesc_resolve_hold): Likewise.
851 * sysdeps/aarch64/dl-tlsdesc.h (_dl_tlsdesc_return_lazy): Declare.
852 * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Define.
853 (_dl_tlsdesc_undefweak): Guarantee TLSDESC entry and argument load-load
855 (_dl_tlsdesc_dynamic): Likewise.
856 (_dl_tlsdesc_return_lazy): Likewise.
857 * sysdeps/aarch64/tlsdesc.c (_dl_tlsdesc_resolve_rela_fixup): Use
858 relaxed atomics instead of volatile and synchronize with release store.
859 (_dl_tlsdesc_resolve_hold_fixup): Use relaxed atomics instead of
861 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
863 2015-06-15 Andrew Senkevich <andrew.senkevich@intel.com>
865 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
866 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for sinf.
867 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
868 * sysdeps/x86_64/fpu/Versions: New versions added.
869 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
870 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
871 build of SSE, AVX2 and AVX512 IFUNC versions.
872 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: New file.
873 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S: New file.
874 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core.S: New file.
875 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S: New file.
876 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core.S: New file.
877 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S: New file.
878 * sysdeps/x86_64/fpu/svml_s_sinf16_core.S: New file.
879 * sysdeps/x86_64/fpu/svml_s_sinf4_core.S: New file.
880 * sysdeps/x86_64/fpu/svml_s_sinf8_core.S: New file.
881 * sysdeps/x86_64/fpu/svml_s_sinf8_core_avx.S: New file.
882 * sysdeps/x86_64/fpu/svml_s_sinf_data.S: New file.
883 * sysdeps/x86_64/fpu/svml_s_sinf_data.h: New file.
884 * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector sinf tests.
885 * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
886 * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
887 * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
888 * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
889 * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
890 * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
891 * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
892 * NEWS: Mention addition of x86_64 vector sinf.
894 2015-06-14 Joseph Myers <joseph@codesourcery.com>
896 * conform/list-header-symbols.pl (%extra_syms): Add in6addr_any
897 and in6addr_loopback for XOPEN2K, XOPEN2K8 and POSIX2008.
898 * conform/Makefile (test-xfail-XOPEN2K/netdb.h/linknamespace):
900 (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
901 (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
903 2015-06-12 Joseph Myers <joseph@codesourcery.com>
906 * libio/iofputs.c [!_IO_MTSAFE_IO] (__fputs_unlocked): Define as
907 strong alias of _IO_fputs. Use libc_hidden_def.
908 * libio/iofputs_u.c (fputs_unlocked): Rename to __fputs_unlocked
909 and define as weak alias of __fputs_unlocked. Use
911 * include/stdio.h (__fputs_unlocked): Declare. Use
913 * misc/syslog.c (__vsyslog_chk): Call __fputs_unlocked instead of
917 * resolv/netdb.h [__USE_POSIX]: Change condition to
919 * conform/data/netdb.h-data [XPG4 || UNIX98] (struct addrinfo): Do
921 [XPG4 || UNIX98] (AI_PASSIVE): Likewise.
922 [XPG4 || UNIX98] (AI_CANONNAME): Likewise.
923 [XPG4 || UNIX98] (AI_NUMERICHOST): Likewise.
924 [XPG4 || UNIX98] (AI_V4MAPPED): Likewise.
925 [XPG4 || UNIX98] (AI_ALL): Likewise.
926 [XPG4 || UNIX98] (AI_ADDRCONFIG): Likewise.
927 [XPG4 || UNIX98] (AI_NUMERICSERV): Likewise.
928 [XPG4 || UNIX98] (NI_NOFQDN): Likewise.
929 [XPG4 || UNIX98] (NI_NUMERICHOST): Likewise.
930 [XPG4 || UNIX98] (NI_NAMEREQD): Likewise.
931 [XPG4 || UNIX98] (NI_NUMERICSERV): Likewise.
932 [XPG4 || UNIX98] (NI_DGRAM): Likewise.
933 [XPG4 || UNIX98] (EAI_AGAIN): Likewise.
934 [XPG4 || UNIX98] (EAI_BADFLAGS): Likewise.
935 [XPG4 || UNIX98] (EAI_FAIL): Likewise.
936 [XPG4 || UNIX98] (EAI_FAMILY): Likewise.
937 [XPG4 || UNIX98] (EAI_MEMORY): Likewise.
938 [XPG4 || UNIX98] (EAI_NONAME): Likewise.
939 [XPG4 || UNIX98] (EAI_SERVICE): Likewise.
940 [XPG4 || UNIX98] (EAI_SOCKTYPE): Likewise.
941 [XPG4 || UNIX98] (EAI_SYSTEM): Likewise.
942 [XPG4 || UNIX98] (EAI_SYSTEM): Likewise.
943 [XPG4 || UNIX98] (freeaddrinfo): Likewise.
944 [XPG4 || UNIX98] (gai_strerror): Likewise.
945 [XPG4 || UNIX98] (getaddrinfo): Likewise.
946 [XPG4 || UNIX98] (getnameinfo): Likewise.
949 * grp/grp.h (endgrent): Condition on [__USE_MISC ||
950 __USE_XOPEN_EXTENDED], not [__USE_XOPEN_EXTENDED ||
952 (getgrent): Likewise.
953 * conform/data/grp.h-data [XPG3 || POSIX2008] (getgrent): Do not
955 [XPG3 || POSIX2008] (endgrent): Likewise.
956 [XPG3] (setgrent): Likewise.
957 * conform/Makefile (test-xfail-XPG3/grp.h/conform): Remove
959 (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
962 * login/getlogin_r.c (getlogin_r): Rename to __getlogin_r and
963 define as weak alias of __getlogin_r. Use libc_hidden_weak.
964 * sysdeps/mach/hurd/getlogin_r.c (getlogin_r): Likewise.
965 * sysdeps/unix/getlogin_r.c (getlogin_r): Likewise.
966 * sysdeps/unix/sysv/linux/getlogin_r.c (getlogin_r): Likewise.
967 * include/unistd.h (__getlogin_r): Declare. Use
969 * posix/glob.c (glob): Call __getlogin_r instead of getlogin_r.
970 * conform/Makefile (test-xfail-XPG3/glob.h/linknamespace): Remove
972 (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
973 (test-xfail-XPG4/glob.h/linknamespace): Likewise.
974 (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
976 2015-06-12 Martin Sebor <msebor@redhat.com>
979 * Makerules (check-install-supported): New target.
980 (install): Add check-install-supported as a dependency.
981 * manual/install.texi (Installing the C Library): Document
982 that overriding prefix and exec_prefix is not supported.
984 * INSTALL: Regenerate from the above.
986 2015-06-12 Joseph Myers <joseph@codesourcery.com>
989 * posix/Versions (libc): Export __libc_pread at version
991 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Call __libc_pread
993 * conform/Makefile (test-xfail-POSIX/aio.h/linknamespace): Remove
998 [LONG_DOUBLE_COMPAT (libc, GLIBC_2_0) && !LONG_DOUBLE_CVT]
999 (cvt_symbol): Use weak_alias instead of strong_alias.
1000 [LONG_DOUBLE_COMPAT (libc, GLIBC_2_0)] (cvt_symbol): Likewise.
1001 * conform/Makefile (test-xfail-XPG4/stdlib.h/linknamespace):
1003 (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
1004 (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
1007 * inet/herrno.c (h_errno): Rename to __h_errno.
1008 (__libc_h_errno): Define as alias of __h_errno not h_errno.
1009 * include/netdb.h [IS_IN_LIB && !IS_IN (libc)] (h_errno): Define
1010 to __h_errno instead of h_errno.
1011 * nptl/herrno.c (h_errno): Rename to __h_errno.
1012 (__h_errno_location): Refer to __h_errno not h_errno.
1013 * resolv/Versions (h_errno): Rename to __h_errno.
1014 * conform/Makefile (test-xfail-XOPEN2K8/grp.h/linknamespace):
1016 (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
1018 2015-06-11 Andrew Senkevich <andrew.senkevich@intel.com>
1020 * configure.ac: More strict check for AVX512 assembler support.
1021 * configure: Regenerated.
1023 * bits/libm-simd-decl-stubs.h: Added stubs for sin.
1024 * math/bits/mathcalls.h: Added sin declaration with __MATHCALL_VEC.
1025 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
1026 * sysdeps/x86/fpu/bits/math-vector.h: SIMD declaration for sin.
1027 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
1028 * sysdeps/x86_64/fpu/Versions: New versions added.
1029 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
1030 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
1031 build of SSE, AVX2 and AVX512 IFUNC versions.
1032 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: New file.
1033 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S: New file.
1034 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: New file.
1035 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S: New file.
1036 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: New file.
1037 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S: New file.
1038 * sysdeps/x86_64/fpu/svml_d_sin2_core.S: New file.
1039 * sysdeps/x86_64/fpu/svml_d_sin4_core.S: New file.
1040 * sysdeps/x86_64/fpu/svml_d_sin4_core_avx.S: New file.
1041 * sysdeps/x86_64/fpu/svml_d_sin8_core.S: New file.
1042 * sysdeps/x86_64/fpu/svml_d_sin_data.S: New file.
1043 * sysdeps/x86_64/fpu/svml_d_sin_data.h: New file.
1044 * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector sin test.
1045 * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
1046 * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
1047 * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
1048 * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
1049 * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
1050 * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
1051 * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
1052 * NEWS: Mention addition of x86_64 vector sin.
1054 2015-06-11 Florian Weimer <fweimer@redhat.com>
1056 * nptl/pthread_key_create.c (__pthread_key_create): Fix typo in
1059 2015-06-10 Gleb Fotengauer-Malinovskiy <glebfm@altlinux.org>
1062 * nptl/pt-interp.c: New file.
1063 * nptl/Makefile (libpthread-routines, libpthread-shared-only-routines):
1065 [[$(build-shared) = yes] ($(objpfx)pt-interp.os): Depend on
1066 $(common-objpfx)runtime-linker.h.
1068 2015-06-10 Dmitry V. Levin <ldv@altlinux.org>
1070 * Makeconfig (+interp): Remove unused variable.
1071 * elf/Makefile ($(objpfx)interp.os): Define for [$(build-shared) = yes]
1072 only. Depend on $(common-objpfx)runtime-linker.h instead of
1073 $(elf-objpfx)runtime-linker.h.
1074 ($(elf-objpfx)runtime-linker.h): Rename to
1075 $(common-objpfx)runtime-linker.h and move ...
1076 * Makerules [$(build-shared) = yes]: ... here.
1077 * elf/interp.c: Include <runtime-linker.h> instead of
1078 <elf/runtime-linker.h>.
1080 2015-06-09 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1082 * sysdeps/unix/sysv/linux/i386/gettimeofday.c
1083 (__gettimeofday_syscall): Remove vsyscall fallback.
1084 * sysdeps/unix/sysv/linux/i386/time.c (__time_syscall): Likewise.
1085 * sysdeps/unix/sysv/linux/x86/gettimeofday.c (__gettimeofday_syscall):
1086 Add syscall fallback function.
1087 (gettimeofday_ifunc): Use __gettimeofday_syscall as fallback mechanism
1088 if vDSO is not present.
1089 * sysdeps/unix/sysv/linux/x86/time.c (__time_syscall): Add syscall
1091 (time_ifunc): Use __time_syscall as fallback mechanism if vDSO is not
1093 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Remove file.
1094 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
1096 2015-06-09 Joseph Myers <joseph@codesourcery.com>
1099 * wcsmbs/wcscmp.c [!WCSCMP] (WCSCMP): Define as __wcscmp instead
1101 (wcscmp): Define as weak alias of WCSCMP.
1102 * wcsmbs/wcscoll.c (STRCOLL): Define as __wcscoll instead of
1104 (USE_HIDDEN_DEF): Define.
1105 [!USE_IN_EXTENDED_LOCALE_MODEL] (wcscoll): Define as weak alias of
1106 __wcscoll. Don't use libc_hidden_weak.
1107 * wcsmbs/wcscoll_l.c (STRCMP): Define as __wcscmp instead of
1109 * sysdeps/i386/i686/multiarch/wcscmp-c.c
1110 [SHARED] (libc_hidden_def): Define __GI___wcscmp instead of
1112 (weak_alias): Undefine and redefine.
1113 * sysdeps/i386/i686/multiarch/wcscmp.S (wcscmp): Rename to
1114 __wcscmp and define as weak alias of __wcscmp.
1115 * sysdeps/x86_64/wcscmp.S (wcscmp): Likewise.
1116 * include/wchar.h (__wcscmp): Declare. Use libc_hidden_proto.
1117 (__wcscoll): Likewise.
1118 (wcscmp): Don't use libc_hidden_proto.
1119 (wcscoll): Likewise.
1120 * posix/regcomp.c (build_range_exp): Call __wcscoll instead of
1122 * posix/regexec.c (check_node_accept_bytes): Likewise.
1123 * conform/Makefile (test-xfail-XPG3/regex.h/linknamespace): Remove
1125 (test-xfail-XPG4/regex.h/linknamespace): Likewise.
1126 (test-xfail-POSIX/regex.h/linknamespace): Likewise.
1129 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs): Rename to
1130 __fstatvfs and define as weak alias of __fstatvfs. Use
1132 * sysdeps/unix/sysv/linux/statvfs.c (statvs): Rename to __statvfs
1133 and define as weak alias of __statvfs. Use libc_hidden_weak.
1134 * sysdeps/unix/sysv/linux/wordsize-64/fstatvfs.c (__fstatvfs64):
1135 Define as alias of __fstatvfs, not fstatvfs.
1136 (fstatvfs64): Likewise.
1137 * sysdeps/unix/sysv/linux/wordsize-64/statvfs.c (__statvfs64):
1138 Define as alias of __statvfs, not statvfs.
1139 (statvfs64): Likewise.
1140 * conform/Makefile (test-xfail-POSIX/unistd.h/linknamespace):
1143 2015-06-09 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1145 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
1146 (HAVE_GETCPU_VSYSCALL): Define.
1147 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
1148 (HAVE_GETCPU_VSYSCALL): Likewise.
1149 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Remove file.
1150 * sysdeps/unix/sysv/linux/sched_getcpu.c
1151 (HAVE_VSYSCALL) [HAVE_GETCPU_VSYSCALL]: Define.
1152 (sched_getcpu): Use INLINE_VSYSCALL instead of INLINE_SYSCALL.
1153 * sysdeps/unix/sysv/linux/x86/libc-vdso.h (getcpu): Add vDSO
1155 * sysdeps/unix/sysv/linux/x86_64/init-first.c
1156 (__vdso_platform_setup): Remove vsyscall getcpu fallback.
1157 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Remove file.
1158 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (HAVE_GETCPU_VSYSCALL):
1160 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: Remove file.
1161 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
1162 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c: Likewise.
1163 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
1165 2015-06-09 Andrew Senkevich <andrew.senkevich@intel.com>
1167 * sysdeps/x86_64/fpu/Makefile: New file.
1168 * sysdeps/x86_64/fpu/Versions: New file.
1169 * sysdeps/x86_64/fpu/svml_d_cos_data.S: New file.
1170 * sysdeps/x86_64/fpu/svml_d_cos_data.h: New file.
1171 * sysdeps/x86_64/fpu/svml_d_cos2_core.S: New file.
1172 * sysdeps/x86_64/fpu/svml_d_cos4_core.S: New file.
1173 * sysdeps/x86_64/fpu/svml_d_cos4_core_avx.S: New file.
1174 * sysdeps/x86_64/fpu/svml_d_cos8_core.S: New file.
1175 * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: New file.
1176 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: New file.
1177 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S: New file.
1178 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: New file.
1179 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S: New file.
1180 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: New file.
1181 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: New file.
1182 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
1183 build of SSE, AVX2 and AVX512 IFUNC versions.
1184 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for cos.
1185 * math/bits/mathcalls.h: Added cos declaration with __MATHCALL_VEC.
1186 * sysdeps/x86_64/configure.ac: Options for libmvec build.
1187 * sysdeps/x86_64/configure: Regenerated.
1188 * sysdeps/x86_64/sysdep.h (cfi_offset_rel_rsp): New macro.
1189 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New file.
1190 * manual/install.texi (Configuring and compiling): Document
1192 * INSTALL: Regenerated.
1193 * NEWS: Mention addition of libmvec and x86_64 vector cos.
1195 * math/Makefile: Added rules for vector tests.
1196 * math/gen-libm-have-vector-test.sh: Added generation of wrapper
1197 declaration under condition.
1198 * math/test-double-vlen2.h: New file.
1199 * math/test-double-vlen4.h: New file.
1200 * math/test-double-vlen8.h: New file.
1201 * math/test-vec-loop.h: Added initialization macro.
1202 * sysdeps/x86_64/fpu/Makefile: Added variables for vector tests.
1203 * sysdeps/x86_64/fpu/libm-test-ulps: Regenarated.
1204 * sysdeps/x86_64/fpu/math-tests-arch.h: New file.
1205 * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: New file.
1206 * sysdeps/x86_64/fpu/test-double-vlen2.c: New file.
1207 * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: New file.
1208 * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: New file.
1209 * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: New file.
1210 * sysdeps/x86_64/fpu/test-double-vlen4.c: New file.
1211 * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: New file.
1212 * sysdeps/x86_64/fpu/test-double-vlen8.c: New file.
1214 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
1215 * sysdeps/x86_64/fpu/Versions: New versions added.
1216 * sysdeps/x86_64/fpu/svml_s_cosf4_core.S: New file.
1217 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core.S: New file.
1218 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S: New file.
1219 * sysdeps/x86_64/fpu/svml_s_cosf8_core_avx.S: New file.
1220 * sysdeps/x86_64/fpu/svml_s_cosf8_core.S: New file.
1221 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core.S: New file.
1222 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S: New file.
1223 * sysdeps/x86_64/fpu/svml_s_cosf16_core.S: New file.
1224 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: New file.
1225 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S: New file.
1226 * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: New file.
1227 * sysdeps/x86_64/fpu/svml_s_cosf_data.S: New file.
1228 * sysdeps/x86_64/fpu/svml_s_cosf_data.h: New file.
1229 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
1230 build of SSE, AVX2 and AVX512 IFUNC versions.
1231 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
1232 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for cosf.
1233 * NEWS: Mention addition of x86_64 vector cosf.
1235 * math/Makefile: Added CFLAGS for new tests.
1236 * math/test-float-vlen16.h: New file.
1237 * math/test-float-vlen4.h: New file.
1238 * math/test-float-vlen8.h: New file.
1239 * math/test-double-vlen2.h: Fixed 2 argument macro and comment.
1240 * sysdeps/x86_64/fpu/Makefile: Added new tests and variables.
1241 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
1242 * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: New file.
1243 * sysdeps/x86_64/fpu/test-float-vlen16.c: New file.
1244 * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: New file.
1245 * sysdeps/x86_64/fpu/test-float-vlen4.c: New file.
1246 * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: New file.
1247 * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: New file.
1248 * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: New file.
1249 * sysdeps/x86_64/fpu/test-float-vlen8.c: New file.
1251 2015-06-09 Marko Myllynen <myllynen@redhat.com>
1253 * locale/C-ctype.c (PREDEFINED_CLASSES): Remove.
1254 * locale/programs/ld-ctype.c: Likewise.
1256 2015-06-08 Andrew Senkevich <andrew.senkevich@intel.com>
1258 * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX512F_Usable,
1259 bit_AVX512DQ_Usable, bit_Opmask_state, bit_ZMM0_15_state,
1260 bit_ZMM16_31_state): New macro.
1261 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
1262 Check and set bit_AVX512F_Usable, bit_AVX512DQ_Usable.
1264 2015-06-08 Joseph Myers <joseph@codesourcery.com>
1266 * include/stdio.h (__open_memstream): Say "C++ tests" in comment.
1268 2015-06-06 Justus Winter <4winter@informatik.uni-hamburg.de>
1270 * mach/mach/mach_traps.h (thread_switch): Fix typo in comment.
1272 2015-06-05 Joseph Myers <joseph@codesourcery.com>
1275 * libio/memstream.c (open_memstream): Rename to __open_memstream
1276 and define as weak alias of __open_memstream.
1277 * include/stdio.h (__open_memstream): Declare. Use
1279 (open_memstream): Don't use libc_hidden_proto.
1280 * misc/syslog.c (__vsyslog_chk): Call __open_memstream instead of
1282 * posix/getopt.c (_getopt_internal_r): Likewise.
1283 * conform/Makefile (test-xfail-XPG3/stdio.h/linknamespace): Remove
1285 (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
1286 (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
1287 (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
1290 * posix/regex_internal.c (build_wcs_upper_buffer): Call __wcrtomb
1294 * signal/signal.h [__USE_XOPEN2K] (psignal): Change condition to
1295 [__USE_XOPEN2K8]. Remove redundant #endif.
1296 [__USE_XOPEN2K] (psiginfo): Change condition to [__USE_XOPEN2K8].
1297 Remove redundant #if.
1298 * conform/Makefile (test-xfail-XOPEN2K/signal.h/linknamespace):
1300 (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
1301 (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
1304 * wctype/wcfuncs.c (__iswalnum): Use libc_hidden_def.
1305 (__iswlower): Likewise.
1306 * include/wctype.h (__iswalnum): Declare. Use libc_hidden_proto.
1307 (__iswlower): Likewise.
1308 * posix/regcomp.c (re_compile_fastmap_iter): Call __towlower
1309 instead of towlower.
1310 * posix/regex_internal.c (build_wcs_upper_buffer): Call __iswlower
1311 instead of iswlower. Call __towupper instead of towupper.
1312 * posix/regex_internal.h (IS_WIDE_WORD_CHAR): Call __iswalnum
1313 instead of iswalnum.
1315 2015-06-05 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
1317 * malloc/tst-malloc-backtrace.c (do_test): Redirect libc fatal
1320 2015-06-05 Florian Weimer <fweimer@redhat.com>
1324 * sysdeps/posix/posix_fallocate64.c (__posix_fallocate64_l64):
1325 Check for overflow properly. Check for O_APPEND. Ignore large
1326 file system block sizes. Add comments about problems.
1327 * sysdeps/posix/posix_fallocate.c (posix_fallocate): Likewise.
1328 * manual/filesys.texi (Storage Allocation): New node.
1330 2015-06-04 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1332 * sysdeps/unix/sysdep.h [SYSCALL_CANCEL]: New macro: define
1333 cancellable syscalls.
1334 (SYS_ify): Add guard to no redefine it.
1335 (INLINE_SYSCALL): Likewise.
1336 * sysdeps/unix/sysv/linux/accept4.c (accept4): Remove
1337 LIBC_CANCEL_ASYNC/INLINE_SYSCALL/LIBC_CANCEL_RESET and use
1338 SYSCALL_CANCEL instead.
1339 * sysdeps/unix/sysv/linux/alpha/fdatasync.c (__fdatasync): Likewise.
1340 * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
1341 * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
1342 * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
1343 * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
1344 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Likewise.
1345 * sysdeps/unix/sysv/linux/fallocate.c (fallocate): Likewise.
1346 * sysdeps/unix/sysv/linux/fallocate64.c (fallocate64): Likewise.
1347 * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
1348 * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
1349 * sysdeps/unix/sysv/linux/generic/pause.c (__libc_pause): Likewise.
1350 * sysdeps/unix/sysv/linux/generic/poll.c (__poll): Likewise.
1351 * sysdeps/unix/sysv/linux/generic/recv.c (__libc_recv): Likewise.
1352 * sysdeps/unix/sysv/linux/generic/select.c (__select): Likewise.
1353 * sysdeps/unix/sysv/linux/generic/send.c (__libc_send): Likewise.
1354 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
1356 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
1357 (__libc_pread64): Likewise.
1358 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c
1359 (__libc_preadv): Likewise.
1360 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c
1361 (__libc_readv64): Likewise.
1362 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
1363 (__libc_pwrite): Likewise.
1364 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
1365 (__libc_pwrite64): Likewise.
1366 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c
1367 (__libc_pwritev): Likewise.
1368 * sysdeps/sysv/linux/generic/wordsize-32/pwritev64.c
1369 (__libc_pwritev64): Likewise.
1370 * sysdeps/unix/sysv/linux/i386/fcntl.c (__libc_fcntl): Likewise.
1371 * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c
1372 (sync_file_range): Likewise.
1373 * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate.c (fallocate):
1375 * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate64.c (fallocate64):
1377 * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
1378 * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
1379 * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
1380 * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
1381 * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
1382 * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
1383 * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
1384 * sysdeps/unix/sysv/linux/openat.c (__libc_openat): Likewise.
1385 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
1387 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
1388 (__libc_read64): Likewise.
1389 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_write):
1391 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c (__libc_write64):
1393 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fcntl.c (__libc_fcntl):
1395 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c (__libc_pread):
1397 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
1398 (__libc_pread64): Likewise.
1399 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c (__libc_pwrite):
1401 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
1402 (__libc_pwrite64): Likewise.
1403 * sysdeps/sysv/linux/powerpc/powerpc64/sync_file_range.c
1404 (sync_file_range): Likewise.
1405 * sysdeps/unix/sysv/linux/ppoll.c (ppoll): Likewise.
1406 * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
1407 * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
1408 * sysdeps/unix/sysv/linux/preadv.c (__libc_preadv): Likewise.
1409 * sysdeps/unix/sysv/linux/pselect.c (__pselect): Likewise.
1410 * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
1411 * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
1412 * sysdeps/unix/sysv/linux/pwritev.c (PWRITEV): Likewise.
1413 * sysdeps/unix/sysv/linux/readv.c (__libc_readv): Likewise.
1414 * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
1415 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
1416 * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
1417 * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
1418 * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
1419 * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_pwrite64): Likewise.
1420 * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
1421 * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
1422 * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
1423 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
1425 * sysdeps/unix/sysv/linux/sync_file_range.c (sync_file_range):
1427 * sysdeps/unix/sysv/linux/tcdrain.c (__libc_tcdrain): Likewise.
1428 * sysdeps/unix/sysv/linux/timer_routines.c (timer_helper_thread):
1430 * sysdeps/unix/sysv/linux/wait.c (__libc_wait): Likewise.
1431 * sysdeps/unix/sysv/linux/waitid.c (__waitid): Likewise.
1432 * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Likewise.
1433 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c (fallocate):
1435 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c (preadv): Likewise.
1436 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c (pwritev): Likewise.
1437 * sysdeps/unix/sysv/linux/writev.c (__libc_writev): Likewise.
1438 * sysdeps/unix/sysv/linux/x86_64/recv.c (__libc_recv): Likewise.
1439 * sysdeps/unix/sysv/linux/x86_64/send.c (__libc_send): Likewise.
1441 2015-06-04 Nathan Lynch <nathan_lynch@codesourcery.com>
1443 * sysdeps/unix/sysv/linux/arm/Makefile: (sysdep_routines):
1445 * sysdeps/unix/sysv/linux/arm/init-first.c: New file:
1446 Use VDSO routines for gettimeofday, clock_gettime if
1448 * sysdeps/unix/sysv/linux/arm/libc-vdso.h: New file:
1449 Declare VDSO symbols.
1450 * sysdeps/unix/sysv/linux/arm/sysdep.h:
1451 [HAVE_GETTIMEOFDAY_VSYSCALL]: Define.
1452 [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
1453 * sysdeps/unix/sysv/linux/arm/Versions: Add
1454 __vdso_clock_gettime.
1456 2015-06-04 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1458 * sysdeps/unix/sysv/linux/not-cancel.h (open_not_cancel): Rewrite to
1459 be an inline implementation regardless of library is built within.
1460 (open_not_cancel_2): Likewise.
1461 (__read_nocancel): Likewise.
1462 (__write_nocancel): Likewise.
1463 (openat_not_cancel): Likewise.
1464 (openat_not_cancel_3): Likewise.
1465 (openat64_not_cancel): Likewise.
1466 (openat64_not_cancel_3): Likewise.
1467 (__close_nocancel): Likewise.
1468 (pause_not_cancel): Likewise.
1469 (nanosleep_not_cancel): Likewise.
1470 (sigsuspend_not_cancel): Likewise.
1472 2015-06-04 Torvald Riegel <triegel@redhat.com>
1475 * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock): Add missing
1477 (__pthread_rwlock_rdlock_slow): Likewise.
1478 * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
1480 * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
1482 * nptl/pthread_rwlock_unlock.c (__pthread_rwlock_unlock): Add comments.
1483 * nptl/tst-rwlock16.c: New file.
1484 * nptl/Makefile (tests): Add new test.
1486 2015-06-04 Torvald Riegel <triegel@redhat.com>
1489 * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock): Add
1490 missing wake-up of readers.
1491 * nptl/tst-rwlock15.c: New file.
1492 * nptl/Makefile (tests): Add new test.
1494 2015-06-03 Roland McGrath <roland@hack.frob.com>
1496 * sysdeps/nacl/nacl-interfaces.c (try_supply): New static function.
1497 (PASTE_NAME (__nacl_supply_interface_, MODULE_NAME)): New function.
1498 * sysdeps/nacl/nacl-interfaces.h: Declare __nacl_supply_interface_libc
1499 and __nacl_supply_interface_rtld.
1500 * sysdeps/nacl/nacl_interface_ext_supply.c: New file.
1501 * sysdeps/nacl/Makefile [$(subdir) = csu] (sysdep_routines): Add it.
1502 * sysdeps/nacl/Versions (ld: GLIBC_PRIVATE):
1503 Add __nacl_supply_interface_rtld.
1504 (libc: GLIBC_2.22): Add nacl_interface_ext_supply.
1506 2015-06-03 Wilco Dijkstra <wdijkstr@arm.com>
1508 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Replace finite with
1510 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
1511 * sysdeps/ieee754/ldbl-opt/nldbl-finite.c (__finitel): Likewise.
1513 2015-06-03 Wilco Dijkstra <wdijkstr@arm.com>
1515 * math/e_exp10.c: Replace __isinf*, __isnan*, __finite* and
1516 __signbit* with standard C99 macros.
1517 * math/e_exp10l.c: Likewise.
1518 * math/e_exp2l.c: Likewise.
1519 * math/e_scalb.c: Likewise.
1520 * math/e_scalbf.c: Likewise.
1521 * math/e_scalbl.c: Likewise.
1522 * math/s_ldexp.c: Likewise.
1523 * math/s_ldexpf.c: Likewise.
1524 * math/s_ldexpl.c: Likewise.
1525 * math/w_atan2.c: Likewise.
1526 * math/w_atan2f.c: Likewise.
1527 * math/w_atan2l.c: Likewise.
1528 * math/w_cosh.c: Likewise.
1529 * math/w_coshf.c: Likewise.
1530 * math/w_coshl.c: Likewise.
1531 * math/w_exp10.c: Likewise.
1532 * math/w_exp10f.c: Likewise.
1533 * math/w_exp10l.c: Likewise.
1534 * math/w_exp2.c: Likewise.
1535 * math/w_exp2f.c: Likewise.
1536 * math/w_exp2l.c: Likewise.
1537 * math/w_fmod.c: Likewise.
1538 * math/w_fmodf.c: Likewise.
1539 * math/w_fmodl.c: Likewise.
1540 * math/w_hypot.c: Likewise.
1541 * math/w_hypotf.c: Likewise.
1542 * math/w_hypotl.c: Likewise.
1543 * math/w_jnl.c: Likewise.
1544 * math/w_lgamma.c: Likewise.
1545 * math/w_lgamma_r.c: Likewise.
1546 * math/w_lgammaf.c: Likewise.
1547 * math/w_lgammaf_r.c: Likewise.
1548 * math/w_lgammal.c: Likewise.
1549 * math/w_lgammal_r.c: Likewise.
1550 * math/w_pow.c: Likewise.
1551 * math/w_powf.c: Likewise.
1552 * math/w_powl.c: Likewise.
1553 * math/w_remainder.c: Likewise.
1554 * math/w_remainderf.c: Likewise.
1555 * math/w_remainderl.c: Likewise.
1556 * math/w_scalb.c: Likewise.
1557 * math/w_scalbf.c: Likewise.
1558 * math/w_scalbl.c: Likewise.
1559 * math/w_scalbln.c: Likewise.
1560 * math/w_scalblnf.c: Likewise.
1561 * math/w_scalblnl.c: Likewise.
1562 * math/w_sinh.c: Likewise.
1563 * math/w_sinhf.c: Likewise.
1564 * math/w_sinhl.c: Likewise.
1565 * math/w_tgamma.c: Likewise.
1566 * math/w_tgammaf.c: Likewise.
1567 * math/w_tgammal.c: Likewise.
1568 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
1569 * sysdeps/ieee754/dbl-64/e_exp10.c: Likewise.
1570 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
1571 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
1572 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
1573 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
1574 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
1575 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
1576 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
1577 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
1578 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
1579 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
1580 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
1581 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
1582 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
1583 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
1584 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
1585 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
1586 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
1587 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
1588 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
1589 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
1590 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
1591 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
1592 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
1593 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
1594 * sysdeps/ieee754/ldbl-128ibm/w_expl.c: Likewise.
1595 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
1596 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
1597 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
1598 * sysdeps/ieee754/ldbl-opt/nldbl-finite.c: Likewise.
1599 * sysdeps/ieee754/ldbl-opt/nldbl-isinf.c: Likewise.
1600 * sysdeps/ieee754/ldbl-opt/nldbl-isnan.c: Likewise.
1601 * sysdeps/ieee754/ldbl-opt/nldbl-signbit.c: Likewise.
1602 * stdio-common/printf_fp.c: Likewise.
1603 * stdio-common/printf_fphex.c: Likewise.
1604 * stdio-common/printf_size.c: Likewise.
1606 2015-06-03 Joseph Myers <joseph@codesourcery.com>
1609 * posix/fnmatch.c (fnmatch) [_LIBC]: Call __strnlen instead of
1611 * conform/Makefile (test-xfail-XPG3/fnmatch.h/linknamespace):
1613 (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
1614 (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
1615 (test-xfail-POSIX/glob.h/linknamespace): Likewise.
1616 (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
1617 (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
1618 (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
1619 (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
1620 (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
1621 (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
1622 (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
1625 * wcsmbs/wmemchr.c (wmemchr): Rename to __wmemchr and define as
1626 weak alias of __wmemchr. Use libc_hidden_weak.
1627 * include/wchar.h (__wmemchr): Declare. Use libc_hidden_proto.
1628 * posix/fnmatch.c [HANDLE_MULTIBYTE] (MEMCHR): Use __wmemchr
1631 2015-06-02 Roland McGrath <roland@hack.frob.com>
1634 * elf/tst-tlsalign-extern.c: New file.
1635 * elf/tst-tlsalign-extern-static.c: New file.
1636 * elf/tst-tlsalign-vars.c: New file.
1637 * elf/Makefile (tests-static): Add tst-tlsalign-extern-static.
1638 [$(build-shared) = yes] (tests): Add tst-tlsalign-extern.
1639 ($(objpfx)tst-tlsalign-extern): Depend on tst-tlsalign-vars.o.
1640 ($(objpfx)tst-tlsalign-extern-static): Likewise.
1641 (test-xfail-tst-tlsalign-extern-static): New variable.
1643 2015-06-02 Joseph Myers <joseph@codesourcery.com>
1645 * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h (INLINE_SYSCALL):
1646 Use variable name _sc_err instead of err.
1647 [__mips16] (INTERNAL_SYSCALL_NCS): Use variable name _sc_ret
1649 * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h
1650 (INLINE_SYSCALL): Use variable name _sc_err instead of err.
1651 * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h
1652 (INLINE_SYSCALL): Likewise.
1654 * string/strnlen.c [!STRNLEN] (__strnlen): Use libc_hidden_def.
1655 * include/string.h (__strnlen): Use libc_hidden_proto.
1656 * sysdeps/aarch64/strnlen.S (__strnlen): Use libc_hidden_def.
1657 * sysdeps/i386/i686/multiarch/strnlen-c.c [SHARED]
1658 (libc_hidden_def): Define __GI___strnlen as well as __GI_strnlen.
1659 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-power7.S
1660 (libc_hidden_def): Undefine and redefine.
1661 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c
1662 [SHARED] (libc_hidden_def): Define __GI___strnlen as well as
1664 * sysdeps/powerpc/powerpc32/power7/strnlen.S (__strnlen): Use
1666 * sysdeps/tile/tilegx/strnlen.c (__strnlen): Likewise.
1669 * wctype/wcfuncs.c (towlower): Rename to __towlower and define as
1670 weak alias of __towlower. Use libc_hidden_weak.
1671 (towupper): Rename to __towupper and define as weak alias of
1672 __towupper. Use libc_hidden_weak.
1673 * include/wctype.h (__towlower): Declare. Use libc_hidden_proto.
1674 (__towupper): Likewise.
1675 * posix/fnmatch.c [HANDLE_MULTIBYTE && _LIBC] (FOLD): Use
1676 __towlower instead of towlower.
1678 2015-06-02 Roland McGrath <roland@hack.frob.com>
1680 * stdlib/setenv.c [__GNUC__,__GNUC_MINOR__ < 4,7]: Use
1681 "-Wuninitialized" rather than "-Wmaybe-uninitialized" in pragma.
1683 2015-06-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
1685 * sysdeps/aarch64/libm-test-ulps: Update.
1687 2015-06-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1689 * sysdeps/unix/sysv/linux/i386/sysdep.h (HAVE_CLOCK_GETTIME_VSYSCALL):
1691 (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
1692 * sysdeps/unix/sysv/linux/x86_64/sysdep.h
1693 (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
1694 (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
1695 * sysdeps/unix/sysv/linux/timespec_get.c: Include errno.h.
1696 * sysdeps/unix/sysv/linux/x86/clock_gettime.c: Remove file.
1697 * sysdeps/unix/sysv/linux/x86/timespec_get.c: Likewise.
1699 2015-06-01 Martin Sebor <msebor@redhat.com>
1702 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
1703 (__setcontext): Use extended four-operand version of mtsf whenever
1705 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
1706 (__novec_swapcontext): Likewise.
1708 2015-06-01 Siddhesh Poyarekar <siddhesh@redhat.com>
1710 * benchtests/scripts/compare_bench.py: New file.
1711 * benchtests/scripts/import_bench.py (mean): New function.
1712 (split_list): Likewise.
1713 (do_for_all_timings): Likewise.
1714 (compress_timings): Likewise.
1716 * benchtests/scripts/import_bench.py: New file.
1717 * benchtests/scripts/validate_benchout.py: Import import_bench
1718 instead of jsonschema.
1719 (validate_bench): Remove function.
1720 (main): Use import_bench.
1722 2015-06-01 Steve Ellcey <sellcey@imgtec.com>
1724 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Use a union to
1725 copy data from cur_ifr->ifr_addr and cur_ifr->ifr_netmask.
1727 2015-05-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1729 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1731 2015-05-28 Roland McGrath <roland@hack.frob.com>
1733 * sysdeps/nacl/exit-thread.h (__exit_thread): If not detached,
1734 set THREAD_SELF->tid to a magic value and futex-wake it.
1735 Pass its address to the thread_exit system call.
1736 * sysdeps/nacl/pthread-pids.h (__nacl_get_tid): Assert that TID's low
1738 * sysdeps/nacl/lowlevellock.h: New file.
1739 * sysdeps/nacl/lll_timedwait_tid.c: New file.
1741 * sysdeps/nacl/lowlevellock-futex.h (lll_futex_timed_wait):
1742 Add TIMEOUT to current time, don't subtract it.
1744 2015-05-28 H.J. Lu <hongjiu.lu@intel.com>
1747 * Makefile ($(objpfx)tst-audit2): Depend on $(libdl).
1748 ($(objpfx)tst-audit2.out): Also depend on
1749 $(objpfx)tst-auditmod9b.so.
1750 * elf/tst-audit2.c: Include <dlfcn.h>.
1751 (calloc_called): New.
1752 (calloc): Allow to be called more than once.
1753 (do_test): dllopen/dlclose $ORIGIN/tst-auditmod9b.so.
1755 2015-05-28 Wilco Dijkstra <wdijkstr@arm.com>
1757 * sysdeps/ieee754/dbl-64/s_fabs.c: (__fabs): Call __builtin_fabs.
1758 * sysdeps/ieee754/flt-32/s_fabsf.c: (__fabsf): Likewise.
1760 2015-05-27 Marko Myllynen <myllynen@redhat.com>
1762 * stdlib/monetary.h: Fix comment.
1764 2015-05-26 Chris Metcalf <cmetcalf@ezchip.com>
1766 * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_SYSCALL):
1767 Avoid using variables in #defines that might cause shadowing.
1768 (INTERNAL_VSYSCALL_CALL): Likewise.
1770 2015-05-26 Roland McGrath <roland@hack.frob.com>
1772 * sysdeps/nacl/lll_timedlock_wait.c: New file.
1774 * nptl/lowlevellock.c (__lll_timedlock_wait): Moved ...
1775 * nptl/lll_timedlock_wait.c: ... to this new file.
1776 * nptl/Makefile (libpthread-routines): Add it.
1777 * nptl/lowlevellock.c (__lll_timedwait_tid): Moved ...
1778 * nptl/lll_timedwait_tid.c: ... to this new file.
1779 * nptl/Makefile (libpthread-routines): Add it.
1780 * sysdeps/sparc/sparc32/lll_timedlock_wait.c: New file.
1781 * sysdeps/sparc/sparc32/lll_timedwait_tid.c: New file.
1782 * sysdeps/unix/sysv/linux/i386/i486/lll_timedlock_wait.c: New file.
1783 * sysdeps/unix/sysv/linux/i386/i586/lll_timedlock_wait.c: New file.
1784 * sysdeps/unix/sysv/linux/i386/i686/lll_timedlock_wait.c: New file.
1785 * sysdeps/unix/sysv/linux/i386/i486/lll_timedwait_tid.c: New file.
1786 * sysdeps/unix/sysv/linux/i386/i586/lll_timedwait_tid.c: New file.
1787 * sysdeps/unix/sysv/linux/i386/i686/lll_timedwait_tid.c: New file.
1788 * sysdeps/unix/sysv/linux/x86_64/lll_timedlock_wait.c: New file.
1789 * sysdeps/unix/sysv/linux/x86_64/lll_timedwait_tid.c: New file.
1791 2015-05-26 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1793 * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c: Remove file.
1794 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
1795 * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
1796 * sysdeps/unix/sysv/linux/aarch64/sysdep.h
1797 (HAVE_GETTIMEOFDAY_VSYSCALL): Define.
1798 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
1799 (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
1800 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
1801 (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
1802 * sysdeps/unix/sysv/linux/tile/sysdep.h
1803 (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
1804 * sysdeps/unix/sysv/linux/gettimeofday.c: New file: gettimeofday
1805 using vDSO syscall macro.
1807 2015-05-26 Andriy Rysin <arysin@gmail.com>
1810 * uk_UA: Fix sorting order for Ukrainian locale
1812 2015-05-26 Marko Myllynen <myllynen@redhat.com>
1814 * stdlib/monetary.h: Fix comment.
1816 2015-05-26 Szabolcs Nagy <szabolcs.nagy@arm.com>
1819 * conform/data/sys/stat.h-data (struct stat): Add tests for st_atim,
1820 st_mtim and st_ctim members.
1821 * sysdeps/nacl/bits/stat.h (struct stat, struct stat64): Make
1822 st_atim, st_ctim, st_mtim visible under __USE_XOPEN2K8 only.
1823 * sysdeps/unix/sysv/linux/generic/bits/stat.h (struct stat,):
1824 (struct stat64): Likewise.
1825 * sysdeps/unix/sysv/linux/ia64/bits/stat.h (struct stat,):
1826 (struct stat64): Likewise.
1827 * sysdeps/unix/sysv/linux/microblaze/bits/stat.h (struct stat,):
1828 (struct stat64): Likewise.
1830 2015-05-26 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1832 * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c (HAVE_VSYSCALL):
1833 Define and include sysdep-vdso.h.
1834 * sysdeps/unix/sysv/linux/s390/gettimeofday.c (HAVE_VSYSCALL):
1836 * sysdeps/unix/sysv/linux/tile/gettimeofday.c (HAVE_VSYSCALL):
1838 * sysdeps/unix/sysv/linux/aarch64/init-first.c (__vdso_gettimeofday):
1839 Define with VDSO_SYMBOL and use PTR_MANGLE.
1840 (__vdso_clock_gettime): Likewise.
1841 (__vdso_clock_getres): Likewise.
1842 (_libc_vdso_platform_setup): Likewise.
1843 * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
1845 (_libc_vdso_platform_setup): Likewise.
1846 * sysdeps/unix/sysv/linux/powerpc/init-first.c (__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 (_libc_vdso_platform_setup): Likewise.
1857 * sysdeps/unix/sysv/linux/s390/init-first.c (__vdso_gettimeofay):
1859 (__vdso_clock_gettime): Likewise.
1860 (__vdso_clock_getres): Likewise.
1861 (_libc_vdso_platform_setup): Likewise.
1862 * sysdeps/unix/sysv/linux/tile/init-first.c (__vdso_gettimeofday):
1864 (__vdso_clock_gettime): Likewise.
1865 (_libc_vdso_platform_setup): Likewise.
1866 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
1868 (__vdso_getcpu): Likewise.
1869 * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h (__vdso_gettimeoday):
1870 Use VDSO_SYMBOL macro to define.
1871 (__vdso_clock_gettime): Likewise.
1872 (__vdso_clock_getres): Likewise.
1873 * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h (__vdso_gettimeofday):
1875 (__vdso_clock_gettime): Likewise.
1876 (__vdso_clock_getres): Likewise.
1877 (__vdso_get_tbfreq): Likewise.
1878 (__vdso_getcpu): Likewise.
1879 (__vdso_time): Likewise.
1880 (__vdso_sigtramp_rt64): Likewise.
1881 (__vdso_signtramp32): Likewise.
1882 (__vdso_sigtramp_rt32): Likewise.
1883 * sysdeps/unix/sysv/linux/s390/libc-vdso.h (__vdso_gettimeofday):
1885 (__vdso_clock_gettime): Likewise.
1886 (__vdso_clock_getres): Likewise.
1887 * sysdeps/unix/sysv/linux/tile/libc-vdso.h (__vdso_gettimeofday):
1889 (__vdso_clock_gettime): Likewise.
1890 * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
1892 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INLINE_VSYSCALL): Remove
1894 (INTERNAL_VSYSCALL): Likewise.
1895 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h (INLINE_VSYSCALL):
1897 (INTERNAL_VSYSCALL): Likewise.
1898 (INTERNAL_VSYSCALL_NCS): Likewise.
1899 (INTERNAL_VSYSCALL_CALL): New macro.
1900 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
1901 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h (INLINE_VSYSCALL):
1903 (INTERNAL_VSYSCALL): Likewise.
1904 (INTERNAL_VSYSCALL_NCS): Likewise.
1905 (INTERNAL_VSYSCALL_CALL): New macro.
1906 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
1907 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
1908 (INLINE_VSYSCALL): Remove macro.
1909 (INTERNAL_VSYSCALL): Remove macro.
1910 (INTERNAL_VSYSCALL_NCS): Remove macro.
1911 (INTERNAL_VSYSCALL_CALL): New macro.
1912 (INTERNAL_VSYSCALL_CALL_TYPE): New macro.
1913 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL.
1914 (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
1915 (HAVE_CLOCK_GETRES_VSYSCALL): New define.
1916 (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
1917 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
1918 (INLINE_VSYSCALL): Remove macro.
1919 (INTERNAL_VSYSCALL): Likewise.
1920 (INTERNAL_VSYSCALL_NCS): Likewise.
1921 (INTERNAL_VSYSCALL_CALL): New macro.
1922 (INTERNAL_VSYSCALL_CALL_TYPE): Likewise.
1923 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL and
1924 PTR_DEMANGLE on vDSO pointer.
1925 (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
1926 * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Remove
1928 (INTERNAL_SYSCALL): Likewise.
1929 (INTERNAL_VSYSCALL_NCS): Remove macro.
1930 (INTERNAL_VSYSCALL_CALL): New macro.
1931 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_VSYSCALL):
1933 (INTERNAL_VSYSCALL): Likewise.
1934 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Include
1935 sysdep-vdso.h instead of libc-vdso.h.
1936 * sysdeps/unix/sysv/linux/clock_getres.c (INTERNAL_VSYSCALL): Remove
1938 (INLINE_VSYSCALL): Likewise.
1939 (HAVE_VSYSCALL) [HAVE_CLOCK_GETRES_VSYSCALL]: Define.
1940 * sysdeps/unix/sysv/linux/clock_gettime.c (INTERNAL_VSYSCALL): Remove
1942 (INLINE_VSYSCALL): Likewise.
1943 (INTERNAL_VSYSCALL): Likewise.
1944 (HAVE_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
1945 * sysdeps/unix/sysv/linux/timespec_get.c
1946 (INTERNAL_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
1947 (timespec_get): Use ANSI prototype.
1948 * sysdeps/unix/sysv/linux/sysdep-vdso.h: New file: default vDSO macros
1949 and definition for Linux.
1951 2015-05-25 Andrew Senkevich <andrew.senkevich@intel.com>
1953 * elf/Makefile (localplt-built-dso): libmvec added to localplt test.
1954 * include/libc-symbols.h: libmvec_hidden_* macro series added.
1956 2015-05-22 H.J. Lu <hongjiu.lu@intel.com>
1959 * elf/dl-reloc.c (_dl_relocate_object): Don't issue an error
1960 for missing DT_PLTRELSZ.
1962 2015-05-22 Paul Eggert <eggert@cs.ucla.edu>
1964 Remove obsolete aliases that broke 'locale -a'
1966 * intl/locale.alias: Remove obsolete aliases "bokmål" and "français"
1967 which caused 'locale -a' to output Latin-1 data in UTF-8 locales,
1968 breaking some applications that use 'locale -a' output.
1969 Change the encoding of this file from Latin-1 to ASCII to avoid
1970 other potential problems with people grepping this file.
1972 2015-05-22 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1974 * nptl/Makefile (CFLAGS-accept.c): Add -fexceptions and
1975 -fasynchronous-unwind-tables.
1976 (CFLAGS-sendto.c): Likewise.
1977 (CFLAGS-sendmsg.c): Likewise.
1978 (CFLAGS-connect.c): Likewise.
1979 (CFLAGS-recvmsg.c): Likewise.
1980 (CFLAGS-recvfrom.c): Likewise.
1981 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_invalid): Define.
1982 (SOCKETCALL): New macro: non-cancellable socketcall.
1983 (SOCKETCALL_CANCEL): New macro: cancellable socketcall.
1984 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = socket]: Remove
1985 internal_accept4, internal_recvmmsg, and internal_sendmmsg rules.
1986 * sysdeps/unix/sysv/linux/accept.c: New file.
1987 * sysdeps/unix/sysv/linux/bind.c: Likewise.
1988 * sysdeps/unix/sysv/linux/connect.c: Likewise.
1989 * sysdeps/unix/sysv/linux/getpeername.c: Likewise.
1990 * sysdeps/unix/sysv/linux/getsockname.c: Likewise.
1991 * sysdeps/unix/sysv/linux/getsockopt.c: Likewise.
1992 * sysdeps/unix/sysv/linux/listen.c: Likewise.
1993 * sysdeps/unix/sysv/linux/recv.c: Likewise.
1994 * sysdeps/unix/sysv/linux/recvfrom.c: Likewise.
1995 * sysdeps/unix/sysv/linux/recvmsg.c: Likewise.
1996 * sysdeps/unix/sysv/linux/send.c: Likewise.
1997 * sysdeps/unix/sysv/linux/sendmsg.c: Likewise.
1998 * sysdeps/unix/sysv/linux/sendto.c: Likewise.
1999 * sysdeps/unix/sysv/linux/setsockopt.c: Likewise.
2000 * sysdeps/unix/sysv/linux/shutdown.c: Likewise.
2001 * sysdeps/unix/sysv/linux/socket.c: Likewise.
2002 * sysdeps/unix/sysv/linux/socketpair.c: Likewise.
2003 * sysdeps/unix/sysv/linux/recvmmsg.c (__internal_recvmmsg): Remove
2005 (recvmmsg) [__ASSUME_RECVMMSG_SOCKETCALL]: Add C based implementation.
2006 (recvmmsg) [!__ASSUME_RECVMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
2007 instead of __internal_xxx function.
2008 * sysdeps/unix/sysv/linux/accept4.c (__internal_accept4): Remove
2010 (accept4) [__ASSUME_ACCEPT4_SOCKETCALL]: Add C based implementation.
2011 (accept4) [!__ASSUME_ACCEPT4_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
2012 instead of __internal_xxx function.
2013 * sysdeps/unix/sysv/linux/sendmmsg.c (__internal_sendmmsg): Remove
2015 (sendmmsg) [__ASSUME_SENDMMSG_SOCKETCALL]: Add C based implementation.
2016 (sendmmsg) [!__ASSUME_SENDMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
2017 instead of __internal_xxx function.
2018 * sysdeps/unix/sysv/linux/accept.S: Remove file.
2019 * sysdeps/unix/sysv/linux/bind.S: Likewise.
2020 * sysdeps/unix/sysv/linux/connect.S: Likewise.
2021 * sysdeps/unix/sysv/linux/getpeername.S: Likewise.
2022 * sysdeps/unix/sysv/linux/getsockname.S: Likewise.
2023 * sysdeps/unix/sysv/linux/getsockopt.S: Likewise.
2024 * sysdeps/unix/sysv/linux/arm/internal_accept4.S: Likewise.
2025 * sysdeps/unix/sysv/linux/arm/internal_recvmmsg.S: Likewise.
2026 * sysdeps/unix/sysv/linux/arm/internal_sendmmsg.S: Likewise.
2027 * sysdeps/unix/sysv/linux/i386/accept4.S: Likewise.
2028 * sysdeps/unix/sysv/linux/i386/internal_accept4.S: Likewise.
2029 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
2030 * sysdeps/unix/sysv/linux/internal_accept4.S: Likewise.
2031 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: Likewise.
2032 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: Likewise.
2033 * sysdeps/unix/sysv/linux/listen.S: Likewise.
2034 * sysdeps/unix/sysv/linux/microblaze/socket.S: Likewise.
2035 * sysdeps/unix/sysv/linux/mips/mips32/internal_accept4.S: Likewise.
2036 * sysdeps/unix/sysv/linux/mips/mips32/internal_recvmmsg.S: Likewise.
2037 * sysdeps/unix/sysv/linux/mips/mips32/internal_sendmmsg.S: Likewise.
2038 * sysdeps/unix/sysv/linux/powerpc/powerpc32/socket.S: Likewise.
2039 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S: Likewise.
2040 * sysdeps/unix/sysv/linux/recv.S: Likewise.
2041 * sysdeps/unix/sysv/linux/recvfrom.S: Likewise.
2042 * sysdeps/unix/sysv/linux/recvmsg.S: Likewise.
2043 * sysdeps/unix/sysv/linux/s390/s390-32/socket.S: Likewise.
2044 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
2045 * sysdeps/unix/sysv/linux/send.S: Likewise.
2046 * sysdeps/unix/sysv/linux/sendmsg.S: Likewise.
2047 * sysdeps/unix/sysv/linux/sendto.S: Likewise.
2048 * sysdeps/unix/sysv/linux/setsockopt.S: Likewise.
2049 * sysdeps/unix/sysv/linux/sh/socket.S: Likewise.
2050 * sysdeps/unix/sysv/linux/shutdown.S: Likewise.
2051 * sysdeps/unix/sysv/linux/socketpair.S: Likewise.
2052 * sysdeps/unix/sysv/linux/sparc/sparc32/socket.S: Likewise.
2053 * sysdeps/unix/sysv/linux/sparc/sparc64/socket.S: Likewise.
2054 * sysdeps/unix/sysv/linux/m68k/socket.S: Likewise.
2055 * sysdeps/unix/sysv/linux/hppa/socket.S: Likewise.
2056 * sysdeps/unix/sysv/linux/kernel-features.h: Adjust comment on how
2057 socketcall is implemented in GLIBC.
2059 2015-05-22 Joseph Myers <joseph@codesourcery.com>
2061 * soft-fp/fmadf4.c: Include <libc-internal.h>.
2062 (__fma): Ignore uninitialized warnings around packing.
2063 * soft-fp/fmasf4.c: Include <libc-internal.h>.
2064 (__fmaf): Ignore uninitialized warnings around packing.
2065 * soft-fp/fmatf4.c: Include <libc-internal.h>.
2066 (__fmal): Ignore uninitialized warnings around packing.
2068 * sysdeps/ieee754/ldbl-128/k_tanl.c: Include <libc-internal.h>.
2069 (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
2070 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Include <libc-internal.h>.
2071 (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
2073 * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfcl): Make case 9 in
2074 switch statement into default case.
2075 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Likewise.
2077 * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Don't use
2078 a conditional in forcing "inexact".
2079 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
2082 2015-05-22 Roland McGrath <roland@hack.frob.com>
2084 * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
2085 Use a separate INTERNAL_SYSCALL_DECL (err); in a local scope
2086 for each INTERNAL_SYSCALL use.
2088 2015-05-22 Joseph Myers <joseph@codesourcery.com>
2091 * posix/unistd.h (_POSIX2_C_VERSION): New macro.
2092 * conform/Makefile (test-xfail-POSIX/unistd.h/conform): Remove
2096 * string/basename.c (basename): Rename to __basename and define as
2097 weak alias of __basename. Use libc_hidden_weak.
2098 * include/string.h (__basename): Declare. Use libc_hidden_proto.
2099 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): Call
2100 __basename instead of basename.
2101 * conform/Makefile (test-xfail-POSIX2008/unistd.h/linknamespace):
2103 (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
2105 2015-05-18 Florian Weimer <fweimer@redhat.com>
2107 * libio/libioP.h (_IO_MEMBER_TYPE, _IO_CAST_FIELD_ACCESS)
2108 (_IO_JUMPS_FILE_plus): New.
2109 (_IO_WIDE_JUMPS, _IO_CHECK_WIDE, _IO_JUMPS_FUNC): Use
2110 _IO_CAST_FIELD_ACCESS.
2111 * libio/fileops.c (libc_hidden_def, _IO_file_setbuf_mmap,
2112 mmap_remap_check, decide_maybe_mmap): Use _IO_JUMPS_FILE_plus.
2113 * libio/freopen.c (freopen): Likewise.
2114 * libio/freopen64.c (freopen64): Likewise.
2115 * libio/iofopen.c (__fopen_maybe_mmap): Likewise.
2116 * libio/iofopncook.c (_IO_old_fopencookie): Likewise.
2117 * libio/iofwide.c (_IO_fwide): Likewise.
2118 * libio/memstream.c (open_memstream): Likewise.
2119 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
2120 * libio/oldiofopen.c (_IO_old_fopen): Likewise.
2121 * libio/oldiopopen.c (_IO_old_popen): Likewise.
2123 2015-05-21 Joseph Myers <joseph@codesourcery.com>
2125 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Include <libc-internal.h>.
2126 (__ieee754_lgamma_r): Ignore uninitialized warnings around use of
2128 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Include <libc-internal.h>.
2129 (__ieee754_lgammaf_r): Ignore uninitialized warnings around use of
2131 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Include <libc-internal.h>.
2132 (__ieee754_lgammal_r): Ignore uninitialized warnings around use of
2135 * sysdeps/ieee754/dbl-64/mpa.c (norm): Remove if condition on
2138 * conform/linknamespace.pl (@whitelist): Add re_syntax_options.
2139 * conform/Makefile (test-xfail-UNIX98/regex.h/linknamespace):
2141 (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
2142 (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
2143 (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
2145 2015-05-21 Florian Weimer <fweimer@redhat.com>
2147 * stdio-common/vfprintf.c (LABEL, JUMP_TABLE_BASE_LABEL, REF):
2148 Adjust jump table label generation macros.
2150 2015-05-21 Florian Weimer <fweimer@redhat.com>
2152 * stdio-common/vfprintf.c (vfprintf): Move local variables
2153 args_malloced, specs, specs_malloced, and the code after
2154 do_positional to the printf_positional function.
2155 (printf_positional): New function.
2157 2015-05-21 Florian Weimer <fweimer@redhat.com>
2159 * stdio-common/vfprintf.c (jump_table): Move out of the vfprintf
2161 (NOT_IN_JUMP_RANGE, CHAR_CLASS, LABEL, REF, JUMP, STEP0_3_TABLE,
2162 STEP4_TABLE, process_arg): Move macro definitions
2163 out of the vfprintf function. (Cosmetic change only.)
2165 2015-05-21 Carlos O'Donell <carlos@redhat.com>
2167 * benchtests/Makefile (stdio-common-bench): Define.
2168 (benchset): Add stdio-common-bench.
2169 * sprintf-inputs: New file.
2170 * sprintf-source.c: New file.
2172 2015-05-21 Andreas Schwab <schwab@suse.de>
2176 * resolv/res_init.c (__res_vinit): Remove use of ext.nsmap member
2177 of struct __res_state.
2178 * resolv/res_send.c (__libc_res_nsend): Likewise.
2179 (get_nsaddr): New function.
2180 (res_ourserver_p, send_vc, reopen): Use it instead of accessing
2183 2015-05-20 Joseph Myers <joseph@codesourcery.com>
2185 * conform/GlibcConform.pm ($CFLAGS{"POSIX"}): Use
2186 -D_POSIX_C_SOURCE=199506L.
2188 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Require.
2190 * conform/data/unistd.h-data (_POSIX_VERSION): Require.
2191 (_POSIX2_C_VERSION): Require if [POSIX || XPG3 || XPG4 || UNIX98].
2192 Do not mention otherwise.
2193 [POSIX] (_XOPEN_VERSION): Do not expect.
2194 [POSIX] (_XOPEN_XCU_VERSION): Likewise.
2195 [POSIX] (_POSIX2_C_BIND): Likewise.
2196 [POSIX] (_POSIX2_VERSION): Likewise.
2197 [POSIX] (_XOPEN_XPG2): Likewise.
2198 [POSIX] (_XOPEN_XPG3): Likewise.
2199 [POSIX] (_XOPEN_XPG4): Likewise.
2200 [POSIX] (_XOPEN_UNIX): Likewise.
2201 [POSIX] (_POSIX_ADVISORY_INFO): Likewise.
2202 [POSIX] (_POSIX_BARRIERS): Likewise.
2203 [POSIX] (_POSIX_CLOCK_SELECTION): Likewise.
2204 [POSIX] (_POSIX_CPUTIME): Likewise.
2205 [POSIX] (_POSIX_MONOTONIC_CLOCK): Likewise.
2206 [POSIX] (_POSIX_READER_WRITER_LOCKS): Likewise.
2207 [POSIX] (_POSIX_SHELL): Likewise.
2208 [POSIX] (_POSIX_SPAWN): Likewise.
2209 [POSIX] (_POSIX_SPIN_LOCKS): Likewise.
2210 [POSIX] (_POSIX_SPORADIC_SERVER): Likewise.
2211 [POSIX] (_POSIX_THREAD_CPUTIME): Likewise.
2212 [POSIX] (_POSIX_TYPED_MEMORY_OBJECTS): Likewise.
2213 [POSIX] (_POSIX_THREAD_SPORADIC_SERVER): Likewise.
2214 [POSIX] (_XBS5_ILP32_OFF32): Likewise.
2215 [POSIX] (_XBS5_ILP32_OFBIG): Likewise.
2216 [POSIX] (_XBS5_LP64_OFF64): Likewise.
2217 [POSIX] (_XBS5_LPBIG_OFFBIG): Likewise.
2218 [POSIX] (_POSIX_TIMEOUTS): Likewise.
2219 [POSIX] (_POSIX2_PBS): Likewise.
2220 [POSIX] (_POSIX2_PBS_ACCOUNTING): Likewise.
2221 [POSIX] (_POSIX2_PBS_CHECKPOINT): Likewise.
2222 [POSIX] (_POSIX2_PBS_LOCATE): Likewise.
2223 [POSIX] (_POSIX2_PBS_MESSAGE): Likewise.
2224 [POSIX] (_POSIX2_PBS_TRACK): Likewise.
2225 [POSIX] (_POSIX_TIMESTAMP_RESOLUTION): Likewise.
2226 [POSIX] (_CS_XBS5_ILP32_OFF32_CFLAGS): Likewise.
2227 [POSIX] (_CS_XBS5_ILP32_OFF32_LDFLAGS): Likewise.
2228 [POSIX] (_CS_XBS5_ILP32_OFF32_LIBS): Likewise.
2229 [POSIX] (_CS_XBS5_ILP32_OFF32_LINTFLAGS): Likewise.
2230 [POSIX] (_CS_XBS5_ILP32_OFFBIG_CFLAGS): Likewise.
2231 [POSIX] (_CS_XBS5_ILP32_OFFBIG_LDFLAGS): Likewise.
2232 [POSIX] (_CS_XBS5_ILP32_OFFBIG_LIBS): Likewise.
2233 [POSIX] (_CS_XBS5_ILP32_OFFBIG_LINTFLAGS): Likewise.
2234 [POSIX] (_CS_XBS5_LP64_OFF64_CFLAGS): Likewise.
2235 [POSIX] (_CS_XBS5_LP64_OFF64_LDFLAGS): Likewise.
2236 [POSIX] (_CS_XBS5_LP64_OFF64_LIBS): Likewise.
2237 [POSIX] (_CS_XBS5_LP64_OFF64_LINTFLAGS): Likewise.
2238 [POSIX] (_CS_XBS5_LPBIG_OFFBIG_CFLAGS): Likewise.
2239 [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LDFLAGS): Likewise.
2240 [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LIBS): Likewise.
2241 [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LINTFLAGS): Likewise.
2242 [POSIX] (_SC_2_C_BIND): Likewise.
2243 [POSIX] (_SC_2_C_VERSION): Likewise.
2244 [POSIX] (_SC_2_PBS): Likewise.
2245 [POSIX] (_SC_2_PBS_ACCOUNTING): Likewise.
2246 [POSIX] (_SC_2_PBS_CHECKPOINT): Likewise.
2247 [POSIX] (_SC_2_PBS_LOCATE): Likewise.
2248 [POSIX] (_SC_2_PBS_MESSAGE): Likewise.
2249 [POSIX] (_SC_2_PBS_TRACK): Likewise.
2250 [POSIX] (_SC_ATEXIT_MAX): Likewise.
2251 [POSIX] (_SC_BARRIERS): Likewise.
2252 [POSIX] (_SC_BASE): Likewise.
2253 [POSIX] (_SC_CLOCK_SELECTION): Likewise.
2254 [POSIX] (_SC_DEVICE_IO): Likewise.
2255 [POSIX] (_SC_DEVICE_SPECIFIC): Likewise.
2256 [POSIX] (_SC_DEVICE_SPECIFIC_R): Likewise.
2257 [POSIX] (_SC_FD_MGMT): Likewise.
2258 [POSIX] (_SC_FIFO): Likewise.
2259 [POSIX] (_SC_FILE_ATTRIBUTES): Likewise.
2260 [POSIX] (_SC_FILE_LOCKING): Likewise.
2261 [POSIX] (_SC_FILE_SYSTEM): Likewise.
2262 [POSIX] (_SC_IOV_MAX): Likewise.
2263 [POSIX] (_SC_MONOTONIC_CLOCK): Likewise.
2264 [POSIX] (_SC_NETWORKING): Likewise.
2265 [POSIX] (_SC_PAGE_SIZE): Likewise.
2266 [POSIX] (_SC_PASS_MAX): Likewise.
2267 [POSIX] (_SC_PIPE): Likewise.
2268 [POSIX] (_SC_READER_WRITER_LOCKS): Likewise.
2269 [POSIX] (_SC_REGEXP): Likewise.
2270 [POSIX] (_SC_SHELL): Likewise.
2271 [POSIX] (_SC_SIGNALS): Likewise.
2272 [POSIX] (_SC_SINGLE_PROCESS): Likewise.
2273 [POSIX] (_SC_SPIN_LOCKS): Likewise.
2274 [POSIX] (_SC_TYPED_MEMORY_OBJECTS): Likewise.
2275 [POSIX] (_SC_USER_GROUPS): Likewise.
2276 [POSIX] (_SC_USER_GROUPS_R): Likewise.
2277 [POSIX] (_SC_STREAMS): Likewise.
2278 [POSIX] (_SC_XBS5_ILP32_OFF32): Likewise.
2279 [POSIX] (_SC_XBS5_ILP32_OFFBIG): Likewise.
2280 [POSIX] (_SC_XBS5_LP64_OFF64): Likewise.
2281 [POSIX] (_SC_XBS5_LPBIG_OFFBIG): Likewise.
2282 [POSIX] (_SC_THREAD_ROBUST_PRIO_INHERIT): Likewise.
2283 [POSIX] (_SC_THREAD_ROBUST_PRIO_PROTECT): Likewise.
2284 [POSIX] (_PC_FILESIZEBITS): Likewise.
2285 [POSIX] (_PC_REC_INCR_XFER_SIZE): Likewise.
2286 [POSIX] (_PC_REC_MAX_XFER_SIZE): Likewise.
2287 [POSIX] (_PC_REC_MIN_XFER_SIZE): Likewise.
2288 [POSIX] (_PC_REC_XFER_ALIGN): Likewise.
2289 [POSIX] (uid_t): Likewise.
2290 [POSIX] (gid_t): Likewise.
2291 [POSIX] (off_t): Likewise.
2292 [POSIX] (pid_t): Likewise.
2293 [POSIX] (cuserid): Allow.
2294 (_SC_2_CHAR_TERM): Require constant.
2295 (_POSIX_ASYNCHRONOUS_IO): Remove duplicate optional-constant.
2296 * conform/Makefile (test-xfail-POSIX/unistd.h/conform): New
2299 2015-05-20 Roland McGrath <roland@hack.frob.com>
2301 * sysdeps/nacl/pthread-pids.h: New file.
2302 * sysdeps/nacl/createthread.c: Include <pthread-pids.h>.
2303 (create_thread): Use __nacl_get_tid to initialize PD->tid.
2305 * nptl/pthread-pids.h: New file.
2306 * sysdeps/unix/sysv/linux/pthread-pids.h: New file.
2307 * nptl/nptl-init.c: Include <pthread-pids.h>.
2308 (__pthread_initialize_minimal_internal):
2309 Call __pthread_initialize_pids instead of set_tid_address syscall.
2311 * sysdeps/unix/sysv/linux/usleep.c: Moved to ...
2312 * sysdeps/posix/usleep.c: ... here.
2314 2015-05-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2316 * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = misc)]: Remove
2317 call_pselect6 object.
2318 [$(subdir) = io]: Remove call_sync_file_range object.
2319 * sysdeps/unix/sysv/linux/i386/call_pselect6.S: Remove file.
2320 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Remove file.
2321 * sysdeps/unix/sysv/linux/i386/pselect.c: Remove file.
2322 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: Remove file.
2324 2015-05-20 Wilco Dijkstra <wdijkstr@arm.com>
2326 * math/s_cproj.c: Add include "math_private.h".
2327 * math/s_cprojf.c: Likewise.
2328 * math/s_cprojl.c: Likewise.
2330 2015-05-19 Joseph Myers <joseph@codesourcery.com>
2333 * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Ignore explicit
2334 high mantissa bit when testing whether P is a NaN.
2335 * math/libm-test.inc (remainder_test_data): Add more tests.
2336 (remquo_test_data): Likewise.
2339 * sysdeps/i386/fpu/e_atanhl.S (__ieee754_atanhl): For exponents
2340 below -32, return the argument, with underflow if subnormal.
2341 * math/auto-libm-test-in: Add more tests of atanh.
2342 * math/auto-libm-test-out: Regenerated.
2344 2015-05-19 Roland McGrath <roland@hack.frob.com>
2347 * nptl/tst-sem15.c: New file.
2348 * nptl/Makefile (tests): Add it.
2349 * nptl/sem_post.c (__new_sem_post) [!__HAVE_64B_ATOMICS]:
2350 s/<</>>/ to fix typo in EOVERFLOW check.
2351 * sysdeps/sparc/sparc32/sem_post.c (__new_sem_post): Likewise.
2353 2015-05-19 Siddhesh Poyarekar <siddhesh@redhat.com>
2355 * manual/strings.texi (envz_remove): Fix typo in safety
2358 2015-05-19 Paul Eggert <eggert@cs.ucla.edu>
2359 Steve Ellcey <sellcey@imgtec.com>
2361 * inet/rcmd.c (rresvport_af): Change ss to anonymous union
2362 in order to avoid strict alias warnings.
2363 (iruserok_af): Ditto for ra.
2365 2015-05-19 James Lemke <jwlemke@codesourcery.com>
2369 (magicbyte): Convert to a function and avoid returning 0x01.
2370 (mem2mem_check): Avoid using a length byte equal to the magic byte.
2371 (mem2chunk_check): Fix unsigned comparisons to zero.
2372 Hoist defs of sz and magic.
2374 2015-05-19 Richard Henderson <rth@redhat.com>
2376 * soft-fp/op-common.h (_FP_FROM_INT): Don't write to R.
2378 * sysdeps/alpha/fpu/libm-test-ulps: Update.
2380 2015-05-19 Siddhesh Poyarekar <siddhesh@redhat.com>
2383 * malloc/Makefile (tests): New test case tst-malloc-backtrace.
2384 * malloc/arena.c (arena_lock): Check if arena is corrupt.
2385 (reused_arena): Find a non-corrupt arena.
2386 (heap_trim): Pass arena to unlink.
2387 * malloc/hooks.c (malloc_check_get_size): Pass arena to
2389 (top_check): Likewise.
2390 (free_check): Likewise.
2391 (realloc_check): Likewise.
2392 * malloc/malloc.c (malloc_printerr): Add arena argument.
2394 (munmap_chunk): Adjust.
2395 (ARENA_CORRUPTION_BIT): New macro.
2396 (arena_is_corrupt): Likewise.
2397 (set_arena_corrupt): Likewise.
2398 (sysmalloc): Use mmap if there are no usable arenas.
2399 (_int_malloc): Likewise.
2400 (__libc_malloc): Don't fail if arena_get returns NULL.
2401 (_mid_memalign): Likewise.
2402 (__libc_calloc): Likewise.
2403 (__libc_realloc): Adjust for additional argument to
2405 (_int_free): Likewise.
2406 (malloc_consolidate): Likewise.
2407 (_int_realloc): Likewise.
2408 (_int_memalign): Don't touch corrupt arenas.
2409 * malloc/tst-malloc-backtrace.c: New test case.
2411 * Makefile (summarize-tests): Fix return value on success.
2413 * manual/string.texi (Envz Functions): Add envz_remove.
2415 2015-05-18 Roland McGrath <roland@hack.frob.com>
2417 * sysdeps/posix/opendir.c: Include <stdbool.h>.
2418 (invalid_name): New function, broken out of ...
2419 (__opendirat): ... here. Call it.
2420 (need_isdir_precheck): New function, broken out of ...
2421 (__opendirat): ... here. Call it.
2422 Use __fxstatat64, not __xstatat64.
2423 (opendir_oflags): New function, broken out of ...
2424 (__opendirat): ... here. Call it.
2425 (opendir_tail): New function, broken out of ...
2426 (__opendirat): ... here. Call it.
2427 (__opendir): Call invalid_name, need_isdir_precheck, __xstat64, and
2428 opendir_tail, rather than punting to __opendirat.
2429 (__opendirat): Conditionalize function definition on [IS_IN (libc)].
2431 2015-05-18 Siddhesh Poyarekar <siddhesh@redhat.com>
2433 * .gitignore: Ignore generated *.pyc.
2435 2015-05-18 Arjun Shankar <arjun.is@lostca.se>
2437 * include/stdio.h: Define __need_wint_t.
2438 * test-skeleton.c: Avoid `for' loop initial declaration.
2439 * nptl/tst-initializers1.c: Use test-skeleton.c.
2441 2015-05-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2444 * stdlib/tst-setcontext3.sh: Remove non-portable array use.
2446 2015-05-15 Joseph Myers <joseph@codesourcery.com>
2449 * sysdeps/i386/fpu/e_atanh.S (dbl_min): New object.
2450 (__ieee754_atanh): Force underflow exception for results with
2451 small absolute value.
2452 * sysdeps/i386/fpu/e_atanhf.S (flt_min): New object.
2453 (__ieee754_atanhf): Force underflow exception for results with
2454 small absolute value.
2455 * sysdeps/ieee754/dbl-64/e_atanh.c: Include <float.h>.
2456 (__ieee754_atanh): Force underflow exception for results with
2457 small absolute value.
2458 * sysdeps/ieee754/flt-32/e_atanhf.c: Include <float.h>.
2459 (__ieee754_atanhf): Force underflow exception for results with
2460 small absolute value.
2461 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Include <float.h>.
2462 (__ieee754_atanhl): Force underflow exception for results with
2463 small absolute value.
2464 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Include <float.h>.
2465 (__ieee754_atanhl): Force underflow exception for results with
2466 small absolute value.
2467 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Include <float.h>.
2468 (__ieee754_atanhl): Force underflow exception for results with
2469 small absolute value.
2470 * math/auto-libm-test-in: Do not allow missing underflow
2471 exceptions from atanh.
2472 * math/auto-libm-test-out: Regenerated.
2475 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use 2**-13 not
2476 2**-28 as threshold for returning x or +/- 1/x.
2477 * math/auto-libm-test-in: Add more tests of tan.
2478 * math/auto-libm-test-out: Regenerated.
2481 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
2482 2**26 not 2**58 as threshold for returning x * (log (x) - 1).
2483 * math/auto-libm-test-in: Add another test of lgamma.
2484 * math/auto-libm-test-out: Regenerated.
2486 2015-05-15 Wilco Dijkstra <wdijkstr@arm.com>
2488 * stdio-common/printf_fp.c (___printf_fp): Use abs.
2489 * stdlib/gmp-impl.h (ABS): Remove define. (ABSIZ): Remove.
2490 * sysdeps/ieee754/dbl-64/branred.c (__branred): Use fabs.
2491 * sysdeps/ieee754/dbl-64/dla.h (EADD): Use fabs.
2492 (ESUB): Use fabs. (ADD2): Use fabs. (SUB2): Use fabs.
2493 (ADD2A): Use fabs. (SUB2A): Use fabs.
2494 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Use fabs.
2495 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Use fabs.
2496 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use fabs.
2497 (log1): Use fabs. (my_log2): Use fabs.
2498 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): Use fabs.
2499 * sysdeps/ieee754/dbl-64/mpa.h (ABS): Remove define.
2500 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use fabs.
2501 * sysdeps/ieee754/dbl-64/mydefs.h (ABS): Remove define.
2502 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use fabs.
2503 (__cos): Use fabs. (slow): Use fabs. (slow2): Use fabs.
2504 (sloww): Use fabs. (sloww1): Use fabs. (sloww2): Use fabs.
2505 (bslow1): Use fabs. (bslow2): Use fabs. (cslow2): Use fabs.
2506 (csloww): Use fabs. (csloww1): Use fabs. (csloww2): Use fabs.
2507 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Use fabs.
2508 * sysdeps/x86_64/fpu/multiarch/e_log.c: add math.h include.
2510 2015-05-15 Joseph Myers <joseph@codesourcery.com>
2513 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Use 2**-26 not 2**-56
2514 as threshold for returning 1 - x.
2515 * math/auto-libm-test-in: Add more tests of erfc.
2516 * math/auto-libm-test-out: Regenerated.
2518 2015-05-14 Joseph Myers <joseph@codesourcery.com>
2521 * sysdeps/ieee754/flt-32/s_atanf.c (__atanf): Use 2^25 not 2^34 as
2522 threshold for large arguments.
2523 * math/auto-libm-test-in: Add another test of atan.
2524 * math/auto-libm-test-out: Regenerated.
2527 * sysdeps/i386/fpu/s_log1p.S (dbl_min): New object.
2528 (__log1p): Force underflow exception for results with small
2530 * sysdeps/i386/fpu/s_log1pf.S (flt_min): New object.
2531 (__log1pf): Force underflow exception for results with small
2533 * sysdeps/ieee754/dbl-64/s_log1p.c: Include <float.h>.
2534 (__log1p): Force underflow exception for results with small
2536 * sysdeps/ieee754/flt-32/s_log1pf.c: Include <float.h>.
2537 (__log1pf): Force underflow exception for results with small
2539 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Include <float.h>.
2540 (__log1pl): Force underflow exception for results with small
2542 * math/auto-libm-test-in: Do not allow missing underflow
2543 exceptions from log1p.
2544 * math/auto-libm-test-out: Regenerated.
2546 2015-05-14 Jakub Bogusz <qboosh@pld-linux.org>
2547 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2550 * sysdeps/unix/make-syscalls.sh: Remove non-portable echo usage.
2552 2015-05-14 Andrew Senkevich <andrew.senkevich@intel.com>
2554 * Makeconfig (rpath-dirs, all-subdirs): Added mathvec folder.
2555 (libmvec): New variable.
2556 * configure.ac: Added option for mathvec build.
2557 * configure: Regenerated.
2558 * mathvec/Depend: New file.
2559 * mathvec/Makefile: New file.
2560 * shlib-versions: Added libmvec.
2561 * math/Makefile: Added rule for libm.so installation.
2563 * bits/math-vector.h: New file.
2564 * bits/libm-simd-decl-stubs.h: New header.
2565 * math/Makefile (headers): Added new header
2566 libm-simd-decl-stubs.h.
2567 * math/math.h (__MATHCALL_VEC): New macro.
2569 * math/gen-libm-have-vector-test.sh: Script generates series of macros
2570 for conditions in testing functions.
2571 * math/Makefile: Added call of libm-have-vector-test.sh.
2572 * math/libm-test.inc (HAVE_VECTOR): New macros.
2574 * math/libm-test.inc: START refactored.
2575 * math/test-double.c (TEST_MATHVEC): Add define.
2576 * math/test-float.c: Likewise.
2577 * math/test-idouble.c: Likewise.
2578 * math/test-ifloat.c: Likewise.
2579 * math/test-ildoubl.c: Likewise.
2580 * math/test-ldouble.c: Likewise.
2581 * sysdeps/generic/math-tests-arch.h
2582 (INIT_ARCH_EXT, CHECK_ARCH_EXT): New helper macros for runtime
2585 * math/test-double.c (FUNC_TEST): New macro.
2586 * math/test-float.c: Likewise.
2587 * math/test-idouble.c: Likewise.
2588 * math/test-ifloat.c: Likewise.
2589 * math/test-ildoubl.c: Likewise.
2590 * math/test-ldouble.c: Likewise.
2591 * math/libm-test.inc: Use FUNC_TEST for name of tested functions.
2593 2015-05-13 Roland McGrath <roland@hack.frob.com>
2595 * sysdeps/nacl/fdopendir.c: New file.
2597 * dirent/scandir-tail.c: New file.
2598 * dirent/scandir64-tail.c: New file.
2599 * dirent/Makefile (routines): Add them.
2600 (CFLAGS-scandir-tail.c, CFLAGS-scandir64-tail.c): New variables.
2601 * include/dirent.h (__scandir_tail, __scandir64_tail): Declare them.
2602 * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Macro removed.
2603 [!SCANDIR] (SCANDIR_TAIL): New macro.
2604 (SCANDIR): Call __opendir and __scandir_tail, not __scandirat.
2605 * dirent/scandir64.c [!_DIRENT_MATCHES_DIRENT64]
2606 (SCANDIRAT): Macro removed.
2607 (SCANDIR_TAIL): New macro.
2608 * dirent/scandirat.c [!SCANDIRAT] (READDIR): Macro removed.
2609 [!SCANDIRAT] (SCANDIR_TAIL): New macro.
2610 (SCANDIRAT): Just call __opendirat and __scandir_tail.
2611 * dirent/scandirat64.c [!_DIRENT_MATCHES_DIRENT64]
2612 (READDIR): Macro removed.
2613 (SCANDIR_TAIL): New macro.
2614 * sysdeps/unix/sysv/linux/i386/scandir64.c (READDIR): Macro removed.
2615 (SCANDIR_TAIL): New macro.
2617 * dirent/scandirat.c (__scandir_cancel_handler): Function moved ...
2618 * dirent/scandir-cancel.c: ... to this new file.
2619 * dirent/Makefile (routines): Add it.
2620 * dirent/scandirat64.c (SKIP_SCANDIR_CANCEL): Macro removed.
2621 * sysdeps/unix/sysv/linux/i386/scandir64.c
2622 (SKIP_SCANDIR_CANCEL): Macro removed.
2623 * include/dirent.h (__scandir_cancel_handler): Add attribute_hidden.
2625 * dirent/tst-scandir.c: New file.
2626 * dirent/tst-scandir64.c: New file.
2627 * dirent/Makefile (tests): Add them.
2629 2015-05-13 H.J. Lu <hongjiu.lu@intel.com>
2632 * sysdeps/unix/make-syscalls.sh: Remove a trailing `\'.
2634 2015-05-13 Szabolcs Nagy <szabolcs.nagy@arm.com>
2636 * sysdeps/aarch64/tls-macros.h (TLS_GD): Add "cc" to the clobber
2639 2015-05-13 Leonhard Holz <leonhard.holz@web.de>
2641 * benchtests/bench-strcoll.c: New benchmark.
2642 * benchtests/Makefile: Generate locales and run benchmark.
2643 * benchtests/strcoll-inputs/filelist#C: New benchmark input file.
2644 * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Likewise.
2645 * benchtests/strcoll-inputs/lorem_ipsum#ar_SA.UTF-8: Likewise.
2646 * benchtests/strcoll-inputs/lorem_ipsum#cs_CZ.UTF-8: Likewise.
2647 * benchtests/strcoll-inputs/lorem_ipsum#da_DK.UTF-8: Likewise.
2648 * benchtests/strcoll-inputs/lorem_ipsum#el_GR.UTF-8: Likewise.
2649 * benchtests/strcoll-inputs/lorem_ipsum#en_GB.UTF-8: Likewise.
2650 * benchtests/strcoll-inputs/lorem_ipsum#en_US.UTF-8: Likewise.
2651 * benchtests/strcoll-inputs/lorem_ipsum#es_ES.UTF-8: Likewise.
2652 * benchtests/strcoll-inputs/lorem_ipsum#fr_FR.UTF-8: Likewise.
2653 * benchtests/strcoll-inputs/lorem_ipsum#hi_IN.UTF-8: Likewise.
2654 * benchtests/strcoll-inputs/lorem_ipsum#hu_HU.UTF-8: Likewise.
2655 * benchtests/strcoll-inputs/lorem_ipsum#is_IS.UTF-8: Likewise.
2656 * benchtests/strcoll-inputs/lorem_ipsum#it_IT.UTF-8: Likewise.
2657 * benchtests/strcoll-inputs/lorem_ipsum#iw_IL.UTF-8: Likewise.
2658 * benchtests/strcoll-inputs/lorem_ipsum#ja_JP.UTF-8: Likewise.
2659 * benchtests/strcoll-inputs/lorem_ipsum#pl_PL.UTF-8: Likewise.
2660 * benchtests/strcoll-inputs/lorem_ipsum#pt_PT.UTF-8: Likewise.
2661 * benchtests/strcoll-inputs/lorem_ipsum#ru_RU.UTF-8: Likewise.
2662 * benchtests/strcoll-inputs/lorem_ipsum#sr_RS.UTF-8: Likewise.
2663 * benchtests/strcoll-inputs/lorem_ipsum#sv_SE.UTF-8: Likewise.
2664 * benchtests/strcoll-inputs/lorem_ipsum#tr_TR.UTF-8: Likewise.
2665 * benchtests/strcoll-inputs/lorem_ipsum#vi_VN.UTF-8: Likewise.
2666 * benchtests/strcoll-inputs/lorem_ipsum#zh_CN.UTF-8: Likewise.
2668 2015-05-12 Ondřej Bílka <neleai@seznam.cz>
2670 * sysdeps/x86_64/multiarch/strcspn.S: Remove plt indirection.
2671 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
2673 2015-05-12 Roland McGrath <roland@hack.frob.com>
2675 * posix/uname-values.h: New file.
2676 * posix/uname.c: Include that instead of <config-name.h>.
2677 * sysdeps/nacl/uname-values.h: New file.
2678 * sysdeps/arm/nacl/uname-values.h: New file.
2680 2015-05-12 Joseph Myers <joseph@codesourcery.com>
2682 * conform/linknamespace.pl (list_syms): Remove \[.*?\] before
2683 splitting into fields.
2685 2015-05-12 Leonhard Holz <leonhard.holz@web.de>
2687 * locale/categories.def: Define _NL_COLLATE_ENCODING_TYPE.
2688 * locale/langinfo.h: Add _NL_COLLATE_ENCODING_TYPE to attribute list.
2689 * locale/localeinfo.h: Add enum collation_encoding_type.
2690 * locale/C-collate.c: Set _NL_COLLATE_ENCODING_TYPE to 8bit.
2691 * programs/ld-collate.c (collate_output): Add encoding type info.
2692 * string/strcoll_l.c (STRDIFF): New function.
2693 * (STRCOLL): Use STRDIFF to skip over equal prefix.
2694 * wcsmbs/wcscoll_l.c: Define STRDIFF.
2696 2015-05-11 Joseph Myers <joseph@codesourcery.com>
2699 * sysdeps/mips/mips32/fpu/fpu_control.c: Move to ....
2700 * sysdeps/mips/mips32/fpu/fpucw-helpers.c: ... here. Include
2701 <fpu_control.h> instead of <math/fpu_control.c>.
2702 * sysdeps/mips/mips32/fpu/Makefile: New file.
2704 2015-05-11 Andreas Schwab <schwab@suse.de>
2707 * nis/nss_compat/compat-grp.c (internal_endgrent): Don't call
2709 (_nss_compat_endgrent): Call nss_endgrent.
2710 * nis/nss_compat/compat-pwd.c (internal_endpwent): Don't call
2712 (_nss_compat_endpwent): Call nss_endpwent.
2713 * nis/nss_compat/compat-spwd.c (internal_setspent): Add parameter
2714 needent, call nss_setspent only if non-zero.
2715 (_nss_compat_setspent, _nss_compat_getspent_r): Pass non-zero.
2716 (internal_endspent): Don't call nss_endspent.
2717 (_nss_compat_endspent): Call nss_endspent.
2718 * nss/nss_files/files-XXX.c (position, last_use, keep_stream):
2719 Remove. All uses removed.
2720 (internal_setent): Remove parameter stayopen, add parameter
2721 stream. Use it instead of global variable.
2722 (CONCAT(_nss_files_set,ENTNAME)): Pass global stream.
2723 (internal_endent, internal_getent): Add parameter stream. Use it
2724 instead of global variable.
2725 (CONCAT(_nss_files_end,ENTNAME))
2726 (CONCAT(_nss_files_get,ENTNAME_r)): Pass global stream.
2727 (_nss_files_get##name##_r): Pass local stream. Remove locking.
2728 * nss/nss_files/files-alias.c (position, last_use): Remove. All
2730 (internal_setent, internal_endent): Add parameter stream. Use it
2731 instead of global variable.
2732 (_nss_files_setaliasent, _nss_files_endaliasent): Pass global
2734 (get_next_alias): Add parameter stream.
2735 (_nss_files_getaliasent_r): Pass global stream.
2736 (_nss_files_getaliasbyname_r): Pass local stream. Remove locking.
2737 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r)
2738 (_nss_files_gethostbyname4_r): Pass local stream to
2739 internal_setent, internal_getent and internal_endent. Remove
2742 2015-05-11 Stefan Liebler <stli@linux.vnet.ibm.com>
2744 * tst-strfmon1.c (tests): Update expected currency symbol.
2746 2015-05-08 Roland McGrath <roland@hack.frob.com>
2748 * sysdeps/nacl/gethostname.c: New file.
2750 2015-05-08 Joseph Myers <joseph@codesourcery.com>
2752 * math/auto-libm-test-in: Add more tests of csqrt, lgamma, log10
2754 * math/auto-libm-test-out: Regenerated.
2755 * sysdeps/i386/fpu/libm-test-ulps: Update.
2756 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2758 2015-05-08 Carlos O'Donell <carlos@redhat.com>
2761 * stdlib/tst-setcontext3.c: New file.
2762 * stdlib/tst-setcontext3.sh: New file.
2763 * stdlib/Makefile (tests): Add tst-setcontext3.
2764 (tst-setcontext3.out): Custom rule to run tst-setcontext3.sh
2765 to verify test program created output file.
2766 * sysdeps/unix/sysv/linux/aarch64/setcontext.S: Call exit.
2767 * sysdeps/unix/sysv/linux/arm/setcontext.S: Likewise.
2768 * sysdeps/unix/sysv/linux/hppa/setcontext.S: Likewise.
2769 * sysdeps/unix/sysv/linux/nios2/setcontext.S: Likewise.
2771 2015-05-06 Roland McGrath <roland@hack.frob.com>
2774 * elf/tst-tlsalign.c: New file.
2775 * elf/tst-tlsalign-static.c: New file.
2776 * elf/tst-tlsalign-lib.c: New file.
2777 * elf/Makefile [$(build-shared) = yes] (tests): Add tst-tlsalign.
2778 (tests-static): Add tst-tlsalign-static.
2779 (modules-names): Add tst-tlsalign-lib.
2780 (test-xfail-tst-tlsalign): New variable.
2781 (test-xfail-tst-tlsalign-static): New variable.
2783 * sysdeps/nacl/nacl-test-wrapper.sh (NACL_LOADER):
2784 Use elf_loader_${arch}.nexe rather than loader_${arch}.nexe.
2786 2015-05-06 Joseph Myers <joseph@codesourcery.com>
2788 * math/auto-libm-test-in: Add more tests of acosh, atanh, cos,
2789 csqrt, erfc, sin and sincos.
2790 * math/auto-libm-test-out: Regenerated.
2791 * sysdeps/i386/fpu/libm-test-ulps: Update.
2792 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2794 2015-05-06 Szabolcs Nagy <szabolcs.nagy@arm.com>
2796 * sysdeps/aarch64/libm-test-ulps: Update.
2798 2015-05-05 Joseph Myers <joseph@codesourcery.com>
2800 * math/auto-libm-test-in: Add more tests of acosh, atanh, clog,
2801 clog10, csqrt, erfc, exp2, expm1, log10, log2 and sinh.
2802 * math/auto-libm-test-out: Regenerated.
2803 * sysdeps/i386/fpu/libm-test-ulps: Update.
2804 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2806 2015-04-30 Daniel Marjamäki <daniel.marjamaki@evidente.se>
2809 * wcsmbs/wchar.h (wcscpy): Add __nonnull attribute.
2810 (wcsncpy): Likewise.
2812 2015-05-05 Florian Weimer <fweimer@redhat.com>
2814 * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
2815 Assume __ASSUME_FALLOCATE is always true.
2816 * sysdeps/unix/sysv/linux/posix_fallocate64.c
2817 (__posix_fallocate64_l64): Likweise.
2818 * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate.c
2819 (posix_fallocate): Likewise.
2820 * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate64.c
2821 (__posix_fallocate64_l64): Likewise.
2822 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
2823 [!__ASSUME_FALLOCATE]: Add comment.
2825 2015-05-05 Florian Weimer <fweimer@redhat.com>
2827 * sysdeps/unix/sysv/linux/i386/Makefile
2828 (sysdep_routines) [$(subdir) = misc]: Remove call_fallocate.
2829 (sysdep_routines) [$(subdir) = io]: Add libc-do-syscall.
2830 * sysdeps/unix/sysv/linux/i386/call_fallocate.S: Remove.
2831 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
2832 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
2833 * sysdeps/unix/sysv/linux/i386/posix_fallocate.c: Likewise.
2834 * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c: Likewise.
2836 2015-05-02 Joseph Myers <joseph@codesourcery.com>
2838 * math/auto-libm-test-in: Add more tests of atan, clog, clog10,
2839 cos, csqrt, erf, erfc, exp2, lgamma, log1p, sin, sincos, tanh and
2841 * math/auto-libm-test-out: Regenerated.
2842 * sysdeps/i386/fpu/libm-test-ulps: Update.
2843 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2845 2015-05-01 Joseph Myers <joseph@codesourcery.com>
2847 * math/auto-libm-test-in: Add more tests of tgamma.
2848 * math/auto-libm-test-out: Regenerated.
2849 * sysdeps/i386/fpu/libm-test-ulps: Update.
2850 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2852 * math/auto-libm-test-in: Add more tests of tanh.
2853 * math/auto-libm-test-out: Regenerated.
2854 * sysdeps/i386/fpu/libm-test-ulps: Update.
2855 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2857 * math/auto-libm-test-in: Add more tests of tan.
2858 * math/auto-libm-test-out: Regenerated.
2859 * sysdeps/i386/fpu/libm-test-ulps: Update.
2860 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2862 * math/auto-libm-test-in: Add more tests of cos, sin and sincos.
2863 * math/auto-libm-test-out: Regenerated.
2864 * sysdeps/i386/fpu/libm-test-ulps: Update.
2865 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2867 * math/auto-libm-test-in: Add another test of pow.
2868 * math/auto-libm-test-out: Regenerated.
2869 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
2871 * math/auto-libm-test-in: Add more tests of lgamma.
2872 * math/auto-libm-test-out: Regenerated.
2873 * sysdeps/i386/fpu/libm-test-ulps: Update.
2874 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2876 * math/auto-libm-test-in: Add more tests of log, log10, log2 and
2878 * math/auto-libm-test-out: Regenerated.
2879 * sysdeps/i386/fpu/libm-test-ulps: Update.
2880 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2882 2015-05-01 Mark Wielaard <mjw@redhat.com>
2884 * elf/elf.h: Add SHF_COMPRESSED section flag, Elf32_Chdr and
2885 Elf64_Chdr structs and ELFCOMPRESS constants.
2887 2015-05-01 Joseph Myers <joseph@codesourcery.com>
2889 * math/auto-libm-test-in: Add more tests of exp, exp10, exp2 and
2891 * math/auto-libm-test-out: Regenerated.
2892 * sysdeps/i386/fpu/libm-test-ulps: Update.
2893 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2895 * math/auto-libm-test-in: Add more tests of erf and erfc.
2896 * math/auto-libm-test-out: Regenerated.
2897 * sysdeps/i386/fpu/libm-test-ulps: Update.
2898 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2900 2015-05-01 Szabolcs Nagy <szabolcs.nagy@arm.com>
2902 * config.h.in (HAVE_AARCH64_BE): Add.
2904 2015-04-30 Joseph Myers <joseph@codesourcery.com>
2906 * math/auto-libm-test-in: Add more tests of csqrt.
2907 * math/auto-libm-test-out: Regenerated.
2908 * sysdeps/i386/fpu/libm-test-ulps: Update.
2909 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2911 * math/auto-libm-test-in: Add more tests of cosh and sinh.
2912 * math/auto-libm-test-out: Regenerated.
2913 * sysdeps/i386/fpu/libm-test-ulps: Update.
2914 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2916 * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: Remove file.
2918 2015-04-29 Roland McGrath <roland@hack.frob.com>
2920 * sysdeps/nacl/bits/typesizes.h (__CLOCK_T_TYPE): Use __SLONGWORD_TYPE.
2921 * sysdeps/nacl/nacl-interfaces.h (nacl_abi_clock_t): Use clock_t.
2923 * sysdeps/nacl/euidaccess.c (euidaccess): Renamed to __euidaccess.
2924 (euidaccess, eaccess): Define as weak aliases.
2926 * sysdeps/nacl/bits/typesizes.h (__SUSECONDS_T_TYPE): Use
2927 __SLONGWORD_TYPE rather than __S32_TYPE. They are the same size,
2928 but __suseconds_t is often 'long int' so some sources assume that
2929 type is being used (e.g. they use %ld to print tv_usec).
2931 2015-04-29 Florian Weimer <fweimer@redhat.com>
2934 * nss/nss_files/files-XXX.c (CONCAT): Always enable stayopen.
2936 * nss/tst-nss-getpwent.c: New file.
2937 * nss/Makefile (tests): Add new test.
2939 2015-04-28 Joseph Myers <joseph@codesourcery.com>
2942 * sysdeps/ieee754/ldbl-128/s_roundl.c (__roundl): Handle all
2943 exponents less than 48 as cases where high part of mantissa needs
2944 examining to determine whether argument is integral.
2945 * math/libm-test.inc (round_test_data): Add more tests.
2947 2015-04-28 Mark Wielaard <mjw@redhat.com>
2949 * elf/elf.h (SHF_EXCLUDE): Use unsigned 1 for shift.
2951 2015-04-27 David S. Miller <davem@davemloft.net>
2953 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Remove
2955 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
2957 2015-04-27 H.J. Lu <hongjiu.lu@intel.com>
2960 * time/tzset.c (__tzfile_read): Check tzspec_len == 0.
2962 2015-04-27 Florian Weimer <fweimer@redhat.com>
2965 * time/tzset.c (parse_tzname): Return error on memory allocation
2967 * test-skeleton.c (struct temp_name_list): Change type of name
2968 member to non-const.
2969 (add_temp_file): Create a copy of the file name.
2970 (delete_temp_files): Deallocate memory.
2971 (create_temp_file): Add comment.
2973 2015-04-24 Florian Weimer <fweimer@redhat.com>
2975 * io/posix_fallocate.c (posix_fallocate): Do not set errno.
2976 * io/posix_fallocate64.c (posix_fallocate64): Likewise.
2978 2015-04-24 Roland McGrath <roland@hack.frob.com>
2980 * sysdeps/arm/configure.ac (PI_STATIC_AND_HIDDEN): Define it.
2981 * sysdeps/arm/configure: Regenerated.
2983 2015-04-24 Florian Weimer <fweimer@redhat.com>
2986 * time/tzfile.c (__tzfile_read): Check for large values of
2987 tzh_ttisstdcnt and tzh_ttisgmtcnt. Use malloc instead of alloca.
2988 * time/tzset.c (__tzstring_len): New function, based on the old
2989 __tzstring function.
2990 (__tzstring): Call __tzstring_len.
2991 (parse_tzname): New helper function extracted from
2992 __tzset_parse_tz. Call __tzstring_len, without making a copy of
2994 (parse_offset): New helper function extracted from
2995 __tzset_parse_tz. Replace switch with fallthrough with
2996 initialization before sscanf.
2997 (parse_rule): Likewise.
2998 (__tzset_parse_tz): Rewrite using the new helper functions. Use
2999 new-style function definition.
3000 * timezone/Makefile (tests): Add tst-tzset.
3001 (tst-tzset.out): Dependencies on time zone files.
3002 (tst-tzset-ENV): Set TZDIR.
3003 (testdata/XT%): Copy crafted time zone files.
3004 * timezone/README: Mention crafted time zone files.
3005 * timezone/testdata/XT1, timezone/testdata/XT2,
3006 timezone/testdata/XT3, timezone/testdata/XT4: New time zone test
3008 * timezone/tst-tzset.c: New test.
3010 2015-04-24 Florian Weimer <fweimer@redhat.com>
3012 * Makeconfig (+gccwarn): Remove -Winline.
3014 2015-04-24 Stefan Liebler <stli@linux.vnet.ibm.com>
3016 * sysdeps/s390/fpu/libm-test-upls: Regenerate.
3018 2015-04-24 Stefan Liebler <stli@linux.vnet.ibm.com>
3020 * NEWS: Mention sysconf() cache information support for s390.
3021 * sysdeps/unix/sysv/linux/s390/sysconf.c: New File.
3023 2015-04-22 Wilco Dijkstra <wdijkstr@arm.com>
3025 * math/k_casinh.c (__kernel_casinh): Use __copysign.
3026 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c
3027 (__nearbyint): Likewise.
3028 * sysdeps/ieee754/ldbl-opt/nldbl-copysign.c
3029 (copysignl): Likewise.
3031 2015-04-21 Arjun Shankar <arjun.is@lostca.se>
3034 * resolv/nss_dns/dns-host.c (getanswer_r): Adjust buffer length
3035 based on padding. (CVE-2015-1781)
3037 2015-04-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3039 * nptl/pthread_cond_timedwait.c: Change include bits/libc-vdso.h to just
3041 * sysdeps/powerpc/powerpc32/backtrace.c: Likewise.
3042 * sysdeps/powerpc/powerpc64/backtrace.c: Likewise.
3043 * sysdeps/unix/sysv/linux/aarch64/init-first.c: Likewise.
3044 * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
3045 * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
3046 * sysdeps/unix/sysv/linux/gettimeofday.c: Likewise.
3047 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Likewise.
3048 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
3049 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
3050 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Likewise.
3051 * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
3052 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
3053 * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
3054 * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise.
3055 * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
3056 * sysdeps/unix/sysv/linux/aarch64/bits/libc-vdso.h: Move to ...
3057 * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h: ... here.
3058 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Move to ...
3059 * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h: ... here.
3060 * sysdeps/unix/sysv/linux/s390/bits/libc-vdso.h: Move to ...
3061 * sysdeps/unix/sysv/linux/s390/libc-vdso.h: ... here.
3062 * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Move to ...
3063 * sysdeps/unix/sysv/linux/tile/libc-vdso.h: ... here.
3065 2015-04-19 Paul Eggert <eggert@cs.ucla.edu>
3067 * stdlib/setenv.c (__add_to_environ):
3068 Dump core quickly if setenv (..., NULL, ...) is called.
3069 This time, do it the right way, and pacify GCC with a pragma.
3071 2015-04-17 Roland McGrath <roland@hack.frob.com>
3073 * elf/dl-close.c (_dl_close_worker) [DL_NNS == 1]: Just assert that
3074 IMAP->l_prev cannot be null, and #if out the code for the contrary
3075 case, avoiding 'assert (nsid != LM_ID_BASE)' making the compiler
3076 believe that NS (&_dl_ns[NSID]) could point outside the array.
3078 * elf/dl-open.c (_dl_open): Use __glibc_unlikely in invalid namespace
3079 check. Reject NSID < 0 and NSID >= dl_nns, and check for DL_NNS==1,
3080 before using NSID as an index.
3082 2015-04-17 Il'ya Malakhov <ilmalakhov@yandex.ru>
3085 * sysdeps/sparc/sparc64/memchr.S: Fix signedness handling of length.
3086 * sysdeps/sparc/sparc64/memcmp.S: Likewise.
3087 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
3089 2015-04-17 Roland McGrath <roland@hack.frob.com>
3091 Add preliminary port to Google Native Client on ARM.
3092 * abi-tags (.*-.*-nacl.*): New entry.
3093 * sysdeps/arm/nacl: New directory.
3094 * sysdeps/nacl: New directory.
3096 2015-04-16 David S. Miller <davem@davemloft.net>
3098 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Make use of
3099 lowlevellock-futex.h
3101 2015-04-16 Chris Metcalf <cmetcalf@ezchip.com>
3103 * sysdeps/tile/configure.ac: New file.
3104 * sysdeps/tile/configure: Regenerated.
3106 2015-04-15 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3108 * wcsmbs/wcschr.c [WCSCHR] (wcschr): Define as __wcschr. Remove
3109 conditionals for weak_alias and libc_hidden_weak.
3110 * sysdeps/i386/i686/multiarch/wcschr-c.c [libc]: Undefine
3111 libc_hidden_weak and weak_alias.
3112 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c [libc]:
3113 Undefine libc_hidden_weak. Define libc_hidden_def for SHARED builds
3114 and weak_alias for static one.
3116 2015-04-15 David S. Miller <davem@davemloft.net>
3118 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
3120 2015-04-13 Stefan Liebler <stli@linux.vnet.ibm.com>
3123 * wcsmbs/wcsncmp.c (wcsncmp): Compare as wchar_t, not wint_t.
3124 Use signed comparision instead of substraction to avoid
3126 * localedata/tests-mbwc/tst_wcsncmp.c (tst_wcsncmp):
3127 Take the sign of ret.
3128 * localedata/tests-mbwc/dat_wcsncmp.c (tst_wcsncmp_loc):
3129 Do not expect precise return values. Only the sign matters.
3130 * wcsmbs/Makefile (strop-tests): Add wcsncmp.
3131 * wcsmbs/test-wcsncmp.c: New File.
3132 * string/test-strncmp.c: Add wcsncmp support.
3134 2015-04-13 Stefan Liebler <stli@linux.vnet.ibm.com>
3137 * math/w_log1p.c: New file.
3138 * math/w_log1pf.c: Likewise.
3139 * math/w_log1pl.c: Likewise.
3140 * math/Makefile (libm-calls): Add w_log1p.
3141 * math/s_log1pl.c (log1pl): Remove weak_alias.
3142 * sysdeps/i386/fpu/s_log1p.S (log1p): Likewise.
3143 * sysdeps/i386/fpu/s_log1pf.S (log1pf): Likewise.
3144 * sysdeps/i386/fpu/s_log1pl.S (log1pl): Likewise.
3145 * sysdeps/x86_64/fpu/s_log1pl.S (log1pl): Likewise.
3146 * sysdeps/ieee754/dbl-64/s_log1p.c (log1p): Likewise.
3147 [NO_LONG_DOUBLE] (log1pl): Likewise.
3148 * sysdeps/ieee754/flt-32/s_log1pf.c (log1pf): Likewise.
3149 * sysdeps/ieee754/ldbl-128/s_log1pl.c (log1pl): Likewise.
3150 * sysdeps/ieee754/ldbl-64-128/s_log1pl.c
3151 (log1p): Remove long_double_symbol.
3152 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (log1pl): Likewise.
3153 * sysdeps/ieee754/ldbl-64-128/w_log1pl.c: New file.
3154 * sysdeps/ieee754/ldbl-128ibm/w_log1pl.c: Likewise.
3155 * sysdeps/m68k/m680x0/fpu/s_log1p.c: Define empty weak_alias to
3156 remove weak_alias for corresponding log1p function.
3157 * sysdeps/m68k/m680x0/fpu/s_log1pf.c: Likewise.
3158 * sysdeps/m68k/m680x0/fpu/s_log1pl.c: Likewise.
3159 * sysdeps/ia64/fpu/w_log1p.c: New file.
3160 * sysdeps/ia64/fpu/w_log1pf.c: Likewise.
3161 * sysdeps/ia64/fpu/w_log1pl.c: Likewise.
3162 * math/libm-test.inc (log1p_test_data): Add errno expectations.
3164 2015-04-10 Joseph Myers <joseph@codesourcery.com>
3167 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Decrease minimum
3168 decimal exponent by 1.
3169 * stdlib/tst-strtod-round-data: Add more tests.
3170 * stdlib/tst-strtod-round.c (tests): Regenerated.
3172 2015-04-09 Joseph Myers <joseph@codesourcery.com>
3174 * math/auto-libm-test-in: Add more tests of clog and clog10.
3175 * math/auto-libm-test-out: Regenerated.
3176 * sysdeps/i386/fpu/libm-test-ulps: Update.
3177 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3179 2015-04-09 Roland McGrath <roland@hack.frob.com>
3181 * Makeconfig (module-cppflags): Exclude all .v.i files.
3182 (skip-module-cppflags): Variable removed.
3184 * configure.ac (libc_config_ok): Initialize before reading
3185 preconfigure scripts, not after.
3186 * configure: Regenerated.
3188 * test-skeleton.c (TIMEOUT): Move #define to top level.
3189 (main): Grok environment variable TEST_DIRECT. If set, print
3190 test expectation details into that file and then behave as if
3193 2015-04-09 Florian Weimer <fweimer@redhat.com>
3195 * malloc/tst-scratch_buffer.c (do_test): Suppress truncation
3198 2015-04-08 David S. Miller <davem@davemloft.net>
3200 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3202 2015-04-08 Joseph Myers <joseph@codesourcery.com>
3204 * math/auto-libm-test-in: Add more tests of atanh.
3205 * math/auto-libm-test-out: Regenerated.
3206 * sysdeps/i386/fpu/libm-test-ulps: Update.
3207 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3209 * math/auto-libm-test-in: Add more tests of atan.
3210 * math/auto-libm-test-out: Regenerated.
3211 * sysdeps/i386/fpu/libm-test-ulps: Update.
3212 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3214 2015-04-08 Florian Weimer <fweimer@redhat.com>
3216 * elf/pldd.c (main): Rewrite to use struct
3217 scratch_buffer instead of extend_alloca.
3218 * elf/pldd-xx.c (find_maps): Likewise.
3219 * grp/initgroups.c: Include <scratch_buffer.h> instead of
3221 * grp/compat-initgroups.c (compat_call): Rewrite to use struct
3222 scratch_buffer instead of extend_alloca.
3223 * nscd/initgrcache.c: Include <scratch_buffer.h>, now needed by
3224 grp/compat-initgroups.c.
3225 * nis/nss_compat/compat-initgroups.c (_nss_compat_initgroups_dyn):
3226 Rewrite to use struct scratch_buffer instead of extend_alloca.
3227 * inet/getnameinfo.c (nrl_domainname, getnameinfo): Likewise.
3228 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
3230 2015-04-08 Joseph Myers <joseph@codesourcery.com>
3232 * math/auto-libm-test-in: Add more tests of cbrt.
3233 * math/auto-libm-test-out: Regenerated.
3234 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
3236 * math/auto-libm-test-in: Add more tests of cabs.
3237 * math/auto-libm-test-out: Regenerated.
3238 * sysdeps/i386/fpu/libm-test-ulps: Update.
3239 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3243 * sysdeps/ieee754/dbl-64/e_atan2.c: Include <fenv.h>.
3244 (__ieee754_atan2): Set FE_TONEAREST mode for internal
3246 * math/auto-libm-test-in: Add more tests of atan2, carg, clog and
3248 * math/auto-libm-test-out: Regenerated.
3249 * sysdeps/i386/fpu/libm-test-ulps: Update.
3250 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3253 * sysdeps/ieee754/dbl-64/s_atan.c: Include <fenv.h>.
3254 (atan): Set FE_TONEAREST mode for internal computations.
3255 * math/auto-libm-test-in: Add more tests of atan.
3256 * math/auto-libm-test-out: Regenerated.
3258 2015-04-07 James Cowgill <james410@cowgill.org.uk>
3261 * sysdeps/unix/sysv/linux/mips/bits/shm.h (SHM_NORESERVE): Define.
3263 2015-04-07 Florian Weimer <fweimer@redhat.com>
3265 * malloc/scratch_buffer_grow_preserve.c: Include <string.h>
3267 2015-04-07 Florian Weimer <fweimer@redhat.com>
3269 * include/scratch_buffer.h: New file.
3270 * malloc/scratch_buffer_grow.c: Likewise.
3271 * malloc/scratch_buffer_grow_preserve.c: Likewise.
3272 * malloc/scratch_buffer_set_array_size.c: Likewise.
3273 * malloc/tst-scratch_buffer.c: Likewise.
3274 * malloc/Makefile (routines): Add scratch_buffer_grow.
3275 (tests): Add test case.
3276 * malloc/Versions (GLIBC_PRIVATE): Export
3277 __libc_scratch_buffer_grow, __libc_scratch_buffer_grow_preserve,
3278 __libc_scratch_buffer_set_array_size.
3280 2015-04-06 Richard Henderson <rth@redhat.com>
3282 * sysdeps/unix/alpha/sysdep.h: Unconditionally include dl-sysdep.h.
3283 * sysdeps/alpha/fpu/libm-test-ulps: Update.
3285 * math/test-fenvinline.c (feenable_test): Cast fe_exc to
3286 unsigned int before printing.
3288 2015-04-03 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
3291 * wcsmbs/mbrtowc.c (__mbrtowc): Add check for n=0.
3292 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
3294 2015-04-02 Florian Weimer <fweimer@redhat.com>
3296 * include/libc-internal.h (libc_max_align_t): Define.
3298 2015-04-02 Andreas Schwab <schwab@suse.de>
3301 * sysdeps/unix/sysv/linux/aarch64/bits/sigstack.h: New file.
3303 2015-04-02 Mel Gorman <mgorman@suse.de>
3306 * malloc/arena.c (free): Apply trim threshold to per-thread heaps
3307 as well as the main arena.
3309 2015-03-31 H.J. Lu <hongjiu.lu@intel.com>
3312 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo): Limit threads
3313 sharing L2 cache to 2 for Silvermont/Knights Landing.
3315 2015-03-31 H.J. Lu <hongjiu.lu@intel.com>
3318 * config.make.in (have-protected-data): New.
3319 * configure.ac: Check linker support for protected data symbol.
3320 * configure: Regenerated.
3321 * elf/Makefile (modules-names): Add tst-protected1moda and
3322 tst-protected1modb if $(have-protected-data) is yes.
3323 (tests): Add tst-protected1a and tst-protected1b if
3324 $(have-protected-data) is yes.
3325 ($(objpfx)tst-protected1a): New.
3326 ($(objpfx)tst-protected1b): Likewise.
3327 (tst-protected1modb.so-no-z-defs): Likewise.
3328 * elf/tst-protected1a.c: New file.
3329 * elf/tst-protected1b.c: Likewise.
3330 * elf/tst-protected1mod.h: Likewise.
3331 * elf/tst-protected1moda.c: Likewise.
3332 * elf/tst-protected1modb.c: Likewise.
3334 2015-03-31 H.J. Lu <hongjiu.lu@intel.com>
3337 * elf/dl-lookup.c (do_lookup_x): When UNDEF_MAP is NULL, which
3338 indicates it is called from do_lookup_x on relocation against
3339 protected data, skip the data definion in the executable from
3341 (_dl_lookup_symbol_x): Pass ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA,
3342 instead of ELF_RTYPE_CLASS_PLT, to do_lookup_x for
3343 EXTERN_PROTECTED_DATA relocation against STT_OBJECT symbol.
3344 * sysdeps/generic/ldsodefs.h * (ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA):
3345 New. Defined to 4 if DL_EXTERN_PROTECTED_DATA is defined,
3347 * sysdeps/i386/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
3348 * sysdeps/i386/dl-machine.h (elf_machine_type_class): Set class
3349 to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_386_GLOB_DAT.
3350 * sysdeps/x86_64/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
3351 * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Set class
3352 to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_X86_64_GLOB_DAT.
3354 2015-03-28 Martin Galvan <martin.galvan@tallertechnologies.com>
3356 * sysdeps/nptl/pthread.h: Remove duplicate definition of
3357 PTHREAD_ADAPTIVE_MUTEX_INITIALIZER_NP.
3359 2015-03-27 Martin Galvan <martin.galvan@tallertechnologies.com>
3361 * sysdeps/i386/nptl/tls.h: Swap comments between THREAD_SETMEM and
3363 * sysdeps/x86_64/nptl/tls.h: Ditto.
3365 2015-03-27 Roland McGrath <roland@hack.frob.com>
3367 * dlfcn/tststatic.c (main): Converted to ...
3368 (do_test): ... this.
3369 (TEST_FUNCTION): New macro.
3370 Include test-skeleton.c.
3372 2015-03-26 Alan Modra <amodra@gmail.com>
3374 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_fixup_plt):
3375 Don't segfault if ifunc resolver returns a NULL. Do set plt to
3376 zero for undefined weak.
3377 (elf_machine_plt_conflict): Similarly.
3379 2015-03-25 Joseph Myers <joseph@codesourcery.com>
3381 * math/auto-libm-test-in: Add more tests of acosh, asinh and
3383 * math/auto-libm-test-out: Regenerated.
3384 * sysdeps/i386/fpu/libm-test-ulps: Update.
3385 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3387 * math/auto-libm-test-in: Add another test of asin.
3388 * math/auto-libm-test-out: Regenerated.
3389 * sysdeps/i386/fpu/libm-test-ulps: Update.
3390 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3392 * sysdeps/unix/sysv/linux/i386/lowlevellock.h (LLL_EBX_LOAD):
3394 (LLL_EBX_REG): Likewise.
3395 (LLL_ENTER_KERNEL): Likewise.
3397 * math/auto-libm-test-in: Add more tests of asin.
3398 * math/auto-libm-test-out: Regenerated.
3399 * sysdeps/i386/fpu/libm-test-ulps: Update.
3400 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3403 * sysdeps/unix/sysv/linux/i386/sysdep.h (struct
3404 libc_do_syscall_args): New structure.
3405 (INTERNAL_SYSCALL_MAIN_0): New macro.
3406 (INTERNAL_SYSCALL_MAIN_1): Likewise.
3407 (INTERNAL_SYSCALL_MAIN_2): Likewise.
3408 (INTERNAL_SYSCALL_MAIN_3): Likewise.
3409 (INTERNAL_SYSCALL_MAIN_4): Likewise.
3410 (INTERNAL_SYSCALL_MAIN_5): Likewise.
3411 (INTERNAL_SYSCALL_MAIN_6): Likewise. Call __libc_do_syscall.
3412 (INTERNAL_SYSCALL): Define to use INTERNAL_SYSCALL_MAIN_##nr.
3413 Replace conditional definitions by conditional definitions of ....
3414 (INTERNAL_SYSCALL_MAIN_INLINE): ... this. New macro.
3415 * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S: New file.
3416 * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = nptl]
3417 (libpthread-sysdep_routines): Add libc-do-syscall.
3418 * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: Remove file.
3419 * sysdeps/unix/sysv/linux/i386/lowlevellock.h (SYS_futex): Define
3420 to __NR_futex not 240.
3422 2015-03-25 Alan Modra <amodra@gmail.com>
3424 * NEWS: Advertise TLS optimization.
3425 * elf/elf.h (R_PPC_TLSGD, R_PPC_TLSLD, DT_PPC_OPT, PPC_OPT_TLS): Define.
3426 (DT_PPC_NUM): Increment.
3427 * elf/dynamic-link.h (HAVE_STATIC_TLS): Define.
3428 (CHECK_STATIC_TLS): Use here.
3429 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Optimize
3431 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
3432 * sysdeps/powerpc/dl-tls.c: New file.
3433 * sysdeps/powerpc/Versions: Add __tls_get_addr_opt.
3434 * sysdeps/powerpc/tst-tlsopt-powerpc.c: New tls test.
3435 * sysdeps/unix/sysv/linux/powerpc/Makefile: Add new test.
3436 Build tst-tlsmod2.so with --no-tls-get-addr-optimize.
3437 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: Update.
3438 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: Likewise.
3439 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: Likewise.
3441 2015-03-25 Alan Modra <amodra@gmail.com>
3443 * sysdeps/powerpc/powerpc64/configure.ac: Correct "linker support
3444 for overlapping .opd entries" to "support...".
3445 * sysdeps/powerpc/powerpc64/configure: Regenerate
3447 2015-03-25 Joseph Myers <joseph@codesourcery.com>
3449 * math/auto-libm-test-in: Add more tests of acos.
3450 * math/auto-libm-test-out: Regenerated.
3451 * sysdeps/i386/fpu/libm-test-ulps: Update.
3452 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3454 * math/auto-libm-test-in: Add more tests of expm1.
3455 * math/auto-libm-test-out: Regenerated.
3456 * sysdeps/i386/fpu/libm-test-ulps: Update.
3457 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3459 2015-03-24 Joseph Myers <joseph@codesourcery.com>
3461 * math/auto-libm-test-in: Add more tests of cosh and sinh.
3462 * math/auto-libm-test-out: Regenerated.
3463 * sysdeps/i386/fpu/libm-test-ulps: Update.
3464 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3466 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
3467 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3469 * math/auto-libm-test-in: Add more tests of log2.
3470 * math/auto-libm-test-out: Regenerated.
3471 * sysdeps/i386/fpu/libm-test-ulps: Update.
3472 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3474 2015-03-23 Roland McGrath <roland@hack.frob.com>
3476 * libio/iofdopen.c: Move FD_FLAGS declaration into its first use,
3477 inside [F_GETFL]. Remove POSIX_MODE local variable, just test the
3478 _IO_IS_APPENDING bit in READ_WRITE instead.
3480 2015-03-23 Florian Weimer <fweimer@redhat.com>
3482 * sysdeps/unix/sysv/linux/pthread_setaffinity.c
3483 (__determine_cpumask_size): Replace extend_alloca with a
3484 variable-length array. Do not treat res == 0 as an error.
3486 2015-03-23 Florian Weimer <fweimer@redhat.com>
3489 * posix/wordexp.c (eval_expr_multdiv): Check for division by zero
3490 and integer overflow.
3491 * posix/wordexp-test.c (test_case): Add divide-by-zero test.
3492 (main): Add integer overflow tests.
3493 * manual/pattern.texi (Calling Wordexp): Document additional use
3496 2015-03-23 Alan Modra <amodra@gmail.com>
3498 * config.h.in: Remove HAVE_ASM_PPC_REL16.
3499 * sysdeps/powerpc/powerpc32/tls-macros.h: Remove HAVE_ASM_PPC_REL16
3500 and false branch of conditional.
3501 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
3504 2015-03-21 Samuel Thibault <samuel.thibault@ens-lyon.org
3506 * sysdeps/mach/hurd/Makefile ($(common-objpfx)errnos.d): Depend on
3508 * sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler): Remove
3509 unused declaration of _hurd_intr_rpc_msg_in_trap.
3510 * mach/mach_init.c (__mach_init): Test whether HAVE_HOST_PAGE_SIZE is
3511 defined instead of whether it is non-zero.
3512 * sysdeps/mach/hurd/i386/intr-msg.h (INTR_MSG_TRAP): Use "+m"
3513 input constraint instead of both input and output constraint. Use ecx
3514 clobber instead of %ecx.
3515 * sysdeps/mach/hurd/malloc-machine.h (mutex_init, mutex_lock,
3516 mutex_unlock): Use a statement expression instead of an expression list.
3517 * sysdeps/mach/hurd/setitimer.c (_hurd_itimer_thread_stack_size): Set
3518 type to vm_size_t instead of vm_address_t.
3519 * sysdeps/mach/hurd/fork.c (__fork): Test whether STACK_GROWTH_UP is
3520 defined instead of whether it is non-zero.
3521 * hurd/hurd/ioctl.h (_hurd_locked_install_cttyid): New declaration.
3522 * sysdeps/mach/hurd/setsid.c: Include <hurd/ioctl.h>.
3523 * sysdeps/mach/hurd/mmap.c (__mmap): Use 0 instead of NULL for
3524 comparisons with mapaddr.
3525 * nscd/nscd-client.h: Include <time.h>.
3526 * sysdeps/mach/hurd/dl-sysdep.c (fmh): Pass vm_offset_t dummy
3527 9th parameter to __vm_region instead of int.
3528 * bits/termios.h [!__USE_MISC] (EXTPROC): Do not define.
3529 * scripts/check-local-headers.sh (exclude): Add device/,
3530 hurd/hurd_types.h, hurd/ioctl_types.h, hurd/paths.h, hurd/ioctls.defs,
3533 2015-03-19 Roland McGrath <roland@hack.frob.com>
3535 * sysdeps/arm/memcpy.S [ARM_ALWAYS_BX]: Fix computed-jump calculations
3536 to account for alignment padding.
3537 * sysdeps/arm/memmove.S: Likewise.
3539 2015-03-19 Chris Metcalf <cmetcalf@ezchip.com>
3541 * sysdeps/unix/sysv/linux/generic/README: New file.
3543 2015-03-18 Joseph Myers <joseph@codesourcery.com>
3546 * nptl/sem_waitcommon.c: Include <kernel-features.h>.
3547 (futex_abstimed_wait)
3548 [__ASSUME_FUTEX_CLOCK_REALTIME && lll_futex_timed_wait_bitset]:
3549 Use lll_futex_timed_wait_bitset with FUTEX_CLOCK_REALTIME instead
3550 of lll_futex_timed_wait.
3552 2015-03-18 Brad Hubbard <bhubbard@redhat.com>
3555 * sunrpc/svc.c (xprt_register): Use calloc to allocate xports.
3557 2015-03-17 Alexandre Oliva <aoliva@redhat.com>
3564 * elf/dl-tls.c (_dl_update_slotinfo): Clean up outdated DTV
3565 entries with Static TLS too. Skip entries past the end of the
3566 allocated DTV, from Alan Modra.
3567 (tls_get_addr_tail): Update to glibc_likely/unlikely. Move
3568 Static TLS DTV entry set up from...
3569 (_dl_allocate_tls_init): ... here (fix modid assertion), ...
3570 * elf/dl-reloc.c (_dl_nothread_init_static_tls): ... here...
3571 * nptl/allocatestack.c (init_one_static_tls): ... and here...
3572 * elf/dlopen.c (dl_open_worker): Drop l_tls_modid upper bound
3574 * elf/tlsdeschtab.h (map_generation): Return size_t. Check
3575 that the slot we find is associated with the given map before
3576 using its generation count.
3577 * nptl_db/db_info.c: Include ldsodefs.h.
3578 (rtld_global, dtv_slotinfo_list, dtv_slotinfo): New typedefs.
3579 * nptl_db/structs.def (DB_RTLD_VARIABLE): New macro.
3580 (DB_MAIN_VARIABLE, DB_RTLD_GLOBAL_FIELD): Likewise.
3581 (link_map::l_tls_offset): New struct field.
3582 (dtv_t::counter): Likewise.
3583 (rtld_global): New struct.
3584 (_rtld_global): New rtld variable.
3585 (dl_tls_dtv_slotinfo_list): New rtld global field.
3586 (dtv_slotinfo_list): New struct.
3587 (dtv_slotinfo): Likewise.
3588 * nptl_db/td_symbol_list.c: Drop gnu/lib-names.h include.
3589 (td_lookup): Rename to...
3590 (td_mod_lookup): ... this. Use new mod parameter instead of
3592 * nptl_db/td_thr_tlsbase.c: Include link.h.
3593 (dtv_slotinfo_list, dtv_slotinfo): New functions.
3594 (td_thr_tlsbase): Check DTV generation. Compute Static TLS
3595 addresses even if the DTV is out of date or missing them.
3596 * nptl_db/fetch-value.c (_td_locate_field): Do not refuse to
3597 index zero-length arrays.
3598 * nptl_db/thread_dbP.h: Include gnu/lib-names.h.
3599 (td_lookup): Make it a macro implemented in terms of...
3600 (td_mod_lookup): ... this declaration.
3601 * nptl_db/db-symbols.awk (DB_RTLD_VARIABLE): Override.
3602 (DB_MAIN_VARIABLE): Likewise.
3604 2015-03-16 H.J. Lu <hongjiu.lu@intel.com>
3607 * sysdeps/x86_64/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
3609 2015-03-15 Paul Eggert <eggert@cs.ucla.edu>
3611 * stdlib/setenv.c (__add_to_environ): Revert previous change.
3613 2015-03-14 Andreas Schwab <schwab@linux-m68k.org>
3616 * sysdeps/m68k/m680x0/m68020/bits/atomic.h (atomic_exchange_and_add)
3617 (atomic_add, atomic_increment_and_test)
3618 (atomic_decrement_and_test): Fix 64-bit arithmetic.
3620 2015-03-13 Paul Eggert <eggert@cs.ucla.edu>
3622 * stdlib/setenv.c (__add_to_environ):
3623 Dump core quickly if setenv (..., NULL, ...) is called.
3625 2015-03-13 Roland McGrath <roland@hack.frob.com>
3627 * sysdeps/arm/tls-macros.h: Include <sysdep.h>.
3628 (GET_SPECIAL_RELOC, GET_SPECIAL_PCREL): New macros to encapsulate
3629 all the necessary asm magic in one place.
3630 (TLS_LE, TLS_IE, TLS_LD, TLS_GD): Rewritten as C expressions
3633 2015-03-13 Carlos O'Donell <carlos@redhat.com>
3636 * nscd/cache.c (prune_cache): Use TRACED_FILE. Compare and update
3637 traced file mtime. Use consistent log message.
3638 * nscd/connections.c [HAVE_INOTIFY] (install_watches): New function.
3639 (register_traced_file): Call install_watches. Always set mtime.
3640 (invalidate_cache): Iterate over all trace files. Call install_watches.
3641 (inotify_check_files): Don't inline. Handle watching parent
3642 directories and configuration file movement in and out.
3643 (handle_inotify_events): New function.
3644 (main_loop_poll): Call handle_inotify_events.
3645 (main_loop_epoll): Likewise.
3646 * nscd/nscd.h: Define TRACED_FILE, TRACED_DIR, and PATH_MAX.
3647 (struct traced_file): Use array of inotify fds. Add parent directory,
3649 (struct database_dyn): Remove unused file_mtime.
3650 (init_traced_file): New inline function.
3651 (define_traced_file): New macro.
3652 * nss/nss_db/db-init.c: Use define_traced_file.
3653 (_nss_db_init): Use init_traced_file.
3654 * nss/nss_files/files-init.c: Use define_traced_file.
3655 (_nss_files_init): Use init_traced_file.
3657 2015-03-12 Joseph Myers <joseph@codesourcery.com>
3659 * soft-fp/soft-fp.h (_FP_STATIC_ASSERT): New macro.
3660 [_LIBC]: Do not include <stdlib.h>.
3661 [!_LIBC] (abort): Remove declaration.
3662 * soft-fp/op-2.h (_FP_MUL_MEAT_2_120_240_double): Use
3663 _FP_STATIC_ASSERT instead of conditionally calling abort.
3664 * soft-fp/op-common.h (_FP_FROM_INT): Likewise.
3665 (_FP_EXTEND_CNAN): Likewise.
3666 (FP_TRUNC): Likewise.
3667 (__FP_CLZ): Likewise.
3668 * sysdeps/powerpc/nofpu/flt-rounds.c: Include <stdlib.h>.
3670 2015-03-12 Yaakov Selkowitz <yselkowi@redhat.com>
3672 * manual/string.texi (XPG basename): Fix prototype.
3674 2015-03-12 Stefan Liebler <stli@linux.vnet.ibm.com>
3677 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S
3678 (__setcontext): Use SIG_SETMASK instead of SIG_BLOCK.
3679 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S
3680 (__setcontext): Likewise.
3681 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S
3682 (__swapcontext): Use SIG_SETMASK instead of SIG_BLOCK.
3683 Call rt_sigprocmask syscall one time to set new signal mask
3684 and retrieve the current signal mask instead of two calls.
3685 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S
3686 (__swapcontext): Likewise.
3687 * stdlib/Makefile (tests): Add new testcase tst-setcontext2.
3688 * stdlib/tst-setcontext2.c: New file.
3690 2015-03-12 Stefan Liebler <stli@linux.vnet.ibm.com>
3692 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
3694 2015-03-11 Aurelien Jarno <aurelien@aurel32.net>
3697 * elf/cache.c (load_aux_cache): Regenerate the cache if it has
3700 2015-03-11 Paul Pluzhnikov <ppluzhnikov@google.com>
3703 * posix/wordexp.c (parse_param): Don't call setenv(..., NULL, 1).
3705 2015-03-11 Adhemerval Zanellla <azanella@linux.vnet.ibm.com>
3707 * config.h.in [HAVE_ASM_GLOBAL_DOT_NAME]: Remove define.
3708 * include/libc-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (strong_alias):
3710 [HAVE_ASM_GLOBAL_DOT_NAME] (strong_data_alias): Likewise.
3711 [HAVE_ASM_GLOBAL_DOT_NAME] (weak_alias): Likewise.
3712 [HAVE_ASM_GLOBAL_DOT_NAME] (_symbol_version): Likewise.
3713 [HAVE_ASM_GLOBAL_DOT_NAME] (_default_symbol_version): Likewise.
3714 [HAVE_ASM_GLOBAL_DOT_NAME] (HIDDEN_JUMPTARGET): Likewise.
3715 * nptl_db/db-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (DOT): Remove
3717 * nptl_db/td_symbol_list.c (td_lookup): Remove
3718 HAVE_ASM_GLOBAL_DOT_NAME code.
3719 * sysdeps/powerpc/powerpc64/configure.ac: Remove
3720 HAVE_ASM_GLOBAL_DOT_NAME check.
3721 * sysdeps/powerpc/powerpc64/configure: Regenerate.
3722 * sysdeps/powerpc/powerpc64/sysdep.h [HAVE_ASM_GLOBAL_DOT_NAME]
3723 (DOT_LABEL): Remove define.
3724 [HAVE_ASM_GLOBAL_DOT_NAME] (BODY_LABEL): Likewise.
3725 [HAVE_ASM_GLOBAL_DOT_NAME] (ENTRY_2): Likewise.
3726 [HAVE_ASM_GLOBAL_DOT_NAME] (END_2): Likewise.
3727 * sysdeps/powerpc/powerpc64/tls-macros.h [HAVE_ASM_GLOBAL_DOT_NAME]
3728 (__TLS_GET_ADDR): Likewise.
3729 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h
3730 [HAVE_ASM_GLOBAL_DOT_NAME] (DASHDASHPFX): Likewise.
3732 2015-03-11 Carlos O'Donell <carlos@redhat.com>
3735 * sysdeps/hppa/fpu/fpu_control.h (_FPU_HPPA_SHIFT_FLAGS): Define.
3736 (_FPU_SETCW): Initialize cw from fpsr before storing.
3737 * sysdeps/hppa/fpu/fsetexcptflg.c: Include fpu_control.h
3738 (fesetexceptflag): Rewrite using fpu_control.h.
3739 * sysdeps/hppa/fpu/feupdateenv.c: Handle FE_DFL_ENV, and FE_NOMASK_ENV.
3741 2015-03-11 John David Anglin <danglin@gcc.gnu.org>
3744 * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Don't modify bufptr in
3746 * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
3748 2015-03-11 Joseph Myers <joseph@codesourcery.com>
3750 * soft-fp/soft-fp.h (_FP_UNREACHABLE): New macro.
3751 * soft-fp/op-common.h (_FP_MUL): Use _FP_UNREACHABLE instead of
3753 (_FP_FMA): Likewise.
3754 (_FP_DIV): Likewise.
3756 2015-03-10 Roland McGrath <roland@hack.frob.com>
3758 * scripts/evaluate-test.sh: Grok exit code 77 as UNSUPPORTED and exit
3759 with 0 in that case.
3760 * Makefile (summarize-tests): New canned sequence, factored out of
3761 commands for targets tests and xtests. Display summary lines that
3762 don't start with PASS: or XFAIL: rather than ones that do start with
3763 ERROR: or FAIL:. Make the commands fail if any summary lines fail
3764 to start with X?PASS: or XFAIL: or UNSUPPORTED: rather than if any
3765 do start with ERROR: or FAIL:.
3766 * dlfcn/Makefile (tests): Add bug-atexit3 back here unconditionally
3767 (except for [$(build-shared) = yes]).
3768 (tests-unsupported) [$(CXX) empty]: Add bug-atexit3.
3769 (LDLIBS-bug-atexit3-lib.so): Conditionalize on [$(CXX) nonempty].
3770 ($(objpfx)bug-atexit3, $(objpfx)bug-atexit3.out): Likewise.
3771 * nptl/Makefile: Revert 2015-03-04 changes.
3772 [$(CXX) empty] (tests-unsupported): New variable.
3773 * debug/Makefile: Likewise.
3775 * posix/regcomp.c: Fix comment typos and formatting to harmonize with
3776 gnulib file. Replace __attribute with __attribute__ throughout.
3778 2015-03-10 Carlos O'Donell <carlos@redhat.com>
3780 * sysdeps/hppa/fpu/libm-test-ulps: Update.
3782 2015-03-10 Joseph Myers <joseph@codesourcery.com>
3785 * math/auto-libm-test-in: Add another test of pow.
3786 * math/auto-libm-test-out: Regenerated.
3788 2015-03-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3790 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_pow.c): Add
3791 $(config-cflags-nofma).
3793 2015-03-10 Joseph Myers <joseph@codesourcery.com>
3795 * soft-fp/double.h [SOFT_FP_DOUBLE_H]: New multiple-include guard.
3796 * soft-fp/extended.h [SOFT_FP_EXTENDED_H]: Likewise.
3797 * soft-fp/op-1.h [SOFT_FP_OP_1_H]: Likewise.
3798 * soft-fp/op-2.h [SOFT_FP_OP_2_H]: Likewise.
3799 * soft-fp/op-4.h [SOFT_FP_OP_4_H]: Likewise.
3800 * soft-fp/op-8.h [SOFT_FP_OP_8_H]: Likewise.
3801 * soft-fp/op-common.h [SOFT_FP_OP_COMMON_H]: Likewise.
3802 * soft-fp/quad.h [SOFT_FP_QUAD_H]: Likewise.
3803 * soft-fp/single.h [SOFT_FP_SINGLE_H]: Likewise.
3804 * soft-fp/soft-fp.h (SOFT_FP_H): Define to 1 rather than empty.
3805 Add comment on closing #endif.
3807 2015-03-09 Paul Pluzhnikov <ppluzhnikov@google.com>
3809 * posix/wordexp.c (CHAR_IN_SET): New macro.
3810 (parse_param): Use it.
3812 2015-03-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3814 * sysdeps/powerpc/fpu/libm-test-ulps: update.
3816 2015-03-09 Paul Pluzhnikov <ppluzhnikov@google.com>
3819 * posix/wordexp.c (parse_param): Fix buffer overflow.
3820 * posix/wordexp-test.c (test_case): Add test case.
3822 2015-03-09 Paul Pluzhnikov <ppluzhnikov@google.com>
3825 * posix/wordexp.c (parse_backtick): Fix off-by-one.
3826 * posix/wordexp-test.c (test_case): Add test for BZ #18042.
3828 2015-03-09 Paul Pluzhnikov <ppluzhnikov@google.com>
3831 * posix/wordexp-test.c (test_case): Add test for BZ #18043
3832 (do_bz18043): Delete.
3834 (testit): Refactor to have words at the edge of unreadable page.
3836 2015-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
3839 * libio/genops.c (_IO_unbuffer_all): Renamed from _IO_unbuffer_write.
3840 Cleanup read-only streams as well.
3841 (_IO_cleanup): Call _IO_unbuffer_all instead of _IO_unbuffer_write.
3843 2015-03-08 Samuel Thibault <samuel.thibault@ens-lyon.org>
3845 * sysdeps/mach/hurd/bits/libc-lock.h [_LIBC]: Include
3848 2015-03-07 Joseph Myers <joseph@codesourcery.com>
3850 * soft-fp/soft-fp.h (_FP_ZERO_INIT): New macro. Define depending
3852 * soft-fp/op-1.h (_FP_FRAC_DECL_1): Use _FP_ZERO_INIT.
3853 * soft-fp/op-2.h (_FP_FRAC_DECL_2): Likewise.
3854 * soft-fp/op-common.h (_FP_DECL): Likewise.
3856 2015-03-06 H.J. Lu <hongjiu.lu@intel.com>
3858 * elf/ifuncdep2.c (global): Replace
3859 __attribute__((visibility("protected"))) with
3860 asm (".protected global").
3861 * elf/ifuncmod1.c (global): Likewise.
3862 * elf/ifuncmod5.c (global): Likewise.
3864 2015-03-06 Joseph Myers <joseph@codesourcery.com>
3866 * soft-fp/soft-fp.h [!_LIBC && __KERNEL__]: Include
3867 <asm/sfp-machine.h> instead of <sfp-machine.h>.
3869 2015-03-06 Roland McGrath <roland@hack.frob.com>
3871 * manual/install.texi (Configuring and compiling):
3872 Document test-wrapper-env-only.
3873 * INSTALL: Regenerated.
3875 2015-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
3878 * posix/wordexp.c (parse_param): Fix buffer overflow.
3879 * posix/wordexp-test.c (do_bz18043): Add test case.
3881 2015-03-06 Vincent Bernat <vincent@bernat.im>
3883 * time/tst-strptime2.c (do_test): Ensure failing tests are
3885 * time/tst-strptime3.c (do_test): Likewise.
3887 2015-03-06 Samuel Thibault <samuel.thibault@inria.fr>
3889 Fix aio_error thread-safety.
3890 * sysdeps/pthread/aio_error.c: New file
3891 * sysdeps/pthread/aio_misc.c: Remove optimistic comment about
3894 2015-03-06 Florian Weimer <fweimer@redhat.com>
3896 * stdio-common/vfprintf.c (THOUSANDS_SEP_T): New typedef.
3897 (group_number, vfprintf): Use it.
3898 (JUMP_TABLE_BASE_LABEL): New preprocessor macro.
3899 (JUMP, REF): Use it.
3900 (WORK_BUFFER_SIZE): New enum constant.
3901 (process_arg, vfprintf): Use it.
3903 2015-03-06 Rical Jasan <ricaljasan@pacific.net>
3905 * manual/errno.texi (Error Messages): Complete example function
3906 by adding missing #define.
3907 (program_invocation_name): Add statement indicating GNU
3908 extension and reference which header file declares the variable.
3909 (program_invocation_short_name): Likewise.
3911 2015-03-06 Mike Frysinger <vapier@gentoo.org>
3913 * manual/errno.texi (Error Messages): Delete strerror ISO C89
3916 2015-03-05 Roland McGrath <roland@hack.frob.com>
3918 * Makeconfig (test-wrapper-env-only): New variable.
3919 * Rules (make-test-out): If variable $*-ENV-only is nonempty,
3920 then use that with $(test-wrapper-env-only) rather than using
3921 $(test-wrapper-env) $(run-program-env) $($*-ENV).
3923 2015-03-05 H.J. Lu <hongjiu.lu@intel.com>
3926 * sysdeps/alpha/dl-machine.h (elf_machine_type_class): Replace
3927 ELF_RTYPE_CLASS_NOCOPY with ELF_RTYPE_CLASS_COPY in comments.
3928 * sysdeps/arm/dl-machine.h (elf_machine_type_class): Likewise.
3929 * sysdeps/hppa/dl-machine.h (elf_machine_type_class): Likewise.
3930 * sysdeps/i386/dl-machine.h (elf_machine_type_class): Likewise.
3931 * sysdeps/ia64/dl-machine.h (elf_machine_type_class): Likewise.
3932 * sysdeps/m68k/dl-machine.h (elf_machine_type_class): Likewise.
3933 * sysdeps/microblaze/dl-machine.h (elf_machine_type_class):
3935 * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Likewise.
3936 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_type_class):
3938 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_type_class):
3940 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_type_class):
3942 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_type_class):
3944 * sysdeps/sh/dl-machine.h (elf_machine_type_class): Likewise.
3945 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_type_class):
3947 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_type_class):
3949 * sysdeps/tile/dl-machine.h (elf_machine_type_class): Likewise.
3950 * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Likewise.
3952 2015-03-04 Roland McGrath <roland@hack.frob.com>
3954 * sysdeps/generic/netinet/if_ether.h: Don't #include <features.h>.
3955 (ETH_ALEN): New macro.
3956 (struct ether_addr): Use it for length of ether_addr_octet.
3958 * nss/test-netdb.c: Don't #include <rpc/netdb.h>.
3959 (setdb): Don't call __nss_configure_lookup for "rpc".
3960 (do_test): Don't call test_rpc.
3961 (output_rpcent, test_rpc): Functions moved ...
3962 * sunrpc/test-rpcent.c: ... to this new file.
3963 * sunrpc/Makefile (tests): Add it.
3965 * nptl/tst-cancel4.c (tf_sigpause) [!SIGCANCEL]: Call pause instead of
3967 * nptl/tst-signal3.c: Conditionalize body on [SIGRTMIN].
3968 * nptl/tst-signal6.c: Likewise.
3969 * rt/tst-mqueue5.c: Conditionalize body on [SIGRTMIN && SA_SIGINFO].
3970 * rt/tst-timer4.c: Conditionalize body on [SA_SIGINFO].
3972 * configure.ac (libc_cv_cxx_link_ok): New check.
3973 Reset CXX to empty if it fails to link.
3974 * configure: Regenerated.
3975 * dlfcn/Makefile (tests, modules-names): Add bug-atexit3 and
3976 bug-atexit3-lib only if $(CXX) is nonempty.
3977 * nptl/Makefile (tests): Likewise for tst-cancel24.
3978 (tests, tests-static): Likewise for tst-cancel24-static.
3979 * debug/Makefile (tests): Likewise for tst-chk4, tst-chk5, tst-chk6,
3980 tst-lfschk4, tst-lfschk5, and tst-lfschk6.
3981 * elf/Makefile (tests, modules-names): Likewise for tst-unique3,
3982 tst-unique3lib, tst-unique3lib2, tst-unique4, and tst-unique4lib.
3984 2015-03-04 Andreas Schwab <schwab@suse.de>
3987 * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Don't define
3988 for non-GCC compilers.
3989 * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
3992 2015-03-03 Adhemerval Zanellla <azanella@linux.vnet.ibm.com>
3995 * sysdeps/powerpc/bits/fenvinline.h (feraiseexcept): Convert input to
3996 integer before bitwise and assembly operations.
3997 (feclearexcept): Likewise.
3998 * math/test-fenvinline.c: New file.
3999 * math/Makefile: Add test-fenvinline test.
4001 2015-03-03 Alan Modra <amodra@gmail.com>
4004 * scripts/localplt.awk: Strip off symbol version.
4005 * NEWS: Mention bug fix.
4007 2015-03-02 Roland McGrath <roland@hack.frob.com>
4009 * sysdeps/pthread/timer_routines.c
4010 (timer_free_list, thread_free_list, thread_active_list): Make static.
4012 2015-03-02 Joseph Myers <joseph@codesourcery.com>
4015 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
4016 [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
4018 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
4019 [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
4021 * sysdeps/unix/sysv/linux/sh/kernel-features.h
4022 [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
4025 2015-03-02 Paul Pluzhnikov <ppluzhnikov@google.com>
4028 * posix/fnmatch_loop.c (END): Detect invalid pattern.
4029 * posix/tst-fnmatch3.c (do_bz18036): Add test case.
4031 2015-03-02 Andreas Schwab <schwab@suse.de>
4033 * elf/Makefile ($(elf-objpfx)runtime-linker.st): Fix typo in
4036 2015-03-02 Florian Weimer <fweimer@redhat.com>
4038 * nis/nss_nis/nis-initgroups.c (_nss_nis_initgroups_dyn):
4039 Return error status.
4041 2015-02-27 Alexandre Oliva <aoliva@redhat.com>
4044 * locale/findlocale.c (_nl_find_locale): Introduce const
4045 version of loc_name and drop unsafe type casts.
4047 2015-02-27 Roland McGrath <roland@hack.frob.com>
4049 * dlfcn/tststatic2.c (main): Converted to ...
4050 (do_test): ... this.
4051 (TEST_FUNCTION): New macro.
4052 Include test-skeleton.c.
4054 2015-02-27 H.J. Lu <hongjiu.lu@intel.com>
4057 * elf/Makefile (tests): Add vismain only if PIE is enabled.
4058 (tests-pie): Add vismain.
4059 (CFLAGS-vismain.c): New.
4060 * elf/vismain.c: Add comments for PIE requirement.
4062 2015-02-27 Joseph Myers <joseph@codesourcery.com>
4066 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Use
4067 0x1p-56L as threshold for just returning the argument.
4068 * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Use
4069 0x1p-32L as threshold for just returning the argument.
4070 * math/auto-libm-test-in: Add more tests of atanh.
4071 * math/auto-libm-test-out: Regenerated.
4072 * sysdeps/i386/fpu/libm-test-ulps: Update.
4073 * sysdeps/x86_64/fpu/libm-test-ulp: Likewise.
4075 2015-02-27 Wilco Dijkstra wdijkstr@arm.com
4077 * string/bcopy.c (bcopy): Call memmove for performance.
4079 2015-02-27 Wilco Dijkstra wdijkstr@arm.com
4081 * string/bzero.c (__bzero): Call memset for performance.
4083 2015-02-27 John David Anglin <dave.anglin@bell.net>
4086 * sysdeps/unix/sysv/linux/hppa/bits/fcntl.h (__O_SYNC): Change
4089 2015-02-27 Joseph Myers <joseph@codesourcery.com>
4091 * sysdeps/ieee754/k_standard.c (CSTR): Add comment.
4093 2015-02-26 Joseph Myers <joseph@codesourcery.com>
4095 * sysdeps/ieee754/k_standard.c (CSTR): New macro.
4096 (__kernel_standard): Use CSTR macro when setting exc.name.
4097 * sysdeps/ieee754/Makefile [$(subdir) = math]
4098 (CFLAGS-k_standard.c): Remove variable.
4100 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Change last case for
4101 setting p and q from "else if" to "else".
4103 * sysdeps/ieee754/dbl-64/e_j1.c (pone): Likewise.
4105 * sysdeps/ieee754/flt-32/e_j0f.c (pzerof): Likewise.
4107 * sysdeps/ieee754/flt-32/e_j1f.c (ponef): Likewise.
4109 * sysdeps/ieee754/ldbl-96/e_j0l.c (pzero): Likewise.
4111 * sysdeps/ieee754/ldbl-96/e_j1l.c (pone): Likewise.
4116 * sysdeps/ieee754/ldbl-128/e_acosl.c (__ieee754_acosl): Only
4117 return pi/2 for arguments below 0x1p-113L.
4118 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Only
4119 return pi/2 for arguments below 0x1p-106L.
4120 * math/auto-libm-test-in: Add more tests of acos.
4121 * math/auto-libm-test-out: Regenerated.
4124 * sysdeps/i386/fpu/e_asin.S (dbl_min): New object.
4126 (__ieee754_asin): Force underflow exception for results with small
4128 * sysdeps/i386/fpu/e_asinf.S (flt_min): New object.
4130 (__ieee754_asinf): Force underflow exception for results with
4131 small absolute value.
4132 * sysdeps/ieee754/dbl-64/e_asin.c: Include <float.h> and <math.h>.
4133 (__ieee754_asin): Force underflow exception for results with small
4135 * sysdeps/ieee754/flt-32/e_asinf.c: Include <float.h>.
4136 (__ieee754_asinf): Force underflow exception for results with
4137 small absolute value.
4138 * sysdeps/ieee754/ldbl-128/e_asinl.c: Include <float.h>.
4139 (__ieee754_asinl): Force underflow exception for results with
4140 small absolute value.
4141 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Include <float.h>.
4142 (__ieee754_asinl): Force underflow exception for results with
4143 small absolute value.
4144 * sysdeps/ieee754/ldbl-96/e_asinl.c: Include <float.h>.
4145 (__ieee754_asinl): Force underflow exception for results with
4146 small absolute value.
4147 * sysdeps/x86_64/fpu/multiarch/e_asin.c [HAVE_FMA4_SUPPORT]:
4149 * math/auto-libm-test-in: Do not mark underflow exceptions as
4150 possibly missing for bug 16351.
4151 * math/auto-libm-test-out: Regenerated.
4154 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Adjust exponent
4155 of power of 2 down when low part has opposite sign.
4156 * math/libm-test.inc (logb_test_data): Add more tests.
4158 2015-02-26 Andreas Schwab <schwab@suse.de>
4161 * posix/fnmatch_loop.c (FCT): Remove extra increment when skipping
4162 over collating symbol inside a bracket expression. Minor cleanup.
4163 * posix/tst-fnmatch3.c (do_test): Add test case.
4165 2015-02-26 Joseph Myers <joseph@codesourcery.com>
4168 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl):
4169 Adjust exponent of power of 2 down when low part has opposite
4171 * math/libm-test.inc (ilogb_test_data): Add more tests.
4173 2015-02-26 Alexandre Oliva <aoliva@redhat.com>
4176 * locale/findlocale.c (_nl_find_locale): Fix constness error in
4177 the previous change.
4180 * locale/findlocale.c (_nl_find_locale): Retry archive search
4181 after alias expansion.
4183 2015-02-25 Roland McGrath <roland@hack.frob.com>
4185 * iconv/tst-iconv3.c (main): Converted to ...
4186 (do_test): ... this.
4187 (TEST_FUNCTION): New macro.
4188 Include test-skeleton.c.
4190 * iconv/tst-iconv5.c (testcode, number): Make variables static const.
4191 (convert): Make function static.
4192 (test_unalign): Likewise. Add const to argument pointee types.
4193 (main): Replace with static function do_test.
4194 Print "Succeeded." only if RET is zero.
4195 (TEST_FUNCTION): New macro.
4196 Include test-skeleton.c.
4198 * iconv/gconv_conf.c (__gconv_get_path): Don't crash if __getcwd
4199 returns a null pointer.
4201 2015-02-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4203 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Define memcpy
4204 to __memcpy_ppc only for static builds.
4206 2015-02-25 Joseph Myers <joseph@codesourcery.com>
4209 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use 2**56 and
4210 2**-56 not 2**28 and 2**-29 as thresholds for simpler formulas.
4211 * math/auto-libm-test-in: Add more tests of asinh.
4212 * math/auto-libm-test-out: Regenerated.
4213 * sysdeps/i386/fpu/libm-test-ulps: Update.
4214 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4216 2015-02-25 Cong Wang <xiyou.wangcong@gmail.com>
4219 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Put in6_pktinfo
4220 and ip6_mtuinfo definitions here.
4221 * sysdeps/unix/sysv/linux/bits/in.h [_UAPI_IPV6_H]: Wrap code
4222 in this define too. Update comment.
4224 2015-02-24 Benno Schulenberg <bensberg@justemail.net>
4226 * elf/sprof.c (load_shobj): Tweak error message to match others.
4228 2015-02-24 Kevin Easton <kevin@guarana.org>
4230 [BZ #16145] (partial fix)
4231 * time/tzset.c (__tz_convert): Unlock tzset_lock earlier
4232 to reduce lock contention.
4234 2015-02-24 Miroslav Lichvar <mlichvar@redhat.com>
4236 * sysdeps/unix/sysv/linux/bits/timex.h: Update version.
4237 (struct timex): Update time comment.
4238 (ADJ_SETOFFSET): Define.
4240 2015-02-24 Joseph Myers <joseph@codesourcery.com>
4243 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
4244 2**56 not 2**28 as threshold for log (2x) formula.
4245 * math/auto-libm-test-in: Add more tests of acosh.
4246 * math/auto-libm-test-out: Regenerated.
4247 * sysdeps/i386/fpu/libm-test-ulps: Update.
4248 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4250 2015-02-24 Mike Frysinger <vapier@gentoo.org>
4252 * include/alloca.h [_STACK_GROWS_DOWN] (extend_alloca): Add
4253 parenthesis around the buf assignment.
4254 [_STACK_GROWS_UP] (extend_alloca): Add a char* cast.
4256 2015-02-24 Joseph Myers <joseph@codesourcery.com>
4259 * sysdeps/i386/fpu/e_scalb.S (__ieee754_scalb): Do not handle
4260 arguments (NaN, -Inf) the same as (+/-Inf, -Inf).
4261 * sysdeps/i386/fpu/e_scalbf.S (__ieee754_scalbf): Likewise.
4262 * sysdeps/i386/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
4263 * sysdeps/x86_64/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
4264 * math/libm-test.inc (scalb_test_data): Add more tests.
4266 2015-02-24 Paul Pluzhnikov <ppluzhnikov@google.com>
4269 * libio/fileops.c (_IO_new_file_fopen): Limit stack use
4270 * libio/tst-fopenloc.c (do_test, do_bz17916): Add a large ccs= test
4272 2015-02-24 Eric Rannaud <e@nanocritical.com>
4275 * io/fcntl.h (__OPEN_NEEDS_MODE): New macro.
4276 * io/bits/fcntl2.h (open): Use it.
4278 * io/open.c (__libc_open): Likewise.
4279 * io/open64.c (__libc_open64): Likewise.
4280 * io/open64_2.c (__open64_2): Likewise.
4281 * io/open_2.c (__open_2): Likewise.
4282 * io/openat.c (__openat): Likewise.
4283 * io/openat64.c (__openat64): Likewise.
4284 * io/openat64_2.c (__openat64_2): Likewise.
4285 * io/openat_2.c (__openat_2): Likewise.
4286 * sysdeps/mach/hurd/open.c (__libc_open): Likewise.
4287 * sysdeps/mach/hurd/openat.c (__openat): Likewise.
4288 * sysdeps/posix/open64.c (__libc_open64): Likewise.
4289 * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
4290 * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
4291 (__open_nocancel): Likewise.
4292 * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
4293 * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
4294 * sysdeps/unix/sysv/linux/openat.c (__OPENAT): Likewise.
4296 2015-02-24 Siddhesh Poyarekar <siddhesh@redhat.com>
4299 * resolv/gethnamaddr.c (getanswer): Skip logging if
4300 RES_USE_DNSSEC is set.
4301 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
4303 2015-02-24 Mike Frysinger <vapier@gentoo.org>
4305 * sysdeps/unix/sysv/linux/hppa/sysdep.h: Include dl-sysdep.h.
4307 2015-02-23 Alexandre Oliva <aoliva@redhat.com>
4309 * include/stdc-predef.h (__STDC_ISO_10646__): Update to
4310 201304L, for Unicode 7.
4312 2015-02-23 H.J. Lu <hongjiu.lu@intel.com>
4315 * csu/Makefile (extra-objs): Add gmon-start.o if not builing
4316 shared library. Add gmon-start.os otherwise.
4317 ($(objpfx)g$(start-installed-name)): Use $(objpfx)S%
4318 $(objpfx)gmon-start.os if builing shared library.
4319 ($(objpfx)g$(static-start-installed-name)): Likewise.
4321 2015-02-23 Andreas Schwab <schwab@suse.de>
4323 * elf/Makefile (CFLAGS-tst-audit2.c): Define.
4325 2015-02-22 Paul Pluzhnikov <ppluzhnikov@google.com>
4328 * libio/wstrops.c (_IO_wstr_overflow): Guard against integer overflow
4329 (enlarge_userbuf): Likewise.
4331 2015-02-22 Chung-Lin Tang <cltang@codesourcery.com>
4333 * libio/tst-memstream2.c (TIMEOUT): Define as 100.
4334 * math/atest-exp.c (TIMEOUT): Adjust to 200.
4335 * math/atest-exp2.c (TIMEOUT): Adjust to 300.
4336 * math/atest-sincos.c (TIMEOUT): Adjust to 600.
4338 2015-02-20 Joseph Myers <joseph@codesourcery.com>
4340 * soft-fp/op-common.h (_FP_FROM_INT): Wrap call to abort in
4341 expression inside statement expression.
4343 2015-02-20 Stefan Liebler <stli@linux.vnet.ibm.com>
4345 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Include
4346 <sysdeps/nptl/lowlevellock.h> and remove macros and
4347 functions that are now defined there.
4348 (SYS_futex): Remove.
4349 (lll_compare_and_swap): Remove.
4350 * sysdeps/s390/bits/atomic.h (atomic_exchange_acq): Define.
4352 2015-02-19 Joseph Myers <joseph@codesourcery.com>
4355 * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Define to __scandirat
4356 instead of scandirat.
4357 * dirent/scandirat.c [!SCANDIRAT] (SCANDIRAT): Likewise.
4358 [!SCANDIRAT] (SCANDIRAT_WEAK_ALIAS): Define.
4359 [SCANDIRAT_WEAK_ALIAS] (scandirat): Define as weak alias of
4361 * include/dirent.h (scandirat): Do not use libc_hidden_proto.
4362 (__scandirat): Declare. Use libc_hidden_proto.
4363 * conform/Makefile (test-xfail-POSIX2008/dirent.h/linknamespace):
4365 (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
4367 2015-02-18 Joseph Myers <joseph@codesourcery.com>
4370 * sysdeps/i386/fpu/e_atan2.S (dbl_min): New object.
4372 (__ieee754_atan2): For results with small absolute value, force
4373 underflow exception and remove excess range and precision from
4375 * sysdeps/i386/fpu/e_atan2f.S (flt_min): New object.
4377 (__ieee754_atan2f): For results with small absolute value, force
4378 underflow exception and remove excess range and precision from
4380 * sysdeps/i386/fpu/s_atan.S (dbl_min): New object.
4382 (__atan): For results with small absolute value, force underflow
4383 exception and remove excess range and precision from return value.
4384 * sysdeps/i386/fpu/s_atanf.S (flt_min): New object.
4386 (__atanf): For results with small absolute value, force underflow
4387 exception and remove excess range and precision from return value.
4388 * sysdeps/ieee754/dbl-64/e_atan2.c: Include <float.h> and
4390 (__ieee754_atan2): Force underflow exception for results with
4391 small absolute value.
4392 * sysdeps/ieee754/dbl-64/s_atan.c: Include <float.h> and
4394 (atan): Force underflow exception for results with small absolute
4396 * sysdeps/ieee754/flt-32/s_atanf.c: Include <float.h>.
4397 (__atanf): Force underflow exception for results with small
4399 * sysdeps/ieee754/ldbl-128/s_atanl.c: Include <float.h> and
4401 (__atanl): Force underflow exception for results with small
4403 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <float.h>.
4404 (__atanl): Force underflow exception for results with small
4406 * sysdeps/x86/fpu/bits/mathinline.h
4407 [!__SSE2_MATH__ && !__x86_64__ && __LIBC_INTERNAL_MATH_INLINES]
4408 (__ieee754_atan2): Only define inline for long double.
4409 * sysdeps/x86_64/fpu/multiarch/e_atan2.c
4410 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Include <math.h>.
4411 * math/auto-libm-test-in: Do not mark underflow exceptions as
4412 possibly missing for bug 15319. Add more tests of atan2.
4413 * math/auto-libm-test-out: Regenerated.
4414 * math/libm-test.inc (casin_test_data): Do not mark underflow
4415 exceptions as possibly missing for bug 15319.
4416 (casinh_test_data): Likewise.
4417 * sysdeps/i386/fpu/libm-test-ulps: Update.
4419 2015-02-18 Steve Ellcey <sellcey@imgtec.com>
4421 * sysdeps/unix/sysv/linux/mips/bits/endian.h: Remove.
4422 * sysdeps/mips/bits/endian.h: Fix comments.
4424 2015-02-18 Joseph Myers <joseph@codesourcery.com>
4427 * include/search.h (hcreate_r): Don't use libc_hidden_proto.
4428 (hdestroy_r): Likewise.
4429 (hsearch_r): Likewise.
4430 (__hcreate_r): Declare and use libc_hidden_proto.
4431 (__hdestroy_r): Likewise.
4432 (__hsearch_r): Likewise.
4433 * misc/hsearch.c (hsearch): Call __hsearch_r instead of hsearch_r.
4434 (hcreate): Call __hcreate_r instead of hcreate_r.
4435 (__hdestroy): Call __hdestroy_r instead of hdestroy_r.
4436 * misc/hsearch_r.c (hcreate_r): Rename to __hcreate_r and define
4437 as weak alias of __hcreate_r.
4438 (hdestroy_r): Rename to __hdestroy_r and define as weak alias of
4440 (hsearch_r): Rename to __hsearch_r and define as weak alias of
4442 * conform/Makefile (test-xfail-XPG3/search.h/linknamespace):
4444 (test-xfail-XPG4/search.h/linknamespace): Likewise.
4445 (test-xfail-UNIX98/search.h/linknamespace): Likewise.
4446 (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
4447 (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
4449 2015-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
4451 * malloc/malloc.c (__libc_malloc): Consolidate arena_lookup and
4452 arena_lock into a single arena_get.
4454 2015-02-17 Carlos O'Donell <carlos@redhat.com>
4456 * dl-reloc.c: Inlucde libc-internal.h.
4457 (_dl_try_allocate_static_tls): Call ALIGN_UP.
4458 (_dl_relocate_object): Call ALIGN_UP, ALIGN_DOWN, and PTR_ALIGN_DOWN.
4459 (_dl_protect_relro): Call ALIGN_UP and ALIGN_DOWN.
4460 * malloc/arena.c (new_heap): Use pagesize. Call ALIGN_UP.
4461 (grow_heap): Likewise.
4462 * malloc/malloc.c: Include libc-internal.h.
4463 (do_check_malloc): Call powerof2.
4464 (sysmalloc): Use pagesize. Call ALIGN_UP.
4465 (systrim): Use pagesize.
4466 (mremap_chunk): Use pagesize. Call ALIGN_UP.
4467 (__libc_valloc): Use pagesize.
4468 (__libc_pvalloc): Use pagesize. Call ALIGN_UP.
4470 2015-02-17 Joseph Myers <joseph@codesourcery.com>
4473 * include/sys/resource.h (__getrlimit64): Declare. Use
4475 * resource/getrlimit64.c (getrlimit64): Rename to __getrlimit64
4476 and define as weak alias of __getrlimit64. Use libc_hidden_weak.
4477 * sysdeps/posix/spawni.c (__spawni): Call __getrlimit64 instead of
4479 * sysdeps/unix/sysv/linux/getrlimit64.c (getrlimit64): Rename to
4481 [!getrlimit64] (getrlimit64): Define as weak alias of
4482 __getrlimit64. Use libc_hidden_weak.
4483 * sysdeps/unix/sysv/linux/i386/getrlimit64.c (getrlimit64): Define
4484 using __getrlimit64 not __new_getrlimit64.
4485 (__GI_getrlimit64): Likewise.
4486 * sysdeps/unix/sysv/linux/mips/getrlimit64.c (getrlimit64):
4488 (__GI_getrlimit64): Likewise.
4489 (__old_getrlimit64): Use __getrlimit64 not __new_getrlimit64.
4490 * sysdeps/unix/sysv/linux/powerpc/powerpc64/syscalls.list
4491 (getrlimit): Add __getrlimit64 alias.
4492 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (getrlimit):
4494 * conform/Makefile (test-xfail-XOPEN2K/spawn.h/linknamespace):
4496 (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
4497 (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
4499 2015-02-17 Paul Pluzhnikov <ppluzhnikov@google.com>
4501 * libio/fileops.c: Add missing sys/mman.h
4502 * libio/iopopen.c: Add missing fcntl.h, remove redundant unistd.h
4504 2015-02-17 Joseph Myers <joseph@codesourcery.com>
4506 * manual/math.texi (Errors in Math Functions): Clarify goals
4507 regarding inexact and underflow exceptions.
4509 2015-02-17 Steve Ellcey <sellcey@imgtec.com>
4511 * sysdeps/mips/memcpy.S: Move R6 PREFETCH_STORE_HINT check.
4512 * sysdeps/mips/memset.S: Ditto.
4514 2015-02-17 Steve Ellcey <sellcey@imgtec.com>
4516 * sysdeps/mips/bits/endian.h (__MIPSEL): Use #ifdef instead of #if.
4518 2015-02-17 Stefan Liebler <stli@linux.vnet.ibm.com>
4520 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c
4521 (__v1longjmp): Remove versioned symbol.
4522 (__v1siglongjmp): Remove alias and versioned symbol.
4523 (__v2longjmp): Use DEFINE_LONGJMP instead of alias.
4524 (__v2siglongjmp): Likewise.
4526 2015-02-16 Torvald Riegel <triegel@redhat.com>
4528 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Remove file.
4530 2015-02-16 Mike Frysinger <vapier@gentoo.org>
4532 * sysdeps/unix/sysv/linux/ia64/getpagesize.c: Delete.
4534 2015-02-16 Joseph Myers <joseph@codesourcery.com>
4537 * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Ensure sign of
4538 zero result does not depend on the sign resulting from
4540 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
4542 * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
4543 * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
4544 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
4545 * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
4546 * math/libm-test.inc (remquo_test_data): Add more tests.
4548 2015-02-16 Paul Eggert <eggert@cs.ucla.edu>
4550 * manual/time.texi (TZ Variable): glibc no longer comes with tzdata.
4551 Problem reported by J William Piggott.
4553 2015-02-16 Joseph Myers <joseph@codesourcery.com>
4556 * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Do not form
4557 products 4 * y and 2 * y where those would overflow.
4558 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
4560 * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
4561 * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
4562 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
4563 * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
4564 * math/libm-test.inc (remquo_test_data): Add more tests.
4566 * sysdeps/mips/sgidefs.h [!_ABIO64] (_ABIO64): New macro.
4568 * sysdeps/mips/memcpy.S [_COMPILING_NEWLIB]: Change condition to
4569 [defined _COMPILING_NEWLIB].
4570 * sysdeps/mips/memset.S [_COMPILING_NEWLIB]: Likewise.
4571 * sysdeps/mips/strcmp.S [_COMPILING_NEWLIB]: Likewise.
4573 * sysdeps/mips/sys/asm.h [__mips_isa_rev < 6]: Change condition to
4574 [!defined __mips_isa_rev || __mips_isa_rev < 6].
4576 2015-02-16 Torvald Riegel <triegel@redhat.com>
4578 * nptl/tst-cond25.c (cleanup): Explicitly check that the mutex is
4581 2015-02-15 Matthew Fortune <Matthew.Fortune@imgtec.com>
4584 * sysdeps/unix/sysv/linux/ia64/sys/user.h (NBPG): Remove.
4585 (UPAGES, HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR,
4586 HOST_STACK_END_ADDR): Likewise.
4588 2015-02-13 Steve Ellcey <sellcey@imgtec.com>
4590 * sysdeps/mips/bits/endian.h (__MIPSEB): Use #ifdef instead of #if.
4591 * sysdeps/mips/memcpy.S (__MIPSEB): Ditto.
4592 * sysdeps/mips/memset.S (__MIPSEB): Ditto.
4594 2015-02-13 Roland McGrath <roland@hack.frob.com>
4596 * sysdeps/generic/c++-types.data: New file.
4597 * sysdeps/generic/ld.abilist: New file.
4598 * sysdeps/generic/libBrokenLocale.abilist: New file.
4599 * sysdeps/generic/libanl.abilist: New file.
4600 * sysdeps/generic/libc.abilist: New file.
4601 * sysdeps/generic/libcrypt.abilist: New file.
4602 * sysdeps/generic/libdl.abilist: New file.
4603 * sysdeps/generic/libm.abilist: New file.
4604 * sysdeps/generic/libpthread.abilist: New file.
4605 * sysdeps/generic/libresolv.abilist: New file.
4606 * sysdeps/generic/librt.abilist: New file.
4608 2015-02-13 Joseph Myers <joseph@codesourcery.com>
4611 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
4612 Compute absolute value of x as modified by fmod, not original
4614 * math/libm-test.inc (RUN_TEST_ffI_f1): Rename to
4615 RUN_TEST_ffI_f1_mod8. Check extra return value mod 8.
4616 (RUN_TEST_LOOP_ffI_f1): Rename to RUN_TEST_LOOP_ffI_f1_mod8. Call
4617 RUN_TEST_ffI_f1_mod8.
4618 (remquo_test_data): Add more tests.
4620 2015-02-13 Roland McGrath <roland@hack.frob.com>
4622 * sysdeps/init_array/pt-crti.S: New file.
4624 2015-02-13 Joseph Myers <joseph@codesourcery.com>
4627 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Use
4628 __builtin_fmaf instead of relying on contraction of a * b + c.
4630 2015-02-12 J William Piggott <elseifthen@gmx.com>
4633 * manual/time.texi: correct the zoneinfo path in the TZ Variable
4636 2015-02-12 Joseph Myers <joseph@codesourcery.com>
4639 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Use
4640 __builtin_fma instead of relying on contraction of a * b + c.
4642 2015-02-12 Roland McGrath <roland@hack.frob.com>
4644 * Makeconfig (ASFLAGS): Add -Werror=undef.
4645 * sysdeps/arm/Versions (libc: GLIBC_2.19): New (empty) version set.
4646 * sysdeps/unix/make-syscalls.sh: Always emit #define's for
4647 SYSCALL_CANCELLABLE, SYSCALL_NOERRNO, SYSCALL_ERRVAL, to 1 or 0.
4649 * Makeconfig (after-link): New variable.
4650 (+link-pie, +link-pie-tests): Use it.
4651 (+link-static, +link-static-tests): Likewise.
4652 (+link, +link-tests): Likewise.
4653 * Makerules (build-module, build-module-asneeded): Likewise.
4654 (lib%.so, $(common-objpfx)libc.so, $(common-objpfx)linkobj/libc.so):
4656 * elf/Makefile ($(objpfx)ld.so): Likewise.
4658 2015-02-12 Rüdiger Sonderfeld <ruediger@c-plusplus.net>
4661 * manual/time.texi (Elapsed Time): tv_sec is of type time_t in
4662 both struct timeval and struct timespec.
4664 2015-02-12 Joseph Myers <joseph@codesourcery.com>
4667 * math/e_exp2l.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
4669 (__ieee754_exp2l): Do not multiply small fractional parts by
4671 * sysdeps/i386/fpu/e_exp2l.S (__ieee754_exp2l): Just add 1 to
4673 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
4674 * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
4675 * sysdeps/x86_64/fpu/e_exp2l.S (__ieee754_exp2l): Likewise.
4676 * math/auto-libm-test-in: Add more tests of exp2.
4677 * math/auto-libm-test-out: Regenerated.
4679 2015-02-12 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
4681 * sysdeps/powerpc/powerpc64/power7/strncpy.S (strncpy): Optimize
4684 2015-02-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4686 * sysdeps/unix/sysv/linux/powerpc/htm.h [TABORT]: Fix encoding for
4689 2015-02-12 Andreas Schwab <schwab@suse.de>
4692 * nptl/pthread_mutexattr_gettype.c (pthread_mutexattr_gettype):
4693 Filter out elision flags from value returned in kind.
4694 * nptl/Makefile (tests): Add tst-pthread-mutexattr.
4695 * nptl/tst-pthread-mutexattr.c: New file.
4697 2015-02-11 Samuel Thibault <samuel.thibault@ens-lyon.org>
4699 * abi-tags: Revert ae20c9a: rename back gnu into gnu-gnu.
4700 * configure.ac, configure: Revert ba90e05: modify gnu-* host_os back
4701 into gnu-gnu, and update comment to refer to abi-tags.
4703 2015-02-11 Joseph Myers <joseph@codesourcery.com>
4706 * sysdeps/ieee754/dbl-64/s_sincos.c: Include <errno.h>.
4707 (__sincos): Set errno to EDOM for infinite argument.
4708 * sysdeps/ieee754/flt-32/s_sincosf.c: Include <errno.h>.
4709 (SINCOSF_FUNC): Set errno to EDOM for infinite argument.
4710 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Include <errno.h>.
4711 (__sincosl): Set errno to EDOM for infinite argument.
4712 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Include <errno.h>.
4713 (__sincosl): Set errno to EDOM for infinite argument.
4714 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Include <errno.h>.
4715 (__sincosl): Set errno to EDOM for infinite argument.
4716 * math/libm-test.inc (sincos_test_data): Test errno setting.
4718 2015-02-11 Leonhard Holz <leonhard.holz@web.de>
4720 * string/strxfrm_l.c: Remove #define STRCMP.
4721 * string/strcoll_l.c: Remove #define STRLEN.
4722 * wcsmbs/wcsxfrm_l.c: Remove #define STRCMP.
4723 * wcsmbs/wcscoll_l.c: Remove #define STRLEN.
4725 2015-02-10 Joseph Myers <joseph@codesourcery.com>
4727 * sysdeps/mips/soft-fp/sfp-machine.h: Move to ....
4728 * sysdeps/mips/mips32/sfp-machine.h: ... here.
4729 * sysdeps/mips/mips64/soft-fp/Makefile: Move to ....
4730 * sysdeps/mips/mips64/Makefile: ... here.
4731 * sysdeps/mips/mips64/soft-fp/e_sqrtl.c: Move to ....
4732 * sysdeps/mips/mips64/e_sqrtl.c: ... here.
4733 * sysdeps/mips/mips64/soft-fp/sfp-machine.h: Move to ....
4734 * sysdeps/mips/mips64/sfp-machine.h: ... here.
4735 * sysdeps/mips/mips32/Implies: Remove mips/soft-fp.
4736 * sysdeps/mips/mips64/n32/Implies: Remove mips/mips64/soft-fp.
4737 * sysdeps/mips/mips64/n64/Implies: Likewise.
4739 2015-02-10 Roland McGrath <roland@hack.frob.com>
4741 * math/test-snan.c: Drop unnecessary #include's of <stdlib.h>,
4742 <sys/time.h>, <string.h>, and <errno.h>.
4743 (dest_offset, dest_address, value, zero): Remove unused variables.
4744 (ldouble): Remove typedef.
4745 (myFPsighandler): Use simple handler signature, not SA_SIGINFO
4746 signature. Pass 1 to siglongjmp rather than 0 (which is converted to
4748 (set_sigaction_FP, remove_sigaction_FP): Functions removed.
4749 (check): Function removed.
4751 (TEST_FUNC): Fix code style. Use CHECK macro rather than repeating
4752 boilerplate feclearexcept + feenableexcept + sigsetjmp code.
4753 Don't call set_sigaction_FP and remove_sigaction_FP here.
4754 (ldouble_test): Just use 'long double' as macro argument, no need for
4755 the 'ldouble' typedef.
4756 (do_test): Set up SIGFPE handler at start, using plain signal rather
4757 than sigaction. Fix code style.
4759 2015-02-10 Evangelos Foutras <evangelos@foutrelis.com>
4762 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Fix position of
4765 2015-02-09 Adhemerval Zanellla <azanella@linux.vnet.ibm.com>
4767 * sysdeps/powerpc/powerpc32/configure.ac: Remove R_PPC_REL16 check.
4768 * sysdeps/powerpc/powerpc32/configure: Regenerated.
4770 * sysdeps/powerpc/configure.ac: Remove file.
4771 * sysdeps/powerpc/configure: Likewise.
4773 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
4774 [sysdep_routines]: Remove wordcopy-power6 object.
4775 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
4776 (__memmove_power7): Use local call for wordcopy and memcpy symbols.
4777 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c
4778 (__memmove_ppc32): Likewise.
4779 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: Remove
4781 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Remove file.
4782 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c [IS_IN (libc)]:
4783 Remove preprocessor.
4785 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
4786 [sysdep_routines]: Remove wide chars objects.
4787 [wcsmbs]: New rule for wide char objects.
4789 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
4790 Remove wordcopy-power6 obejct.
4791 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c (__memmove_ppc):
4792 Use local call for wordcopy and memcpy symbols.
4793 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: Remove file.
4794 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: Add default
4795 implementation for loader.
4796 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Remove file.
4798 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
4799 Remove wordcopy-power7 object.
4800 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: Remove file.
4801 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c
4802 (_wordcopy_fwd_aligned): Remove POWER7 specialization.
4803 (_wordcopy_fwd_dest_aligned): Likewise.
4804 (_wordcopy_bwd_aligned): Likewise.
4805 (_wordcopy_bwd_dest_aligned): Likewise.
4807 * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c (__bcopy_ppc):
4808 Rewrite to call __memmove_ppc instead of include default
4811 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
4812 Remove wide chars objects.
4813 [wcsmbs]: New rule for wide char objects.
4815 2015-02-09 Andreas Schwab <schwab@suse.de>
4818 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
4819 in terms of __O_DIRECTORY.
4821 2015-02-08 Samuel Thibault <samuel.thibault@ens-lyon.org>
4823 * time/getdate.c: Include <stdbool.h>.
4824 * sysdeps/gnu/unwind-resume.c [!PTR_MANGLE] (__libgcc_s_init): Do not
4826 [!PTR_DEMANGLE] (_Unwind_Resume, __gcc_personality_v0): Do not call
4829 2015-02-07 Paul Eggert <eggert@cs.ucla.edu>
4831 Add ersatz _Static_assert on older C hosts
4832 * misc/sys/cdefs.h (_Static_assert): Define a substitute, if on a
4833 pre-C11 C platform that is not known to support _Static_assert.
4835 2015-02-07 Richard Braun <rbraun@sceen.net>
4837 * hurd/hurd/signal.h (_hurd_critical_section_lock): Don't unlock
4839 * sysdeps/mach/hurd/mmap.c (__mmap): Also handle PROT_NONE case.
4841 2015-02-07 Samuel Thibault <samuel.thibault@ens-lyon.org>
4843 * sysdeps/pthread/aio_misc.c [!AIO_PRIO_DELTA_MAX]: Do not check
4844 priority against unexistent AIO_PRIO_DELTA_MAX.
4845 * misc/chflags.c (chflags): Set flags parameter type to unsigned long
4847 * misc/fchflags.c (fchflags): Likewise.
4848 * sysdeps/mach/hurd/chflags.c (chflags): Likewise.
4849 * sysdeps/mach/hurd/fchflags.c (fchflags): Likewise.
4850 * sysdeps/mach/hurd/bits/stat.h [__USE_MISC] (UF_SETTABLE, UF_NODUMP,
4851 UF_IMMUTABLE, UF_APPEND, UF_OPAQUE, UF_NOUNLINK, SF_SETTABLE,
4852 SF_ARCHIVED, SF_IMMUTABLE, SF_APPEND, SF_NOUNLINK, SF_SNAPSHOT):
4854 [__USE_MISC] (chflags, fchflags): Declare functions.
4855 * hurd/hurdselect.c (_hurd_select): In the poll case, do not return
4856 EINVAL when nfds is greater than FD_SETSIZE.
4857 * hurd/hurd/resource.h (MACH_PRIORITY_TO_NICE,
4858 NICE_TO_MACH_PRIORITY): Align nice levels on Mach priorities from 5 to
4860 * hurd/hurdselect.c (_hurd_select): Pass MACH_RCV_INTERRUPT to
4861 __mach_msg. If that returns MACH_RCV_INTERRUPTED, set ERR to EINTR.
4862 * hurd/hurdselect.c (_hurd_select): Remove unreachable check for
4864 * hurd/hurd/signal.h (_hurd_self_sigstate,
4865 _hurd_critical_section_lock, _hurd_critical_section_unlock):
4866 Explicit casts from void *.
4867 * sysdeps/mach/hurd/tls.h: Include <stdint.h> and <sysdep.h>.
4868 * abi-tags: Rename gnu-gnu os into gnu.
4871 * sysdeps/mach/hurd/bits/ioctls.h (_IOT__IOTBASE_long, _IOT_char,
4872 _IOT_short, _IOT_int, _IOT_long, _IOT__IOTBASE_int8_t,
4873 _IOT__IOTBASE_uint8_t, _IOT__IOTBASE_int16_t, _IOT__IOTBASE_uint16_t,
4874 _IOT__IOTBASE_int32_t, _IOT__IOTBASE_uint32_t, _IOT__IOTBASE_int64_t,
4875 _IOT__IOTBASE_uint64_t, _IOT__IOTBASE_size_t, _IOT__IOTBASE_ssize_t,
4876 _IOTBASE_unsigned, _IOTBASE_signed): Define macros.
4879 * hurd/hurdsocket.h: New file, defines _hurd_sun_path_dupa which
4880 duplicates ADDR->sun_path with sockaddr LEN limitation.
4881 * sysdeps/mach/hurd/connect.c: Include <string.h>
4882 (__connect): Give result of _hurd_sun_path_dupa to name lookup.
4883 * sysdeps/mach/hurd/sendmsg.c: Likewise.
4884 * sysdeps/mach/hurd/sendto.c: Likewise.
4885 * sysdeps/mach/hurd/bind.c: Call _hurd_sun_path_dupa instead of
4886 implementing it by hand.
4888 2015-02-06 Roland McGrath <roland@hack.frob.com>
4890 * sysdeps/arm/sysdep.h [!PROF] [ARCH_HAS_T2 && !PIC] (LDR_GLOBAL):
4891 Use sfi_breg on ldr.
4892 [!PROF] [ARCH_HAS_T2 && PIC && ARM_PCREL_MOVW_OK] (LDR_GLOBAL):
4895 * nptl/tst-cancel25.c (tf2): Test for SIGCANCEL being blocked only if
4897 * nptl/tst-signal7.c (do_test): Test SIGCANCEL only if it's defined.
4898 Test SIGSETXID only if it's defined.
4900 * nptl/tst-locale1.c (useless): Use SIGRTMIN only if it's defined.
4902 * rt/tst-timer2.c (do_test): Don't initialize SIGEV.sigev_signo, which
4903 will not be used. Use NULL rather than 0 for .sigev_notify_attributes.
4905 * nptl/tst-align2.c: Moved ...
4906 * sysdeps/unix/sysv/linux/tst-align-clone.c: ... here.
4907 * nptl/Makefile (tests): Remove tst-align2.
4908 * sysdeps/unix/sysv/linux/Makefile
4909 [$(subdir) = nptl] (tests): Add tst-align-clone.
4910 * nptl/tst-getpid1.c: Moved ...
4911 * sysdeps/unix/sysv/linux/tst-getpid1.c: ... here.
4912 * nptl/tst-getpid2.c: Moved ...
4913 * sysdeps/unix/sysv/linux/tst-getpid2.c: ... here.
4914 * nptl/Makefile (tests): Move tst-getpid1 and tst-getpid2 ...
4915 * sysdeps/unix/sysv/linux/Makefile
4916 [$(subdir) = nptl] (tests): ... here.
4917 * nptl/Makefile (tst-getpid2-ENV): Move variable ...
4918 * sysdeps/unix/sysv/linux/Makefile
4919 [$(subdir) = nptl] (tst-getpid2-ENV): ... here.
4921 * nptl/tst-cleanup2.c (do_test): Use signal rather than sigaction.
4922 Drop trailing \n from perror argument. Use return rather than exit.
4924 * nptl/tst-cancel20.c (do_test): Conditionalize SA_SIGINFO-using tests
4926 * nptl/tst-cancel21.c (do_test): Likewise.
4927 * debug/tst-backtrace6.c: Include <signal.h> first thing.
4928 Conditionalize inclusion of tst-backtrace5.c on [SA_SIGINFO].
4929 [!SA_SIGINFO]: Make it a stub test.
4931 * misc/tst-pselect.c (do_test): Don't set SA_NOCLDWAIT in sa_flags for
4932 SIGCHLD; it's redundant with SIG_IGN as sa_handler.
4934 * posix/tst-getlogin.c: Move to ...
4935 * login/tst-getlogin.c: ... here.
4936 * posix/Makefile (tests): Move tst-getlogin to ...
4937 * login/Makefile (tests): ... here.
4939 * libio/tst-atime.c (do_test): Move local variables SV and E
4940 inside [ST_NOATIME] conditional.
4942 * dirent/tst-fdopendir.c (O_NOATIME): If not defined, #define to 0.
4944 * nptl/tst-kill5.c (do_test): Use INT_MAX rather than SIGRTMAX + 10.
4946 * nptl/tst-join5.c: Drop #include <sys/syscall.h>.
4947 (wait_code): New function replaces macro.
4948 Call nanosleep rather than syscall.
4950 * nptl/pt-system.c: Rewritten. Put everything under
4951 [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
4952 Use IFUNC to redirect when possible.
4954 * nptl/pt-longjmp.c: Rewritten. Put everything under
4955 [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
4956 Use IFUNC to redirect when possible.
4958 * nptl/pt-fork.c: Rewritten. Put everything under
4959 [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
4960 Use IFUNC to redirect when possible.
4961 * nptl/Versions (libpthread: GLIBC_2.22): New (empty) version set.
4963 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: Remove all
4964 code under [!__ASSUME_FUTEX_CLOCK_REALTIME], since that is defined
4965 unconditionally nowadays. This included the only reference to
4966 __vdso_clock_gettime that appears outside libc proper.
4967 * sysdeps/unix/sysv/linux/x86_64/Versions (libc: GLIBC_PRIVATE):
4968 Remove version set (containing only __vdso_clock_gettime).
4969 * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
4970 Add attribute_hidden.
4971 * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
4972 Likewise. Drop __attribute__ ((nocommon)), libc_hidden_proto, and
4973 libc_hidden_data_def.
4974 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
4975 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
4977 * inet/Versions (libc: GLIBC_2.0): Move getrpcbyname, getrpcbyname_r,
4978 getrpcbynumber, getrpcbynumber_r, getrpcent, getrpcent_r, endrpcent,
4979 setrpcent, and getrpcport to ...
4980 * sunrpc/Versions (libc: GLIBC_2.0): ... here.
4981 * inet/Versions (libc: GLIBC_2.1.2): Move getrpcbyname_r,
4982 getrpcbynumber_r, and getrpcent_r to ...
4983 * sunrpc/Versions (libc: GLIBC_2.1.2): ... this new set.
4984 * inet/getrpcbyname.c: Moved ...
4985 * sunrpc/getrpcbyname.c: ... here.
4986 * inet/getrpcbyname_r.c: Moved ...
4987 * sunrpc/getrpcbyname_r.c: ... here.
4988 * inet/getrpcbynumber.c: Moved ...
4989 * sunrpc/getrpcbynumber.c: ... here.
4990 * inet/getrpcbynumber_r.c: Moved ...
4991 * sunrpc/getrpcbynumber_r.c: ... here.
4992 * inet/getrpcent.c: Moved ...
4993 * sunrpc/getrpcent.c: ... here.
4994 * inet/getrpcent_r.c: Moved ...
4995 * sunrpc/getrpcent_r.c: ... here.
4996 * inet/Makefile (routines): Move those to ...
4997 * sunrpc/Makefile (routines): ... here.
4998 * nss/Makefile (databases): Add key and rpc only if sunrpc appears in
4999 the $(subdirs) list.
5000 (CPPFLAGS-getent.c): New variable. Pass -D option to set HAVE_SUNRPC
5001 to 0 or 1, indicating whether sunrpc appears in the $(subdirs) list.
5002 * nss/getent.c (print_rpc, rpc_keys): Conditionalize on [HAVE_SUNRPC].
5003 (databases): Conditionalize rpc entry on [HAVE_SUNRPC].
5005 * elf/Makefile (routines): Include $(all-dl-routines), not just
5007 (rtld-routines): Likewise. Use = rather than :=.
5008 * sysdeps/aarch64/Makefile [$(subdir) = elf]
5009 (sysdep_routines, sysdep-rtld-routines): Don't add tlsdesc and
5010 dl-tlsdesc to these; sysdep-dl-routines alone is enough.
5011 * sysdeps/arm/Makefile: Likewise.
5012 * sysdeps/i386/Makefile: Likewise.
5013 * sysdeps/x86_64/Makefile: Likewise.
5014 * sysdeps/hppa/Makefile [$(subdir) = elf]
5015 (sysdep_routines, sysdep-rtld-routines): Don't add
5016 $(sysdep-dl-routines) to these.
5017 * sysdeps/ia64/Makefile: Likewise.
5018 * sysdeps/unix/sysv/linux/ia64/Makefile: Likewise.
5019 * sysdeps/unix/sysv/linux/aarch64/Makefile [$(subdir) = elf]
5020 [$(build-shared) = yes] (sysdep_routines, sysdep-rtld-routines):
5021 Don't add dl-static to these; sysdep-dl-routines alone is enough.
5022 * sysdeps/unix/sysv/linux/m68k/Makefile: Likewise.
5023 * sysdeps/unix/sysv/linux/mips/Makefile: Likewise.
5024 * sysdeps/unix/sysv/linux/powerpc/Makefile: Likewise.
5025 * sysdeps/unix/sysv/linux/tile/Makefile: Likewise.
5026 * sysdeps/powerpc/Makefile [$(subdir) = elf]
5027 (sysdep_routines, sysdep-rtld-routines): Don't add dl-machine to
5028 these; sysdep-dl-routines alone is enough.
5030 2015-02-06 Joseph Myers <joseph@codesourcery.com>
5033 * soft-fp/op-common.h (_FP_FMA): Set exponent of result in case
5034 where multiplication results in zero and third argument is finite
5036 * math/auto-libm-test-in: Add more tests of fma.
5037 * math/auto-libm-test-out: Regenerated.
5039 * soft-fp/op-common.h (_FP_CMP_CHECK_DENORM): New macro.
5040 (_FP_CMP_CHECK_FLUSH_ZERO): Likewise.
5041 (_FP_CMP): Use_FP_CMP_CHECK_DENORM and _FP_CMP_CHECK_FLUSH_ZERO.
5042 (_FP_CMP_EQ): Likewise.
5043 (_FP_CMP_UNORD): Use _FP_CMP_CHECK_DENORM.
5045 * soft-fp/op-common.h (FP_EXTEND): Rename to _FP_EXTEND_CNAN with
5046 extra argument CHECK_NAN. Redefine as wrapper around
5049 2015-02-06 Carlos O'Donell <carlos@systemhalted.org>
5051 * version.h (RELEASE): Set to "stable".
5052 (VERSION): Set to "2.21"
5053 * include/features.h (__GLIBC_MINOR__): Set to 21.
5055 * sysdeps/unix/sysv/linux/hppa/pthread.h: Sync with pthread.h.
5057 2015-02-05 Paul Pluzhnikov <ppluzhnikov@google.com>
5058 Paul Eggert <eggert@cs.ucla.edu>
5061 * stdio-common/tst-sscanf.c (main): Test for buffer overflow.
5062 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Compute needed
5063 size in bytes. Store needed elements in wpmax. Use needed size
5064 in bytes for extend_alloca.
5066 2015-02-05 Carlos O'Donell <carlos@systemhalted.org>
5068 * manual/install.texi: Latest tested versions are GCC 4.9.2,
5069 binutls 2.25, and texinfo 5.2.
5070 * INSTALL: Regenerate.
5071 * sysdeps/nios2/configure: Regenerate.
5072 * sysdeps/unix/sysv/linux/nios2/configure: Regenerate.
5073 * manual/contrib.texi: Update.
5097 * po/pt_BR.po: Update.
5106 * po/zh_CN.po: Update.
5107 * po/zh_TW.po: Update.
5109 * sysdeps/hppa/Makefile (CFLAGS-dl-fptr.c): Add -Wno-error.
5110 * sysdeps/hppa/bits/setjmp.h: Union is named __jmp_buf_internal_tag.
5111 * sysdeps/hppa/dl-irel.h: Remove #warning.
5112 * sysdeps/hppa/entry.h: Provide prototype for
5113 __canonicalize_funcptr_for_compare and cast argument.
5114 * sysdeps/hppa/fpu/fegetexcept.c (fegetexcept): Add semicolon.
5115 * sysdeps/hppa/fpu/ftestexcept.c (fetestexcept): Likewise.
5116 * sysdeps/hppa/sotruss-lib.c: New file.
5117 * sysdeps/unix/sysv/linux/hppa/bits/atomic.h
5118 (atomic_compare_and_exchange_val_acq): Use __typeof__.
5119 (atomic_compare_and_exchange_bool_acq): Likewise.
5120 * sysdeps/unix/sysv/linux/hppa/mmap.c: Use weak alias.
5121 * sysdeps/unix/sysv/linux/hppa/pthread.h: Include pthread.h.
5123 * sysdeps/unix/sysv/linux/hppa/syscall.S: Delete file.
5124 * sysdeps/unix/sysv/linux/hppa/sysdep.c: Move syscall from here...
5125 * sysdeps/unix/sysv/linux/hppa/syscall.c: ... to here.
5127 2015-02-05 Chung-Lin Tang <cltang@codesourcery.com>
5129 * sysdeps/nios2/machine-gmon.h (NIOS2_MCOUNT_CALL): Correct name of
5130 called function in non-PIC case.
5132 2015-01-31 David S. Miller <davem@davemloft.net>
5134 * sysdeps/sparc/sparc32/bits/atomic.h
5135 (__sparc32_atomic_do_unlock24): Put the memory barrier before the
5136 unlock not after it.
5137 (__v9_compare_and_exchange_val_32_acq): Use unions to avoid getting
5138 volatile register usage warnings from the compiler.
5140 * sysdeps/sparc/nptl/sem_init.c: Delete.
5141 * sysdeps/sparc/nptl/sem_post.c: Delete.
5142 * sysdeps/sparc/nptl/sem_timedwait.c: Delete.
5143 * sysdeps/sparc/nptl/sem_wait.c: Delete.
5144 * sysdeps/sparc/sparc32/sem_init.c: New file.
5145 * sysdeps/sparc/sparc32/sem_waitcommon.c: New file.
5146 * sysdeps/sparc/sparc32/sem_open.c: Generic nptl version with
5147 padding explicitly initialized.
5148 * sysdeps/sparc/sparc32/sem_post.c: Generic nptl version using
5149 padding for in-semaphore spinlock.
5150 * sysdeps/sparc/sparc32/sem_wait.c: Likewise.
5151 * sysdeps/sparc/sparc32/sem_trywait.c: Delete.
5152 * sysdeps/sparc/sparc32/sem_timedwait.c: Delete.
5153 * sysdeps/sparc/sparc32/sparcv9/sem_init.c: New file.
5154 * sysdeps/sparc/sparc32/sparcv9/sem_open.c: New file.
5155 * sysdeps/sparc/sparc32/sparcv9/sem_post.c: New file.
5156 * sysdeps/sparc/sparc32/sparcv9/sem_waitcommon.c: New file.
5157 * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: Redirect to nptl
5159 * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: Delete.
5160 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Delete.
5162 2015-01-30 H.J. Lu <hongjiu.lu@intel.com>
5165 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
5166 Set the bit_AVX_Fast_Unaligned_Load bit for AVX2.
5167 * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX_Fast_Unaligned_Load):
5169 (index_AVX_Fast_Unaligned_Load): Likewise.
5170 (HAS_AVX_FAST_UNALIGNED_LOAD): Likewise.
5171 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Check the
5172 bit_AVX_Fast_Unaligned_Load bit instead of the bit_AVX_Usable bit.
5173 * sysdeps/x86_64/multiarch/memcpy_chk.S (__memcpy_chk): Likewise.
5174 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Likewise.
5175 * sysdeps/x86_64/multiarch/mempcpy_chk.S (__mempcpy_chk): Likewise.
5176 * sysdeps/x86_64/multiarch/memmove.c (__libc_memmove): Replace
5177 HAS_AVX with HAS_AVX_FAST_UNALIGNED_LOAD.
5178 * sysdeps/x86_64/multiarch/memmove_chk.c (__memmove_chk): Likewise.
5180 2015-01-29 Andreas Schwab <schwab@suse.de>
5182 * sysdeps/nptl/allocrtsig.c: Include <signal.h>.
5184 2015-01-29 Siddhesh Poyarekar <siddhesh@redhat.com>
5187 * nscd/nscd_stat.c (send_stats): Initialize DATA.
5189 2015-01-28 Martin Sebor <msebor@redhat.com>
5191 * math/README.libm-test: Clarify. Add "How to read the test output."
5193 2015-01-28 Chris Metcalf <cmetcalf@ezchip.com>
5195 * sysdeps/tile/tilegx/bits/atomic.h [!_LP64] (__HAVE_64B_ATOMICS):
5198 2015-01-28 Joseph Myers <joseph@codesourcery.com>
5200 * sysdeps/mips/bits/atomic.h [_MIPS_SIM == _ABIN32]
5201 (__HAVE_64B_ATOMICS): Define to 0.
5203 2015-01-28 Adhemerval Zanellla <azanella@linux.vnet.ibm.com>
5206 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Fix correct
5207 value to set as new flag.
5210 * sysdeps/powerpc/fpu/math_private.h [__CPU_HAS_FSQRT]: Remove define
5211 and use _ARCH_PPCSQ instead.
5212 (__ieee754_sqrt): Likewise.
5213 (__ieee754_sqrtf): Likewise.
5214 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Build only if
5215 _ARCH_PPCSQ is defined.
5216 (__ieee754_sqrt): Use _ARCH_PPCSQ to select wheter to use hardware
5218 * sysdeps/powerpc/fpu/e_sqrtf.c (__ieee754_sqrtf): Build only if
5219 _ARCH_PPCSQ is defined.
5220 (__ieee754_sqrtf): Use _ARCH_PPCSQ to select wheter to use hardware
5222 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Remove file.
5224 2015-01-27 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5226 * iconv/loop.c: Suppress array out of bound warning caused by GCC
5227 bug (GCC BZ #64739).
5229 2015-01-25 Andreas Schwab <schwab@linux-m68k.org>
5231 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h (lll_futex_requeue):
5232 Mark _retval as used.
5233 (lll_futex_wake_unlock): Likewise.
5234 (lll_futex_timed_wait_requeue_pi): Likewise.
5236 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
5237 (atomic_compare_and_exchange_val_acq): Use uint32_t for the
5240 * sysdeps/m68k/m680x0/fpu/fraiseexcpt.c (__feraiseexcept): Use
5243 * sysdeps/m68k/bits/byteswap.h (__bswap_16, __bswap_32)
5244 (__bswap_64): Mark as __always_inline.
5246 2015-01-25 Bram <bug_rh@spam.wizbit.be>
5249 * elf/dl-load.c (open_path): Avoid writing to 'env_path_list'
5250 when none of the search directories exist.
5252 2015-01-24 Adhemerval Zanellla <azanella@linux.vnet.ibm.com>
5255 * sysdeps/powerpc/powerpc64/power8/memset.S: Use power7 instead of
5256 power8 in .machine directive.
5259 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Force value
5260 set dependency from opd value.
5262 2015-01-23 H.J. Lu <hongjiu.lu@intel.com>
5264 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
5265 Treat model numbers 0x4a/0x4d/0x5a/0x5d as Intel Silvermont
5268 2015-01-23 H.J. Lu <hongjiu.lu@intel.com>
5271 * nptl/sem_post.c (__new_sem_post): Replace unsigned long int
5273 * nptl/sem_waitcommon.c (__sem_wait_cleanup): Replace 1UL with
5275 (__new_sem_wait_fast): Replace unsigned long with uint64_t.
5276 (__new_sem_wait_slow): Replace unsigned long int with uint64_t.
5277 Replace 1UL with (uint64_t) 1.
5278 * sysdeps/nptl/internaltypes.h (new_sem): Replace unsigned long
5281 2015-01-23 Roland McGrath <roland@hack.frob.com>
5283 * inet/if_index.c (if_nameindex): Add missing libc_hidden_weak.
5284 (if_freenameindex): Likewise.
5286 * resource/getrlimit64.c: Add missing libc_hidden_def.
5288 2015-01-22 Joseph Myers <joseph@codesourcery.com>
5290 * soft-fp/op-common.h (_FP_ADD_INTERNAL): Declare labels with
5292 (_FP_FMA): Likewise.
5293 (_FP_TO_INT_ROUND): Likewise.
5294 (_FP_FROM_INT): Likewise.
5296 2015-01-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5299 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c (__get_clockfreq):
5300 Make code racy and cancel safe.
5302 2015-01-21 Carlos O'Donell <carlos@redhat.com>
5304 * sysdeps/arm/unwind-resume.h: Fix copyright year.
5305 * dlfcn/tst-rec-dlopen.c: Fix incorrect copyright year and
5308 * pwd/tst-getpw.c: Rewrite.
5311 * dlfcn/Makefile (tests): Add tst-rec-dlopen.
5312 (modules-names): Add moddummy1 and moddummy2.
5313 ($(objpfx)tst-rec-dlopen): Define.
5314 * dlfcn/moddummy1.c: New file.
5315 * dlfcn/moddummy2.c: New file.
5316 * dlfcn/tst-rec-dlopen.c: New file.
5317 * elf/dl-cache.c (_dl_load_cache_lookup):
5318 Return char*. Copy result with alloca/strcpy/strdup.
5319 * elf/dl-load.c (_dl_map_object): _dl_load_cached_lookup
5320 returns char*. Free cached. If not saving realname
5322 * elf/dl-open.c (dl_open_worker): Do not assert that
5323 _r_debug->r_state is RT_CONSISTENT.
5324 * sysdeps/generic/ldsodefs.h: _dl_load_cache_lookup
5327 2015-01-21 Torvald Riegel <triegel@redhat.com>
5328 Carlos O'Donell <carlos@redhat.com>
5331 * nptl/sem_waitcommon.c: New file.
5332 * nptl/sem_wait.c: Include sem_waitcommon.c.
5333 (__sem_wait_cleanup, do_futex_wait): Remove.
5334 (__new_sem_wait): Adapt.
5335 (__new_sem_trywait): New function.
5336 (__old_sem_trywait): Moved here from nptl/sem_trywait.c.
5337 * nptl/sem_timedwait.c: Include sem_waitcommon.c.
5338 (__sem_wait_cleanup, do_futex_timed_wait): Remove.
5339 (sem_timedwait): Adapt.
5340 * nptl/sem_post.c (__new_sem_post): Adapt.
5341 (futex_wake): New function.
5342 (__old_sem_post): Add release MO fence.
5343 * nptl/sem_open.c (sem_open): Adapt.
5344 * nptl/sem_init.c (__new_sem_init): Adapt.
5345 (futex_private_if_supported): New function.
5346 * nptl/sem_getvalue.c (__new_sem_getvalue): Adapt.
5347 (__old_sem_getvalue): Add using previous code.
5348 * sysdeps/nptl/internaltypes.h: Adapt.
5349 * nptl/tst-sem13.c (do_test): Adapt.
5350 * nptl/tst-sem11.c (main): Adapt.
5351 * nptl/sem_trywait.c: Remove.
5352 * nptl/DESIGN-sem.txt: Remove.
5353 * nptl/Makefile (libpthread-routines): Remove sem_trywait.
5354 (gen-as-const-headers): Remove structsem.sym.
5355 * nptl/structsem.sym: Remove.
5356 * sysdeps/unix/sysv/linux/alpha/sem_post.c: Remove.
5357 * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Remove.
5358 * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Remove.
5359 * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Remove.
5360 * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Remove.
5361 * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Remove.
5362 * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Remove.
5363 * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Remove.
5364 * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Remove.
5365 * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Remove.
5366 * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Remove.
5367 * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Remove.
5368 * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Remove.
5369 * sysdeps/unix/sysv/linux/powerpc/sem_post.c: Remove.
5370 * sysdeps/unix/sysv/linux/sh/sem_post.S: Remove.
5371 * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Remove.
5372 * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Remove.
5373 * sysdeps/unix/sysv/linux/sh/sem_wait.S: Remove.
5374 * sysdeps/unix/sysv/linux/x86_64/sem_post.S: Remove.
5375 * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Remove.
5376 * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Remove.
5377 * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Remove.
5379 2015-01-20 Carlos O'Donell <carlos@redhat.com>
5381 * INSTALL: Regenerated.
5383 * po/libc.pot: Regenerated.
5385 2015-01-18 Chung-Lin Tang <cltang@codesourcery.com>
5386 Sandra Loosemore <sandra@codesourcery.com>
5387 Andrew Jenner <andrew@codesourcery.com>
5388 Joseph Myers <joseph@codesourcery.com>
5389 Nathan Sidwell <nathan@codesourcery.com>
5391 * NEWS: Mention new Nios II port.
5392 * sysdeps/nios2/Implies: New file.
5393 * sysdeps/nios2/Makefile: New file.
5394 * sysdeps/nios2/Subdirs: New file.
5395 * sysdeps/nios2/Versions: New file.
5396 * sysdeps/nios2/__longjmp.S: New file.
5397 * sysdeps/nios2/abort-instr.h: New file.
5398 * sysdeps/nios2/backtrace.c: New file.
5399 * sysdeps/nios2/bits/endian.h: New file.
5400 * sysdeps/nios2/bits/fenv.h: New file.
5401 * sysdeps/nios2/bits/link.h: New file.
5402 * sysdeps/nios2/bits/setjmp.h: New file.
5403 * sysdeps/nios2/bsd-_setjmp.S: New file.
5404 * sysdeps/nios2/bsd-setjmp.S: New file.
5405 * sysdeps/nios2/configure: New generated file.
5406 * sysdeps/nios2/configure.ac: New file.
5407 * sysdeps/nios2/crti.S: New file.
5408 * sysdeps/nios2/crtn.S: New file.
5409 * sysdeps/nios2/dl-init.c: New file.
5410 * sysdeps/nios2/dl-machine.h: New file.
5411 * sysdeps/nios2/dl-sysdep.h: New file.
5412 * sysdeps/nios2/dl-tls.h: New file.
5413 * sysdeps/nios2/dl-trampoline.S: New file.
5414 * sysdeps/nios2/gccframe.h: New file.
5415 * sysdeps/nios2/gmp-mparam.h: New file.
5416 * sysdeps/nios2/jmpbuf-offsets.h: New file.
5417 * sysdeps/nios2/jmpbuf-unwind.h: New file.
5418 * sysdeps/nios2/ldsodefs.h: New file.
5419 * sysdeps/nios2/libc-tls.c: New file.
5420 * sysdeps/nios2/libm-test-ulps: New file.
5421 * sysdeps/nios2/machine-gmon.h: New file.
5422 * sysdeps/nios2/math-tests.h: New file.
5423 * sysdeps/nios2/math_private.h: New file.
5424 * sysdeps/nios2/memusage.h: New file.
5425 * sysdeps/nios2/nptl/Makefile: New file.
5426 * sysdeps/nios2/nptl/bits/pthreadtypes.h: New file.
5427 * sysdeps/nios2/nptl/bits/semaphore.h: New file.
5428 * sysdeps/nios2/nptl/pthread_spin_lock.c: New file.
5429 * sysdeps/nios2/nptl/pthreaddef.h: New file.
5430 * sysdeps/nios2/nptl/tcb-offsets.sym: New file.
5431 * sysdeps/nios2/nptl/tls.h: New file.
5432 * sysdeps/nios2/preconfigure: New file.
5433 * sysdeps/nios2/s_fma.c: New file.
5434 * sysdeps/nios2/s_fmaf.c: New file.
5435 * sysdeps/nios2/setjmp.S: New file.
5436 * sysdeps/nios2/sfp-machine.h: New file.
5437 * sysdeps/nios2/sotruss-lib.c: New file.
5438 * sysdeps/nios2/stackguard-macros.h: New file.
5439 * sysdeps/nios2/stackinfo.h: New file.
5440 * sysdeps/nios2/start.S: New file.
5441 * sysdeps/nios2/sysdep.h: New file.
5442 * sysdeps/nios2/tls-macros.h: New file.
5443 * sysdeps/nios2/tst-audit.h: New file.
5444 * sysdeps/unix/sysv/linux/nios2/Implies: New file.
5445 * sysdeps/unix/sysv/linux/nios2/Makefile: New file.
5446 * sysdeps/unix/sysv/linux/nios2/Versions: New file.
5447 * sysdeps/unix/sysv/linux/nios2/arch-fork.h: New file.
5448 * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: New file.
5449 * sysdeps/unix/sysv/linux/nios2/bits/mman.h: New file.
5450 * sysdeps/unix/sysv/linux/nios2/cacheflush.c: New file.
5451 * sysdeps/unix/sysv/linux/nios2/clone.S: New file.
5452 * sysdeps/unix/sysv/linux/nios2/configure: New generated file.
5453 * sysdeps/unix/sysv/linux/nios2/configure.ac: New file.
5454 * sysdeps/unix/sysv/linux/nios2/getcontext.S: New file.
5455 * sysdeps/unix/sysv/linux/nios2/kernel-features.h: New file.
5456 * sysdeps/unix/sysv/linux/nios2/kernel_rt_sigframe.h: New file.
5457 * sysdeps/unix/sysv/linux/nios2/makecontext.c: New file.
5458 * sysdeps/unix/sysv/linux/nios2/profil-counter.h: New file.
5459 * sysdeps/unix/sysv/linux/nios2/setcontext.S: New file.
5460 * sysdeps/unix/sysv/linux/nios2/shlib-versions: New file.
5461 * sysdeps/unix/sysv/linux/nios2/sigcontextinfo.h: New file.
5462 * sysdeps/unix/sysv/linux/nios2/swapcontext.S: New file.
5463 * sysdeps/unix/sysv/linux/nios2/sys/cachectl.h: New file.
5464 * sysdeps/unix/sysv/linux/nios2/sys/procfs.h: New file.
5465 * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h: New file.
5466 * sysdeps/unix/sysv/linux/nios2/sys/user.h: New file.
5467 * sysdeps/unix/sysv/linux/nios2/syscall.S: New file.
5468 * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h: New file.
5469 * sysdeps/unix/sysv/linux/nios2/sysdep.S: New file.
5470 * sysdeps/unix/sysv/linux/nios2/sysdep.h: New file.
5471 * sysdeps/unix/sysv/linux/nios2/ucontext_i.sym: New file.
5472 * sysdeps/unix/sysv/linux/nios2/vfork.S: New file.
5473 * sysdeps/unix/sysv/linux/nios2/c++-types.data: New file.
5474 * sysdeps/unix/sysv/linux/nios2/ld.abilist: New file.
5475 * sysdeps/unix/sysv/linux/nios2/libBrokenLocale.abilist: New file.
5476 * sysdeps/unix/sysv/linux/nios2/libanl.abilist: New file.
5477 * sysdeps/unix/sysv/linux/nios2/libc.abilist: New file.
5478 * sysdeps/unix/sysv/linux/nios2/libcrypt.abilist: New file.
5479 * sysdeps/unix/sysv/linux/nios2/libdl.abilist: New file.
5480 * sysdeps/unix/sysv/linux/nios2/libm.abilist: New file.
5481 * sysdeps/unix/sysv/linux/nios2/libnsl.abilist: New file.
5482 * sysdeps/unix/sysv/linux/nios2/libpthread.abilist: New file.
5483 * sysdeps/unix/sysv/linux/nios2/libresolv.abilist: New file.
5484 * sysdeps/unix/sysv/linux/nios2/librt.abilist: New file.
5485 * sysdeps/unix/sysv/linux/nios2/libthread_db.abilist: New file.
5486 * sysdeps/unix/sysv/linux/nios2/libutil.abilist: New file.
5487 * sysdeps/unix/sysv/linux/nios2/localplt.data: New file.
5489 2015-01-16 Stefan Liebler <stli@linux.vnet.ibm.com>
5492 * sysdeps/unix/sysv/linux/s390/s390-32/getutent.c
5493 (getutent): Use weak_alias in non SHARED case
5494 and default_symbol_version in SHARED case.
5495 * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c
5496 (getutent_r, pututline): Likewise.
5497 * sysdeps/unix/sysv/linux/s390/s390-32/getutid.c
5498 (getutid): Likewise.
5499 * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c
5500 (getutid_r): Likewise.
5501 * sysdeps/unix/sysv/linux/s390/s390-32/getutline.c
5502 (getutline): Likewise.
5503 * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c
5504 (getutline_r): Likewise.
5505 * sysdeps/unix/sysv/linux/s390/s390-32/updwtmp.c
5506 (updwtmp): Likewise.
5508 2015-01-16 Stefan Liebler <stli@linux.vnet.ibm.com>
5511 * sysdeps/s390/s390-32/memcmp.S
5512 (memcmp_g5): Rename to __memcmp_g5.
5513 * sysdeps/s390/s390-32/memcpy.S
5514 (memcpy_g5): Rename to __memcpy_g5.
5515 Jump to __memcpy_mvcle instead of memcpy_mvcle.
5516 (memcpy_mvcle) Rename to __memcpy_mvcle.
5517 * sysdeps/s390/s390-32/memset.S
5518 (memset_g5): Rename to __memset_g5.
5519 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
5520 (IFUNC_RESOLVE): Prefix ifunc-resolve function
5521 and use prefixed functions.
5522 * sysdeps/s390/s390-32/multiarch/memcmp.S
5523 (memcmp_z196): Rename to __memcmp_z196.
5524 (memcmp_z10): Rename to __memcmp_z10.
5525 (memcmp): Set alias to __memcmp_g5.
5526 (bcmp): Set alias to __memcmp_g5.
5527 * sysdeps/s390/s390-32/multiarch/memcpy.S
5528 (memcpy_z196): Rename to __memcpy_z196.
5529 Jump to __memcpy_mvcle instead of memcpy_mvcle.
5530 (memcpy_z10): Rename to __memcpy_z10.
5531 Jump to __memcpy_mvcle instead of memcpy_mvcle.
5532 (memcpy): Set alias to __memcpy_g5.
5533 * sysdeps/s390/s390-32/multiarch/memset.S
5534 (memset_z196): Rename to __memset_z196.
5535 Jump to __memset_mvcle instead of memset_mvcle.
5536 (memset_z10): Rename to __memset_z10.
5537 Jump to __memset_mvcle instead of memset_mvcle.
5538 (memset_mvcle) Rename to __memset_mvcle.
5539 (memset): Set alias to __memset_g5.
5540 * sysdeps/s390/s390-64/memcmp.S
5541 (memcmp_z900): Rename to __memcmp_z900.
5542 * sysdeps/s390/s390-64/memcpy.S
5543 (memcpy_z900): Rename to __memcpy_z900.
5544 Jump to __memcpy_mvcle instead of memcpy_mvcle.
5545 (memcpy_mvcle) Rename to __memcpy_mvcle.
5546 * sysdeps/s390/s390-64/memset.S
5547 (memset_z900): Rename to __memset_z900.
5548 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c
5549 (IFUNC_RESOLVE): Prefix ifunc-resolve function
5550 and use prefixed functions.
5551 * sysdeps/s390/s390-64/multiarch/memcmp.S
5552 (memcmp_z196): Rename to __memcmp_z196.
5553 (memcmp_z10): Rename to __memcmp_z10.
5554 (memcmp): Set alias to __memcmp_z900.
5555 (bcmp): Set alias to __memcmp_z900.
5556 * sysdeps/s390/s390-64/multiarch/memcpy.S
5557 (memcpy_z196): Rename to __memcpy_z196.
5558 Jump to __memcpy_mvcle instead of memcpy_mvcle.
5559 (memcpy_z10): Rename to __memcpy_z10.
5560 Jump to __memcpy_mvcle instead of memcpy_mvcle.
5561 (memcpy): Set alias to __memcpy_z900.
5562 * sysdeps/s390/s390-64/multiarch/memset.S
5563 (memset_z196): Rename to __memset_z196.
5564 Jump to __memset_mvcle instead of memset_mvcle.
5565 (memset_z10): Rename to __memset_z10.
5566 Jump to __memset_mvcle instead of memset_mvcle.
5567 (memset_mvcle) Rename to __memset_mvcle.
5568 (memset): Set alias to __memset_z900.
5570 2015-01-14 Joseph Myers <joseph@codesourcery.com>
5573 * sysdeps/powerpc/nofpu/feholdexcpt.c (__feholdexcept): Call
5574 __fesetenv instead of fesetenv.
5576 2015-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
5578 * sysdeps/s390/dl-tls.h [IS_IN (rtld)]: Define __tls_get_addr
5581 2015-01-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5583 * sysdeps/powerpc/powerpc64/power7/memcmp.S (memcmp): Fix performance
5586 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: New file.
5587 * sysdeps/powerpc/powerpc64/power8/strncmp.S: New file.
5588 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
5589 strncmp-power8 object.
5590 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
5591 (__libc_ifunc_impl_list): Add __strncmp_power8 implementation.
5592 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c (strncmp): Likewise.
5595 2015-01-13 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
5596 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5598 * sysdeps/powerpc/powerpc64/power7/strcmp.S (strcmp): Optimize
5599 trailing byte check.
5601 2015-01-13 David S. Miller <davem@davemloft.net>
5603 * include/signal.h (__sigreturn): Guard with __USE_MISC.
5605 2015-01-13 Roland McGrath <roland@hack.frob.com>
5607 * login/logout.c (logout): Use memset rather than bzero.
5608 * nis/nss_compat/compat-pwd.c (getpwent_next_file): Likewise.
5609 * nis/nss_compat/compat-spwd.c (getspent_next_file): Likewise.
5610 * resolv/gethnamaddr.c (gethostbyaddr): Use memcmp rather than bcmp.
5611 (_gethtbyaddr): Likewise.
5612 * locale/programs/simple-hash.c (bcopy): Macro removed.
5614 2015-01-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5616 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
5617 Add strcmp-power8 object.
5618 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
5619 (__libc_ifunc_impl_list): Add __strcmp_power8 implementation.
5620 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: New file.
5621 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c (strcmp): Add
5622 __strcmp_power8 implementation.
5623 * sysdeps/powerpc/powerpc64/power8/strcmp.S: New file.
5626 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
5627 Add strncpy-power8 and stpncpy-power8 objects.
5628 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
5629 (__libc_ifunc_impl_list): Add __strncpy_power8 and stpncpy_power8
5631 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: New file.
5632 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c (__stpncpy): Add
5633 __stpncpy_power8 implementation.
5634 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: New file.
5635 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c (strncpy): Add
5636 __strncpy_power8 implementation.
5637 * sysdeps/powerpc/powerpc64/power8/stpncpy.S: New file.
5638 * sysdeps/powerpc/powerpc64/power8/strncpy.S: New file.
5641 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.c: New file.
5642 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: Remove file.
5643 * sysdeps/powerpc/powerpc64/power7/strncat.S: Likewise.
5645 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
5646 strncat-power8 object.
5647 * sysdeps/powerpc/powerpc64/multiarch/strcat.c (strcat): Add
5648 __strcat_power8 implementation.
5649 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
5650 (__libc_ifunc_impl_list): Add __strcat_power8 implementation.
5651 * sysdeps/powerpc/powerpc64/multiarch/strcat-power8.c: New file:
5652 optimized strcat for power8.
5654 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
5655 strcpy-power8 and stpcpy-power8 objects.
5656 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
5657 (__libc_ifunc_impl_list): Add __strcpy_power8 and __stpcpy_power8
5659 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power8.S: New file:
5660 multiarch stpcpy implementation for POWER8.
5661 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power8.S: New file;
5662 multiarch strcpy implementation for POWER8.
5663 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c (strcpy): Add
5664 __strcpy_power8 function.
5665 * sysdeps/powerpc/powerpc64/power8/stpcpy.S: New file: optimized
5667 * sysdeps/powerpc/powerpc64/power8/strcpy.S: New file: optimized
5671 2015-01-13 Leonhard Holz <leonhard.holz@web.de>
5674 * string/strxfrm_l.c (STRXFRM): Allocate fixed size cache for
5675 weights and rules. Use do_xfrm_cached if data fits in cache,
5676 do_xfrm otherwise. Moved former main loop to...
5677 * (do_xfrm_cached): New function.
5678 * (do_xfrm): Non-caching version of do_xfrm_cached. Uses
5679 find_idx, find_position and stack_push.
5680 * (find_idx): New function.
5681 * (find_position): Likewise.
5682 * localedata/sort-test.sh: Added test run for do_xfrm.
5683 * localedata/xfrm-test.c (main): Added command line option
5684 -nocache to run the test with strings that are too large for
5687 2015-01-13 Torvald Riegel <triegel@redhat.com>
5689 * sysdeps/nptl/fork.c (__libc_fork): Provide address of futex
5690 variable to lll_futex_wake call, not the value itself.
5692 2015-01-12 Joseph Myers <joseph@codesourcery.com>
5695 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (twom63): Rename to
5696 twom64. Adjust value to 0x1p-64L.
5697 (__scalblnl): Only return standard underflowing result for K <=
5698 -64 not K <= -63; adjust exponent for underflowing result by 64
5700 * math/libm-test.inc (scalbn_test_data): Add more tests.
5701 (scalbln_test_data): Likewise.
5704 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (two63): Change value to
5706 (__scalblnl): Get new exponent of adjusted subnormal value from ES
5708 * math/libm-test.inc (scalbn_test_data): Add more tests.
5709 (scalbln_test_data): Likewise.
5711 2015-01-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5712 Stefani Seibold <stefani@seibold.net>
5714 * sysdeps/unix/sysv/linux/x86_64/Makefile [$(subdir) = elf]
5715 (sysdep_routines): Add dl-vdso here, ...
5716 * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = elf]
5717 (sysdep_routines): ... not here.
5718 * sysdeps/unix/sysv/linux/i386/gettimeofday.c: New file: set syscall
5719 fallback when vDSO is not presented.
5720 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
5721 Define with libc_hidden_proto/libc_hidden_data_def definitions.
5722 (_libc_vdso_platform_setup): Rename to __vdso_platform_setup.
5723 * sysdeps/unix/sysv/linux/i386/init-first.c: New file: likewise.
5724 * sysdeps/unix/sysv/linux/i386/time.c: New file: likewise.
5725 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Moved to ...
5726 * sysdeps/unix/sysv/linux/x86/libc-vdso.h: ... here.
5727 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: Move to ...
5728 * sysdeps/unix/sysv/linux/x86/clock_gettime.c: ... here.
5729 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Move to ...
5730 * sysdeps/unix/sysv/linux/x86/gettimeofday.c: ... here. Also added
5731 fallback configurable symbol when vDSO is not available.
5732 * sysdeps/unix/sysv/linux/x86_64/time.c: Move to ...
5733 * sysdeps/unix/sysv/linux/x86/time.c: ... here. Also refactored to
5734 be able to redefine fallback symbol when vDSO is not available.
5735 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: Move to ...
5736 * sysdeps/unix/sysv/linux/x86/timespec_get.c: ... here.
5738 2015-01-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5740 * sysdeps/powerpc/nptl/tls.h (tcbhead_t): Add tm_capable field.
5741 (TLS_INIT_TP): Add tm_capable initialization.
5742 (TLS_DEFINE_INIT_TP): Likewise.
5743 (THREAD_GET_TM_CAPABLE): New file: get tm_capable field value from
5745 (THREAD_SET_TM_CAPABLE): New file: set tm_capable field value in TCB.
5746 * sysdeps/powerpc/nptl/tcb-offsets.sym (TM_CAPABLE): Add field offset
5748 * sysdeps/powerpc/powerpc32/sysdep.h (DO_CALL): Abort hardware
5749 transactoion is lock elision is built and TCB tm_capable is set.
5750 * sysdeps/powerpc/powerpc64/sysdep.h (DO_CALL): Likewise.
5751 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
5752 (INTERNAL_SYSCALL_NCS): Likewise.
5753 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
5754 (INTERNAL_SYSCALL_NCS): Likewise.
5755 * sysdeps/powerpc/sysdep.h (ABORT_TRANSACTION): New define.
5757 * sysdeps/powerpc/nptl/elide.h: New file: generic lock elision support
5759 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
5760 [pthread_rwlock_t] (__pad1): Change size to 7 bytes in 64 bits case
5761 and remove it for 32 bits case.
5762 [pthread_rwlock_t] (__rwelision): New field for lock elision.
5763 (__PTHREAD_RWLOCK_ELISION_EXTRA): Adjust for new lock elision field
5765 * sysdeps/unix/sysv/linux/powerpc/elision-conf.c (elision_init):
5766 Disable lock elision with rdlocks if elision is not available.
5768 * sysdeps/unix/sysv/linux/powerpc/Makefile [nptl]
5769 (sysdep_routines): Add lock elision objects.
5770 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
5771 [pthread_mutex_t] (__spins): Rework to add lock elision field.
5772 [pthread_mutex_t] (__elision): Add field.
5773 [__PTHREAD_SPINS]: Adjust to init lock elision field.
5774 * sysdeps/unix/sysv/linux/powerpc/elision-conf.c: New file: lock
5775 elision definitions for powerpc.
5776 * sysdeps/unix/sysv/linux/powerpc/elision-lock.c: New file:
5777 implementation of lock elision for powerpc.
5778 * sysdeps/unix/sysv/linux/powerpc/elision-timed.c: New file:
5779 implementation of timed lock elision for powerpc.
5780 * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c: New file:
5781 implementation of trylock with lock elision for powerpc.
5782 * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c: New file:
5783 implementaion of unlock for lock elision for powerpc.
5784 * sysdeps/unix/sysv/linux/powerpc/force-elision.h: New file:
5785 automatic enable lock elision for mutexes.
5786 * sysdeps/unix/sysv/linux/powerpc/htm.h: New file: hardware
5787 transaction execution definitions for powerpc.
5788 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: New file: add TLE
5790 * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_cond_lock.c: New file.
5791 * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_lock.c: Likewise.
5792 * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_timedlock.c: Likewise.
5793 * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_trylock.c: Likewise.
5796 2015-01-09 Roland McGrath <roland@hack.frob.com>
5798 * sysdeps/posix/shm-directory.c: Use <> rather than ""
5799 for #include of <shm-directory.h>.
5801 2015-01-09 Chung-Lin Tang <cltang@codesourcery.com>
5803 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Remove MIN() and
5804 assign raw DT_REL[A]COUNT value to ranges[0].nrelative.
5806 2015-01-09 Matthew Fortune <matthew.fortune@imgtec.com>
5809 * NEWS: Mention bug fix.
5810 * sysdepsysdeps/unix/sysv/linux/microblaze/sys/user.h
5811 (PAGE_SHIFT, PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Remove.
5812 (HOST_TEXT_START_ADDR, HOST_STACK_END_ADDR): Remove.
5814 2015-01-09 Torvald Riegel <triegel@redhat.com>
5816 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Delete file.
5818 2015-01-09 Torvald Riegel <triegel@redhat.com>
5820 * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: Delete file.
5822 2015-01-09 David Holsgrove <david.holsgrove@xilinx.com>
5824 * sysdeps/microblaze/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as void
5825 pointer and cast to uintptr_t.
5827 2015-01-09 David Holsgrove <david.holsgrove@xilinx.com>
5829 * sysdeps/microblaze/nptl/tls.h (__microblaze_get_thread_area): Function
5831 (READ_THREAD_POINTER): Use __microblaze_thread_area instead.
5833 2015-01-09 David Holsgrove <david.holsgrove@xilinx.com>
5835 * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Use NULL instead
5838 2015-01-08 Roland McGrath <roland@hack.frob.com>
5840 * sysdeps/pthread/timer_routines.c: Fix <pthreadP.h> include to use
5841 <nptl/pthreadP.h> instead.
5842 * sysdeps/pthread/aio_notify.c: Include <signal.h> for raise decl.
5844 * signal/allocrtsig.c (RESERVED_SIGRT): New macro, defined to 0 if not
5846 [__SIGRTMIN] (init): Function removed.
5847 [__SIGRTMIN] (initialized): Variable removed.
5848 [!__SIGRTMIN] (current_rtmin, current_rtmax): Variables removed.
5849 [__SIGRTMIN] (current_rtmin, current_rtmax): Initialize to
5850 __SIGRTMIN + RESERVED_SIGRT and __SIGRTMAX, respectively.
5851 (__libc_current_sigrtmin) [__SIGRTMIN]: Don't call init.
5852 (__libc_current_sigrtmin) [!__SIGRTMIN]: Just return -1.
5853 (__libc_current_sigrtmin): Add __libc_current_sigrtmin_private alias.
5854 (__libc_current_sigrtmax) [__SIGRTMIN]: Don't call init.
5855 (__libc_current_sigrtmax) [!__SIGRTMIN]: Just return -1.
5856 (__libc_current_sigrtmax): Add __libc_current_sigrtmax_private alias.
5857 (__libc_allocate_rtsig) [__SIGRTMIN]: Don't call init.
5858 (__libc_allocate_rtsig): Add __libc_allocate_rtsig_private alias.
5859 * sysdeps/nptl/allocrtsig.c: New file.
5860 * sysdeps/unix/sysv/linux/allocrtsig.c: File removed.
5861 * sysdeps/unix/sysv/linux/testrtsig.h: File removed.
5862 * sysdeps/generic/testrtsig.h: File removed.
5864 * nptl/pthread_sigmask.c [SIGCANCEL || SIGTIMER || SIGSETXID]: #error.
5865 (pthread_sigmask): Call sigprocmask, not __sigprocmask.
5867 * nptl/nptl-init.c (pthread_functions): Conditionalize
5868 .ptr__nptl_setxid initialization on [SIGSETXID].
5870 * sysdeps/nptl/sys/procfs.h: New file.
5871 * nptl_db/Makefile (headers): Add it.
5872 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Don't add it.
5874 * nptl/pthreadP.h (check_cpuset_attr): Moved ...
5875 * sysdeps/unix/sysv/linux/check-cpuset.h: ... to this new file.
5876 * nptl/pthread_attr_setaffinity.c: Include it.
5877 * nptl/pthread_setattr_default_np.c: Likewise.
5878 * nptl/check-cpuset.h: New file.
5880 2015-01-08 Richard Henderson <rth@redhat.com>
5882 * elf/Makefile (CFLAGS-tst-execstack-mod.c): Add -Wno-trampolines
5883 (CFLAGS-tst-execstack-prog.c): Likewise.
5884 * nptl/Makefile (CFLAGS-tst-execstack-mod.c): Likewise.
5886 2015-01-08 Chung-Lin Tang <cltang@codesourcery.com>
5887 Sandra Loosemore <sandra@codesourcery.com>
5888 Andrew Jenner <andrew@codesourcery.com>
5889 Joseph Myers <joseph@codesourcery.com>
5890 Nathan Sidwell <nathan@codesourcery.com>
5892 * elf/elf.h (EM_ALTERA_NIOS2): New machine number for Altera Nios II.
5893 (DT_NIOS2_GP): New dynamic entry type for Nios II _gp address.
5894 (R_NIOS2_NONE,R_NIOS2_S16,R_NIOS2_U16): Define Nios II relocations.
5895 (R_NIOS2_PCREL16,R_NIOS2_CALL26,R_NIOS2_IMM5): Likewise.
5896 (R_NIOS2_CACHE_OPX,R_NIOS2_IMM6,R_NIOS2_IMM8,R_NIOS2_HI16): Likewise.
5897 (R_NIOS2_LO16,R_NIOS2_HIADJ16,R_NIOS2_BFD_RELOC_32): Likewise.
5898 (R_NIOS2_BFD_RELOC_16,R_NIOS2_BFD_RELOC_8,R_NIOS2_GPREL): Likewise.
5899 (R_NIOS2_GNU_VTINHERIT,R_NIOS2_GNU_VTENTRY,R_NIOS2_UJMP): Likewise.
5900 (R_NIOS2_CJMP,R_NIOS2_CALLR,R_NIOS2_ALIGN,R_NIOS2_GOT16): Likewise.
5901 (R_NIOS2_CALL16,R_NIOS2_GOTOFF_LO,R_NIOS2_GOTOFF_HA): Likewise.
5902 (R_NIOS2_PCREL_LO,R_NIOS2_PCREL_HA,R_NIOS2_TLS_GD16): Likewise.
5903 (R_NIOS2_TLS_LDM16,R_NIOS2_TLS_LDO16,R_NIOS2_TLS_IE16): Likewise.
5904 (R_NIOS2_TLS_LE16,R_NIOS2_TLS_DTPMOD,R_NIOS2_TLS_DTPREL): Likewise.
5905 (R_NIOS2_TLS_TPREL,R_NIOS2_COPY,R_NIOS2_GLOB_DAT): Likewise.
5906 (R_NIOS2_JUMP_SLOT,R_NIOS2_RELATIVE,R_NIOS2_GOTOFF): Likewise.
5907 (R_NIOS2_CALL26_NOAT,R_NIOS2_GOT_LO,R_NIOS2_GOT_HA): Likewise.
5908 (R_NIOS2_CALL_LO,R_NIOS2_CALL_HA): Likewise.
5910 2015-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5912 * sysdeps/unix/sysv/linux/futimens.c (futimens): Use address of first
5913 timespec struct member in syscall macro.
5914 * sysdeps/unix/sysv/linux/utimensat.c (utimensat): Likewise.
5915 * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Use address of
5916 first timeval struct member in syscall macro.
5917 * sysdeps/unix/sysv/linux/utimes.c (__utimeS): Likewise.
5919 2015-01-07 Joseph Myers <joseph@codesourcery.com>
5922 * include/fenv.h (__feupdateenv): Use libm_hidden_proto.
5923 * math/feupdateenv.c (__feupdateenv): Use libm_hidden_def.
5924 * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Rename to
5925 __feupdateenv and define as weak alias of __feupdateenv. Use
5927 * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Use
5929 * sysdeps/arm/feupdateenv.c (feupdateenv): Rename to __feupdateenv
5930 and define as weak alias of __feupdateenv. Use libm_hidden_weak.
5931 * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
5932 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Use
5934 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Rename to
5935 __feupdateenv and define as weak alias of __feupdateenv. Use
5937 * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Use
5939 * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Rename to
5940 __feupdateenv and define as weak alias of __feupdateenv. Use
5942 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Use
5944 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
5945 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
5946 (__feupdateenv): Likewise.
5947 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Rename to
5948 __feupdateenv and define as weak alias of __feupdateenv. Use
5950 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
5951 * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Use
5953 * sysdeps/tile/math_private.h (__feupdateenv): New inline
5955 * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Use
5957 * sysdeps/generic/math_private.h (default_libc_feupdateenv): Call
5958 __feupdateenv instead of feupdateenv.
5959 (default_libc_feupdateenv_test): Likewise.
5960 (libc_feresetround_ctx): Likewise.
5962 2015-01-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5964 * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Fix function
5967 2015-01-07 Chris Metcalf <cmetcalf@ezchip.com>
5969 * posix/regcomp.c (parse_bracket_exp): Initialize type to
5970 COLL_SYM in a couple of places to avoid uninitialized variable
5971 wanings on tilegx gcc 4.8.2.
5973 2015-01-07 Richard Earnshaw <rearnsha@arm.com>
5975 * sysdeps/aarch64/strcpy.S: New file.
5976 * sysdeps/aarch64/stpcpy.S: New file.
5979 2015-01-07 Richard Earnshaw <rearnsha@arm.com>
5981 * sysdeps/aarch64/strrchr.S: New file.
5984 2015-01-07 Eric Biggers <ebiggers3@gmail.com>
5987 * stdlib/setenv.c: Fix memory leak when setting large,
5990 2015-01-06 Vladimir A. Nazarenko <naszar@ya.ru>
5993 * misc/mntent_r.c (__getmntent_r): Cut off trailing spaces
5994 and tabs from buffer before parsing fstab entry.
5995 * misc/tst-mntent.c (main): Add test for mount entry with
5996 trailing spaces and tabs.
5998 2015-01-06 Joseph Myers <joseph@codesourcery.com>
6001 * include/fenv.h (__fesetround): Declare. Use libm_hidden_proto.
6002 * math/fesetround.c (fesetround): Rename to __fesetround and
6003 define as weak alias of __fesetround. Use libm_hidden_weak.
6004 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Likewise.
6005 * sysdeps/alpha/fpu/fesetround.c (fesetround): Likewise.
6006 * sysdeps/arm/fesetround.c (fesetround): Likewise.
6007 * sysdeps/hppa/fpu/fesetround.c (fesetround): Likewise.
6008 * sysdeps/i386/fpu/fesetround.c (fesetround): Likewise.
6009 * sysdeps/ia64/fpu/fesetround.c (fesetround): Likewise.
6010 * sysdeps/m68k/fpu/fesetround.c (fesetround): Likewise.
6011 * sysdeps/mips/fpu/fesetround.c (fesetround): Likewise.
6012 * sysdeps/powerpc/fpu/fenv_libc.h (__fesetround): Rename to
6013 __fesetround_inline.
6014 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetround_ppc): Call
6015 __fesetround_inline instead of __fesetround.
6016 * sysdeps/powerpc/fpu/fesetround.c (fesetround): Rename to
6017 __fesetround and define as weak alias of __fesetround. Use
6018 libm_hidden_weak. Call __fesetround_inline instead of
6020 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Rename to
6021 __fesetround and define as weak alias of __fesetround. Use
6023 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c (fesetround):
6025 * sysdeps/s390/fpu/fesetround.c (fesetround): Likewise.
6026 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
6027 * sysdeps/sparc/fpu/fesetround.c (fesetround): Likewise.
6028 * sysdeps/tile/math_private.h (__fesetround): New inline function.
6029 * sysdeps/x86_64/fpu/fesetround.c (fesetround): Rename to
6030 __fesetround and define as weak alias of __fesetround. Use
6032 * sysdeps/generic/math_private.h (default_libc_fesetround): Call
6033 __fesetround instead of fesetround.
6034 (default_libc_feholdexcept_setround): Likewise.
6035 (libc_feholdsetround_ctx): Likewise.
6036 (libc_feholdsetround_noex_ctx): Likewise.
6039 * include/fenv.h (__fesetenv): Use libm_hidden_proto.
6040 * math/fesetenv.c (__fesetenv): Use libm_hidden_def.
6041 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
6042 and define as weak alias of __fesetenv. Use libm_hidden_weak.
6043 * sysdeps/alpha/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
6044 * sysdeps/arm/fesetenv.c (fesetenv): Rename to __fesetenv and
6045 define as weak alias of __fesetenv. Use libm_hidden_weak.
6046 * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
6047 * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
6048 * sysdeps/ia64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
6049 define as weak alias of __fesetenv. Use libm_hidden_weak.
6050 * sysdeps/m68k/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
6051 * sysdeps/mips/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
6052 define as weak alias of __fesetenv. Use libm_hidden_weak.
6053 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Use
6055 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Likewise.
6056 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c (__fesetenv):
6058 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
6059 define as weak alias of __fesetenv. Use libm_hidden_weak.
6060 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
6061 * sysdeps/sparc/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
6062 * sysdeps/tile/math_private.h (__fesetenv): New inline function.
6063 * sysdeps/x86_64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
6064 and define as weak alias of __fesetenv. Use libm_hidden_weak.
6065 * sysdeps/generic/math_private.h (default_libc_fesetenv): Use
6066 __fesetenv instead of fesetenv.
6067 (libc_feresetround_noex_ctx): Likewise.
6068 * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
6069 * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
6070 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Likewise.
6071 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
6072 * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
6073 * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
6074 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
6075 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
6076 (__feupdateenv): Likewise.
6077 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
6078 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
6079 * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
6080 * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Likewise.
6082 2015-01-06 Aurelien Jarno <aurelien@aurel32.net>
6085 * resolv/res_init.c (__res_iclose): Only clear nsinit if the
6086 addresses have been freed.
6088 2015-01-06 Aurelien Jarno <aurelien@aurel32.net>
6090 * resolv/res_init.c (__res_vinit): Improve comments about nserv
6093 2015-01-06 Ondřej Bílka <neleai@seznam.cz>
6095 * sysdeps/unix/sysv/linux/check_pf.c (make_request):
6096 Clean up check_pf allocation pattern. addresses
6098 2015-01-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6100 * nptl/pthread_cancel.c (pthread_cancel): Use ANSI prototype.
6101 * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Likewise.
6102 * nptl/pthread_cond_wait.c (__pthread_cond_wait): Likewise.
6103 * nptl/pthread_exit.c (__pthread_exit): Likewise.
6104 * nptl/pthread_join.c (pthread_join): Likewise.
6105 * nptl/pthread_timedjoin.c (pthread_timedjoin_np): Likewise.
6106 * sysdeps/posix/waitid.c (__waitid): Likewise.
6107 * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
6108 * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
6109 * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
6110 * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
6111 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
6113 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
6114 (__libc_pread64): Likewise.
6115 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
6116 (__libc_pwrite): Likewise.
6117 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
6118 (__libc_pwrite64): Likewsie.
6119 * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
6120 * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
6121 * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
6122 * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
6123 * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
6124 * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
6125 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
6126 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
6128 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
6129 (__libc_pread64): Likewise.
6130 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_pwrite):
6132 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
6133 (__libc_pwrite64): Likewise.
6134 * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
6135 * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
6136 * sysdeps/unix/sysv/linux/preadv.c (PREADV): Likewise.
6137 * sysdeps/unix/sysv/linux/pthread_kill.c (__pthread_kill): Likewise.
6138 * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
6139 * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
6140 * sysdeps/unix/sysv/linux/pwritev.c (__libc_pwritev): Likewise.
6141 * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
6142 * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
6143 * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
6144 * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_write64): Likewise.
6145 * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
6146 * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
6147 * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Likewise.
6148 * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
6149 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
6152 2015-01-06 Andrew Senkevich <andrew.n.senkevich@gmail.com>
6154 * math/Makefile (CFLAGS-test-float.c): Remove -frounding-math.
6155 (CFLAGS-test-double.c): Likewise.
6156 (CFLAGS-test-ldouble.c): Likewise.
6157 (CPPFLAGS-test-ifloat.c): Likewise.
6158 (CPPFLAGS-test-idouble.c): Likewise.
6159 (CPPFLAGS-test-ildoubl.c): Likewise.
6160 (CFLAGS-test-test-fenv.c): Remove variable.
6161 (CFLAGS-test-misc.c): Likewise.
6163 2015-01-06 H.J. Lu <hongjiu.lu@intel.com>
6166 * bits/time.h (CLOCKS_PER_SEC): Changed to ((clock_t) 1000000).
6167 * sysdeps/unix/sysv/linux/bits/time.h (CLOCKS_PER_SEC): Likewise.
6168 * sysdeps/unix/sysv/linux/clock.c (clock): _Static_assert
6169 CLOCKS_PER_SEC == 1000000.
6170 * time/clocktest.c (main): Replace %ld with %jd and cast to
6173 2015-01-05 Roland McGrath <roland@hack.frob.com>
6175 * sysdeps/generic/unwind-resume.h: New file.
6176 * sysdeps/gnu/unwind-resume.c: Include it.
6177 (libgcc_s_personality): Use PERSONALITY_PROTO macro for the prototype.
6178 (__gcc_personality_v0): Likewise, and PERSONALITY_ARGS for the callee
6180 (libgcc_s_resume): Variable renamed to __libgcc_s_resume, made hidden
6181 global rather than static.
6182 (_Unwind_Resume): Update user.
6183 Conditionalize definition on [!HAVE_ARCH_UNWIND_RESUME].
6184 (init): Likewise. Renamed to __libgcc_s_init, made hidden global
6185 rather than static. Add __attribute__ ((cold)).
6186 (_Unwind_Resume, __gcc_personality_v0): Update callers.
6187 * sysdeps/nptl/unwind-forcedunwind.c: Likewise.
6188 * sysdeps/arm/arm-unwind-resume.S: New file.
6189 * sysdeps/arm/rt-arm-unwind-resume.S: New file.
6190 * sysdeps/arm/pt-arm-unwind-resume.S: New file.
6191 * sysdeps/arm/Makefile [$(subdir) = csu]
6192 (sysdep_routines, shared-only-routines): Add arm-unwind-resume.
6193 [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
6194 Add rt-arm-unwind-resume.
6196 (libpthread-sysdep_routines, libpthread-shared-only-routines):
6197 Add pt-arm-unwind-resume.
6198 * sysdeps/unix/sysv/linux/arm/unwind-resume.c: File removed.
6199 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: File removed.
6201 2015-01-05 Joseph Myers <joseph@codesourcery.com>
6204 * include/fenv.h (__feholdexcept): Declare. Use
6206 * math/feholdexcpt.c (feholdexcept): Rename to __feholdexcept and
6207 define as weak alias of __feholdexcept. Use libm_hidden_weak.
6208 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Likewise.
6209 * sysdeps/alpha/fpu/feholdexcpt.c (feholdexcept): Likewise.
6210 * sysdeps/arm/feholdexcpt.c (feholdexcept): Likewise.
6211 * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Likewise.
6212 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Likewise.
6213 * sysdeps/ia64/fpu/feholdexcpt.c (feholdexcept): Likewise.
6214 * sysdeps/m68k/fpu/feholdexcpt.c (feholdexcept): Likewise.
6215 * sysdeps/mips/fpu/feholdexcpt.c (feholdexcept): Likewise.
6216 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
6217 * sysdeps/powerpc/nofpu/feholdexcpt.c (feholdexcept): Likewise.
6218 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c
6219 (feholdexcept): Likewise.
6220 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
6221 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
6222 * sysdeps/sparc/fpu/feholdexcpt.c (feholdexcept): Likewise.
6223 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
6224 * sysdeps/generic/math_private.h (default_libc_feholdexcept): Use
6225 __feholdexcept instead of feholdexcept.
6226 (default_libc_feholdexcept_setround): Likewise.
6228 2015-01-05 Steve Ellcey <sellcey@imgtec.com>
6230 * sysdeps/mips/memset.S (memset): Modify for mips32r6/mips64r6
6231 to avoid using stl/str to align destination.
6233 2015-01-05 Steve Ellcey <sellcey@imgtec.com>
6235 * sysdeps/mips/memcpy.S: Add support for mips32r6/mips64r6.
6237 2015-01-05 Joseph Myers <joseph@codesourcery.com>
6240 * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise.c
6241 [!SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)] (posix_fadvise64):
6242 Define as weak alias not strong alias.
6244 2015-01-05 Steve Ellcey <sellcey@imgtec.com>
6246 * sysdeps/mips/dl-machine.h (elf_machine_load_address): Replace
6247 bltzal with addiupc.
6248 (RTLD_START): Ditto.
6250 2015-01-05 Chris Metcalf <cmetcalf@ezchip.com>
6252 * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Fix return type
6253 for __vdso_* functions in declarations.
6254 * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise for
6256 * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL,
6257 INTERNAL_VSYSCALL): Use struct return types to check for error.
6259 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c [!defined _LP64
6260 && REGISTER_CAST_INT32_TO_INT64]: Provide explicit lround()
6261 function with cast from llround().
6262 * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Define.
6263 * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
6266 2015-01-05 Joseph Myers <joseph@codesourcery.com>
6269 * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c (posix_fadvise64):
6270 Define as weak alias not strong alias.
6273 * ctype/ctype-c99.c: New file. isblank implementation moved from
6275 * ctype/ctype-extn.c: ... here.
6276 (__isblank_l): Move to ...
6277 * ctype/ctype-c99_l.c: ... here. New file.
6278 * ctype/Makefile (routines): Add ctype-c99 and ctype-c99_l.
6279 * conform/Makefile (test-xfail-ISO99/ctype.h/linknamespace):
6281 (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
6282 (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
6283 (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
6284 (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
6285 (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
6288 * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise.c
6289 (posix_fadvise64): Define as weak alias not strong alias.
6290 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
6291 (posix_fallocate64): Likewise.
6292 * conform/Makefile (test-xfail-XOPEN2K/fcntl.h/linknamespace):
6294 (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
6295 (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
6296 (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
6297 (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
6298 (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
6300 2015-01-05 Matthew Fortune <matthew.fortune@imgtec.com>
6303 * NEWS: Mention bug fix.
6304 * sysdeps/unix/sysv/linux/mips/sys/user.h (PAGE_SHIFT): Remove.
6305 (PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Likewise.
6306 (HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR): Likewise.
6307 (HOST_STACK_END_ADDR): Likewise.
6309 2015-01-02 Joseph Myers <joseph@codesourcery.com>
6312 * include/fenv.h (__fegetround): Declare. Use libm_hidden_proto.
6313 * math/fegetround.c (fegetround): Rename to __fegetround and
6314 define as weak alias of __fegetround. Use libm_hidden_weak.
6315 * sysdeps/aarch64/fpu/fegetround.c (fegetround): Likewise.
6316 * sysdeps/alpha/fpu/fegetround.c (fegetround): Likewise.
6317 * sysdeps/arm/fegetround.c (fegetround): Likewise.
6318 * sysdeps/hppa/fpu/fegetround.c (fegetround): Likewise.
6319 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
6320 * sysdeps/ia64/fpu/fegetround.c (fegetround): Likewise.
6321 * sysdeps/m68k/fpu/fegetround.c (fegetround): Likewise.
6322 * sysdeps/mips/fpu/fegetround.c (fegetround): Likewise.
6323 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
6324 Undefine after rather than before function definition; use
6325 parentheses around function name in definition.
6326 (__fegetround): Also undefine macro after function definition.
6327 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Rename to
6328 __fegetround and define as weak alias of __fegetround. Use
6329 libm_hidden_weak. Do not undefine as macro.
6330 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
6332 * sysdeps/s390/fpu/fegetround.c (fegetround): Rename to
6333 __fegetround and define as weak alias of __fegetround. Use
6335 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
6336 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
6337 * sysdeps/tile/math_private.h (__fegetround): New inline function.
6338 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Rename to
6339 __fegetround and define as weak alias of __fegetround. Use
6341 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Use
6342 __fegetround instead of fegetround.
6345 * sysdeps/unix/sysv/linux/mips/bits/termios.h (TIOCSER_TEMT):
6346 Condition macro definition on [__USE_MISC].
6349 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h
6350 (struct sigaction): Change type of sa_flags field to int.
6353 * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (struct flock)
6354 [!__USE_FILE_OFFSET64 && _MIPS_SIM != _ABI64]: Rename pad field to
6357 * nptl/version.c (banner): Use single year in copyright notice.
6359 * NEWS: Update copyright dates.
6360 * catgets/gencat.c (print_version): Likewise.
6361 * csu/version.c (banner): Likewise.
6362 * debug/catchsegv.sh: Likewise.
6363 * debug/pcprofiledump.c (print_version): Likewise.
6364 * debug/xtrace.sh (do_version): Likewise.
6365 * elf/ldconfig.c (print_version): Likewise.
6366 * elf/ldd.bash.in: Likewise.
6367 * elf/pldd.c (print_version): Likewise.
6368 * elf/sotruss.sh: Likewise.
6369 * elf/sprof.c (print_version): Likewise.
6370 * iconv/iconv_prog.c (print_version): Likewise.
6371 * iconv/iconvconfig.c (print_version): Likewise.
6372 * locale/programs/locale.c (print_version): Likewise.
6373 * locale/programs/localedef.c (print_version): Likewise.
6374 * login/programs/pt_chown.c (print_version): Likewise.
6375 * malloc/memusage.sh (do_version): Likewise.
6376 * malloc/memusagestat.c (print_version): Likewise.
6377 * malloc/mtrace.pl: Likewise.
6378 * manual/libc.texinfo: Likewise.
6379 * nptl/version.c (banner): Likewise.
6380 * nscd/nscd.c (print_version): Likewise.
6381 * nss/getent.c (print_version): Likewise.
6382 * nss/makedb.c (print_version): Likewise.
6383 * posix/getconf.c (main): Likewise.
6384 * scripts/test-installation.pl: Likewise.
6385 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
6387 2015-01-02 Will Newton <will.newton@linaro.org>
6389 * sysdeps/arm/armv7/configure: Removed.
6390 * sysdeps/arm/armv7/configure.ac: Likewise.
6392 2015-01-02 Joseph Myers <joseph@codesourcery.com>
6394 * All files with FSF copyright notices: Update copyright dates
6395 using scripts/update-copyrights.
6396 * intl/plural.c: Regenerated.
6397 * locale/programs/charmap-kw.h: Likewise.
6398 * locale/programs/locfile-kw.h: Likewise.
6400 2015-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
6402 * scripts/gen-posix-conf-vars.awk (END): Don't use sprintf.
6404 2014-12-31 Joseph Myers <joseph@codesourcery.com>
6407 * include/fenv.h (__fegetenv): Use libm_hidden_proto.
6408 * math/fegetenv.c (__fegetenv): Use libm_hidden_def.
6409 * sysdeps/aarch64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
6410 and define as weak alias of __fegetenv. Use libm_hidden_weak.
6411 * sysdeps/alpha/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
6412 * sysdeps/arm/fegetenv.c (fegetenv): Rename to __fegetenv and
6413 define as weak alias of __fegetenv. Use libm_hidden_weak.
6414 * sysdeps/hppa/fpu/fegetenv.c (fegetenv): Likewise.
6415 * sysdeps/i386/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
6416 * sysdeps/ia64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
6417 define as weak alias of __fegetenv. Use libm_hidden_weak.
6418 * sysdeps/m68k/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
6419 * sysdeps/mips/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
6420 define as weak alias of __fegetenv. Use libm_hidden_weak.
6421 * sysdeps/powerpc/fpu/fegetenv.c (__fegetenv): Use
6423 * sysdeps/powerpc/nofpu/fegetenv.c (__fegetenv): Likewise.
6424 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (__fegetenv):
6426 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
6427 define as weak alias of __fegetenv. Use libm_hidden_weak.
6428 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
6429 * sysdeps/sparc/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
6430 * sysdeps/tile/math_private.h (__fegetenv): New inline function.
6431 * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
6432 and define as weak alias of __fegetenv. Use libm_hidden_weak.
6433 * sysdeps/generic/math_private.h (libc_feholdsetround_ctx): Use
6434 __fegetenv instead of fegetenv.
6435 (libc_feholdsetround_noex_ctx): Likewise.
6437 2014-12-31 Matthew Fortune <matthew.fortune@imgtec.com>
6439 * elf/elf.h (PT_MIPS_ABIFLAGS): Define.
6440 (Elf_MIPS_ABIFlags_v0): New structure.
6441 (EF_MIPS_FP64): Define.
6442 (MIPS_AFL_REG_NONE, MIPS_AFL_REG_32, MIPS_AFL_REG_64): Likewise.
6443 (MIPS_AFL_REG_128, MIPS_AFL_ASE_DSP, MIPS_AFL_ASE_DSP64): Likewise.
6444 (MIPS_AFL_ASE_DSPR2, MIPS_AFL_ASE_EVA, MIPS_AFL_ASE_MCU): Likewise.
6445 (MIPS_AFL_ASE_MDMX, MIPS_AFL_ASE_MIPS3D, MIPS_AFL_ASE_MT): Likewise.
6446 (MIPS_AFL_ASE_SMARTMIPS, MIPS_AFL_ASE_VIRT): Likewise.
6447 (MIPS_AFL_ASE_VIRT64, MIPS_AFL_ASE_MSA, MIPS_AFL_ASE_MSA64): Likewise.
6448 (MIPS_AFL_ASE_MIPS16, MIPS_AFL_ASE_MICROMIPS): Likewise.
6449 (MIPS_AFL_ASE_XPA, MIPS_AFL_EXT_XLR, MIPS_AFL_EXT_OCTEON2): Likewise.
6450 (MIPS_AFL_EXT_OCTEONP, MIPS_AFL_EXT_LOONGSON_3A): Likewise.
6451 (MIPS_AFL_EXT_OCTEON, MIPS_AFL_EXT_5900, MIPS_AFL_EXT_4010): Likewise.
6452 (MIPS_AFL_EXT_4100, MIPS_AFL_EXT_3900, MIPS_AFL_EXT_10000): Likewise.
6453 (MIPS_AFL_EXT_SB1, MIPS_AFL_EXT_4111, MIPS_AFL_EXT_4120): Likewise.
6454 (MIPS_AFL_EXT_5400, MIPS_AFL_EXT_5500): Likewise.
6455 (MIPS_AFL_EXT_LOONGSON_2E, MIPS_AFL_EXT_LOONGSON_2F): Likewise.
6456 (Val_GNU_MIPS_ABI_FP_ANY, Val_GNU_MIPS_ABI_FP_DOUBLE): New enum values.
6457 (Val_GNU_MIPS_ABI_FP_SINGLE, Val_GNU_MIPS_ABI_FP_SOFT): Likewise.
6458 (Val_GNU_MIPS_ABI_FP_OLD_64, Val_GNU_MIPS_ABI_FP_XX): Likewise.
6459 (Val_GNU_MIPS_ABI_FP_64, Val_GNU_MIPS_ABI_FP_64A): Likewise.
6460 (Val_GNU_MIPS_ABI_FP_MAX): Likewise.
6461 * sysdeps/mips/Makefile [subdir=elf]: Add tst-abi-interlink,
6462 tst-mode-switch-1, tst-mode-switch-2, tst-mode-switch-3 tests.
6463 * sysdeps/mips/bits/linkmap.h (struct link_map_machine): Add fpmode
6465 * sysdeps/mips/dl-machine.h (elf_machine_matches_host): Reject
6467 * sysdeps/mips/dl-machine-reject-phdr.h: New file.
6468 * sysdeps/mips/tst-abi-fp32mod.c: Likewise.
6469 * sysdeps/mips/tst-abi-fpxxmod.c: Likewise.
6470 * sysdeps/mips/tst-abi-fpxxomod.c: Likewise.
6471 * sysdeps/mips/tst-abi-fp64mod.c: Likewise.
6472 * sysdeps/mips/tst-abi-fp64amod.c: Likewise.
6473 * sysdeps/mips/tst-abi-interlink.c: Likewise.
6474 * sysdeps/mips/tst-mode-switch-1.c: Likewise.
6475 * sysdeps/mips/tst-mode-switch-2.c: Likewise.
6476 * sysdeps/mips/tst-mode-switch-3.c: Likewise.
6477 * sysdeps/unix/sysv/linux/mips/configure.ac (o32-fpabi): Define to
6478 record the current FP ABI extension.
6479 (mips-mode-switch): Define to show if kernel headers support mode
6481 * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
6482 * sysdeps/unix/sysv/linux/mips/ldsodefs.h: Increase maximum
6483 supported SYSV ABI version to 3.
6484 * sysdeps/unix/sysv/linux/mips/libc-abis: Add new MIPS_O32_FP64
6487 2014-12-31 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
6488 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6490 * sysdeps/powerpc/powerpc64/power7/strcpy.S (strcpy): Optimize unaligned
6492 * benchtests/bench-strcpy.c (test_main): Add more unaligned inputs.
6494 2014-12-31 Joseph Myers <joseph@codesourcery.com>
6496 * sysdeps/powerpc/bits/fenvinline.h (fegetround): Rename macro to
6497 __fegetround and redefine to call __fegetround. Remove condition
6498 on [!__NO_MATH_INLINES].
6499 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove inline
6501 * sysdeps/powerpc/nofpu/fenv_libc.h: Remove file.
6502 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
6504 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Include <fenv.h>
6505 instead of <fenv_libc.h>.
6506 (__llrintl): Call fegetround instead of __fegetround.
6507 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Include <fenv.h>
6508 instead of <fenv_libc.h>.
6509 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
6510 (__lrintl): Call fegetround instead of __fegetround.
6511 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Include <fenv.h>
6512 instead of <fenv_libc.h>.
6513 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
6514 (__rintl): Call fegetround instead of __fegetround.
6516 2014-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
6518 * scripts/gen-posix-conf-vars.awk: Don't use multi-dimensional
6521 2014-12-30 H.J. Lu <hongjiu.lu@intel.com>
6524 * sysdeps/i386/dl-machine.h (PI_STATIC_AND_HIDDEN): Removed.
6525 (elf_machine_dynamic) [!PI_STATIC_AND_HIDDEN]: Likewise.
6526 (elf_machine_load_address) [!PI_STATIC_AND_HIDDEN]: Likewise.
6528 2014-12-30 Andrew Senkevich <andrew.senkevich@intel.com>
6530 * sysdeps/i386/tls-macros.h: Include <features.h>.
6531 (TLS_LE): Use non-PIC version for GCC >= 5.0.
6535 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Don't
6536 define for GCC >= 5.0.
6538 2014-12-30 Chris Metcalf <cmetcalf@ezchip.com>
6540 * math/test-fenv.c (test_single_exception, set_single_exc,
6541 feenv_nomask_test, feenv_mask_test, feexcp_nomask_test,
6542 feexcp_mask_test, feenable_test, fe_single_test): Add
6543 [!FE_ALL_EXCEPT] test so these routines are not compiled in the
6544 case where they are not used.
6545 * math/libm-test.inc: Likewise.
6546 * setjmp/test-setjmp-fp.c: Mark attribute ((unused)) on variable
6547 unused in the absence of FP rounding/exception support.
6548 * stdio-common/tst-printf-round.c: Likewise.
6549 * stdlib/tst-strtod-round.c: Likewise.
6550 * stdlib/tst-strtod-underflow.c: Likewise.
6552 2014-12-30 Joseph Myers <joseph@codesourcery.com>
6555 * include/fenv.h (__feraiseexcept): Use libm_hidden_proto.
6556 * math/fraiseexcpt.c (__feraiseexcept): Use libm_hidden_def.
6557 * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
6558 __feraiseexcept and define as weak alias of __feraiseexcept. Use
6560 * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Likewise.
6561 * sysdeps/hppa/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
6562 * sysdeps/i386/fpu/fraiseexcpt.c (__feraiseexcept): Use
6564 * sysdeps/ia64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
6565 __feraiseexcept and define as weak alias of __feraiseexcept. Use
6567 * sysdeps/m68k/coldfire/fpu/fraiseexcpt.c (feraiseexcept):
6569 * sysdeps/microblaze/math_private.h (__feraiseexcept): New macro.
6570 * sysdeps/mips/fpu/fraiseexcpt.c (feraiseexcept): Rename to
6571 __feraiseexcept and define as weak alias of __feraiseexcept. Use
6573 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Use
6575 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
6576 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c
6577 (__feraiseexcept): Likewise.
6578 * sysdeps/s390/fpu/fraiseexcpt.c (feraiseexcept): Rename to
6579 __feraiseexcept and define as weak alias of __feraiseexcept. Use
6581 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
6582 * sysdeps/sparc/fpu/fraiseexcpt.c (__feraiseexcept): Use
6584 * sysdeps/tile/math_private.h (__feraiseexcept): New macro.
6585 * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (__feraiseexcept):
6586 Use libm_hidden_def.
6587 * sysdeps/x86_64/fpu/fraiseexcpt.c (__feraiseexcept): Use
6589 (feraiseexcept): Define as weak not strong alias. Use
6591 * sysdeps/x86/fpu/bits/fenv.h (__feraiseexcept_invalid_divbyzero):
6592 New inline function. Factored out of ...
6593 (feraiseexcept): ... here. Use __feraiseexcept_invalid_divbyzero.
6594 * sysdeps/x86/fpu/include/bits/fenv.h: New file.
6595 * math/e_scalb.c (invalid_fn): Call __feraiseexcept instead of
6597 * math/w_acos.c (__acos): Likewise.
6598 * math/w_asin.c (__asin): Likewise.
6599 * math/w_ilogb.c (__ilogb): Likewise.
6600 * math/w_j0.c (y0): Likewise.
6601 * math/w_j1.c (y1): Likewise.
6602 * math/w_jn.c (yn): Likewise.
6603 * math/w_log.c (__log): Likewise.
6604 * math/w_log10.c (__log10): Likewise.
6605 * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Likewise.
6606 * sysdeps/aarch64/fpu/math_private.h
6607 (libc_feupdateenv_test_aarch64): Likewise.
6608 * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
6609 * sysdeps/arm/fenv_private.h (libc_feupdateenv_test_vfp): Likewise.
6610 * sysdeps/arm/feupdateenv.c (feupdateenv): Likewise.
6611 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
6612 * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
6613 * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
6614 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Likewise.
6615 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
6616 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
6617 * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
6619 2014-12-30 H.J. Lu <hongjiu.lu@intel.com>
6622 * io/test-utime.c (main): Replace %ld with %jd and cast to
6624 * libio/tst-ftell-active-handler.c (do_append_test): Likewise.
6625 * nptl/tst-mutex5.c: Include <stdint.h>.
6626 (do_test): Replace %ld with %jd and cast to intmax_t.
6627 * posix/tst-regex.c (run_test): Likewise.
6628 (run_test_backwards): Likewise.
6629 * rt/tst-clock.c: Include <stdint.h>.
6630 (clock_test): Replace %ld with %jd and cast to intmax_t.
6631 * rt/tst-cpuclock1.c: Include <stdint.h>.
6632 (do_test): Replace %lu with %ju and cast to uintmax_t.
6633 * rt/tst-cpuclock2.c: Include <stdint.h>.
6634 (do_test): Replace %lu with %ju and cast to uintmax_t.
6635 * rt/tst-mqueue1.c: Include <stdint.h>.
6636 (check_attrs): Replace %ld with %jd and cast to intmax_t.
6637 * rt/tst-mqueue3.c (fct): Replace %ld with %jd and cast to
6639 * rt/tst-mqueue4.c (do_test): Likewise.
6640 * rt/tst-timer4.c: Include <stdint.h>.
6641 (check_ts): Replace %ld with %jd and cast to intmax_t.
6642 (do_test): Likewise.
6643 * stdio-common/tst-fmemopen2.c (do_test): Replace %ld with %jd
6644 and cast to intmax_t.
6645 * sysdeps/pthread/tst-timer.c (main): Likewise.
6646 * time/clocktest.c (main): Likewise.
6647 * time/tst-posixtz.c (do_test): Likewise.
6648 * timezone/tst-timezone.c (main): Likewise.
6650 2014-12-30 Andrew Senkevich <andrew.senkevich@intel.com>
6651 H.J. Lu <hongjiu.lu@intel.com>
6653 * sysdeps/i386/i686/multiarch/bcopy-sse2-unaligned.S: New file.
6654 * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Likewise.
6655 * sysdeps/i386/i686/multiarch/memmove-sse2-unaligned.S: Likewise.
6656 * sysdeps/i386/i686/multiarch/mempcpy-sse2-unaligned.S: Likewise.
6657 * sysdeps/i386/i686/multiarch/bcopy.S: Select the sse2_unaligned
6658 version if bit_Fast_Unaligned_Load is set.
6659 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
6660 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
6661 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
6662 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
6663 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
6664 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
6665 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
6666 bcopy-sse2-unaligned, memcpy-sse2-unaligned,
6667 memmove-sse2-unaligned and mempcpy-sse2-unaligned.
6668 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c (MAX_IFUNC): Set
6670 (__libc_ifunc_impl_list): Test __bcopy_sse2_unaligned,
6671 __memmove_chk_sse2_unaligned, __memmove_sse2_unaligned,
6672 __memcpy_chk_sse2_unaligned, __memcpy_sse2_unaligned,
6673 __mempcpy_chk_sse2_unaligned, and __mempcpy_sse2_unaligned.
6675 2014-12-29 Chris Metcalf <cmetcalf@ezchip.com>
6677 * sysdeps/unix/sysv/linux/tst-setgetname.c (do_test): Use #ifndef
6678 instead of #if to avoid a Wundef warning.
6679 * stdlib/tst-limits.c (do_test): Likewise.
6681 * sysdeps/tile/math_private.h (fetestexcept): Add macro to
6682 parallel other exception macros.
6683 (fegetenv): Convert from macro to extern inline so that it applies
6684 retroactively to inline functions already seen by the compiler.
6685 (fesetenv, feupdateenv, fegetround, fesetround): Likewise.
6687 * posix/Makefile (before-compile): Use $(objpfx) for
6688 posix-conf-vars-def.h.
6690 2014-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
6692 * posix/getconf.c (main): Use size_t for type of I.
6693 * scripts-gen-posix-conf-vars.awk (END): Use size_t for type of
6696 * posix/posix-conf-vars.list (SPEC:XBS5): Add sysconf prefix.
6697 * posix/confstr.c: Define NEED_SPEC_ARRAY to 0.
6698 * posix/posix-envs.def: Likewise.
6699 * sysdeps/posix/sysconf.c: Likewise.
6700 * posix/getconf.c: Define NEED_SPEC_ARRAY to 1.
6701 (specs): Remove array.
6702 * scripts/gen-posix-conf-vars.awk: Support generation of specs
6705 * posix/posix-conf-vars.list: Add _POSIX sysconf namespace.
6706 * sysdeps/posix/sysconf.c: Include posix-conf-vars.h.
6707 (__sysconf): Use CONF_IS_* macros.
6709 * posix/Makefile (before-compile): Add posix-conf-vars-def.h.
6710 ($(objpfx)posix-conf-vars-def.h): New target.
6711 * posix/posix-conf-vars.list: New file.
6712 * posix/posix-conf-vars.h: New file.
6713 * posix/confstr.c: Include posix-conf-vars.h.
6714 (confstr): Use CONF_IS_* macros.
6715 * posix/posix-envs.def: Include posix-conf-vars.h. Use
6717 * scripts/gen-posix-conf-vars.awk: New file.
6719 2014-12-26 Chris Metcalf <cmetcalf@ezchip.com>
6721 * sysdeps/tile/math_private.h (fegetenv, fesetenv, feupdateenv,
6722 fegetround): Add no-op macros to avoid linknamespace issues.
6724 * sysdeps/unix/sysv/linux/clock_settime.c (SYSDEP_SETTIME): Remove
6725 definitions of INTERNAL_VSYSCALL and INLINE_VSYSCALL.
6727 * sysdeps/unix/sysv/linux/tile/sysdep.h
6728 (HAVE_CLOCK_GETTIME_VSYSCALL): Move definition out of
6729 assembly-specific section to avoid a redefinition warning.
6731 * sysdeps/tile/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast to
6732 long before casting to pointer to avoid a cast warning.
6734 2014-12-23 Chris Metcalf <cmetcalf@ezchip.com>
6736 * sysdeps/tile/tilegx/Implies: New file.
6738 2014-12-23 Richard Earnshaw <rearnsha@arm.com>
6740 * string/stpcpy.c (__stpcpy): Rewrite using strlen and memcpy.
6742 2014-12-23 Florian Weimer <fweimer@redhat.com>
6744 * iconvdata/run-iconv-test.sh: Actually test iconv modules.
6746 2014-12-22 Joseph Myers <joseph@codesourcery.com>
6748 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES): Do
6750 * sysdeps/unix/sysv/linux/utimes.c: Do not include
6751 <kernel-features.h>.
6752 (__utimes) [__NR_utimes]: Make code unconditional.
6753 (__utimes) [!__ASSUME_UTIMES]: Remove conditional code.
6754 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
6755 (__ASSUME_UTIMES): Do not undefine.
6756 * sysdeps/unix/sysv/linux/tile/kernel-features.h
6757 (__ASSUME_UTIMES): Likewise.
6758 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
6759 (__ASSUME_UTIMES): Define for [__LINUX_KERNEL_VERSION >= 0x030e00]
6760 instead of undefining for [__LINUX_KERNEL_VERSION < 0x030e00].
6761 * sysdeps/unix/sysv/linux/hppa/utimes.c: New file.
6763 2014-12-22 Steve Ellcey <sellcey@imgtec.com>
6765 * sysdeps/mips/memcpy.S: Fix preprocessor indentation.
6767 2014-12-22 Chris Metcalf <cmetcalf@ezchip.com>
6770 * math/w_j0.c [defined NO_LONG_DOUBLE] (j0, y0): Convert strong
6771 alias to weak alias for j0l, y0l.
6772 * math/w_j1.c [defined NO_LONG_DOUBLE] (j1, y1): Likewise.
6773 * math/w_jn.c [defined NO_LONG_DOUBLE] (jn, yn): Likewise.
6776 * sysdeps/tile/tilegx/strstr.c (STRSTR2): Remove implicit boolean
6779 2014-12-22 Steve Ellcey <sellcey@imgtec.com>
6781 * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Set
6782 to zero if not already defined.
6784 2014-12-22 Joseph Myers <joseph@codesourcery.com>
6787 * sysdeps/ieee754/k_standard.c: Don't include <float.h>.
6788 (__kernel_standard_f): Remove. Moved to k_standardf.c.
6789 (__kernel_standard_l): Remove. Moved to k_standardl.c with
6790 (char *) casts added.
6791 * sysdeps/ieee754/k_standardf.c: New file.
6792 * sysdeps/ieee754/k_standardl.c: Likewise.
6793 * math/Makefile (libm-support): Remove k_standard.
6794 (libm-calls): Add k_standard.
6796 2014-12-22 Wilco Dijkstra <wdijkstr@arm.com>
6798 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
6799 Optimize to avoid an unnecessary FPCR read.
6801 2014-12-22 Wilco Dijkstra <wdijkstr@arm.com>
6803 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
6804 Optimize to reduce FPCR/FPSR accesses.
6806 2014-12-22 Wilco Dijkstra <wdijkstr@arm.com>
6808 * sysdeps/aarch64/fpu/ftestexcept.c (fetestexcept):
6809 Call libc_fetestexcept_aarch64.
6811 2014-12-22 Wilco Dijkstra <wdijkstr@arm.com>
6813 * sysdeps/aarch64/fpu/fesetround.c (fesetround):
6814 Call libc_fesetround_aarch64.
6816 2014-12-22 Joseph Myers <joseph@codesourcery.com>
6819 * sysdeps/unix/sysv/linux/bind.S (NO_WEAK_ALIAS): Do not define.
6820 (__bind): Do not define as weak alias.
6821 * sysdeps/unix/sysv/linux/getsockname.S (NO_WEAK_ALIAS): Do not
6823 (__getsockname): Do not define as weak alias.
6825 2014-12-22 Will Newton <will.newton@linaro.org>
6827 * manual/install.texi: Document that we require bison 2.7
6829 * INSTALL: Regenerate.
6830 * configure.ac: Use AC_CHECK_PROG_VER instead of
6831 AC_PATH_PROG when checking for bison and check for
6832 version 2.7 or above.
6833 * configure: Regenerate.
6835 2014-12-21 Chris Metcalf <cmetcalf@ezchip.com>
6838 * sysdeps/tile/ffs.c (__ffs): Moved ffsll definition...
6839 * sysdeps/tile/ffsll.c (ffsll): To here.
6841 * sysdeps/unix/sysv/linux/tile/localplt.data: Removed.
6843 2014-12-21 H.J. Lu <hongjiu.lu@intel.com>
6845 * elf/dl-tls.c (__tls_get_addr): Provide the hidden definition
6847 * sysdeps/i386/dl-tls.h (___tls_get_addr): Provide the hidden
6849 * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
6850 hidden ___tls_get_addr.
6851 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
6852 hidden __tls_get_addr.
6853 * sysdeps/generic/localplt.data (__tls_get_addr): Removed.
6854 * sysdeps/unix/sysv/linux/i386/localplt.data (___tls_get_addr):
6857 2014-12-21 Andreas Schwab <schwab@linux-m68k.org>
6859 * sysdeps/m68k/dl-machine.h (RTLD_START): Remove @PLTPC from
6862 2014-12-21 H.J. Lu <hongjiu.lu@intel.com>
6864 * sysdeps/i386/dl-machine.h (_dl_start_user): Remove @PLT
6865 from "call _dl_init@PLT".
6866 * sysdeps/x86_64/dl-machine.h (_dl_start_user): Likewise.
6868 2014-12-21 Anders Kaseorg <andersk@mit.edu>
6870 * manual/search.texi: (Array Sort Function): Clarify stable sorting
6873 2014-12-20 Chris Metcalf <cmetcalf@ezchip.com>
6875 * sysdeps/unix/sysv/linux/tile/localplt.data: New file.
6877 2014-12-19 Chris Metcalf <cmetcalf@ezchip.com>
6880 * sysdeps/tile/tilegx/strstr.c (STRSTR): Call __strnlen, not
6883 2014-12-19 Steve Ellcey <sellcey@imgtec.com>
6885 * sysdeps/mips/addmul_1.S (__mpn_addmul_1): Use mulu/muhu instead
6887 * sysdeps/mips/mul_1.S (__mpn_mul_1): Ditto.
6888 * sysdeps/mips/submul_1.S (__mpn_submul_1): Ditto.
6889 * sysdeps/mips/mips64/addmul_1.S (__mpn_addmul_1): Ditto.
6890 * sysdeps/mips/mips64/mul_1.S (__mpn_mul_1): Ditto.
6891 * sysdeps/mips/mips64/submul_1.S (__mpn_submul_1): Ditto.
6893 2014-12-19 Steve Ellcey <sellcey@imgtec.com>
6895 * sysdeps/mips/sys/asm.h (PTR_ADDU): Use addu on mips32r6/mips64r6.
6896 (PTR_ADDIU): Use addiu for mips32r6/mips64r6.
6897 (PTR_SUBU): Use subu for mips32r6/mips64r6.
6898 (PTR_SUBIU): Use subu for mips32r6/mips64r6 (subiu does not exist).
6899 * sysdeps/mips/machine-gmon.h (PTR_ADDU_STRING) Use addu for
6901 (PTR_SUBU_STRING) Use subu for mips32r6/mips64r6.
6903 2014-12-19 Ondřej Bílka <neleai@seznam.cz>
6905 * string/strncat.c (STRNCAT): Simplify implementation.
6907 2014-12-19 David S. Miller <davem@davemloft.net>
6909 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Use a union to
6910 access the quad as both a long double and as a series of 4 words.
6912 * get-dynamic-info.h (elf_get_dynamic_info): Ignore -Warray-bounds for a
6913 link_map->l_info array access.
6915 2014-12-19 Chris Metcalf <cmetcalf@ezchip.com>
6917 * iconvdata/tst-loading.c (TIMEOUT): Increase timeout 10 sec.
6919 * math/atest-exp.c (TIMEOUT): Increase timeout to 10 sec.
6920 * math/atest-exp2.c (TIMEOUT): Likewise.
6921 * math/atest-sincos.c (TIMEOUT): Likewise.
6923 2014-12-19 H.J. Lu <hongjiu.lu@intel.com>
6925 * sysdeps/x86_64/x32/Makefile (CFLAGS-s_llround.c): Replace
6926 -Wno-error with -fno-builtin-lround.
6928 2014-12-19 Torvald Riegel <triegel@redhat.com>
6930 * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: New file.
6931 Contains futex constants and functions moved over from ...
6932 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here. Include
6933 <lowlevellock-futex.h>.
6934 (lll_wait_tid): Use lll_futex_wait instead of assembly code.
6935 (lll_timedwait_tid): Add comments and parentheses around macro
6938 2014-12-19 Torvald Riegel <triegel@redhat.com>
6940 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Include
6941 <lowlevellock-futex.h>. Remove FUTEX_* constants defined there.
6942 (__lll_private_flag): Remove.
6943 (lll_futex_wait): Likewise.
6944 (lll_futex_timed_wait): Likewise.
6945 (lll_futex_wake): Likewise.
6946 (lll_futex_requeue): Likewise.
6947 (lll_wait_tid): Use lll_futex_wait instead of assembly code.
6948 (__lll_timedwait_tid): Spell out argument names.
6949 (lll_timedwait_tid): Add comments and parentheses around macro
6951 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Make FUTEX_* constants,
6952 LLL_SHARED and LLL_PRIVATE usable from assembly code.
6954 2014-12-19 Torvald Riegel <triegel@redhat.com>
6956 * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Remove file.
6957 * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
6958 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
6959 * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Likewise.
6960 * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Likewise.
6961 * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Likewise.
6962 * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Likewise.
6963 * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Likewise.
6964 * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Likewise.
6965 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: Likewise.
6966 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: Likewise.
6967 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Likewise.
6968 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Likewise.
6969 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Likewise.
6970 * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Likewise.
6971 * sysdeps/unix/sysv/linux/sh/sem_post.S: Likewise.
6972 * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Likewise.
6973 * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Likewise.
6974 * sysdeps/unix/sysv/linux/sh/sem_wait.S: Likewise.
6976 2014-12-19 H.J. Lu <hongjiu.lu@intel.com>
6978 * sysdeps/x86_64/x32/Makefile: New file.
6980 2014-12-19 H.J. Lu <hongjiu.lu@intel.com>
6982 * sysdeps/i386/ldbl2mpn.c (__mpn_extract_long_double): Replace
6983 1L with (mp_limb_t) 1.
6985 2014-12-17 Roland McGrath <roland@hack.frob.com>
6987 * sysdeps/nptl/fork.c (__fork_generation_pointer): Variable moved ...
6988 * nptl/libc_pthread_init.c: ... here.
6989 * sysdeps/nptl/fork.c (__fork_handlers): Variable moved ...
6990 * nptl/register-atfork.c: ... here.
6992 * sysdeps/nptl/gai_misc.h (__gai_start_notify_thread):
6993 Use pthread_sigmask rather than INTERNAL_SYSCALL.
6994 Use assert_perror to check its return value.
6995 (__gai_create_helper_thread): Likewise.
6997 * inet/if_index.c (__if_freenameindex): Add libc_hidden_def.
6999 * malloc/malloc.c (alloc_perturb, free_perturb): Remove inline keyword.
7001 2014-12-17 Joseph Myers <joseph@codesourcery.com>
7004 * sysdeps/generic/profil-counter.h (profil_counter): Rename to
7006 * sysdeps/unix/sysv/linux/hppa/profil-counter.h (profil_counter):
7008 * sysdeps/unix/sysv/linux/i386/profil-counter.h (profil_counter):
7010 * sysdeps/unix/sysv/linux/ia64/profil-counter.h (profil_counter):
7012 * sysdeps/unix/sysv/linux/s390/s390-32/profil-counter.h
7013 (profil_counter): Likewise.
7014 * sysdeps/unix/sysv/linux/s390/s390-64/profil-counter.h
7015 (profil_counter): Likewise.
7016 * sysdeps/unix/sysv/linux/sh/profil-counter.h (profil_counter):
7018 * sysdeps/unix/sysv/linux/tile/profil-counter.h (profil_counter):
7020 * sysdeps/unix/sysv/linux/x86_64/profil-counter.h
7021 (profil_counter): Likewise.
7022 * sysdeps/unix/sysv/linux/arm/profil-counter.h (profil_counter):
7024 [!__profil_counter] (profil_counter): Define as weak alias of
7026 * sysdeps/unix/sysv/linux/sparc/sparc32/profil-counter.h
7027 (profil_counter): Rename to __profil_counter.
7028 [!__profil_counter] (profil_counter): Define as weak alias of
7030 * sysdeps/unix/sysv/linux/sparc/sparc64/profil-counter.h
7031 (profil_counter): Rename to __profil_counter.
7032 [!__profil_counter] (profil_counter): Define as weak alias of
7034 * sysdeps/posix/profil.c: Update comment referring to
7036 (__profil): Use __profil_counter instead of profil_counter.
7037 * sysdeps/posix/sprofil.c (profil_counter): Rename to
7038 __profil_counter. Use __profil_counter_ushort and
7039 __profil_counter_uint in definitions.
7040 (__sprofil): Use __profil_counter_uint and __profil_counter_ushort
7041 instead of profil_counter_uint and profil_counter_ushort.
7044 * inet/inet_mkadr.c (inet_makeaddr): Rename to __inet_makeaddr and
7045 define as weak alias of __inet_makeaddr.
7046 * resolv/inet_addr.c (inet_addr): Rename to __inet_addr and define
7047 as weak alias of __inet_addr.
7048 * resolv/inet_pton.c (inet_pton): Rename to __inet_pton and define
7049 as weak alias of __inet_pton. Use libc_hidden_weak.
7050 * include/arpa/inet.h (__inet_pton): Declare. Use
7052 (inet_makeaddr): Don't use libc_hidden_proto.
7053 (__inet_makeaddr): Declare. Use libc_hidden_proto.
7054 * resolv/res_init.c (__res_vinit): Use __inet_pton instead of
7055 inet_pton. Use __inet_makeaddr instead of inet_makeaddr.
7056 * conform/Makefile (test-xfail-POSIX/pthread.h/linknamespace):
7058 (test-xfail-POSIX/sched.h/linknamespace): Likewise.
7059 (test-xfail-POSIX/time.h/linknamespace): Likewise.
7061 2014-12-17 Steve Ellcey <sellcey@imgtec.com>
7063 * inet/getnetgrent_r.c: Move while loop to be inside if statement.
7065 2014-12-17 Stefan Liebler <stli@linux.vnet.ibm.com>
7067 * stdio-common/bug-vfprintf-nargs.c (do_test):
7068 Cast value to intptr_t to avoid format warning
7069 for usage with PRIdPTR printing macro.
7071 2014-12-17 Stefan Liebler <stli@linux.vnet.ibm.com>
7073 * libio/tst-widetext.c (do_test):
7074 Use format type %td instead of %Zd for ptrdiff_t
7075 in order to avoid format warning.
7077 2014-12-17 Andreas Schwab <schwab@suse.de>
7079 * nscd/mem.c (gc): Add size_t cast to match printf format.
7081 2014-12-16 Roland McGrath <roland@hack.frob.com>
7083 * sysdeps/gnu/unwind-resume.c: #include <sysdep.h>.
7084 (init): Apply PTR_MANGLE to pointers before storing them.
7085 (_Unwind_Resume, __gcc_personality_v0): Apply PTR_DEMANGLE to pointers
7088 2014-12-16 Joseph Myers <joseph@codesourcery.com>
7091 * sysdeps/x86_64/memrchr.S (memrchr): Rename to __memrchr and
7092 define as weak alias of __memrchr.
7093 (__memrchr): Do not define as strong alias of memrchr.
7094 * conform/Makefile (test-xfail-XPG4/libgen.h/linknamespace):
7096 (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
7097 (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
7098 (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
7101 * inet/if_index.c (if_nametoindex): Rename to __if_nametoindex and
7102 define as weak alias of __if_nametoindex. Use libc_hidden_weak.
7103 (if_indextoname): Rename to __if_indextoname and define as weak
7104 alias of __if_indextoname. Use libc_hidden_weak.
7105 (if_freenameindex): Rename to __if_freenameindex and define as
7106 weak alias of __if_freenameindex.
7107 (if_nameindex): Rename to __if_nameindex and define as weak alias
7109 * sysdeps/mach/hurd/if_index.c (if_nametoindex): Rename to
7110 __if_nametoindex and define as weak alias of __if_nametoindex.
7111 Use libc_hidden_weak.
7112 (if_freenameindex): Rename to __if_freenameindex and define as
7113 weak alias of __if_freenameindex.
7114 (if_nameindex): Rename to __if_nameindex and define as weak alias
7116 (if_indextoname): Rename to __if_indextoname and define as weak
7117 alias of __if_indextoname. Use libc_hidden_weak.
7118 * sysdeps/unix/sysv/linux/if_index.c (if_nametoindex): Rename to
7119 __if_nametoindex and define as weak alias of __if_nametoindex.
7120 Use libc_hidden_weak.
7121 (if_freenameindex): Rename to __if_freenameindex and define as
7122 weak alias of __if_freenameindex. Use libc_hidden_weak.
7123 (if_nameindex_netlink): Use __if_freenameindex instead of
7125 (if_nameindex): Rename to __if_nameindex and define as weak alias
7126 of __if_nameindex. Use libc_hidden_weak.
7127 (if_indextoname): Rename to __if_indextoname and define as weak
7128 alias of __if_indextoname. Use libc_hidden_weak.
7129 * include/net/if.h [!_ISOMAC] (__if_nametoindex): Declare and use
7131 [!_ISOMAC] (__if_freenameindex): Likewise.
7132 * resolv/res_init.c (__res_vinit): Use __if_nametoindex instead of
7134 * conform/Makefile (test-xfail-XPG4/grp.h/linknamespace): Remove
7136 (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
7137 (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
7138 (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
7139 (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
7140 (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
7141 (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
7142 (test-xfail-UNIX98/time.h/linknamespace): Likewise.
7144 * conform/Makefile (test-xfail-UNIX98/semaphore.h/linknamespace):
7146 (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
7147 (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
7149 2014-12-16 Siddhesh Poyarekar <siddhesh@redhat.com>
7151 * resolv/res_send.c (__libc_res_nsend): Disable warning 'array
7152 subscript above bounds'
7154 * resolv/res_send.c (__libc_res_nsend): Fix check for nsmap
7157 2014-12-16 Arjun Shankar <arjun.is@lostca.se>
7159 * libio/tst-fopenloc.c: Use test-skeleton.c.
7161 * stdlib/tst-bsearch.c: Use test-skeleton.c.
7162 (entry): Rename to ITEM.
7163 (do_test, comp): Adjust.
7165 * stdio-common/tst-fseek.c: Use test-skeleton.c.
7167 2014-12-16 Torvald Riegel <triegel@redhat.com>
7169 * string/tester.c: Include <libc-internal.h>.
7170 (test_memset): Ignore -Wmemset-transposed-args.
7172 2014-12-16 Torvald Riegel <triegel@redhat.com>
7174 * misc/tst-mntent2.c (do_test): Fix warning.
7176 2014-12-16 Torvald Riegel <triegel@redhat.com>
7178 * elf/tst-unique4lib.cc(a): Mark as used.
7180 2014-12-16 Florian Weimer <fweimer@redhat.com>
7183 * resolv/nss_dns/dns-network.c (getanswer_r): Iterate over alias
7186 2014-12-16 Allan McRae <allan@archlinux.org>
7188 * stdio-common/Makefile (tests): Re-add bug26.
7190 2014-12-15 Ondřej Bílka <neleai@seznam.cz>
7193 * locale/programs/ld-ctype.c (find_translit2, read_widestring): Return
7196 2014-12-15 Bernard Ogden <bernie.ogden@linaro.org>
7198 * nptl/lowlevellock.c (__lll_lock_wait_private): Add comments.
7199 (__lll_lock_wait): Likewise.
7200 (__lll_timedlock_wait): Likewise.
7201 (__lll_timedwait_tid): Likewise.
7202 * nptl/lowlevelrobustlock.c (__lll_robust_lock_wait): Likewise.
7203 (__lll_robust_timedlock_wait): Likewise.
7204 * sysdeps/nptl/lowlevellock.h (lll_trylock): Likewise.
7205 (lll_cond_trylock): Likewise.
7206 (__lll_lock): Likewise.
7207 (__lll_robust_lock): Likewise.
7208 (__lll_cond_lock): Likewise.
7209 (lll_robust_cond_lock): Likewise.
7210 (__lll_timedlock): Likewise.
7211 (__lll_robust_timedlock): Likewise.
7212 (__lll_unlock): Likewise.
7213 (__lll_robust_unlock): Likewise.
7214 (lll_wait_tid): Likewise.
7215 (lll_timedwait_tid): Likewise.
7217 2014-12-15 Torvald Riegel <triegel@redhat.com>
7219 * nptl/tst-sem4.c (do_test): Start with a fresh semaphore state.
7221 2014-12-15 Torvald Riegel <triegel@redhat.com>
7223 * nptl/tst-mutex5.c (do_test): Do not skip tests if elision is enabled.
7225 2014-12-15 Adhemerval Zanella <Azanella@linux.vnet.ibm.com>
7227 * stdio-common/test-vfprintf.c: Include <libc-internal.h>.
7228 * stdio-common/tst-sprintf.c: Likewise.
7230 2014-12-15 Torvald Riegel <triegel@redhat.com>
7232 * sysdeps/unix/sysv/linux/s390/pthread_once.c: Remove file.
7234 2014-12-15 Jeff Law <law@redhat.com>
7237 * stdio-common/vfprintf.c (vfprintf): Allocate large specs array
7238 on the heap. (CVE-2012-3406)
7239 * stdio-common/bug23-2.c, stdio-common/bug23-3.c: New file.
7240 * stdio-common/bug23-4.c: New file. Test case by Joseph Myers.
7241 * stdio-common/Makefile (tests): Add bug23-2, bug23-3, bug23-4.
7243 2014-12-15 Will Newton <will.newton@linaro.org>
7245 * manual/install.texi: Bump required version of texinfo
7247 * INSTALL: Regenerated.
7248 * configure.ac: Check for makeinfo version 4.7 and above.
7249 * configure: Regenerated.
7251 2014-12-12 Roland McGrath <roland@hack.frob.com>
7253 * sysdeps/posix/shm-directory.h (SHM_GET_NAME): Take new argument
7254 PREFIX, string constant to insert between directory and name.
7255 * sysdeps/posix/shm_open.c: Update caller.
7256 * sysdeps/posix/shm_unlink.c: Likewise.
7257 * nptl/semaphoreP.h (struct mountpoint_info): Type removed.
7258 (__where_is_shmfs, mountpoint, __namedsem_once): Declarations removed.
7259 (SEM_SHM_PREFIX): New macro.
7260 * sysdeps/posix/Makefile (librt-routines): Add shm-directory only if
7261 [$(have-thread-library) = no].
7262 * nptl/Makefile (libpthread-routines): Add shm-directory.
7263 * nptl/Versions (GLIBC_PRIVATE): Add __shm_directory.
7264 * sysdeps/nptl/shm-directory.h: New file.
7265 * sysdeps/posix/shm-directory.c
7266 [IS_IN (libpthread)] (__shm_directory): Add hidden_def.
7267 * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
7268 * nptl/sem_open.c (check_add_mapping): Use munmap function rather than
7270 (__where_is_shmfs): Function removed.
7271 (mountpoint, defaultmount, defaultdir, __namedsem_once):
7273 (sem_open): Use __libc_close function rather than INTERNAL_SYSCALL.
7275 * nptl/sem_unlink.c: Prototypify. Use SHM_GET_NAME.
7277 * sysdeps/nptl/bits/libc-lockP.h [IS_IN (libpthread)]
7278 (PTFAVAIL, __libc_ptf_call, __libc_ptf_call_always): Define as
7279 unconditional for use inside libpthread.
7280 [IS_IN (libpthread)]: Include <nptl/pthreadP.h>.
7282 2014-12-12 Roland McGrath <roland@hack.frob.com>
7284 * nptl/pthread_getaffinity.c: New file.
7285 * nptl/pthread_setaffinity.c: New file.
7286 * nptl/pthread_getname.c: New file.
7287 * nptl/pthread_setname.c: New file.
7289 * nptl/pthread_create.c (START_THREAD_DEFN)
7290 [! __ASSUME_SET_ROBUST_LIST]: Add missing & in lll_futex_wake argument.
7292 2014-12-12 Stefan Liebler <stli@linux.vnet.ibm.com>
7293 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7295 * resolv/res_send.c (send_vc): Disable warning resplen may
7296 be used uninitialized.
7298 2014-12-12 Stefan Liebler <stli@linux.vnet.ibm.com>
7301 (ATTR_NULL): New define checks ATTR against NULL.
7302 (do_test): Use !ATTR_NULL instead of ATTR != NULL.
7303 * nptl/tst-mutexpp6.c (ATTR_NULL): New define.
7305 2014-12-11 James Lemke <jwlemke@codesourcery.com>
7309 (mem2mem_check): Revert my previous change.
7310 (malloc_check_get_size): Revert my previous change.
7311 (mem2chunk_check): Revert my previous change.
7313 2014-12-11 Roland McGrath <roland@hack.frob.com>
7315 * sysdeps/posix/shm-directory.c: New file.
7316 * sysdeps/posix/shm-directory.h: New file.
7317 * sysdeps/posix/Makefile [($(subdir) = rt] (librt-routines): Add it.
7318 * sysdeps/posix/shm_open.c: Use SHM_GET_NAME.
7319 Use O_NOFOLLOW and O_CLOEXEC if available. Transmute EISDIR to EINVAL.
7320 * sysdeps/posix/shm_unlink.c: Use SHM_GET_NAME.
7321 Transmute EPERM to EACCES.
7322 * sysdeps/unix/sysv/linux/shm-directory.c: New file, most code taken
7324 * sysdeps/unix/sysv/linux/shm_open.c: ... here. File removed.
7325 * sysdeps/unix/sysv/linux/shm_unlink.c: File removed.
7327 2014-12-11 Kaz Kojima <kkojima@rr.iij4u.or.jp>
7329 * sysdeps/sh/jmpbuf_unwind.h (_jmpbuf_sp): Declare SP as void
7330 pointer and cast to uintptr_t.
7331 * sysdeps/sh/nptl/tls.h (TLS_INIT_TP): Use NULL instead of 0.
7332 * sysdeps/unix/sysv/linux/sh/lowlevellock.h (lll_futex_timed_wait):
7333 Add cast to avoid warning.
7334 * sysdeps/unix/sysv/linux/sh/register-dump.h: Use 0 instead of NULL.
7336 2014-12-11 Joseph Myers <joseph@codesourcery.com>
7338 * nptl/semaphore.h: Move to ...
7339 * sysdeps/pthread/semaphore.h: ... here.
7340 * Makefile (installed-headers): Change nptl/semaphore.h to
7341 sysdeps/pthread/semaphore.h.
7343 2014-12-11 Roland McGrath <roland@hack.frob.com>
7345 * misc/tst-error1.c (do_test): Ignore -Wformat-security for
7346 generated error format strings.
7348 * stdio-common/tstdiomisc.c (t2): Ignore -Wformat and
7349 -Wformat-extra-args warnings for scanf formats.
7350 * stdio-common/scanf4.c (main): Ignore -Wformat-zero-length around
7351 test of zero-length format (duh).
7352 * stdio-common/scanf7.c (main): Ignore -Wformat warnings for
7353 corner-case scanf format test.
7354 * stdio-common/test-vfprintf.c (do_test): Ignore -Wformat-security for
7355 generated fprintf format string.
7356 * stdio-common/tst-sprintf.c (do_test): Ignore -Wformat warnings for
7357 corner-case sprintf format tests.
7358 * stdio-common/tst-printf.c: Ignore -Wformat throughout.
7359 * stdio-common/tst-printfsz.c (main): Ignore -Wformat and
7360 -Wformat-extra-args warnings throughout.
7361 * stdio-common/Makefile (CFLAGS-tstdiomisc.c): Variable removed.
7362 (CFLAGS-scanf4.c): Likewise.
7363 (CFLAGS-scanf7.c): Likewise.
7364 (CFLAGS-tst-sprintf.c): Likewise.
7365 (CFLAGS-tst-printf.c): Likewise.
7366 (CFLAGS-tst-printfsz.c): Likewise.
7368 2014-12-11 Joseph Myers <joseph@codesourcery.com>
7370 * include/cpio.h: New file.
7371 * include/fmtmsg.h: Likewise.
7373 * tst-mbswcs1.c (show): Use %zu format instead of %Zd. Cast
7374 corresponding format argument to size_t.
7375 * tst-mbswcs2.c (show): Likewise. Use %td format for ptrdiff_t
7377 * tst-mbswcs3.c (show): Use %zu format instead of %Zd. Cast
7378 corresponding format argument to size_t.
7379 * tst-mbswcs4.c (show): Likewise. Use %td format for ptrdiff_t
7381 * tst-mbswcs5.c (show): Use %zu format instead of %Zd. Cast
7382 corresponding format argument to size_t.
7383 * tst-trans.c (do_test): Use %lc format for wint_t arguments.
7384 * Makefile (CFLAGS-tst-mbswcs1.c): Remove variable.
7385 (CFLAGS-tst-mbswcs2.c): Likewise.
7386 (CFLAGS-tst-mbswcs3.c): Likewise.
7387 (CFLAGS-tst-mbswcs4.c): Likewise.
7388 (CFLAGS-tst-mbswcs5.c): Likewise.
7389 (CFLAGS-tst-trans.c): Likewise
7391 2014-12-11 Roland McGrath <roland@hack.frob.com>
7393 * posix/regexbug1.c (main): Use "%s" format with regerror results,
7394 rather than assuming they won't contain any '%'s.
7396 2014-12-11 Chris Metcalf <cmetcalf@ezchip.com>
7398 * sysdeps/tile/tilegx/memset.c (__memcpy): Add
7399 inhibit_loop_to_libcall to avoid recursive calls.
7400 * sysdeps/tile/tilegx/memcpy.c (__memcpy): Likewise.
7401 * sysdeps/tile/tilepro/memcpy.c (__memcpy): Likewise.
7403 2014-12-11 Adhemerval Zanella <Azanella@linux.vnet.ibm.com>
7405 * include/sys/socket.h (__sendmmsg): Add __USE_GNU guards on function
7408 2014-12-11 Steve Ellcey <sellcey@imgtec.com>
7410 * sysdeps/mips/dl-trampoline.c: Modify switch expression to have
7411 integer value instead of boolean.
7413 2014-12-11 Steve Ellcey <sellcey@imgtec.com>
7415 * malloc/malloc.c: Fix powerof2 check.
7417 2014-12-11 Stefan Liebler <stli@linux.vnet.ibm.com>
7419 * locale/programs/locfile.h (maybe_swap_uint32):
7420 Remove inline and add unused attribute.
7422 2014-12-11 Stefan Liebler <stli@linux.vnet.ibm.com>
7424 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
7425 Truncating assembler expression to a .long expression.
7427 2014-12-11 Andreas Schwab <schwab@suse.de>
7429 * elf/rtld.c (struct map_args): Constify str member.
7430 (do_preload): Constify fname argument.
7432 2014-12-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7434 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Remove overflow warnings for
7435 constants definition.
7437 2014-12-11 Andreas Schwab <schwab@suse.de>
7440 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Use
7441 FORCE_ELISION instead of DO_ELISION.
7442 * sysdeps/unix/sysv/linux/x86/force-elision.h (DO_ELISION):
7444 * sysdeps/unix/sysv/linux/s390/force-elision.h (DO_ELISION):
7447 * iconvdata/gconv-modules: Remove duplicate entry.
7449 2014-12-11 Will Newton <will.newton@linaro.org>
7451 Merge gettext 0.19.3 into intl/.
7453 This involves a number of cosmetic changes to comments
7454 and ANSI function definitions and prototypes throughout
7455 all the files. The gettext copyright header is used but
7456 with the date ranges taken from the glibc copy.
7458 * NEWS: Add gettext merge to 2.21.
7459 * intl/bindtextdom.c: Switch to gettext copyright.
7460 Use ANSI definitions and prototypes.
7461 Use gl_* locking primitives rather than __libc_* ones.
7462 Use __builtin_expect rather than __glibc_likely/unlikely.
7463 * intl/dcgettext.c: Switch to gettext copyright.
7464 Use ANSI definitions and prototypes.
7465 * intl/dcigettext.c: Switch to gettext copyright.
7466 Use ANSI definitions and prototypes.
7467 (INTDIV0_RAISES_SIGFPE): New define.
7468 Use gl_* locking primitives rather than __libc_* ones.
7469 Include eval-plural.h instead of plural-eval.c.
7470 Use __builtin_expect rather than __glibc_likely/unlikely.
7471 * intl/dcngettext.c: Switch to gettext copyright.
7472 Use ANSI definitions and prototypes.
7473 * intl/dgettext.c: Likewise.
7474 * intl/dngettext.c: Likewise.
7475 * intl/plural-eval.c: Renamed to...
7476 * intl/eval-plural.h: ...this.
7477 * intl/explodename.c: Switch to gettext copyright.
7478 Use ANSI definitions and prototypes.
7479 (_nl_explode_name): Use strchr instead of __rawmemchr.
7480 * intl/finddomain.c: Switch to gettext copyright.
7481 Use ANSI definitions and prototypes.
7482 Use gl_* locking primitives rather than __libc_* ones.
7483 (_nl_find_domain): Use malloc rather than alloca for
7484 allocation of temporary locale name.
7485 * intl/gettext.c: Switch to gettext copyright.
7486 Use ANSI definitions and prototypes.
7487 * intl/gettextP.h: Switch to gettext copyright.
7488 Use ANSI definitions and prototypes.
7489 Use gl_* locking primitives rather than __libc_* ones.
7490 * intl/gmo.h: Switch to gettext copyright.
7491 (struct sysdep_string): Move struct segment_pair outside of
7493 * intl/hash-string.c: Use ANSI definitions and prototypes.
7494 * intl/hash-string.h: Switch to gettext copyright.
7495 Use ANSI definitions and prototypes.
7496 * intl/l10nflist.c: Switch to gettext copyright.
7497 Use ANSI definitions and prototypes.
7498 (_nl_normalize_codeset): Avoid integer overflow.
7499 * intl/loadinfo.h: Switch to gettext copyright.
7500 Use ANSI definitions and prototypes.
7501 (LIBINTL_DLL_EXPORTED): New define.
7502 (PATH_SEPARATOR): New define.
7503 * intl/loadmsgcat.c: Switch to gettext copyright.
7504 * intl/localealias.c: Switch to gettext copyright.
7505 Use ANSI definitions and prototypes.
7506 (_nl_expand_alias): Use PATH_SEPARATOR.
7507 * intl/ngettext.c: Switch to gettext copyright.
7508 Use ANSI definitions and prototypes.
7509 * intl/plural-exp.c: Likewise.
7510 * intl/plural-exp.h: Switch to gettext copyright.
7511 Use ANSI definitions and prototypes.
7512 (struct expression): Move definition of enum operator outside
7513 of struct definition.
7514 * intl/plural.c: Regenerate.
7515 * intl/plural.y: Switch to gettext copyright.
7516 Use ANSI definitions and prototypes.
7518 * intl/textdomain.c: Switch to gettext copyright.
7519 Use ANSI definitions and prototypes.
7520 Use gl_* locking primitives rather than __libc_* ones.
7522 2014-12-10 Steve Ellcey <sellcey@imgtec.com>
7524 * debug/warning-nop.c: Add used atrribute.
7526 2014-12-10 Joseph Myers <joseph@codesourcery.com>
7528 * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: New file.
7530 * sysdeps/unix/sysv/linux/mips/mips64/Makefile
7531 [$(subdir) == signal] (CFLAGS-sigaction.c): New variable.
7532 [$(subdir) == nptl] (CFLAGS-sigaction.c): Likewise.
7534 2014-12-10 Joseph Myers <joseph@codesourcery.com>
7535 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7538 * wcsmbs/wcschr.c [!WCSCHR] (wcschr): Define as __wcschr.
7539 Undefine after defining function. Define as weak alias of
7540 __wcschr. Use libc_hidden_weak.
7541 * include/wchar.h (__wcschr): Declare. Use libc_hidden_proto.
7542 * sysdeps/i386/i686/multiarch/wcschr-c.c [IS_IN (libc) && SHARED]
7543 (libc_hidden_def): Also define __GI___wcschr alias.
7544 * sysdeps/i386/i686/multiarch/wcschr.S (wcschr): Rename to
7545 __wcschr and define as weak alias of __wcschr.
7546 * sysdeps/powerpc/power6/wcschr.c [!WCSCHR] (WCSCHR): Define as
7548 [!WCSCHR] (DEFAULT_WCSCHR): Define.
7549 [DEFAULT_WCSCHR] (__wcschr): Use libc_hidden_def.
7550 [DEFAULT_WCSCHR] (wcschr): Define as weak alias of __wcschr. Use
7551 libc_hidden_weak. Do not use libc_hidden_def.
7552 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c
7553 [IS_IN (libc) && SHARED] (libc_hidden_def): Also define
7554 __GI___wcschr alias.
7555 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c
7556 [IS_IN (libc)] (wcschr): Define as macro expanding to
7558 [IS_IN (libc)] (__wcschr_ppc): Use __redirect_wcschr in typeof.
7559 [IS_IN (libc)] (__wcschr_power6): Likewise.
7560 [IS_IN (libc)] (__wcschr_power7): Likewise.
7561 [IS_IN (libc)] (__libc_wcschr): New. Define with libc_ifunc
7563 [IS_IN (libc)] (wcschr): Undefine and define as weak alias of
7565 [!IS_IN (libc)] (libc_hidden_def): Do not undefine and redefine.
7566 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c (wcschr): Rename to
7567 __wcschr and define as weak alias of __wcschr. Use
7568 libc_hidden_builtin_def.
7569 * sysdeps/x86_64/wcschr.S (wcschr): Rename to __wcschr and define
7570 as weak alias of __wcschr. Use libc_hidden_weak.
7571 * time/alt_digit.c (_nl_get_walt_digit): Use __wcschr instead of
7573 * time/era.c (_nl_init_era_entries): Likewise.
7574 * conform/Makefile (test-xfail-ISO/time.h/linknamespace): Remove
7576 (test-xfail-XPG3/time.h/linknamespace): Likewise.
7577 (test-xfail-XPG4/time.h/linknamespace): Likewise.
7579 2014-12-10 Joseph Myers <joseph@codesourcery.com>
7581 * libio/tst-ftell-active-handler.c (do_ftruncate_test): Use %ld
7582 format for long int variable.
7584 2014-12-10 Anders Kaseorg <andersk@MIT.EDU>
7587 * manual/search.texi: (Array Sort Function): Remove claim how to make
7590 2014-12-10 Andreas Schwab <schwab@suse.de>
7593 * sysdeps/nptl/fork.c (fresetlockfiles): Skip files with
7594 user-controlled locks.
7596 2014-12-10 Richard Earnshaw <rearnsha@arm.com>
7598 * sysdeps/aarch64/strchrnul.S (vrepmask): Use a call-clobbered
7601 2014-12-10 Joseph Myers <joseph@codesourcery.com>
7603 * configure.ac (--disable-werror): New configure option.
7604 (enable_werror): New AC_SUBST.
7605 * configure: Regenerated.
7606 * config.make.in (enable-werror): New variable.
7607 * Makeconfig [$(enable-werror) = yes] (+gccwarn): Add -Werror
7609 (+gccwarn-c): Do not use -Werror=implicit-function-declaration.
7610 * manual/install.texi (Configuring and compiling): Document
7612 * INSTALL: Regenerated.
7613 * debug/Makefile (CFLAGS-tst-chk1.c): Add -Wno-error.
7614 (CFLAGS-tst-chk2.c): Likewise.
7615 (CFLAGS-tst-chk3.c): Likewise.
7616 (CFLAGS-tst-chk4.cc): Likewise.
7617 (CFLAGS-tst-chk5.cc): Likewise.
7618 (CFLAGS-tst-chk6.cc): Likewise.
7619 (CFLAGS-tst-lfschk1.c): Likewise.
7620 (CFLAGS-tst-lfschk2.c): Likewise.
7621 (CFLAGS-tst-lfschk3.c): Likewise.
7622 (CFLAGS-tst-lfschk4.cc): Likewise.
7623 (CFLAGS-tst-lfschk5.cc): Likewise.
7624 (CFLAGS-tst-lfschk6.cc): Likewise.
7626 * stdio-common/tst-printfsz.c: Include <libc-internal.h>.
7627 (main): Disable -Wdeprecated-declarations around calls to
7628 register_printf_function.
7630 * stdio-common/tst-unlockedio.c: Include <libc-internal.h>.
7631 (do_test): Disable -Wdiv-by-zero around some calls to
7632 fwrite_unlocked and fread_unlocked.
7634 * include/libc-internal.h (DIAG_PUSH_NEEDS_COMMENT): New macro.
7635 (DIAG_POP_NEEDS_COMMENT): Likewise.
7636 (_DIAG_STR1): Likewise.
7637 (_DIAG_STR): Likewise.
7638 (DIAG_IGNORE_NEEDS_COMMENT): Likewise.
7639 * stdio-common/bug21.c: Include <libc-internal.h>.
7640 (do_test): Disable -Wformat around call to sscanf.
7641 * stdio-common/scanf14.c: Include <libc-internal.h>.
7642 (main): Disable -Wformat around some calls to scanf functions.
7644 2014-12-09 Torvald Riegel <triegel@redhat.com>
7646 * sysdeps/unix/sysv/linux/sh/pthread_once.S: Remove file.
7648 2014-12-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7650 * libio/tst-ftell-active-handler.c (do_ftell_test): Fix wide-character
7651 stack variable alignment.
7653 2014-12-06 Joseph Myers <joseph@codesourcery.com>
7656 * resource/Versions (libc): Add __getrlimit at GLIBC_PRIVATE.
7657 * resource/getrlimit.c (__getrlimit): Use libc_hidden_def.
7658 * sysdeps/mach/hurd/getrlimit.c (__getrlimit): Likewise.
7659 * include/sys/resource.h (__getrlimit): Use libc_hidden_proto.
7660 * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Use
7661 __getrlimit instead of getrlimit.
7662 * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Use
7663 __gettimeofday instead of gettimeofday.
7664 * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
7666 * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
7668 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
7669 * conform/Makefile (test-xfail-POSIX2008/aio.h/linknamespace):
7671 (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
7672 (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
7674 2014-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7676 * libio/tst-ftell-active-handler.c (do_ftell_test): Fix buffer overrun
7677 for wide-character tests.
7679 2014-12-04 Roland McGrath <roland@hack.frob.com>
7681 * io/openat64.c: #include <libc-internal.h>
7682 (__openat64): Prototypify. Use ignore_value on MODE.
7683 * io/openat.c: Likewise.
7684 * misc/reboot.c: #include <libc-internal.h>
7685 (reboot): Prototypify. Use ignore_value on HOWTO.
7686 * misc/ptrace.c: #include <libc-internal.h>
7687 (ptrace): Prototypify. Use ignore_value for va_arg'd parameters.
7689 2014-12-04 Joseph Myers <joseph@codesourcery.com>
7691 * conform/list-header-symbols.pl (%extra_syms): Add h_errno for
7692 XPG4, UNIX98 and XOPEN2K.
7693 * conform/Makefile (test-xfail-XOPEN2K/grp.h/linknamespace):
7695 (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
7697 2014-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
7699 * libio/fileops.c: Use ISO C style for function definitions.
7700 * libio/iofopen.c: Likewise.
7701 * libio/wfileops.c: Likewise.
7704 * libio/fileops.c (_IO_new_file_underflow): Unset cached
7706 * libio/wfileops.c (_IO_wfile_underflow): Likewise.
7707 * libio/tst-ftell-active-handler.c (fgets_func_t): New type.
7708 (fgets_func): Function pointer to fgets and fgetws.
7709 (do_ftell_test): Add test to verify ftell value after read
7711 (do_test): Set fgets_func.
7713 * libio/tst-ftell-active-handler.c (do_ftruncate_test): Add
7714 O_TRUNC flag for w and w+ modes.
7715 (do_rewind_test): Likewise.
7716 (do_ftell_test): Likewise.
7717 (do_write_test): Likewise.
7720 * libio/fileops.c (do_ftell): Seek only when there are
7722 * libio/wfileops.c (do_ftell_wide): Likewise.
7723 * libio/tst-ftell-active-handler.c (do_ftruncate_test): New
7725 (do_one_test): Call it.
7727 2014-12-03 Joseph Myers <joseph@codesourcery.com>
7729 * conform/list-header-symbols.pl (%extra_syms): Add getdate_err
7730 for XPG4, UNIX98, XOPEN2K and XOPEN2K8.
7731 * conform/Makefile (test-xfail-XOPEN2K/pthread.h/linknamespace):
7733 (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
7734 (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
7735 (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
7737 2014-12-02 Joseph Myers <joseph@codesourcery.com>
7739 * conform/Makefile (test-xfail-XOPEN2K/aio.h/linknamespace):
7741 (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
7744 * inet/ifaddrs.c (getifaddrs): Rename to __getifaddrs and define
7745 as weak alias of __getifaddrs. Use libc_hidden_weak.
7746 (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
7747 __freeifaddrs. Use libc_hidden_weak.
7748 * sysdeps/gnu/ifaddrs.c (getifaddrs): Rename to __getifaddrs and
7749 define as weak alias of __getifaddrs. Use libc_hidden_weak.
7750 (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
7751 __freeifaddrs. Use libc_hidden_weak.
7752 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs): Rename to
7753 __getifaddrs and define as weak alias of __getifaddrs. Use
7755 (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
7756 __freeifaddrs. Use libc_hidden_weak.
7757 * conform/Makefile (test-xfail-XOPEN2K/net/if.h/linknamespace):
7759 (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
7760 (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
7762 2014-12-02 Petar Jovanovic <petar.jovanovic@rt-rk.com>
7765 * sysdeps/mips/start.S (__start): Use indirect jump to call
7768 2014-12-02 Joseph Myers <joseph@codesourcery.com>
7770 * nptl/tst-stack4.c (dso_process): Use int not uintptr_t for t.
7772 * nptl/tst-mutex1.c: Include <stdbool.h>.
7773 [!ATTR] (ATTR_NULL): New macro.
7774 (do_test): Test !ATTR_NULL instead of ATTR != NULL.
7775 * nptl/tst-mutexpi1.c (ATTR_NULL): New macro.
7776 * nptl/tst-mutexpp1.c (ATTR_NULL): New macro.
7778 * posix/tst-getopt_long1.c (do_test): Cast elements of argv array
7782 * posix/unistd.h [__USE_MISC || (__USE_XOPEN && !__USE_UNIX98)]:
7783 Change conditional to [__USE_MISC].
7786 * misc/mntent_r.c (__getmntent_r): Use __fgets_unlocked instead of
7788 * resolv/res_hconf.c [IS_IN (libc)] (fgets_unlocked): Define to
7790 * resolv/res_init.c (__res_vinit): Use __fgets_unlocked instead of
7792 * conform/Makefile (test-xfail-XPG4/sys/statvfs.h/linknamespace):
7794 (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
7795 (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
7796 (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
7797 (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
7798 (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
7799 (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
7800 (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
7801 (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
7802 (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
7804 * elf/tst-unique4lib.cc (b): Mark with __attribute__ ((used)).
7806 2014-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7808 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
7809 Remove strpbrk objects.
7810 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7811 (__libc_ifunc_impl_list): Remove strpbrk implementation.
7812 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: Remove file.
7813 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Remove file.
7814 * sysdeps/powerpc/powerpc64/power7/strpbrk.S: Remove file.
7815 * sysdeps/powerpc/powerpc64/strpbrk.S: New file.
7817 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
7818 Remove strcspn objects.
7819 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7820 (__libc_ifunc_impl_list): Remove strcspn implementation.
7821 * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: Remove file.
7822 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Remove file.
7823 * sysdeps/powerpc/powerpc64/power7/strcspn.S: Remove file.
7824 * sysdeps/powerpc/powerpc64/strcspn.S: New file.
7826 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
7827 Remove strspn objetcs.
7828 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7829 (__libc_ifunc_impl_list): Remove strspn implementation.
7830 * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: Remove file.
7831 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
7832 * sysdeps/powerpc/powerpc64/power7/strspn.S: Remove file.
7833 * sysdeps/powerpc/powerpc64/strspn.S: New file.
7835 2014-12-01 James Lemke <jwlemke@codesourcery.com>
7839 (mem2mem_check): Add a terminator to the chain of checking blocks.
7840 (malloc_check_get_size): Use it here.
7841 (mem2chunk_check): Ditto.
7843 2014-12-01 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
7845 * sysdeps/powerpc/powerpc64/strtok.S: New file.
7846 * sysdeps/powerpc/powerpc64/strtok_r.S: New file.
7848 2014-11-29 Carlos O'Donell <carlos@redhat.com>
7850 * bits/ioctl-types.h: Indent preprocessor directives correctly.
7852 * nptl/nptl-init.c: Include libc-internal.h.
7853 (__pthread_initialize_minimal_internal): Use ROUND_UP.
7855 * elf/ldconfig.c (search_dir): Expand comment.
7857 2014-11-29 Joseph Myers <joseph@codesourcery.com>
7859 * conform/Makefile (linknamespace-symlist-stdlibs-base): New
7861 (linknamespace-symlist-stdlibs-tests): Likewise.
7862 (tests-special): Append $(linknamespace-symlist-stdlibs-tests)
7863 instead of $(objpfx)symlist-stdlibs.
7864 (linknamespace-libs-isoc): New variable.
7865 (linknamespace-libs): Use $(linknamespace-libs-isoc).
7866 (linknamespace-libs-ISO): New variable.
7867 (linknamespace-libs-ISO99): Likewise.
7868 (linknamespace-libs-ISO11): Likewise.
7869 (linknamespace-libs-XPG3): Likewise.
7870 (linknamespace-libs-XPG4): Likewise.
7871 (linknamespace-libs-POSIX): Likewise.
7872 (linknamespace-libs-UNIX98): Likewise.
7873 (linknamespace-libs-XOPEN2K): Likewise.
7874 (linknamespace-libs-POSIX2008): Likewise.
7875 (linknamespace-libs-XOPEN2K8): Likewise.
7876 ($(objpfx)symlist-stdlibs): Replace by
7877 $(linknamespace-symlist-stdlibs-tests). Use
7878 $(linknamespace-libs-$*) as set of libraries.
7879 ($(linknamespace-header-tests)): Update dependencies. Use
7880 $(objpfx)symlist-stdlibs-$$std for --libsyms argument.
7881 (test-xfail-XPG4/sys/mman.h/linknamespace): Remove.
7882 * conform/linknamespace.pl: Remove comment about considering
7883 definitions of symbols from irrelevant libraries.
7885 2014-11-28 H.J. Lu <hongjiu.lu@intel.com>
7888 * elf/dl-tls.c: Include <atomic.h>.
7889 (oom): Remove #ifdef SHARED/#endif.
7890 (_dl_static_dtv, _dl_initial_dtv): Moved before ...
7891 (_dl_resize_dtv): This. Extracted from _dl_update_slotinfo.
7892 (_dl_allocate_tls_init): Resize DTV if the current DTV isn't
7894 (_dl_update_slotinfo): Call _dl_resize_dtv to resize DTV.
7895 * nptl/Makefile (tests): Add tst-stack4.
7896 (modules-names): Add tst-stack4mod.
7897 ($(objpfx)tst-stack4): New.
7898 (tst-stack4mod.sos): Likewise.
7899 ($(objpfx)tst-stack4.out): Likewise.
7900 ($(tst-stack4mod.sos)): Likewise.
7902 * nptl/tst-stack4.c: New file.
7903 * nptl/tst-stack4mod.c: Likewise.
7905 2014-11-27 J. Brown <jb999@gmx.de>
7907 * sysdeps/x86/bits/string.h: Add recent CPUs.
7909 2014-11-27 Joseph Myers <joseph@codesourcery.com>
7911 * misc/tst-pselect.c (do_test): Use sigprocmask instead of
7914 * libio/bug-ungetwc1.c (do_test): Verify results of getwc and
7917 * dlfcn/failtestmod.c (constr): Do not store result of dlsym in a
7920 2014-11-27 Stefan Liebler <stli@linux.vnet.ibm.com>
7922 * nscd/connections.c: Include libc-internal.h because of macro
7925 2014-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
7927 * string/bits/string3.h (__warn_memset_zero_len): Don't
7928 declare for gcc newer than 5.0.
7929 (memset): Don't test for zero-length __LEN for gcc newer than
7932 2014-11-27 Joseph Myers <joseph@codesourcery.com>
7934 * stdio-common/tst-fmemopen.c (do_test): Cast st_size values to
7935 size_t for %zu format.
7937 * nss/tst-nss-test1.c (do_test): Use %td printf format for pointer
7938 difference, not %ju.
7940 2014-11-26 Joseph Myers <joseph@codesourcery.com>
7942 * include/libc-internal.h (ignore_value): New macro.
7943 * nscd/connections.c (restart): Wrap calls to setuid and setgid
7946 * sysdeps/mips/__longjmp.c (____longjmp): Use prototype
7949 * nptl/tst-cancel-self-cancelstate.c (do_test): Cast argument of
7950 pthread_cleanup_push to void *.
7952 * sysdeps/unix/sysv/linux/arm/libc-do-syscall.S (_FORTIFY_SOURCE):
7957 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Use 1LL << 52
7958 instead of 1L << 52.
7960 * libio/bug-rewind.c (do_test): Check fwscanf return values.
7961 * libio/bug-rewind2.c (do_test): Likewise.
7963 * debug/test-stpcpy_chk-ifunc.c: Remove file.
7964 * debug/test-strcpy_chk-ifunc.c: Likewise.
7965 * wcsmbs/test-wcschr-ifunc.c: Likewise.
7966 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
7967 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
7968 * wcsmbs/test-wcslen-ifunc.c: Likewise.
7969 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
7970 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
7971 * Rules [$(multi-arch) = no] (tests): Do not filter out
7973 [$(multi-arch) = no] (xtests): Do not filter out $(xtests-ifunc).
7974 * debug/Makefile (tests-ifunc): Remove variable.
7975 (tests): Do not add $(tests-ifunc).
7976 * wcsmbs/Makefile (tests-ifunc): Remove variable.
7977 (tests): Do not add $(tests-ifunc).
7978 * benchtests/bench-string.h (TEST_IFUNC): Remove macro.
7979 [TEST_IFUNC]: Remove conditionals.
7980 * string/test-string.h (TEST_IFUNC): Remove macro.
7981 [TEST_IFUNC]: Remove conditionals.
7983 * string/test-strchr.c [!WIDE] (L): New macro.
7984 [WIDE] (L): Likewise.
7985 (check1): Use CHAR instead of char. Use L on string and character
7988 2014-11-26 Adhemerval Zanella <azanella@linux.ibm.com>
7990 * csu/tst-atomic.c (do_test): Add atomic_exchange_and_add_{acq,rel}
7992 * sysdeps/powerpc/bits/atomic.h
7993 (__arch_atomic_exchange_and_add_32_acq): Add definition.
7994 (__arch_atomic_exchange_and_add_32_rel): Likewise.
7995 (atomic_exchange_and_add_acq): Likewise.
7996 (atomic_exchange_and_add_rel): Likewise.
7997 * sysdeps/powerpc/powerpc32/bits/atomic.h
7998 (__arch_atomic_exchange_and_add_64_acq): Add definition.
7999 (__arch_atomic_exchange_and_add_64_rel): Likewise.
8000 * sysdeps/powerpc/powerpc64/bits/atomic.h
8001 (__arch_atomic_exchange_and_add_64_acq): Add definition.
8002 (__arch_atomic_exchange_and_add_64_rel): Likewise.
8004 2014-11-26 Torvald Riegel <triegel@redhat.com>
8006 * nptl/tpp.c (__init_sched_fifo_prio, __pthread_tpp_change_priority):
8007 Change synchronization of __sched_fifo_min_prio and
8008 __sched_fifo_max_prio.
8009 * nptl/pthread_mutexattr_getprioceiling.c
8010 (pthread_mutexattr_getprioceiling): Likewise.
8011 * nptl/pthread_mutexattr_setprioceiling.c
8012 (pthread_mutexattr_setprioceiling): Likewise.
8013 * nptl/pthread_mutex_init.c (__pthread_mutex_init): Likewise.
8014 * nptl/pthread_mutex_setprioceiling.c (pthread_mutex_setprioceiling):
8017 2014-11-26 Joseph Myers <joseph@codesourcery.com>
8019 * setjmp/jmpbug.c (test): Make foo volatile and cast it to
8022 2014-11-25 Joseph Myers <joseph@codesourcery.com>
8024 * stdio-common/tst-printf-round.c (test_hex_in_one_mode): Make
8025 third argument const.
8027 2014-11-25 Paul Eggert <eggert@cs.ucla.edu>
8029 fnmatch: work around GCC compiler warning bug with uninit var
8030 * posix/fnmatch_loop.c (FCT): Use a scalar not a one-item array.
8031 This works around a bug with x86-64 GCC 4.9.2 and earlier
8032 where 'gcc -O2 -Wmaybe-uninitialized' incorrectly complains
8033 "../locale/weightwc.h:93:7: warning: '*((void *)&str+4)' may be
8034 used uninitialized in this function [-Wmaybe-uninitialized]".
8036 2014-11-25 Joseph Myers <joseph@codesourcery.com>
8038 * posix/bug-regex31.c (main): Return RES not 0.
8040 2014-11-25 Anton Blanchard <anton@samba.org>
8042 * sysdeps/powerpc/bits/atomic.h
8043 (__arch_compare_and_exchange_bool_64_rel): Load from mem.
8045 2014-11-24 Sterling Augustine <saugustine@google.com>
8047 * sysdeps/x86_64/start.S (_start): Use ENTRY and END macros.
8049 2014-11-24 Ryan Cumming <etaoins@gmail.com>
8052 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_TAI.
8054 2014-11-24 Joseph Myers <joseph@codesourcery.com>
8057 * stdio-common/perror.c (perror): Call __fileno instead of fileno.
8058 * conform/Makefile (test-xfail-ISO/stdio.h/linknamespace): Remove
8060 (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
8061 (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
8063 2014-11-24 Wilco Dijkstra <wdijkstr@arm.com>
8065 * string/strncpy.c (strncpy): Improve performance by using memset.
8067 2014-11-24 Wilco Dijkstra <wdijkstr@arm.com>
8069 * string/strcpy.c (strcpy):
8070 Improve performance by using strlen and memcpy.
8072 2014-11-24 Leonhard Holz <leonhard.holz@web.de>
8074 * string/strcoll_l.c (get_next_seq): __always_inline.
8075 * string/strcoll_l.c (do_compare): __always_inline.
8077 2014-11-24 Siddhesh Poyarekar <siddhesh@redhat.com>
8079 * include/bits/stdlib-float.h: Use IS_IN only if _ISOMAC is
8081 * include/mqueue.h: Likewise.
8082 * include/stdlib.h: Likewise.
8084 * stdlib/isomac.c (fmt): Replace NOT_IN_libc with IN_MODULE.
8085 (get_null_defines): Adjust.
8086 * sunrpc/Makefile: Adjust comment.
8087 * Makerules (CPPFLAGS-nonlib): Remove NOT_IN_libc.
8088 * elf/Makefile (CPPFLAGS-sotruss-lib): Likewise.
8089 (CFLAGS-interp.c): Likewise.
8090 (CFLAGS-ldconfig.c): Likewise.
8091 (CPPFLAGS-.os): Likewise.
8092 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
8093 * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
8094 * extra-modules.mk (extra-modules.mk): Likewise.
8095 * iconv/Makefile (CPPFLAGS-iconvprogs): Likewise.
8096 * locale/Makefile (CPPFLAGS-locale_programs): Likewise.
8097 * malloc/Makefile (CPPFLAGS-memusagestat): Likewise.
8098 * nscd/Makefile (CPPFLAGS-nscd): Likewise.
8099 * nss/Makefile (CPPFLAGS-nss_test1): Likewise.
8100 * stdlib/Makefile (CFLAGS-tst-putenvmod.c): Likewise.
8101 * sysdeps/gnu/Makefile ($(objpfx)errlist-compat.c): Likewise.
8102 * sysdeps/unix/sysv/linux/Makefile (CPPFLAGS-lddlibc4): Likewise.
8103 * iconvdata/Makefile (CPPFLAGS): Likewise.
8104 (cpp-srcs-left): Add libof for all iconvdata routines.
8105 * bits/stdio-lock.h: Replace NOT_IN_libc with IS_IN.
8106 * include/assert.h: Likewise.
8107 * include/ctype.h: Likewise.
8108 * include/errno.h: Likewise.
8109 * include/libc-symbols.h: Likewise.
8110 * include/math.h: Likewise.
8111 * include/netdb.h: Likewise.
8112 * include/resolv.h: Likewise.
8113 * include/stdio.h: Likewise.
8114 * include/stdlib.h: Likewise.
8115 * include/string.h: Likewise.
8116 * include/sys/stat.h: Likewise.
8117 * include/wctype.h: Likewise.
8118 * intl/l10nflist.c: Likewise.
8119 * libidn/idn-stub.c: Likewise.
8120 * libio/libioP.h: Likewise.
8121 * nptl/libc_multiple_threads.c: Likewise.
8122 * nptl/pthreadP.h: Likewise.
8123 * posix/regex_internal.h: Likewise.
8124 * resolv/res_hconf.c: Likewise.
8125 * sysdeps/arm/armv7/multiarch/memcpy.S: Likewise.
8126 * sysdeps/arm/memmove.S: Likewise.
8127 * sysdeps/arm/sysdep.h: Likewise.
8128 * sysdeps/generic/_itoa.h: Likewise.
8129 * sysdeps/generic/symbol-hacks.h: Likewise.
8130 * sysdeps/gnu/errlist.awk: Likewise.
8131 * sysdeps/gnu/errlist.c: Likewise.
8132 * sysdeps/i386/i586/memcpy.S: Likewise.
8133 * sysdeps/i386/i586/memset.S: Likewise.
8134 * sysdeps/i386/i686/memcpy.S: Likewise.
8135 * sysdeps/i386/i686/memmove.S: Likewise.
8136 * sysdeps/i386/i686/mempcpy.S: Likewise.
8137 * sysdeps/i386/i686/memset.S: Likewise.
8138 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
8139 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
8140 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: Likewise.
8141 * sysdeps/i386/i686/multiarch/memchr-sse2.S: Likewise.
8142 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
8143 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
8144 * sysdeps/i386/i686/multiarch/memcmp-ssse3.S: Likewise.
8145 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
8146 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
8147 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
8148 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
8149 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
8150 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
8151 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
8152 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
8153 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
8154 * sysdeps/i386/i686/multiarch/memrchr-c.c: Likewise.
8155 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: Likewise.
8156 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: Likewise.
8157 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
8158 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
8159 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
8160 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
8161 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
8162 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
8163 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
8164 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: Likewise.
8165 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
8166 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Likewise.
8167 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
8168 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
8169 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
8170 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
8171 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
8172 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
8173 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
8174 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
8175 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
8176 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
8177 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
8178 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
8179 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
8180 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
8181 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
8182 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
8183 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
8184 * sysdeps/i386/i686/multiarch/wcschr-c.c: Likewise.
8185 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: Likewise.
8186 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
8187 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
8188 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
8189 * sysdeps/i386/i686/multiarch/wcscpy-c.c: Likewise.
8190 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Likewise.
8191 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
8192 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
8193 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: Likewise.
8194 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
8195 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: Likewise.
8196 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: Likewise.
8197 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
8198 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
8199 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
8200 * sysdeps/ia64/fpu/libm-symbols.h: Likewise.
8201 * sysdeps/nptl/bits/libc-lock.h: Likewise.
8202 * sysdeps/nptl/bits/libc-lockP.h: Likewise.
8203 * sysdeps/nptl/bits/stdio-lock.h: Likewise.
8204 * sysdeps/posix/closedir.c: Likewise.
8205 * sysdeps/posix/opendir.c: Likewise.
8206 * sysdeps/posix/readdir.c: Likewise.
8207 * sysdeps/posix/rewinddir.c: Likewise.
8208 * sysdeps/powerpc/novmx-sigjmp.c: Likewise.
8209 * sysdeps/powerpc/powerpc32/__longjmp.S: Likewise.
8210 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
8211 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
8212 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
8213 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Likewise.
8214 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Likewise.
8215 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: Likewise.
8216 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: Likewise.
8217 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: Likewise.
8218 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: Likewise.
8219 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: Likewise.
8220 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: Likewise.
8221 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: Likewise.
8222 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: Likewise.
8223 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: Likewise.
8224 * sysdeps/powerpc/powerpc32/power4/multiarch/memset.c: Likewise.
8225 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: Likewise.
8226 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: Likewise.
8227 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: Likewise.
8228 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr.c: Likewise.
8229 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: Likewise.
8230 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: Likewise.
8231 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: Likewise.
8232 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: Likewise.
8233 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: Likewise.
8234 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: Likewise.
8235 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: Likewise.
8236 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: Likewise.
8237 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: Likewise.
8238 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: Likewise.
8239 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: Likewise.
8240 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: Likewise.
8241 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: Likewise.
8242 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: Likewise.
8243 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Likewise.
8244 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
8245 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
8246 * sysdeps/powerpc/powerpc64/__longjmp.S: Likewise.
8247 * sysdeps/powerpc/powerpc64/multiarch/bzero.c: Likewise.
8248 * sysdeps/powerpc/powerpc64/multiarch/memchr.c: Likewise.
8249 * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: Likewise.
8250 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: Likewise.
8251 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: Likewise.
8252 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: Likewise.
8253 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Likewise.
8254 * sysdeps/powerpc/powerpc64/multiarch/memmove.c: Likewise.
8255 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: Likewise.
8256 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: Likewise.
8257 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: Likewise.
8258 * sysdeps/powerpc/powerpc64/multiarch/memset.c: Likewise.
8259 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: Likewise.
8260 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
8261 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Likewise.
8262 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: Likewise.
8263 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: Likewise.
8264 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: Likewise.
8265 * sysdeps/powerpc/powerpc64/multiarch/strcat.c: Likewise.
8266 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: Likewise.
8267 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: Likewise.
8268 * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: Likewise.
8269 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: Likewise.
8270 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
8271 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c: Likewise.
8272 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Likewise.
8273 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: Likewise.
8274 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: Likewise.
8275 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: Likewise.
8276 * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: Likewise.
8277 * sysdeps/powerpc/powerpc64/multiarch/strncat.c: Likewise.
8278 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: Likewise.
8279 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Likewise.
8280 * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: Likewise.
8281 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: Likewise.
8282 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: Likewise.
8283 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Likewise.
8284 * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: Likewise.
8285 * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: Likewise.
8286 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
8287 * sysdeps/powerpc/powerpc64/multiarch/strspn.c: Likewise.
8288 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c: Likewise.
8289 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
8290 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c: Likewise.
8291 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Likewise.
8292 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
8293 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Likewise.
8294 * sysdeps/s390/s390-32/multiarch/memcmp.S: Likewise.
8295 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
8296 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
8297 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
8298 * sysdeps/s390/s390-64/multiarch/memcmp.S: Likewise.
8299 * sysdeps/s390/s390-64/multiarch/memcpy.S: Likewise.
8300 * sysdeps/s390/s390-64/multiarch/memset.S: Likewise.
8301 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
8302 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
8303 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: Likewise.
8304 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
8305 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
8306 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Likewise.
8307 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: Likewise.
8308 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
8309 * sysdeps/unix/alpha/sysdep.S: Likewise.
8310 * sysdeps/unix/alpha/sysdep.h: Likewise.
8311 * sysdeps/unix/make-syscalls.sh: Likewise.
8312 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
8313 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
8314 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
8315 * sysdeps/unix/sysv/linux/alpha/vfork.S: Likewise.
8316 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
8317 * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
8318 * sysdeps/unix/sysv/linux/getpid.c: Likewise.
8319 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
8320 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
8321 * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Likewise.
8322 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
8323 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
8324 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
8325 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
8326 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
8327 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
8328 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
8329 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
8330 * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
8331 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
8332 * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
8333 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
8334 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
8335 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
8336 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
8337 * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
8338 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
8339 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
8340 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
8341 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: Likewise.
8342 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
8343 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
8344 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
8345 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
8346 * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
8347 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
8348 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
8349 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
8350 * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
8351 * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
8352 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
8353 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
8354 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
8355 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
8356 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
8357 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
8358 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
8359 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
8360 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
8361 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
8362 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
8363 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
8364 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
8365 * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
8366 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
8367 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
8368 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
8369 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
8370 * sysdeps/wordsize-32/symbol-hacks.h: Likewise.
8371 * sysdeps/x86_64/memcpy.S: Likewise.
8372 * sysdeps/x86_64/memmove.c: Likewise.
8373 * sysdeps/x86_64/memset.S: Likewise.
8374 * sysdeps/x86_64/multiarch/init-arch.h: Likewise.
8375 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
8376 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
8377 * sysdeps/x86_64/multiarch/memcmp.S: Likewise.
8378 * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: Likewise.
8379 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
8380 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
8381 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
8382 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
8383 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
8384 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
8385 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
8386 * sysdeps/x86_64/multiarch/memset-avx2.S: Likewise.
8387 * sysdeps/x86_64/multiarch/memset.S: Likewise.
8388 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
8389 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Likewise.
8390 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
8391 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
8392 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
8393 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
8394 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Likewise.
8395 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
8396 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
8397 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
8398 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
8399 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
8400 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
8401 * sysdeps/x86_64/multiarch/wcscpy-c.c: Likewise.
8402 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
8403 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
8404 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Likewise.
8405 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
8406 * sysdeps/x86_64/strcmp.S: Likewise.
8408 * extra-lib.mk (CPPFLAGS-$(lib)): Remove IS_IN_$(lib).
8410 * elf/Makefile (CPPFLAGS-.os): Remove IS_IN_rtld.
8411 * elf/dl-open.c: Use IS_IN (rtld) instead if IS_IN_rtld.
8412 * elf/rtld-Rules: Likewise.
8413 * elf/setup-vdso.h: Likewise.
8414 * include/assert.h: Likewise.
8415 * include/bits/stdlib-float.h: Likewise.
8416 * include/errno.h: Likewise.
8417 * include/sys/stat.h: Likewise.
8418 * include/unistd.h: Likewise.
8419 * sysdeps/aarch64/setjmp.S: Likewise.
8420 * sysdeps/alpha/setjmp.S: Likewise.
8421 * sysdeps/arm/__longjmp.S: Likewise.
8422 * sysdeps/arm/aeabi_unwind_cpp_pr1.c: Likewise.
8423 * sysdeps/arm/setjmp.S: Likewise.
8424 * sysdeps/arm/sysdep.h: Likewise.
8425 * sysdeps/generic/_itoa.h: Likewise.
8426 * sysdeps/generic/dl-sysdep.h: Likewise.
8427 * sysdeps/generic/ldsodefs.h: Likewise.
8428 * sysdeps/i386/dl-tls.h: Likewise.
8429 * sysdeps/i386/setjmp.S: Likewise.
8430 * sysdeps/m68k/setjmp.c: Likewise.
8431 * sysdeps/mach/hurd/dl-execstack.c: Likewise.
8432 * sysdeps/mach/hurd/opendir.c: Likewise.
8433 * sysdeps/posix/getcwd.c: Likewise.
8434 * sysdeps/posix/opendir.c: Likewise.
8435 * sysdeps/posix/profil.c: Likewise.
8436 * sysdeps/powerpc/dl-procinfo.h: Likewise.
8437 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
8438 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
8439 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
8440 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
8441 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Likewise.
8442 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
8443 * sysdeps/s390/dl-tls.h: Likewise.
8444 * sysdeps/s390/s390-32/setjmp.S: Likewise.
8445 * sysdeps/s390/s390-64/setjmp.S: Likewise.
8446 * sysdeps/sh/sh3/setjmp.S: Likewise.
8447 * sysdeps/sh/sh4/setjmp.S: Likewise.
8448 * sysdeps/unix/alpha/sysdep.h: Likewise.
8449 * sysdeps/unix/arm/sysdep.S: Likewise.
8450 * sysdeps/unix/i386/sysdep.S: Likewise.
8451 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
8452 * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
8453 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
8454 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
8455 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
8456 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
8457 * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
8458 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
8459 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
8460 * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
8461 * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
8462 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
8463 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
8464 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
8465 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
8466 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
8467 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
8468 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
8469 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
8470 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
8471 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
8472 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
8473 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
8474 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
8475 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
8476 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
8477 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
8478 * sysdeps/unix/x86_64/sysdep.S: Likewise.
8479 * sysdeps/x86_64/setjmp.S: Likewise.
8481 * include/math.h: Use IS_IN instead of IS_IN_libm.
8482 * sysdeps/alpha/fpu/s_copysign.c: Likewise.
8483 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
8484 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
8485 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
8486 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
8487 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
8488 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
8489 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
8490 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
8491 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
8492 * sysdeps/ieee754/ldbl-64-128/s_copysignl.c: Likewise.
8493 * sysdeps/ieee754/ldbl-64-128/s_finitel.c: Likewise.
8494 * sysdeps/ieee754/ldbl-64-128/s_frexpl.c: Likewise.
8495 * sysdeps/ieee754/ldbl-64-128/s_isinfl.c: Likewise.
8496 * sysdeps/ieee754/ldbl-64-128/s_isnanl.c: Likewise.
8497 * sysdeps/ieee754/ldbl-64-128/s_modfl.c: Likewise.
8498 * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c: Likewise.
8499 * sysdeps/ieee754/ldbl-64-128/s_signbitl.c: Likewise.
8500 * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Likewise.
8501 * sysdeps/ieee754/ldbl-opt/s_copysign.c: Likewise.
8502 * sysdeps/ieee754/ldbl-opt/s_finite.c: Likewise.
8503 * sysdeps/ieee754/ldbl-opt/s_frexp.c: Likewise.
8504 * sysdeps/ieee754/ldbl-opt/s_isinf.c: Likewise.
8505 * sysdeps/ieee754/ldbl-opt/s_isnan.c: Likewise.
8506 * sysdeps/ieee754/ldbl-opt/s_ldexp.c: Likewise.
8507 * sysdeps/ieee754/ldbl-opt/s_ldexpl.c: Likewise.
8508 * sysdeps/ieee754/ldbl-opt/s_modf.c: Likewise.
8509 * sysdeps/ieee754/ldbl-opt/s_scalbln.c: Likewise.
8510 * sysdeps/ieee754/ldbl-opt/s_scalbn.c: Likewise.
8511 * sysdeps/powerpc/power5+/fpu/s_modf.c: Likewise.
8512 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Likewise.
8513 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
8514 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
8515 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
8517 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c:
8519 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c:
8521 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c:
8523 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c:
8525 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
8526 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Likewise.
8527 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
8528 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
8529 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
8530 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
8531 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Likewise.
8532 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: Likewise.
8533 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: Likewise.
8534 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: Likewise.
8535 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: Likewise.
8536 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Likewise.
8537 * sysdeps/powerpc/powerpc64/fpu/s_copysignl.S: Likewise.
8538 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
8539 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
8540 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
8541 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
8542 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
8543 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
8544 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
8545 * sysdeps/powerpc/powerpc64/power7/fpu/s_isnan.S: Likewise.
8546 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: Likewise.
8547 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: Likewise.
8548 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: Likewise.
8549 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: Likewise.
8550 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
8551 * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S: Likewise.
8553 * nptl/lowlevellock.c: Use IS_IN instead of IS_IN_libpthread.
8554 * nptl/pthreadP.h: Likewise.
8555 * nptl_db/structs.def: Likewise.
8556 * sysdeps/arm/sysdep.h: Likewise.
8557 * sysdeps/nptl/bits/libc-lock.h: Likewise.
8558 * sysdeps/nptl/bits/libc-lockP.h: Likewise.
8559 * sysdeps/sparc/sparc32/lowlevellock.c: Likewise.
8560 * sysdeps/unix/alpha/sysdep.h: Likewise.
8561 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
8562 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
8563 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
8564 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
8565 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
8566 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
8567 * sysdeps/unix/sysv/linux/i386/sysdep.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: Likewise.
8576 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
8577 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
8578 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
8579 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
8580 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
8581 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
8582 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
8583 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
8584 * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
8585 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: Likewise.
8586 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
8588 * include/mqueue.h: Use IS_IN instead of IS_IN_librt.
8589 * nptl/pthreadP.h: Likewise.
8590 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
8591 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
8592 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
8593 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
8594 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
8595 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
8596 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
8597 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
8598 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
8599 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
8600 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
8601 * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
8602 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
8604 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
8606 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
8607 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
8608 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
8609 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
8610 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
8611 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
8612 * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
8613 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
8615 * dlfcn/dladdr.c: Use IS_IN.
8616 * dlfcn/dladdr1.c: Likewise.
8617 * dlfcn/dlclose.c: Likewise.
8618 * dlfcn/dlerror.c: Likewise.
8619 * dlfcn/dlinfo.c: Likewise.
8620 * dlfcn/dlmopen.c: Likewise.
8621 * dlfcn/dlopen.c: Likewise.
8622 * dlfcn/dlsym.c: Likewise.
8623 * dlfcn/dlvsym.c: Likewise.
8625 * include/ifaddrs.h: Use IS_IN.
8626 * inet/check_pf.c: Likewise.
8627 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
8628 * nscd/Makefile (CPPFLAGS-nscd): Remove IS_IN_nscd.
8630 * elf/Makefile (CFLAGS-ldconfig.c): Remove definition of
8632 * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Use IS_IN.
8633 * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.h: Likewise.
8635 * include/shlib-compat.h [!NOT_IN_libc]: Remove.
8636 * nss/nss_files/files-parse.c (IS_IN_libc): Replace with
8639 * elf/Makefile (libof-sotruss-lib): Set as extramodules.
8641 * elf/Makefile (CPPFLAGS-.os): Remove IN_LIB.
8642 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
8643 * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
8644 * include/libc-symbols.h (IS_IN_LIB): New macro.
8645 * include/errno.h: Use IS_IN_LIB instead of IN_LIB.
8646 * include/netdb.h: Likewise.
8647 * include/stap-probe.h: Remove all uses of IN_LIB.
8649 * Makeconfig (module-cppflags-real): Define MODULE_NAME
8650 instead of IN_MODULE.
8651 * include/libc-symbols.h (IN_MODULE): Define using
8653 (PASTE_NAME, PASTE_NAME1): New macros.
8654 * include/stap-probe.h (LIBC_PROBE_1): Use MODULE_NAME instead
8656 (STAP_PROBE_ASM): Likewise.
8658 2014-11-23 Samuel Thibault <samuel.thibault@ens-lyon.org>
8660 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Call
8661 __mach_init in dlopened libc.
8663 2014-11-22 Mike Frysinger <vapier@gentoo.org>
8665 * sysdeps/arm/preconfigure.ac: Delete EABI check.
8666 * sysdeps/arm/preconfigure: Regenerate.
8668 2014-11-21 Roland McGrath <roland@hack.frob.com>
8670 * nptl/pthread_create.c (__pthread_create_2_1): Set
8671 ATTR_FLAG_POLICY_SET and/or ATTR_FLAG_SCHED_SET in PD->flags
8672 when copying values from IATTR into PD.
8674 2014-11-21 Will Newton <will.newton@linaro.org>
8675 Andrew Pinski <andrew.pinski@caviumnetworks.com>
8677 * sysdeps/aarch64/dl-machine.h (elf_machine_load_address):
8678 Refactor inline-asm. Also add comment.
8680 * sysdeps/aarch64/bits/link.h (la_aarch64_gnu_pltenter): Use
8681 ElfW macro instead of hardcoded Elf64 types.
8682 (la_aarch64_gnu_pltenter): Likewise.
8683 * sysdeps/aarch64/dl-machine.h
8684 (elf_machine_runtime_setup): Use ElfW(Addr).
8686 * elf/elf.h (R_AARCH64_P32_ABS32, R_AARCH64_P32_COPY,
8687 R_AARCH64_P32_GLOB_DAT, R_AARCH64_P32_JUMP_SLOT,
8688 R_AARCH64_P32_RELATIVE, R_AARCH64_P32_TLS_DTPMOD,
8689 R_AARCH64_P32_TLS_DTPREL, R_AARCH64_P32_TLS_TPREL,
8690 R_AARCH64_P32_TLSDESC, R_AARCH64_P32_IRELATIVE): Define.
8691 (R_AARCH64_TLS_DTPMOD64): Rename to ..
8692 (R_AARCH64_TLS_DTPMOD): This.
8693 (R_AARCH64_TLS_DTPREL64): Rename to ...
8694 (R_AARCH64_TLS_DTPREL): This.
8695 (R_AARCH64_TLS_TPREL64): Rename to ...
8696 (R_AARCH64_TLS_TPREL): This.
8697 * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Update
8698 R_AARCH64_TLS_DTPMOD64, R_AARCH64_TLS_DTPREL64, and
8699 R_AARCH64_TLS_TPREL64.
8700 (elf_machine_rela): Likewise.
8702 2014-11-21 Torvald Riegel <triegel@redhat.com>
8704 * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS): Fix value
8705 by setting it to 0. 64b atomics are not supported currently.
8707 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
8710 * resolv/res_query.c (__libc_res_nsearch): Skip leading dot in
8711 search domain names.
8713 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
8717 * resolv/res_query.c (__libc_res_nquerydomain): Retain
8719 * posix/tst-getaddrinfo5.c: New.
8720 * posix/Makefile (tests): Add it.
8722 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
8726 * nss/nss_db/db-XXX.c (_nss_db_get##name##_r): Update hidx
8727 after parsing line but before break_if_match.
8728 * nss/nss_files/files-service (DB_LOOKUP): Don't "continue;"
8729 if there is a protocol mismatch.
8731 2014-11-21 Ma Shimiao <mashimiao.fnst@cn.fujitsu.com>
8733 * manual/sysinfo.texi (addmntent): It is actually MT-Safe,
8734 because the potential race is on the user-supplied stream.
8736 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
8738 * sysdeps/posix/ctermid.c (ctermid): Return a pointer to a
8739 string literal if not passed a buffer.
8740 * manual/job.texi (ctermid): Update reasoning, note deviation
8741 from posix, suggest mtasurace when not passed a buffer, for
8742 future non-preliminary safety notes.
8744 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
8746 * manual/users.texi (cuserid): Fix MT-Safety note for the case
8747 of not passing it a buffer.
8748 Reported by Peng Haitao.
8750 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
8752 * manual/Makefile ($(objpfx)stamp-summary): Require
8753 check-safety.sh to pass.
8754 * manual/check-safety.sh: Wish for verification that every
8755 @deftypefn and @deftypefun is followed by a @safety remark.
8757 2014-11-20 Roland McGrath <roland@hack.frob.com>
8759 * nptl/unwind.c (unwind_cleanup): Use __libc_fatal.
8761 * nptl/pthread_setcanceltype.c [!SIGCANCEL]: Return ENOTSUP early for
8762 PTHREAD_CANCEL_ASYNCHRONOUS.
8763 * nptl/pthread_cancel.c [!SIGCANCEL]: Just abort rather than trying to
8766 * nptl/default-sched.h: New file.
8767 * sysdeps/unix/sysv/linux/default-sched.h: New file.
8768 * nptl/pthread_create.c: Include it.
8769 (__pthread_create_2_1): Use collect_default_sched instead of making
8770 Linux syscalls here directly.
8772 2014-11-20 Torvald Riegel <triegel@redhat.com>
8774 * nptl/pthread_once.c (clear_once_control, __pthread_once_slow,
8775 __pthread_once): Use C11 atomics.
8777 2014-11-20 Torvald Riegel <triegel@redhat.com>
8779 * csu/tst-atomic.c (do_test): Add tests for C11-like atomics.
8781 2014-11-20 Torvald Riegel <triegel@redhat.com>
8783 * include/atomic.h (__atomic_link_error, __atomic_check_size,
8784 atomic_thread_fence_acquire, atomic_thread_fence_release,
8785 atomic_thread_fence_seq_cst, atomic_load_relaxed,
8786 atomic_load_acquire, atomic_store_relaxed, atomic_store_release,
8787 atomic_compare_exchange_weak_relaxed,
8788 atomic_compare_exchange_weak_acquire,
8789 atomic_compare_exchange_weak_release,
8790 atomic_exchange_acquire, atomic_exchange_release,
8791 atomic_fetch_add_relaxed, atomic_fetch_add_acquire,
8792 atomic_fetch_add_release, atomic_fetch_add_acq_rel,
8793 atomic_fetch_and_acquire,
8794 atomic_fetch_or_relaxed, atomic_fetch_or_acquire): New.
8796 2014-11-20 Torvald Riegel <triegel@redhat.com>
8798 * sysdeps/aarch64/bits/atomic.h (__HAVE_64B_ATOMICS,
8799 USE_ATOMIC_COMPILER_BUILTINS): Define.
8800 * sysdeps/alpha/bits/atomic.h (__HAVE_64B_ATOMICS,
8801 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
8802 * sysdeps/arm/bits/atomic.h (__HAVE_64B_ATOMICS,
8803 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
8804 * sysdeps/i386/i486/bits/atomic.h (__HAVE_64B_ATOMICS,
8805 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
8806 * sysdeps/ia64/bits/atomic.h (__HAVE_64B_ATOMICS,
8807 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
8808 * sysdeps/m68k/coldfire/bits/atomic.h (__HAVE_64B_ATOMICS,
8809 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
8810 * sysdeps/m68k/m680x0/m68020/bits/atomic.h (__HAVE_64B_ATOMICS,
8811 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
8812 * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS,
8813 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
8814 * sysdeps/mips/bits/atomic.h (__HAVE_64B_ATOMICS,
8815 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
8816 * sysdeps/powerpc/powerpc32/bits/atomic.h (__HAVE_64B_ATOMICS,
8817 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
8818 * sysdeps/powerpc/powerpc64/bits/atomic.h (__HAVE_64B_ATOMICS,
8819 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
8820 * sysdeps/s390/bits/atomic.h (__HAVE_64B_ATOMICS,
8821 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
8822 * sysdeps/sparc/sparc32/bits/atomic.h (__HAVE_64B_ATOMICS,
8823 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
8824 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (__HAVE_64B_ATOMICS,
8825 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
8826 * sysdeps/sparc/sparc64/bits/atomic.h (__HAVE_64B_ATOMICS,
8827 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
8828 * sysdeps/tile/tilegx/bits/atomic.h (__HAVE_64B_ATOMICS,
8829 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
8830 * sysdeps/tile/tilepro/bits/atomic.h (__HAVE_64B_ATOMICS,
8831 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
8832 * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (__HAVE_64B_ATOMICS,
8833 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
8834 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
8835 (__HAVE_64B_ATOMICS, USE_ATOMIC_COMPILER_BUILTINS): Likewise.
8836 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (__HAVE_64B_ATOMICS,
8837 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
8838 * sysdeps/x86_64/bits/atomic.h (__HAVE_64B_ATOMICS,
8839 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
8841 2014-11-19 Roland McGrath <roland@hack.frob.com>
8843 * nptl/pthread_create.c (__pthread_create_2_1): Don't try to validate
8844 the sched_priority value here. It was already checked when the user
8845 called pthread_attr_setschedparam.
8847 * nptl/tst-bad-schedattr.c: New file.
8848 * nptl/Makefile (tests): Add it.
8850 2014-11-19 Carlos O'Donell <carlos@redhat.com>
8851 Florian Weimer <fweimer@redhat.com>
8852 Joseph Myers <joseph@codesourcery.com>
8853 Adam Conrad <adconrad@0c3.net>
8854 Andreas Schwab <schwab@suse.de>
8855 Brooks <bmoses@google.com>
8858 * wordexp-test.c (__dso_handle): Add prototype.
8859 (__register_atfork): Likewise.
8860 (__app_register_atfork): New function.
8861 (registered_forks): New global.
8862 (register_fork): New function.
8863 (test_case): Add 3 new tests for WRDE_CMDSUB.
8864 (main): Call __app_register_atfork.
8865 (testit): If WRDE_NOCMD set registered_forks to zero, run test, and if
8866 fork count is non-zero fail the test.
8867 * posix/wordexp.c (exec_comm): Return WRDE_CMDSUB if WRDE_NOCMD flag
8869 (parse_dollars): Remove check for WRDE_NOCMD.
8870 (parse_dquote): Likewise.
8872 2014-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
8874 * Makeconfig (built-modules): List non-library modules to be
8876 (module-cppflags): Include libc-modules.h for
8877 everything except shlib-versions.v.i.
8879 (before-compile): Add libc-modules.h.
8880 ($(common-objpfx)libc-modules.h,
8881 $(common-objpfx)libc-modules.stmp): New targets.
8882 (common-generated): Add libc-modules.h and libc-modules.stmp.
8883 ($(common-objpfx)Versions.v.i): Depend on libc-modules.h.
8884 * include/libc-symbols.h: Don't include libc-modules.h.
8885 * include/libc-modules.h: Remove file.
8886 * scripts/gen-libc-modules.awk: New script to generate
8888 * sysdeps/unix/Makefile ($(common-objpfx)sysd-syscalls):
8889 Depend on libc-modules.stmp.
8891 * include/shlib-compat.h (_SHLIB_COMPAT): Use IS_IN.
8893 * Makeconfig (in-module): Get value of libof set for the
8895 (CPPFLAGS): Use $(in-module).
8896 * Makerules: Don't suffix routine names for nonlib.
8897 * include/libc-modules.h: New file.
8898 * include/libc-symbols.h: Include libc-modules.h
8899 (IS_IN): New macro to replace IS_IN_* macros.
8900 * elf/Makefile: Set libof-* for each routine.
8901 * elf/rtld-Rules: Likewise.
8902 * extra-modules.mk: Likewise.
8903 * iconv/Makefile: Likewise.
8904 * iconvdata/Makefile: Likewise.
8905 * locale/Makefile: Likewise.
8906 * malloc/Makefile: Likewise.
8907 * nss/Makefile: Likewise.
8908 * sysdeps/gnu/Makefile: Likewise.
8909 * sysdeps/ieee754/ldbl-opt/Makefile: Likewise.
8910 * sysdeps/unix/sysv/linux/Makefile: Likewise.
8911 * sysdeps/s390/s390-64/Makefile: Likewise.
8912 * nscd/Makefile: Set libof-* for each routine. Set CFLAGS and
8913 CPPFLAGS for nscd instead of nonlib.
8915 2014-11-18 Roland McGrath <roland@hack.frob.com>
8917 * nptl/createthread.c: New file.
8919 * nptl/createthread.c: Moved ...
8920 * sysdeps/unix/sysv/linux/createthread.c: ... here.
8922 * nptl/createthread.c: Add proper top-line comment.
8923 (do_clone): Folded into ...
8924 (create_thread): ... here. Take new arguments STOPPED_START and
8925 THREAD_RAN. Always set PD->stopped_start to something here. Don't
8926 increment __nptl_threads, do event-reporting logic, do
8927 CHECK_THREAD_SYSINFO, or set THREAD_SELF->header.multiple_threads
8928 here. Set *THREAD_RAN after ARCH_CLONE call succeeds. Don't do any
8929 resource cleanup if sched_setaffinity or sched_setscheduler fails,
8930 just send SIGCANCEL.
8931 * nptl/pthread_create.c: Forward-declare create_thread before
8932 including createthread.c.
8933 (start_thread): Use new macro START_THREAD_DEFN to replace defining
8934 declaration, and new macro START_THREAD_SELF to replace argument.
8935 Remove return statement.
8936 (report_thread_creation): New function.
8937 (__pthread_create_2_1): Use it. Do TD_CREATE reporting,
8938 synchronization logic, and __nptl_nthreads increment here, around
8939 calling create_thread. Do CHECK_THREAD_SYSINFO and initialize
8940 PD->parent_cancelhandling here, before create_thread. When
8941 create_thread fails, do __nptl_nthreads decrement, setxid_futex wake,
8942 __deallocate_stack, and ENOMEM translation here.
8944 2014-11-18 Joseph Myers <joseph@codesourcery.com>
8947 * sysdeps/ieee754/dbl-64/mpa.c (mpone): Rename to __mpone.
8948 (mptwo): Rename to __mptwo.
8949 (__inv): Use __mptwo instead of mptwo.
8950 * sysdeps/ieee754/dbl-64/mpa.h (mpone): Rename to __mpone.
8951 (mptwo): Rename to __mptwo.
8952 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __mpone instead
8953 of mpone and __mptwo instead of mptwo.
8954 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Use __mpone
8956 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
8957 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Likewise.
8958 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use __mpone instead
8959 of mpone and __mptwo instead of mptwo.
8960 (__mpranred): Use __mpone instead of mpone.
8961 * conform/Makefile (test-xfail-ISO/math.h/linknamespace): Remove
8963 (test-xfail-ISO99/complex.h/linknamespace): Likewise.
8964 (test-xfail-ISO99/math.h/linknamespace): Likewise.
8965 (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
8966 (test-xfail-ISO11/complex.h/linknamespace): Likewise.
8967 (test-xfail-ISO11/math.h/linknamespace): Likewise.
8968 (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
8969 (test-xfail-XPG3/math.h/linknamespace): Likewise.
8970 (test-xfail-XPG4/math.h/linknamespace): Likewise.
8971 (test-xfail-POSIX/math.h/linknamespace): Likewise.
8972 (test-xfail-UNIX98/math.h/linknamespace): Likewise.
8973 (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
8974 (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
8975 (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
8976 (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
8977 (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
8978 (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
8979 (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
8980 (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
8981 (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
8983 2014-11-18 Tom de Vries <tom@codesoucery.com>
8985 * manual/signal.texi (Primitives Interrupted by Signals): In section,
8986 replace BSD Handler xref with BSD Signal Handling.
8988 2014-11-17 Richard Henderson <rth@redhat.com>
8990 * sysdeps/alpha/soft-fp/local-soft-fp.h (_FP_UNPACK_RAW_2): Remove.
8991 (_FP_PACK_RAW_2): Remove.
8992 (AXP_DECL_RETURN_Q): Rename from FP_DECL_RETURN, use _FP_UNION_Q.
8993 (AXP_RETURN_Q): Rename from FP_RETURN, use _FP_UNION_Q.
8994 (AXP_UNPACK_RAW_Q, AXP_UNPACK_SEMIRAW_Q, AXP_UNPACK_Q): New.
8995 (AXP_PACK_RAW_Q, AXP_PACK_SEMIRAW_Q, AXP_PACK_Q): New.
8996 * sysdeps/alpha/soft-fp/ots_add.c (_OtsAddX): Update to match.
8997 * sysdeps/alpha/soft-fp/ots_cmp.c (internal_equality): Likewise.
8998 * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Likewise.
8999 * sysdeps/alpha/soft-fp/ots_cvtqux.c (_OtsCvtQUX): Likewise.
9000 * sysdeps/alpha/soft-fp/ots_cvtqx.c (_OtsCvtQX): Likewise.
9001 * sysdeps/alpha/soft-fp/ots_cvttx.c (_OtsConvertFloatTX): Likewise.
9002 * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Likewise.
9003 * sysdeps/alpha/soft-fp/ots_cvtxt.c (_OtsConvertFloatXT): Likewise.
9004 * sysdeps/alpha/soft-fp/ots_div.c (_OtsDivX): Likewise.
9005 * sysdeps/alpha/soft-fp/ots_mul.c (_OtsMulX): Likewise.
9006 * sysdeps/alpha/soft-fp/ots_nintxq.c (_OtsNintXQ): Likewise.
9007 * sysdeps/alpha/soft-fp/ots_sub.c (_OtsSubX): Likewise.
9009 2014-11-14 Roland McGrath <roland@hack.frob.com>
9011 * signal/signal.h [__USE_MISC]
9012 (struct sigvec): Remove type.
9013 (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): Remove macros.
9014 (sigvec): Remove declaration.
9015 * sysdeps/posix/sigvec.c: Moved ...
9016 * signal/sigvec.c: ... here, replacing old file.
9017 (struct sigvec): New type, copied from old signal.h definition.
9018 (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): New macros, likewise copied.
9019 (__sigvec): Convert definition to prototype.
9020 (sigvec): Replace weak_alias with compat_symbol.
9021 * signal/Versions (libc: GLIBC_2.21): New version set.
9022 * include/signal.h: Remove __sigvec declaration.
9023 * sysdeps/unix/bsd/sigvec.c: Remove file.
9024 * sysdeps/unix/bsd/syscalls.list: Remove sigvec.
9025 * manual/signal.texi (BSD Handler): Remove subsection.
9026 Move siginterrupt up to ...
9027 (BSD Signal Handling): ... here. Mark it as XPG rather than BSD.
9028 (Blocking in BSD): Fold subsection into its parent.
9029 * NEWS: Mention sigvec removal.
9031 2014-11-14 Joseph Myers <joseph@codesourcery.com>
9033 * sysdeps/x86_64/fpu/dla.h [__FMA4__ && __GNUC_PREREQ (4, 6)]
9034 (DLA_FMS): Make definition conditional only on [__FMA4__].
9035 [__FMA4__ && !__GNUC_PREREQ (4, 6)] (DLA_FMS): Remove conditional
9038 * sysdeps/arm/sysdep.h [PROF && __GNUC_PREREQ(4,4)] (CALL_MCOUNT):
9039 Make definition conditional only on [PROF].
9040 [PROF && !__GNUC_PREREQ(4,4)] (CALL_MCOUNT): Remove conditional
9042 [__GNUC_PREREQ(4,4)] (mcount): Make definition unconditional.
9043 [!__GNUC_PREREQ(4,4)] (mcount): Remove conditional definition.
9045 * signal/signal.h (__sigpause): Only declare if [__USE_XOPEN &&
9047 * include/signal.h (__sigpause): Move declaration above call to
9049 * conform/Makefile (test-xfail-ISO/signal.h/linknamespace): Remove
9051 (test-xfail-ISO99/signal.h/linknamespace): Likewise.
9052 (test-xfail-ISO11/signal.h/linknamespace): Likewise.
9054 2014-11-14 David S. Miller <davem@davemloft.net>
9056 * sysdeps/sparc/sparc64/rtld-memcpy.c (NO_MEMPCPY_STPCPY_REDIRECT):
9057 Define before including <string/memcpy.c> and <string/mempcpy.c>.
9059 2014-11-14 Joseph Myers <joseph@codesourcery.com>
9061 * configure.ac (libc_cv_compiler_ok): Require GCC 4.6 or later.
9062 * configure: Regenerated.
9063 * manual/install.texi (Tools for Compilation): Document a
9064 requirement of GCC 4.6 or later and that GCC 4.9 is the newest
9065 compiler verified to work.
9066 * INSTALL: Regenerated.
9068 * include/string.h [NO_MEMPCPY_STPCPY_REDIRECT] (mempcpy): Do not
9069 redeclare with asm name.
9070 [NO_MEMPCPY_STPCPY_REDIRECT] (stpcpy): Likewise.
9071 * string/mempcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Define before
9072 including <string.h>.
9073 * string/stpcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
9074 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c
9075 [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
9076 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c
9077 [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
9078 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
9079 [SHARED && !NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
9081 2014-11-13 Joseph Myers <joseph@codesourcery.com>
9083 * stdlib/strtol.c (__strtol): Use prototype definition.
9086 * stdlib/strtol.c (SYM__): New macro.
9088 (__strtol): Likewise.
9089 (strtol): Rename to __strtol and define as weak alias of
9090 __strtol. Use libc_hidden_weak.
9092 2014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
9094 * sysdeps/s390/s390-32/dl-machine.h (RTLD_START):
9095 Use numbered labels in inline assembly.
9097 2014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
9099 * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp):
9100 Add setjmp LIBC_PROBE.
9101 * sysdeps/s390/s390-64/setjmp.S (__sigsetjmp):
9103 * sysdeps/s390/s390-32/__longjmp.c (__longjmp):
9104 Add longjmp, longjmp_target LIBC_PROBE.
9105 * sysdeps/s390/s390-64/__longjmp.c (__longjmp):
9108 2014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
9110 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
9111 Gate the definition of refsym additionally with !RTLD_BOOTSTRAP
9112 to get rid of unused variable warning.
9114 2014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
9116 * sysdeps/s390/s390-32/backtrace.c (__backtrace):
9117 Check for unwind_backtrace == NULL only in SHARED case.
9118 (__backchain_backtrace): Compile only in SHARED case.
9119 * sysdeps/s390/s390-64/backtrace.c (__backtrace):
9121 (__backchain_backtrace): Declare as static.
9123 2014-11-12 Roland McGrath <roland@hack.frob.com>
9125 * nptl/createthread.c [!TLS_MULTIPLE_THREADS_IN_TCB]
9126 (__libc_multiple_threads_ptr): Variable moved ...
9127 * nptl/nptl-init.c [!TLS_MULTIPLE_THREADS_IN_TCB]: ... here.
9129 2014-11-12 Joseph Myers <joseph@codesourcery.com>
9131 * conform/GlibcConform.pm: New file.
9132 * conform/conformtest.pl: Use GlibcConform module.
9133 * conform/linknamespace.pl: New file.
9134 * conform/list-header-symbols.pl: Likewise.
9135 * conform/Makefile (linknamespace-symlists-base): New variable.
9136 (linknamespace-symlists-tests): Likewise.
9137 (linknamespace-header-base): Likewise.
9138 (linknamespace-header-tests): Likewise.
9139 (tests-special): Add new tests.
9140 ($(linknamespace-symlists-tests)): New rule.
9141 (linknamespace-libs): New variable.
9142 ($(objpfx)symlist-stdlibs): New rule.
9143 ($(linknamespace-header-tests)): Likewise.
9144 (test-xfail-XPG3/varargs.h/linknamespace): New variable.
9145 (test-xfail-XPG4/varargs.h/linknamespace): Likewise.
9146 (test-xfail-UNIX98/varargs.h/linknamespace): Likewise.
9147 (test-xfail-XPG4/ndbm.h/linknamespace): Likewise.
9148 (test-xfail-UNIX98/ndbm.h/linknamespace): Likewise.
9149 (test-xfail-XOPEN2K/ndbm.h/linknamespace): Likewise.
9150 (test-xfail-XOPEN2K8/ndbm.h/linknamespace): Likewise.
9151 (test-xfail-ISO/math.h/linknamespace): Likewise.
9152 (test-xfail-ISO/signal.h/linknamespace): Likewise.
9153 (test-xfail-ISO/stdio.h/linknamespace): Likewise.
9154 (test-xfail-ISO/time.h/linknamespace): Likewise.
9155 (test-xfail-ISO99/complex.h/linknamespace): Likewise.
9156 (test-xfail-ISO99/ctype.h/linknamespace): Likewise.
9157 (test-xfail-ISO99/math.h/linknamespace): Likewise.
9158 (test-xfail-ISO99/signal.h/linknamespace): Likewise.
9159 (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
9160 (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
9161 (test-xfail-ISO11/complex.h/linknamespace): Likewise.
9162 (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
9163 (test-xfail-ISO11/math.h/linknamespace): Likewise.
9164 (test-xfail-ISO11/signal.h/linknamespace): Likewise.
9165 (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
9166 (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
9167 (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
9168 (test-xfail-XPG3/fnmatch.h/linknamespace): Likewise.
9169 (test-xfail-XPG3/glob.h/linknamespace): Likewise.
9170 (test-xfail-XPG3/math.h/linknamespace): Likewise.
9171 (test-xfail-XPG3/regex.h/linknamespace): Likewise.
9172 (test-xfail-XPG3/search.h/linknamespace): Likewise.
9173 (test-xfail-XPG3/stdio.h/linknamespace): Likewise.
9174 (test-xfail-XPG3/time.h/linknamespace): Likewise.
9175 (test-xfail-XPG3/unistd.h/linknamespace): Likewise.
9176 (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
9177 (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
9178 (test-xfail-XPG4/fmtmsg.h/linknamespace): Likewise.
9179 (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
9180 (test-xfail-XPG4/glob.h/linknamespace): Likewise.
9181 (test-xfail-XPG4/grp.h/linknamespace): Likewise.
9182 (test-xfail-XPG4/libgen.h/linknamespace): Likewise.
9183 (test-xfail-XPG4/math.h/linknamespace): Likewise.
9184 (test-xfail-XPG4/netdb.h/linknamespace): Likewise.
9185 (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
9186 (test-xfail-XPG4/regex.h/linknamespace): Likewise.
9187 (test-xfail-XPG4/search.h/linknamespace): Likewise.
9188 (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
9189 (test-xfail-XPG4/stdlib.h/linknamespace): Likewise.
9190 (test-xfail-XPG4/sys/mman.h/linknamespace): Likewise.
9191 (test-xfail-XPG4/sys/statvfs.h/linknamespace): Likewise.
9192 (test-xfail-XPG4/syslog.h/linknamespace): Likewise.
9193 (test-xfail-XPG4/time.h/linknamespace): Likewise.
9194 (test-xfail-XPG4/unistd.h/linknamespace): Likewise.
9195 (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
9196 (test-xfail-POSIX/aio.h/linknamespace): Likewise.
9197 (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
9198 (test-xfail-POSIX/glob.h/linknamespace): Likewise.
9199 (test-xfail-POSIX/math.h/linknamespace): Likewise.
9200 (test-xfail-POSIX/mqueue.h/linknamespace): Likewise.
9201 (test-xfail-POSIX/pthread.h/linknamespace): Likewise.
9202 (test-xfail-POSIX/regex.h/linknamespace): Likewise.
9203 (test-xfail-POSIX/sched.h/linknamespace): Likewise.
9204 (test-xfail-POSIX/semaphore.h/linknamespace): Likewise.
9205 (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
9206 (test-xfail-POSIX/time.h/linknamespace): Likewise.
9207 (test-xfail-POSIX/unistd.h/linknamespace): Likewise.
9208 (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
9209 (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
9210 (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
9211 (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
9212 (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
9213 (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
9214 (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
9215 (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
9216 (test-xfail-UNIX98/math.h/linknamespace): Likewise.
9217 (test-xfail-UNIX98/mqueue.h/linknamespace): Likewise.
9218 (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
9219 (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
9220 (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
9221 (test-xfail-UNIX98/regex.h/linknamespace): Likewise.
9222 (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
9223 (test-xfail-UNIX98/search.h/linknamespace): Likewise.
9224 (test-xfail-UNIX98/semaphore.h/linknamespace): Likewise.
9225 (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
9226 (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
9227 (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
9228 (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
9229 (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
9230 (test-xfail-UNIX98/time.h/linknamespace): Likewise.
9231 (test-xfail-UNIX98/unistd.h/linknamespace): Likewise.
9232 (test-xfail-UNIX98/wchar.h/linknamespace): Likewise.
9233 (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
9234 (test-xfail-XOPEN2K/aio.h/linknamespace): Likewise.
9235 (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
9236 (test-xfail-XOPEN2K/fcntl.h/linknamespace): Likewise.
9237 (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
9238 (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
9239 (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
9240 (test-xfail-XOPEN2K/grp.h/linknamespace): Likewise.
9241 (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
9242 (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
9243 (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
9244 (test-xfail-XOPEN2K/net/if.h/linknamespace): Likewise.
9245 (test-xfail-XOPEN2K/netdb.h/linknamespace): Likewise.
9246 (test-xfail-XOPEN2K/pthread.h/linknamespace): Likewise.
9247 (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
9248 (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
9249 (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
9250 (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
9251 (test-xfail-XOPEN2K/signal.h/linknamespace): Likewise.
9252 (test-xfail-XOPEN2K/spawn.h/linknamespace): Likewise.
9253 (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
9254 (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
9255 (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
9256 (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
9257 (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
9258 (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
9259 (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
9260 (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
9261 (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
9262 (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
9263 (test-xfail-POSIX2008/aio.h/linknamespace): Likewise.
9264 (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
9265 (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
9266 (test-xfail-POSIX2008/dirent.h/linknamespace): Likewise.
9267 (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
9268 (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
9269 (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
9270 (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
9271 (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
9272 (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
9273 (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
9274 (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
9275 (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
9276 (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
9277 (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
9278 (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
9279 (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
9280 (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
9281 (test-xfail-POSIX2008/unistd.h/linknamespace): Likewise.
9282 (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
9283 (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
9284 (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
9285 (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
9286 (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
9287 (test-xfail-XOPEN2K8/grp.h/linknamespace): Likewise.
9288 (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
9289 (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
9290 (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
9291 (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
9292 (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
9293 (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
9294 (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
9295 (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
9296 (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
9297 (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
9298 (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
9299 (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
9300 (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
9301 (test-xfail-XOPEN2K8/syslog.h/linknamespace): Likewise.
9302 (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
9303 (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
9304 (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
9307 * intl/localealias.c [_LIBC] (FGETS): Use __fgets_unlocked instead
9311 * string/memmem.c [!_LIBC] (__memmem): Define to memmem.
9312 (memmem): Rename to __memmem and define as weak alias of
9313 __memmem. Use libc_hidden_weak.
9314 (__memmem): Use libc_hidden_def.
9315 * include/string.h (__memmem): Declare. Use libc_hidden_proto.
9316 * locale/findlocale.c (valid_locale_name): Use __memmem instead of
9320 * libio/iofgets.c [weak_alias && !_IO_MTSAFE_IO]
9321 (__fgets_unlocked): Add alias of _IO_fgets. Use libc_hidden_def.
9322 * libio/iofgets_u.c (fgets_unlocked): Rename to __fgets_unlocked
9323 and define as weak alias of __fgets_unlocked. Use
9325 (__fgets_unlocked): Use libc_hidden_def.
9326 * include/stdio.h (__fgets_unlocked): Declare. Use
9328 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Use
9329 __fgets_unlocked instead of fgets_unlocked.
9330 * sysdeps/unix/sysv/linux/alpha/getsysstats.c
9331 (GET_NPROCS_CONF_PARSER): Likewise.
9332 * sysdeps/unix/sysv/linux/sparc/getsysstats.c
9333 (GET_NPROCS_CONF_PARSER): Likewise.
9336 * wcsmbs/wmemset.c (wmemset): Rename to __wmemset and define as
9337 weak alias of __wmemset. Use libc_hidden_weak.
9338 (__wmemset): Use libc_hidden_def.
9339 * include/wchar.h (__wmemset): Declare. Use libc_hidden_proto.
9340 * stdio-common/printf_fp.c (___printf_fp): Call __wmemset instead
9344 * include/string.h [NOT_IN_libc || !SHARED] (mempcpy): Declare
9345 with asm name __mempcpy.
9346 [NOT_IN_libc || !SHARED] (stpcpy): Declare with asm name __stpcpy.
9349 * sysdeps/x86_64/rawmemchr.S (rawmemchr): Rename to __rawmemchr
9350 and define as weak alias of __rawmemchr.
9351 (__rawmemchr): Do not define as strong alias of rawmemchr.
9354 * stdlib/msort.c (qsort_r): Rename to __qsort_r and define as weak
9356 (qsort): Call __qsort_r instead of qsort_r.
9357 * include/stdlib.h (qsort_r): Do not call libc_hidden_proto.
9358 (__qsort_r): Declare. Call libc_hidden_proto.
9359 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Call __qsort_r
9361 * nscd/gai.c (__qsort_r): Define to qsort_r.
9362 * posix/tst-rfc3484.c (__qsort_r): Likewise.
9363 * posix/tst-rfc3484-2.c (__qsort_r): Likewise.
9364 * posix/tst-rfc3484-3.c (__qsort_r): Likewise.
9367 * malloc/malloc.c (malloc_info): Rename to __malloc_info and
9368 define as weak alias of __malloc_info.
9371 * dirent/rewinddir.c (rewinddir): Rename to __rewinddir and define
9372 as weak alias of __rewinddir. Don't use libc_hidden_def.
9373 (__rewinddir): Use libc_hidden_def.
9374 * sysdeps/mach/hurd/rewinddir.c: Rename to __rewinddir and define
9375 as weak alias of __rewinddir. Don't use libc_hidden_def.
9376 (__rewinddir): Use libc_hidden_def.
9377 * sysdeps/posix/rewinddir.c: Rename to __rewinddir and define as
9378 weak alias of __rewinddir. Don't use libc_hidden_def.
9379 (__rewinddir): Use libc_hidden_def.
9380 * include/dirent.h (rewinddir): Don't use libc_hidden_proto.
9381 (__rewinddir): Use libc_hidden_proto.
9382 * sysdeps/posix/getcwd.c [!_LIBC] (__rewinddir): Define to
9384 (__getcwd): Use __rewinddir instead of rewinddir.
9387 * libio/fileno.c (fileno): Rename to __fileno and define as weak
9388 alias of __fileno. Use libc_hidden_weak.
9389 (__fileno): Use libc_hidden_def.
9390 [weak_alias] (fileno_unlocked): Define as weak alias of __fileno.
9391 * libio/ftello.c (ftello): Rename to __ftello and define as weak
9393 [__OFF_T_MATCHES_OFF64_T] (ftello64): Define as weak alias of
9395 * libio/iofread.c [weak_alias && !_IO_MTSAFE_IO]
9396 (__fread_unlocked): Define as strong alias of _IO_fread. Use
9398 (fread_unlocked): Don't use libc_hidden_ver.
9399 * libio/iofread_u.c (fread_unlocked): Rename to __fread_unlocked
9400 and define as weak alias of __fread_unlocked. Don't use
9402 (__fread_unlocked): Use libc_hidden_def.
9403 * include/stdio.h (__fileno): Declare. Use libc_hidden_proto.
9404 (ftello): Don't use libc_hidden_proto.
9405 (__ftello): Declare. Use libc_hidden_proto.
9406 (fread_unlocked): Don't use libc_hidden_proto.
9407 (__fread_unlocked): Declare. Use libc_hidden_proto.
9408 * time/tzfile.c (__tzfile_read): Use __fileno, __fread_unlocked
9409 and __ftello instead of fileno, fread_unlocked and ftello.
9411 2012-11-12 Siddhesh Poyarekar <siddhesh@redhat.com>
9413 * sysdeps/s390/s390-32/bcopy.S (__bcopy): Use GOT instead of
9415 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
9417 (_dl_start_user): Likewise.
9418 * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp): Likewise.
9420 2014-11-12 Carlos O'Donell <carlos@redhat.com>
9421 Siddhesh Poyarekar <siddhesh@redhat.com>
9423 * sysdeps/s390/s390-32/dl-machine.h (_dl_start_user):
9424 Move argv and envp down instead of moving argc up.
9425 * sysdeps/s390/s390-32/dl-sysdep.h: New file.
9427 2014-11-12 Leonhard Holz <leonhard.holz@web.de>
9430 * test-skeleton.c (main): Return successful if one of
9431 EXPECTED_SIGNAL or EXPECTED_STATUS is met when both given.
9432 * string/tst-strcoll-overflow.c: Define expected status.
9434 2014-11-12 Tatiana Udalova <t.udalova@samsung.com>
9437 * locale/iso-639.def: Define Bhili and Tulu language codes.
9439 2014-11-11 Alan Hayward <alan.hayward@arm.com>
9441 * sysdeps/unix/sysv/linux/aarch64/bits/ipc.h: New file.
9443 2014-11-10 Renlin Li <Renlin.Li@arm.com>
9446 * sysdeps/aarch64/start.S (_start): Delete x29 overwritten assignment.
9448 2014-11-10 Andrew Senkevich <andrew.n.senkevich@gmail.com>
9450 * configure.ac: Updated check of minimal required version to
9452 * manual/install.texi (Tools for Compilation): Updated version
9454 * configure: Regenerated.
9455 * INSTALL: Likewise.
9457 2014-11-07 Andreas Schwab <schwab@linux-m68k.org>
9459 * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Remove
9462 2014-11-07 Joseph Myers <joseph@codesourcery.com>
9464 * include/sys/wait.h (__libc_waitpid): Remove declaration.
9465 * posix/waitpid.c (__libc_waitpid): Rename to __waitpid.
9466 (__waitpid): Don't define as alias. Use libc_hidden_def not
9468 (waitpid): Define as alias of __waitpid.
9469 * sysdeps/unix/bsd/waitpid.c (__libc_waitpid): Rename to
9471 (__waitpid): Don't define as alias. Use libc_hidden_def not
9473 (waitpid): Define as alias of __waitpid.
9474 * sysdeps/unix/sysv/linux/i386/syscalls.list (waitpid): Remove
9475 __libc_waitpid alias.
9476 * sysdeps/unix/sysv/linux/m68k/syscalls.list (waitpid): Likewise.
9477 * sysdeps/unix/sysv/linux/powerpc/syscalls.list (waitpid):
9479 * sysdeps/unix/sysv/linux/sh/syscalls.list (waitpid): Likewise.
9480 * sysdeps/unix/sysv/linux/sparc/syscalls.list (waitpid): Likewise.
9481 * sysdeps/unix/sysv/linux/tile/waitpid.S (__libc_waitpid): Remove
9483 * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Rename to
9485 (__waitpid): Don't define as alias. Use libc_hidden_def not
9487 (waitpid): Define as alias of __waitpid.
9489 2014-11-06 Carlos O'Donell <carlos@redhat.com>
9491 * manual/llio.texi: Add comment that write safety has been
9494 * elf/Makefile (all-built-dso): Add $(common-objpfx)elf/ld.so.
9495 (localplt-build-dso): Add elf/ld.so.
9496 * sysdeps/unix/sysv/linux/i386/localplt.data: Add ___tls_get_addr
9497 i.e. 3 underscore version, __libc_memalign, malloc, calloc, realloc,
9499 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: Add
9500 __libc_memalign, malloc, calloc, realloc, and free for ld.so.
9501 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data:
9503 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
9505 * sysdeps/unix/sysv/linux/s390/localplt.data: Likewise.
9506 * sysdeps/generic/localplt.data: Add __tls_get_addr i.e. 2 underscore
9507 version, __libc_memalign, malloc, calloc, realloc and free for ld.so.
9508 * sysdeps/unix/sysv/linux/aarch64/localplt.data: Likewise.
9509 * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
9510 * sysdeps/unix/sysv/linux/alpha/localplt.data: Likewise.
9511 * sysdeps/unix/sysv/linux/ia64/localplt.data: Likewise.
9512 * sysdeps/unix/sysv/linux/m68k/localplt.data: Likewise.
9513 * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
9514 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Likewise.
9515 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
9517 2014-11-05 Joseph Myers <joseph@codesourcery.com>
9520 * include/libc-symbols.h (INTUSE): Remove macro.
9522 (INTVARDEF): Likewise.
9523 (_INTVARDEF): Likewise.
9524 (INTDEF2): Likewise.
9525 (INTVARDEF2): Likewise.
9526 * elf/rtld.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Use
9527 rtld_hidden_def instead of INTVARDEF.
9528 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]
9529 (_dl_starting_up_internal): Remove declaration.
9530 (_dl_starting_up): Use rtld_hidden_proto.
9531 * elf/dl-init.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Remove
9533 [!HAVE_INLINED_SYSCALLS] (_dl_starting_up_internal): Likewise.
9534 (_dl_init) [!HAVE_INLINED_SYSCALLS]: Don't use INTUSE with
9536 * elf/dl-writev.h (_dl_writev): Likewise.
9537 * sysdeps/powerpc/powerpc64/dl-machine.h [!HAVE_INLINED_SYSCALLS]
9538 (DL_STARTING_UP_DEF): Use __GI__dl_starting_up instead of
9539 _dl_starting_up_internal.
9541 2014-11-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9543 * stdio-common/tst-fmemopen.c (do_test): Refactor to use
9546 2014-11-05 Will Newton <will.newton@linaro.org>
9548 * benchtests/Makefile: (bench-malloc): Add malloc thread
9549 scalability benchmark.
9550 * benchtests/bench-malloc-threads.c: New file.
9552 2014-11-05 Richard Earnshaw <rearnsha@arm.com>
9554 * sysdeps/aarch64/strchrnul.S: New file.
9556 2014-11-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9558 * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Simplify
9560 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
9562 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
9564 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
9566 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
9568 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
9571 2014-11-05 Arjun Shankar <arjun.is@lostca.se>
9573 * catgets/test-gencat.c: Use test-skeleton.c.
9574 * catgets/tst-catgets.c: Likewise.
9575 * csu/tst-empty.c: Likewise.
9576 * elf/tst-audit2.c: Likewise.
9577 * elf/tst-global1.c: Likewise.
9578 * elf/tst-pathopt.c: Likewise.
9579 * elf/tst-piemod1.c: Likewise.
9580 * elf/tst-tls10.c: Likewise.
9581 * elf/tst-tls11.c: Likewise.
9582 * elf/tst-tls12.c: Likewise.
9583 * gnulib/tst-gcc.c: Likewise.
9584 * iconvdata/tst-e2big.c: Likewise.
9585 * iconvdata/tst-loading.c: Likewise.
9586 * iconv/tst-iconv1.c: Likewise.
9587 * iconv/tst-iconv2.c: Likewise.
9588 * inet/test-inet6_opt.c: Likewise.
9589 * inet/tst-gethnm.c: Likewise.
9590 * inet/tst-network.c: Likewise.
9591 * inet/tst-ntoa.c: Likewise.
9592 * intl/tst-codeset.c: Likewise.
9593 * intl/tst-gettext2.c: Likewise.
9594 * intl/tst-gettext3.c: Likewise.
9595 * intl/tst-ngettext.c: Likewise.
9596 * intl/tst-translit.c: Likewise.
9597 * io/test-stat.c: Likewise.
9598 * libio/test-fmemopen.c: Likewise.
9599 * libio/tst-freopen.c: Likewise.
9600 * libio/tst-sscanf.c: Likewise.
9601 * libio/tst-ungetwc1.c: Likewise.
9602 * libio/tst-ungetwc2.c: Likewise.
9603 * libio/tst-widetext.c: Likewise.
9604 * localedata/tst-ctype.c: Likewise.
9605 * localedata/tst-digits.c: Likewise.
9606 * localedata/tst-leaks.c: Likewise.
9607 * localedata/tst-mbswcs1.c: Likewise.
9608 * localedata/tst-mbswcs2.c: Likewise.
9609 * localedata/tst-mbswcs3.c: Likewise.
9610 * localedata/tst-mbswcs4.c: Likewise.
9611 * localedata/tst-mbswcs5.c: Likewise.
9612 * localedata/tst-setlocale.c: Likewise.
9613 * localedata/tst-trans.c: Likewise.
9614 * localedata/tst-wctype.c: Likewise.
9615 * localedata/tst-xlocale1.c: Likewise.
9616 * login/tst-grantpt.c: Likewise.
9617 * malloc/tst-calloc.c: Likewise.
9618 * malloc/tst-malloc.c: Likewise.
9619 * malloc/tst-mallocstate.c: Likewise.
9620 * malloc/tst-mcheck.c: Likewise.
9621 * malloc/tst-mtrace.c: Likewise.
9622 * malloc/tst-obstack.c: Likewise.
9623 * math/atest-exp2.c: Likewise.
9624 * math/atest-exp.c: Likewise.
9625 * math/atest-sincos.c: Likewise.
9626 * math/test-matherr.c: Likewise.
9627 * math/test-misc.c: Likewise.
9628 * math/test-powl.c: Likewise.
9629 * math/tst-definitions.c: Likewise.
9630 * misc/tst-dirname.c: Likewise.
9631 * misc/tst-efgcvt.c: Likewise.
9632 * misc/tst-fdset.c: Likewise.
9633 * misc/tst-hsearch.c: Likewise.
9634 * misc/tst-mntent2.c: Likewise.
9635 * nptl/tst-sem7.c: Likewise.
9636 * nptl/tst-sem8.c: Likewise.
9637 * nptl/tst-sem9.c: Likewise.
9638 * nss/test-netdb.c: Likewise.
9639 * posix/tst-fnmatch.c: Likewise.
9640 * posix/tst-getlogin.c: Likewise.
9641 * posix/tst-gnuglob.c: Likewise.
9642 * posix/tst-mmap.c: Likewise.
9643 * pwd/tst-getpw.c: Likewise.
9644 * resolv/tst-inet_ntop.c: Likewise.
9645 * rt/tst-timer.c: Likewise.
9646 * stdio-common/test-fseek.c: Likewise.
9647 * stdio-common/test-popen.c: Likewise.
9648 * stdio-common/test-vfprintf.c: Likewise.
9649 * stdio-common/tst-cookie.c: Likewise.
9650 * stdio-common/tst-fileno.c: Likewise.
9651 * stdio-common/tst-gets.c: Likewise.
9652 * stdio-common/tst-obprintf.c: Likewise.
9653 * stdio-common/tst-perror.c: Likewise.
9654 * stdio-common/tst-sprintf2.c: Likewise.
9655 * stdio-common/tst-sprintf3.c: Likewise.
9656 * stdio-common/tst-sprintf.c: Likewise.
9657 * stdio-common/tst-swprintf.c: Likewise.
9658 * stdio-common/tst-tmpnam.c: Likewise.
9659 * stdio-common/tst-unbputc.c: Likewise.
9660 * stdio-common/tst-wc-printf.c: Likewise.
9661 * stdlib/tst-environ.c: Likewise.
9662 * stdlib/tst-fmtmsg.c: Likewise.
9663 * stdlib/tst-limits.c: Likewise.
9664 * stdlib/tst-rand48-2.c: Likewise.
9665 * stdlib/tst-rand48.c: Likewise.
9666 * stdlib/tst-random2.c: Likewise.
9667 * stdlib/tst-random.c: Likewise.
9668 * stdlib/tst-strtol.c: Likewise.
9669 * stdlib/tst-strtoll.c: Likewise.
9670 * stdlib/tst-tls-atexit.c: Likewise.
9671 * stdlib/tst-xpg-basename.c: Likewise.
9672 * string/test-ffs.c: Likewise.
9673 * string/tst-bswap.c: Likewise.
9674 * string/tst-inlcall.c: Likewise.
9675 * string/tst-strtok.c: Likewise.
9676 * string/tst-strxfrm.c: Likewise.
9677 * sysdeps/x86_64/tst-audit10.c: Likewise.
9678 * sysdeps/x86_64/tst-audit3.c: Likewise.
9679 * sysdeps/x86_64/tst-audit4.c: Likewise.
9680 * sysdeps/x86_64/tst-audit5.c: Likewise.
9681 * time/tst-ftime_l.c: Likewise.
9682 * time/tst-getdate.c: Likewise.
9683 * time/tst-mktime3.c: Likewise.
9684 * time/tst-mktime.c: Likewise.
9685 * time/tst-posixtz.c: Likewise.
9686 * time/tst-strptime2.c: Likewise.
9687 * time/tst-strptime3.c: Likewise.
9688 * wcsmbs/tst-btowc.c: Likewise.
9689 * wcsmbs/tst-mbrtowc.c: Likewise.
9690 * wcsmbs/tst-mbsrtowcs.c: Likewise.
9691 * wcsmbs/tst-wchar-h.c: Likewise.
9692 * wcsmbs/tst-wcpncpy.c: Likewise.
9693 * wcsmbs/tst-wcrtomb.c: Likewise.
9694 * wcsmbs/tst-wcsnlen.c: Likewise.
9695 * wcsmbs/tst-wcstof.c: Likewise.
9697 2014-11-04 Joseph Myers <joseph@codesourcery.com>
9700 * elf/dl-profile.c (_dl_mcount): Use rtld_hidden_def instead of
9702 * sysdeps/generic/ldsodefs.h (_dl_mcount_internal): Remove
9704 (_dl_mcount): Use rtld_hidden_proto.
9705 * elf/dl-runtime.c (_dl_profile_fixup): Don't use INTUSE with
9707 * elf/rtld.c (_rtld_global_ro): Likewise.
9710 * elf/dl-init.c (_dl_init): Don't use INTDEF.
9711 * sysdeps/aarch64/dl-machine.h (RTLD_START): Use _dl_init instead
9712 of _dl_init_internal.
9713 * sysdeps/alpha/dl-machine.h (RTLD_START): Likewise.
9714 * sysdeps/arm/dl-machine.h (RTLD_START): Likewise.
9715 * sysdeps/hppa/dl-machine.h (RTLD_START): Likewise.
9716 * sysdeps/i386/dl-machine.h (RTLD_START): Likewise.
9717 * sysdeps/ia64/dl-machine.h (RTLD_START): Likewise.
9718 * sysdeps/m68k/dl-machine.h (RTLD_START): Likewise.
9719 * sysdeps/microblaze/dl-machine.h (RTLD_START): Likewise.
9720 * sysdeps/mips/dl-machine.h (RTLD_START): Likewise.
9721 * sysdeps/powerpc/powerpc32/dl-start.S (_start): Likewise.
9722 * sysdeps/s390/s390-32/dl-machine.h (RTLD_START): Likewise.
9723 * sysdeps/s390/s390-64/dl-machine.h (RTLD_START): Likewise.
9724 * sysdeps/sh/dl-machine.h (RTLD_START): Likewise.
9725 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
9726 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
9727 * sysdeps/tile/dl-start.S (_start): Likewise.
9728 * sysdeps/x86_64/dl-machine.h (RTLD_START): Likewise.
9729 * sysdeps/x86_64/x32/dl-machine.h (RTLD_START): Likewise.
9732 * sysdeps/generic/ldsodefs.h (_dl_argv): Use rtld_hidden_proto.
9733 [IS_IN_rtld] (_dl_argv_internal): Do not declare.
9734 (rtld_progname): Make macro definition unconditional.
9735 * elf/rtld.c (_dl_argv): Use rtld_hidden_data_def instead of
9737 (dlmopen_doit): Do not use INTUSE with _dl_argv.
9738 (dl_main): Likewise.
9739 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
9740 * sysdeps/alpha/dl-machine.h (RTLD_START): Use __GI__dl_argv
9741 instead of _dl_argv_internal.
9742 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
9743 __GI__dl_argv instead of INTUSE(_dl_argv).
9744 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Use
9745 __GI__dl_argv instead of _dl_argv_internal.
9747 * soft-fp/op-common.h (_FP_TO_INT_ROUND): New macro.
9748 * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_D): New
9750 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_D): Likewise.
9751 * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_E):
9753 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_E): Likewise.
9754 * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_Q): New
9756 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_Q): Likewise.
9757 * soft-fp/single.h (FP_TO_INT_ROUND_S): New macro.
9759 2014-11-04 Andreas Schwab <schwab@suse.de>
9761 * posix/regex_internal.h: Don't include <locale/elem-hash.h>.
9763 2014-11-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9765 * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Encode
9766 mtvsrd instruction in binary form.
9768 2014-11-03 Andreas Schwab <schwab@suse.de>
9771 * libio/wfileops.c (_IO_wdo_write): If the file buffer has room
9772 for less than MB_LEN_MAX use a local buffer of that size.
9773 * libio/tst-fputws.c: New file.
9774 * libio/Makefile (tests): Add tst-fputws.
9776 2014-11-01 Jose E. Marchesi <jose.marchesi@oracle.com>
9778 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu): fix
9779 the size of the fpu_fr.fpu_dregs[] array.
9781 2014-11-01 Joseph Myers <joseph@codesourcery.com>
9783 * posix/nanosleep.c (__libc_nanosleep): Rename to __nanosleep.
9784 (__nanosleep): Do not define as alias.
9785 (nanosleep): Define as alias of __nanosleep.
9786 * sysdeps/unix/sysv/linux/syscalls.list (nanosleep): Remove
9787 __libc_nanosleep name.
9789 2014-10-31 Joseph Myers <joseph@codesourcery.com>
9791 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): Mention need to update
9792 install.texi in comment.
9794 2014-10-31 Torvald Riegel <triegel@redhat.com>
9796 * sysdeps/powerpc/bits/atomic.h (atomic_write_barrier): Remove and...
9797 * sysdeps/powerpc/powerpc32/bits/atomic.h (atomic_write_barrier):
9798 ... add here and use lwsync or sync ...
9799 * sysdeps/powerpc/powerpc64/bits/atomic.h (atomic_write_barrier):
9800 ... and add here using lwsync.
9802 2014-10-31 Matthew Fortune <matthew.fortune@imgtec.com>
9804 * elf/dl-machine-reject-phdr.h: New file.
9805 * elf/dl-load.c: #include that.
9806 (open_verify): Call elf_machine_reject_phdr_p and ignore the file
9807 if that returned true.
9809 2014-10-31 Roland McGrath <roland@hack.frob.com>
9812 * Makerules: Move gnu/lib-names.h generation chunk up, to right after
9813 gen-as-const-headers chunk. Add a big scare comment after the last
9814 safe place to touch before-compile.
9816 2014-10-31 Joseph Myers <joseph@codesourcery.com>
9818 * manual/install.texi (Tools for Compilation): Update autoconf
9819 version requirements.
9820 * INSTALL: Regenerated.
9822 * misc/pselect.c [!__pselect] (__libc_pselect): Remove alias.
9823 * sysdeps/unix/sysv/linux/pselect.c [__NR_pselect6]
9824 (__libc_pselect): Likewise.
9827 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Remove file.
9828 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
9829 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
9830 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
9832 2014-10-31 Torvald Riegel <triegel@redhat.com>
9834 * sysdeps/sparc/sparc32/bits/atomic.h (atomic_write_barrier): Use
9835 correct barrier instruction.
9836 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_write_barrier):
9838 * sysdeps/sparc/sparc64/bits/atomic.h (atomic_write_barrier):
9841 2014-10-30 Roland McGrath <roland@hack.frob.com>
9843 * include/ctype.h: Include <ctype/ctype.h> first thing rather than
9844 after defining inlines. Instead, just use parens to defeat macro
9845 expansion of __isctype in its declaration.
9847 2014-10-30 Joseph Myers <joseph@codesourcery.com>
9849 * include/sys/uio.h (__libc_readv): Remove declaration.
9850 (__libc_writev): Likewise.
9851 * misc/readv.c (__libc_readv): Rename to __readv.
9852 (__readv): Do not define as alias.
9853 (readv): Define as alias of __readv.
9854 * misc/writev.c (__libc_writev): Rename to __writev.
9855 (__writev): Do not define as alias.
9856 (writev): Define as alias of __writev.
9857 * sysdeps/posix/readv.c (__libc_readv): Rename to __readv.
9858 (__readv): Do not define as alias.
9859 (readv): Define unconditionally as alias of __readv.
9860 * sysdeps/posix/writev.c (__libc_writev): Rename to __writev.
9861 (__writev): Do not define as alias.
9862 (writev): Define unconditionally as alias of __writev.
9863 * sysdeps/unix/syscalls.list (readv): Do not define __libc_readv
9865 (writev): Do not define __libc_writev name.
9867 2014-10-30 Roland McGrath <roland@hack.frob.com>
9869 * iconv/iconv_charmap.c (add_bytes): Make IN argument pointer to const.
9870 (convert_charseq): New function, broken out of ...
9871 (use_from_charmap): ... here. Call it.
9872 (use_to_charmap): Use convert_charseq and free instead of duplicating
9873 its code with a variable-length stack struct.
9875 2014-10-30 Joseph Myers <joseph@codesourcery.com>
9877 * include/fcntl.h (__libc_creat): Remove declaration.
9878 * io/creat.c (__libc_creat): Rename to creat.
9879 (creat): Do not define as alias.
9880 * sysdeps/unix/sysv/linux/alpha/creat.c (creat64): Define as alias
9881 of creat instead of __libc_creat.
9882 * sysdeps/unix/sysv/linux/generic/creat.c (__libc_creat): Rename
9884 (creat): Do not define as alias.
9885 [__WORDSIZE == 64] (creat64): Define as alias of creat instead of
9887 * sysdeps/unix/sysv/linux/syscalls.list (creat): Do not define
9889 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (creat):
9892 2014-10-29 Carlos O'Donell <carlos@redhat.com>
9894 * manual/llio.texi: Add comments discussing why write() may be
9895 considered MT-unsafe on Linux.
9897 2014-10-28 Carlos O'Donell <carlos@redhat.com>
9899 * dl-load.c (local_strdup): Remove.
9900 (expand_dynamic_string_token): Use __strdup.
9901 (decompose_rpath): Likewise.
9902 (_dl_map_object): Likewise.
9904 2014-10-28 Joseph Myers <joseph@codesourcery.com>
9907 * sysdeps/generic/unwind-dw2-fde.c
9908 (__register_frame_info_bases_internal): Do not declare.
9909 (__register_frame_info_table_bases_internal): Likewise.
9910 (__deregister_frame_info_bases_internal): Likewise.
9911 (__register_frame_info_bases): Declare and use hidden_proto before
9912 definition. Use hidden_def instead of INTDEF.
9913 (__register_frame_info_table_bases): Likewise.
9914 (__deregister_frame_info_bases): Likewise.
9915 (__register_frame_info): Do not use INTUSE.
9916 (__register_frame): Likewise.
9917 (__register_frame_info_table): Likewise.
9918 (__register_frame_table): Likewise.
9919 (__deregister_frame_info): Likewise.
9920 (__deregister_frame): Likewise.
9922 2014-10-27 Gratian Crisan <gratian.crisan@ni.com>
9924 * sysdeps/unix/sysv/linux/arm/kernel-features.h
9925 [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_FUTEX_LOCK_PI): Do
9927 [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_REQUEUE_PI):
9929 [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_SET_ROBUST_LIST):
9932 2014-10-27 Joseph Myers <joseph@codesourcery.com>
9935 * sysdeps/unix/sysv/linux/arm/setfsgid.c: Remove file.
9936 * sysdeps/unix/sysv/linux/arm/setfsuid.c: Likewise.
9937 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Likewise.
9938 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Likewise.
9939 * sysdeps/unix/sysv/linux/m68k/setfsgid.c: Likewise.
9940 * sysdeps/unix/sysv/linux/m68k/setfsuid.c: Likewise.
9941 * sysdeps/unix/sysv/linux/s390/s390-32/setfsgid.c: Likewise.
9942 * sysdeps/unix/sysv/linux/s390/s390-32/setfsuid.c: Likewise.
9943 * sysdeps/unix/sysv/linux/sh/setfsgid.c: Likewise.
9944 * sysdeps/unix/sysv/linux/sh/setfsuid.c: Likewise.
9945 * sysdeps/unix/sysv/linux/sparc/sparc32/setfsgid.c: Likewise.
9946 * sysdeps/unix/sysv/linux/sparc/sparc32/setfsuid.c: Likewise.
9947 * sysdeps/unix/sysv/linux/arm/syscalls.list (setfsgid): Add
9949 (setfsuid): Likewise.
9950 * sysdeps/unix/sysv/linux/i386/syscalls.list (setfsgid): Likewise.
9951 (setfsuid): Likewise.
9952 * sysdeps/unix/sysv/linux/m68k/syscalls.list (setfsgid): Likewise.
9953 (setfsuid): Likewise.
9954 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setfsgid):
9956 (setfsuid): Likewise.
9957 * sysdeps/unix/sysv/linux/sh/syscalls.list (setfsgid): Likewise.
9958 (setfsuid): Likewise.
9959 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (setfsgid):
9961 (setfsuid): Likewise.
9963 2014-10-27 Andreas Schwab <schwab@suse.de>
9966 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Fix
9967 check for Slow_SSE4_2 feature bit.
9968 * sysdeps/i386/i686/multiarch/strcmp.S (STRCMP): Likewise.
9969 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
9970 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP, __strcascmp):
9971 Likewise. Fix check for Fast_Unaligned_Load feature bit.
9973 2014-10-24 Roland McGrath <roland@hack.frob.com>
9975 * configure.ac: Validate compiler version with a empirical test of
9976 __GNUC__ and __GNUC_MINOR__ predefined values, rather than by grepping
9978 * configure: Regenerated.
9980 * inet/htons.c (htons): Prototypify.
9981 * inet/htonl.c (htonl): Likewise.
9983 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
9985 * string/strncat.c (strncat): Improve performance by using strlen.
9987 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
9989 * string/strcat.c (strcat): Improve performance by using strlen/strcpy.
9991 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
9993 * sysdeps/aarch64/fpu/fgetexcptflg.c (fegetexceptflag):
9994 Call libc_fetestexcept_aarch64.
9996 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
9998 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept):
9999 Call libc_feholdexcept_aarch64.
10001 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
10003 * sysdeps/aarch64/fpu/fegetround.c (fegetround):
10004 Call get_rounding_mode.
10006 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
10008 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
10011 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
10013 * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept):
10016 2014-10-24 Joseph Myers <joseph@codesourcery.com>
10019 * sysdeps/unix/sysv/linux/arm/getegid.c: Remove file.
10020 * sysdeps/unix/sysv/linux/arm/geteuid.c: Likewise.
10021 * sysdeps/unix/sysv/linux/arm/getgid.c: Likewise.
10022 * sysdeps/unix/sysv/linux/arm/getgroups.c: Likewise.
10023 * sysdeps/unix/sysv/linux/arm/getresgid.c: Likewise.
10024 * sysdeps/unix/sysv/linux/arm/getresuid.c: Likewise.
10025 * sysdeps/unix/sysv/linux/arm/getuid.c: Likewise.
10026 * sysdeps/unix/sysv/linux/i386/getegid.c: Likewise.
10027 * sysdeps/unix/sysv/linux/i386/geteuid.c: Likewise.
10028 * sysdeps/unix/sysv/linux/i386/getgid.c: Likewise.
10029 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
10030 * sysdeps/unix/sysv/linux/i386/getresgid.c: Likewise.
10031 * sysdeps/unix/sysv/linux/i386/getresuid.c: Likewise.
10032 * sysdeps/unix/sysv/linux/i386/getuid.c: Likewise.
10033 * sysdeps/unix/sysv/linux/m68k/getegid.c: Likewise.
10034 * sysdeps/unix/sysv/linux/m68k/geteuid.c: Likewise.
10035 * sysdeps/unix/sysv/linux/m68k/getgid.c: Likewise.
10036 * sysdeps/unix/sysv/linux/m68k/getgroups.c: Likewise.
10037 * sysdeps/unix/sysv/linux/m68k/getresgid.c: Likewise.
10038 * sysdeps/unix/sysv/linux/m68k/getresuid.c: Likewise.
10039 * sysdeps/unix/sysv/linux/m68k/getuid.c: Likewise.
10040 * sysdeps/unix/sysv/linux/s390/s390-32/getegid.c: Likewise.
10041 * sysdeps/unix/sysv/linux/s390/s390-32/geteuid.c: Likewise.
10042 * sysdeps/unix/sysv/linux/s390/s390-32/getgid.c: Likewise.
10043 * sysdeps/unix/sysv/linux/s390/s390-32/getgroups.c: Likewise.
10044 * sysdeps/unix/sysv/linux/s390/s390-32/getresgid.c: Likewise.
10045 * sysdeps/unix/sysv/linux/s390/s390-32/getresuid.c: Likewise.
10046 * sysdeps/unix/sysv/linux/s390/s390-32/getuid.c: Likewise.
10047 * sysdeps/unix/sysv/linux/sh/getegid.c: Likewise.
10048 * sysdeps/unix/sysv/linux/sh/geteuid.c: Likewise.
10049 * sysdeps/unix/sysv/linux/sh/getgid.c: Likewise.
10050 * sysdeps/unix/sysv/linux/sh/getgroups.c: Likewise.
10051 * sysdeps/unix/sysv/linux/sh/getresgid.c: Likewise.
10052 * sysdeps/unix/sysv/linux/sh/getresuid.c: Likewise.
10053 * sysdeps/unix/sysv/linux/sh/getuid.c: Likewise.
10054 * sysdeps/unix/sysv/linux/sparc/sparc32/getegid.c: Likewise.
10055 * sysdeps/unix/sysv/linux/sparc/sparc32/geteuid.c: Likewise.
10056 * sysdeps/unix/sysv/linux/sparc/sparc32/getgid.c: Likewise.
10057 * sysdeps/unix/sysv/linux/sparc/sparc32/getgroups.c: Likewise.
10058 * sysdeps/unix/sysv/linux/sparc/sparc32/getuid.c: Likewise.
10059 * sysdeps/unix/sysv/linux/arm/syscalls.list (getegid): Add
10061 (geteuid): Likewise.
10062 (getgid): Likewise.
10063 (getuid): Likewise.
10064 (getresgid): Likewise.
10065 (getresuid): Likewise.
10066 (getgroups): Likewise.
10067 * sysdeps/unix/sysv/linux/i386/syscalls.list (getegid): Likewise.
10068 (geteuid): Likewise.
10069 (getgid): Likewise.
10070 (getuid): Likewise.
10071 (getresgid): Likewise.
10072 (getresuid): Likewise.
10073 (getgroups): Likewise.
10074 * sysdeps/unix/sysv/linux/m68k/syscalls.list (getegid): Likewise.
10075 (geteuid): Likewise.
10076 (getgid): Likewise.
10077 (getuid): Likewise.
10078 (getresgid): Likewise.
10079 (getresuid): Likewise.
10080 (getgroups): Likewise.
10081 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (getegid):
10083 (geteuid): Likewise.
10084 (getgid): Likewise.
10085 (getuid): Likewise.
10086 (getresgid): Likewise.
10087 (getresuid): Likewise.
10088 (getgroups): Likewise.
10089 * sysdeps/unix/sysv/linux/sh/syscalls.list (getegid): Likewise.
10090 (geteuid): Likewise.
10091 (getgid): Likewise.
10092 (getuid): Likewise.
10093 (getresgid): Likewise.
10094 (getresuid): Likewise.
10095 (getgroups): Likewise.
10096 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (getegid):
10098 (geteuid): Likewise.
10099 (getgid): Likewise.
10100 (getuid): Likewise.
10101 (getgroups): Likewise.
10104 * sysdeps/unix/sysv/linux/i386/chown.c: Remove file.
10105 * sysdeps/unix/sysv/linux/i386/fchown.c: Likewise.
10106 * sysdeps/unix/sysv/linux/i386/lchown.c: Likewise.
10107 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
10108 * sysdeps/unix/sysv/linux/s390/s390-32/fchown.c: Remove file.
10109 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Likewise.
10110 * sysdeps/unix/sysv/linux/sh/chown.c: Likewise.
10111 * sysdeps/unix/sysv/linux/sh/fchown.c: Likewise.
10112 * sysdeps/unix/sysv/linux/sh/lchown.c: Likewise.
10113 * sysdeps/unix/sysv/linux/sparc/sparc32/chown.c: Likewise.
10114 * sysdeps/unix/sysv/linux/sparc/sparc32/fchown.c: Likewise.
10115 * sysdeps/unix/sysv/linux/sparc/sparc32/lchown.c: Likewise.
10116 * sysdeps/unix/sysv/linux/s390/s390-32/Versions (GLIBC_2.1): Add
10118 * sysdeps/unix/sysv/linux/i386/syscalls.list (chown): Add syscall.
10119 (lchown): Likewise.
10120 (fchown): Likewise.
10121 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (chown):
10123 (lchown): Likewise.
10124 (fchown): Likewise.
10125 * sysdeps/unix/sysv/linux/sh/syscalls.list (chown): Likewise.
10126 (lchown): Likewise.
10127 (fchown): Likewise.
10128 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (chown):
10130 (lchown): Likewise.
10131 (fchown): Likewise.
10133 2014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
10135 * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept):
10138 2014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
10140 * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
10143 2014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
10145 * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
10146 Remove unused include.
10148 2014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
10150 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Remove spaces.
10151 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Remove spaces.
10152 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Remove spaces.
10153 * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Remove spaces.
10155 2014-10-23 Carlos O'Donell <carlos@systemhalted.org>
10156 Helge Deller <deller@gmx.de>
10159 * sysdeps/unix/sysv/linux/hppa/bits/signum.h: Remove SIGEMT.
10160 Define SIGSTKFLT as 7. Define SIGSYS as 31. Define SIGXCPU as 12.
10161 Remove SIGLOST. Define SIGXFSZ as 30. Define __SIGRTMIN as 32.
10163 2014-10-23 Joseph Myers <joseph@codesourcery.com>
10166 * sysdeps/powerpc/powerpc32/libgcc-compat.S (__ashldi3_v_glibc20):
10167 Remove macro definition.
10168 (__ashrdi3_v_glibc20): Likewise.
10169 (__lshrdi3_v_glibc20): Likewise.
10170 (__cmpdi2_v_glibc20): Likewise.
10171 (__ucmpdi2_v_glibc20): Likewise.
10172 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixdfdi_v_glibc20): Likewise.
10173 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
10174 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
10175 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
10176 [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
10177 [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdisf_v_glibc20): Likewise.
10179 2014-10-22 Roland McGrath <roland@hack.frob.com>
10181 * inet/netgroup.h (struct name_list): Use C99 [] syntax rather than
10182 old GNU extension [0] syntax.
10183 * nscd/nscd_helper.c (open_socket): Use a flexible array member and
10184 alloca rather than an array member with variable length.
10185 * nscd/netgroupcache.c (addgetnetgrentX): Likewise.
10186 * nscd/nscd.c (invalidate_db): New function, broken out of ...
10187 (parse_opt): ... here. Likewise use alloca there.
10188 Validate the -i argument before checking for rootness.
10189 (send_shutdown): New function, broken out of ...
10190 (parse_opt): ... here.
10192 2014-10-22 Roland McGrath <roland@hack.frob.com>
10194 * sysdeps/arm/__longjmp.S [NEED_HWCAP] [IS_IN_rtld]: Use LDST_PCREL
10195 macro to get at the _rt_local_ro field.
10196 [NEED_HWCAP] [!IS_IN_rtld]: Use LDR_GLOBAL to get at _rtld_global_ro
10197 ([PIC] case) or _dl_hwcap ([!PIC] case).
10198 * sysdeps/arm/setjmp.S: Likewise.
10200 * config.h.in (ARM_PCREL_MOVW_OK): New macro.
10201 * sysdeps/arm/configure.ac: New check to define it.
10202 * sysdeps/arm/configure: Regenerated.
10203 * sysdeps/arm/sysdep.h [__ASSEMBLER__]: Include <arm-features.h>.
10204 (LDST_INDEXED_NOINDEX, LDST_INDEXED_INDEX): New macros.
10205 (LDST_INDEXED, LDST_PC_INDEXED): New macros, differing definitions
10206 depending on [ARM_NO_INDEX_REGISTER] and [__thumb2__].
10207 (LDST_PCREL) [!__thumb2__ && ARCH_HAS_T2 && ARM_PCREL_MOVW_OK]:
10208 Use move/movt pair instead of a load.
10209 (LDST_GLOBAL): Macro removed.
10210 (LDR_GLOBAL): New macro replaces it.
10211 (LDR_HIDDEN): New macro.
10212 (PTR_MANGLE_LOAD): Use LDR_GLOBAL rather than LDST_GLOBAL.
10213 Use LDR_HIDDEN instead for __pointer_chk_guard_local.
10215 * setjmp/tst-setjmp-static.c: New file.
10216 * setjmp/Makefile (tests): Add it.
10217 (tests-static): New variable.
10219 2014-10-22 Maciej W. Rozycki <macro@codesourcery.com>
10222 * sysdeps/unix/sysv/linux/mips/vfork.S (__libc_vfork): Define.
10224 2014-10-21 Joseph Myers <joseph@codesourcery.com>
10227 * math/s_ldexpf.c (__ldexpf): Do not use INTDEF.
10229 2014-10-21 Roland McGrath <roland@hack.frob.com>
10231 * nptl/version.c (__nptl_main): Call __libc_write, not __write.
10233 2014-10-20 Roland McGrath <roland@hack.frob.com>
10235 * io/fts.c (dirent_not_directory): New function.
10236 (fts_build): Call it.
10238 2014-10-20 Roland McGrath <roland@hack.frob.com>
10240 * nptl/version.c (__nptl_main): Use normal __write rather than
10242 (banner): Update copyright years.
10244 * nptl/pthread_rwlock_timedrdlock.c: #include <sys/time.h> before using
10246 * nptl/pthread_rwlock_timedwrlock.c: Likewise.
10247 * nptl/pthread_cond_timedwait.c: Likewise.
10248 * nptl/pthread_mutex_timedlock.c: Likewise.
10249 * nptl/sem_timedwait.c: Likewise.
10251 * sysdeps/nptl/bits/libc-lock.h
10252 [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
10253 (__libc_lock_init_recursive): Return void, not 0.
10254 * sysdeps/nptl/bits/libc-lockP.h (__libc_lock_init): Likewise.
10255 (__libc_rwlock_init): Likewise.
10256 * sysdeps/nptl/bits/stdio-lock.h (_IO_lock_init): Likewise.
10258 2014-10-20 Torvald Riegel <triegel@redhat.com>
10261 * nptl/pthread_once.c (__pthread_once): Split out fast path to ...
10262 (__pthread_once_slow): ... here.
10263 * sysdeps/unix/sysv/linux/i386/pthread_once.S: Remove file.
10264 * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Remove file.
10266 2014-10-20 Torvald Riegel <triegel@redhat.com>
10269 * nptl/pthreadP.h (__PTHREAD_ONCE_INPROGRESS, __PTHREAD_ONCE_DONE,
10270 __PTHREAD_ONCE_FORK_GEN_INCR): New.
10271 * sysdeps/nptl/fork.c (__libc_fork): Use them.
10272 * nptl/pthread_once.c (__pthread_once): Likewise.
10275 2014-10-20 Joseph Myers <joseph@codesourcery.com>
10278 * sysdeps/unix/syscalls.list (readv): Use __libc_readv as strong
10280 (writev): Use __libc_writev as strong name.
10281 * sysdeps/unix/sysv/linux/readv.c: Remove file.
10282 * sysdeps/unix/sysv/linux/writev.c: Likewise.
10284 2014-10-17 Roland McGrath <roland@hack.frob.com>
10286 * nptl/createthread.c (TLS_DEFINE_INIT_TP, TLS_VALUE): Macros removed.
10288 * sysdeps/i386/nptl/tls.h
10289 (THREAD_SELF_SYSINFO, THREAD_SYSINFO): Macros removed.
10290 [NEED_DL_SYSINFO] (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO):
10292 * sysdeps/ia64/nptl/tls.h [NEED_DL_SYSINFO]
10293 (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO): New macros.
10294 * nptl/allocatestack.c (allocate_stack) [NEED_DL_SYSINFO]:
10295 Call SETUP_THREAD_SYSINFO instead of doing an assignment.
10296 * nptl/createthread.c (create_thread) [NEED_DL_SYSINFO]:
10297 Call CHECK_THREAD_SYSINFO instead of doing an assert.
10299 * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
10300 Conditionalize FUTEX_PRIVATE_FLAG and FUTEX_CLOCK_REALTIME probes
10302 * nptl/pthread_mutex_init.c (prio_inherit_missing): New function,
10304 (__pthread_mutex_init): ... here. Call it.
10305 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full):
10306 Conditionalize PI cases on [__NR_futex].
10307 * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
10308 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Likewise.
10309 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
10311 * nptl/nptl-init.c (sighandler_setxid, __xidcmd): Make definitions
10312 conditional on [SIGSETXID].
10313 (sigcancel_handler): Make definition conditional on [SIGCANCEL].
10314 (__pthread_initialize_minimal_internal): Set up SIGCANCEL only if it
10315 is defined. Likewise for SIGSETXID.
10316 * nptl/allocatestack.c (setxid_mark_thread, setxid_unmark_thread):
10317 Conditionalize definitions on [SIGSETXID].
10318 (setxid_signal_thread, __nptl_setxid_error, __nptl_setxid): Likewise.
10319 * nptl/pthread_create.c (start_thread): Conditionalize SIGCANCEL
10320 unblocking on [SIGCANCEL].
10322 * nptl/nptl-init.c (__nptl_set_robust): Conditionalize body on
10323 [__NR_set_robust_list].
10325 2014-10-17 Siddhesh Poyarekar <siddhesh@redhat.com>
10327 * string/strcoll_l.c (get_next_seq): Fix up formatting.
10328 (do_compare): Likewise.
10330 2014-10-17 Leonhard Holz <leonhard.holz@web.de>
10333 * string/strcoll_l.c: Don't include stdio.h.
10334 (coll_seq): Remove members idxarr and rulearr.
10335 (get_next_seq_cached): Remove function.
10336 (get_next_seq): Likewise.
10337 (get_next_seq_nocache): Rename to get_next_seq.
10338 (do_compare): Remove function.
10339 (do_compare_nocache): Rename to do_compare.
10340 (STRCOLL): Remove weight and rules cache.
10342 2014-10-16 Roland McGrath <roland@hack.frob.com>
10344 * sysdeps/arm/soft-fp/sfp-machine.h: Filed moved ...
10345 * sysdeps/arm/sfp-machine.h: ... to here.
10346 * sysdeps/arm/Implies: Remove arm/soft-fp.
10348 2014-10-14 Joseph Myers <joseph@codesourcery.com>
10350 * conform/data/sys/utsname.h-data (*_t): Allow.
10351 * conform/data/sys/wait.h-data [POSIX] (uid_t): Do not define.
10352 [POSIX] (WEXITED): Do not expect constant.
10353 [POSIX] (WSTOPPED): Likewise.
10354 [POSIX] (WNOHANG): Likewise.
10355 [POSIX] (WNOWAIT): Likewise.
10356 [POSIX] (siginfo_t): Do not expect type or elements.
10357 [POSIX] (pid_t): Do not expect type.
10358 [POSIX] (signal.h): Do not allow header.
10359 [POSIX] (sys/resource.h): Likewise.
10360 [POSIX] (si_*): Do not allow pattern.
10361 [POSIX] (W*): Likewise.
10362 [POSIX] (P_*): Likewise.
10363 [POSIX] (BUS_*): Likewise.
10364 [POSIX] (CLD_*): Likewise.
10365 [POSIX] (FPE_*): Likewise.
10366 [POSIX] (ILL_*): Likewise.
10367 [POSIX] (POLL_*): Likewise.
10368 [POSIX] (SEGV_*): Likewise.
10369 [POSIX] (SI_*): Likewise.
10370 [POSIX] (TRAP_*): Likewise.
10371 * conform/Makefile (test-xfail-POSIX/sys/wait.h/conform): New
10374 2014-10-14 Paul Pluzhnikov <ppluzhnikov@google.com>
10377 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Avoid
10378 infinite loop when __recvmsg returns 0.
10380 2014-10-10 Joseph Myers <joseph@codesourcery.com>
10382 * CANCEL-FCT-WAIVE: Remove file.
10383 * CANCEL-FILE-WAIVE: Likewise.
10386 * elf/dl-sysdep.c (__libc_enable_secure): Use rtld_hidden_data_def
10387 instead of INTVARDEF.
10388 (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
10389 * sysdeps/mach/hurd/dl-sysdep.c (__libc_enable_secure): Use
10390 rtld_hidden_data_def instead of INTVARDEF.
10391 (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
10392 * elf/dl-deps.c (expand_dst): Likewise.
10393 * elf/dl-load.c (_dl_dst_count): Likewise.
10394 (_dl_dst_substitute): Likewise.
10395 (decompose_rpath): Likewise.
10396 (_dl_init_paths): Likewise.
10397 (open_path): Likewise.
10398 (_dl_map_object): Likewise.
10399 * elf/rtld.c (dl_main): Likewise.
10400 (process_dl_audit): Likewise.
10401 (process_envvars): Likewise.
10402 * include/unistd.h [IS_IN_rtld] (__libc_enable_secure_internal):
10403 Remove declaration.
10404 (__libc_enable_secure): Use rtld_hidden_proto.
10406 2014-10-09 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
10409 (add_path): New function broken out of _dl_rtld_di_serinfo.
10410 (_dl_rtld_di_serinfo): Remove that nested function. Update call sites.
10412 2014-10-09 Joseph Myers <joseph@codesourcery.com>
10414 * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_D): Use
10415 parentheses around macro arguments.
10416 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_DP): Likewise.
10417 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_D): Likewise.
10418 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_DP): Likewise.
10419 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_D): Likewise.
10420 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_DP): Likewise.
10421 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_D): Likewise.
10422 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
10423 [_FP_W_TYPE_SIZE < 64] (FP_PACK_D): Likewise.
10424 [_FP_W_TYPE_SIZE < 64] (FP_PACK_DP): Likewise.
10425 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_D): Likewise.
10426 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_DP): Likewise.
10427 [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_D): Likewise.
10428 [_FP_W_TYPE_SIZE < 64] (FP_CMP_D): Likewise.
10429 [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_D): Likewise.
10430 [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_D): Likewise.
10431 [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_D): Likewise.
10432 [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_D): Likewise.
10433 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_D): Likewise.
10434 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_DP): Likewise.
10435 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_D): Likewise.
10436 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_DP): Likewise.
10437 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_D): Likewise.
10438 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_DP): Likewise.
10439 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_D): Likewise.
10440 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
10441 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_D): Likewise.
10442 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_DP): Likewise.
10443 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_D): Likewise.
10444 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_DP): Likewise.
10445 [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_D): Likewise.
10446 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_D): Likewise.
10447 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_D): Likewise.
10448 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_D): Likewise.
10449 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_D): Likewise.
10450 [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_D): Likewise.
10451 * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_E):
10453 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_EP): Likewise.
10454 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_E): Likewise.
10455 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
10456 [_FP_W_TYPE_SIZE < 64] (FP_PACK_E): Likewise.
10457 [_FP_W_TYPE_SIZE < 64] (FP_PACK_EP): Likewise.
10458 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_E): Likewise.
10459 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_EP): Likewise.
10460 [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_E): Likewise.
10461 [_FP_W_TYPE_SIZE < 64] (FP_CMP_E): Likewise.
10462 [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_E): Likewise.
10463 [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_E): Likewise.
10464 [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_E): Likewise.
10465 [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_E): Likewise.
10466 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_E): Likewise.
10467 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_EP): Likewise.
10468 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_E): Likewise.
10469 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
10470 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_E): Likewise.
10471 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_EP): Likewise.
10472 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_E): Likewise.
10473 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_EP): Likewise.
10474 [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_E): Likewise.
10475 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_E): Likewise.
10476 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_E): Likewise.
10477 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_E): Likewise.
10478 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_E): Likewise.
10479 [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_E): Likewise.
10480 * soft-fp/op-1.h (_FP_FRAC_SRST_1): Likewise.
10481 (_FP_FRAC_SRS_1): Likewise.
10482 (_FP_FRAC_CLZ_1): Likewise.
10483 (_FP_MUL_MEAT_1_imm): Likewise.
10484 (_FP_MUL_MEAT_1_wide): Likewise.
10485 (_FP_MUL_MEAT_1_hard): Likewise.
10486 (_FP_SQRT_MEAT_1): Likewise.
10487 (_FP_FRAC_ASSEMBLE_1): Likewise.
10488 (_FP_FRAC_DISASSEMBLE_1): Likewise.
10489 * soft-fp/op-2.h (_FP_FRAC_CLZ_2): Likewise.
10490 (__FP_CLZ_2): Likewise.
10491 (_FP_MUL_MEAT_2_wide): Likewise.
10492 (_FP_MUL_MEAT_2_wide_3mul): Likewise.
10493 (_FP_MUL_MEAT_2_gmp): Likewise.
10494 (_FP_MUL_MEAT_2_120_240_double): Likewise.
10495 (_FP_SQRT_MEAT_2): Likewise.
10496 (_FP_FRAC_ASSEMBLE_2): Likewise.
10497 (_FP_FRAC_DISASSEMBLE_2): Likewise.
10498 * soft-fp/op-4.h (_FP_FRAC_SRS_4): Likewise.
10499 (_FP_FRAC_CLZ_4): Likewise.
10500 (_FP_MUL_MEAT_4_wide): Likewise.
10501 (_FP_MUL_MEAT_4_gmp): Likewise.
10502 (_FP_SQRT_MEAT_4): Likewise.
10503 (_FP_FRAC_ASSEMBLE_4): Likewise.
10504 (_FP_FRAC_DISASSEMBLE_4): Likewise.
10505 * soft-fp/op-common.h (_FP_CMP): Likewise.
10506 (_FP_CMP_EQ): Likewise.
10507 (_FP_CMP_UNORD): Likewise.
10508 (_FP_TO_INT): Likewise.
10509 (_FP_FROM_INT): Likewise.
10510 [!__FP_CLZ] (__FP_CLZ): Likewise.
10511 (_FP_DIV_HELP_imm): Likewise.
10512 * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_Q):
10514 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_QP): Likewise.
10515 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_Q): Likewise.
10516 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_QP): Likewise.
10517 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_Q): Likewise.
10518 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_QP): Likewise.
10519 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
10520 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
10521 [_FP_W_TYPE_SIZE < 64] (FP_PACK_Q): Likewise.
10522 [_FP_W_TYPE_SIZE < 64] (FP_PACK_QP): Likewise.
10523 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_Q): Likewise.
10524 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_QP): Likewise.
10525 [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_Q): Likewise.
10526 [_FP_W_TYPE_SIZE < 64] (FP_CMP_Q): Likewise.
10527 [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_Q): Likewise.
10528 [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_Q): Likewise.
10529 [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_Q): Likewise.
10530 [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_Q): Likewise.
10531 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_Q): Likewise.
10532 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_QP): Likewise.
10533 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_Q): Likewise.
10534 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_QP): Likewise.
10535 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_Q): Likewise.
10536 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_QP): Likewise.
10537 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
10538 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
10539 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_Q): Likewise.
10540 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_QP): Likewise.
10541 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_Q): Likewise.
10542 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_QP): Likewise.
10543 [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_Q): Likewise.
10544 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_Q): Likewise.
10545 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_Q): Likewise.
10546 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_Q): Likewise.
10547 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_Q): Likewise.
10548 [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_Q): Likewise.
10549 * soft-fp/single.h (FP_UNPACK_RAW_S): Likewise.
10550 (FP_UNPACK_RAW_SP): Likewise.
10551 (FP_PACK_RAW_S): Likewise.
10552 (FP_PACK_RAW_SP): Likewise.
10553 (FP_UNPACK_S): Likewise.
10554 (FP_UNPACK_SP): Likewise.
10555 (FP_UNPACK_SEMIRAW_S): Likewise.
10556 (FP_UNPACK_SEMIRAW_SP): Likewise.
10557 (FP_PACK_S): Likewise.
10558 (FP_PACK_SP): Likewise.
10559 (FP_PACK_SEMIRAW_S): Likewise.
10560 (FP_PACK_SEMIRAW_SP): Likewise.
10561 (_FP_SQRT_MEAT_S): Likewise.
10562 (FP_CMP_S): Likewise.
10563 (FP_CMP_EQ_S): Likewise.
10564 (FP_CMP_UNORD_S): Likewise.
10565 (FP_TO_INT_S): Likewise.
10566 (FP_FROM_INT_S): Likewise.
10568 * soft-fp/op-common.h (_FP_TO_INT): Handle rsigned == 2.
10570 * soft-fp/soft-fp.h (FP_EX_INVALID_SNAN): New macro.
10571 (FP_EX_INVALID_IMZ): Likewise.
10572 (FP_EX_INVALID_IMZ_FMA): Likewise.
10573 (FP_EX_INVALID_ISI): Likewise.
10574 (FP_EX_INVALID_ZDZ): Likewise.
10575 (FP_EX_INVALID_IDI): Likewise.
10576 (FP_EX_INVALID_SQRT): Likewise.
10577 (FP_EX_INVALID_CVI): Likewise.
10578 (FP_EX_INVALID_VC): Likewise.
10579 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Specify more precise
10580 "invalid" exceptions.
10581 (_FP_CHECK_SIGNAN_SEMIRAW): Likewise.
10582 (_FP_ADD_INTERNAL): Likewise.
10583 (_FP_MUL): Likewise.
10584 (_FP_FMA): Likewise.
10585 (_FP_DIV): Likewise.
10586 (_FP_CMP_CHECK_NAN): Likewise.
10587 (_FP_SQRT): Likewise.
10588 (_FP_TO_INT): Likewise.
10589 (FP_EXTEND): Likewise.
10591 2014-10-09 Allan McRae <allan@archlinux.org>
10593 * po/fr.po: Update French translation from translation project.
10595 2014-10-09 Joseph Myers <joseph@codesourcery.com>
10598 * stdlib/cxa_atexit.c (__cxa_atexit): Use libc_hidden_def instead
10600 * include/stdlib.h (__cxa_atexit_internal): Remove declaration.
10601 (__cxa_atexit): Use libc_hidden_proto.
10602 [!NOT_IN_libc] (__cxa_atexit): Remove macro definition.
10605 * include/wctype.h [!_ISOMAC] (__iswalpha_l_internal): Remove
10607 [!_ISOMAC] (__iswdigit_l_internal): Likewise.
10608 [!_ISOMAC] (__iswspace_l_internal): Likewise.
10609 [!_ISOMAC] (__iswxdigit_l_internal): Likewise.
10610 [!_ISOMAC] (__iswctype_internal): Likewise.
10611 * stdio-common/siglist.c (_sys_siglist_internal): Remove alias.
10612 * sysdeps/unix/syscalls.list (chown): Remove __chown_internal
10614 (fcntl): Remove __fcntl_internal alias.
10615 * sysdeps/unix/sysv/linux/hppa/syscalls.list (connect): Remove
10616 __connect_internal alias.
10617 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (connect):
10620 * soft-fp/soft-fp.h (FP_DENORM_ZERO): New macro.
10621 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Check
10623 (_FP_CHECK_FLUSH_ZERO): New macro.
10624 (_FP_ADD_INTERNAL): Call _FP_CHECK_FLUSH_ZERO.
10625 (_FP_CMP): Likewise.
10626 (_FP_CMP_EQ): Likewise.
10627 (_FP_TO_INT): Do not set inexact for subnormal arguments if
10629 (FP_EXTEND): Call _FP_CHECK_FLUSH_ZERO.
10630 (FP_TRUNC): Likewise.
10632 * soft-fp/op-common.h (_FP_TO_INT): Ensure maximum exponent is
10633 treated as invalid conversion, not as normal exponent.
10635 * soft-fp/op-common.h (_FP_CMP_CHECK_NAN): New macro.
10636 (_FP_CMP): Add extra argument EX. Call _FP_CMP_CHECK_NAN.
10637 (_FP_CMP_EQ): Likewise.
10638 (_FP_CMP_UNORD): Likewise.
10639 * soft-fp/double.h (FP_CMP_D): Add extra argument EX.
10640 (FP_CMP_EQ_D): Likewise.
10641 (FP_CMP_UNORD_D): Likewise.
10642 * soft-fp/extended.h (FP_CMP_E): Likewise.
10643 (FP_CMP_EQ_E): Likewise.
10644 (FP_CMP_UNORD_E): Likewise.
10645 * soft-fp/quad.h (FP_CMP_Q): Likewise.
10646 (FP_CMP_EQ_Q): Likewise.
10647 (FP_CMP_UNORD_Q): Likewise.
10648 * soft-fp/single.h (FP_CMP_S): Likewise.
10649 (FP_CMP_EQ_S): Likewise.
10650 (FP_CMP_UNORD_S): Likewise.
10651 * soft-fp/eqdf2.c (__eqdf2): Update call to FP_CMP_EQ_D.
10652 * soft-fp/eqsf2.c (__eqsf2): Update call to FP_CMP_EQ_S.
10653 * soft-fp/eqtf2.c (__eqtf2): Update call to FP_CMP_EQ_Q.
10654 * soft-fp/gedf2.c (__gedf2): Update call to FP_CMP_D.
10655 * soft-fp/gesf2.c (__gesf2): Update call to FP_CMP_S.
10656 * soft-fp/getf2.c (__getf2): Update call to FP_CMP_Q.
10657 * soft-fp/ledf2.c (__ledf2): Update call to FP_CMP_D.
10658 * soft-fp/lesf2.c (__lesf2): Update call to FP_CMP_S.
10659 * soft-fp/letf2.c (__letf2): Update call to FP_CMP_Q.
10660 * soft-fp/unorddf2.c (__unorddf2): Update call to FP_CMP_UNORD_D.
10661 * soft-fp/unordsf2.c (__unordsf2): Update call to FP_CMP_UNORD_S.
10662 * soft-fp/unordtf2.c (__unordtf2): Update call to FP_CMP_UNORD_Q.
10663 * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Update call
10665 * sysdeps/sparc/sparc32/soft-fp/q_cmp.c (_Q_cmp): Update call to
10667 * sysdeps/sparc/sparc32/soft-fp/q_cmpe.c (_Q_cmpe): Likewise.
10668 * sysdeps/sparc/sparc32/soft-fp/q_feq.c (_Q_feq): Update call to
10670 * sysdeps/sparc/sparc32/soft-fp/q_fge.c (_Q_fge): Update call to
10672 * sysdeps/sparc/sparc32/soft-fp/q_fgt.c (_Q_fgt): Likewise.
10673 * sysdeps/sparc/sparc32/soft-fp/q_fle.c (_Q_fle): Likewise.
10674 * sysdeps/sparc/sparc32/soft-fp/q_flt.c (_Q_flt): Likewise.
10675 * sysdeps/sparc/sparc32/soft-fp/q_fne.c (_Q_fne): Update call to
10677 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c (_Qp_cmp): Update call to
10679 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c (_Qp_cmpe): Likewise.
10680 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c (_Qp_feq): Update call to
10682 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c (_Qp_fge): Update call to
10684 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c (_Qp_fgt): Likewise.
10685 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c (_Qp_fle): Likewise.
10686 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c (_Qp_flt): Likewise.
10687 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c (_Qp_fne): Update call to
10690 * soft-fp/op-common.h (FP_EXTEND): When a subnormal input produces
10691 a subnormal result, set the underflow exception if trapping on
10692 underflow is enabled.
10693 * soft-fp/soft-fp.h (FP_INIT_TRAPPING_EXCEPTIONS): New macro.
10694 (FP_INIT_EXCEPTIONS): Default to FP_INIT_TRAPPING_EXCEPTIONS.
10695 [FP_NO_EXACT_UNDERFLOW] (FP_TRAPPING_EXCEPTIONS): Undefine and
10697 * soft-fp/extenddftf2.c (FP_NO_EXACT_UNDERFLOW): Define.
10698 * soft-fp/extendsfdf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
10699 * soft-fp/extendsftf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
10700 * soft-fp/extendxftf2.c (__extendxftf2): Use
10701 FP_INIT_TRAPPING_EXCEPTIONS instead of FP_INIT_ROUNDMODE.
10703 * soft-fp/soft-fp.h (FP_CLEAR_EXCEPTIONS): Remove macro.
10704 * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: Define FP_NO_EXCEPTIONS.
10705 (_Q_itoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
10706 FP_HANDLE_EXCEPTIONS.
10707 * sysdeps/sparc/sparc32/soft-fp/q_lltoq.c: Define FP_NO_EXCEPTIONS.
10708 (_Q_lltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
10709 FP_HANDLE_EXCEPTIONS.
10710 * sysdeps/sparc/sparc32/soft-fp/q_ulltoq.c: Define FP_NO_EXCEPTIONS.
10711 (_Q_ulltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
10712 FP_HANDLE_EXCEPTIONS.
10713 * sysdeps/sparc/sparc32/soft-fp/q_utoq.c: Define FP_NO_EXCEPTIONS.
10714 (_Q_utoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
10715 FP_HANDLE_EXCEPTIONS.
10717 2014-10-08 Joseph Myers <joseph@codesourcery.com>
10720 * sysdeps/unix/sysv/linux/include/sys/timex.h: New file.
10721 * sysdeps/unix/sysv/linux/adjtime.c [!ADJTIMEX] (ADJTIMEX): Do not
10723 [!ADJTIMEX] (INTUSE(__adjtimex)): Remove declaration.
10724 * sysdeps/unix/sysv/linux/alpha/adjtime.c (__adjtimex_internal):
10726 (__adjtimex): Define using libc_hidden_ver.
10727 * sysdeps/unix/sysv/linux/ntp_gettime.c (INTUSE(__adjtimex)):
10728 Remove declaration.
10729 (ntp_gettime): Call __adjtimex directly.
10730 * sysdeps/unix/sysv/linux/ntp_gettimex.c (INTUSE(__adjtimex)):
10731 Remove declaration.
10732 (ntp_gettimex): Call __adjtimex directly.
10733 * sysdeps/unix/sysv/linux/syscalls.list (adjtimex): Remove
10734 __adjtimex_internal alias.
10736 2014-10-08 Roland McGrath <roland@hack.frob.com>
10739 * nscd/nscd.c (more_help): Rewrite list of tables collection
10740 using xstrdup and asprintf.
10742 * nscd/nscd_conf.c: Remove local xstrdup declaration.
10744 2014-10-08 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
10745 Roland McGrath <roland@hack.frob.com>
10747 * elf/dl-lookup.c (enter_unique_sym): New function, broken out of ...
10748 (do_lookup_unique): ... local function 'enter' here; update callers.
10750 2014-10-06 Joseph Myers <joseph@codesourcery.com>
10752 * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Condition
10753 compat_symbol calls on [SHARED].
10754 * sysdeps/unix/sysv/linux/powerpc/lchown.S: Remove file.
10755 * sysdeps/unix/sysv/linux/i386/syscalls.list (oldsetrlimit):
10757 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
10758 * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list
10759 (oldsetrlimit): Remove.
10760 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
10761 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
10762 (lchown): New syscall entry.
10763 (oldsetrlimit): Remove.
10764 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
10765 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list
10766 (oldsetrlimit): Remove.
10767 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
10770 * sysdeps/unix/sysv/linux/arm/fchown.c: Remove file.
10771 * sysdeps/unix/sysv/linux/arm/lchown.c: Likewise.
10772 * sysdeps/unix/sysv/linux/m68k/fchown.c: Likewise.
10773 * sysdeps/unix/sysv/linux/m68k/lchown.c: Likewise.
10774 * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
10775 * sysdeps/unix/sysv/linux/arm/syscalls.list (lchown): Add syscall.
10776 (fchown): Likewise.
10777 * sysdeps/unix/sysv/linux/m68k/syscalls.list (lchown): Likewise.
10778 (fchown): Likewise.
10779 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list (chown):
10782 2014-10-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10784 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Remove file.
10785 * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c
10786 (pthread_spin_unlock): Use __ARCH_REL_INSTR instead of
10787 __lll_rel_instr and __ARCH_ACQ_INSTR instead of __lll_acq_instr.
10788 * sysdeps/unix/sysv/linux/powerpc/sem_post.c (__new_sem_post):
10790 (__old_sem_post): Likewise.
10792 2014-10-06 Chris Metcalf <cmetcalf@tilera.com>
10794 * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Define
10795 INLINE_VSYSCALL, INTERNAL_VSYSCALL, and
10796 HAVE_CLOCK_GETTIME_VSYSCALL macros.
10797 * sysdeps/unix/sysv/linux/tile/gettimeofday.c (__gettimeofday):
10798 Use INLINE_VSYSCALL macro.
10799 * sysdeps/unix/sysv/linux/tile/bits/libc-vdso: Add declaration of
10800 __vdso_clock_gettime.
10801 * sysdeps/unix/sysv/linux/tile/init-first.c
10802 (_libc_vdso_platform_setup): Set new __vdso_clock_gettime global.
10803 * sysdeps/unix/sysv/linux/tile/Versions (GLIBC_PRIVATE): Add
10804 __vdso_clock_gettime.
10806 * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Fix code
10807 to set up frame more cleanly.
10809 * sysdeps/tile/memcmp.c: New file.
10811 * sysdeps/unix/sysv/linux/tile/sysconf.c: New file.
10813 * sysdeps/tile/tilegx/string-endian.h (STRSHIFT): New macro.
10814 * sysdeps/tile/tilegx/strcasestr.c: New file.
10815 * sysdeps/tile/tilegx/strnlen.c: New file.
10816 * sysdeps/tile/tilegx/strstr.c: New file.
10818 * sysdeps/tile/tilegx/string-endian.h (copy_byte): Optimize.
10820 2014-10-06 Arjun Shankar <arjun.is@lostca.se>
10822 * nptl/tst-setuid3.c: Write errors to stdout.
10824 2014-10-01 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
10827 (preload): New functions broken out of _dl_map_object_deps.
10828 (_dl_map_object_deps): Remove a nested function. Update call sites.
10830 2014-10-01 Joseph Myers <joseph@codesourcery.com>
10833 * sysdeps/unix/sysv/linux/execve.c: Remove file.
10834 * sysdeps/unix/sysv/linux/syscalls.list (execve): Add syscall.
10836 2014-10-01 Steve Ellcey <sellcey@mips.com>
10838 * sysdeps/mips/strcmp.S: New.
10840 2014-09-30 Joseph Myers <joseph@codesourcery.com>
10843 * sysdeps/unix/sysv/linux/syscalls.list (fchownat): New syscall.
10844 (linkat): Likewise.
10845 (mkdirat): Likewise.
10846 (readlinkat): Likewise.
10847 (renameat): Likewise.
10848 (symlinkat): Likewise.
10849 (unlinkat): Likewise.
10850 * sysdeps/unix/sysv/linux/fchownat.c: Remove file.
10851 * sysdeps/unix/sysv/linux/linkat.c: Likewise.
10852 * sysdeps/unix/sysv/linux/mkdirat.c: Likewise.
10853 * sysdeps/unix/sysv/linux/readlinkat.c: Likewise.
10854 * sysdeps/unix/sysv/linux/renameat.c: Likewise.
10855 * sysdeps/unix/sysv/linux/symlinkat.c: Likewise.
10856 * sysdeps/unix/sysv/linux/unlinkat.c: Likewise.
10858 2014-09-30 Will Newton <will.newton@linaro.org>
10860 * math/math.h: Define long double math functions if
10861 _LIBC_TEST is defined.
10862 * stdlib/tst-strtod-round.c: Define _LIBC_TEST.
10864 * localedata/Makefile: Move assignment to tests-special
10865 into an ifdef testing run-built-tests.
10866 * timezone/Makefile: Likewise.
10868 2014-09-29 Joseph Myers <joseph@codesourcery.com>
10870 * sysdeps/x86/Makefile ($(objpfx)tst-ld-sse-use.out): Run script
10871 with $(BASH) not $(SHELL).
10873 2014-09-29 Carlos O'Donell <carlos@redhat.com>
10874 Matthew LeGendre <legendre1@llnl.gov>
10877 * elf/dl-reloc.c (_dl_relocate_object): Allocate correct amount for
10880 2014-09-29 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
10882 * stdio-common/printf_fp.c
10883 (hack_digit): New function, broken out of ...
10884 (__printf_fp): ... local function here. Update call sites.
10885 hack_digit now takes an additional parameter that is a pointer
10886 to a struct of the referenced locals. Those locals moved inside
10887 the struct and references updated.
10889 2014-09-29 H.J. Lu <hongjiu.lu@intel.com>
10891 * aclocal.m4: Require autoconf 2.69.
10892 * configure: Regenerated.
10893 * sysdeps/aarch64/configure: Likewise.
10894 * sysdeps/alpha/configure: Likewise.
10895 * sysdeps/arm/armv7/configure: Likewise.
10896 * sysdeps/arm/configure: Likewise.
10897 * sysdeps/ia64/configure: Likewise.
10898 * sysdeps/mach/configure: Likewise.
10899 * sysdeps/mips/configure: Likewise.
10900 * sysdeps/s390/configure: Likewise.
10901 * sysdeps/unix/sysv/linux/mips/configure: Likewise.
10902 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Likewise.
10904 * sysdeps/alpha/configure.ac: Avoid empty lines at the end of
10906 * sysdeps/ia64/configure.ac: Likewise.
10908 2014-09-26 Joseph Myers <joseph@codesourcery.com>
10910 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Do not
10911 specify symbol version for ld.so. Do not include entry for
10913 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
10914 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
10915 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
10918 * Makeconfig [$(build-shared) = yes]
10919 ($(common-objpfx)soversions.mk): Don't handle SONAMEs specified in
10921 [$(build-shared) = yes && $(soversions.mk-done) = t]
10922 ($(common-objpfx)gnu/lib-names.h): Remove rule.
10923 [$(build-shared) = yes && $(soversions.mk-done) = t]
10924 ($(common-objpfx)gnu/lib-names.stmp): Likewise. Split and moved
10926 [$(build-shared) = yes && $(soversions.mk-done) = t]
10927 (before-compile): Don't append $(common-objpfx)gnu/lib-names.h
10929 [$(build-shared) = yes && $(soversions.mk-done) = t]
10930 (common-generated): Don't append gnu/lib-names.h and
10931 gnu/lib-names.stmp here.
10932 * Makerules [$(build-shared) = yes && $(soversions.mk-done) = t]
10933 (lib-names-h-abi): New variable.
10934 [$(build-shared) = yes && $(soversions.mk-done) = t]
10935 (lib-names-stmp-abi): Likewise.
10936 [$(build-shared) = yes && $(soversions.mk-done) = t &&
10937 abi-variants] (before-compile): Append
10938 $(common-objpfx)$(lib-names-h-abi).
10939 [$(build-shared) = yes && $(soversions.mk-done) = t &&
10940 abi-variants] (common-generated): Append gnu/lib-names.h.
10941 [$(build-shared) = yes && $(soversions.mk-done) = t &&
10942 abi-variants] (install-others-nosubdir): Depend on
10943 $(inst_includedir)/$(lib-names-h-abi).
10944 [$(build-shared) = yes && $(soversions.mk-done) = t &&
10945 abi-variants] ($(common-objpfx)gnu/lib-names.h): New rule.
10946 [$(build-shared) = yes && $(soversions.mk-done) = t]
10947 ($(common-objpfx)$(lib-names-h-abi)): New rule.
10948 [$(build-shared) = yes && $(soversions.mk-done) = t]
10949 ($(common-objpfx)$(lib-names-stmp-abi)): Likewise.
10950 [$(build-shared) = yes && $(soversions.mk-done) = t]
10951 (common-generated): Append $(lib-names-h-abi) and
10952 $(lib-names-stmp-abi).
10953 * scripts/lib-names.awk: Do not handle multi being set.
10954 * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-ld-soname):
10956 (abi-lp64_be-ld-soname): Likewise.
10957 * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-ld-soname):
10959 (abi-hard-ld-soname): Likewise.
10960 * sysdeps/unix/sysv/linux/i386/shlib-versions: New file.
10961 * sysdeps/unix/sysv/linux/mips/Makefile (abi-o32_soft-ld-soname):
10963 (abi-o32_hard-ld-soname): Likewise.
10964 (abi-o32_soft_2008-ld-soname): Likewise.
10965 (abi-o32_hard_2008-ld-soname): Likewise.
10966 (abi-n32_soft-ld-soname): Likewise.
10967 (abi-n32_hard-ld-soname): Likewise.
10968 (abi-n32_soft_2008-ld-soname): Likewise.
10969 (abi-n32_hard_2008-ld-soname): Likewise.
10970 (abi-n64_soft-ld-soname): Likewise.
10971 (abi-n64_hard-ld-soname): Likewise.
10972 (abi-n64_soft_2008-ld-soname): Likewise.
10973 (abi-n64_hard_2008-ld-soname): Likewise.
10974 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-64-v1-ld-soname):
10976 (abi-64-v2-ld-soname): Likewise.
10977 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Add
10979 * sysdeps/unix/sysv/linux/s390/Makefile (abi-64-ld-soname): Remove
10981 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Add ld.so
10983 * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-ld-soname): Remove
10985 (abi-64-ld-soname): Likewise.
10986 (abi-x32-ld-soname): Likewise.
10987 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Add ld.so
10989 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
10991 2014-09-23 Joseph Myers <joseph@codesourcery.com>
10994 * sysdeps/unix/sysv/linux/arm/setrlimit.c: Remove file.
10995 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Likewise.
10996 * sysdeps/unix/sysv/linux/m68k/setrlimit.c: Likewise.
10997 * sysdeps/unix/sysv/linux/powerpc/setrlimit.c: Likewise.
10998 * sysdeps/unix/sysv/linux/s390/s390-32/setrlimit.c: Likewise.
10999 * sysdeps/unix/sysv/linux/sh/setrlimit.c: Likewise.
11000 * sysdeps/unix/sysv/linux/i386/syscalls.list (setrlimit): Add
11001 syscall entry for GLIBC_2.2 symbol version.
11002 * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list (setrlimit):
11004 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
11005 (setrlimit): Likewise.
11006 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setrlimit):
11009 2014-09-23 Will Newton <will.newton@linaro.org>
11011 * sysdeps/unix/sysv/linux/arm/bits/hwcap.h: Check for
11012 _LINUX_ARM_SYSDEP_H include guard too.
11013 * sysdeps/unix/sysv/linux/arm/sysdep.h (_SYS_AUXV_H): Remove
11016 2014-09-20 Rasmus Villemoes <rv@rasmusvillemoes.dk>
11018 * sysdeps/unix/sysv/linux/eventfd.c:
11019 Make first argument unsigned.
11020 * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Likewise.
11021 * sysdeps/unix/sysv/linux/sys/eventfd.h: Likewise.
11023 2014-09-20 Ondřej Bílka <neleai@seznam.cz>
11025 * socket/recvmmsg.c (recvmmsg): Drop const argument.
11026 * socket/sys/socket.h: Likewise
11027 * sysdeps/unix/sysv/linux/recvmmsg.c: Likewise.
11029 2014-09-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11031 * stdlib/longlong.h: Add __udiv_w_sdiv prototype.
11033 2014-09-17 Arjun Shankar <arjun.is@lostca.se>
11035 * time/tst-ftime.c: New test.
11036 * time/Makefile (tests): Add tst-ftime.
11038 2014-09-17 Joseph Myers <joseph@codesourcery.com>
11040 * soft-fp/extended.h: Fix comment formatting.
11041 * soft-fp/op-1.h: Likewise.
11042 * soft-fp/op-2.h: Likewise.
11043 * soft-fp/op-4.h: Likewise.
11044 * soft-fp/op-8.h: Likewise.
11045 * soft-fp/op-common.h: Likewise.
11046 * soft-fp/soft-fp.h: Likewise.
11048 * soft-fp/op-common.h (_FP_TO_INT): Correct formatting.
11050 2014-09-16 Joseph Myers <joseph@codesourcery.com>
11053 * Makeconfig (soversions-default-setname): Remove variable.
11054 ($(common-objpfx)soversions.i): Don't pass default_setname to
11056 * Makerules ($(common-objpfx)abi-versions.h): Don't pass
11057 oldest_abi to abi-versions.awk.
11058 * config.h.in (GLIBC_OLDEST_ABI): Remove macro undefine.
11059 * config.make.in (oldest-abi): Remove variable.
11060 * configure.ac (--enable-oldest-abi): Remove configure option.
11061 * configure: Regenerated.
11062 * csu/version.c (banner) [GLIBC_OLDEST_ABI]: Remove conditional
11064 * scripts/abi-versions.awk: Do not handle oldest_abi variable.
11065 * scripts/soversions.awk: Do not handle default_setname variable.
11066 * sysdeps/mach/hurd/configure.ac: Do not handle oldest_abi
11068 * sysdeps/mach/hurd/configure: Regenerated.
11069 * sysdeps/unix/sysv/linux/configure.ac: Do not handle oldest_abi
11071 * sysdeps/unix/sysv/linux/configure: Regenerated.
11073 2014-09-16 Siddhesh Poyarekar <siddhesh@redhat.com>
11075 * elf/Makefile (CFLAGS-interp.c): Remove.
11076 ($(elf-objpfx)runtime-linker.h): Generate header with linker
11078 * elf/interp.c: Include generated runtime-linker.h
11080 * Makerules (lib%.so): Don't include $(+interp) in
11082 * elf/Makefile (CFLAGS-interp.c): Don't define NOT_IN_libc.
11083 * dlfcn/eval.c: Remove file.
11085 * posix/getconf.c (vars): Don't check for _[SP]C_* and _CS
11089 * misc/sys/cdefs.h: Define __extern_always_inline for clang
11093 * libio/wfileops.c (do_ftell_wide): Free OUT on error path.
11095 2014-09-16 Siddhesh Poyarekar <siddhesh@redhat.com>
11096 Jakub Jelinek <jakub@redhat.com>
11099 * libio/stdio.h: Check definition of __fortify_function
11100 instead of __extern_always_inline to include bits/stdio2.h.
11101 * math/bits/math-finite.h [__USE_XOPEN || __USE_ISOC99]: Also
11102 check if __extern_always_inline is defined.
11103 [__USE_MISC || __USE_XOPEN]: Likewise.
11104 [__USE_ISOC99] Likewise.
11105 * misc/sys/cdefs.h (__fortify_function): Define only if
11106 __extern_always_inline is defined.
11107 [!__cplusplus || __GNUC_PREREQ (4,3)]: Revert to defining
11108 __extern_always_inline and __extern_inline only for g++-4.3
11109 and newer or a compatible gcc.
11111 2014-09-15 Andreas Schwab <schwab@linux-m68k.org>
11114 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
11115 last change to handle zero prefix length.
11117 2014-09-15 Siddhesh Poyarekar <siddhesh@redhat.com>
11119 * sysdeps/posix/sysconf.c (__sysconf): Return -1 for
11122 * posix/getconf.c (vars): Add _POSIX_IPV6 and
11123 _POSIX_RAW_SOCKETS.
11125 2014-09-13 Allan McRae <allan@archlinux.org>
11127 * po/ru.po: Update Russian translation from translation project.
11129 2014-09-12 Roland McGrath <roland@hack.frob.com>
11131 * locale/programs/locale.c (show_locale_vars): Inline local function
11132 into its sole call site. Clean up some style nits.
11133 (print_item): New function, broken out of ...
11134 (show_info): ... local function here. Clean up style nits.
11136 * locale/programs/ld-ctype.c (set_one_default): New function, broken
11138 (set_class_defaults): ... local function set_default here.
11139 Define set_default as a macro locally to pass constant parameters.
11140 (allocate_arrays, set_class_defaults): Use C99 for scope for each CNT,
11141 rather than a shared local.
11143 * stdlib/rpmatch.c (try): New function, broken out of ...
11144 (rpmatch): ... local function here. Also, prototypify definition.
11146 2014-09-12 Joseph Myers <joseph@codesourcery.com>
11148 * scripts/soversions.awk: Do not handle configuration names.
11149 * Makeconfig ($(common-objpfx)soversions.i): Do not pass cpu,
11150 vendor and os variables to soversions.awk.
11151 * configure.ac: Do not modify gnu-* host_os.
11152 * configure: Regenerated
11153 * shlib-versions: Remove first column with configuration names.
11154 * nptl/shlib-versions: Likewise.
11155 * nptl_db/shlib-versions: Likewise.
11156 * sysdeps/hppa/shlib-versions: Likewise.
11157 * sysdeps/m68k/shlib-versions: Likewise.
11158 * sysdeps/mach/hurd/shlib-versions: Likewise.
11159 * sysdeps/unix/sysv/linux/aarch64/shlib-versions: Likewise.
11160 * sysdeps/unix/sysv/linux/alpha/shlib-versions: Likewise.
11161 * sysdeps/unix/sysv/linux/arm/shlib-versions: Likewise.
11162 * sysdeps/unix/sysv/linux/hppa/shlib-versions: Likewise.
11163 * sysdeps/unix/sysv/linux/ia64/shlib-versions: Likewise.
11164 * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: Likewise.
11165 * sysdeps/unix/sysv/linux/microblaze/shlib-versions: Likewise.
11166 * sysdeps/unix/sysv/linux/mips/shlib-versions: Likewise.
11167 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
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/shlib-versions: Likewise.
11172 * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
11173 * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
11174 * sysdeps/unix/sysv/linux/tile/shlib-versions: Likewise.
11175 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
11176 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
11178 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
11179 (HAVE_ELFV2_ABI): AC_DEFINE in ELFv2 case.
11180 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
11182 * config.h.in (HAVE_ELFV2_ABI): New macro undefine.
11183 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
11184 Condition symbol version definitions on [HAVE_ELFV2_ABI].
11186 * shlib-versions: Remove OS-specific entries. Moved to files in
11188 * sysdeps/mach/hurd/shlib-versions: New file.
11189 * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
11191 * nptl/shlib-versions: Remove architecture-specific entries.
11192 Moved to files in sysdeps.
11193 * shlib-versions: Likewise.
11194 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: New
11196 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
11197 * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
11198 * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
11199 * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
11201 * sysdeps/gnu/netinet/udp.h (UDP_NO_CHECK6_TX): New macro.
11202 (UDP_NO_CHECK6_RX): Likewise.
11204 2014-09-12 Siddhesh Poyarekar <siddhesh@redhat.com>
11206 * sysdeps/posix/sysconf.c (__sysconf): Spell
11207 _POSIX_DEVICE_SPECIFIC and _POSIX_DEVICE_SPECIFIC_R correctly.
11209 2014-08-12 Florian Weimer <fweimer@redhat.com>
11211 * iconv/gconv_open.c (__gconv_open): Remove transliteration module
11213 * iconv/Versions (__gconv_transliterate): Export for use from
11215 * iconv/gconv.h (__GCONV_TRANSLIT): New flag.
11216 (struct __gconv_trans_data, __gconv_trans_fct,
11217 __gconv_trans_context_fct, __gconv_trans_query_fct,
11218 __gconv_trans_init_fct, __gconv_trans_end_fct): Remove type
11220 (struct __gconv_step_data): Remove __trans member.
11221 (__gconv_transliterate): Declaration moved from gconv_int.h. No
11222 longer hidden. Remove unused trans_data argument.
11223 * iconv/gconv_int.h (struct trans_struct): Remove definition.
11224 (__gconv_translit_find): Remove declaration.
11225 (__gconv_transliterate): Declaration moved to gconv.h. Add hidden
11227 * iconv/gconv_close.c (__gconv_close): Remove __trans cleanup.
11228 * iconv/gconv_trans.c (__gconv_transliterate): Remove unused
11229 trans_data argument. Add hidden definition.
11230 (__gconv_translit_find): Remove.
11231 * iconv/loop.c (STANDARD_TO_LOOP_ERR_HANDLER): Call
11232 __gconv_transliterate directly if __GCONV_TRANSLIT is set.
11233 * iconv/skeleton.c: Remove transliteration initialization.
11234 * libio/fileops.c (_IO_new_file_fopen): Adjust struct
11235 __gconv_step_data initialization.
11236 * libio/iofwide.c (__libio_translit_): Remove.
11237 (_IO_fwide): Adjust struct __gconv_step_data initialization.
11238 * wcsmbs/btowc.c (__btowc): Likewise.
11239 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
11240 * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
11241 * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
11242 * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
11243 * wcsmbs/wcrtomb.c (__wcrtomb): Likewise.
11244 * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
11245 * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
11246 * wcsmbs/wctob.c (wctob): Likewise.
11248 2014-09-12 Siddhesh Poyarekar <siddhesh@redhat.com>
11251 * sysdeps/x86/tst-xmmymm.sh: Rename file to...
11252 * sysdeps/x86/tst-ld-sse-use.sh: ... this. Check for zmm
11254 * sysdeps/x86/Makefile: Adjust.
11256 2014-09-11 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
11257 Roland McGrath <roland@hack.frob.com>
11259 * locale/weight.h: Add include guard.
11260 (findidx): Make static rather than auto; take new parameters
11261 TABLE, INDIRECT, and EXTRA instead of getting them as outer locals.
11262 * locale/weightwc.h: Likewise.
11263 * posix/fnmatch_loop.c
11264 (FCT): Change type of EXTRA from int32_t to wint_t.
11265 Don't include either header inside the function.
11266 Call FINDIDX rather than findidx, and pass new arguments.
11267 #undef FINDIDX at the end of the file.
11268 * posix/fnmatch.c [_LIBC]: #include <locale/weight.h> and define
11269 FINDIDX before including fnmatch_loop.c for the non-wide version.
11270 [_LIBC] [HANDLE_MULTIBYTE]: #define findidx to findidxwc around
11271 #include <locale/weightwc.h>, and define FINDIDX to findidxwc
11272 for the wide version.
11273 * posix/regcomp.c [_LIBC]: #include <locale/weight.h>.
11274 (build_equiv_class) [_LIBC]: Don't #include it inside the function.
11275 Pass new arguments to findidx.
11276 * posix/regexec.c [RE_ENABLE_I18N] [_LIBC]: #include <locale/weight.h>.
11277 [RE_ENABLE_I18N] (check_node_accept_bytes) [_LIBC]:
11278 Don't #include it inside the function. Pass new arguments to findidx.
11279 * posix/regex_internal.h
11280 [!NOT_IN_libc] [_LIBC]: #include <locale/weight.h>.
11281 (re_string_elem_size_at): Don't #include it inside the function.
11282 Pass new arguments to findidx.
11283 * string/strcoll_l.c: #include WEIGHT_H at top level.
11284 (get_next_seq): Don't #include it inside the function.
11285 Pass new arguments to findidx.
11286 (get_next_seq_nocache): Likewise.
11287 * string/strxfrm_l.c: #include WEIGHT_H at top level.
11288 (STRXFRM): Don't #include it inside the function.
11289 Pass new arguments to findidx.
11291 2014-09-11 Florian Weimer <fweimer@redhat.com>
11294 * malloc/malloc.c (unlink): Turn asserts into a call to
11297 2014-09-11 Tim Lammens <tim.lammens@gmail.com>
11300 * libio/wfileops (do_ftell_wide): Free OUT.
11302 2014-09-10 Chris Metcalf <cmetcalf@tilera.com>
11304 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Remove file.
11306 2014-09-10 Siddhesh Poyarekar <siddhesh@redhat.com>
11309 * inet/getnetgrent_r.c (__internal_getnetgrent_r): Try next
11310 group if the current group is empty.
11312 2014-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11314 * benchtests/bench-memset.c (test_main): Add more test from size
11315 from 32 to 512 bytes.
11316 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
11317 Add POWER8 memset object.
11318 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11319 (__libc_ifunc_impl_list): Add POWER8 memset and bzero implementations.
11320 * sysdeps/powerpc/powerpc64/multiarch/bzero.c (__bzero): Add POWER8
11322 * sysdeps/powerpc/powerpc64/multiarch/memset.c (__libc_memset):
11324 * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: New file:
11325 multiarch POWER8 memset optimization.
11326 * sysdeps/powerpc/powerpc64/power8/memset.S: New file: optimized
11327 POWER8 memset optimization.
11329 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
11330 Remove bzero multiarch objects.
11331 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: Remove file.
11332 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: Likewise.
11333 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: Likewise.
11334 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S [NO_BZERO_IMPL]:
11336 [__bzero]: Redefine to specific name.
11337 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
11338 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
11339 * sysdeps/powerpc/powerpc64/power4/memset.S [NO_BZERO_IMPL]: Remove
11341 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
11342 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
11344 2014-09-10 Florian Weimer <fweimer@redhat.com>
11346 * Makeconfig (gccwarn-c): Turn implicit-function-declaration
11347 warnings into errors.
11349 * stdlib/tst-tls-atexit-lib.c: Include <stdlib.h>, for the
11350 __cxa_thread_atexit_impl prototype.
11352 2014-09-09 Steve Ellcey <sellcey@mips.com>
11354 * sysdeps/mips/preconfigure: Put code inside mips* case statement.
11355 Fix capitalization of error message.
11357 2014-09-09 Steve Ellcey <sellcey@mips.com>
11359 * sysdeps/mips/preconfigure: Modify ABI tests.
11361 2014-09-07 Carlos O'Donell <carlos@systemhalted.org>
11363 * sysdeps/unix/sysv/linux/hppa/c++-types.data: New file.
11365 2014-09-07 Roland McGrath <roland@hack.frob.com>
11366 Carlos O'Donell <carlos@systemhalted.org>
11368 * sysdeps/unix/sysv/linux/hppa/nptl/libc-lowlevellock.c: File removed.
11369 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Moved ...
11370 * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: ... here.
11371 * sysdeps/unix/sysv/linux/hppa/nptl/pt-vfork.S: Moved ...
11372 * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: ... here.
11373 * sysdeps/unix/sysv/linux/hppa/nptl/pthread.h: Moved ...
11374 * sysdeps/unix/sysv/linux/hppa/pthread.h: ... here.
11375 * sysdeps/unix/sysv/linux/hppa/nptl/pthreadP.h: Moved ...
11376 * sysdeps/unix/sysv/linux/hppa/pthreadP.h: ... here.
11377 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_broadcast.c: Moved ...
11378 * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c: ... here.
11379 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_destroy.c: Moved ...
11380 * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c: ... here.
11381 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_init.c: Moved ...
11382 * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c: ... here.
11383 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_signal.c: Moved ...
11384 * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c: ... here.
11385 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_timedwait.c: Moved ...
11386 * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c: ... here.
11387 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_wait.c: Moved ...
11388 * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c: ... here.
11389 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Moved ...
11390 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: ... here.
11391 * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h: Moved ...
11392 * sysdeps/hppa/nptl/bits/pthreadtypes.h: ... here.
11393 * sysdeps/unix/sysv/linux/hppa/nptl/bits/semaphore.h: Moved ...
11394 * sysdeps/hppa/nptl/bits/semaphore.h: ... here.
11395 * sysdeps/unix/sysv/linux/hppa/clone.S: Include <tcb-offsets.h>.
11396 Deconditionalize the code that was previously under [RESET_PID].
11397 * sysdeps/unix/sysv/linux/hppa/nptl/clone.S: File removed.
11398 * sysdeps/unix/sysv/linux/hppa/arch-fork.h: New file.
11399 * sysdeps/unix/sysv/linux/hppa/nptl/fork.c: File removed.
11400 * sysdeps/hppa/nptl/tcb-offsets.sym: Include pthread.h and don't
11403 2014-09-08 Allan McRae <allan@archlinux.org>
11405 * version.h (RELEASE): Set to "development".
11406 (VERSION): Set to "2.20.90"
11408 2014-09-07 Allan McRae <allan@archlinux.org
11410 * version.h (RELEASE): Set to "stable".
11411 (VERSION): Set to "2.20"
11412 * include/features.h (__GLIBC_MINOR__): Set to 20.
11414 * manual/contrib.texi: Add entries for Wilco Dijkstra and Stefan
11417 * po/ko.po: Update Korean translation from translation project.
11419 2014-09-06 Chris Metcalf <cmetcalf@tilera.com>
11422 * sysdeps/tile/dl-machine.h (elf_machine_rela): Add a MUNGE_SIGNED
11423 macro for handling signed relocations.
11425 2014-09-03 Florian Weimer <fweimer@redhat.com>
11428 * iconvdata/ibm1364.c (BODY): Fix check for sentinel.
11429 * iconvdata/ibm932.c (BODY): Replace invalid sentinel check with
11431 * iconvdata/ibm933.c (BODY): Fix check for sentinel.
11432 * iconvdata/ibm935.c (BODY): Likewise.
11433 * iconvdata/ibm937.c (BODY): Likewise.
11434 * iconvdata/ibm939.c (BODY): Likewise.
11435 * iconvdata/ibm943.c (BODY): Replace invalid sentinel check with
11437 * iconvdata/Makefile (iconv-test.out): Pass module list to test
11439 * iconvdata/run-iconv-test.sh: New test loop for checking for
11442 2014-09-02 Khem Raj <raj.khem@gmail.com>
11444 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (fegetenv): Add
11447 2014-09-01 Allan McRae <allan@archlinux.org>
11449 * po/eo.po: Update Esperanto translation from translation project.
11451 * po/ca.po: Update Catalan translation from translation project.
11453 2014-08-28 Samuel Thibault <samuel.thibault@ens-lyon.org>
11455 * sysdeps/mach/hurd/fork.c (__fork): Lock SS->lock around
11456 __proc_dostop call.
11458 2014-08-27 Mark Wielaard <mjw@redhat.com>
11461 * sysdeps/i386/nptl/tls.h (TLS_INIT_TP): Use INTERNAL_SYSCALL
11462 to call set_thread_area instead of hand written asm.
11463 (__NR_set_thread_area): Removed define.
11464 (TLS_FLAG_WRITABLE): Likewise.
11465 (__ASSUME_SET_THREAD_AREA): Remove check.
11466 (TLS_EBX_ARG): Remove define.
11467 (TLS_LOAD_EBX): Likewise.
11469 2014-08-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
11471 Simplify atomicity of socket creation in bind.
11473 * sysdeps/mach/hurd/bind.c (__bind): Use dir_lookup(node, "") instead of
11474 looking up the name after linking the file.
11476 2014-08-27 Allan McRae <allan@archlinux.org>
11478 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
11480 2014-08-26 Florian Weimer <fweimer@redhat.com>
11483 * iconv/gconv_trans.c (struct known_trans, search_tree, lock,
11484 trans_compare, open_translit, __gconv_translit_find):
11485 Remove module loading code.
11487 2014-08-26 Allan McRae <allan@archlinux.org>
11489 * po/vi.po: Update Vietnamese translation from translation project.
11491 * po/uk.po: Update Ukrainian translation from translation project.
11493 * po/fr.po: Update French translation from translation project.
11495 * po/ru.po: Update Russian translation from translation project.
11497 * po/pl.po: Update Polish translation from translation project.
11499 * po/cs.po: Update Czech translation from translation project.
11501 * po/de.po: Update German translation from translation project.
11503 * po/bg.po: Update Bulgarian translation from translation project.
11505 * po/sv.po: Update Sweedish translation from translation project.
11507 * po/nl.po: Update Dutch translation from translation project.
11509 * po/es.po: Update Spanish translation from translation project.
11511 2014-08-21 Siddhesh Poyarekar <siddhesh@redhat.com>
11513 * nptl/Makefile (CFLAGS-pthread_atfork.c): Remove.
11515 * catgets/Makefile (CPPFLAGS-gencat): Remove.
11516 * iconv/Makefile (CPPFLAGS-iconv_prog): Likewise.
11517 (CPPFLAGS-iconvconfig): Likewise.
11518 * timezone/Makefile (CPPFLAGS-zic): Likewise.
11520 * include/libc-symbols.h: Remove unnecessary check for
11522 * nptl/pthreadP.h: Likewise.
11523 * sysdeps/aarch64/setjmp.S: Likewise.
11524 * sysdeps/alpha/setjmp.S: Likewise.
11525 * sysdeps/arm/sysdep.h: Likewise.
11526 * sysdeps/i386/setjmp.S: Likewise.
11527 * sysdeps/m68k/setjmp.c: Likewise.
11528 * sysdeps/posix/getcwd.c: Likewise.
11529 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
11530 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
11531 * sysdeps/s390/s390-32/setjmp.S: Likewise.
11532 * sysdeps/s390/s390-64/setjmp.S: Likewise.
11533 * sysdeps/sh/sh3/setjmp.S: Likewise.
11534 * sysdeps/sh/sh4/setjmp.S: Likewise.
11535 * sysdeps/unix/alpha/sysdep.h: Likewise.
11536 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
11537 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
11538 * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
11539 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
11540 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
11541 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
11542 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
11543 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
11544 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
11545 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
11546 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
11547 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
11548 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
11549 * sysdeps/x86_64/setjmp.S: Likewise.
11551 2014-08-13 Joseph Myers <joseph@codesourcery.com>
11554 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Include
11556 (__get_clockfreq): Use uint64_t instead of hp_timing_t in
11557 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK call.
11559 2014-08-13 Siddhesh Poyarekar <siddhesh@redhat.com>
11561 * sysdeps/x86/fpu/bits/mathinline.h: Fix typo in comment.
11564 * sysdeps/x86/fpu/bits/mathinline.h: Check both __SSE2_MATH__
11565 and __x86_64__ when disabling x87 inline functions.
11567 2014-08-12 H.J. Lu <hongjiu.lu@intel.com>
11570 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Replace cpuid
11571 asm statement with __cpuid_count.
11573 2014-08-12 Mike Frysinger <vapier@gentoo.org>
11575 * configure.ac: Change __ehdr_start code to dereference the struct.
11576 Run readelf on the output to look for relocations.
11577 * configure: Regenerated.
11579 2014-08-12 Joseph Myers <joseph@codesourcery.com>
11582 * sysdeps/powerpc/nofpu/fenv_const.c (__fe_enabled_env): Change
11584 (__fe_nonieee_env): Define as an alias for __fe_dfl_env.
11586 2014-08-12 Roland McGrath <roland@hack.frob.com>
11588 * NEWS: Mention x86-64 ld.so use of Intel MPX instructions.
11590 2014-08-12 Bernard Ogden <bernie.ogden@linaro.org>
11593 * sysdeps/nptl/lowlevellock.h (__lll_timedlock): Use
11594 atomic_compare_and_exchange_bool_acq rather than atomic_exchange_acq.
11596 2014-08-12 Sean Anderson <seanga2@gmail.com>
11598 * malloc/malloc.c: Fix typo in comment.
11600 2014-08-09 Allan McRae <allan@archlinux.org>
11602 * Regenerate libc.po.
11604 2014-08-08 Mike Frysinger <vapier@gentoo.org>
11606 * intl/tst-gettext2.sh: Check every lang file for creation.
11608 2014-08-07 Wilco Dijkstra <wdijkstr@arm.com>
11610 * sysdeps/aarch64/fpu/math_private.h
11611 (libc_feholdsetround_noex_aarch64_ctx): New function.
11613 2014-08-07 Wilco Dijkstra <wdijkstr@arm.com>
11615 * sysdeps/arm/armv6/strcpy.S (strcpy):
11616 Fix performance issue in misaligned cases.
11618 2014-08-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11620 * sysdeps/unix/sysv/linux/powerpc/bits/ioctl-types.h (struct winsize):
11621 Move definition from termios.h.
11622 (struct termio): Likewise.
11623 (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
11624 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
11625 N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
11626 N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
11628 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (struct winsize):
11629 Move definition to ioctl-types.h
11630 (struct termio): Likewise.
11631 (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
11632 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
11633 N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
11634 N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
11637 2014-08-05 Richard Henderson <rth@redhat.com>
11639 * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Always raise
11641 * sysdeps/alpha/soft-fp/Makefile [soft-fp] (sysdep_routines):
11643 * sysdeps/alpha/soft-fp/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
11644 Use __feraiseexcept.
11645 * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (feraiseexcept):
11646 Protect libm symbols with IS_IN_libm.
11648 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Remove file.
11650 2014-08-04 Bernard Ogden <bernie.ogden@linaro.org>
11652 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Remove file.
11654 2014-08-04 Will Newton <will.newton@linaro.org>
11656 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Remove
11659 2014-08-04 Mike Frysinger <vapier@gentoo.org>
11661 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Add nocancel
11662 variants for each function.
11664 2014-08-04 Roland McGrath <roland@hack.frob.com>
11666 * sysdeps/unix/sysv/linux/ia64/nptl/Makefile: File removed, contents
11668 * sysdeps/unix/sysv/linux/ia64/Makefile: ... here.
11669 * sysdeps/unix/sysv/linux/ia64/nptl/Versions: File removed, contents
11671 * sysdeps/unix/sysv/linux/ia64/Versions: ... here.
11672 * sysdeps/unix/sysv/linux/ia64/nptl/__ia64_longjmp.S: Moved ...
11673 * sysdeps/unix/sysv/linux/ia64/__ia64_longjmp.S: ... here.
11674 * sysdeps/unix/sysv/linux/ia64/nptl/__sigstack_longjmp.c: Moved ...
11675 * sysdeps/unix/sysv/linux/ia64/__sigstack_longjmp.c: ... here.
11676 * sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data: Moved ...
11677 * sysdeps/unix/sysv/linux/ia64/c++-types.data: ... here.
11678 * sysdeps/unix/sysv/linux/ia64/nptl/dl-sysdep.h: Moved ...
11679 * sysdeps/unix/sysv/linux/ia64/dl-sysdep.h: ... here.
11680 * sysdeps/unix/sysv/linux/ia64/nptl/ld.abilist: Moved ...
11681 * sysdeps/unix/sysv/linux/ia64/ld.abilist: ... here.
11682 * sysdeps/unix/sysv/linux/ia64/nptl/libBrokenLocale.abilist: Moved ...
11683 * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: ... here.
11684 * sysdeps/unix/sysv/linux/ia64/nptl/libanl.abilist: Moved ...
11685 * sysdeps/unix/sysv/linux/ia64/libanl.abilist: ... here.
11686 * sysdeps/unix/sysv/linux/ia64/nptl/libc.abilist: Moved ...
11687 * sysdeps/unix/sysv/linux/ia64/libc.abilist: ... here.
11688 * sysdeps/unix/sysv/linux/ia64/nptl/libcrypt.abilist: Moved ...
11689 * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: ... here.
11690 * sysdeps/unix/sysv/linux/ia64/nptl/libdl.abilist: Moved ...
11691 * sysdeps/unix/sysv/linux/ia64/libdl.abilist: ... here.
11692 * sysdeps/unix/sysv/linux/ia64/nptl/libm.abilist: Moved ...
11693 * sysdeps/unix/sysv/linux/ia64/libm.abilist: ... here.
11694 * sysdeps/unix/sysv/linux/ia64/nptl/libnsl.abilist: Moved ...
11695 * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: ... here.
11696 * sysdeps/unix/sysv/linux/ia64/nptl/libpthread.abilist: Moved ...
11697 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: ... here.
11698 * sysdeps/unix/sysv/linux/ia64/nptl/libresolv.abilist: Moved ...
11699 * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: ... here.
11700 * sysdeps/unix/sysv/linux/ia64/nptl/librt.abilist: Moved ...
11701 * sysdeps/unix/sysv/linux/ia64/librt.abilist: ... here.
11702 * sysdeps/unix/sysv/linux/ia64/nptl/libthread_db.abilist: Moved ...
11703 * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: ... here.
11704 * sysdeps/unix/sysv/linux/ia64/nptl/libutil.abilist: Moved ...
11705 * sysdeps/unix/sysv/linux/ia64/libutil.abilist: ... here.
11706 * sysdeps/unix/sysv/linux/ia64/nptl/localplt.data: Moved ...
11707 * sysdeps/unix/sysv/linux/ia64/localplt.data: ... here.
11708 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Moved ...
11709 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: ... here.
11710 * sysdeps/unix/sysv/linux/ia64/nptl/sysdep-cancel.h: Moved ...
11711 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: ... here.
11712 * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Moved ...
11713 * sysdeps/unix/sysv/linux/ia64/timer_create.c: ... here.
11714 * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Moved ...
11715 * sysdeps/unix/sysv/linux/ia64/timer_delete.c: ... here.
11716 * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Moved ...
11717 * sysdeps/unix/sysv/linux/ia64/timer_getoverr.c: ... here.
11718 * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Moved ...
11719 * sysdeps/unix/sysv/linux/ia64/timer_gettime.c: ... here.
11720 * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Moved ...
11721 * sysdeps/unix/sysv/linux/ia64/timer_settime.c: ... here.
11722 * sysdeps/unix/sysv/linux/ia64/nptl/unwind-forcedunwind.c: Moved ...
11723 * sysdeps/unix/sysv/linux/ia64/unwind-forcedunwind.c: ... here.
11725 * sysdeps/unix/sysv/linux/ia64/nptl/unwind_longjmp.c: Moved ...
11726 * sysdeps/unix/sysv/linux/ia64/unwind_longjmp.c: ... here.
11728 2014-08-04 Roland McGrath <roland@hack.frob.com>
11730 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h: Moved ...
11731 * sysdeps/ia64/nptl/bits/pthreadtypes.h: ... here.
11732 * sysdeps/unix/sysv/linux/ia64/nptl/bits/semaphore.h: Moved ...
11733 * sysdeps/ia64/nptl/bits/semaphore.h: ... here.
11734 * sysdeps/unix/sysv/linux/ia64/nptl/bits/local_lim.h: Moved ...
11735 * sysdeps/unix/sysv/linux/ia64/bits/local_lim.h: ... here.
11737 2014-08-04 Roland McGrath <roland@hack.frob.com>
11739 * nptl/sysdeps/pthread/createthread.c: Include <arch-fork.h>.
11740 * sysdeps/unix/sysv/linux/ia64/arch-fork.h (ARCH_CLONE): New macro.
11741 * sysdeps/ia64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
11742 * sysdeps/unix/sysv/linux/ia64/nptl/createthread.c: File removed.
11744 2014-08-04 Roland McGrath <roland@hack.frob.com>
11746 * sysdeps/unix/sysv/linux/ia64/nptl/vfork.S: Moved ...
11747 * sysdeps/unix/sysv/linux/ia64/vfork.S: ... here.
11748 (__libc_vfork): Define function under this name.
11749 (__vfork): Define as an alias.
11750 * sysdeps/unix/sysv/linux/ia64/pt-vfork.S: New file.
11751 * sysdeps/unix/sysv/linux/ia64/nptl/pt-vfork.S: File removed.
11753 2014-08-04 Roland McGrath <roland@hack.frob.com>
11755 * sysdeps/unix/sysv/linux/ia64/clone2.S: Deconditionalize the code
11756 that was previously under [RESET_PID].
11757 * sysdeps/unix/sysv/linux/ia64/nptl/clone2.S: File removed.
11759 2014-08-04 Andreas Schwab <schwab@suse.de>
11761 * sysdeps/ieee754/ldbl-96/s_fma.c: Include <math_private.h>.
11763 2014-08-03 Mike Frysinger <vapier@gentoo.org>
11765 * stdlib/tst-setcontext.c (test_stack): Fix coding style.
11768 2014-08-01 Roland McGrath <roland@hack.frob.com>
11770 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: File removed.
11772 2014-08-01 Richard Henderon <rth@redhat.com>
11774 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval before
11775 feclearexcept; use math_opt_barrier instead of open-coded asm; fix
11776 typo in exact zero test.
11777 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
11778 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
11779 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
11781 2014-08-01 Roland McGrath <roland@hack.frob.com>
11783 * sysdeps/unix/sysv/linux/arm/sysdep.h (PTR_MANGLE_LOAD, PTR_MANGLE)
11784 (PTR_MANGLE2, PTR_DEMANGLE, PTR_DEMANGLE2): Move these macros...
11785 * sysdeps/arm/sysdep.h: ... here.
11786 [!__ASSEMBLER__]: Include <stdint.h>.
11788 2014-08-01 Siddhesh Poyarekar <siddhesh@redhat.com>
11790 * include/libc-symbols.h (HAVE_LIBINTL_H): Define macro.
11791 (HAVE_WCTYPE_H): Likewise.
11792 (HAVE_ISWCTYPE): Likewise.
11793 (ENABLE_NLS): Likewise.
11794 * posix/regex_internal.h [(defined MB_CUR_MAX && HAVE_WCTYPE_H
11795 && HAVE_ISWCTYPE) || _LIBC]: Sync up with gnulib.
11797 * posix/regex_internal.c: Check if DEBUG is defined and is
11800 * include/libc-symbols.h (HAVE_MBSTATE_T): Define macro.
11801 (HAVE_MBSRTOWCS): Likewise.
11802 * posix/fnmatch.c: Include string.h unconditionally.
11804 2014-08-01 Stefan Liebler <stli@linux.vnet.ibm.com>
11806 * NEWS: Explain the s390 jmp_buf / ucontext_t ABI change
11809 2014-07-31 Roland McGrath <roland@hack.frob.com>
11811 * sysdeps/generic/safe-fatal.h: New file.
11812 * sysdeps/unix/sysv/linux/safe-fatal.h: New file.
11813 * nptl/forward.c: Include it.
11814 (__pthread_unwind): Use __safe_fatal as default action, rather
11815 than a bogus use of INTERNAL_SYSCALL that could never work.
11817 * config.h.in (HAVE_BUILTIN_TRAP): New #define to 0.
11818 * configure.ac (libc_cv_builtin_trap): New test.
11819 * configure: Regenerated.
11820 * sysdeps/generic/abort-instr.h [HAVE_BUILTIN_TRAP]
11821 (ABORT_INSTRUCTION): Define using __builtin_trap.
11823 * nptl/pthreadP.h (SIGCANCEL, SIGTIMER, SIGSETXID, __xidcmd): Moved ...
11824 * sysdeps/unix/sysv/linux/nptl-signals.h: ... to this new file.
11825 * sysdeps/nptl/nptl-signals.h: New file.
11826 * nptl/pthreadP.h: Include <nptl-signals.h>.
11828 2014-07-31 Stefan Liebler <stli@linux.vnet.ibm.com>
11830 * sysdeps/s390/s390-64/utf16-utf32-z9.c
11831 (ONE_DIRECTION): Define.
11832 * sysdeps/s390/s390-64/utf8-utf16-z9.c
11833 (ONE_DIRECTION): Define.
11834 * sysdeps/s390/s390-64/utf8-utf32-z9.c
11835 (ONE_DIRECTION): Define.
11837 2014-07-31 Stefan Liebler <stli@linux.vnet.ibm.com>
11839 * sysdeps/s390/Makefile: Delete file.
11840 * sysdeps/s390/Versions (GLIBC_2.19): Remove __setjmp.
11841 * sysdeps/s390/__longjmp.c: Delete file.
11842 * sysdeps/s390/bits/setjmp.h (__s390_jmp_buf):
11843 Remove fields __flags and __reserved.
11844 * sysdeps/s390/longjmp.c: Include setjmp/longjmp.c
11845 and add versioning.
11846 * sysdeps/s390/rtld-__longjmp.c: Delete file.
11847 * sysdeps/s390/rtld-global-offsets.sym: Likewise.
11848 * sysdeps/s390/rtld-setjmp.S: Likewise.
11849 * sysdeps/s390/s390-32/__longjmp-common.c: Move to ...
11850 * sysdeps/s390/s390-32/__longjmp.c: ... here.
11851 * sysdeps/s390/s390-32/setjmp-common.S: Move to ...
11852 * sysdeps/s390/s390-32/setjmp.S: ... here.
11854 (__sigsetjmp): Remove setting __flags field.
11855 * sysdeps/s390/s390-64/__longjmp-common.c:Move to ...
11856 * sysdeps/s390/s390-64/__longjmp.c: ... here.
11857 * sysdeps/s390/s390-64/setjmp-common.S: Move to ...
11858 * sysdeps/s390/s390-64/setjmp.S: ... here.
11860 (__sigsetjmp): Remove setting __flags field.
11861 * sysdeps/s390/setjmp.S: Delete file.
11862 * sysdeps/s390/sigjmp.c: Likewise.
11863 * sysdeps/s390/v1-longjmp.c: Likewise.
11864 * sysdeps/s390/v1-setjmp.h: Likewise.
11865 * sysdeps/s390/v1-sigjmp.c: Likewise.
11866 * sysdeps/unix/sysv/linux/s390/Makefile (sysdep_routines):
11867 Remove v1-longjmp_chk.
11868 * sysdeps/unix/sysv/linux/s390/getcontext.S: Delete file.
11869 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c:
11870 Include debug/longjmp_chk.c and add versioning.
11871 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c:
11872 Include nptl/pt-longjmp.c and add versioning.
11873 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: Delete file.
11874 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c:
11875 Include __longjmp.c.
11876 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
11878 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: ... here.
11879 (__getcontext): Remove setting __flags field.
11881 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
11882 Don't restore upper high grps.
11883 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S:
11885 (__swapcontext): Remove setting uc_flags field.
11886 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym:
11888 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
11889 Include __longjmp.c.
11890 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
11892 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: ... here.
11893 (__getcontext): Remove setting __flags field.
11895 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S:
11896 (__swapcontext): Remove setting uc_flags field.
11897 * unix/sysv/linux/s390/s390-64/ucontext_i.sym: Delete file.
11898 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (ucontext):
11899 Remove fields uc_high_gprs and __reserved.
11900 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym:
11901 New file with reverted content.
11902 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: Delete file.
11903 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist:
11905 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist:
11908 2014-07-31 Andreas Schwab <schwab@suse.de>
11910 * config.h.in (HAVE_IFUNC): Define to 0.
11911 * rt/clock-compat.c [HAVE_IFUNC]: Check for value, not
11914 2014-07-30 Ling Ma <ling.ml@alibaba-inc.com>
11916 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
11917 memmove-avx-unaligned, memcpy-avx-unaligned and
11918 mempcpy-avx-unaligned.
11919 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
11920 Add tests for AVX memcpy functions.
11921 * sysdeps/x86_64/multiarch/memcpy.S: Add support for AVX memcpy.
11922 * sysdeps/x86_64/multiarch/memcpy_chk.S: Add support for AVX
11924 * sysdeps/x86_64/multiarch/memmove.c: Add support for AVX memmove.
11925 * sysdeps/x86_64/multiarch/memmove_chk.c: Add support for AVX
11927 * sysdeps/x86_64/multiarch/mempcpy.S: Add support for AVX mempcpy.
11928 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Add support for AVX
11930 * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: New file.
11931 * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: New file.
11932 * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: New file.
11934 2013-07-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11937 * sysdeps/powerpc/powerpc64/entry.h: Fix TEXT_START definition for
11940 2014-07-29 Jeff Layton <jlayton@poochiereds.net>
11943 * manual/llio.texi: Add section about open file description locks.
11944 * manual/examples/ofdlocks.c: Example of open file description
11946 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Define F_OFD_GETLK,
11947 F_OFD_SETLK, and F_OFD_SETLKW.
11949 2014-07-23 Allan McRae <allan@archlinux.org>
11951 * po/es.po: Update Spanish translation from translation project.
11953 2014-07-18 Andreas Schwab <schwab@linux-m68k.org>
11955 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Removed.
11957 2014-07-17 Maciej W. Rozycki <macro@codesourcery.com>
11960 * sysdeps/arm/dl-machine.h (elf_machine_rela)
11961 [RESOLVE_CONFLICT_FIND_MAP]: Handle R_ARM_TLS_DESC relocation.
11962 (elf_machine_lazy_rel): Handle prelinked R_ARM_TLS_DESC entries.
11964 2014-07-17 Joseph Myers <joseph@codesourcery.com>
11967 * math/fesetenv.c (__fesetenv)
11968 [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Return 1 for FE_NOMASK_ENV.
11969 * math/feupdateenv.c (__feupdateenv)
11970 [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Likewise.
11972 * sysdeps/unix/sysv/linux/s390/kernel-features.h: New file.
11973 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
11974 (__ASSUME_SOCKETCALL): Do not define.
11976 * sysdeps/unix/sysv/linux/sh/kernel-features.h: New file.
11977 * sysdeps/unix/sysv/linux/kernel-features.h [__sh__]
11978 (__ASSUME_SOCKETCALL): Do not define.
11979 (__ASSUME_ST_INO_64_BIT): Define unconditionally.
11980 [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
11981 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
11982 [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
11983 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
11984 [__LINUX_KERNEL_VERSION >= 0x030000 && __sh__]
11985 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
11986 [__sh__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
11988 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: New file.
11989 * sysdeps/unix/sysv/linux/kernel-features.h [__powerpc__]
11990 (__ASSUME_SOCKETCALL): Do not define.
11991 (__ASSUME_IPC64): Define unconditionally.
11992 [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
11993 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
11994 [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
11995 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
11996 [__LINUX_KERNEL_VERSION >= 0x030000 && __powerpc__]
11997 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
11998 [__powerpc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL):
12001 * sysdeps/unix/sysv/linux/sparc/kernel-features.h: New file.
12002 * sysdeps/unix/sysv/linux/kernel-features.h [__sparc__]
12003 (__ASSUME_SOCKETCALL): Do not define.
12004 (__ASSUME_SET_ROBUST_LIST): Define unconditionally.
12005 (__ASSUME_FUTEX_LOCK_PI): Likewise.
12006 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL): Do not define.
12007 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
12008 (__ASSUME_REQUEUE_PI): Define unconditionally.
12009 [__LINUX_KERNEL_VERSION >= 0x020621 && __sparc__]
12010 (__ASSUME_RECVMMSG_SYSCALL): Do not define.
12011 [__sparc__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
12012 [__LINUX_KERNEL_VERSION >= 0x030000 && __sparc__]
12013 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
12014 [__sparc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
12016 * sysdeps/unix/sysv/linux/i386/kernel-features.h: New file.
12017 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__]
12018 (__ASSUME_SOCKETCALL): Do not define.
12019 [__LINUX_KERNEL_VERSION >= 0x020621 && __i386__]
12020 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
12021 [__i386__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
12022 [__LINUX_KERNEL_VERSION >= 0x030000 && __i386__]
12023 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
12024 [__i386__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
12026 * sysdeps/unix/sysv/linux/x86_64/kernel-features.h: New file.
12027 * sysdeps/unix/sysv/linux/kernel-features.h [__x86_64__]
12028 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
12029 [__LINUX_KERNEL_VERSION >= 0x020621 && __x86_64__]
12030 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
12031 [__LINUX_KERNEL_VERSION >= 0x030000 && __x86_64__]
12032 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
12033 [__x86_64__ && __LINUX_KERNEL_VERSION >= 0x030100]
12034 (__ASSUME_GETCPU_SYSCALL): Likewise.
12036 * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): New macro.
12037 * sysdeps/gnu/configure.ac: Use LIBC_SLIBDIR_RTLDDIR. Remove
12038 cases for individual architectures.
12039 * sysdeps/gnu/configure: Regenerated.
12040 * sysdeps/unix/sysv/linux/aarch64/configure.ac: Use
12041 LIBC_SLIBDIR_RTLDDIR.
12042 * sysdeps/unix/sysv/linux/aarch64/configure: Regenerated.
12043 * sysdeps/unix/sysv/linux/mips/configure.ac: Use
12044 LIBC_SLIBDIR_RTLDDIR.
12045 * sysdeps/unix/sysv/linux/mips/configure: Regenerated.
12046 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: Use
12047 LIBC_SLIBDIR_RTLDDIR.
12048 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
12050 * sysdeps/unix/sysv/linux/s390/s390-64/configure.ac: New file.
12051 * sysdeps/unix/sysv/linux/s390/s390-64/configure: New generated
12053 * sysdeps/unix/sysv/linux/sparc/sparc64/configure.ac: New file.
12054 * sysdeps/unix/sysv/linux/sparc/sparc64/configure: New generated
12056 * sysdeps/unix/sysv/linux/x86_64/64/configure.ac: New file.
12057 * sysdeps/unix/sysv/linux/x86_64/64/configure: New generated file.
12058 * sysdeps/unix/sysv/linux/x86_64/x32/configure.ac: New file.
12059 * sysdeps/unix/sysv/linux/x86_64/x32/configure: Generate.
12061 * sysdeps/aarch64/shlib-versions: Move to ...
12062 * sysdeps/unix/sysv/linux/aarch64/shlib-versions: ... here.
12063 * sysdeps/alpha/shlib-versions: Move to ...
12064 * sysdeps/unix/sysv/linux/alpha/shlib-versions: ... here.
12065 * sysdeps/arm/shlib-versions: Move to ...
12066 * sysdeps/unix/sysv/linux/arm/shlib-versions: ... here.
12067 * sysdeps/hppa/shlib-versions: Move all contents except for
12068 libgcc_s entry to ...
12069 * sysdeps/unix/sysv/linux/hppa/shlib-versions: ... here. Merge in
12071 * sysdeps/hppa/nptl/shlib-versions: ... here. Remove file.
12072 * sysdeps/ia64/shlib-versions: Move to ...
12073 * sysdeps/unix/sysv/linux/ia64/shlib-versions: ... here. Merge in
12075 * sysdeps/ia64/nptl/shlib-versions: ... here. Remove file.
12076 * sysdeps/m68k/coldfire/shlib-versions: Move to ...
12077 * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: ... here.
12078 * sysdeps/microblaze/shlib-versions: Move to ...
12079 * sysdeps/unix/sysv/linux/microblaze/shlib-versions: ... here.
12080 * sysdeps/mips/shlib-versions: Move to ...
12081 * sysdeps/unix/sysv/linux/mips/shlib-versions: ... here. Merge in
12083 * sysdeps/mips/nptl/shlib-versions: ... here. Remove file.
12084 * sysdeps/tile/shlib-versions: Move to ...
12085 * sysdeps/unix/sysv/linux/tile/shlib-versions: ... here.
12086 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Merge in entry
12088 * sysdeps/x86_64/64/shlib-versions: ... here. Remove file.
12089 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Merge in
12091 * sysdeps/x86_64/x32/shlib-versions: ... here. Remove file.
12093 2014-07-17 Will Newton <will.newton@linaro.org>
12095 * sysdeps/arm/bits/atomic.h
12096 (__arch_compare_and_exchange_bool_8_int): Evaluate to zero.
12097 (__arch_compare_and_exchange_bool_16_int): Likewise.
12098 (__arch_compare_and_exchange_bool_64_int): Likewise.
12100 * iconv/loop.c: Move definition of LOOPFCT and gconv_btowc
12101 into an #else block.
12103 2014-07-16 Roland McGrath <roland@hack.frob.com>
12105 * sysdeps/arm/preconfigure.ac: Apply EABI sanity check to arm*, not
12106 just Linux configurations. Test empirically that the compiler sets
12107 __ARM_EABI__, rather than using the tuple to decide.
12108 * sysdeps/arm/preconfigure: Regenerated.
12109 * sysdeps/unix/sysv/linux/arm/configure: File removed.
12110 * sysdeps/unix/sysv/linux/arm/configure.ac: File removed,
12111 contents appended ...
12112 * sysdeps/arm/configure.ac: ... here.
12113 * sysdeps/arm/configure: Regenerated.
12115 2014-07-15 Roland McGrath <roland@hack.frob.com>
12117 * nptl/pthread_kill.c: New file.
12118 * nptl/pthread_sigmask.c: New file.
12119 * nptl/pthread_sigqueue.c: New file.
12121 * sysdeps/nptl/lowlevellock.h: New file.
12122 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: New file.
12123 * sysdeps/nptl/lowlevellock-futex.h: New file.
12125 * nptl/pthreadP.h (__current_sigrtmin, __current_sigrtmax):
12126 Remove dead declarations.
12128 2014-07-14 H.J. Lu <hongjiu.lu@intel.com>
12130 * config.h.in (HAVE_AVX2_SUPPORT): New #undef.
12131 * sysdeps/i386/configure.ac: Set HAVE_AVX2_SUPPORT and
12132 config-cflags-avx2.
12133 * sysdeps/x86_64/configure.ac: Likewise.
12134 * sysdeps/i386/configure: Regenerated.
12135 * sysdeps/x86_64/configure: Likewise.
12136 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
12137 memset-avx2 only if config-cflags-avx2 is yes.
12138 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
12139 Tests for memset_chk and memset only if HAVE_AVX2_SUPPORT is
12141 * sysdeps/x86_64/multiarch/memset.S: Define multiple versions
12142 only if HAVE_AVX2_SUPPORT is defined.
12143 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
12145 2014-07-14 Alan Modra <amodra@gmail.com>
12148 * elf/elf.h (DT_PPC64_NUM): Correct value.
12149 * NEWS: Add to fixed bug list.
12151 2014-07-13 Jim Meyering <meyering@fb.com>
12154 regex: don't deref NULL upon heap allocation failure
12155 * posix/regcomp.c: (parse_dup_op): Handle duplicate_tree
12156 failure in one more place.
12157 To trigger the segfault, configure grep -with-included-regex,
12158 build it, and run these commands:
12159 ( ulimit -v 300000; echo a|src/grep -E a+++++++++++++++++++++ )
12161 2014-07-13 Andreas Schwab <schwab@linux-m68k.org>
12163 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
12165 2014-07-11 Richard Henderson <rth@redhat.com>
12167 * sysdeps/aarch64/libm-test-ulps: Update.
12169 2014-07-10 Florian Weimer <fweimer@redhat.com>
12172 * nptl/pthreadP.h (__nptl_setxid_error): Declare function.
12173 * nptl/allocatestack.c (__nptl_setxid_error): New function.
12174 (__nptl_setxid): Initialize error member. Call
12175 __nptl_setxid_error.
12176 * nptl/nptl-init.c (sighandler_setxid): Call __nptl_setxid_error.
12177 * nptl/descr.h (struct xid_command): Add error member.
12178 * nptl/tst-setuid3.c: New file.
12179 * nptl/Makefile (tests): Add it.
12181 2014-07-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12183 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h (__lll_base_trylock):
12185 (__lll_trylock): Use __lll_base_trylock.
12186 (__lll_cond_trylock): Likewise.
12188 2014-07-10 Roland McGrath <roland@hack.frob.com>
12190 * nptl/pthread_create.c (start_thread): Use atomic_or and
12191 lll_futex_wake directly rather than lll_robust_dead.
12192 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
12193 (lll_robust_dead): Macro removed.
12194 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Likewise.
12195 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
12196 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
12197 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
12198 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
12199 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
12200 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
12201 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
12202 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
12203 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
12204 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
12205 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
12206 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
12207 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
12208 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
12210 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
12211 Use atomic_compare_and_exchange_val_acq directly rather than
12212 lll_robust_trylock.
12213 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
12214 (__lll_robust_trylock, lll_robust_trylock): Removed.
12215 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
12216 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
12217 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
12218 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
12219 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
12220 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
12221 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
12222 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
12223 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
12224 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
12225 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
12226 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
12227 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
12228 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
12230 2014-07-02 Florian Weimer <fweimer@redhat.com>
12232 * manual/locale.texi (Locale Names): New section documenting
12233 locale name syntax. Adjust menu and node chaining accordingly.
12234 (Choosing Locale): Reference Locale Names, Locale Categories.
12235 Mention setting LC_ALL=C. Reflect that name syntax is now
12237 (Locale Categories): New section title. Reference Locale Names.
12238 LC_ALL is an environment variable, but not a category.
12239 (Setting the Locale): Remove "locale -a" invocation and LOCPATH
12240 description, now in Locale Name. Reference that section. Locale
12241 name syntax is now documented.
12243 2014-07-02 Florian Weimer <fweimer@redhat.com>
12246 * locale/findlocale.c (name_present, valid_locale_name): New
12248 (_nl_find_locale): Use the loc_name variable to store name
12249 candidates. Call name_present and valid_locale_name to check and
12250 validate locale names. Return an error if the locale is invalid.
12252 2014-07-02 Florian Weimer <fweimer@redhat.com>
12254 * locale/setlocale.c (setlocale): Use strdup for allocating
12255 composite name copy.
12257 2014-07-10 Siddhesh Poyarekar <siddhesh@redhat.com>
12259 Sync up with gnulib.
12260 * misc/error.c: Use !_LIBC instead of HAVE_CONFIG_H.
12261 [!_LIBC && ENABLE_NLS]: Include gettext.h.
12262 [_LIBC]: Define USE_UNLOCKED_IO, _GL_ATTRIBUTE_FORMAT_PRINTF
12263 and _GL_ARG_NONNULL.
12264 [USE_UNLOCKED_IO]: Include unlocked-io.h.
12265 [!_LIBC]: Include code for Windows and Cygwin.
12266 [!_LIBC && !HAVE_DECL_STRERROR_R && !STRERROR_R_CHAR_P]:
12267 Include prototype for int strerror_r.
12268 [!_LIBC] (is_open): New function.
12269 (flush_stdout): New function.
12270 (print_errno_message): Use it.
12272 (error_at_line): Likewise.
12273 (error_tail) Add function attribute macros. Use
12276 * time/strptime_l.c [_LIBC]: Define HAVE_LOCALTIME_R.
12278 * time/strftime_l.c [_LIBC]: Define HAVE_STRFTIME.
12280 * io/ftw.c: Include sys/param.h unconditionally.
12282 * locale/programs/simple-hash.c [!HAVE_OBSTACK]: Remove code.
12285 * sysdeps/unix/sysv/linux/check_pf.c (cache): Don't use
12287 (freecache): New function to free CACHE on exit.
12289 * sunrpc/xdr.c (xdr_string): Add comment about SIZE
12292 2014-07-09 David S. Miller <davem@davemloft.net>
12294 * sysdeps/sparc/fpu/libm-test-ulps: Update.
12296 * sysdeps/sparc/nptl/internaltypes.h: Delete.
12297 * sysdeps/sparc/nptl/sparc-nptl.h: New file.
12298 * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Include it.
12299 * sysdeps/sparc/nptl/pthread_barrier_init.c: Likewise.
12300 * sysdeps/sparc/nptl/pthread_barrier_wait.c: Likewise.
12301 * sysdeps/sparc/nptl/sem_init.c: Likewise.
12302 * sysdeps/sparc/nptl/sem_post.c: Likewise.
12303 * sysdeps/sparc/nptl/sem_timedwait.c: Likewise.
12304 * sysdeps/sparc/nptl/sem_wait.c: Likewise.
12305 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Likewise.
12306 * sysdeps/sparc/sparc32/nptl/sem_post.c: Likewise.
12307 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Likewise.
12308 * sysdeps/sparc/sparc32/nptl/sem_wait.c: Likewise.
12310 2014-07-09 Andreas Schwab <schwab@suse.de>
12312 * sysdeps/powerpc/test-gettimebase.c (do_test): Add newline to
12314 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c
12315 (do_test): Likewise.
12317 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
12319 2014-07-09 Will Newton <will.newton@linaro.org>
12321 * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Test SHARED with #ifdef.
12322 * sysdeps/arm/tlsdesc.c (_dl_unmap): Likewise.
12323 * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
12324 * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
12325 * sysdeps/hppa/start.S (_start): Likewise.
12327 2014-07-09 Siddhesh Poyarekar <siddhesh@redhat.com>
12329 * sunrpc/xdr.c (xdr_string): Initialize SIZE to 0.
12331 * sysdeps/generic/unwind-pe.h: Only check if __cplusplus is
12334 2014-07-08 Siddhesh Poyarekar <siddhesh@redhat.com>
12336 * resolv/res_query.c (__libc_res_nsearch): Dereference resplen2
12337 after checking that it is non-NULL.
12339 * sysdeps/i386/dl-machine.h: Define ELF_MACHINE_NO_REL.
12341 2014-07-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12343 * sysdeps/powerpc/memmove.c: Remove file.
12344 * sysdeps/powerpc/powerpc32/power4/memcopy.h
12345 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Define it to 1.
12346 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
12347 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Remove define.
12348 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c:
12349 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Likewise.
12350 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Include default
12351 string memmove instead of removed powerpc one.
12353 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
12354 [weak_alias]: Fix compiler warning due trailing data.
12355 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S:
12356 [weak_alias]: Likewise.
12357 * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Fix compile
12358 warnigs due missing definition of __strcpy_power7 and __strlen_power7.
12360 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
12361 (__libc_ifunc_impl_list): Add memmove functions.
12363 2014-07-08 Siddhesh Poyarekar <siddhesh@redhat.com>
12365 * localedata/tests-mbwc/dat_iswalnum.c [SHOJI_IS_RIGHT]:
12367 * localedata/tests-mbwc/dat_iswalpha.c [SHOJI_IS_RIGHT]:
12369 * localedata/tests-mbwc/dat_iswctype.c [SHOJI_IS_RIGHT]:
12371 * localedata/tests-mbwc/dat_iswgraph.c [SHOJI_IS_RIGHT]:
12373 * localedata/tests-mbwc/dat_iswprint.c [SHOJI_IS_RIGHT]:
12375 * localedata/tests-mbwc/dat_iswpunct.c [SHOJI_IS_RIGHT]:
12377 * localedata/tests-mbwc/dat_mbrlen.c [SHOJI_IS_RIGHT]:
12379 * localedata/tests-mbwc/dat_mbstowcs.c [SHOJI_IS_RIGHT]:
12381 * localedata/tests-mbwc/dat_mbtowc.c [SHOJI_IS_RIGHT]:
12383 * localedata/tests-mbwc/dat_strcoll.c [SHOJI_IS_RIGHT]:
12385 * localedata/tests-mbwc/dat_swscanf.c [SHOJI_IS_RIGHT]:
12387 * localedata/tests-mbwc/dat_towctrans.c [SHOJI_IS_RIGHT]:
12389 * localedata/tests-mbwc/dat_wcscoll.c [SHOJI_IS_RIGHT]:
12391 * localedata/tests-mbwc/dat_wcswidth.c [SHOJI_IS_RIGHT]:
12393 * localedata/tests-mbwc/dat_wctob.c [SHOJI_IS_RIGHT]:
12395 * localedata/tests-mbwc/dat_wcwidth.c [SHOJI_IS_RIGHT]:
12397 * localedata/tests-mbwc/tst_towctrans.c [SHOJI_IS_RIGHT]:
12400 2014-07-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12402 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Align VSX copies to 16B
12403 to avoid alignment traps in non-cacheable memory.
12404 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
12406 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memmove
12408 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c: New
12409 file: multiarch power7 memmove.
12410 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c: New file:
12411 multiarch default memmove.
12412 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: New file:
12413 multiarch memove for powerpc32/power4.
12415 * string/bcopy.c: Use full path to include memmove.c.
12416 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memmove and bcopy
12418 * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c: New file: default
12419 bcopy for powerpc64.
12420 * sysdeps/powerpc/powerpc64/multiarch/bcopy.c: New file: multiarch
12421 bcopy for powerpc64.
12422 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add bcopy
12423 and memmove implementations.
12424 * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: New file:
12425 optimized multiarch memmove for POWER7/powerpc64.
12426 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: New file:
12427 default multiarch memmove for powerpc64.
12428 * sysdeps/powerpc/powerpc64/multiarch/memmove.c: New file: memmove
12429 multiarch for powerpc64.
12430 * sysdeps/powerpc/powerpc64/power7/bcopy.c: New file: optimized bcopy
12431 for POWER7/powerpc64.
12432 * sysdeps/powerpc/powerpc64/power7/memmove.S: New file: optimized
12433 memmove for POWER7/powerpc64.
12435 * sysdeps/powerpc/memmove.c (memmove): Cleanup impplementation to use
12438 * sysdeps/powerpc/bits/link.h [_CALL_ELF]: Guard check for
12439 __ELF_NATIVE_CLASS equal to 64.
12441 2014-07-07 Roland McGrath <roland@hack.frob.com>
12443 * sysdeps/nptl/lowlevellock.h: File removed.
12445 * NEWS: NPTL is no longer an add-on!
12446 * nptl/internaltypes.h: Moved ...
12447 * sysdeps/nptl/internaltypes.h: ... here.
12448 * sysdeps/nptl/aio_misc.h: Use <nptl/pthreadP.h> in #include.
12449 * sysdeps/nptl/fork.c: Likewise.
12450 * sysdeps/nptl/gai_misc.h: Likewise.
12451 * sysdeps/nptl/librt-cancellation.c: Likewise.
12452 * sysdeps/nptl/jmp-unwind.c: Likewise.
12453 * sysdeps/nptl/setxid.h: Likewise.
12454 * sysdeps/unix/sysv/linux/aarch64/Implies: New file.
12455 * sysdeps/unix/sysv/linux/alpha/Implies: Add alpha/nptl.
12456 * sysdeps/unix/sysv/linux/arm/Implies: New file.
12457 * sysdeps/unix/sysv/linux/hppa/Implies: New file.
12458 * sysdeps/unix/sysv/linux/i386/Implies: Add i386/nptl.
12459 * sysdeps/unix/sysv/linux/i386/i686/Implies: New file.
12460 * sysdeps/unix/sysv/linux/ia64/Implies: Add ia64/nptl.
12461 * sysdeps/unix/sysv/linux/m68k/Implies: New file.
12462 * sysdeps/unix/sysv/linux/microblaze/Implies: New file.
12463 * sysdeps/unix/sysv/linux/mips/Implies: New file.
12464 * sysdeps/unix/sysv/linux/powerpc/Implies: New file.
12465 * sysdeps/unix/sysv/linux/s390/Implies: Add s390/nptl.
12466 * sysdeps/unix/sysv/linux/sh/Implies: New file.
12467 * sysdeps/unix/sysv/linux/sparc/Implies: New file.
12468 * sysdeps/unix/sysv/linux/tile/Implies: New file.
12469 * sysdeps/unix/sysv/linux/x86_64/Implies: Add x86_64/nptl.
12470 * sysdeps/unix/sysv/linux/x86_64/x32/Implies: New file.
12471 * nptl/Makeconfig: Moved ...
12472 * sysdeps/nptl/Makeconfig: ... here.
12473 * nptl/configure: File removed.
12474 * nptl/ANNOUNCE: File removed.
12475 * sysdeps/unix/sysv/linux/configure.ac: Remove nptl sanity check.
12476 * sysdeps/unix/sysv/linux/configure: Regenerated.
12478 * nptl/Makefile (routines): Add libc_pthread_init,
12479 libc_multiple_threads, register-atfork and unregister-atfork.
12480 (libpthread-routines): Add pthread_mutex_cond_lock and pt-fork here.
12481 (gen-as-const-headers): Add lowlevelcond.sym, lowlevelrwlock.sym,
12482 lowlevelbarrier.sym, unwindbuf.sym, lowlevelrobustlock.sym,
12483 pthread-pi-defines.sym, structsem.sym.
12484 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = posix]
12485 (CFLAGS-fork.c, CFLAGS-getpid.o, CFLAGS-getpid.os): New variables.
12486 [$(subdir) = nptl] (tests): Add tst-setgetname.
12487 * nptl/sysdeps/unix/sysv/linux/Makefile: File removed.
12488 * sysdeps/unix/sysv/linux/sigaction.c: Just include
12489 <nptl/sigaction.c> directly here, instead of WRAPPER_INCLUDE.
12490 [!LIBC_SIGACTION]: Remove aliases.
12491 * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
12492 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
12493 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
12494 * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
12495 * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
12496 * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
12497 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
12498 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
12499 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
12500 * nptl/Versions (libc: GLIBC_2.3.2): Add __register_atfork.
12501 (libc: GLIBC_PRIVATE): Add __libc_pthread_init,
12502 __libc_current_sigrtmin_private, __libc_current_sigrtmax_private,
12503 __libc_allocate_rtsig_private.
12504 * nptl/sysdeps/unix/sysv/linux/Versions: File removed.
12505 * sysdeps/unix/sysv/linux/sigtimedwait.c: Include <nptl/pthreadP.h>.
12506 * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
12507 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
12508 * sysdeps/unix/sysv/linux/sleep.c: Likewise.
12509 * nptl/sysdeps/unix/sysv/linux/sigwait.c: File removed.
12510 * nptl/sysdeps/unix/sysv/linux/sigtimedwait.c: File removed.
12511 * nptl/sysdeps/unix/sysv/linux/sigwaitinfo.c: File removed.
12512 * nptl/sysdeps/unix/sysv/linux/sleep.c: File removed.
12513 * nptl/sysdeps/unix/sysv/linux/createthread.c: File removed.
12514 * sysdeps/unix/sysv/linux/ia64/fork.S: File removed.
12515 * nptl/sysdeps/unix/sysv/linux/internaltypes.h: Moved ...
12516 * nptl/internaltypes.h: ... here.
12517 * nptl/sysdeps/unix/sysv/linux/jmp-unwind.c: Moved ...
12518 * sysdeps/nptl/jmp-unwind.c: ... here.
12519 * nptl/sysdeps/unix/sysv/linux/libc-lowlevellock.c: Moved ...
12520 * nptl/libc-lowlevellock.c: ... here.
12521 * nptl/sysdeps/unix/sysv/linux/libc_multiple_threads.c: Moved ...
12522 * nptl/libc_multiple_threads.c: ... here.
12523 * nptl/sysdeps/unix/sysv/linux/libc_pthread_init.c: Moved ...
12524 * nptl/libc_pthread_init.c: ... here.
12525 * nptl/sysdeps/unix/sysv/linux/lowlevelbarrier.sym: Moved ...
12526 * nptl/lowlevelbarrier.sym: ... here.
12527 * nptl/sysdeps/unix/sysv/linux/lowlevelcond.sym: Moved ...
12528 * nptl/lowlevelcond.sym: ... here.
12529 * nptl/sysdeps/unix/sysv/linux/lowlevellock.c: Moved ...
12530 * nptl/lowlevellock.c: ... here.
12531 * nptl/lowlevellock.h: Moved ...
12532 * sysdeps/nptl/lowlevellock.h: ... here.
12533 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Moved ...
12534 * nptl/lowlevelrobustlock.c: ... here.
12535 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.sym: Moved ...
12536 * nptl/lowlevelrobustlock.sym: ... here.
12537 * nptl/sysdeps/unix/sysv/linux/lowlevelrwlock.sym: Moved ...
12538 * nptl/lowlevelrwlock.sym: ... here.
12539 * nptl/sysdeps/unix/sysv/linux/pt-fork.c: Moved ...
12540 * nptl/pt-fork.c: ... here.
12541 * nptl/sysdeps/unix/sysv/linux/pthread-pi-defines.sym: Moved ...
12542 * nptl/pthread-pi-defines.sym: ... here.
12543 * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Moved ...
12544 * nptl/pthread_attr_getaffinity.c: ... here.
12545 * nptl/sysdeps/unix/sysv/linux/pthread_attr_setaffinity.c: Moved ...
12546 * nptl/pthread_attr_setaffinity.c: ... here.
12547 * nptl/sysdeps/unix/sysv/linux/pthread_mutex_cond_lock.c: Moved ...
12548 * nptl/pthread_mutex_cond_lock.c: ... here.
12549 * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
12551 * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Likewise.
12552 * nptl/sysdeps/unix/sysv/linux/pthread_once.c: Moved ...
12553 * nptl/pthread_once.c: ... here, replacing old file.
12554 * nptl/sysdeps/unix/sysv/linux/pthread_yield.c: Moved ...
12555 * nptl/pthread_yield.c: ... here.
12556 * nptl/sysdeps/unix/sysv/linux/register-atfork.c: Moved ...
12557 * nptl/register-atfork.c: ... here.
12558 * nptl/sysdeps/unix/sysv/linux/sem_post.c: Moved ...
12559 * nptl/sem_post.c: ... here.
12560 * sysdeps/unix/sysv/linux/alpha/sem_post.c: Update #include.
12561 * nptl/sysdeps/unix/sysv/linux/sem_timedwait.c: Moved ...
12562 * nptl/sem_timedwait.c: ... here.
12563 * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Moved ...
12564 * nptl/sem_trywait.c: ... here.
12565 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Update #include.
12566 * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Moved ...
12567 * nptl/sem_wait.c: ... here.
12568 * nptl/sysdeps/unix/sysv/linux/structsem.sym: Moved ...
12569 * nptl/structsem.sym: ... here.
12570 * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Moved ...
12571 * sysdeps/unix/sysv/linux/mq_notify.c: ... here, replacing old file.
12572 * nptl/sysdeps/unix/sysv/linux/unregister-atfork.c: Moved ...
12573 * nptl/unregister-atfork.c: ... here.
12574 * nptl/sysdeps/unix/sysv/linux/unwindbuf.sym: Moved ...
12575 * nptl/unwindbuf.sym: ... here.
12576 * nptl/sysdeps/unix/sysv/linux/fork.c: Moved ...
12577 * sysdeps/nptl/fork.c: ... here.
12578 * nptl/sysdeps/unix/sysv/linux/fork.h: Moved ...
12579 * sysdeps/nptl/fork.h: ... here.
12580 * sysdeps/unix/sysv/linux/syscalls.list: Remove fork.
12581 * nptl/sysdeps/unix/sysv/linux/aio_misc.h: Moved ...
12582 * sysdeps/unix/sysv/linux/aio_misc.h: ... here.
12583 * nptl/sysdeps/unix/sysv/linux/allocrtsig.c: Moved ...
12584 * sysdeps/unix/sysv/linux/allocrtsig.c: ... here.
12585 * nptl/sysdeps/unix/sysv/linux/getpid.c: Moved ...
12586 * sysdeps/unix/sysv/linux/getpid.c: ... here.
12587 * nptl/sysdeps/unix/sysv/linux/kernel-posix-timers.h: Moved ...
12588 * sysdeps/unix/sysv/linux/kernel-posix-timers.h: ... here.
12589 * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Moved ...
12590 * sysdeps/unix/sysv/linux/pt-raise.c: ... here.
12591 * nptl/sysdeps/unix/sysv/linux/pthread_getaffinity.c: Moved ...
12592 * sysdeps/unix/sysv/linux/pthread_getaffinity.c: ... here.
12593 * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Moved ...
12594 * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: ... here.
12595 * nptl/sysdeps/unix/sysv/linux/pthread_getname.c: Moved ...
12596 * sysdeps/unix/sysv/linux/pthread_getname.c: ... here.
12597 * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Moved ...
12598 * sysdeps/unix/sysv/linux/pthread_kill.c: ... here.
12599 * nptl/sysdeps/unix/sysv/linux/pthread_setaffinity.c: Moved ...
12600 * sysdeps/unix/sysv/linux/pthread_setaffinity.c: ... here.
12601 * nptl/sysdeps/unix/sysv/linux/pthread_setname.c: Moved ...
12602 * sysdeps/unix/sysv/linux/pthread_setname.c: ... here.
12603 * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Moved ...
12604 * sysdeps/unix/sysv/linux/pthread_sigqueue.c: ... here.
12605 * nptl/sysdeps/unix/sysv/linux/raise.c: Moved ...
12606 * sysdeps/unix/sysv/linux/raise.c: ... here.
12607 * nptl/sysdeps/unix/sysv/linux/timer_create.c: Moved ...
12608 * sysdeps/unix/sysv/linux/timer_create.c: ... here.
12609 * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Moved ...
12610 * sysdeps/unix/sysv/linux/timer_delete.c: ... here.
12611 * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Moved ...
12612 * sysdeps/unix/sysv/linux/timer_getoverr.c: ... here.
12613 * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Moved ...
12614 * sysdeps/unix/sysv/linux/timer_gettime.c: ... here.
12615 * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Moved ...
12616 * sysdeps/unix/sysv/linux/timer_routines.c: ... here.
12617 * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Moved ...
12618 * sysdeps/unix/sysv/linux/timer_settime.c: ... here.
12619 * nptl/sysdeps/unix/sysv/linux/tst-setgetname.c: Moved ...
12620 * sysdeps/unix/sysv/linux/tst-setgetname.c: ... here.
12621 * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Update #include.
12623 2014-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
12625 * sysdeps/generic/memcopy.h: Add comment for
12626 MEMCPY_OK_FOR_FWD_MEMMOVE.
12628 2014-07-04 Will Newton <will.newton@linaro.org>
12630 * string/memchr.c: Merge from gnulib.
12631 [_LIBC]: Remove conditionals.
12632 (__ptr_t): Remove define.
12633 (LONG_MAX_32_BITS): Likewise.
12634 (LONG_MAX): Likewise.
12635 (MEMCHR): Use ANSI prototype and optimize algorithm.
12637 * sysdeps/arm/dl-machine.h (ELF_MACHINE_NO_REL): Define.
12639 2014-07-03 Roland McGrath <roland@hack.frob.com>
12641 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h
12642 (lll_futex_timed_wait_bitset): Fix syscall argument count.
12644 * sysdeps/nptl/configure.ac (libc_cv_forced_unwind):
12645 Use -Dinhibit_libc=1 for unwind.h check to prevent false failure
12646 in a bare environment with no <stdlib.h> installed.
12647 * sysdeps/nptl/configure: Regenerated.
12649 * sysdeps/alpha/fpu/s_nearbyint.c: Include <math_ldbl_opt.h>.
12651 * sysdeps/unix/sysv/linux/configure.ac: Use AC_TRY_COMPILE rather than
12652 AC_EGREP_CPP for kernel header checks, so they only succeed if
12653 including <linux/version.h> actually works right.
12654 * sysdeps/unix/sysv/linux/configure: Regenerated.
12656 * sysdeps/s390/nptl/tls.h (THREAD_SET_POINTER_GUARD): Refer to the
12657 value so it's not diagnosed as unused.
12659 * sysdeps/pthread/Makefile: Conditionalize tst-timer bits (the only
12660 thing) with "ifeq ($(subdir),rt)".
12662 2014-07-03 Richard Henderson <rth@redhat.com>
12664 * sysdeps/alpha/fpu/s_nearbyintf.c: Remove file.
12665 * sysdeps/alpha/fpu/s_nearbyint.c (__nearbyint): Remove;
12666 include sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c.
12668 * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): New.
12669 (math_force_eval): New.
12671 * sysdeps/alpha/fpu/s_lround.c: Add 0.5 with chopped rounding.
12672 * sysdeps/alpha/fpu/s_lroundf.c: Likewise.
12674 * sysdeps/alpha/fpu/s_round.c: Remove file.
12675 * sysdeps/alpha/fpu/s_roundf.c: Remove file.
12677 * elf/dl-support.c (HP_TIMING_AVAIL): Do not redefine.
12678 (_dl_non_dynamic_init): Check HP_SMALL_TIMING_AVAIL instead.
12679 * elf/rtld.c (HP_TIMING_AVAIL): Do not redefine.
12680 (_dl_start_final): Check HP_SMALL_TIMING_AVAIL instead.
12681 (_dl_start, print_statistics): Likewise.
12682 * sysdeps/generic/ldsodefs.h (struct rtld_global): Only check
12683 HP_SMALL_TIMING_AVAIL in defining _dl_cpuclock_offset.
12685 * sysdeps/aarch64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
12686 * sysdeps/generic/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
12687 * sysdeps/i386/i686/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
12688 * sysdeps/ia64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
12689 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
12690 (HP_SMALL_TIMING_AVAIL): Define.
12691 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
12692 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
12693 (HP_SMALL_TIMING_AVAIL): Define.
12694 * sysdeps/sparc/sparc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
12695 * sysdeps/x86_64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
12697 * sysdeps/aarch64/hp-timing.h: New file.
12699 * sysdeps/generic/hp-timing.h: Remove dead comment.
12700 * sysdeps/generic/hp-timing-common.h: New file.
12701 * sysdeps/alpha/hp-timing.h: Include it.
12702 (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT, HP_TIMING_PRINT): Remove.
12703 * sysdeps/i386/i686/hp-timing.h: Likewise.
12704 * sysdeps/ia64/hp-timing.h: Likewise.
12705 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
12706 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
12707 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
12708 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
12709 * sysdeps/x86_64/hp-timing.h: Don't include the i686 version.
12710 (HP_TIMING_AVAIL, HP_TIMING_INLINE): Define.
12711 (hp_timing_t): New.
12713 * benchtests/bench-string.h (_dl_hp_timing_overhead): Remove.
12714 * benchtests/bench-timing.h (_dl_hp_timing_overhead): Remove.
12715 (TIMING_INIT): Remove call to HP_TIMING_DIFF_INIT.
12716 * elf/rtld.c (_dl_start_final): Likewise.
12717 * sysdeps/generic/ldsodefs.h (_dl_hp_timing_overhead): Remove.
12718 * sysdeps/alpha/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
12719 * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
12720 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
12721 * sysdeps/ia64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
12722 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
12723 (HP_TIMING_DIFF_INIT): Remove.
12724 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
12725 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
12726 (HP_TIMING_DIFF_INIT): Remove.
12727 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
12728 * sysdeps/i386/i686/hp-timing.c: Remove file.
12729 * sysdeps/x86_64/hp-timing.c: Remove file.
12730 * sysdeps/ia64/hp-timing.c: Remove file.
12731 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Remove file.
12732 * sysdeps/powerpc/powerpc64/hp-timing.c: Remove file.
12733 * sysdeps/sparc/sparc32/sparcv9/hp-timing.c: Remove file.
12734 * sysdeps/sparc/sparc64/hp-timing.c: Remove file.
12736 * sysdeps/alpha/hp-timing.h (HP_TIMING_ACCUM): Remove.
12737 * sysdeps/generic/hp-timing.h (HP_TIMING_ACCUM): Remove.
12738 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ACCUM): Remove.
12739 * sysdeps/ia64/hp-timing.h (HP_TIMING_ACCUM): Remove.
12740 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
12741 (HP_TIMING_ACCUM): Remove.
12742 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
12743 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ACCUM): Remove.
12744 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
12746 * sysdeps/alpha/hp-timing.h (HP_TIMING_ZERO): Remove.
12747 * sysdeps/generic/hp-timing.h (HP_TIMING_ZERO): Remove.
12748 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ZERO): Remove.
12749 * sysdeps/ia64/hp-timing.h (HP_TIMING_ZERO): Remove.
12750 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_ZERO): Remove.
12751 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ZERO): Remove.
12752 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ZERO): Remove.
12753 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ZERO): Remove.
12755 * sysdeps/powerpc/powerpc32/hp-timing.h: Remove file.
12757 2014-07-03 Maciej W. Rozycki <macro@codesourcery.com>
12759 * stdlib/tst-strtod-overflow.c (TIMEOUT): Bump up to 30.
12761 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
12763 Sync up with gettext.
12764 * intl/loadmsgcat.c: Define O_BINARY if not defined.
12765 [_MSC_VER]: Include malloc.h
12766 [_LIBC]: Define PRI_MACROS_BROKEN if it is not defined.
12767 (get_sysdep_segment_value) [!__UCLIBC__]: Return "I" flag.
12768 (_nl_load_domain): Open DOMAIN_FILE in binary mode. Don't use
12769 TEMP_FAILURE_RETRY. Cast return of alloca.
12770 [!_LIBC] Call gl_rwlock_init.
12771 [IN_LIBGLOCALE]: Call _nl_find_msg with one less argument.
12773 2014-07-02 Roland McGrath <roland@hack.frob.com>
12775 * misc/sys/cdefs.h: Check if __STDC_VERSION__ is defined
12776 before checking its value.
12778 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
12780 * intl/loadmsgcat.c (_nl_load_domain): Use __builtin_expect.
12782 * debug/memcpy_chk.c: Don't include pagecopy.h.
12783 * debug/mempcpy_chk.c: Likewise.
12784 * string/memcpy.c: Likewise.
12785 * string/memmove.c: Likewise.
12786 * sysdeps/powerpc/memmove.c: Likewise.
12787 * sysdeps/generic/memcopy.h: Include pagecopy.h. Move
12788 definition of PAGE_COPY_FWD_MAYBE here...
12789 * sysdeps/generic/pagecopy.h: ... from here.
12790 * sysdeps/mach/pagecopy.h: Don't include generic pagecopy.h.
12792 2014-07-02 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
12793 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12795 * sysdeps/powerpc/strcat.c: Using macro to redefine symbol name.
12796 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcat multiarch
12798 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
12799 (__libc_ifunc_impl_list): Likewise.
12800 * sysdeps/powerpc/powerpc64/multiarch/strcat.c: New file:
12801 multiarch strcat for PPC64.
12802 * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: New file/
12803 * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: New file.
12805 2014-07-02 Roland McGrath <roland@hack.frob.com>
12807 * sysdeps/unix/sysv/linux/dl-sysdep.c: Include <sys/param.h>.
12809 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
12811 * intl/loadmsgcat.c: Remove declaration of
12812 get_sysdep_segment_value.
12813 (get_sysdep_segment_value): Use ISO C style.
12814 (_nl_load_domain): Use ISO C style. Get rid of redundant
12815 semicolon. Fix typo and formatting in comment.
12816 (_nl_unload_domain): Use ISO C style.
12818 * sysdeps/posix/sysconf.c (__sysconf): Fix typo in macro name.
12820 2014-07-02 Will Newton <will.newton@linaro.org>
12822 * malloc/obstack.c: Merge from gnulib master.
12823 [HAVE_CONFIG_H]: Remove conditional code.
12824 [!_LIBC]: Include config.h.
12825 [!ELIDE_CODE]: Don't include inttypes.h, include
12826 stdint.h unconditionally.
12827 (print_and_abort): Mark as _Noreturn.
12828 (_obstack_allocated_p): Mark as __attribute_pure__.
12829 (obstack_free): Rename to __obstack_free.
12830 [!__attribute__]: Remove conditional code.
12831 * malloc/obstack.h: Merge from gnulib master.
12832 [__cplusplus]: Move conditional down.
12833 [!__attribute_pure__]: Define __attribute_pure__ here
12834 if it is not already defined.
12835 (_obstack_memory_used): Mark as __attribute_pure__.
12836 [!__obstack_free]: Define as obstack_free.
12837 [__GNUC__]: Remove check for ancient NeXT gcc.
12839 2014-07-02 Will Newton <will.newton@linaro.org>
12840 Paul Eggert <eggert@cs.ucla.edu>
12842 * misc/sys/cdefs.h (_Noreturn): New macro, for pre-C11 compilers.
12844 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
12846 * resolv/gethnamaddr.c: Add comment warning that the file is
12849 2014-07-01 Carlos O'Donell <carlos@redhat.com>
12851 * sysdeps/unix/sysv/linux/hppa/librt.abilist: Remove GLIBC_2.3
12854 * sysdeps/unix/sysv/linux/hppa/Versions: Remove librt GLIBC_2.3
12855 entry for aio_cancel and aio_cancel64.
12856 * sysdeps/unix/sysv/linux/hppa/ld.abilist: New file.
12857 * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: New file.
12858 * sysdeps/unix/sysv/linux/hppa/libanl.abilist: New file.
12859 * sysdeps/unix/sysv/linux/hppa/libc.abilist: New file.
12860 * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: New file.
12861 * sysdeps/unix/sysv/linux/hppa/libdl.abilist: New file.
12862 * sysdeps/unix/sysv/linux/hppa/libm.abilist: New file.
12863 * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: New file.
12864 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: New file.
12865 * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: New file.
12866 * sysdeps/unix/sysv/linux/hppa/librt.abilist: New file.
12867 * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: New file.
12868 * sysdeps/unix/sysv/linux/hppa/libutil.abilist: New file.
12870 2014-07-01 Roland McGrath <roland@hack.frob.com>
12872 * sysdeps/unix/sysv/linux/sysconf.c: Include <sys/param.h>.
12873 * nptl/pthread_mutex_lock.c: Likewise.
12874 * nptl/pthread_mutex_timedlock.c: Likewise.
12875 * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Likewise.
12877 2014-07-01 Richard henderson <rth@redhat.com>
12879 * sysdeps/alpha/fpu/bits/mathinline.h (__isnanf): Remove.
12880 (__isnan, __isnanl): Remove.
12881 * sysdeps/alpha/fpu/s_isnan.c (__isnan): Use integer arithmetic.
12883 * sysdeps/alpha/fpu/libm-test-ulps: Update.
12885 2014-07-01 Stefan Liebler <stli@linux.vnet.ibm.com>
12887 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
12889 2014-07-01 Siddhesh Poyarekar <siddhesh@redhat.com>
12891 * resolv/nss_dns/dns-host.c (getanswer_r)
12892 [MULTI_PTRS_ARE_ALIASES]: Remove code.
12894 2014-07-01 Joseph Myers <joseph@codesourcery.com>
12896 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
12897 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PSELECT): Do not
12899 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PREADV): Likewise.
12900 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PWRITEV): Likewise.
12902 2014-07-01 Roland McGrath <roland@hack.frob.com>
12904 * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: New file.
12905 * sysdeps/unix/sysv/linux/microblaze/nptl/fork.c: File removed.
12907 * sysdeps/microblaze/nptl/tls.h: Define TLS_DEFINE_INIT_TP.
12908 * sysdeps/unix/sysv/linux/microblaze/nptl/createthread.c: File removed.
12910 * sysdeps/microblaze/nptl/bits/pthreadtypes.h: Moved ...
12911 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h:
12913 * sysdeps/microblaze/nptl/bits/semaphore.h: Moved ...
12914 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/semaphore.h: ... here.
12916 * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Moved ...
12917 * sysdeps/unix/sysv/linux/microblaze/nptl/pt-vfork.S: ... here.
12918 * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Moved ...
12919 * sysdeps/unix/sysv/linux/microblaze/vfork.S: ... here.
12921 * sysdeps/unix/sysv/linux/microblaze/c++-types.data: Moved ...
12922 * sysdeps/unix/sysv/linux/microblaze/nptl/c++-types.data: ... here.
12923 * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Moved ...
12924 * sysdeps/unix/sysv/linux/microblaze/nptl/ld.abilist: ... here.
12925 * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist:
12927 * sysdeps/unix/sysv/linux/microblaze/nptl/libBrokenLocale.abilist:
12929 * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Moved ...
12930 * sysdeps/unix/sysv/linux/microblaze/nptl/libanl.abilist: ... here.
12931 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Moved ...
12932 * sysdeps/unix/sysv/linux/microblaze/nptl/libc.abilist: ... here.
12933 * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Moved ...
12934 * sysdeps/unix/sysv/linux/microblaze/nptl/libcrypt.abilist: ... here.
12935 * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Moved ...
12936 * sysdeps/unix/sysv/linux/microblaze/nptl/libdl.abilist: ... here.
12937 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Moved ...
12938 * sysdeps/unix/sysv/linux/microblaze/nptl/libm.abilist: ... here.
12939 * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Moved ...
12940 * sysdeps/unix/sysv/linux/microblaze/nptl/libnsl.abilist: ... here.
12941 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Moved ...
12942 * sysdeps/unix/sysv/linux/microblaze/nptl/libpthread.abilist: ... here.
12943 * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Moved ...
12944 * sysdeps/unix/sysv/linux/microblaze/nptl/libresolv.abilist: ... here.
12945 * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Moved ...
12946 * sysdeps/unix/sysv/linux/microblaze/nptl/librt.abilist: ... here.
12947 * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Moved ...
12948 * sysdeps/unix/sysv/linux/microblaze/nptl/libthread_db.abilist:
12950 * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Moved ...
12951 * sysdeps/unix/sysv/linux/microblaze/nptl/libutil.abilist: ... here.
12952 * sysdeps/unix/sysv/linux/microblaze/localplt.data: Moved ...
12953 * sysdeps/unix/sysv/linux/microblaze/nptl/localplt.data: ... here.
12954 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Moved ...
12955 * sysdeps/unix/sysv/linux/microblaze/nptl/lowlevellock.h: ... here.
12956 * sysdeps/unix/sysv/linux/microblaze/nptl/pthread_once.c: Moved ...
12957 * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: ... here.
12959 2014-07-01 David Holsgrove <david.holsgrove@xilinx.com>
12961 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: New file.
12962 * sysdeps/unix/sysv/linux/microblaze/socket.S: Update SINGLE_THREAD_P use.
12963 * sysdeps/unix/sysv/linux/microblaze/Makefile(libpthread-routines):
12966 2014-06-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12968 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12970 2014-06-30 Joseph Myers <joseph@codesourcery.com>
12972 * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
12973 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
12975 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
12977 * sysdeps/arm/libm-test-ulps: Regenerated.
12979 2014-06-30 Maciej W. Rozycki <macro@codesourcery.com>
12980 Roland McGrath <roland@hack.frob.com>
12982 * test-skeleton.c (signal_handler): Kill the whole process group
12983 before killing the child individually.
12984 (main): Report any failure on `setpgid'.
12986 2014-06-30 Roland McGrath <roland@hack.frob.com>
12988 * sysdeps/arm/nptl/tls.h: Rename the multiple inclusion guard
12989 from _TLS_H to _ARM_NPTL_TLS_H.
12990 (TLS_INIT_TP): Move macro, and #include of <sysdep.h>, to ...
12991 * sysdeps/unix/sysv/linux/arm/tls.h: ... this new file.
12993 2014-06-30 Joseph Myers <joseph@codesourcery.com>
12996 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include <float.h>.
12997 (__expm1l): Return argument unchanged when small but not
13000 * soft-fp/op-1.h (_FP_UNPACK_RAW_1): Rename local variables to
13001 include macro name.
13002 (_FP_UNPACK_RAW_1_P): Likewise.
13003 (_FP_PACK_RAW_1): Likewise.
13004 (_FP_PACK_RAW_1_P): Likewise.
13005 (_FP_MUL_MEAT_1_wide): Likewise.
13006 (_FP_MUL_MEAT_DW_1_hard): Likewise.
13007 (_FP_MUL_MEAT_1_hard): Likewise.
13008 (_FP_DIV_MEAT_1_imm): Likewise.
13009 (_FP_DIV_MEAT_1_udiv_norm): Likewise.
13010 (_FP_DIV_MEAT_1_udiv): Likewise.
13011 * soft-fp/op-2.h (__FP_FRAC_DEC_2): Likewise.
13012 (_FP_UNPACK_RAW_2): Likewise.
13013 (_FP_UNPACK_RAW_2_P): Likewise.
13014 (_FP_PACK_RAW_2): Likewise.
13015 (_FP_PACK_RAW_2_P): Likewise.
13016 (_FP_MUL_MEAT_DW_2_wide): Likewise.
13017 (_FP_MUL_MEAT_2_wide): Likewise.
13018 (_FP_MUL_MEAT_DW_2_wide_3mul): Likewise.
13019 (_FP_MUL_MEAT_2_wide_3mul): Likewise.
13020 (_FP_MUL_MEAT_DW_2_gmp): Likewise.
13021 (_FP_MUL_MEAT_2_gmp): Likewise.
13022 (_FP_DIV_MEAT_2_udiv): Likewise.
13023 * soft-fp/op-4.h (_FP_FRAC_SLL_4): Likewise.
13024 (_FP_FRAC_SRL_4): Likewise.
13025 (_FP_FRAC_SRST_4): Likewise.
13026 (_FP_FRAC_SRS_4): Likewise.
13027 (_FP_UNPACK_RAW_4): Likewise.
13028 (_FP_UNPACK_RAW_4_P): Likewise.
13029 (_FP_PACK_RAW_4): Likewise.
13030 (_FP_PACK_RAW_4_P): Likewise.
13031 (_FP_MUL_MEAT_DW_4_wide): Likewise.
13032 (_FP_MUL_MEAT_4_wide): Likewise.
13033 (_FP_MUL_MEAT_4_gmp): Likewise.
13034 (umul_ppppmnnn): Likewise.
13035 (_FP_DIV_MEAT_4_udiv): Likewise.
13036 (__FP_FRAC_ADD_4): Likewise.
13037 (__FP_FRAC_SUB_3): Likewise.
13038 (__FP_FRAC_SUB_4): Likewise.
13039 (__FP_FRAC_DEC_3): Likewise.
13040 (__FP_FRAC_DEC_4): Likewise.
13041 (__FP_FRAC_ADDI_4): Likewise.
13042 * soft-fp/op-8.h (_FP_FRAC_SLL_8): Likewise.
13043 (_FP_FRAC_SRL_8): Likewise.
13044 (_FP_FRAC_SRS_8): Likewise.
13046 * soft-fp/extended.h (FP_UNPACK_RAW_E): Rename local variables to
13047 include macro name.
13048 (FP_UNPACK_RAW_EP): Likewise.
13049 (FP_PACK_RAW_E): Likewise.
13050 (FP_PACK_RAW_EP): Likewise.
13051 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Likewise.
13052 (_FP_ISSIGNAN): Likewise.
13053 (_FP_ADD_INTERNAL): Likewise.
13054 (_FP_FMA): Likewise.
13055 (_FP_CMP): Likewise.
13056 (_FP_SQRT): Likewise.
13057 (_FP_TO_INT): Likewise.
13058 (_FP_FROM_INT): Likewise.
13059 (FP_EXTEND): Likewise.
13060 (_FP_DIV_MEAT_N_loop): Likewise.
13062 2014-06-30 Maciej W. Rozycki <macro@codesourcery.com>
13064 * sysdeps/unix/sysv/linux/bits/socket.h: Adjust macro formatting
13067 2014-06-29 Joseph Myers <joseph@codesourcery.com>
13070 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Return
13071 result with correct sign in case of exponents that produce
13072 overflow except for X very close to 1.
13074 2014-06-28 Paul Eggert <eggert@cs.ucla.edu>
13076 mktime: merge #if/#ifdef usage from glibc
13077 * lib/mktime.c: Use "#if defined DEBUG && DEBUG", not "#if DEBUG",
13078 as that works with both Glibc's and Gnulib's style.
13079 See thread starting at Siddhesh Poyarekar's bug report at:
13080 http://lists.gnu.org/archive/html/bug-gnulib/2014-06/msg00102.html
13082 2014-06-28 Siddhesh Poyarekar <siddhesh@redhat.com>
13084 * sysdeps/generic/memcopy.h: Define MEMCPY_OK_FOR_FWD_MEMMOVE.
13085 * sysdeps/tile/memcopy.h: Redefine MEMCPY_OK_FOR_FWD_MEMMOVE.
13086 * sysdeps/tile/tilegx/memmove.c: Remove file.
13088 2014-06-27 Joseph Myers <joseph@codesourcery.com>
13090 * Makeconfig ($(common-objpfx)soversions.mk): Do not generate
13091 abi-name definition.
13092 * scripts/soversions.awk: Do not handle or generate ABI lines.
13093 * shlib-versions: Remove ABI entries.
13094 * sysdeps/powerpc/nofpu/shlib-versions: Remove file.
13095 * sysdeps/x86_64/x32/shlib-versions: Remove ABI entry.
13097 2014-06-27 Roland McGrath <roland@hack.frob.com>
13099 * sysdeps/unix/sysv/linux/mips/mips32/nptl/c++-types.data: Moved ...
13100 * sysdeps/unix/sysv/linux/mips/mips32/c++-types.data: ... here.
13101 * sysdeps/unix/sysv/linux/mips/mips32/fpu/nptl/libc.abilist: Moved ...
13102 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: ... here.
13103 * sysdeps/unix/sysv/linux/mips/mips32/nptl/ld.abilist: Moved ...
13104 * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: ... here.
13105 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libBrokenLocale.abilist:
13107 * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
13109 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libanl.abilist: Moved ...
13110 * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: ... here.
13111 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcidn.abilist: Moved ...
13112 * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: ... here.
13113 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcrypt.abilist: Moved ...
13114 * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: ... here.
13115 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libdl.abilist: Moved ...
13116 * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: ... here.
13117 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libm.abilist: Moved ...
13118 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: ... here.
13119 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnsl.abilist: Moved ...
13120 * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: ... here.
13121 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_compat.abilist:
13123 * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: ... here.
13124 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_db.abilist: Moved ...
13125 * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: ... here.
13126 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_dns.abilist: Moved ...
13127 * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: ... here.
13128 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_files.abilist:
13130 * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: ... here.
13131 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_hesiod.abilist:
13133 * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: ... here.
13134 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nis.abilist: Moved ...
13135 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: ... here.
13136 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nisplus.abilist:
13138 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: ... here.
13139 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libpthread.abilist: Moved ...
13140 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: ... here.
13141 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libresolv.abilist: Moved ...
13142 * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: ... here.
13143 * sysdeps/unix/sysv/linux/mips/mips32/nptl/librt.abilist: Moved ...
13144 * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: ... here.
13145 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libthread_db.abilist:
13147 * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: ... here.
13148 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libutil.abilist: Moved ...
13149 * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: ... here.
13150 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/nptl/libc.abilist:
13152 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: ... here.
13153 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/c++-types.data:
13155 * sysdeps/unix/sysv/linux/mips/mips64/n32/c++-types.data: ... here.
13156 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/ld.abilist: Moved ...
13157 * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: ... here.
13158 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libBrokenLocale.abilist:
13160 * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
13162 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libBrokenLocale.abilist:
13163 Identical file removed.
13164 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libanl.abilist:
13166 * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: ... here.
13167 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libanl.abilist:
13168 Identical file removed.
13169 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libc.abilist: Moved ...
13170 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: ... here.
13171 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libcrypt.abilist:
13173 * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: ... here.
13174 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libcrypt.abilist:
13175 Identical file removed.
13176 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libdl.abilist: Moved ...
13177 * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: ... here.
13178 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libdl.abilist:
13179 Identical file removed.
13180 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libm.abilist: Moved ...
13181 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: ... here.
13182 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libm.abilist:
13183 Identical file removed.
13184 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libnsl.abilist: Moved ...
13185 * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: ... here.
13186 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libnsl.abilist:
13187 Identical file removed.
13188 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libpthread.abilist:
13190 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: ... here.
13191 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libpthread.abilist:
13192 Identical file removed.
13193 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libresolv.abilist:
13195 * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: ... here.
13196 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/librt.abilist: Moved ...
13197 * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: ... here.
13198 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/librt.abilist:
13199 Identical file removed.
13200 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libthread_db.abilist:
13202 * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist:
13204 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libthread_db.abilist:
13205 Identical file removed.
13206 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libutil.abilist:
13208 * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: ... here.
13209 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libutil.abilist:
13210 Identical file removed.
13211 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/c++-types.data:
13213 * sysdeps/unix/sysv/linux/mips/mips64/n64/c++-types.data: ... here.
13214 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/ld.abilist: Moved ...
13215 * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: ... here.
13216 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libc.abilist: Moved ...
13217 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: ... here.
13218 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libresolv.abilist:
13220 * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: ... here.
13221 * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h: Moved ...
13222 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: ... here.
13224 * sysdeps/unix/sysv/linux/mips/vfork.S: Incorporate
13225 SAVE_PID and RESTORE_PID blocks from nptl/pt-vfork.S.
13226 * sysdeps/unix/sysv/linux/mips/nptl/vfork.S: File removed.
13227 * sysdeps/unix/sysv/linux/mips/nptl/pt-vfork.S: File removed.
13228 * sysdeps/unix/sysv/linux/mips/pt-vfork.S: New file.
13230 2014-06-27 Arjun Shankar <arjun.is@lostca.se>
13233 * nscd/nscd.c (monitor_child): Return exit status of child
13234 instead of return value from wait syscall.
13236 2014-06-27 Joseph Myers <joseph@codesourcery.com>
13238 * configure.ac (libc_commonpagesize): Remove variable.
13239 (libc_relro_required): Likewise.
13240 (libc_cv_z_relro): Remove configure test.
13241 * configure: Regenerated.
13242 * sysdeps/aarch64/preconfigure (libc_commonpagesize): Do not set
13244 (libc_relro_required): Likewise.
13245 * sysdeps/alpha/preconfigure (libc_commonpagesize): Likewise.
13246 (libc_relro_required): Likewise.
13247 * sysdeps/arm/preconfigure.ac (libc_commonpagesize): Likewise.
13248 (libc_relro_required): Likewise.
13249 * sysdeps/arm/preconfigure: Regenerated.
13250 * sysdeps/ia64/preconfigure: Remove file.
13251 * sysdeps/tile/preconfigure (libc_commonpagesize): Do not set
13253 (libc_relro_required): Likewise.
13257 * sysdeps/ieee754/dbl-64/e_jn.c: Include <float.h>.
13258 (__ieee754_yn): Set FE_TONEAREST mode internally and then
13259 recompute overflowing results in original rounding mode.
13260 * sysdeps/ieee754/flt-32/e_jnf.c: Include <float.h>.
13261 (__ieee754_ynf): Set FE_TONEAREST mode internally and then
13262 recompute overflowing results in original rounding mode.
13263 * sysdeps/ieee754/ldbl-128/e_jnl.c: Include <float.h>.
13264 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
13265 recompute overflowing results in original rounding mode.
13266 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Include <float.h>.
13267 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
13268 recompute overflowing results in original rounding mode.
13269 * sysdeps/ieee754/ldbl-96/e_jnl.c: Include <float.h>.
13270 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
13271 recompute overflowing results in original rounding mode.
13272 * sysdeps/i386/fpu/fenv_private.h [!__SSE2_MATH__]
13273 (libc_feholdsetround_ctx): New macro.
13274 * math/libm-test.inc (yn_test): Use ALL_RM_TEST.
13275 * sysdeps/i386/fpu/libm-test-ulps: Update.
13276 * sysdeps/x86_64/fpu/libm-test-ulps : Likewise.
13278 2014-06-26 Joseph Myers <joseph@codesourcery.com>
13280 * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h
13281 [__PIC__] (PSEUDO): Use name of _nocancel entry point in
13282 corresponding .cpsetup call.
13284 2014-06-26 Roland McGrath <roland@hack.frob.com>
13286 * sysdeps/unix/sysv/linux/arm/libc-aeabi_read_tp.S: Moved ...
13287 * sysdeps/arm/libc-aeabi_read_tp.S: ... here.
13288 * sysdeps/arm/Makefile [$(subdir) = csu]
13289 (aeabi_routines): Add aeabi_read_tp and libc-aeabi_read_tp here.
13290 (static-only-routines): Add aeabi_read_tp here.
13291 (shared-only-routines): Add libc-aeabi_read_tp here.
13292 (CFLAGS-libc-start.c): Add -fexceptions here.
13293 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = csu]
13294 (sysdep_routines, static-only-routines, shared-only-routines):
13295 Don't add to these here.
13296 (CFLAGS-libc-start.c): Likewise.
13298 * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: Moved ...
13299 * sysdeps/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
13300 * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: Moved ...
13301 * sysdeps/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
13302 * sysdeps/arm/Makefile [$(subdir) = rt]
13303 (librt-sysdep_routines, librt-shared-only-routines):
13304 Append rt-aeabi_unwind_cpp_pr1 here.
13305 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = rt]
13306 (librt-sysdep_routines, librt-shared-only-routines): Don't do it here.
13307 * sysdeps/arm/nptl/Makefile [$(subdir) = nptl]
13308 (libpthread-sysdep_routines, libpthread-shared-only-routines):
13309 Append nptl-aeabi_unwind_cpp_pr1 here.
13310 (tests): Filter out tst-cleanupx4 here.
13311 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = nptl]
13312 (libpthread-sysdep_routines, libpthread-shared-only-routines, tests):
13313 Don't do those here.
13315 2014-06-26 Joseph Myers <joseph@codesourcery.com>
13317 * scripts/list-sources.sh: Do not handle ports specially.
13319 2014-06-26 Roland McGrath <roland@hack.frob.com>
13321 * sysdeps/arm/fesetenv.c: Include <fpu_control.h>.
13322 * sysdeps/arm/feupdateenv.c: Likewise.
13324 * posix/spawn_faction_addopen.c: Include <stdlib.h> for free decl.
13326 2014-06-26 Joseph Myers <joseph@codesourcery.com>
13328 * manual/texinfo.tex: Update to version 2014-05-05.10 with
13329 trailing whitespace removed.
13330 * scripts/config.guess: Update to version 2014-03-23.
13331 * scripts/config.sub: Update to version 2014-05-01
13332 * scripts/install-sh: Update to version 2013-12-25.23.
13333 * scripts/move-if-change: Update from gnulib.
13335 2014-06-26 Siddhesh Poyarekar <siddhesh@redhat.com>
13337 * debug/memmove_chk.c: Remove pagecopy.h include.
13339 2014-06-26 Paul Eggert <eggert@cs.ucla.edu>
13341 * time/mktime.c (leapyear): Remove inline keyword. The code is now
13342 identical to gnulib mktime.
13344 2014-06-26 Joseph Myers <joseph@codesourcery.com>
13346 * configure.ac: Do not test for machine being rs6000. Do not test
13347 for powerpc*-*soft.
13348 * configure: Regenerated.
13351 * configure.ac (libc_cv_asm_cfi_directives): Remove configure
13353 * configure: Regenerated.
13354 * config.h.in (HAVE_ASM_CFI_DIRECTIVES): Remove macro undefine.
13355 * sysdeps/arm/configure.ac (libc_cv_asm_cfi_directive_sections):
13356 Remove configure test.
13357 * sysdeps/arm/configure: Regenerated.
13358 * sysdeps/nptl/configure.ac: Do not check
13359 libc_cv_asm_cfi_directives.
13360 * sysdeps/nptl/configure: Regenerated.
13361 * sysdeps/x86_64/nptl/configure.ac: Remove file.
13362 * sysdeps/x86_64/nptl/configure: Remove generated file.
13363 * b/sysdeps/generic/sysdep.h [HAVE_ASM_CFI_DIRECTIVES]: Make code
13365 [!HAVE_ASM_CFI_DIRECTIVES]: Remove conditional code.
13367 2014-06-26 Siddhesh Poyarekar <siddhesh@redhat.com>
13369 * posix/fnmatch.c: Define WIDE_CHAR_VERSION.
13370 * posix/fnmatch_loop.c: Undefine WIDE_CHAR_VERSION.
13371 (FCT): Check value of WIDE_CHAR_VERSION instead of checking if
13374 * elf/dl-runtime.c: Check for value of ELF_MACHINE_NO_RELA
13375 instead of whether it is defined.
13376 * sysdeps/aarch64/dl-machine.h: Define ELF_MACHINE_NO_RELA.
13377 * sysdeps/hppa/dl-machine.h: Likewise.
13378 * sysdeps/ia64/dl-machine.h: Likewise.
13379 * sysdeps/m68k/dl-machine.h: Likewise.
13380 * sysdeps/microblaze/dl-machine.h: Likewise.
13381 * sysdeps/mips/dl-machine.: Likewise.
13382 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
13383 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
13384 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
13385 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
13386 * sysdeps/sh/dl-machine.h: Likewise.
13387 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
13388 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
13389 * sysdeps/tile/dl-machine.h: Likewise.
13390 * sysdeps/x86_64/dl-machine.h: Likewise.
13392 * nscd/connections.c (enum usekey) [SEPARATE_KEY]: Remove
13394 (verify_persistent_db): Likewise.
13396 2014-06-26 Roland McGrath <roland@hack.frob.com>
13398 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data: Moved ...
13399 * sysdeps/unix/sysv/linux/s390/s390-32/c++-types.data: ... here.
13400 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Moved ...
13401 * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: ... here.
13402 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
13404 * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
13406 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: Moved ...
13407 * sysdeps/unix/sysv/linux/s390/libanl.abilist: ... here.
13408 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist:
13409 Identical file removed.
13410 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Moved ...
13411 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: ... here.
13412 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: Moved ...
13413 * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: ... here.
13414 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: Moved ...
13415 * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: ... here.
13416 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Moved ...
13417 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: ... here.
13418 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: Moved ...
13419 * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: ... here.
13420 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
13422 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: ... here.
13423 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: Moved ...
13424 * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: ... here.
13425 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Moved ...
13426 * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: ... here.
13427 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
13429 * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: ... here.
13430 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Moved ...
13431 * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: ... here.
13432 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data: Moved ...
13433 * sysdeps/unix/sysv/linux/s390/localplt.data: ... here.
13434 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
13435 Identical file removed.
13436 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data: Moved ...
13437 * sysdeps/unix/sysv/linux/s390/s390-64/c++-types.data: ... here.
13438 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Moved ...
13439 * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: ... here.
13440 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
13442 * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
13444 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Moved ...
13445 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: ... here.
13446 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: Moved ...
13447 * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: ... here.
13448 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: Moved ...
13449 * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: ... here.
13450 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Moved ...
13451 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: ... here.
13452 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: Moved ...
13453 * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: ... here.
13454 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
13456 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: ... here.
13457 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist:
13459 * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: ... here.
13460 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: Moved ...
13461 * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: ... here.
13462 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
13464 * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: ... here.
13465 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: Moved ...
13466 * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: ... here.
13468 * nptl/sysdeps/unix/sysv/linux/s390/Makefile: File removed, contents
13470 * sysdeps/unix/sysv/linux/s390/Makefile [$(subdir) = nptl]: ... here.
13471 * sysdeps/unix/sysv/linux/s390/Versions
13472 (libpthread: GLIBC_2.19): New version set.
13473 * nptl/sysdeps/unix/sysv/linux/s390/Versions: File removed.
13474 * sysdeps/unix/sysv/linux/s390/s390-64/Versions
13475 (librt: GLIBC_2.3.3): New version set.
13476 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/Versions: File removed.
13477 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: Moved ...
13478 * sysdeps/unix/sysv/linux/s390/elision-conf.c: ... here.
13479 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Moved ...
13480 * sysdeps/unix/sysv/linux/s390/elision-conf.h: ... here.
13481 * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Moved ...
13482 * sysdeps/unix/sysv/linux/s390/elision-lock.c: ... here.
13483 * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Moved ...
13484 * sysdeps/unix/sysv/linux/s390/elision-timed.c: ... here.
13485 * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Moved ...
13486 * sysdeps/unix/sysv/linux/s390/elision-trylock.c: ... here.
13487 * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Moved ...
13488 * sysdeps/unix/sysv/linux/s390/elision-unlock.c: ... here.
13489 * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Moved ...
13490 * sysdeps/unix/sysv/linux/s390/force-elision.h: ... here.
13491 * nptl/sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Moved ...
13492 * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: ... here.
13493 * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h: Moved ...
13494 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: ... here.
13495 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Moved ...
13496 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: ... here.
13497 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: Moved ...
13498 * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: ... here.
13499 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: Moved ...
13500 * sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: ... here.
13501 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: Moved ...
13502 * sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: ... here.
13503 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: Moved ...
13504 * sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: ... here.
13505 * nptl/sysdeps/unix/sysv/linux/s390/pthread_once.c: Moved ...
13506 * sysdeps/unix/sysv/linux/s390/pthread_once.c: ... here.
13507 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Moved ...
13508 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: ... here.
13509 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Moved ...
13510 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: ... here.
13511 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Moved ...
13512 * sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: ... here.
13513 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Moved ...
13514 * sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: ... here.
13515 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Moved ...
13516 * sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: ... here.
13517 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Moved ...
13518 * sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: ... here.
13519 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Moved ...
13520 * sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: ... here.
13522 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Moved ...
13523 * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: ... here.
13524 (__libc_vfork): Define the function under this name.
13525 [!NOT_IN_libc] (__vfork): Make this an alias.
13526 [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
13527 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Moved ...
13528 * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: ... here.
13529 (__libc_vfork): Define the function under this name.
13530 [!NOT_IN_libc] (__vfork): Make this an alias.
13531 [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
13532 * sysdeps/unix/sysv/linux/s390/pt-vfork.S: New file.
13533 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: File removed.
13534 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: File removed.
13535 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Remove vfork.
13536 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
13538 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Deconditionalize the
13539 code that was previously under [RESET_PID].
13540 * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
13541 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/clone.S: File removed.
13542 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/clone.S: File removed.
13544 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h: Moved ...
13545 * sysdeps/aarch64/nptl/bits/pthreadtypes.h: ... here.
13546 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/semaphore.h: Moved ...
13547 * sysdeps/aarch64/nptl/bits/semaphore.h: ... here.
13548 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/local_lim.h: Moved ...
13549 * sysdeps/unix/sysv/linux/aarch64/bits/local_lim.h: ... here.
13550 * sysdeps/unix/sysv/linux/aarch64/nptl/c++-types.data: Moved ...
13551 * sysdeps/unix/sysv/linux/aarch64/c++-types.data: ... here.
13552 * sysdeps/unix/sysv/linux/aarch64/nptl/ld.abilist: Moved ...
13553 * sysdeps/unix/sysv/linux/aarch64/ld.abilist: ... here.
13554 * sysdeps/unix/sysv/linux/aarch64/nptl/libBrokenLocale.abilist:
13556 * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: ... here.
13557 * sysdeps/unix/sysv/linux/aarch64/nptl/libanl.abilist: Moved ...
13558 * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: ... here.
13559 * sysdeps/unix/sysv/linux/aarch64/nptl/libc.abilist: Moved ...
13560 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: ... here.
13561 * sysdeps/unix/sysv/linux/aarch64/nptl/libcrypt.abilist: Moved ...
13562 * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: ... here.
13563 * sysdeps/unix/sysv/linux/aarch64/nptl/libdl.abilist: Moved ...
13564 * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: ... here.
13565 * sysdeps/unix/sysv/linux/aarch64/nptl/libm.abilist: Moved ...
13566 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: ... here.
13567 * sysdeps/unix/sysv/linux/aarch64/nptl/libnsl.abilist: Moved ...
13568 * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: ... here.
13569 * sysdeps/unix/sysv/linux/aarch64/nptl/libpthread.abilist: Moved ...
13570 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: ... here.
13571 * sysdeps/unix/sysv/linux/aarch64/nptl/libresolv.abilist: Moved ...
13572 * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: ... here.
13573 * sysdeps/unix/sysv/linux/aarch64/nptl/librt.abilist: Moved ...
13574 * sysdeps/unix/sysv/linux/aarch64/librt.abilist: ... here.
13575 * sysdeps/unix/sysv/linux/aarch64/nptl/libthread_db.abilist: Moved ...
13576 * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: ... here.
13577 * sysdeps/unix/sysv/linux/aarch64/nptl/libutil.abilist: Moved ...
13578 * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: ... here.
13579 * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data: Moved ...
13580 * sysdeps/unix/sysv/linux/aarch64/localplt.data: ... here.
13581 * sysdeps/unix/sysv/linux/aarch64/nptl/lowlevellock.h: Moved ...
13582 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: ... here.
13583 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Moved ...
13584 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: ... here.
13586 2014-06-25 Roland McGrath <roland@hack.frob.com>
13588 * sysdeps/unix/sysv/linux/mips/clone.S: Deconditionalize the code
13589 that was previously under [RESET_PID].
13590 * sysdeps/unix/sysv/linux/mips/nptl/clone.S: File removed.
13592 2014-06-25 Joseph Myers <joseph@codesourcery.com>
13594 * sysdeps/unix/sysv/linux/dl-opendir.c (__ASSUME_O_CLOEXEC): Do
13595 not undefine and redefine.
13596 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs)
13597 [O_CLOEXEC]: Make code unconditional.
13598 (__get_nprocs) [!O_CLOEXEC]: Remove conditional code.
13599 * sysdeps/unix/sysv/linux/shm_open.c: Do not include
13600 <kernel-features.h>.
13601 [O_CLOEXEC && !__ASSUME_O_CLOEXEC] (have_o_cloexec): Remove
13602 conditional variable definition.
13603 (shm_open) [O_CLOEXEC]: Make code unconditional.
13604 (shm_open) [!O_CLOEXEC || !__ASSUME_O_CLOEXEC]: Remove conditional
13607 * configure.ac (USE_REGPARMS): Don't define here.
13608 * configure: Regenerated.
13609 * sysdeps/i386/configure.ac (USE_REGPARMS): Define here.
13610 * sysdeps/i386/configure: Regenerated.
13612 * nptl/createthread.c: Don't include kernel-features.h.
13613 * nptl/pthread_cancel.c: Likewise.
13614 * nptl/pthread_condattr_setclock.c: Likewise.
13615 * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Likewise.
13616 * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Likewise.
13617 * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Likewise.
13618 * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Likewise.
13619 * nptl/sysdeps/unix/sysv/linux/raise.c: Likewise.
13620 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: Likewise.
13621 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
13622 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: Likewise.
13623 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
13624 * nptl/sysdeps/unix/sysv/linux/timer_create.c: Likewise.
13625 * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Likewise.
13626 * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Likewise.
13627 * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Likewise.
13628 * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Likewise.
13629 * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Likewise.
13630 * nscd/gai.c: Likewise.
13631 * nss/nss_db/db-open.c: Likewise.
13632 * sysdeps/generic/ldsodefs.h: Likewise.
13633 * sysdeps/sh/nptl/tls.h: Likewise.
13634 * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
13635 * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h: Likewise.
13636 * sysdeps/unix/sysv/linux/aarch64/vfork.S: Likewise.
13637 * sysdeps/unix/sysv/linux/adjtime.c: Likewise.
13638 * sysdeps/unix/sysv/linux/alpha/xstatconv.h: Likewise.
13639 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
13640 * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
13641 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
13642 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
13643 * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
13644 * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
13645 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
13646 * sysdeps/unix/sysv/linux/clock_settime.c: Likewise.
13647 * sysdeps/unix/sysv/linux/dl-execstack.c: Likewise.
13648 * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
13649 * sysdeps/unix/sysv/linux/dl-sysdep.c: Likewise.
13650 * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
13651 * sysdeps/unix/sysv/linux/generic/poll.c: Likewise.
13652 * sysdeps/unix/sysv/linux/generic/wordsize-32/fcntl.c: Likewise.
13653 * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
13654 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
13655 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
13656 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Likewise.
13657 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
13658 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
13659 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
13660 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Likewise.
13661 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
13662 * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
13663 * sysdeps/unix/sysv/linux/getpagesize.c: Likewise.
13664 * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
13665 * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
13666 * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
13667 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
13668 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
13669 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
13670 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
13671 * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
13672 * sysdeps/unix/sysv/linux/ia64/system.c: Likewise.
13673 * sysdeps/unix/sysv/linux/if_index.c: Likewise.
13674 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
13675 * sysdeps/unix/sysv/linux/ifreq.c: Likewise.
13676 * sysdeps/unix/sysv/linux/ldsodefs.h: Likewise.
13677 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
13678 * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
13679 * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Likewise.
13680 * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Likewise.
13681 * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
13682 * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
13683 * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
13684 * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
13685 * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
13686 * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
13687 * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
13688 * sysdeps/unix/sysv/linux/mmap64.c: Likewise.
13689 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
13690 * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
13691 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Likewise.
13692 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
13693 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c: Likewise.
13694 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c: Likewise.
13695 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Likewise.
13696 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise.
13697 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
13698 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
13699 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
13700 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
13701 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
13702 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
13703 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c: Likewise.
13704 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c: Likewise.
13705 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise.
13706 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
13707 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
13708 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
13709 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
13710 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
13711 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise.
13712 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
13713 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
13714 * sysdeps/unix/sysv/linux/pread.c: Likewise.
13715 * sysdeps/unix/sysv/linux/pread64.c: Likewise.
13716 * sysdeps/unix/sysv/linux/prof-freq.c: Likewise.
13717 * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
13718 * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
13719 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
13720 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
13721 * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
13722 * sysdeps/unix/sysv/linux/sh/pread.c: Likewise.
13723 * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
13724 * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
13725 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
13726 * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
13727 * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
13728 * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
13729 * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
13730 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
13731 * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
13732 * sysdeps/unix/sysv/linux/syslog.c: Likewise.
13733 * sysdeps/unix/sysv/linux/system.c: Likewise.
13734 * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
13735 * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
13736 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
13737 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
13738 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
13739 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
13740 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
13742 * configure.ac (libc_cv_c_asmcr0_bug): Remove configure test.
13743 * configure: Regenerated.
13744 * config.h.in (BROKEN_PPC_ASM_CR0): Remove macro.
13746 * configure.ac (base_machine): Do not set specially for particular
13748 * configure: Regenerated.
13749 * sysdeps/powerpc/preconfigure: Move machine and base_machine
13750 settings from configure.ac.
13751 * sysdeps/i386/preconfigure: New file.
13752 * sysdeps/s390/preconfigure: Likewise.
13753 * sysdeps/sh/preconfigure: Likewise.
13754 * sysdeps/sparc/preconfigure: Likewise.
13756 2014-06-25 Roland McGrath <roland@hack.frob.com>
13758 * sysdeps/sparc/sparc64/nptl/cpu_relax.S: Moved ...
13759 * sysdeps/sparc/sparc64/cpu_relax.S: ... here.
13760 * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: Moved ...
13761 * sysdeps/sparc/sparc64/pthread_spin_init.c: ... here.
13762 * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: Moved ...
13763 * sysdeps/sparc/sparc64/pthread_spin_lock.S: ... here.
13764 * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: Moved ...
13765 * sysdeps/sparc/sparc64/pthread_spin_trylock.S: ... here.
13766 * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: Moved ...
13767 * sysdeps/sparc/sparc64/pthread_spin_unlock.S: ... here.
13768 * sysdeps/sparc/sparc64/nptl/pthreaddef.h: Moved ...
13769 * sysdeps/sparc/sparc64/pthreaddef.h: ... here.
13770 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Update #include.
13771 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Likewise.
13772 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Likewise.
13773 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Likewise.
13774 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Likewise.
13775 * sysdeps/sparc/sparc64/nptl/Makefile: File removed, its contents ...
13776 * sysdeps/sparc/sparc64/Makefile: ... appended here.
13778 * sysdeps/sparc/sparc32/nptl/lowlevellock.c: Moved ...
13779 * sysdeps/sparc/sparc32/lowlevellock.c: ... here.
13780 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Moved ...
13781 * sysdeps/sparc/sparc32/pthread_barrier_wait.c: ... here.
13782 * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: Moved ...
13783 * sysdeps/sparc/sparc32/pthread_spin_lock.S: ... here.
13784 * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: Moved ...
13785 * sysdeps/sparc/sparc32/pthread_spin_trylock.S: ... here.
13786 * sysdeps/sparc/sparc32/nptl/pthreaddef.h: Moved ...
13787 * sysdeps/sparc/sparc32/pthreaddef.h: ... here.
13788 * sysdeps/sparc/sparc32/nptl/sem_post.c: Moved ...
13789 * sysdeps/sparc/sparc32/sem_post.c: ... here.
13790 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Moved ...
13791 * sysdeps/sparc/sparc32/sem_timedwait.c: ... here.
13792 * sysdeps/sparc/sparc32/nptl/sem_trywait.c: Moved ...
13793 * sysdeps/sparc/sparc32/sem_trywait.c: ... here.
13794 * sysdeps/sparc/sparc32/nptl/sem_wait.c: Moved ...
13795 * sysdeps/sparc/sparc32/sem_wait.c: ... here.
13796 * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: Moved ...
13797 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: ... here.
13798 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: Moved ...
13799 * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: ... here.
13800 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: Moved ...
13801 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: ... here.
13802 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: Moved ...
13803 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: ... here.
13804 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: Moved ...
13805 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: ... here.
13806 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Moved ...
13807 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: ... here.
13808 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: Moved ...
13809 * sysdeps/sparc/sparc32/sparcv9/sem_post.c: ... here.
13810 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: Moved ...
13811 * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: ... here.
13812 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: Moved ...
13813 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: ... here.
13814 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: Moved ...
13815 * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: ... here.
13817 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data: Moved ...
13818 * sysdeps/unix/sysv/linux/sparc/sparc32/c++-types.data: ... here.
13819 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: Moved ...
13820 * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: ... here.
13821 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
13823 * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
13825 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: Moved ...
13826 * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: ... here.
13827 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Moved ...
13828 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: ... here.
13829 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist:
13831 * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: ... here.
13832 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: Moved ...
13833 * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: ... here.
13834 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: Moved ...
13835 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: ... here.
13836 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: Moved ...
13837 * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: ... here.
13838 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
13840 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: ... here.
13841 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
13843 * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: ... here.
13844 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: Moved ...
13845 * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: ... here.
13846 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
13848 * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: ... here.
13849 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: Moved ...
13850 * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: ... here.
13851 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data: Moved ...
13852 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: ... here.
13853 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data: Moved ...
13854 * sysdeps/unix/sysv/linux/sparc/sparc64/c++-types.data: ... here.
13855 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: Moved ...
13856 * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: ... here.
13857 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
13859 * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
13861 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: Moved ...
13862 * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: ... here.
13863 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Moved ...
13864 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: ... here.
13865 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist:
13867 * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: ... here.
13868 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: Moved ...
13869 * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: ... here.
13870 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: Moved ...
13871 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: ... here.
13872 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: Moved ...
13873 * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: ... here.
13874 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
13876 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: ... here.
13877 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
13879 * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: ... here.
13880 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: Moved ...
13881 * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: ... here.
13882 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
13884 * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: ... here.
13885 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: Moved ...
13886 * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: ... here.
13887 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data: Moved ...
13888 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: ... here.
13890 2014-06-25 Joseph Myers <joseph@codesourcery.com>
13892 * timezone/checktab.awk: Update from tzcode 2014e.
13893 * timezone/private.h: Likewise.
13894 * timezone/tzfile.h: Likewise.
13895 * timezone/zdump.c: Likewise.
13896 * timezone/zic.c: Likewise.
13898 * sysdeps/unix/sysv/linux/kernel-features.h
13899 (__ASSUME_XFS_RESTRICTED_CHOWN): Remove macro.
13900 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_chown_restricted)
13901 [__ASSUME_XFS_RESTRICTED_CHOWN]: Make code unconditional.
13902 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
13903 Remove conditional code.
13905 2014-06-25 Will Newton <will.newton@linaro.org>
13907 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
13908 (_dl_arm_cap_flags): Add HWCAP2 values.
13909 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h
13910 (_DL_HWCAP_COUNT): Increase to 37.
13911 (_DL_HWCAP_LAST): New define.
13912 (_DL_HWCAP2_LAST): New define.
13913 (_dl_procinfo): Add support for printing
13915 (_dl_string_hwcap): Use _dl_hwcap_string.
13917 2014-06-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13919 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13921 2014-06-25 Joseph Myers <joseph@codesourcery.com>
13923 * README: Do not mention ports directory.
13925 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMENSAT):
13927 * sysdeps/unix/sysv/linux/futimes.c: Do not include
13928 <kernel-features.h>.
13929 [__NR_utimensat && !__ASSUME_UTIMENSAT] (miss_utimensat): Remove
13930 conditional variable definition.
13931 (__futimes): Update comment.
13932 (__futimes) [__ASSUME_UTIMENSAT]: Make code unconditional.
13933 (__futimes) [!__ASSUME_UTIMENSAT]: Remove conditional code.
13936 * sysdeps/ieee754/dbl-64/e_exp10.c (__ieee754_exp10): Return 1 for
13937 arguments close to 0.
13938 * sysdeps/ieee754/ldbl-128/e_exp10l.c (__ieee754_exp10l):
13940 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (__ieee754_exp10l):
13942 * math/auto-libm-test-in: Add more tests of exp10.
13943 * math/auto-libm-test-out: Regenerated.
13944 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
13946 * sysdeps/unix/sysv/linux/kernel-features.h
13947 (__ASSUME_COMPLETE_READV_WRITEV): Remove macro.
13948 * sysdeps/unix/sysv/linux/readv.c: Do not include
13949 <kernel-features.h>.
13950 [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
13951 [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
13952 (__libc_readv) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
13954 (__libc_readv) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
13956 * sysdeps/unix/sysv/linux/writev.c: Do not include
13957 <kernel-features.h>.
13958 [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
13959 [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
13960 (__libc_writev) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
13962 (__libc_writev) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
13965 2014-06-25 Will Newton <will.newton@linaro.org>
13967 * sysdeps/posix/tempname.c: Merge from gnulib, cosmetic
13968 comment changes throughout the file. Remove checks
13969 for HAVE_*_H definitions that are not required.
13970 (__gen_tempname): Call abort if an unknown kind value is
13973 2014-06-25 Andreas Schwab <schwab@suse.de>
13976 * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Add compat symbols for
13977 scalbln, scalblnf, scalblnl in libc.
13979 2014-06-25 Siddhesh Poyarekar <siddhesh@redhat.com>
13982 * sysdeps/i386/fpu/s_scalbn.S: Add compat symbol for libc.so.
13983 * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
13984 * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
13986 2014-06-24 Roland McGrath <roland@hack.frob.com>
13988 * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: Moved ...
13989 * sysdeps/i386/i486/pthread_spin_trylock.S: ... here.
13990 * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: Moved ...
13991 * sysdeps/i386/i586/pthread_spin_trylock.S: ... here.
13993 * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: Moved ...
13994 * sysdeps/i386/i686/pthread_spin_trylock.S: ... here.
13996 * sysdeps/x86_64/64/nptl/shlib-versions: Moved ...
13997 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: ... here.
13998 * sysdeps/x86_64/x32/nptl/shlib-versions: Moved ...
13999 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: ... here.
14000 * sysdeps/x86/nptl/bits/pthreadtypes.h: Moved ...
14001 * sysdeps/x86/bits/pthreadtypes.h: ... here.
14002 * sysdeps/x86/nptl/bits/semaphore.h: Moved ...
14003 * sysdeps/x86/bits/semaphore.h: ... here.
14004 * sysdeps/x86/nptl/elide.h: Moved ...
14005 * sysdeps/x86/elide.h: ... here.
14006 * sysdeps/x86_64/nptl/Implies: File removed.
14007 * sysdeps/i386/nptl/Implies: File removed.
14009 2014-06-24 Joseph Myers <joseph@codesourcery.com>
14012 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Just
14013 return the argument for normal arguments with exponent below -64.
14014 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
14016 * math/auto-libm-test-in: Add another test of expm1.
14017 * math/auto-libm-test-out: Regenerated.
14020 * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Return 1 without
14021 calling __erfcl for arguments at least 16.
14022 * math/auto-libm-test-in: Add more tests of erf.
14023 * math/auto-libm-test-out: Regenerated.
14025 * sysdeps/unix/sysv/linux/configure.ac: Remove cases for
14026 individual architectures.
14027 * sysdeps/unix/sysv/linux/configure: Regenerated.
14028 * sysdeps/unix/sysv/linux/i386/configure.ac: New file.
14029 * sysdeps/unix/sysv/linux/i386/configure: New generated file.
14030 * sysdeps/unix/sysv/linux/powerpc/configure.ac
14031 (ldd_rewrite_script): Define variable.
14032 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
14033 * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure.ac: New
14035 * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure: New
14037 * sysdeps/unix/sysv/linux/s390/configure.ac: New file.
14038 * sysdeps/unix/sysv/linux/s390/configure: New generated file.
14039 * sysdeps/unix/sysv/linux/sh/configure.ac: New file.
14040 * sysdeps/unix/sysv/linux/sh/configure: New generated file.
14041 * sysdeps/unix/sysv/linux/sparc/configure.ac: New file.
14042 * sysdeps/unix/sysv/linux/sparc/configure: New generated file.
14043 * sysdeps/unix/sysv/linux/x86_64/configure.ac: New file.
14044 * sysdeps/unix/sysv/linux/x86_64/configure: New generated file.
14046 2014-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
14049 * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_mutex_t):
14050 Rename member __data.d to __data.__elision_data.
14052 2014-06-24 Wilco <wdijkstr@arm.com>
14054 * NEWS: Add 16918 to fixed bug list.
14056 2014-06-24 Wilco <wdijkstr@arm.com>
14058 * sysdeps/arm/fesetenv.c (fesetenv): Optimize implementation.
14060 2014-06-24 Wilco <wdijkstr@arm.com>
14062 * sysdeps/arm/fpu_control.h (_FPU_MASK_RM): Define.
14063 * sysdeps/arm/fenv_private.h (libc_fesetround_vfp)
14064 (libc_feholdexcept_setround_vfp) (libc_feholdsetround_vfp)
14065 (libc_feresetround_vfp) (libc_feholdsetround_vfp_ctx)
14066 (libc_feresetround_vfp_ctx): Use _FPU_MASK_RM.
14067 * sysdeps/arm/fesetround.c (fesetround): Use _FPU_MASK_RM.
14068 * sysdeps/arm/get-rounding-mode.h (get_rounding_mode):
14071 2014-06-24 Wilco <wdijkstr@arm.com>
14073 * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Remove unused include.
14075 2014-06-24 Wilco <wdijkstr@arm.com>
14077 * sysdeps/arm/feholdexcpt.c (feholdexcept): Remove space.
14078 * sysdeps/arm/fesetenv.c (fesetenv): Remove space.
14079 * sysdeps/arm/fesetround.c (fesetround): Remove space.
14080 * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Remove space.
14082 2014-06-24 Wilco <wdijkstr@arm.com>
14085 * sysdeps/arm/feupdateenv.c (feupdateenv):
14086 Rewrite to reduce FPSCR accesses and fix return value.
14088 2014-06-24 Wilco <wdijkstr@arm.com>
14090 * sysdeps/arm/fclrexcpt.c (feclearexcept):
14091 Optimize to avoid unnecessary FPSCR writes.
14092 * sysdeps/arm/fedisblxcpt.c (fedisableexcept): Likewise.
14093 * sysdeps/arm/feenablxcpt.c (feenableexcept): Likewise.
14094 * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Likewise.
14095 * sysdeps/arm/setfpucw.c (__setfpucw): Likewise.
14097 2014-06-24 Wilco <wdijkstr@arm.com>
14099 * sysdeps/arm/fegetround.c (fegetround): Call get_rounding_mode.
14100 * sysdeps/arm/feholdexcpt.c (feholdexcept): Call libc_feholdexcept_vfp.
14101 * sysdeps/arm/fesetround.c (fesetround): Call libc_fesetround_vfp.
14102 * sysdeps/arm/fgetexcptflg.c (fegetexceptflag):
14103 Call libc_fetestexcept_vfp.
14104 * sysdeps/arm/ftestexcept.c (fetestexcept): Call libc_fetestexcept_vfp.
14105 * sysdeps/arm/fenv_private.h: Move libc_*_vfp functions outside of
14106 __SOFTFP__ ifdef so that they can be built for softfp.
14108 2014-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
14110 * sysdeps/x86/nptl/elide.h (elision_adapt): Make first
14111 argument type signed char.
14113 * Makerules (check-abi): Dump diff of symlist if the test
14116 2014-06-23 Roland McGrath <roland@hack.frob.com>
14118 * sysdeps/generic/get-rounding-mode.h: Include <stdlib.h> before
14121 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
14122 Remove unused variable ST.
14124 2014-06-23 Joseph Myers <joseph@codesourcery.com>
14128 * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Check for
14129 small arguments before calling __expm1.
14130 * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Check for
14131 small arguments before calling __expm1f.
14132 * sysdeps/ieee754/ldbl-128/e_coshl.c (__ieee754_coshl): Check for
14133 small arguments before calling __expm1l.
14134 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
14136 * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
14137 * math/auto-libm-test-in: Add more cosh tests. Do not allow
14138 spurious underflow for some cosh tests.
14139 * math/auto-libm-test-out: Regenerated.
14140 * sysdeps/i386/fpu/libm-test-ulps: Update.
14143 * sysdeps/ieee754/dbl-64/e_j1.c: Include <errno.h>.
14144 (__ieee754_y1): Set errno if return value overflows.
14145 * sysdeps/ieee754/flt-32/e_j1f.c: Include <errno.h>.
14146 (__ieee754_y1f): Set errno if return value overflows.
14147 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <errno.h>.
14148 (__ieee754_y1l): Set errno if return value overflows.
14149 * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <errno.h>.
14150 (__ieee754_y1l): Set errno if return value overflows.
14151 * math/auto-libm-test-in: Add more tests of y0, y1 and yn.
14152 * math/auto-libm-test-out: Regenerated.
14154 * math/gen-auto-libm-tests.c: Document use of
14155 ignore-zero-inf-sign.
14156 (input_flag_type): Add value flag_ignore_zero_inf_sign.
14157 (input_flags): Add ignore-zero-inf-sign.
14158 (output_for_one_input_case): Handle flag_ignore_zero_inf_sign.
14159 * math/gen-libm-test.pl (generate_testfile): Handle
14160 ignore-zero-inf-sign.
14161 * math/auto-libm-test-in: Mark some cpow tests with
14162 ignore-zero-inf-sign and some with xfail-rounding.
14163 * math/auto-libm-test-out: Regenerated.
14164 * math/libm-test.inc (cpow_test): Use ALL_RM_TEST.
14165 * sysdeps/i386/fpu/libm-test-ulps: Update.
14166 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14169 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Ensure possibly
14170 overflowing or underflowing operations take place with sign of
14172 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
14173 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
14174 * sysdeps/ieee754/dbl-64/e_pow.c: Include <math.h>.
14175 (__ieee754_pow): Recompute overflowing and underflowing results in
14176 original rounding mode.
14177 * sysdeps/x86/fpu/powl_helper.c: Include <stdbool.h>.
14178 (__powl_helper): Allow negative argument X and scale negated value
14179 as needed. Avoid passing value outside [-1, 1] to f2xm1.
14180 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Ensure possibly
14181 overflowing or underflowing operations take place with sign of
14183 * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]:
14185 * math/auto-libm-test-in: Add more tests of pow.
14186 * math/auto-libm-test-out: Regenerated.
14187 * math/libm-test.inc (pow_test): Use ALL_RM_TEST.
14188 (pow_tonearest_test_data): Remove.
14189 (pow_test_tonearest): Likewise.
14190 (pow_towardzero_test_data): Likewise.
14191 (pow_test_towardzero): Likewise.
14192 (pow_downward_test_data): Likewise.
14193 (pow_test_downward): Likewise.
14194 (pow_upward_test_data): Likewise.
14195 (pow_test_upward): Likewise.
14196 (main): Don't call removed functions.
14197 * sysdeps/i386/fpu/libm-test-ulps: Update.
14198 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14200 2014-06-23 Roland McGrath <roland@hack.frob.com>
14202 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/c++-types.data:
14204 * sysdeps/unix/sysv/linux/powerpc/powerpc32/c++-types.data: ... here.
14205 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
14207 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: ... here.
14208 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
14210 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: ... here.
14211 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
14213 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data: ... here.
14214 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
14216 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
14218 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libBrokenLocale.abilist:
14220 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libanl.abilist:
14222 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libcrypt.abilist:
14224 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libdl.abilist:
14226 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libnsl.abilist:
14228 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
14230 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libresolv.abilist:
14232 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
14234 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libthread_db.abilist:
14236 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libutil.abilist:
14238 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/ld.abilist:
14240 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: ... here.
14241 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libBrokenLocale.abilist:
14243 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
14245 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libanl.abilist:
14247 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: ... here.
14248 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libcrypt.abilist:
14250 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: ... here.
14251 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libdl.abilist:
14253 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: ... here.
14254 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libnsl.abilist:
14256 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: ... here.
14257 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libpthread.abilist:
14259 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist: ... here.
14260 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libresolv.abilist:
14262 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist: ... here.
14263 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/librt.abilist:
14265 * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: ... here.
14266 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libthread_db.abilist: Moved ...
14267 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
14269 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libutil.abilist:
14271 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: ... here.
14272 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
14274 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
14276 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libm.abilist:
14278 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
14280 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
14282 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
14284 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
14286 * sysdeps/unix/sysv/linux/powerpc/powerpc64/c++-types.data: ... here.
14287 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
14289 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: ... here.
14290 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: Moved ...
14291 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: ... here.
14292 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
14294 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
14296 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
14298 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
14300 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
14302 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist: ... here.
14303 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
14305 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: ... here.
14306 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
14308 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: ... here.
14309 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
14311 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: ... here.
14312 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
14314 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
14316 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
14318 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: ... here.
14319 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
14321 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: ... here.
14322 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
14324 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: ... here.
14325 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
14327 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: ... here.
14328 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: Moved ...
14329 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: ... here.
14330 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
14332 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist: ... here.
14333 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
14335 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: ... here.
14336 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
14338 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
14340 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
14342 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
14344 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
14346 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
14348 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
14350 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist: ... here.
14351 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
14353 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: ... here.
14354 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
14356 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: ... here.
14357 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
14359 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
14361 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
14363 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
14365 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
14367 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
14369 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
14371 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: ... here.
14372 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
14374 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: ... here.
14376 2014-06-23 Will Newton <will.newton@linaro.org>
14377 Wilco <wdijkstr@arm.com>
14379 * sysdeps/generic/math_private.h: Add generic HAVE_RM_CTX
14380 implementation. Include get-rounding-mode.h.
14381 [!HAVE_RM_CTX]: Define HAVE_RM_CTX to zero.
14382 [!libc_feholdsetround_noex_ctx]: Define
14383 libc_feholdsetround_noex_ctx.
14384 [!libc_feholdsetround_noexf_ctx]: Define
14385 libc_feholdsetround_noexf_ctx.
14386 [!libc_feholdsetround_noexl_ctx]: Define
14387 libc_feholdsetround_noexl_ctx.
14388 (libc_feholdsetround_ctx): New function.
14389 (libc_feresetround_ctx): New function.
14390 (libc_feholdsetround_noex_ctx): New function.
14391 (libc_feresetround_noex_ctx): New function.
14393 2014-06-23 Roland McGrath <roland@hack.frob.com>
14395 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Moved ...
14396 * sysdeps/mips/nptl/bits/pthreadtypes.h: ... here.
14397 * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h: Moved ...
14398 * sysdeps/mips/nptl/bits/semaphore.h: ... here.
14399 * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Moved ...
14400 * sysdeps/unix/sysv/linux/mips/bits/local_lim.h: ... here.
14402 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h: Moved ...
14403 * sysdeps/m68k/nptl/bits/pthreadtypes.h: ... here.
14404 * sysdeps/unix/sysv/linux/m68k/nptl/bits/semaphore.h: Moved ...
14405 * sysdeps/m68k/nptl/bits/semaphore.h: ... here.
14406 * sysdeps/unix/sysv/linux/m68k/nptl/c++-types.data: Moved ...
14407 * sysdeps/unix/sysv/linux/m68k/c++-types.data: ... here.
14408 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/bits/atomic.h: Moved ...
14409 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: ... here.
14410 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/ld.abilist: Moved ...
14411 * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: ... here.
14412 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libBrokenLocale.abilist:
14414 * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
14416 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libanl.abilist: Moved ...
14417 * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: ... here.
14418 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libc.abilist: Moved ...
14419 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: ... here.
14420 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libcrypt.abilist:
14422 * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: ... here.
14423 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libdl.abilist: Moved ...
14424 * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: ... here.
14425 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libm.abilist: Moved ...
14426 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: ... here.
14427 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libnsl.abilist: Moved ...
14428 * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: ... here.
14429 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libpthread.abilist:
14431 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: ... here.
14432 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libresolv.abilist:
14434 * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: ... here.
14435 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/librt.abilist: Moved ...
14436 * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: ... here.
14437 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libthread_db.abilist:
14439 * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: ... here.
14440 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libutil.abilist: Moved ...
14441 * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: ... here.
14442 * sysdeps/unix/sysv/linux/m68k/nptl/localplt.data: Moved ...
14443 * sysdeps/unix/sysv/linux/m68k/localplt.data: ... here.
14444 * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h: Moved ...
14445 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: ... here.
14446 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/ld.abilist: Moved ...
14447 * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: ... here.
14448 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libBrokenLocale.abilist:
14450 * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
14452 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libanl.abilist: Moved ...
14453 * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: ... here.
14454 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libc.abilist: Moved ...
14455 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: ... here.
14456 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libcrypt.abilist: Moved ...
14457 * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: ... here.
14458 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libdl.abilist: Moved ...
14459 * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: ... here.
14460 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libm.abilist: Moved ...
14461 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: ... here.
14462 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libnsl.abilist: Moved ...
14463 * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: ... here.
14464 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libpthread.abilist:
14466 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: ... here.
14467 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libresolv.abilist: Moved ...
14468 * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: ... here.
14469 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/librt.abilist: Moved ...
14470 * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: ... here.
14471 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libthread_db.abilist:
14473 * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: ... here.
14474 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libutil.abilist: Moved ...
14475 * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: ... here.
14476 * sysdeps/unix/sysv/linux/m68k/nptl/sysdep-cancel.h: Moved ...
14477 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: ... here.
14479 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: Moved ...
14480 * sysdeps/unix/sysv/linux/sh/c++-types.data: ... here.
14481 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: Moved ...
14482 * sysdeps/unix/sysv/linux/sh/ld.abilist: ... here.
14483 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: Moved ...
14484 * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: ... here.
14485 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: Moved ...
14486 * sysdeps/unix/sysv/linux/sh/libanl.abilist: ... here.
14487 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Moved ...
14488 * sysdeps/unix/sysv/linux/sh/libc.abilist: ... here.
14489 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: Moved ...
14490 * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: ... here.
14491 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: Moved ...
14492 * sysdeps/unix/sysv/linux/sh/libdl.abilist: ... here.
14493 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Moved ...
14494 * sysdeps/unix/sysv/linux/sh/libm.abilist: ... here.
14495 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: Moved ...
14496 * sysdeps/unix/sysv/linux/sh/libnsl.abilist: ... here.
14497 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: Moved ...
14498 * sysdeps/unix/sysv/linux/sh/libpthread.abilist: ... here.
14499 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: Moved ...
14500 * sysdeps/unix/sysv/linux/sh/libresolv.abilist: ... here.
14501 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Moved ...
14502 * sysdeps/unix/sysv/linux/sh/librt.abilist: ... here.
14503 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: Moved ...
14504 * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: ... here.
14505 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: Moved ...
14506 * sysdeps/unix/sysv/linux/sh/libutil.abilist: ... here.
14508 2014-06-23 Joseph Myers <joseph@codesourcery.com>
14510 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
14511 (FALLOC_FL_COLLAPSE_RANGE): New macro.
14512 [__USE_GNU] (FALLOC_FL_ZERO_RANGE): Likewise.
14513 * sysdeps/unix/sysv/linux/bits/in.h (IP_PMTUDISC_OMIT): Likewise.
14514 (IPV6_PMTUDISC_INTERFACE): Likewise.
14515 (IPV6_PMTUDISC_OMIT): Likewise.
14517 2014-06-23 Andreas Schwab <schwab@suse.de>
14519 * nptl/sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink):
14520 Remove unused errout label.
14522 2014-06-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14524 * sysdeps/powerpc/bits/hwcap.h [PPC_FEATURE2_HAS_VEC_CRYPTO]: New
14525 macro: hardware supports Vector Crypto instructions.
14527 2014-06-23 Will Newton <will.newton@linaro.org>
14529 * elf/dl-lookup.c: Use __glibc_unlikely and __glibc_likely
14530 rather than __builtin_expect.
14532 * elf/dl-lookup.c (undefined_msg): Remove variable.
14533 (_dl_lookup_symbol_x): Replace undefined_msg with string
14536 * elf/dl-lookup.c (do_lookup_unique): New function.
14537 (do_lookup_x): Move STB_GNU_UNIQUE handling code
14538 to a separate function.
14540 2014-06-23 Andreas Schwab <schwab@suse.de>
14543 * nss/nss_files/files-XXX.c (get_contents): Store overflow marker
14544 before reading the next line.
14546 2014-06-23 Will Newton <will.newton@linaro.org>
14548 * test-skeleton.c (signal_handler): Use printf and %m
14549 rather than perror. Use printf rather than fprintf to
14550 stderr. Use puts rather than fputs to stderr.
14553 2014-06-22 Ludovic Courtès <ludo@gnu.org>
14555 * nscd/nscd.c (thread_info_t): Remove typedef.
14556 (thread_info): Remove variable.
14558 2014-06-21 Allan McRae <allan@archlinux.org>
14560 * NEWS: Mention CVE-2014-4043.
14562 2014-06-20 Roland McGrath <roland@hack.frob.com>
14564 * nptl/sysdeps/unix/sysv/linux/smp.h: Moved ...
14565 * nptl/smp.h: ... here.
14567 * nptl/sysdeps/unix/sysv/linux/rtld-lowlevel.h: File removed.
14569 * include/libc-symbols.h (HAVE_CONFIG_H, STDC_HEADERS): New macros.
14570 * catgets/Makefile (catgets-CPPFLAGS): Remove -DHAVE_CONFIG_H.
14571 * locale/Makefile (CPPFLAGS-locale-programs): Likewise.
14572 * stdlib/strtol_l.c [_LIBC] (STDC_HEADERS): Don't define it.
14574 * nptl/allocatestack.c: Include <stack-aliasing.h>.
14575 * nptl/stack-aliasing.h: New file.
14576 * sysdeps/i386/i686/stack-aliasing.h: New file.
14577 * sysdeps/i386/i686/nptl/Makefile: File removed.
14578 * sysdeps/x86_64/stack-aliasing.h: New file.
14579 * sysdeps/x86_64/nptl/Makefile
14580 (CFLAGS-pthread_create.c): Variable removed.
14582 * nptl/sysdeps/unix/sysv/linux/bits/local_lim.h: Moved ...
14583 * sysdeps/unix/sysv/linux/bits/local_lim.h: ... here, replacing the
14585 * nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h: Moved ...
14586 * sysdeps/unix/sysv/linux/bits/posix_opt.h: ... here, replacing the
14589 2014-06-21 Joseph Myers <joseph@codesourcery.com>
14591 * sysdeps/unix/sysv/linux/arm/kernel-features.h
14592 (__ASSUME_SIGFRAME_V2): Remove macro.
14593 * sysdeps/unix/sysv/linux/arm/sigrestorer.S: Update comment.
14594 [!__ASSUME_SIGFRAME_V2]: Remove conditional code.
14595 (__default_sa_restorer_v2): Rename to __default_sa_restorer.
14596 (__default_rt_sa_restorer_v2): Rename to __default_rt_sa_restorer.
14597 * sysdeps/unix/sysv/linux/arm/sigaction.c (__default_sa_restorer):
14598 Declare as function. Remove conditional macro definitions.
14599 (__default_rt_sa_restorer): Likewise.
14600 (__default_sa_restorer_v1): Remove declaration.
14601 (__default_sa_restorer_v2): Likewise.
14602 (__default_rt_sa_restorer_v1): Likewise.
14603 (__default_rt_sa_restorer_v2): Likewise.
14604 * sysdeps/unix/sysv/linux/arm/Versions (GLIBC_PRIVATE): Remove
14605 __default_sa_restorer_v1, __default_rt_sa_restorer_v1,
14606 __default_sa_restorer_v2 and __default_rt_sa_restorer_v2.
14608 2014-06-20 Roland McGrath <roland@hack.frob.com>
14610 * sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl]
14611 (libpthread-routines): Add sysdep.
14612 * nptl/sysdeps/unix/sysv/linux/sparc/Makefile: File removed.
14613 * sysdeps/unix/sysv/linux/sparc/Versions
14614 (libpthread: GLIBC_2.3.3): New version set.
14615 * nptl/sysdeps/unix/sysv/linux/sparc/Versions: File removed.
14616 * nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c: Moved ...
14617 * sysdeps/unix/sysv/linux/sparc/aio_cancel.c: ... here.
14618 * nptl/sysdeps/unix/sysv/linux/sparc/internaltypes.h: Moved ...
14619 * sysdeps/sparc/nptl/internaltypes.h: ... here. Use #include_next.
14620 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_destroy.c:
14622 * sysdeps/sparc/nptl/pthread_barrier_destroy.c: ... here.
14623 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c: Moved ...
14624 * sysdeps/sparc/nptl/pthread_barrier_init.c: ... here.
14625 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_wait.c: Moved ...
14626 * sysdeps/sparc/nptl/pthread_barrier_wait.c: ... here.
14627 * nptl/sysdeps/unix/sysv/linux/sparc/sem_init.c: Moved ...
14628 * sysdeps/sparc/nptl/sem_init.c: ... here.
14629 * nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c: Moved ...
14630 * sysdeps/sparc/nptl/sem_post.c: ... here.
14631 * nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Moved ...
14632 * sysdeps/sparc/nptl/sem_timedwait.c: ... here.
14633 * nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c: Moved ...
14634 * sysdeps/sparc/nptl/sem_wait.c: ... here.
14635 * nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Moved ...
14636 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: ... here.
14637 * sysdeps/sparc/sparc32/sparcv9/Makefile [$(subdir) = nptl]
14638 (libpthread-routines): Add cpu_relax.
14639 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile:
14641 * sysdeps/unix/sysv/linux/sparc/sparc64/Versions
14642 (librt: GLIBC_2.3.3): New version set.
14643 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Versions: File removed.
14644 * sysdeps/sparc/sparc64/nptl/Makefile: New file.
14645 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile [$(subdir) = nptl]
14646 (CFLAGS-pause.c, CFLAGS-sigsuspend.c): New variables.
14647 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: File removed.
14648 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c: Moved ...
14649 * sysdeps/sparc/sparc32/nptl/lowlevellock.c: ... here.
14650 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pthread_barrier_wait.c:
14652 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: ... here.
14653 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Moved ...
14654 * sysdeps/sparc/sparc32/nptl/sem_post.c: ... here.
14655 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Moved ...
14656 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: ... here.
14657 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c: Moved ...
14658 * sysdeps/sparc/sparc32/nptl/sem_trywait.c: ... here.
14659 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Moved ...
14660 * sysdeps/sparc/sparc32/nptl/sem_wait.c: ... here.
14661 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S:
14663 * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: ... here.
14665 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c:
14667 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: ... here.
14669 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c:
14671 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: ... here.
14673 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c:
14675 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: ... here.
14677 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_trywait.c:
14679 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: ... here.
14681 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c:
14683 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: ... here.
14685 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: Moved ...
14686 * sysdeps/sparc/sparc64/nptl/cpu_relax.S: ... here.
14687 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Moved ...
14688 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: ... here.
14689 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Moved ...
14690 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: ... here.
14691 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: Moved ...
14692 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: ... here.
14693 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: Moved ...
14694 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: ... here.
14695 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
14697 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: ... here.
14698 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: Moved ...
14699 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: ... here.
14700 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: Moved ...
14701 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: ... here.
14703 2014-06-20 Joseph Myers <joseph@codesourcery.com>
14705 * nptl/pthread_cond_wait.c: Include <kernel-features.h>.
14706 * nptl/pthread_rwlock_timedrdlock.c: Likewise.
14707 * nptl/pthread_rwlock_timedwrlock.c: Likewise.
14708 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise.
14709 * nscd/nscd.c: Likewise.
14710 * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
14711 * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
14712 * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
14713 * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
14715 * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include
14716 <kernel-features.h>.
14717 (init_mq_netlink): Remove conditional have_sock_cloexec
14718 definitions. Remove code conditional on have_sock_cloexec < 0.
14719 (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code.
14720 (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise.
14721 * sysdeps/unix/sysv/linux/opensock.c: Do not include
14722 <kernel-features.h>.
14723 (__opensock) [SOCK_CLOEXEC]: Make code unconditional.
14724 (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code.
14726 2014-06-20 H.J. Lu <hongjiu.lu@intel.com>
14728 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
14729 Add tests for memset_chk and memset.
14731 * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined
14734 2014-06-20 Maciej W. Rozycki <macro@codesourcery.com>
14737 * elf/tst-dl-iter-static.c: New file.
14738 * elf/Makefile (tests-static): Add tst-dl-iter-static.
14740 * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation
14743 2014-06-20 Joseph Myers <joseph@codesourcery.com>
14745 * sysdeps/unix/sysv/linux/kernel-features.h
14746 (__ASSUME_F_GETOWN_EX): Remove macro.
14747 * sysdeps/unix/sysv/linux/fcntl.c: Do not include
14748 <kernel-features.h>.
14749 (miss_F_GETOWN_EX): Remove variable or macro.
14750 (do_fcntl): Do not check miss_F_GETOWN_EX.
14751 (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code.
14753 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM):
14755 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard)
14756 [!__ASSUME_AT_RANDOM]: Remove conditional code.
14757 (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise.
14759 * sysdeps/unix/sysv/linux/kernel-features.h
14760 (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro.
14761 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME)
14762 [ADJ_OFFSET_SS_READ]: Make code unconditional.
14763 (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code.
14765 2014-06-20 Maciej W. Rozycki <macro@codesourcery.com>
14768 * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>:
14769 Fix calculation of the symbol's value.
14770 * sysdeps/arm/tst-armtlsdescloc.c: New file.
14771 * sysdeps/arm/tst-armtlsdesclocmod.c: New file.
14772 * sysdeps/arm/tst-armtlsdescextnow.c: New file.
14773 * sysdeps/arm/tst-armtlsdescextlazymod.c: New file.
14774 * sysdeps/arm/tst-armtlsdescextlazy.c: New file.
14775 * sysdeps/arm/tst-armtlsdescextnowmod.c: New file.
14776 * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc',
14777 `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'.
14778 (modules-names): Add `tst-armtlsdescmod',
14779 `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'.
14780 (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable.
14781 (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise.
14782 (CFLAGS-tst-armtlsdesclocmod.c): Likewise.
14783 (CFLAGS-tst-armtlsdescextnowmod.c): Likewise.
14784 (CFLAGS-tst-armtlsdescextlazymod.c): Likewise.
14785 (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise.
14786 ($(objpfx)tst-armtlsdescloc): New dependency.
14787 ($(objpfx)tst-armtlsdescextnow): Likewise.
14788 ($(objpfx)tst-armtlsdescextlazy): Likewise.
14789 * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor
14790 TLS scheme support.
14791 * sysdeps/arm/configure: Regenerate.
14793 2014-06-20 Joseph Myers <joseph@codesourcery.com>
14795 * include/fcntl.h (__atfct_seterrno): Remove prototype.
14796 (__atfct_seterrno_2): Likewise.
14797 * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include
14798 <kernel-features.h>.
14799 (__ASSUME_ATFCTS): Do not undefine and redefine.
14800 * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS]
14801 (__have_atfcts): Remove conditional definition.
14802 (__fxstatat([__NR_fstatat64]: Make code unconditional.
14803 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code
14804 unreachable if [__ASSUME_ATFCTS].
14805 * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do
14806 not undefine and redefine.
14807 * sysdeps/unix/sysv/linux/faccessat.c: Do not include
14808 <kernel-features.h>.
14809 (faccessat) [__NR_faccessat]: Make code unconditional.
14810 (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code.
14811 * sysdeps/unix/sysv/linux/fchmodat.c: Do not include
14812 <kernel-features.h>.
14813 (fchmodat) [__NR_fchmodat]: Make code unconditional.
14814 (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code.
14815 * sysdeps/unix/sysv/linux/fchownat.c: Do not include
14816 <kernel-features.h>.
14817 (fchownat) [__NR_fchownat]: Make code unconditional.
14818 (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code.
14819 * sysdeps/unix/sysv/linux/futimesat.c: Do not include
14820 <kernel-features.h>.
14821 (futimesat) [__NR_futimesat]: Make code unconditional.
14822 (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code.
14823 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
14824 <kernel-features.h>.
14825 (__fxstatat) [__NR_newfstatat]: Make code unconditional.
14826 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
14827 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
14828 <kernel-features.h>.
14829 (__fxstatat64) [__NR_fstatat64]: Make code unconditional.
14830 (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
14831 * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file.
14832 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
14833 <kernel-features.h>.
14834 (__fxstatat) [__NR_fstatat64]: Make code unconditional.
14835 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
14836 * sysdeps/unix/sysv/linux/linkat.c: Do not include
14837 <kernel-features.h>.
14838 (linkat) [__NR_linkat]: Make code unconditional.
14839 (linkat) [!__ASSUME_ATFCTS]: Remove conditional code.
14840 * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file.
14841 * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
14842 <kernel-features.h>.
14843 (__fxstatat64) [__NR_newfstatat]: Make code unconditional.
14844 (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
14845 * sysdeps/unix/sysv/linux/mkdirat.c: Do not include
14846 <kernel-features.h>.
14847 (mkdirat) [__NR_mkdirat]: Make code unconditional.
14848 (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code.
14849 * sysdeps/unix/sysv/linux/openat.c: Do not include
14850 <kernel-features.h>.
14851 [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function.
14852 [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable.
14853 (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional.
14854 (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code.
14855 * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file.
14856 * sysdeps/unix/sysv/linux/readlinkat.c: Do not include
14857 <kernel-features.h>.
14858 (readlinkat) [__NR_readlinkat]: Make code unconditional.
14859 (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code. Return
14860 result of INLINE_SYSCALL directly, not via int variable.
14861 * sysdeps/unix/sysv/linux/renameat.c: Do not include
14862 <kernel-features.h>.
14863 [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function.
14864 (renameat) [__NR_renameat]: Make code unconditional.
14865 (renameat) [!__ASSUME_ATFCTS]: Remove conditional code.
14866 * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file.
14867 * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file.
14868 * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file.
14869 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
14870 (__ASSUME_ATFCTS): Do not undefine and redefine.
14871 * sysdeps/unix/sysv/linux/symlinkat.c: Do not include
14872 <kernel-features.h>.
14873 (symlinkat) [__NR_symlinkat]: Make code unconditional.
14874 (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
14875 * sysdeps/unix/sysv/linux/unlinkat.c: Do not include
14876 <kernel-features.h>.
14877 (unlinkat) [__NR_unlinkat]: Make code unconditional.
14878 (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
14879 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
14880 (__ASSUME_ATFCTS): Do not undefine and redefine.
14881 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
14882 <kernel-features.h>.
14883 (__fxstatat) [__NR_newfstatat]: Make code unconditional.
14884 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
14885 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
14886 <kernel-features.h>.
14887 (__xmknodat) [__NR_mknodat]: Make code unconditional.
14888 (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code.
14890 2014-06-20 H.J. Lu <hongjiu.lu@intel.com>
14892 * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed.
14894 2014-06-20 Andreas Schwab <schwab@linux-m68k.org>
14897 * posix/regcomp.c (parse_reg_exp): Deallocate partially
14898 constructed tree before returning error.
14899 * posix/bug-regexp36.c: Expand test case.
14901 2014-06-20 Stefan Liebler <stli@linux.vnet.ibm.com>
14904 * math/libm-test.inc (scalbln_test_date):
14905 Add errno expectations.
14906 * math/w_scalblnf.c: New File.
14907 Add wrapper which checks for setting errno to ERANGE.
14908 Add weak_alias for corresponding scalbln function.
14909 * math/w_scalbln.c: Likewise.
14910 * math/w_scalblnl.c: Likewise.
14911 * math/Makefile (libm-calls): Add w_scalbln.
14912 * sysdeps/ieee754/flt-32/s_scalblnf.c:
14913 Remove weak_alias for corresponding scalbln function.
14914 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
14915 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
14916 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
14917 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
14918 * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
14919 * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
14920 * sysdeps/i386/fpu/s_scalbn.S: Likewise.
14921 * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
14922 * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
14923 * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
14924 Remove long_double_symbol for scalblnl function in libm, libc.
14925 * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: New File.
14926 Add wrapper which checks for setting errno to ERANGE.
14927 Add long_double_symbol for scalblnl function in libm, libc.
14928 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
14929 Remove long_double_symbol for scalblnl in libm.
14930 * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: New File.
14931 Add wrapper which checks for setting errno to ERANGE.
14932 Add long_double_symbol for scalblnl function in libm.
14933 * sysdeps/ia64/fpu/w_scalblnf.c: New File.
14934 Do not use wrapper because of own implementation.
14936 2014-06-19 H.J. Lu <hongjiu.lu@intel.com>
14938 * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
14939 3 bytes for __pad1 for x32.
14940 (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
14942 2014-06-19 Ling Ma <ling.ml@alibaba-inc.com>
14943 H.J. Lu <hongjiu.lu@intel.com>
14945 * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
14946 * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
14947 * sysdeps/x86_64/multiarch/memset.S: Likewise.
14948 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
14949 * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
14951 2014-06-19 Andreas Schwab <schwab@linux-m68k.org>
14954 * posix/regcomp.c (parse_expression): Deallocate partially
14955 constructed tree before returning error.
14956 * posix/Makefile.c (tests): Add bug-regex36.
14957 (generated): Add bug-regex36.mtrace.
14958 (tests-special): Add $(objpfx)bug-regex36-mem.out
14959 (bug-regex36-ENV): New variable.
14960 ($(objpfx)bug-regex36-mem.out): New rule.
14961 * posix/bug-regex36.c: New file.
14963 2014-06-19 Will Newton <will.newton@linaro.org>
14965 * malloc/malloc.c (systrim): If extra is zero then return
14968 2014-06-19 Siddhesh Poyarekar <siddhesh@redhat.com>
14970 * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
14972 2014-06-19 Richard Earnshaw <rearnsha@arm.com>
14974 * sysdeps/aarch64/strchr.S: New file.
14976 2014-06-18 Joseph Myers <joseph@codesourcery.com>
14979 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
14980 from arguments -2 or below.
14981 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
14982 * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
14984 2014-06-18 Andreas Schwab <schwab@suse.de>
14987 * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
14988 of a bracket expr not to run off the end of the string.
14989 * posix/Makefile (tests): Add tst-fnmatch3.
14990 * posix/tst-fnmatch3.c: New file.
14992 2014-06-18 Joseph Myers <joseph@codesourcery.com>
14994 * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
14995 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
14996 [$(cross-compiling) = no]: Likewise.
14997 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
14998 [$(cross-compiling) = no]: Likewise.
15000 2014-16-17 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
15003 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
15004 double, adjusted for any remainder from the high double.
15005 * math/libm-test.inc (nearbyint): Add tests.
15008 2014-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15010 * nptl/sysdeps/powerpc/Makefile: Moved ...
15011 * sysdeps/powerpc/nptl/Makefile: ... here.
15012 * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
15013 * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
15014 * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
15015 * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
15016 * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
15017 * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
15018 * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
15019 * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
15020 * nptl/sysdeps/powerpc/tls.h: Moved ...
15021 * sysdeps/powerpc/nptl/tls.h: ... here.
15023 2014-06-16 Joseph Myers <joseph@codesourcery.com>
15026 * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
15027 * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
15028 * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
15029 * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
15030 * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
15031 * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
15032 * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
15033 * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
15034 * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
15036 2014-06-17 Andreas Schwab <schwab@linux-m68k.org>
15038 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
15040 2014-06-16 Andreas Schwab <schwab@linux-m68k.org>
15042 * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
15045 * scripts/cross-test-ssh.sh (timeoutfactor): Default to
15048 2014-06-16 Florian Weimer <fweimer@redhat.com>
15051 * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
15052 non-executed part of the test.
15054 2014-06-16 Andreas Schwab <schwab@suse.de>
15056 * string/bits/string2.h (strdup, strndup): Update feature guard.
15058 2014-06-14 David S. Miller <davem@davemloft.net>
15060 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15062 2014-06-14 Andreas Schwab <schwab@linux-m68k.org>
15064 * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
15065 that was previously under [RESET_PID].
15066 * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
15068 * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
15069 * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
15070 * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
15071 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
15072 (__libc_vfork): New strong alias.
15073 * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
15075 2014-06-14 Andi Kleen <ak@linux.intel.com>
15077 * sysdeps/generic/elide.h: New file.
15079 2014-06-13 Stefan Liebler <stli@linux.vnet.ibm.com>
15081 * Makefile (installed-headers): Adjust path of pthread.h header.
15083 2014-06-13 Roland McGrath <roland@hack.frob.com>
15085 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
15086 * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
15087 * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
15088 * sysdeps/s390/nptl/bits/semaphore.h: ... here.
15090 * nptl/sysdeps/s390/Makefile: Moved ...
15091 * sysdeps/s390/nptl/Makefile: ... here.
15092 * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
15093 * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
15094 * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
15095 * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
15096 * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
15097 * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
15098 * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
15099 * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
15100 * nptl/sysdeps/s390/pthreaddef.h: Moved ...
15101 * sysdeps/s390/nptl/pthreaddef.h: ... here.
15102 * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
15103 * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
15104 * nptl/sysdeps/s390/tls.h: Moved ...
15105 * sysdeps/s390/nptl/tls.h: ... here.
15107 * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
15108 * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
15110 2014-06-13 David S. Miller <davem@davemloft.net>
15112 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
15113 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
15114 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
15115 * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
15116 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
15117 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
15118 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
15119 * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
15120 * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
15121 * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
15122 * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
15123 Remove RESET_PID cpp guards.
15124 * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
15125 Remove RESET_PID cpp guards.
15126 * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
15128 2014-06-13 Andreas Schwab <schwab@linux-m68k.org>
15130 * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
15133 2014-06-13 Andi Kleen <ak@linux.intel.com>
15135 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
15136 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
15137 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
15138 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
15139 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
15140 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
15141 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
15142 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
15143 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
15144 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
15145 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
15146 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
15147 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
15148 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
15149 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
15150 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
15151 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
15152 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
15153 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
15154 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
15156 * nptl/pthread_rwlock_rdlock.c: Include elide.h.
15157 (pthread_rwlock_rdlock): Add elision.
15158 * nptl/pthread_rwlock_wrlock.c: Include elide.h.
15159 (pthread_rwlock_wrlock): Add elision.
15160 * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
15161 (pthread_rwlock_trywrlock): Add elision.
15162 * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
15163 (pthread_rwlock_tryrdlock): Add elision.
15164 * nptl/pthread_rwlock_unlock.c: Include elide.h.
15165 (pthread_rwlock_tryrdlock): Add elision unlock.
15166 * nptl/sysdeps/pthread/pthread.h:
15167 (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
15168 (PTHREAD_RWLOCK_INITIALIZER,
15169 PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
15170 Handle new elision field.
15171 * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
15172 * sysdeps/arm/nptl/bits/pthreadtypes.h
15173 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
15174 * sysdeps/sh/nptl/bits/pthreadtypes.h
15175 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
15176 * sysdeps/tile/nptl/bits/pthreadtypes.h
15177 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
15178 * sysdeps/a/nptl/bits/pthreadtypes.h
15179 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
15180 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
15181 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
15182 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
15183 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
15184 * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
15185 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
15186 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
15187 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
15188 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
15189 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
15190 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
15191 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
15192 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
15193 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
15194 * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
15195 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
15196 * sysdeps/unix/sysv/linux/x86/elision-conf.c:
15197 (elision_init): Set try_xbegin to zero when no RTM.
15198 * sysdeps/x86/nptl/bits/pthreadtypes.h
15199 (pthread_rwlock_t): Change __pad1 to __rwelision.
15200 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
15202 2014-06-13 Andi Kleen <ak@linux.intel.com>
15204 * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
15205 Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
15206 * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
15207 Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
15209 2014-06-13 Meador Inge <meadori@codesourcery.com>
15212 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
15213 that the cached result has been set before returning it.
15215 2014-06-12 Roland McGrath <roland@hack.frob.com>
15217 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
15218 * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
15219 * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
15220 * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
15221 * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
15222 * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
15224 * nptl/sysdeps/sparc/Makefile: Moved ...
15225 * sysdeps/sparc/nptl/Makefile: ... here.
15226 * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
15227 * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
15228 * nptl/sysdeps/sparc/tls.h: Moved ...
15229 * sysdeps/sparc/nptl/tls.h: ... here.
15230 * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
15231 * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
15232 * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
15233 * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
15234 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
15235 * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
15236 * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
15237 * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
15238 * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
15239 * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
15240 * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
15241 * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
15242 * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
15243 * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
15244 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
15245 * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
15246 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
15247 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
15249 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
15250 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
15252 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
15253 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
15255 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
15256 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
15259 * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
15261 * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
15262 * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
15264 * sysdeps/pthread/posix-timer.h: Include <list.h>.
15265 (struct list_links): Type removed.
15266 (struct thread_node, struct timer_node): Replace struct list_links
15267 with struct list_head.
15268 (list_unlink_ip): Likewise.
15269 * sysdeps/pthread/timer_routines.c
15270 (timer_free_list, thread_free_list, thread_active_list): Likewise.
15271 (list_append, list_insbefore): Likewise.
15272 (list_init): Function removed.
15273 (thread_init, init_module): Use INIT_LIST_HEAD instead.
15274 * sysdeps/nptl/Makefile: Move tst-timer bits to ...
15275 * sysdeps/pthread/Makefile: ... here, new file.
15277 * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
15278 * sysdeps/nptl/Implies: ... here.
15279 * sysdeps/unix/sysv/linux/Implies: Add nptl.
15280 * nptl/sysdeps/pthread/list.h: Moved ...
15281 * include/list.h: ... here.
15282 * nptl/sysdeps/pthread/createthread.c: Moved ...
15283 * nptl/createthread.c: ... here.
15284 * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
15285 * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
15286 * nptl/pt-longjmp.c: ... here.
15287 * nptl/sysdeps/pthread/Makefile: Moved ...
15288 * sysdeps/nptl/Makefile: ... here.
15289 * nptl/sysdeps/pthread/Subdirs: Moved ...
15290 * sysdeps/nptl/Subdirs: ... here.
15291 * nptl/sysdeps/pthread/aio_misc.h: Moved ...
15292 * sysdeps/nptl/aio_misc.h: ... here.
15293 * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
15294 * sysdeps/nptl/bits/libc-lock.h: ... here.
15295 * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
15296 * sysdeps/nptl/bits/libc-lockP.h: ... here.
15297 * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
15298 * sysdeps/nptl/bits/stdio-lock.h: ... here.
15299 * nptl/sysdeps/pthread/configure: Moved ...
15300 * sysdeps/nptl/configure: ... here.
15301 * nptl/sysdeps/pthread/configure.ac: Moved ...
15302 * sysdeps/nptl/configure.ac: ... here.
15303 * nptl/sysdeps/pthread/gai_misc.h: Moved ...
15304 * sysdeps/nptl/gai_misc.h: ... here.
15305 * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
15306 * sysdeps/nptl/librt-cancellation.c: ... here.
15307 * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
15308 * sysdeps/nptl/malloc-machine.h: ... here.
15309 * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
15310 * sysdeps/nptl/pthread-functions.h: ... here.
15311 * nptl/sysdeps/pthread/pthread.h: Moved ...
15312 * sysdeps/nptl/pthread.h: ... here.
15313 * nptl/sysdeps/pthread/setxid.h: Moved ...
15314 * sysdeps/nptl/setxid.h: ... here.
15315 * nptl/sysdeps/pthread/sigfillset.c: Moved ...
15316 * sysdeps/nptl/sigfillset.c: ... here.
15317 * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
15318 * sysdeps/nptl/tcb-offsets.h: ... here.
15319 * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
15320 * sysdeps/nptl/tst-mqueue8x.c: ... here.
15321 * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
15322 * sysdeps/nptl/unwind-forcedunwind.c: ... here.
15323 * nptl/sysdeps/pthread/allocalim.h: Moved ...
15324 * sysdeps/pthread/allocalim.h: ... here.
15325 * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
15326 * sysdeps/pthread/bits/sigthread.h: ... here.
15327 * nptl/sysdeps/pthread/flockfile.c: Moved ...
15328 * sysdeps/pthread/flockfile.c: ... here.
15329 * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
15330 * sysdeps/pthread/ftrylockfile.c: ... here.
15331 * nptl/sysdeps/pthread/funlockfile.c: Moved ...
15332 * sysdeps/pthread/funlockfile.c: ... here.
15333 * nptl/sysdeps/pthread/posix-timer.h: Moved ...
15334 * sysdeps/pthread/posix-timer.h: ... here.
15335 * nptl/sysdeps/pthread/timer_create.c: Moved ...
15336 * sysdeps/pthread/timer_create.c: ... here.
15337 * nptl/sysdeps/pthread/timer_delete.c: Moved ...
15338 * sysdeps/pthread/timer_delete.c: ... here.
15339 * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
15340 * sysdeps/pthread/timer_getoverr.c: ... here.
15341 * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
15342 * sysdeps/pthread/timer_gettime.c: ... here.
15343 * nptl/sysdeps/pthread/timer_routines.c: Moved ...
15344 * sysdeps/pthread/timer_routines.c: ... here.
15345 * nptl/sysdeps/pthread/timer_settime.c: Moved ...
15346 * sysdeps/pthread/timer_settime.c: ... here.
15347 * nptl/sysdeps/pthread/tst-timer.c: Moved ...
15348 * sysdeps/pthread/tst-timer.c: ... here.
15349 * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
15350 * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
15352 * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
15353 * nptl/sysdeps/pthread/sigprocmask.c: File removed.
15355 * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
15356 * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
15357 * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
15358 * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
15359 Update #include target.
15360 * nptl/sysdeps/i386/i686/Makefile: Moved ...
15361 * sysdeps/i386/i686/nptl/Makefile: ... here.
15362 * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
15363 * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
15364 Update #include target.
15365 * nptl/sysdeps/i386/i686/tls.h: Moved ...
15366 * sysdeps/i386/i686/nptl/tls.h: ... here. Use #include_next.
15367 * nptl/sysdeps/i386/Makefile: Moved ...
15368 * sysdeps/i386/nptl/Makefile: ... here.
15369 * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
15370 * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
15371 * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
15372 * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
15373 * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
15374 * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
15375 * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
15376 * nptl/sysdeps/i386/pthreaddef.h: Moved ...
15377 * sysdeps/i386/nptl/pthreaddef.h: ... here.
15378 * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
15379 * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
15380 * nptl/sysdeps/i386/tls.h: Moved ...
15381 * sysdeps/i386/nptl/tls.h: ... here.
15383 * sysdeps/sh/Makefile [$(subdir) = csu]
15384 (gen-as-const-headers): Add tcb-offsets.sym.
15385 * nptl/sysdeps/sh/Makefile: File removed.
15386 * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
15387 * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
15388 * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
15389 * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
15390 * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
15391 * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
15392 * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
15393 * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
15394 * nptl/sysdeps/sh/pthreaddef.h: Moved ...
15395 * sysdeps/sh/nptl/pthreaddef.h: ... here.
15396 * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
15397 * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
15398 * nptl/sysdeps/sh/tls.h: Moved ...
15399 * sysdeps/sh/nptl/tls.h: ... here.
15400 * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
15401 * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
15402 * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
15403 * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
15404 * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
15405 * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
15406 * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
15407 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
15408 * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
15409 * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
15410 * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
15411 * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
15412 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
15413 * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
15414 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
15415 * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
15416 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
15417 * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
15418 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
15419 * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
15420 * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
15421 * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
15422 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
15423 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
15424 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
15426 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
15427 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
15429 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
15430 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
15431 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
15432 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
15433 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
15434 * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
15435 * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
15436 * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
15437 * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
15438 * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
15439 * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
15440 * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
15441 * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
15442 * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
15443 * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
15444 * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
15445 * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
15446 * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
15447 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
15449 2014-06-12 Stefan Liebler <stli@linux.vnet.ibm.com>
15451 * posix/spawn_faction_addopen.c: Include string.h.
15453 2014-06-11 Roland McGrath <roland@hack.frob.com>
15455 * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
15456 * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
15457 * nptl/sysdeps/x86_64/Makefile: Moved ...
15458 * sysdeps/x86_64/nptl/Makefile: ... here.
15459 * nptl/sysdeps/x86_64/configure: Moved ...
15460 * sysdeps/x86_64/nptl/configure: ... here.
15461 * nptl/sysdeps/x86_64/configure.ac: Moved ...
15462 * sysdeps/x86_64/nptl/configure.ac: ... here.
15463 * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
15464 * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
15465 * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
15466 * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
15467 * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
15468 * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
15469 * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
15470 * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
15471 * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
15472 * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
15473 * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
15474 * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
15475 * nptl/sysdeps/x86_64/tls.h: Moved ...
15476 * sysdeps/x86_64/nptl/tls.h: ... here.
15477 * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
15478 * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
15479 * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
15480 * sysdeps/x86_64/x32/nptl/tls.h: ... here.
15482 * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
15484 2014-06-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15486 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15488 2014-06-11 Joseph Myers <joseph@codesourcery.com>
15490 * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
15492 [POSIX] (off_t): Likewise.
15493 * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
15494 [POSIX] (S_ISBLK): Require macro.
15495 [POSIX] (S_ISCHR): Likewise.
15496 [POSIX] (S_ISDIR): Likewise.
15497 [POSIX] (S_ISFIFO): Likewise.
15498 [POSIX] (S_ISREG): Likewise.
15499 [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
15501 * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
15503 [POSIX] (time_t): Likewise.
15504 [POSIX] (timer_t): Likewise.
15506 2014-06-11 Florian Weimer <fweimer@redhat.com>
15509 * posix/spawn_int.h (struct __spawn_action): Make the path string
15510 non-const to support deallocation.
15511 * posix/spawn_faction_addopen.c
15512 (posix_spawn_file_actions_addopen): Make a copy of the pathname.
15513 * posix/spawn_faction_destroy.c
15514 (posix_spawn_file_actions_destroy): Adjust comment. Deallocate
15515 path in all spawn_do_open actions.
15516 * posix/tst-spawn.c (do_test): Exercise the copy operation in
15517 posix_spawn_file_actions_addopen.
15519 2014-06-11 Chris Metcalf <cmetcalf@tilera.com>
15521 * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
15522 * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
15523 * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
15524 conditional code always true.
15525 (__libc_vfork): New alias.
15527 2014-06-11 Roland McGrath <roland@hack.frob.com>
15529 * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
15530 * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
15532 * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
15534 * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
15535 * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
15537 * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
15538 * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
15540 * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
15541 * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
15543 2014-06-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
15545 * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
15546 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
15547 multiarch strcmp for PPC64.
15548 * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
15549 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
15550 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
15551 multiarch optimizations.
15552 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
15553 (__libc_ifunc_impl_list): Likewise.
15555 2014-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
15557 * benchtests/scripts/validate_benchout.py: New script.
15558 * benchtests/Makefile (bench-func): Call it.
15559 * benchtests/scripts/benchout.schema.json: New file.
15561 2014-06-10 Chris Metcalf <cmetcalf@tilera.com>
15563 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
15564 * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
15565 * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
15566 * sysdeps/tile/nptl/bits/semaphore.h: ... here.
15567 * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
15568 * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
15569 * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
15570 * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
15571 * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
15572 * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
15573 * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
15574 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
15575 * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
15576 * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
15577 * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
15578 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
15579 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
15581 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
15583 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
15585 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
15586 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
15588 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
15590 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
15592 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
15594 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
15596 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
15597 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
15599 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
15601 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
15603 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
15605 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
15607 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
15608 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
15610 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
15612 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
15614 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
15616 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
15618 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
15620 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
15622 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
15623 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
15625 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
15627 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
15629 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
15631 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
15633 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
15635 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
15637 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
15638 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
15640 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
15642 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
15644 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
15646 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
15648 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
15649 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
15651 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
15653 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
15655 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
15656 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
15658 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
15659 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
15661 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
15663 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
15665 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
15667 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
15669 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
15671 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
15673 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
15674 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
15676 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
15678 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
15680 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
15682 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
15683 * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
15684 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
15685 * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
15686 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
15688 * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
15690 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
15691 * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
15692 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
15693 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
15694 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
15695 * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
15696 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
15697 * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
15698 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
15699 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
15700 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
15701 * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
15702 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
15704 * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
15705 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
15707 * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
15708 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
15709 * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
15710 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
15712 * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
15713 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
15714 * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
15715 * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
15716 * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
15717 * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
15718 * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
15720 2014-06-10 Wilco <wdijkstr@arm.com>
15722 * math/test-fenv-return.c: New file.
15723 * math/Makefile: Add new test test-fenv-return.
15725 2014-06-10 Joseph Myers <joseph@codesourcery.com>
15728 * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
15729 when x - 1 is zero.
15730 * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
15731 * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
15732 * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
15733 0.0L for an argument of 1.0L.
15734 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
15736 * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
15737 value when x - 1 is zero.
15738 * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
15739 * sysdeps/i386/fpu/libm-test-ulps: Update.
15740 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15742 2014-06-09 Bernard Ogden <bernie.ogden@linaro.org>
15745 * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
15747 2014-06-09 Roland McGrath <roland@hack.frob.com>
15749 * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
15750 * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
15752 2014-06-09 Roland McGrath <roland@hack.frob.com>
15754 * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
15755 * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
15757 * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
15758 * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
15760 * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
15761 * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
15763 * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
15764 * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
15766 * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
15767 if not already defined.
15768 (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
15769 * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
15770 * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
15771 (TLS_INIT_TP): Use it.
15772 (TLS_DEFINE_INIT_TP): New macro.
15773 * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
15775 2014-06-09 Joseph Myers <joseph@codesourcery.com>
15777 * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
15779 [POSIX] (IXANY): Likewise.
15780 [POSIX] (OLCUC): Likewise.
15781 [POSIX || POSIX2008] (CBAUD): Do not allow.
15782 [POSIX || POSIX2008] (DEFECHO): Likewise.
15783 [POSIX || POSIX2008] (ECHOCTL): Likewise.
15784 [POSIX || POSIX2008] (ECHOKE): Likewise.
15785 [POSIX || POSIX2008] (ECHOPRT): Likewise.
15786 [POSIX || POSIX2008] (EXTA): Likewise.
15787 [POSIX || POSIX2008] (EXTB): Likewise.
15788 [POSIX || POSIX2008] (FLUSHO): Likewise.
15789 [POSIX || POSIX2008] (LOBLK): Likewise.
15790 [POSIX || POSIX2008] (PENDIN): Likewise.
15791 [POSIX || POSIX2008] (SWTCH): Likewise.
15792 [POSIX || POSIX2008] (VDISCARD): Likewise.
15793 [POSIX || POSIX2008] (VDSUSP): Likewise.
15794 [POSIX || POSIX2008] (VLNEXT): Likewise.
15795 [POSIX || POSIX2008] (VREPRINT): Likewise.
15796 [POSIX || POSIX2008] (VSTATUS): Likewise.
15797 [POSIX || POSIX2008] (VWERASE): Likewise.
15798 (B*): Change to B[0123456789]*.
15799 * conform/data/time.h-data [POSIX || UNIX98]
15800 (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
15801 [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
15802 [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
15803 [POSIX] (tm_*): Do not allow.
15805 2014-06-07 Joseph Myers <joseph@codesourcery.com>
15807 * Makefile (install): Don't set LANGUAGE.
15808 * Makefile.in (install): Likewise.
15809 * assert/Makefile (test-assert-ENV): Remove variable.
15810 (test-assert-perr-ENV): Likewise.
15811 * elf/Makefile (neededtest4-ENV): Likewise.
15812 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
15813 [$(cross-compiling) = no]: Don't set LANGUAGE.
15814 * io/ftwtest-sh (LANG): Remove variable.
15815 * libio/Makefile (tst-widetext-ENV): Likewise.
15816 * manual/install.texi (Running make install): Don't refer to
15817 environment settings for make install.
15818 * INSTALL: Regenerated.
15819 * nptl/tst-tls6.sh: Don't set LANG.
15820 * posix/globtest.sh (LANG): Remove variable.
15821 * string/Makefile (tester-ENV): Likewise.
15822 (inl-tester-ENV): Likewise.
15823 (noinl-tester-ENV): Likewise.
15824 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
15825 [$(cross-compiling) = no]: Don't set LANGUAGE.
15826 * timezone/Makefile (build-testdata): Use $(built-program-cmd)
15827 without explicit environment settings.
15829 2014-06-06 Roland McGrath <roland@hack.frob.com>
15831 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
15832 * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
15833 * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
15834 * sysdeps/sh/nptl/bits/semaphore.h: ... here.
15836 2014-06-06 Chris Metcalf <cmetcalf@tilera.com>
15838 * crypt/crypt-private.h [DOS]: Add some includes taken from the
15839 other files in the crypt directory.
15840 * crypt/crypt.c: Remove duplicate includes.
15841 * crypt/crypt-entry.c: Likewise.
15842 * crypt/crypt_util.c: Likewise.
15844 2014-06-06 Joseph Myers <joseph@codesourcery.com>
15846 * Makeconfig (run-program-env): New variable.
15847 (run-program-prefix-before-env): Likewise.
15848 (run-program-prefix-after-env): Likewise.
15849 (run-program-prefix): Define in terms of new variables.
15850 (built-program-cmd-before-env): New variable.
15851 (built-program-cmd-after-env): Likewise.
15852 (built-program-cmd): Define in terms of new variables.
15853 (test-program-prefix-before-env): New variable.
15854 (test-program-prefix-after-env): Likewise.
15855 (test-program-prefix): Define in terms of new variables.
15856 (test-program-cmd-before-env): New variable.
15857 (test-program-cmd-after-env): Likewise.
15858 (test-program-cmd): Define in terms of new variables.
15859 * Rules (make-test-out): Use $(run-program-env).
15860 * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
15861 (help): Do not mention environment variables. Mention
15862 --timeoutfactor option.
15863 (timeoutfactor): New variable.
15864 (blacklist_exports): Remove function.
15865 (exports): Remove variable.
15866 (command): Do not include ${exports}.
15867 * manual/install.texi (Configuring and compiling): Do not mention
15868 test wrappers preserving environment variables. Mention that last
15869 assignment to a variable must take precedence.
15870 * INSTALL: Regenerated.
15871 * benchtests/Makefile (run-bench): Use $(run-program-env).
15872 * catgets/Makefile ($(objpfx)test1.cat): Use
15873 $(built-program-cmd-before-env), $(run-program-env) and
15874 $(built-program-cmd-after-env).
15875 ($(objpfx)test2.cat): Do not specify environment variables
15877 ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
15878 $(run-program-env) and $(built-program-cmd-after-env).
15879 ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
15880 $(run-program-env) and $(test-program-cmd-after-env).
15881 ($(objpfx)sample.SJIS.cat): Do not specify environment variables
15883 * catgets/test-gencat.sh: Use test_program_cmd_before_env,
15884 run_program_env and test_program_cmd_after_env arguments.
15885 * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
15886 * elf/tst-pathopt.sh: Use run_program_env argument.
15887 * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
15888 $(test-wrapper-env) and $(run-program-env).
15889 * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
15890 run_program_env arguments.
15891 * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
15892 * intl/Makefile ($(objpfx)tst-gettext.out): Use
15893 $(test-program-prefix-before-env), $(run-program-env) and
15894 $(test-program-prefix-after-env).
15895 ($(objpfx)tst-gettext2.out): Likewise.
15896 * intl/tst-gettext.sh: Use test_program_prefix_before_env,
15897 run_program_env and test_program_prefix_after_env arguments.
15898 * intl/tst-gettext2.sh: Likewise.
15899 * intl/tst-gettext4.sh: Do not set environment variables
15901 * intl/tst-gettext6.sh: Likewise.
15902 * intl/tst-translit.sh: Likewise.
15903 * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
15904 $(test-program-prefix-before-env), $(run-program-env) and
15905 $(test-program-prefix-after-env).
15906 * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
15907 run_program_env and test_program_prefix_after_env arguments.
15908 * math/Makefile (run-regen-ulps): Use $(run-program-env).
15909 * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
15910 * nptl/tst-tls6.sh: Use run_program_env argument. Set LANG=C
15911 explicitly with each use of ${test_wrapper_env}.
15912 * posix/Makefile ($(objpfx)wordexp-tst.out): Use
15913 $(test-program-prefix-before-env), $(run-program-env) and
15914 $(test-program-prefix-after-env).
15915 * posix/tst-getconf.sh: Do not set environment variables
15917 * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
15918 run_program_env and test_program_prefix_after_env arguments.
15919 * stdio-common/tst-printf.sh: Do not set environment variables
15921 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
15922 $(test-program-prefix-before-env), $(run-program-env) and
15923 $(test-program-prefix-after-env).
15924 * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
15925 run_program_env and test_program_prefix_after_env arguments.
15926 Split $test calls into $test_pre and $test.
15927 * timezone/Makefile (build-testdata): Use
15928 $(built-program-cmd-before-env), $(run-program-env) and
15929 $(built-program-cmd-after-env).
15931 2014-06-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15933 * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
15934 strlen for non SHARED builds.
15936 2014-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
15938 * nptl/allocatestack.c (check_list): Inlined function...
15939 (__reclaim_stacks): ... here.
15941 2014-06-05 Ondřej Bílka <neleai@seznam.cz>
15944 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
15947 2014-06-05 Joseph Myers <joseph@codesourcery.com>
15949 * Rules (make-test-out): Include
15950 LOCPATH=$(common-objpfx)localedata in default environment.
15951 * debug/Makefile (tst-chk1-ENV): Remove variable.
15952 (tst-chk2-ENV): Likewise.
15953 (tst-chk3-ENV): Likewise.
15954 (tst-chk4-ENV): Likewise.
15955 (tst-chk5-ENV): Likewise.
15956 (tst-chk6-ENV): Likewise.
15957 (tst-lfschk1-ENV): Likewise.
15958 (tst-lfschk2-ENV): Likewise.
15959 (tst-lfschk3-ENV): Likewise.
15960 (tst-lfschk4-ENV): Likewise.
15961 (tst-lfschk5-ENV): Likewise.
15962 (tst-lfschk6-ENV): Likewise.
15963 * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
15964 (tst-iconv7-ENV): Likewise.
15965 * intl/Makefile (LOCPATH-ENV): Likewise.
15966 (tst-codeset-ENV): Likewise.
15967 (tst-gettext3-ENV): Likewise.
15968 (tst-gettext5-ENV): Likewise.
15969 * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
15970 (tst-fopenloc-ENV): Likewise.
15971 (tst-fgetws-ENV): Remove variable.
15972 (tst-ungetwc1-ENV): Likewise.
15973 (tst-ungetwc2-ENV): Likewise.
15974 (bug-ungetwc2-ENV): Likewise.
15975 (tst-swscanf-ENV): Likewise.
15976 (bug-ftell-ENV): Likewise.
15977 (tst-fgetwc-ENV): Likewise.
15978 (tst-fseek-ENV): Likewise.
15979 (tst-ftell-partial-wide-ENV): Likewise.
15980 (tst-ftell-active-handler-ENV): Likewise.
15981 (tst-ftell-append-ENV): Likewise.
15982 * posix/Makefile (tst-fnmatch-ENV): Likewise.
15983 (tst-regexloc-ENV): Likewise.
15984 (bug-regex1-ENV): Likewise.
15985 (tst-regex-ENV): Likewise.
15986 (tst-regex2-ENV): Likewise.
15987 (bug-regex5-ENV): Likewise.
15988 (bug-regex6-ENV): Likewise.
15989 (bug-regex17-ENV): Likewise.
15990 (bug-regex18-ENV): Likewise.
15991 (bug-regex19-ENV): Likewise.
15992 (bug-regex20-ENV): Likewise.
15993 (bug-regex22-ENV): Likewise.
15994 (bug-regex23-ENV): Likewise.
15995 (bug-regex25-ENV): Likewise.
15996 (bug-regex26-ENV): Likewise.
15997 (bug-regex30-ENV): Likewise.
15998 (bug-regex32-ENV): Likewise.
15999 (bug-regex33-ENV): Likewise.
16000 (bug-regex34-ENV): Likewise.
16001 (bug-regex35-ENV): Likewise.
16002 (tst-rxspencer-ENV): Likewise.
16003 (tst-rxspencer-no-utf8-ENV): Likewise.
16004 * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
16005 (tst-sscanf-ENV): Likewise.
16006 (tst-swprintf-ENV): Likewise.
16007 (tst-swscanf-ENV): Likewise.
16008 (test-vfprintf-ENV): Likewise.
16009 (scanf13-ENV): Likewise.
16010 (bug14-ENV): Likewise.
16011 (tst-grouping-ENV): Likewise.
16012 * stdlib/Makefile (tst-strtod-ENV): Likewise.
16013 (tst-strtod3-ENV): Likewise.
16014 (tst-strtod4-ENV): Likewise.
16015 (tst-strtod5-ENV): Likewise.
16016 (testmb2-ENV): Likewise./
16017 * string/Makefile (tst-strxfrm-ENV): Likewise.
16018 (tst-strxfrm2-ENV): Likewise.
16019 (bug-strcoll1-ENV): Likewise.
16020 (test-strcasecmp-ENV): Likewise.
16021 (test-strncasecmp-ENV): Likewise.
16022 * time/Makefile (tst-strptime-ENV): Likewise.
16023 (tst-ftime_l-ENV): Likewise.
16024 * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
16025 (tst-mbrtowc-ENV): Likewise.
16026 (tst-wcrtomb-ENV): Likewise.
16027 (tst-mbrtowc2-ENV): Likewise.
16028 (tst-c16c32-1-ENV): Likewise.
16029 (tst-mbsnrtowcs-ENV): Likewise.
16031 2014-06-05 Ondřej Bílka <neleai@seznam.cz>
16033 * manual/resource.texi (How to get information about the memory
16034 subsystem?): Fix typo.
16035 Reported by Peon de la Parra Ivan <peon@keba.com>
16037 2014-06-03 Guo Yixuan <culu.gyx@gmail.com>
16040 * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
16041 (pthread_spin_lock): Branch out of spin loop to proper location.
16042 * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
16043 (pthread_spin_lock): Likewise.
16045 * nptl/tst-spin4.c: New test.
16046 * nptl/Makefile (tests): Add tst-spin4.
16048 2014-06-03 Andreas Schwab <schwab@suse.de>
16051 * resolv/res_send.c (send_dg): Reload file descriptor after
16054 2014-06-03 Stefan Liebler <stli@linux.vnet.ibm.com>
16056 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
16058 2014-06-03 Richard Henderson <rth@redhat.com>
16060 * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
16061 * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
16062 * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
16063 SAVE_PID and RESTORE_PID blocks from pt-vfork.S. Map 0 to INT_MIN
16064 in the SAVE_PID block.
16065 (__libc_vfork): New alias.
16066 * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
16068 * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
16069 child in registers, not on the stack. Remove RESET_PID conditionals.
16070 * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
16072 2014-06-03 Marcus Shawcroft <marcus.shawcroft@arm.com>
16074 * sysdeps/aarch64/libm-test-ulps: Regenerate.
16076 2014-06-03 Wilco <wdijkstr@arm.com>
16078 * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
16079 (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
16080 (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
16081 Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
16082 * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
16085 2014-06-03 Wilco <wdijkstr@arm.com>
16087 * sysdeps/aarch64/fpu/math_private.h
16088 (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
16089 (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
16090 (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
16091 (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
16094 2014-06-03 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
16096 * crypt/crypt-private.h: Include ufc-crypt.h.
16097 (__b64_from_24bit): Declare extern.
16098 * crypt/crypt_util.c(__b64_from_24bit): New function.
16099 (b64t): New static const variable.
16100 * crypt/md5-crypt.c (b64_from_24bit): Remove function.
16101 (b64t): Remove variable.
16102 (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
16103 * crypt/sha256-crypt.c: Include crypt-private.h.
16104 (b64t): Remove variable.
16105 (__sha256_crypt_r): Remove b64_from_24bit and replace
16106 with __b64_from_24bit.
16107 * crypt/sha512-crypt.c: Likewise.
16109 2014-06-02 Roland McGrath <roland@hack.frob.com>
16111 * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
16112 * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
16113 Label the code __libc_vfork rather than __vfork.
16114 [!NOT_IN_libc] (vfork): Define as weak alias.
16115 [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
16116 * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
16117 * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
16119 2014-06-02 Siddhesh Poyarekar <siddhesh@redhat.com>
16121 * malloc/malloc.c (malloc_info): Fix format specifier for
16124 2014-06-02 Wilco <wdijkstr@arm.com>
16126 * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
16129 2014-06-02 Wilco <wdijkstr@arm.com>
16132 * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
16133 Rewrite to reduce FPCR/FPSR accesses.
16135 2014-06-01 David S. Miller <davem@davemloft.net>
16137 * sysdeps/sparc/fpu/libm-test-ulps: Update.
16139 2014-05-31 David S. Miller <davem@davemloft.net>
16141 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
16142 to occur in round to nearest mode when |x| >= 2.0
16144 2014-05-30 Richard Henderson <rth@twiddle.net>
16146 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
16147 (PSEUDO_RET_NOERRNO): Remove.
16148 (ret): Don't redefine.
16149 (ret_NOERRNO): Define in terms of ret.
16150 (ret_ERRVAL): Likewise.
16152 * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
16153 use of PSEUDO_RET; perform the error check directly.
16155 2014-05-30 Marko Myllynen <myllynen@redhat.com>
16157 * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
16160 2014-05-30 Siddhesh Poyarekar <siddhesh@redhat.com>
16162 * malloc/malloc (malloc_info): Fix formatting.
16164 2014-05-30 Siddhesh Poyarekar <siddhesh@redhat.com>
16165 Roland McGrath <roland@hack.frob.com>
16167 * malloc/malloc (malloc_info): Also print mmapped statistics.
16169 2014-05-30 Roland McGrath <roland@hack.frob.com>
16171 * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
16172 * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
16174 2014-05-30 Ondřej Bílka <neleai@seznam.cz>
16176 * malloc/malloc.c (malloc_info): Inline mi_arena.
16178 2014-05-29 Richard Henderson <rth@twiddle.net>
16180 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
16181 Remove comma before expanding ASM_ARGS_##nr.
16182 (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
16183 Make _x0 a strict output; make _x8 a strict input; adjust expansion
16185 (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
16186 (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
16187 (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
16188 (ASM_ARGS_1): Add leading comma.
16190 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
16191 (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
16192 to __errno_location.
16193 * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
16194 Remove the expected plt for __errno_location.
16196 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
16197 [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
16200 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
16201 Always allocate 64 bytes of stack frame. Use ldp/stp to create
16202 it and break it down.
16203 (DOCARGS_0, DOCARGS_1): Do nothing.
16204 (DOCARGS_2): Update to store into the new stack frame.
16205 (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
16206 (UNDOCARGS_1): Update to restore from the new stack frame.
16207 (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
16208 (UNDOCARGS_5, UNDOCARGS_6): Likewise.
16210 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
16211 (SINGLE_THREAD_P): New parameter for result regno.
16212 (PSEUDO): Update to match; use cbz instead of beq.
16214 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
16215 Use ENTRY to define the _nocancel entry point. Share the syscall
16216 and syscall error check paths with the cancel path.
16219 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
16220 whitespace; tabs before and after asm mnemonics.
16222 2014-05-29 Eric Wong <normalperson@yhbt.net>
16225 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
16226 Call fstat64 or stat64 internally, depending on arguments passed.
16227 Replace stat buffer argument with file descriptor argument.
16228 (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
16229 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
16230 Pass fd to __internal_statvfs instead of calling fstat64.
16231 * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
16232 Pass fd to __internal_statvfs64 instead of calling fstat64.
16233 * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
16234 Pass -1 to __internal_statvfs instead of calling stat64.
16235 * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
16236 Pass -1 to __internal_statvfs64 instead of calling stat64.
16238 2014-05-28 Roland McGrath <roland@hack.frob.com>
16240 * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
16241 that was previously under [RESET_PID].
16242 * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
16244 * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
16245 * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
16247 2014-05-27 Roland McGrath <roland@hack.frob.com>
16249 * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
16251 * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
16252 * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
16254 2014-05-27 Ondřej Bílka <neleai@seznam.cz>
16256 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
16258 2014-05-27 Andreas Schwab <schwab@suse.de>
16260 * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
16262 * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
16263 * elf/rtld.c (init_tls, dl_main): Likewise.
16264 * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
16265 * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
16266 * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
16267 * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
16268 * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
16269 * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
16270 * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
16271 * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
16272 * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
16273 * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
16274 * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
16275 * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
16276 * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
16277 * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
16278 * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
16279 * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
16280 * sysdeps/generic/tls.h: Update description.
16282 2014-05-27 Will Newton <will.newton@linaro.org>
16285 * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
16286 and restore r2 rather than just restoring.
16288 2014-05-27 Siddhesh Poyarekar <siddhesh@redhat.com>
16291 * libio/tst-ftell-append.c: New test case.
16292 * libio/Makefile (tests): Add test case.
16293 * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
16295 * libio/wfileops.c (do_ftell_wide): Likewise.
16297 2014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16299 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16301 * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
16303 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
16304 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
16305 * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
16306 * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
16307 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
16308 * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
16309 * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
16310 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
16311 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
16313 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
16314 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
16316 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
16317 * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
16318 * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
16319 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
16320 * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
16321 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
16323 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
16324 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
16326 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
16328 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
16330 * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
16331 * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
16332 * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
16334 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
16335 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
16336 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
16337 * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
16339 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
16341 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
16342 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
16344 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
16345 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
16347 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
16348 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
16350 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
16352 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
16354 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
16355 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
16357 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
16359 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
16360 conditional [RESET_PID].
16361 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
16362 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
16364 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
16367 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
16369 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
16370 (__libc_vfork): New strong alias.
16371 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
16373 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
16376 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
16378 (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
16379 (__libc_vfork): New strong alias.
16380 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
16382 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
16385 2014-05-26 Carlos O'Donell <carlos@redhat.com>
16387 * malloc/malloc.c (mi_arena): New function.
16388 (malloc_info): Remove nested function mi_arena. Call non-nosted
16391 2014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16393 * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
16395 * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
16396 * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
16397 * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
16398 * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
16399 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
16400 * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
16401 * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
16403 2014-05-26 Andreas Schwab <schwab@suse.de>
16406 * locale/programs/repertoire.c (repertoire_read): Add slash
16407 between I18NPATH element and file name.
16408 * locale/programs/locfile.c (locfile_read): Likewise.
16410 2014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
16412 * nptl/pthread_mutexattr_settype.c
16413 (__pthread_mutexattr_settype):
16414 Disable lock elision for PTHREAD_MUTEX_NORMAL.
16416 2014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
16418 * nptl/tst-mutex5 (do_test):
16419 Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
16421 2014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
16423 * benchtests/README: Document 'init' directive.
16424 * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
16426 * scripts/bench.py (gen_source): Define BENCH_INIT macro.
16427 (parse_file): Recognize 'init' directive.
16429 2014-05-26 Kyle McMartin <kyle@redhat.com>
16432 * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
16433 alignment of struct pthread.
16435 2014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
16438 * nscd/netgroupcache.c (addgetnetgrentX): Look for
16439 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
16440 * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
16441 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
16443 2014-05-25 Richard Henderson <rth@twiddle.net>
16445 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
16446 (SINGLE_THREAD_P_PIC): Remove.
16447 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
16448 (SINGLE_THREAD_P_PIC): Remove.
16450 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
16451 branch to syscall error ...
16452 (PSEUDO): ... here.
16453 [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
16454 from __local_syscall_error to .Lsyscall_error.
16455 [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
16456 (SYSCALL_ERROR): Update label name.
16458 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
16459 Do not use DOARGS/UNDOARGS.
16460 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
16461 (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
16462 (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
16463 (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
16464 (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
16466 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
16469 * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
16470 define if !NOT_IN_libc.
16471 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
16472 define with non-default symbol versions.
16474 2014-05-23 Richard Henderson <rth@twiddle.net>
16476 * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
16477 (vfork, __vfork): Define via compat_symbol.
16479 * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
16480 [!HAVE_IFUNC] (vfork_compat): Remove.
16481 [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
16483 2014-05-23 Joseph Myers <joseph@codesourcery.com>
16486 * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
16487 * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
16490 2014-05-23 Richard Henderson <rth@twiddle.net>
16492 * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
16493 * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
16494 * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
16495 * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
16497 * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
16498 * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
16499 * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
16500 * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
16501 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
16502 * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
16503 * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
16504 * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
16505 * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
16506 * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
16507 * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
16508 * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
16509 * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
16510 * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
16511 * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
16512 * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
16513 * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
16514 * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
16515 * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
16516 * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
16517 * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
16518 * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
16519 * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
16520 * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
16521 * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
16522 * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
16523 * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
16524 * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
16525 * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
16526 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
16527 * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
16528 * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
16529 * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
16530 * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
16531 * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
16532 * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
16533 * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
16534 * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
16535 * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
16536 * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
16537 * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
16538 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
16539 * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
16540 * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
16541 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
16542 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
16543 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
16544 * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
16545 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
16546 * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
16547 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
16548 * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
16549 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
16550 * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
16551 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
16552 * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
16554 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
16555 * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
16556 * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here. Restore PID
16557 before exiting on error.
16558 (__libc_vfork): New strong alias.
16559 * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
16560 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
16562 * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
16563 that was previously under [RESET_PID].
16564 * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
16566 * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
16568 2014-05-23 Joseph Myers <joseph@codesourcery.com>
16571 * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
16572 value when x - 1 is zero.
16573 * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
16574 * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
16575 * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
16576 0.0L for an argument of 1.0L.
16577 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
16579 * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
16580 value when x - 1 is zero.
16581 * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
16582 * sysdeps/i386/fpu/libm-test-ulps: Update.
16583 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16585 2014-05-23 Rasmus Villemoes <rv@rasmusvillemoes.dk>
16587 * manual/filesys.texi (Scanning Directory Content): Fix prototype of
16588 alphasort and versionsort.
16590 2014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16592 * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
16594 [copysignf]: Likewise.
16596 2014-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
16598 * crypt/md5-crypt.c: Fix formatting.
16600 2014-05-22 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
16602 * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
16603 (b64_from_24bit): New function.
16605 2014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16607 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
16608 libc_hidden_builtin_def to ifunc.
16609 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
16610 [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
16612 2014-05-21 Roland McGrath <roland@hack.frob.com>
16614 * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
16615 * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
16617 2014-05-21 Joseph Myers <joseph@codesourcery.com>
16619 * nscd/Depend (linuxthreads): Remove.
16621 * resolv/Depend (linuxthreads): Remove.
16622 * rt/Depend (linuxthreads): Remove.
16624 * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
16625 (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
16626 $(common-objpfx)elf/.
16627 (link-libc-before-gnulib): Likewise.
16628 (elfobjdir): Remove variable.
16629 * Makefile (install): Use $(elf-objpfx) instead of
16630 $(common-objpfx)elf/.
16631 * Makerules (link-libc-args): Use $(elf-objpfx) instead of
16633 (link-libc-deps): Likewise.
16634 ($(common-objpfx)libc.so): Likewise.
16635 ($(common-objpfx)linkobj/libc.so): Likewise.
16636 [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
16637 instead of $(common-objpfx)elf/.
16638 (symbolic-link-list): Likewise.
16639 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
16640 [$(cross-compiling) = no]: Likewise.
16641 * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
16643 (static-gnulib-arch): Likewise.
16644 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
16645 [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
16646 $(common-objpfx)elf/.
16648 2014-05-21 Richard Henderson <rth@redhat.com>
16650 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
16651 (SINGLE_THREAD_P): Use the correct width load. Fold
16652 into the ldr offset.
16654 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
16655 (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
16657 2014-05-20 Joseph Myers <joseph@codesourcery.com>
16659 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
16660 (libgcc_s_resume): Use __attribute_used__.
16661 * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
16664 2014-05-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16666 * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
16667 optimization when used with float constants.
16669 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16671 2014-05-20 Aurelien Jarno <aurelien@aurel32.net>
16674 * locale/nl_langinfo_l.c: Make direct reference to every
16675 _nl_current_CATEGORY symbol.
16676 * localedata/Makefile (test-srcs): Add tst-langinfo-static.
16677 (tests-static): Add tst-langinfo-static.
16678 (tests-special): Add tst-langinfo-static.out.
16679 ($(objpfx)tst-langinfo.out): Redirect output.
16680 ($(objpfx)tst-langinfo-static.out): New.
16681 * localedata/tst-langinfo.sh: Send output to stdout.
16682 * localedata/tst-langinfo-static.c: New file.
16685 * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
16686 when the shift amount is modulo the limb size.
16688 2014-05-20 Richard Henderson <rth@redhat.com>
16691 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
16692 Change type of sa_flags from unsigned int to int.
16695 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
16697 * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
16699 2014-05-20 Will Newton <will.newton@linaro.org>
16701 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
16702 Test the return value of the system call in the nocancel case.
16704 2014-05-20 Will Newton <will.newton@linaro.org>
16705 Yvan Roux <yvan.roux@linaro.org>
16707 * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
16708 #include of asm/ptrace.h.
16709 (PTRACE_GET_THREAD_AREA): Remove #undef.
16710 (PTRACE_GETHBPREGS): Likewise.
16711 (PTRACE_SETHBPREGS): Likewise.
16712 (struct user_regs_struct): New structure.
16713 (struct user_fpsimd_struct): New structure.
16714 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
16715 #include of asm/ptrace.h and second #include of sys/user.h.
16716 (PTRACE_GET_THREAD_AREA): Remove #undef.
16717 (PTRACE_GETHBPREGS): Likewise.
16718 (PTRACE_SETHBPREGS): Likewise.
16719 (ELF_NGREG): Use new struct user_regs_struct.
16720 (elf_fpregset_t): Use new struct user_fpsimd_struct.
16722 2014-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16724 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
16725 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
16727 2014-05-17 Jose E. Marchesi <jose.marchesi@oracle.com>
16730 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
16731 membar to avoid block loads/stores to overlap previous stores.
16733 2014-05-17 Richard Henderson <rth@redhat.com>
16735 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
16736 Create the __##syscall_name##_nocancel entry point.
16737 * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
16738 Remove; let the sysdep-cancel.h code create it.
16740 2014-05-17 David S. Miller <davem@davemloft.net>
16742 * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
16743 Protect with __USE_GNU.
16744 (TIOCSET_TEMPT): Likewise.
16745 (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
16746 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
16747 these are already provided in bits/ioctl-types.h
16749 2014-05-16 Roland McGrath <roland@hack.frob.com>
16751 * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
16752 * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
16754 * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
16755 Use wait4 regardless of [__NR_waitpid].
16757 2014-05-16 Maciej W. Rozycki <macro@codesourcery.com>
16760 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
16761 (_FP_NANSIGN_Q): Set the quiet bit.
16763 2014-05-16 Joseph Myers <joseph@codesourcery.com>
16765 * benchtests/Makefile
16766 ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
16767 not $(common-objpfx)math/libm.so.
16768 ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
16769 $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
16770 * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
16771 $(common-objpfx)dlfcn/libdl.so.
16772 ($(objpfx)tst-audit8): Depend on $(libm), not
16773 $(common-objpfx)math/libm.so.
16774 * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
16775 not $(common-objpfx)dlfcn/libdl.so.
16777 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
16778 Depend on $(libm), not $(objpfx)libm.so. Do not condition on
16779 [$(build-shared) = yes].
16780 ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
16781 $(common-objpfx)nptl/libpthread.so.
16782 * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
16783 $(common-objpfx)math/libm.so$(libm.so-version) or
16784 $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
16785 * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
16786 $(common-objpfx)dlfcn/libdl.so.
16787 * setjmp/Makefile (link-libm): Remove variable.
16788 ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
16789 * stdio-common/Makefile (link-libm): Remove variable.
16790 ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
16791 * stdlib/Makefile (link-libm): Remove variable.
16792 ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
16793 ($(objpfx)tst-strtod-round): Likewise.
16794 ($(objpfx)tst-tininess): Likewise.
16795 ($(objpfx)tst-strtod-underflow): Likewise.
16796 ($(objpfx)tst-strtod6): Likewise.
16797 ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
16798 $(libdl), not $(common-objpfx)nptl/libpthread.so and
16799 $(common-objpfx)dlfcn/libdl.so.
16801 2014-05-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16803 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
16804 BSD terminal modes definitions.
16806 2014-05-16 Roland McGrath <roland@hack.frob.com>
16808 * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
16809 * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
16811 * sysdeps/unix/sysv/linux/arch-fork.h: New file.
16812 * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
16813 * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
16814 Don't do #include_next.
16815 * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
16816 * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
16817 Don't do #include_next.
16818 * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
16819 * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
16820 * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
16821 * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
16823 2014-05-16 Allan McRae <allan@archlinux.org>
16825 * po/sv.po: Update Swedish translation from translation project.
16827 * timezone/Makefile ($(objpfx)tzselect): Use correct variable
16830 2014-05-16 Aurelien Jarno <aurelien@aurel32.net>
16833 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
16834 errno if the TIOCGPTN ioctl fails with an error different than
16836 * login/tst-ptsname.c: New file.
16837 * login/Makefile (tests): Add tst-ptsname.
16840 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
16843 2014-05-15 Siddhesh Poyarekar <siddhesh@redhat.com>
16846 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
16847 herrno to return EAI_AGAIN.
16849 2014-05-14 Roland McGrath <roland@hack.frob.com>
16851 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
16852 * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
16853 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
16854 * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
16855 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
16856 * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
16857 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
16858 * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
16859 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
16860 * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
16861 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
16862 * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
16863 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
16864 * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
16865 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
16866 * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
16867 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
16868 * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
16869 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
16870 * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
16871 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
16872 * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
16873 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
16874 * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
16875 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
16876 * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
16877 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
16878 * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
16879 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
16880 * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
16881 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
16882 * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
16883 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
16884 * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
16885 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
16887 * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
16888 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
16889 * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
16890 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
16891 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
16892 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
16893 * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
16894 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
16895 * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
16896 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
16897 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
16898 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
16899 * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
16900 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
16901 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
16902 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
16903 * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
16904 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
16905 * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
16906 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
16907 * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
16908 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
16909 * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
16910 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
16911 * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
16912 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
16913 * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
16914 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
16916 * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
16917 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
16918 * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
16919 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
16920 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
16921 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
16922 * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
16923 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
16924 * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
16925 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
16926 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
16927 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
16928 * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
16929 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
16930 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
16931 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
16932 * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
16933 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
16934 * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
16935 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
16937 * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
16938 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
16939 * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
16941 * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
16942 * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
16943 (libpthread-sysdep_routines): Add elision-related stuff here instead.
16944 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
16945 * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
16946 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
16947 * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
16948 * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
16949 * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
16950 * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
16951 * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
16952 * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
16953 * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
16954 * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
16955 * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
16956 * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
16957 * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
16958 * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
16959 * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
16960 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
16961 * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
16962 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
16963 * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
16964 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
16965 * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
16966 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
16967 * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
16968 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
16969 * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
16970 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
16971 * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
16973 * sysdeps/unix/sysv/linux/mips/fork.h: New file.
16974 * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
16976 * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
16977 * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
16978 * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
16979 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
16980 * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
16981 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
16983 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
16984 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
16986 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
16987 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
16989 * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
16990 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
16992 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
16993 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
16994 * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
16995 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
16997 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
16998 * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
16999 * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
17000 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
17001 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
17002 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
17003 * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
17004 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
17006 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
17007 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
17009 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
17011 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
17012 * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
17013 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
17014 * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
17015 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
17017 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
17019 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
17021 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
17022 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
17023 * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
17024 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
17025 * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
17026 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
17028 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
17029 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
17031 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
17032 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
17034 * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
17035 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
17037 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
17038 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
17039 * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
17040 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
17042 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
17043 * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
17044 * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
17045 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
17046 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
17047 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
17048 * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
17049 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
17051 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
17052 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
17054 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
17056 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
17057 * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
17058 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
17059 * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
17060 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
17062 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
17064 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
17066 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
17067 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
17068 * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
17069 * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
17070 * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
17071 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
17072 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
17073 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
17074 * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
17075 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
17077 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
17078 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
17080 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
17081 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
17083 * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
17084 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
17086 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
17087 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
17088 * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
17089 * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
17090 * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
17091 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
17093 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
17094 * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
17095 * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
17096 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
17097 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
17098 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
17099 * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
17100 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
17102 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
17103 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
17105 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
17107 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
17108 * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
17109 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
17110 * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
17111 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
17113 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
17115 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
17117 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
17118 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
17119 * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
17120 * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
17121 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
17122 * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
17123 * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
17124 * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
17125 * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
17126 * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
17127 * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
17129 * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
17130 * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
17132 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
17133 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
17135 * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
17136 * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
17137 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
17138 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
17139 * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
17140 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
17141 * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
17142 * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
17143 * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
17144 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
17145 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
17146 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
17147 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
17148 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
17149 * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
17150 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
17151 * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
17152 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
17154 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
17155 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
17156 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
17157 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
17159 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
17160 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
17161 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
17162 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
17163 * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
17164 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
17165 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
17166 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
17168 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
17169 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
17171 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
17172 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
17173 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
17174 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
17175 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
17176 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
17177 * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
17178 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
17179 * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
17180 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
17181 * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
17182 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
17183 * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
17184 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
17185 * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
17186 * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
17187 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
17189 * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
17190 * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
17191 * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
17192 * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
17193 * sysdeps/unix/sysv/linux/i386/fork.h: New file.
17195 * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
17196 * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
17197 * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
17198 * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
17199 * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
17200 * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
17201 * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
17202 * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
17203 * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
17204 * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
17206 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
17207 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
17209 * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
17210 * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
17211 * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
17212 * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
17213 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
17214 * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
17215 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
17216 * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
17217 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
17218 * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
17219 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
17220 * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
17221 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
17222 * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
17223 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
17225 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
17227 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
17229 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
17231 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
17233 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
17235 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
17237 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
17239 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
17241 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
17243 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
17244 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
17245 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
17246 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
17247 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
17248 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
17249 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
17250 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
17251 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
17252 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
17253 * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
17254 * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
17255 * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
17256 * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Likewise.
17257 * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Likewise.
17259 * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
17260 that was previously under [RESET_PID].
17261 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
17262 * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
17263 * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
17265 * sysdeps/i386/nptl/Implies: New file.
17266 * sysdeps/x86_64/nptl/Implies: New file.
17267 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
17268 * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
17269 * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
17270 * sysdeps/x86/nptl/bits/semaphore.h: ... here.
17272 * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
17273 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
17274 (__libc_vfork): New strong alias.
17275 * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
17276 * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
17278 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
17279 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
17280 (__libc_vfork): New strong alias.
17281 * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
17282 * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
17284 * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
17285 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
17286 (__libc_vfork): New strong alias.
17287 * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
17288 * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
17289 * nptl/pt-vfork.c: New file.
17290 * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
17291 (libpthread: GLIBC_2.20): New version set (empty).
17293 2014-05-14 Will Newton <will.newton@linaro.org>
17295 * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
17298 2014-05-14 Joseph Myers <joseph@codesourcery.com>
17301 * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
17302 arguments with exponent 65 or above.
17303 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
17304 arguments 0x1p113L or above.
17305 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
17306 to arguments 0x1p107L or above.
17307 * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
17308 positive arguments with exponent 65 or above.
17309 * math/auto-libm-test-in: Add more tests of log1p.
17310 * math/auto-libm-test-out: Regenerated.
17313 * math/s_cacos.c (__cacos): Ensure zero real part of result from
17314 non-finite arguments is +0.
17315 * math/s_cacosf.c (__cacosf): Likewise.
17316 * math/s_cacosl.c (__cacosl): Likewise.
17317 * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
17318 * sysdeps/i386/fpu/libm-test-ulps: Update.
17319 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17322 * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
17324 * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
17325 * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
17326 * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
17327 for explicit high bit of mantissa when testing for argument equal
17329 * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
17330 * sysdeps/i386/fpu/libm-test-ulps: Update.
17331 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17334 * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
17335 (__erf): Scale by 16 instead of 8 in potentially underflowing
17336 case. Ensure exception if result actually underflows.
17337 * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
17338 (__erff): Scale by 16 instead of 8 in potentially underflowing
17339 case. Ensure exception if result actually underflows.
17340 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
17341 (efx8): Remove variable.
17342 (__erfl): Scale by 16 instead of 8 in potentially underflowing
17343 case. Ensure exception if result actually underflows.
17344 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
17345 (efx8): Remove variable.
17346 (__erfl): Scale by 16 instead of 8 in potentially underflowing
17347 case. Ensure exception if result actually underflows.
17348 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
17349 (efx8): Remove variable.
17350 (__erfl): Scale by 16 instead of 8 in potentially underflowing
17351 case. Ensure exception if result actually underflows.
17352 * math/auto-libm-test-in: Add more tests of erf.
17353 * math/auto-libm-test-out: Regenerated.
17355 2014-05-14 Andreas Schwab <schwab@suse.de>
17357 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
17358 Remove code conditionalized on USE___THREAD.
17360 * config.h.in (HAVE_PT_CHOWN): Define as 0.
17361 * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
17364 2014-05-14 Joseph Myers <joseph@codesourcery.com>
17366 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
17367 Define unconditionally.
17368 (__ASSUME_O_CLOEXEC): Likewise.
17369 (__ASSUME_SOCK_CLOEXEC): Likewise.
17370 (__ASSUME_IN_NONBLOCK): Likewise.
17371 (__ASSUME_PIPE2): Likewise.
17372 (__ASSUME_EVENTFD2): Likewise.
17373 (__ASSUME_SIGNALFD4): Likewise.
17374 (__ASSUME_DUP3): Likewise.
17375 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
17376 (__ASSUME_DUP3): Do not define.
17377 (__ASSUME_EVENTFD2): Likewise.
17378 (__ASSUME_IN_NONBLOCK): Likewise.
17379 (__ASSUME_O_CLOEXEC): Likewise.
17380 (__ASSUME_PIPE2): Likewise.
17381 (__ASSUME_SIGNALFD4): Likewise.
17382 (__ASSUME_SOCK_CLOEXEC): Likewise.
17383 (__ASSUME_UTIMES): Undefine.
17384 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
17385 (__ASSUME_UTIMES): Do not define.
17386 (__ASSUME_O_CLOEXEC): Likewise.
17387 (__ASSUME_SOCK_CLOEXEC): Likewise.
17388 (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
17389 0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
17391 (__ASSUME_PIPE2): Likewise.
17392 (__ASSUME_EVENTFD2): Likewise.
17393 (__ASSUME_SIGNALFD4): Likewise.
17394 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
17395 * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
17397 (__ASSUME_EVENTFD2): Likewise.
17398 (__ASSUME_SIGNALFD4): Likewise.
17399 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
17400 (__ASSUME_32BITUIDS): Likewise.
17401 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
17402 (__ASSUME_IPC64): Likewise.
17403 (__ASSUME_ST_INO_64_BIT): Likewise.
17404 (__ASSUME_GETDENTS64_SYSCALL): Likewise.
17405 [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
17406 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
17407 (__ASSUME_UTIMES): Do not define.
17408 (__ASSUME_PSELECT): Likewise.
17409 (__ASSUME_PPOLL): Likewise.
17410 (__ASSUME_O_CLOEXEC): Likewise.
17411 (__ASSUME_SOCK_CLOEXEC): Likewise.
17412 (__ASSUME_IN_NONBLOCK): Likewise.
17413 (__ASSUME_PIPE2): Likewise.
17414 (__ASSUME_EVENTFD2): Likewise.
17415 (__ASSUME_SIGNALFD4): Likewise.
17416 (__ASSUME_DUP3): Likewise.
17417 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
17418 (__ASSUME_UTIMES): Likewise.
17419 (__ASSUME_O_CLOEXEC): Likewise.
17420 (__ASSUME_SOCK_CLOEXEC): Likewise.
17421 (__ASSUME_IN_NONBLOCK): Likewise.
17422 (__ASSUME_PIPE2): Likewise.
17423 (__ASSUME_EVENTFD2): Likewise.
17424 (__ASSUME_SIGNALFD4): Likewise.
17425 (__ASSUME_DUP3): Likewise.
17426 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
17427 (__ASSUME_UTIMES): Likewise.
17428 (__ASSUME_O_CLOEXEC): Likewise.
17429 (__ASSUME_SOCK_CLOEXEC): Likewise.
17430 (__ASSUME_IN_NONBLOCK): Likewise.
17431 (__ASSUME_PIPE2): Likewise.
17432 (__ASSUME_EVENTFD2): Likewise.
17433 (__ASSUME_SIGNALFD4): Likewise.
17434 (__ASSUME_DUP3): Likewise.
17435 * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
17437 (__ASSUME_UTIMES): Likewise.
17438 (__ASSUME_EVENTFD2): Likewise.
17439 (__ASSUME_SIGNALFD4): Likewise.
17440 * sysdeps/unix/sysv/linux/tile/kernel-features.h
17441 (__ASSUME_O_CLOEXEC): Likewise.
17442 (__ASSUME_SOCK_CLOEXEC): Likewise.
17443 (__ASSUME_IN_NONBLOCK): Likewise.
17444 (__ASSUME_PIPE2): Likewise.
17445 (__ASSUME_EVENTFD2): Likewise.
17446 (__ASSUME_SIGNALFD4): Likewise.
17447 (__ASSUME_DUP3): Likewise.
17448 (__ASSUME_UTIMES): Undefine.
17450 * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
17451 feclearexcept. Remove symbol versioning code.
17452 * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv. Remove
17453 symbol versioning code.
17454 * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv. Remove
17455 symbol versioning code.
17456 * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
17457 feupdateenv. Remove symbol versioning code.
17458 * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
17459 fegetexceptflag. Remove symbol versioning code.
17460 * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
17461 fesetexceptflag. Remove symbol versioning code.
17462 * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
17463 GLIBC_2.2 and GLIBC_2.3.3 entries. Change GLIBC_2.1 to GLIBC_2.4.
17464 * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
17465 (__posix_fadvise64_l32): Remove prototype.
17466 [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
17469 2014-05-13 Roland McGrath <roland@hack.frob.com>
17471 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
17472 * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
17473 * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
17474 * sysdeps/arm/nptl/bits/semaphore.h: ... here.
17476 2014-05-13 Sami Kerola <kerolasa@iki.fi>
17478 * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
17479 current working directory
17481 2014-05-13 Roland McGrath <roland@hack.frob.com>
17483 * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
17484 * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
17485 * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
17486 * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
17487 * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
17488 * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
17489 * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
17490 * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
17491 * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
17492 * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
17493 * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
17494 * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
17495 * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
17496 * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
17497 * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
17498 * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
17499 * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
17500 * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
17501 * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
17502 * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
17503 * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
17504 * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
17505 * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
17506 * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
17507 * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
17508 * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
17509 * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
17510 * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
17511 * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
17512 * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
17513 * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
17514 * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
17515 * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
17516 * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
17517 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
17518 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
17519 * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
17520 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
17521 * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
17522 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
17523 * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
17524 * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
17526 * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
17527 * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
17529 * sysdeps/unix/sysv/linux/arm/Makefile
17530 [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
17531 Add rt-aeabi_unwind_cpp_pr1.
17532 [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
17533 Add nptl-aeabi_unwind_cpp_pr1.
17534 [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
17535 * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
17536 * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
17537 * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
17538 * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
17539 * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
17541 * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
17542 * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
17543 * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
17544 * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
17546 * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
17547 Deconditionalize the code that was previously under [RESET_PID].
17548 * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
17550 * sysdeps/generic/exit-thread.h: New file.
17551 * sysdeps/unix/sysv/linux/exit-thread.h: New file.
17552 * include/unistd.h (__exit_thread): Remove declaration.
17553 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
17554 * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
17555 * csu/libc-start.c: Include <exit-thread.h>.
17556 (LIBC_START_MAIN): Pass no argument to __exit_thread.
17557 * nptl/pthread_create.c: Include <exit-thread.h>.
17558 (start_thread): Call __exit_thread in place of __exit_thread_inline.
17559 * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
17560 * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
17561 * nptl/sysdeps/s390/pthreaddef.h: Likewise.
17562 * nptl/sysdeps/sh/pthreaddef.h: Likewise.
17563 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
17564 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
17565 * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
17566 * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
17567 * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
17568 * sysdeps/arm/nptl/pthreaddef.h: Likewise.
17569 * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
17570 * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
17571 * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
17572 * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
17573 * sysdeps/mips/nptl/pthreaddef.h: Likewise.
17574 * sysdeps/tile/nptl/pthreaddef.h: Likewise.
17576 2014-05-13 Andreas Schwab <schwab@suse.de>
17578 * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
17580 2014-05-12 Joseph Myers <joseph@codesourcery.com>
17582 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
17583 (__ASSUME_UTIMES): Do not condition on kernel version.
17584 (__ASSUME_PSELECT): Define unconditionally.
17585 (__ASSUME_PPOLL): Likewise.
17586 (__ASSUME_ATFCTS): Likewise.
17587 (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
17588 (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
17589 (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
17590 (__ASSUME_UTIMENSAT): Define unconditionally.
17591 (__ASSUME_PRIVATE_FUTEX): Likewise.
17592 (__ASSUME_FALLOCATE): Likewise.
17593 (__ASSUME_O_CLOEXEC): Likewise.
17594 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
17595 (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
17596 (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
17597 (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
17598 (__ASSUME_IN_NONBLOCK): Likewise.
17599 (__ASSUME_PIPE2): Likewise.
17600 (__ASSUME_EVENTFD2): Likewise.
17601 (__ASSUME_SIGNALFD4): Likewise.
17602 (__ASSUME_DUP3): Likewise.
17603 [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
17604 (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
17605 (__ASSUME_AT_RANDOM): Likewise.
17606 (__ASSUME_PREADV): Likewise.
17607 (__ASSUME_PWRITEV): Likewise.
17608 (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
17609 (__ASSUME_F_GETOWN_EX): Define unconditionally.
17610 (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
17611 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
17612 [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
17613 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
17614 (__ASSUME_O_CLOEXEC): Define unconditionally.
17615 (__ASSUME_PSELECT): Do not undefine conditionally.
17616 (__ASSUME_PPOLL): Likewise.
17617 (__ASSUME_ATFCTS): Likewise.
17618 (__ASSUME_SET_ROBUST_LIST): Likewise.
17619 (__ASSUME_UTIMENSAT): Likewise.
17620 (__ASSUME_FDATASYNC): Define unconditionally.
17621 * sysdeps/unix/sysv/linux/arm/kernel-features.h
17622 (__ASSUME_SIGFRAME_V2): Likewise.
17623 )__ASSUME_EVENTFD2): Likewise.
17624 (__ASSUME_SIGNALFD4): Likewise.
17625 (__ASSUME_PSELECT): Do not undefine conditionally.
17626 (__ASSUME_PPOLL): Likewise.
17627 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
17628 (__ASSUME_PSELECT): Define unconditionally.
17629 (__ASSUME_PPOLL): Likewise.
17630 (__ASSUME_O_CLOEXEC): Likewise.
17631 (__ASSUME_SOCK_CLOEXEC): Likewise.
17632 (__ASSUME_IN_NONBLOCK): Likewise.
17633 (__ASSUME_PIPE2): Likewise.
17634 (__ASSUME_EVENTFD2): Likewise.
17635 (__ASSUME_SIGNALFD4): Likewise.
17636 (__ASSUME_DUP3): Likewise.
17637 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
17638 (__ASSUME_O_CLOEXEC): Likewise.
17639 (__ASSUME_SOCK_CLOEXEC): Likewise.
17640 (__ASSUME_IN_NONBLOCK): Likewise.
17641 (__ASSUME_PIPE2): Likewise.
17642 (__ASSUME_EVENTFD2): Likewise.
17643 (__ASSUME_SIGNALFD4): Likewise.
17644 (__ASSUME_DUP3): Likewise.
17645 * sysdeps/unix/sysv/linux/mips/kernel-features.h
17646 (__ASSUME_EVENTFD2): Likewise.
17647 (__ASSUME_SIGNALFD4): Likewise.
17648 (__ASSUME_ACCEPT4_SYSCALL): Likewise.
17650 2014-05-12 Andreas Schwab <schwab@suse.de>
17653 * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
17654 (_nss_nis_gethostbyname4_r): Return error if item length is larger
17655 than maximum RPC packet size.
17656 * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
17657 * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
17658 * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
17659 (_nss_nis_getservbyport_r): Likewise.
17661 2014-05-12 Will Newton <will.newton@linaro.org>
17663 * malloc/Makefile (tests): Add tst-mallopt.
17664 * malloc/tst-mallopt.c: New file.
17666 2014-05-09 Roland McGrath <roland@hack.frob.com>
17668 * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
17669 [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
17671 2014-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17673 * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
17674 (tst-tlsmod6.so): Likewise.
17676 2014-05-09 Roland McGrath <roland@hack.frob.com>
17678 * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
17680 2014-05-09 Joseph Myers <joseph@codesourcery.com>
17683 * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
17684 and <dl-procinfo.h>.
17685 (__fegetenv): Save SSE state in envp->__eip if supported.
17686 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
17687 envp->__eip if supported.
17688 * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
17689 and <dl-procinfo.h>.
17690 (__fesetenv): Always set __eip, __cs_selector, __opcode,
17691 __data_offset and __data_selector in environment to 0. Set SSE
17692 state if supported.
17693 * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
17695 [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
17697 * sysdeps/x86/fpu/test-fenv-sse.c: New file.
17699 2014-05-09 Will Newton <will.newton@linaro.org>
17701 * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
17702 and libc_relro_required for ARM.
17703 * sysdeps/arm/preconfigure: Regenerate.
17705 2014-05-09 Dominik Vogt <vogt@linux.vnet.ibm.com>
17706 Stefan Liebler <stli@linux.vnet.ibm.com>
17708 * config.make.in (enable-lock-elision): New Makefile variable.
17709 * configure.ac: Likewise.
17710 * configure: Regenerate.
17711 * sysdeps/s390/configure.ac:
17712 Add check for gcc transactions support.
17713 * sysdeps/s390/configure: Regenerate.
17714 * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
17715 Build elision files if enabled.
17716 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
17717 Add lock elision support for s390.
17718 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
17719 * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
17720 * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
17721 * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
17722 * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
17723 * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
17724 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
17726 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
17728 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
17730 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
17732 * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
17733 (__lll_timedlock_elision, __lll_lock_elision)
17734 (__lll_unlock_elision, __lll_trylock_elision)
17735 (lll_timedlock_elision, lll_lock_elision)
17736 (lll_unlock_elision, lll_trylock_elision): Add.
17737 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
17738 (pthread_mutex_t): Add lock elision support for s390.
17740 2014-05-14 Wilco <wdijkstr@arm.com>
17742 * sysdeps/arm/fclrexcpt.c: Cleanup.
17743 * sysdeps/arm/fedisblxcpt.c: Cleanup.
17744 * sysdeps/arm/feenablxcpt.c: Cleanup.
17745 * sysdeps/arm/fegetenv.c: Cleanup.
17746 * sysdeps/arm/fegetexcept.c: Cleanup.
17747 * sysdeps/arm/fegetround.c: Cleanup.
17748 * sysdeps/arm/feholdexcpt.c: Cleanup.
17749 * sysdeps/arm/fesetenv.c: Cleanup.
17750 * sysdeps/arm/fesetround.c: Cleanup.
17751 * sysdeps/arm/feupdateenv.c: Cleanup.
17752 * sysdeps/arm/fgetexcptflg.c: Cleanup.
17753 * sysdeps/arm/fraiseexcpt.c: Cleanup.
17754 * sysdeps/arm/fsetexcptflg.c: Cleanup.
17755 * sysdeps/arm/ftestexcept.c: Cleanup.
17756 * sysdeps/arm/get-rounding-mode.h: Cleanup.
17757 * sysdeps/arm/setfpucw.c: Cleanup.
17759 2014-05-09 Will Newton <will.newton@linaro.org>
17761 * sysdeps/arm/armv7/strcmp.S: New file.
17762 * NEWS: Mention addition of ARMv7 optimized strcmp.
17764 2014-05-08 Roland McGrath <roland@hack.frob.com>
17766 * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
17767 look for %.ac rather than %.in.
17769 * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
17770 * sysdeps/unix/sysv/linux/configure.ac: Likewise.
17771 * sysdeps/mach/hurd/configure: Regenerated.
17772 * sysdeps/unix/sysv/linux/configure: Regenerated.
17774 * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
17776 2014-05-07 Steve Ellcey <sellcey@mips.com>
17779 * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
17783 2014-05-07 Andreas Schwab <schwab@suse.de>
17785 * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
17786 when skipping over non-matching result from nscd.
17788 2014-05-07 Ondřej Bílka <neleai@seznam.cz>
17791 * nptl/sockperf.c (client): Check socket return value.
17794 * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
17795 nscd security class.
17797 2014-05-06 Roland McGrath <roland@hack.frob.com>
17799 * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
17800 * sysdeps/arm/unwind.h: ... here.
17802 2014-05-06 Aurelien Jarno <aurelien@aurel32.net>
17805 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
17808 2014-05-06 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
17810 * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
17811 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
17812 multiarch strncpy for PPC64.
17813 * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
17814 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
17815 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
17816 multiarch optimizations.
17817 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
17818 (__libc_ifunc_impl_list): Likewise.
17819 * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
17820 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
17821 multiarch stpncpy for PPC64.
17822 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
17823 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
17825 2014-05-06 Andreas Schwab <schwab@suse.de>
17828 * gmon/mcount.c (_MCOUNT_DECL): Use
17829 atomic_compare_and_exchange_bool_acq instead of
17830 catomic_compare_and_exchange_bool_acq.
17832 2014-05-05 Roland McGrath <roland@hack.frob.com>
17834 * elf/Makefile (others, install-bin): Remove pldd.
17835 (pldd-modules): Variable removed.
17836 ($(objpfx)pldd): Target removed.
17837 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
17838 (others, install-bin): Append pldd here.
17839 ($(objpfx)pldd): New target.
17841 * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
17842 to 0, so the first #if test emitted later doesn't see it undefined.
17843 (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
17844 * sysdeps/gnu/errlist.c: Regenerated.
17846 2014-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17848 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
17849 [libc_hidden_builtin_def]: Define to empty value.
17850 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
17851 [libc_hidden_builtin_def]: Likewise.
17852 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
17853 [libc_hidden_builtin_def]: Likewise.
17854 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
17855 [libc_hidden_builtin_def]: Likewise.
17856 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
17857 __redirect_memcpy and define ifunc as default hidden symbol.
17858 * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
17859 * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
17861 2014-05-04 Adam Conrad <adconrad@0c3.net>
17863 * locale/iso-4217.def: Reintroduce XDR currency.
17865 2014-05-04 Allan McRae <allan@archlinux.org>
17867 * po/eo.po: Update Esperanto translation from translation project.
17869 2014-05-02 Carlos O'Donell <carlos@redhat.com>
17871 * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
17872 and FEATURE_INDEX_MAX to 1.
17873 [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
17875 2014-05-01 Steve Ellcey <sellcey@mips.com>
17877 * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
17878 * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
17879 * iconvdata/big5.c (ONE_DIRECTION): Define.
17880 * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
17881 * iconvdata/cp1255.c (ONE_DIRECTION): Define.
17882 * iconvdata/cp1258.c (ONE_DIRECTION): Define.
17883 * iconvdata/cp932.c (ONE_DIRECTION): Define.
17884 * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
17885 * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
17886 * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
17887 * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
17888 * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
17889 * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
17890 * iconvdata/gb18030.c (ONE_DIRECTION): Define.
17891 * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
17892 * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
17893 * iconvdata/gbk.c (ONE_DIRECTION): Define.
17894 * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
17895 * iconvdata/ibm930.c (ONE_DIRECTION): Define.
17896 * iconvdata/ibm932.c (ONE_DIRECTION): Define.
17897 * iconvdata/ibm933.c (ONE_DIRECTION): Define.
17898 * iconvdata/ibm935.c (ONE_DIRECTION): Define.
17899 * iconvdata/ibm937.c (ONE_DIRECTION): Define.
17900 * iconvdata/ibm939.c (ONE_DIRECTION): Define.
17901 * iconvdata/ibm943.c (ONE_DIRECTION): Define.
17902 * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
17903 * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
17904 * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
17905 * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
17906 * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
17907 * iconvdata/iso646.c (ONE_DIRECTION): Define.
17908 * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
17909 * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
17910 * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
17911 * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
17912 * iconvdata/johab.c (ONE_DIRECTION): Define.
17913 * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
17914 * iconvdata/sjis.c (ONE_DIRECTION): Define.
17915 * iconvdata/t.61.c (ONE_DIRECTION): Define.
17916 * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
17917 * iconvdata/tscii.c (ONE_DIRECTION): Define.
17918 * iconvdata/uhc.c (ONE_DIRECTION): Define.
17919 * iconvdata/unicode.c (ONE_DIRECTION): Define.
17920 * iconvdata/utf-16.c (ONE_DIRECTION): Define.
17921 * iconvdata/utf-32.c (ONE_DIRECTION): Define.
17922 * iconvdata/utf-7.c (ONE_DIRECTION): Define.
17924 2014-05-01 Roland McGrath <roland@hack.frob.com>
17926 * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
17927 (_IO_JUMPS_OFFSET): Define to 0.
17929 * nptl/sysdeps/pthread/bits/libc-lock.h
17930 [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
17931 (__libc_lock_define_initialized_recursive): Always define using
17932 initializer. Modern compilers treat uninitialized (implicit zero) and
17933 explicit zero initializers the same (i.e. put the datum in bss).
17935 2014-05-01 Andreas Schwab <schwab@linux-m68k.org>
17937 * nscd/nscd-client.h: Include <string.h>.
17939 2014-05-01 David S. Miller <davem@davemloft.net>
17942 * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
17943 multiple zero bytes exist at the end of a string.
17944 Reported by Aurelien Jarno <aurelien@aurel32.net>
17946 * string/test-strcmp.c (check): Add explicit test for situations where
17947 there are multiple zero bytes after the first.
17949 2014-05-01 Andreas Schwab <schwab@linux-m68k.org>
17952 * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
17953 when compiling wprintf.
17954 * stdio-common/tstdiomisc.c (t3): New function.
17957 2014-05-01 Steve Ellcey <sellcey@mips.com>
17959 * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
17960 * iconv/gconv_simple.c (ONE_DIRECTION): Define.
17961 * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
17962 * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
17964 2014-05-01 Steve Ellcey <sellcey@mips.com>
17966 * stdlib/longlong.h: Updated from GCC.
17968 2014-05-01 Will Newton <will.newton@linaro.org>
17969 Bernard Ogden <bernie.ogden@linaro.org>
17971 * NEWS: Update fixed bug list.
17974 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
17976 2014-04-30 David S. Miller <davem@davemloft.net>
17978 * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
17979 (libc_feholdexcept_setround_sparc_ctx): New function.
17980 (libc_fesetenv_sparc_ctx): Likewise.
17981 (libc_feupdateenv_sparc_ctx): Likewise.
17982 (libc_feholdsetround_sparc_ctx): Likewise.
17983 (libc_feholdexcept_setround_ctx): Define.
17984 (libc_feholdexcept_setroundf_ctx): Likewise.
17985 (libc_feholdexcept_setroundl_ctx): Likewise.
17986 (libc_fesetenv_ctx): Likewise.
17987 (libc_fesetenvf_ctx): Likewise.
17988 (libc_fesetenvl_ctx): Likewise.
17989 (libc_feupdateenv_ctx): Likewise.
17990 (libc_feupdateenvf_ctx): Likewise.
17991 (libc_feupdateenvl_ctx): Likewise.
17992 (libc_feresetround_ctx): Likewise.
17993 (libc_feresetroundf_ctx): Likewise.
17994 (libc_feresetroundl_ctx): Likewise.
17995 (libc_feholdsetround_ctx): Likewise.
17996 (libc_feholdsetroundf_ctx): Likewise.
17997 (libc_feholdsetroundl_ctx): Likewise.
17999 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
18000 with __USE_GNU instead of XOPEN cpp guards.
18002 * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
18005 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
18006 with XOPEN cpp guards.
18008 2014-04-30 Julian Brown <julian@codesourcery.com>
18011 * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
18014 2014-04-30 Joseph Myers <joseph@codesourcery.com>
18017 * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
18019 (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
18020 * sysdeps/unix/sysv/linux/configure: Regenerated.
18021 * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
18022 * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
18023 * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
18024 * sysdeps/unix/sysv/linux/tile/configure: Likewise.
18025 * README: Update reference to required Linux kernel version.
18026 * manual/install.texi (Linux): Update reference to required Linux
18027 kernel headers version.
18028 * INSTALL: Regenerated.
18030 * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
18032 [POSIX] (limits.h): Likewise.
18033 [POSIX] (math.h): Likewise.
18034 [POSIX] (sys/wait.h): Likewise.
18035 * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
18037 [POSIX] (stddef.h): Do not allow header inclusion.
18039 2014-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18041 * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
18043 2014-04-30 Yang Yingliang <yangyingliang@huawei.com>
18045 * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
18046 Return immediately after lll_futex_wake.
18048 2014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
18051 * nscd/nscd-client.h (datahead_init_common): Initialize entire
18053 (datahead_init_pos): Call datahead_init_common early.
18054 (datahead_init_neg): Likewise.
18056 * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
18057 datahead_init_neg): New functions.
18058 * nscd/aicache.c (addhstaiX): Use them.
18059 * nscd/grpcache.c (cache_addgr): Likewise.
18060 * nscd/hstcache.c (cache_addhst): Likewise.
18061 * nscd/initgrcache.c (addinitgroupsX): Likewise.
18062 * nscd/netgroupcache.c (do_notfound): Likewise.
18063 (addgetnetgrentX): Likewise.
18064 (addinnetgrX): Likewise.
18065 * nscd/pwdcache.c (cache_addpw): Likewise.
18066 * nscd/servicescache.c (cache_addserv): Likewise.
18068 2014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
18069 Atsushi Onoe <atsushi@onoe.org>
18074 * resolv/res_query.c (__libc_res_nsearch): Return if at least
18075 one response is valid.
18076 * resolv/res_send.c (send_dg): Check for validity of other
18077 response if the current response is a referral.
18079 2014-04-29 Steve Ellcey <sellcey@mips.com>
18081 * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
18083 2014-04-29 Stefan Liebler <stli@linux.vnet.ibm.com>
18086 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
18087 Always divide by positive zero when computing -Inf result.
18088 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
18089 * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
18091 2014-04-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18093 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
18094 FPSCR if value do not change.
18095 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
18096 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
18097 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
18098 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
18099 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
18100 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
18103 2014-05-29 Carlos O'Donell <carlos@systemhalted.org>
18105 * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
18106 * sysdeps/unix/sysv/linux/hppa: Move directory from
18107 ports/systeps/unix/sysv/linux/hppa.
18108 * README: Update listing for hppa-*-linux-gnu.
18110 2014-04-28 Ondřej Bílka <neleai@seznam.cz>
18113 * manual/stdio.texi (Hook functions): Fix types of stream hook
18116 * socket/sys/socket.h: Fix typo in comment.
18118 2014-04-28 Wilco <wdijkstr@arm.com>
18120 * sysdeps/arm/fenv_private.h: New file.
18121 * sysdeps/arm/math_private.h: New file.
18122 * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
18124 2014-04-25 H.J. Lu <hongjiu.lu@intel.com>
18126 * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
18128 (La_x86_64_retval): Likewise.
18130 2014-04-24 Ian Bolton <ian.bolton@arm.com>
18132 * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
18133 fpsr if value didn't change.
18134 * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
18135 to fpcr if value didn't change.
18136 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
18137 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
18138 fpsr or fpcr if value didn't change.
18139 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
18140 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
18141 fpcr if value didn't change.
18142 * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
18143 to fpsr if value didn't change.
18145 2014-02-23 Siddhesh Poyarekar <siddhesh@redhat.com>
18147 * nptl/tst-sem3.c: Use test-skeleton.c
18148 (main): Rename to do_test. Use return instead of
18150 * nptl/tst-sem4.c: Use test-skeleton.c
18151 (main): Rename to do_test.
18153 2014-04-22 David S. Miller <davem@davemloft.net>
18155 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
18156 (struct sigaction): New struct member __glibc_reserved0, change
18157 type of sa_flags to int.
18159 2014-04-22 Yufeng Zhang <yufeng.zhang@arm.com>
18161 * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
18162 (COUNT_LEADING_ZEROS_0): Define for AArch64.
18164 2014-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
18166 * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
18167 * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
18169 2014-04-22 Will Newton <will.newton@linaro.org>
18170 Venkataramanan Kumar <venkataramanan.kumar@linaro.org>
18172 * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
18173 (__longjmp): Add longjmp and longjmp_target SystemTap
18175 * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
18176 (__sigsetjmp): Add setjmp SystemTap probe.
18178 2014-04-17 Carlos O'Donell <carlos@redhat.com>
18180 * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
18181 match manual order.
18183 2014-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18185 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
18187 * sysdeps/powerpc/fpu/fenv_private.h
18188 (libc_feholdexcept_setroundl_ctx): Define to
18189 libc_feholdexcept_setround_ppc_ctx.
18190 (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
18191 (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
18192 (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
18193 (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
18195 2014-04-17 Ian Bolton <ian.bolton@arm.com>
18197 * sysdeps/aarch64/math-tests.h: New file.
18199 2014-04-17 Sihai Yao <sihai.ysh@alibaba-inc.com>
18201 * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
18203 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
18204 Check and set bit_AVX2_Usable.
18205 * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
18207 (bit_AVX2): Likewise.
18208 (index_AVX2_Usable): Likewise.
18209 (CPUID_AVX2): Likewise.
18210 (HAS_AVX2): Likewise.
18212 2014-04-17 Will Newton <will.newton@linaro.org>
18214 * manual/setjmp.texi (System V contexts): Add note that
18215 calling setcontext on a context created by a call to a
18216 signal handler is undefined. Update text to note that
18217 setcontext from a signal handler is possible but not
18221 * stdlib/tst-setcontext.c: Include signal.h.
18222 (main): Check that the signal stack before and
18223 after swapcontext is the same.
18225 * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
18226 Re-implement to restore registers in user code and avoid
18227 rt_sigreturn system call.
18229 2014-04-17 Wilco <wdijkstr@arm.com>
18231 * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
18232 * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
18233 * math/test-fenv.c: Skip exception trap tests on targets which only
18234 support non-stop mode.
18236 2014-04-17 Ian Bolton <ian.bolton@arm.com>
18237 Wilco Dijkstra <wilco.dijkstra@arm.com>
18239 * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
18240 (libc_feholdsetround_aarch64_ctx)
18241 (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
18242 (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
18243 (libc_feresetround_ctx, libc_feresetroundf_ctx)
18244 (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
18245 (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
18246 (libc_feresetround_noexl_ctx): Define.
18248 2014-04-16 Richard Henderson <rth@redhat.com>
18250 * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
18252 * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
18255 * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
18256 const from the non-libc, non-ldso copy.
18258 * sysdeps/alpha/libm-test-ulps: Regenerate.
18260 2014-04-16 Ian Bolton <ian.bolton@arm.com>
18261 Wilco Dijkstra <wilco.dijkstra@arm.com>
18263 * sysdeps/aarch64/fpu/math_private.h: New file.
18265 2014-04-16 Marcus Shawcroft <marcus.shawcroft@arm.com>
18267 * sysdeps/aarch64/libm-test-ulps: Regenerate.
18269 2014-04-16 Igor Zamyatin <igor.zamyatin@intel.com>
18272 * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
18273 (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
18274 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
18275 Intel MPX bound registers before _dl_profile_fixup.
18276 * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
18277 registers after _dl_profile_fixup. Save and restore bound
18278 registers bnd0/bnd1 when calling _dl_call_pltexit.
18279 * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
18280 (LR_BND_OFFSET): Likewise.
18281 (LRV_BND0_OFFSET): Likewise.
18282 (LRV_BND1_OFFSET): Likewise.
18284 2014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
18286 * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
18288 * sysdeps/mach/hurd/i386/tls.h: ... here.
18289 (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
18290 pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
18293 2014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
18295 * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
18297 2014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
18299 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
18301 2014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
18304 * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
18305 * sysdeps/s390/configure: Regenerate.
18308 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
18309 Set round-to-nearest internally to reduce error accumulation.
18311 2014-04-16 Alan Modra <amodra@gmail.com>
18315 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
18316 * math/libm-test.inc (frexp_test_data): Add tests.
18317 * NEWS: Update fixed bug list.
18319 2014-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
18321 * benchtests/Makefile: Depend on libraries in build directory.
18322 (bench-math): Separate out math tests.
18323 (bench-pthread): Separate out pthread tests.
18324 (bench): Include math and pthread tests.
18326 2014-04-14 Carlos O'Donell <carlos@redhat.com>
18329 * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
18330 _dl_debug_initialize.
18332 * configure.ac: Remove SELinux header check.
18333 * configure: Regenerate.
18334 * nscd/selinux.c (perms): Array of const char* to permission names.
18335 (nscd_request_avc_has_perm): Call security_deny_unknown to find
18336 default policy. Call string_to_security_class and string_to_av_perm to
18337 translate strings. Enforce default policy and call avs_has_perm with
18338 results of translated strings.
18340 2014-04-13 David S. Miller <davem@davemloft.net>
18342 * sysdeps/sparc/fpu/libm-test-ulps: Update.
18344 2014-04-12 Allan McRae <allan@archlinux.org>
18347 * manual/string.texi (Collation Functions): Fix qsort argument
18349 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
18351 2014-04-11 Chris Metcalf <cmetcalf@tilera.com>
18353 * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
18354 Make the test a no-op if there are no exceptions defined.
18356 2014-04-11 Paul Pluzhnikov <ppluzhnikov@google.com>
18358 * elf/Makefile (tests): make tst-dlopen-aout conditional on
18359 enable-hardcoded-path-in-tests
18361 2014-04-11 Will Newton <will.newton@linaro.org>
18363 * benchtests/Makefile (extra-objs): Add json-lib.o.
18364 (bench-func): Tidy up JSON output.
18365 * benchtests/bench-skeleton.c: Include json-lib.h.
18366 (main): Use JSON library functions to do output of
18368 * benchtests/bench-timing-type.c (main): Output the
18369 timing type simply, leaving formatting to the user.
18370 * benchtests/json-lib.c: New file.
18371 * benchtests/json-lib.h: Likewise.
18373 2014-04-11 Torvald Riegel <triegel@redhat.com>
18376 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
18377 * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here. Add missing
18378 memory barriers. Add comments.
18379 * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
18380 * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
18381 * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
18382 * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
18383 * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
18384 * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
18386 2014-04-11 Stefan Liebler <stli@linux.vnet.ibm.com>
18388 * sysdeps/s390/s390-32/configure.ac: Unify file with ...
18389 * sysdeps/s390/s390-64/configure.ac: ... this ...
18390 * sysdeps/s390/configure.ac: ... to here.
18391 * sysdeps/s390/s390-32/configure: Delete file.
18392 * sysdeps/s390/s390-64/configure: Delete file.
18393 * sysdeps/s390/configure: Regenerate.
18395 2014-04-11 Joseph Anthony Pasquale Holsten <joseph@josephholsten.com>
18397 * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
18399 2014-04-11 Will Newton <will.newton@linaro.org>
18401 * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
18402 to zero if it is not defined elsewhere. (mtrim): Test
18403 the value of MALLOC_DEBUG with #if rather than #ifdef.
18405 2014-04-10 Torvald Riegel <triegel@redhat.com>
18407 * benchtests/pthread_once-inputs: New file.
18408 * benchtests/pthread_once-source.c: New file.
18409 * benchtests/README: Update documentation.
18411 2014-04-09 Igor Zamyatin <igor.zamyatin@intel.com>
18412 H.J. Lu <hongjiu.lu@intel.com>
18415 * config.h.in (HAVE_MPX_SUPPORT): New #undef.
18416 * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
18417 * sysdeps/x86_64/configure: Regenerated.
18418 * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
18420 (REGISTER_SAVE_RAX): Likewise.
18421 (REGISTER_SAVE_RCX): Likewise.
18422 (REGISTER_SAVE_RDX): Likewise.
18423 (REGISTER_SAVE_RSI): Likewise.
18424 (REGISTER_SAVE_RDI): Likewise.
18425 (REGISTER_SAVE_R8): Likewise.
18426 (REGISTER_SAVE_R9): Likewise.
18427 (REGISTER_SAVE_BND0): Likewise.
18428 (REGISTER_SAVE_BND1): Likewise.
18429 (REGISTER_SAVE_BND2): Likewise.
18430 (_dl_runtime_resolve): Use them. Save and restore Intel MPX
18431 bound registers when calling _dl_fixup.
18433 2014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18435 * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
18436 * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
18438 * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
18439 * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
18440 * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
18441 * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
18442 * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
18443 * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
18444 * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
18446 2014-04-09 Peter Brett <peter@peter-b.co.uk>
18449 * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
18450 pathconf(_PC_NAME_MAX).
18452 2014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18454 * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
18455 Remove macro usage.
18456 (__PTHREAD_SPINS): Move definition to ...
18457 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
18458 (__PTHREAD_SPINS): ... here.
18459 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
18460 (__PTHREAD_SPIN): Likewise.
18461 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
18462 (__PTHREAD_SPIN): Likewise.
18463 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
18464 (__PTHREAD_SPIN): Likewise.
18465 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
18466 (__PTHREAD_SPIN): Likewise.
18467 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
18468 (__PTHREAD_SPIN): Likewise.
18469 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
18470 (__PTHREAD_SPIN): Likewise.
18471 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
18472 (__PTHREAD_SPIN): Likewise.
18473 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
18474 (__PTHREAD_SPIN): Likewise.
18475 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
18476 (__PTHREAD_SPIN): Likewise.
18477 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
18478 (__PTHREAD_SPIN): Likewise.
18479 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
18480 (__PTHREAD_SPIN): Likewise.
18481 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
18482 (__PTHREAD_SPIN): Likewise.
18484 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
18485 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
18486 * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
18487 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
18489 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
18490 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
18491 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
18492 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
18493 correct imply path.
18494 * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
18495 strlen symbol for non multi-arch builds.
18496 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
18497 missing hidden_def and weak_alias.
18499 2014-04-08 Carlos O'Donell <carlos@redhat.com>
18501 * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
18503 2014-04-07 Will Newton <will.newton@linaro.org>
18505 * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
18506 and contents. [!_LIBC] Remove #ifndef and contents.
18507 (basename): Use ANSI prototype. [_LIBC] Remove #idef.
18508 * string/memccpy.c (__memccpy): Use ANSI prototype.
18509 * string/memfrob.c (memfrob): Likewise.
18510 * string/strcoll.c (STRCOLL): Likewise.
18511 * string/strlen.c (strlen): Likewise.
18512 * string/strtok.c (STRTOK): Likewise.
18513 * string/strcat.c: Remove unused #include of memcopy.h.
18514 (strcat): Use ANSI prototype.
18515 * string/strchr.c: Remove unused #include of memcopy.h.
18516 (strchr): Use ANSI prototype.
18517 * string/strcmp.c: Remove unused #include of memcopy.h.
18518 (strcmp): Use ANSI prototype.
18519 * string/strcpy.c: Remove unused #include of memcopy.h.
18520 (strcpy): Use ANSI prototype.
18522 2014-04-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18524 * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
18525 * config.make.in (config-extra-cppflags): Set it from
18526 libc_extra_cppflags.
18527 * configure.ac (libc_extra_cflags): Make it accumulate over
18528 configure fragments.
18529 (libc_extra_cppflags): New flag.
18530 * configure. Regenerate.
18531 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
18532 (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
18533 not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
18534 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
18537 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
18538 result for FE_DOWNWARD rounding mode.
18539 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
18541 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18543 2014-04-04 Chris Metcalf <cmetcalf@tilera.com>
18545 * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
18546 in function argument name.
18548 2014-04-03 David Svoboda <svoboda@cert.org>
18551 * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
18554 2014-04-03 Roland McGrath <roland@hack.frob.com>
18556 * elf/dl-unmap-segments.h: New file.
18557 * sysdeps/generic/ldsodefs.h
18558 (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
18559 * elf/dl-close.c: Include <dl-unmap-segments.h>.
18560 * elf/dl-fptr.c: Likewise.
18561 (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
18562 * sysdeps/aarch64/tlsdesc.c: Likewise.
18563 * sysdeps/arm/tlsdesc.c: Likewise.
18564 * sysdeps/i386/tlsdesc.c: Likewise.
18565 * sysdeps/tile/dl-runtime.c: Likewise.
18566 * sysdeps/x86_64/tlsdesc.c: Likewise.
18567 * elf/dl-load.h: New file.
18568 * elf/dl-load.c: Include it.
18569 (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
18570 Macros moved to dl-load.h.
18571 (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
18572 (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
18573 Use _dl_unmap_segments in place of __munmap.
18574 Break out segment-mapping loop into ...
18575 * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
18577 2014-04-03 Will Newton <will.newton@linaro.org>
18579 * elf/dl-lookup.c (do_lookup_x): Remove comment
18580 referring to nested function and move variable
18581 declarations down to before first use.
18583 2014-04-02 Joseph Myers <joseph@codesourcery.com>
18587 * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
18589 * math/s_catanf.c (__catanf): Likewise.
18590 * math/s_catanh.c (__catanh): Likewise.
18591 * math/s_catanhf.c (__catanhf): Likewise.
18592 * math/s_catanhl.c (__catanhl): Likewise.
18593 * math/s_catanl.c (__catanl): Likewise.
18594 * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
18595 by positive zero when computing -Inf result.
18596 * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
18597 (catanh_test): Likewise.
18598 * sysdeps/i386/fpu/libm-test-ulps: Update.
18599 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18602 * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
18603 instead of using underflowing value in computing result.
18604 * math/s_clog10.c (__clog10): Likewise.
18605 * math/s_clog10f.c (__clog10f): Likewise.
18606 * math/s_clog10l.c (__clog10l): Likewise.
18607 * math/s_clogf.c (__clogf): Likewise.
18608 * math/s_clogl.c (__clogl): Likewise.
18609 * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
18610 (clog10_test): Likewise.
18611 * sysdeps/i386/fpu/libm-test-ulps: Update.
18612 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18614 2014-04-02 Alan Modra <amodra@gmail.com>
18617 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
18618 output when value is near a power of two. Use int64_t for lx and
18619 remove casts. Use decimal rather than hex exponent constants.
18620 Don't use long double multiplication when double will suffice.
18621 * math/libm-test.inc (nextafter_test_data): Add tests.
18622 * NEWS: Add 16739 and 16786 to bug list.
18624 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
18626 * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
18628 2014-04-01 Will Newton <will.newton@linaro.org>
18630 * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
18631 -fno-builtin. (CFLAGS-bench-ffsll.c): Likewise.
18633 2014-04-01 Florian Weimer <fweimer@redhat.com>
18636 * nptl/nptl-init.c (sighandler_setxid): Check system call result.
18637 * nptl/tst-setuid2.c: New file.
18638 * nptl/Makefile (xtests): Add tst-setuid2.
18640 2014-04-01 Alan Modra <amodra@gmail.com>
18643 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
18645 2014-03-31 Joseph Myers <joseph@codesourcery.com>
18649 * math/w_scalb.c (__scalb): For non-SVID mode, check result and
18650 set errno as appropriate.
18651 * math/w_scalbf.c (__scalbf): Likewise.
18652 * math/w_scalbl.c (__scalbl): Likewise.
18653 * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
18654 ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
18655 * math/libm-test.inc (scalb_test_data): Add errno expectations.
18656 Add more NaN tests.
18659 * math/w_atan2.c: Include <errno.h>.
18660 (__atan2): Set errno for result underflowing to zero.
18661 * math/w_atan2f.c: Include <errno.h>.
18662 (__atan2f): Set errno for result underflowing to zero.
18663 * math/w_atan2l.c: Include <errno.h>.
18664 (__atan2l): Set errno for result underflowing to zero.
18665 * math/auto-libm-test-in: Don't allow missing errno for some atan2
18667 * math/auto-libm-test-out: Regenerated.
18669 2014-03-31 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18671 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
18672 Encode instruction correctly in little endian.
18673 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
18675 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
18677 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
18679 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
18682 2014-03-31 Joseph Myers <joseph@codesourcery.com>
18685 * sysdeps/unix/sysv/linux/kernel-features.h
18686 [__sparc__ && !__arch64__ && !__sparc_v9__]
18687 (__ASSUME_SET_ROBUST_LIST): Do not define.
18688 [__sparc__ && !__arch64__ && !__sparc_v9__]
18689 (__ASSUME_FUTEX_LOCK_PI): Likewise.
18690 [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
18692 * sysdeps/unix/sysv/linux/arm/kernel-features.h
18693 (__ASSUME_FUTEX_LOCK_PI): Undefine.
18694 (__ASSUME_REQUEUE_PI): Likewise.
18695 (__ASSUME_SET_ROBUST_LIST): Likewise.
18696 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
18697 [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
18699 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
18700 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
18702 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
18704 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
18706 * sysdeps/unix/sysv/linux/mips/kernel-features.h
18707 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
18709 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
18710 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
18714 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
18715 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
18716 * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
18718 2014-03-31 Will Newton <will.newton@linaro.org>
18720 * benchtests/Makefile (bench): Add ffs and ffsll to list
18722 * benchtests/ffs-inputs: New file.
18723 * benchtests/ffsll-inputs: Likewise.
18725 2014-03-29 Joseph Myers <joseph@codesourcery.com>
18728 * math/e_scalb.c (__ieee754_scalb): Check second argument is not
18729 too large before casting to int.
18730 * math/e_scalbf.c (__ieee754_scalbf): Likewise.
18731 * math/e_scalbl.c (__ieee754_scalbl): Likewise.
18732 * math/libm-test.inc (scalb_test_data): Add more tests.
18734 2014-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
18736 * benchtests/Makefile (DETAILED_OPT): New make option.
18737 (bench-func): Run benchmark program with -d if DETAILED_OPT is
18739 * benchtests/bench-skeleton.c: Include stdbool.h.
18740 (main): Store and print timings per input.
18741 * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
18742 member to each argument value.
18743 (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
18744 (_print_arg_data): Initialize per-input timing to 0.
18746 * benchtests/Makefile (timing-type): New binary.
18747 (bench-clean): Also remove bench-timing-type.
18748 (bench): New target for timing-type.
18749 (bench-func): Print output in JSON format.
18750 * benchtests/bench-skeleton.c (main): Print output in JSON
18752 * benchtests/bench-timing-type.c: New file.
18753 * benchtests/bench-timing.h (TIMING_TYPE): New macro.
18754 (TIMING_PRINT_STATS): Remove.
18755 * benchtests/scripts/bench.py (_print_arg_data): Store variant
18758 * benchtests/bench-modf.c: Remove.
18759 * benchtests/modf-inputs: New inputs file.
18761 2014-03-28 Joseph Myers <joseph@codesourcery.com>
18764 * math/s_clog10.c (M_PI_LOG10E): New macro.
18765 (__clog10): Use M_PI_LOG10E instead of M_PI when real and
18766 imaginary parts are 0.
18767 * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
18768 (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
18769 imaginary parts are 0.
18770 * math/s_clog10l.c (M_PI_LOG10El): New macro.
18771 (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
18772 imaginary parts are 0.
18773 * math/libm-test.inc (clog10_test_data): Update expected results
18774 for when real and imaginary parts are 0.
18776 2014-03-27 Paul Pluzhnikov <ppluzhnikov@google.com>
18778 * elf/dl-load.c: Finish conversion of __builtin_expect into
18779 __glibc_{un}likely.
18781 2014-03-27 Joseph Myers <joseph@codesourcery.com>
18784 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
18785 1+x for argument with exponent below -67.
18786 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
18788 * math/auto-libm-test-in: Add more tests of exp.
18789 * math/auto-libm-test-out: Regenerated.
18791 2014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
18794 * inet/getnetgrent_r.c (get_nonempty_val): New function.
18795 (nscd_getnetgrent): Use it.
18798 * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
18801 2014-03-27 Andi Kleen <ak@linux.intel.com>
18803 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
18804 (lll_robust_lock, lll_cond_lock, lll_timedlock)
18805 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
18806 (lll_robust_unlock): Remove out of line section. Use cfi
18808 (LLL_STUB_UNWIND_INFO*): Remove.
18809 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
18810 (lll_robust_lock, lll_cond_lock, lll_timedlock)
18811 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
18812 (lll_robust_unlock): Remove out of line section. Use cfi
18814 (LLL_STUB_UNWIND_INFO*): Remove.
18816 2014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
18819 * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
18822 2014-03-26 Paul Pluzhnikov <ppluzhnikov@google.com>
18824 * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
18826 2014-03-26 Joseph Myers <joseph@codesourcery.com>
18829 * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
18831 * math/test-fenv-preserve.c: New file.
18832 * math/Makefile (tests): Add test-fenv-preserve.
18834 2014-03-26 Will Newton <will.newton@linaro.org>
18836 * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
18838 2014-03-25 Roland McGrath <roland@hack.frob.com>
18840 * scripts/versionlist.awk: Partition the version sets and emit all
18841 GLIBC_* (sorted) before all others (sorted).
18843 2014-03-25 Joseph Myers <joseph@codesourcery.com>
18845 * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
18846 GLIBC_2.2.5 version.
18848 2014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18850 * scripts/localplt.awk: Check for PLT generated by internal IFUNC
18853 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
18856 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18858 2014-03-25 Andreas Schwab <schwab@suse.de>
18860 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
18861 label to be used after in6ailist is initialized.
18863 2014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18865 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
18866 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
18868 2014-03-25 Joseph Myers <joseph@codesourcery.com>
18872 * math/gen-auto-libm-tests.c (fp_format_desc): Add field
18874 (fp_formats): Update initializers.
18875 (init_fp_formats): Initialize new field.
18876 (output_for_one_input_case): Allow underflow for results up to
18878 * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
18879 * math/auto-libm-test-in: Don't mark some underflows from asin and
18881 * math/auto-libm-test-out: Regenerated.
18882 * sysdeps/i386/fpu/libm-test-ulps: Update.
18883 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18885 2014-03-25 Andreas Schwab <schwab@suse.de>
18887 * libio/Makefile (tst-ftell-partial-wide-ENV)
18888 (tst-ftell-active-handler-ENV): Define.
18890 2014-03-25 Stefan Liebler <stli@linux.vnet.ibm.com>
18892 * NEWS: Add 16712, 16713, 16714 to fixed bug list.
18894 2014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
18896 * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
18898 2014-03-24 Joseph Myers <joseph@codesourcery.com>
18900 * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
18901 * sysdeps/x86_64/fpu/multiarch/e_exp.c
18902 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
18904 2014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
18907 * elf/dl-load.c (open_verify): Add mode parameter.
18908 Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
18909 (open_path): Change from boolean 'secure' to complete flag 'mode'
18910 (_dl_map_object): Adjust.
18911 * elf/Makefile (tests): Add tst-dlopen-aout.
18912 * elf/tst-dlopen-aout.c: New test.
18914 2014-03-24 Stefan Liebler <stli@linux.vnet.ibm.com>
18917 * sysdeps/unix/sysv/linux/s390/bits/stat.h
18918 (struct stat): Rename member pad0 to __glibc_reserved0.
18921 * sysdeps/s390/s390-32/bits/wordsize.h
18922 (__WORDSIZE32_SIZE_ULONG): New define.
18923 * sysdeps/s390/s390-64/bits/wordsize.h
18924 (__WORDSIZE32_SIZE_ULONG): Likewise.
18925 * sysdeps/generic/stdint.h (SIZE_MAX):
18926 Define as UL if __WORDSIZE32_SIZE_ULONG.
18929 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
18930 (__glibc_reserved0): New variable.
18931 (sa_flags): Change type to int.
18933 * posix/Makefile (before-compile): Use += before-compile instead
18936 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
18937 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
18939 2014-03-20 Andreas Schwab <schwab@suse.de>
18942 * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
18943 non-matching result from nscd.
18945 2014-03-24 Siddhesh Poyarekar <siddhesh@redhat.com>
18947 * scripts/bench.py: Moved to ...
18948 * benchtests/scripts/bench.py: ... here.
18949 * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
18951 2014-03-24 Andreas Schwab <schwab@suse.de>
18954 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
18955 alloca_account and account alloca use for struct in6ailist.
18957 2014-03-24 Joseph Myers <joseph@codesourcery.com>
18960 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
18961 rounding mode to recompute results that overflow to infinity or
18963 * math/auto-libm-test-in: Don't mark tests as expected to fail for
18965 * math/auto-libm-test-out: Regenerated.
18966 * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
18967 (ccosh_test): Likewise.
18968 (csin_test_data): Use plus_oflow.
18969 (csin_test): Use ALL_RM_TEST.
18970 (csinh_test_data): Use plus_oflow.
18971 (csinh_test): Use ALL_RM_TEST.
18972 * sysdeps/i386/fpu/libm-test-ulps: Update.
18973 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18975 2014-03-21 Joseph Myers <joseph@codesourcery.com>
18977 * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
18978 * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
18979 * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
18982 * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
18983 when x - 1 is zero.
18984 * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
18985 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
18986 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
18987 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
18989 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
18990 * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
18992 * math/libm-test.inc (log_test): Use ALL_RM_TEST.
18993 * sysdeps/i386/fpu/libm-test-ulps: Update.
18994 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18996 2014-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
18998 * scripts/bench.pl: Remove file.
18999 * scripts/bench.py: New benchmark script.
19000 * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
19001 * benchtests/README: Mention python dependency.
19002 * scripts/pylintrc: New file.
19003 * scripts/pylint: New file.
19005 * bits/mathdef.h: Use #ifdef instead of #if.
19006 * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
19007 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
19008 * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
19009 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
19010 * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
19011 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
19013 2014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19014 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
19016 * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
19017 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
19018 and strpbrk-ppc64 objects.
19019 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
19020 (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
19021 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
19022 multiarch strpbrk for POWER7.
19023 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
19024 multiarch strpbrk for PPC64.
19025 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
19027 * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
19028 strpbrk for POWER7.
19030 2014-03-20 Joseph Myers <joseph@codesourcery.com>
19032 * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
19033 (atan_test): Likewise.
19034 (atanh_test_data): Use NO_TEST_INLINE for two tests.
19035 (atanh_test): Use ALL_RM_TEST.
19036 (atan2_test_data): Likewise.
19037 (cabs_test): Likewise.
19038 (cacosh_test): Likewise.
19039 (carg_test): Likewise.
19040 (casin_test): Likewise.
19041 (casinh_test): Likewise.
19042 (cbrt_test): Likewise.
19043 (csqrt_test): Likewise.
19044 (erf_test): Likewise.
19045 (erfc_test): Likewise.
19046 (pow10_test): Likewise.
19047 (exp2_test): Likewise.
19048 (hypot_test): Likewise.
19049 (j0_test): Likewise.
19050 (j1_test): Likewise.
19051 (lgamma_test): Likewise.
19052 (gamma_test): Likewise.
19053 (sincos_test): Likewise.
19054 (tanh_test): Likewise.
19055 (y0_test): Likewise.
19056 (y1_test): Likewise.
19057 * sysdeps/i386/fpu/libm-test-ulps: Update.
19058 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19060 2014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19062 * string/strcspn.c (strcspn): Using macro to redefine symbol name.
19063 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
19064 and strcspn-ppc64 objects.
19065 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
19066 (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
19067 * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
19068 multiarch strcspn for POWER7.
19069 * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
19070 multiarch strcspn for PPC64.
19071 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
19073 * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
19074 strcspn for POWER7.
19076 2014-03-20 Joseph Myers <joseph@codesourcery.com>
19078 * math/gen-libm-test.pl (generate_testfile): Expect only function
19079 name as argument to AUTO_TESTS_* and pass results for all rounding
19080 modes to parse_args.
19081 (parse_auto_input): Separate inputs of automatic tests from
19082 outputs before storing in %auto_tests.
19083 * math/libm-test.inc (acos_test_data): Update call to
19085 (acos_test): Use ALL_RM_TEST.
19086 (acos_tonearest_test_data): Remove.
19087 (acos_test_tonearest): Likewise.
19088 (acos_towardzero_test_data): Likewise.
19089 (acos_test_towardzero): Likewise.
19090 (acos_downward_test_data): Likewise.
19091 (acos_test_downward): Likewise.
19092 (acos_upward_test_data): Likewise.
19093 (acos_test_upward): Likewise.
19094 (acosh_test_data): Update call to AUTO_TESTS_f_f.
19095 (asin_test_data): Likewise.
19096 (asin_test): Use ALL_RM_TEST.
19097 (asin_tonearest_test_data): Remove.
19098 (asin_test_tonearest): Likewise.
19099 (asin_towardzero_test_data): Likewise.
19100 (asin_test_towardzero): Likewise.
19101 (asin_downward_test_data): Likewise.
19102 (asin_test_downward): Likewise.
19103 (asin_upward_test_data): Likewise.
19104 (asin_test_upward): Likewise.
19105 (asinh_test_data): Update call to AUTO_TESTS_f_f.
19106 (atan_test_data): Likewise.
19107 (atanh_test_data): Likewise.
19108 (atan2_test_data): Update call to AUTO_TESTS_ff_f.
19109 (cabs_test_data): Update call to AUTO_TESTS_c_f.
19110 (carg_test_data): Likewise.
19111 (cbrt_test_data): Update call to AUTO_TESTS_f_f.
19112 (ccos_test_data): Update call to AUTO_TESTS_c_c.
19113 (ccosh_test_data): Likewise.
19114 (cexp_test_data): Likewise.
19115 (clog_test_data): Likewise.
19116 (clog10_test_data): Likewise.
19117 (cos_test_data): Update call to AUTO_TESTS_f_f.
19118 (cos_test): Use ALL_RM_TEST.
19119 (cos_tonearest_test_data): Remove.
19120 (cos_test_tonearest): Likewise.
19121 (cos_towardzero_test_data): Likewise.
19122 (cos_test_towardzero): Likewise.
19123 (cos_downward_test_data): Likewise.
19124 (cos_test_downward): Likewise.
19125 (cos_upward_test_data): Likewise.
19126 (cos_test_upward): Likewise.
19127 (cosh_test_data): Update call to AUTO_TESTS_f_f.
19128 (cosh_test): Use ALL_RM_TEST.
19129 (cosh_tonearest_test_data): Remove.
19130 (cosh_test_tonearest): Likewise.
19131 (cosh_towardzero_test_data): Likewise.
19132 (cosh_test_towardzero): Likewise.
19133 (cosh_downward_test_data): Likewise.
19134 (cosh_test_downward): Likewise.
19135 (cosh_upward_test_data): Likewise.
19136 (cosh_test_upward): Likewise.
19137 (cpow_test_data): Update call to AUTO_TESTS_cc_c.
19138 (csqrt_test_data): Update call to AUTO_TESTS_c_c.
19139 (ctan_test_data): Likewise.
19140 (ctan_test): Use ALL_RM_TEST.
19141 (ctan_tonearest_test_data): Remove.
19142 (ctan_test_tonearest): Likewise.
19143 (ctan_towardzero_test_data): Likewise.
19144 (ctan_test_towardzero): Likewise.
19145 (ctan_downward_test_data): Likewise.
19146 (ctan_test_downward): Likewise.
19147 (ctan_upward_test_data): Likewise.
19148 (ctan_test_upward): Likewise.
19149 (ctanh_test_data): Update call to AUTO_TESTS_c_c.
19150 (ctanh_test): Use ALL_RM_TEST.
19151 (ctanh_tonearest_test_data): Remove.
19152 (ctanh_test_tonearest): Likewise.
19153 (ctanh_towardzero_test_data): Likewise.
19154 (ctanh_test_towardzero): Likewise.
19155 (ctanh_downward_test_data): Likewise.
19156 (ctanh_test_downward): Likewise.
19157 (ctanh_upward_test_data): Likewise.
19158 (ctanh_test_upward): Likewise.
19159 (erf_test_data): Update call to AUTO_TESTS_f_f.
19160 (erfc_test_data): Likewise.
19161 (exp_test_data): Likewise.
19162 (exp_test): Use ALL_RM_TEST.
19163 (exp_tonearest_test_data): Remove.
19164 (exp_test_tonearest): Likewise.
19165 (exp_towardzero_test_data): Likewise.
19166 (exp_test_towardzero): Likewise.
19167 (exp_downward_test_data): Likewise.
19168 (exp_test_downward): Likewise.
19169 (exp_upward_test_data): Likewise.
19170 (exp_test_upward): Likewise.
19171 (exp10_test_data): Update call to AUTO_TESTS_f_f.
19172 (exp10_test): Use ALL_RM_TEST.
19173 (exp10_tonearest_test_data): Remove.
19174 (exp10_test_tonearest): Likewise.
19175 (exp10_towardzero_test_data): Likewise.
19176 (exp10_test_towardzero): Likewise.
19177 (exp10_downward_test_data): Likewise.
19178 (exp10_test_downward): Likewise.
19179 (exp10_upward_test_data): Likewise.
19180 (exp10_test_upward): Likewise.
19181 (exp2_test_data): Update call to AUTO_TESTS_f_f.
19182 (expm1_test_data): Likewise.
19183 (expm1_test): Use ALL_RM_TEST.
19184 (expm1_tonearest_test_data): Remove.
19185 (expm1_test_tonearest): Likewise.
19186 (expm1_towardzero_test_data): Likewise.
19187 (expm1_test_towardzero): Likewise.
19188 (expm1_downward_test_data): Likewise.
19189 (expm1_test_downward): Likewise.
19190 (expm1_upward_test_data): Likewise.
19191 (expm1_test_upward): Likewise.
19192 (fma_test_data): Update call to AUTO_TESTS_fff_f.
19193 (fma_test): Use ALL_RM_TEST.
19194 (fma_towardzero_test_data): Remove.
19195 (fma_test_towardzero): Likewise.
19196 (fma_downward_test_data): Likewise.
19197 (fma_test_downward): Likewise.
19198 (fma_upward_test_data): Likewise.
19199 (fma_test_upward): Likewise.
19200 (hypot_test_data): Update call to AUTO_TESTS_ff_f.
19201 (j0_test_data): Update call to AUTO_TESTS_f_f.
19202 (j1_test_data): Likewise.
19203 (jn_test_data): Update call to AUTO_TESTS_if_f.
19204 (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
19205 (log_test_data): Update call to AUTO_TESTS_f_f.
19206 (log10_test_data): Likewise.
19207 (log1p_test_data): Likewise.
19208 (log2_test_data): Likewise.
19209 (pow_test_data): Update call to AUTO_TESTS_ff_f.
19210 (pow_tonearest_test_data): Likewise.
19211 (sin_test_data): Update call to AUTO_TESTS_f_f.
19212 (sin_test): Use ALL_RM_TEST.
19213 (sin_tonearest_test_data): Remove.
19214 (sin_test_tonearest): Likewise.
19215 (sin_towardzero_test_data): Likewise.
19216 (sin_test_towardzero): Likewise.
19217 (sin_downward_test_data): Likewise.
19218 (sin_test_downward): Likewise.
19219 (sin_upward_test_data): Likewise.
19220 (sin_test_upward): Likewise.
19221 (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
19222 (sinh_test_data): Update call to AUTO_TESTS_f_f.
19223 (sinh_test): Use ALL_RM_TEST.
19224 (sinh_tonearest_test_data): Remove.
19225 (sinh_test_tonearest): Likewise.
19226 (sinh_towardzero_test_data): Likewise.
19227 (sinh_test_towardzero): Likewise.
19228 (sinh_downward_test_data): Likewise.
19229 (sinh_test_downward): Likewise.
19230 (sinh_upward_test_data): Likewise.
19231 (sinh_test_upward): Likewise.
19232 (sqrt_test_data): Update call to AUTO_TESTS_f_f.
19233 (sqrt_test): Use ALL_RM_TEST.
19234 (sqrt_tonearest_test_data): Remove.
19235 (sqrt_test_tonearest): Likewise.
19236 (sqrt_towardzero_test_data): Likewise.
19237 (sqrt_test_towardzero): Likewise.
19238 (sqrt_downward_test_data): Likewise.
19239 (sqrt_test_downward): Likewise.
19240 (sqrt_upward_test_data): Likewise.
19241 (sqrt_test_upward): Likewise.
19242 (tan_test_data): Update call to AUTO_TESTS_f_f.
19243 (tan_test): Use ALL_RM_TEST.
19244 (tan_tonearest_test_data): Remove.
19245 (tan_test_tonearest): Likewise.
19246 (tan_towardzero_test_data): Likewise.
19247 (tan_test_towardzero): Likewise.
19248 (tan_downward_test_data): Likewise.
19249 (tan_test_downward): Likewise.
19250 (tan_upward_test_data): Likewise.
19251 (tan_test_upward): Likewise.
19252 (tanh_test_data): Update call to AUTO_TESTS_f_f.
19253 (tgamma_test_data): Likewise.
19254 (y0_test_data): Likewise.
19255 (y1_test_data): Likewise.
19256 (yn_test_data): Update call to AUTO_TESTS_if_f.
19257 (main): Do not call removed functions.
19259 2014-03-19 Joseph Myers <joseph@codesourcery.com>
19261 * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
19262 (ldexp_test_data): Remove.
19263 (ldexp_test): Move to after scalbn_test. Use ALL_RM_TEST with
19265 (scalb_test): Use ALL_RM_TEST.
19267 2014-03-19 Andreas Schwab <schwab@suse.de>
19269 * nscd/nscd.service: Also invalidate netgroup cache on reload.
19271 2014-03-19 Joseph Myers <joseph@codesourcery.com>
19274 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
19275 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
19276 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
19277 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
19278 (__ASSUME_PREADV): Undefine.
19279 (__ASSUME_PWRITEV): Likewise.
19281 2014-03-18 Roland McGrath <roland@hack.frob.com>
19283 * bits/mman-linux.h: Add comment about non-Linux use.
19284 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
19285 bits/mman-linux.h resting place.
19287 * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
19288 * bits/mman-linux.h: ... here.
19290 2014-03-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19292 * conform/conformtest.pl: Add standard definition when calling C
19293 preprocessor on data files.
19294 (checknamespace): Remove unused variable.
19296 2014-03-18 Joseph Myers <joseph@codesourcery.com>
19298 * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
19299 minus_oflow, plus_uflow and minus_uflow in expected results.
19300 * math/libm-test.inc (scalbn_test_data): Add more tests of
19301 negative arguments. Use plus_oflow, minus_oflow, plus_uflow and
19303 (scalbn_test): Use ALL_RM_TEST.
19304 (scalbln_test_data): Add more tests of negative arguments. Use
19305 plus_oflow, minus_oflow, plus_uflow and minus_uflow.
19306 (scalbln_test): Use ALL_RM_TEST.
19308 2014-03-18 Roland McGrath <roland@hack.frob.com>
19310 * scripts/abilist.awk: Ignore symbols marked with .hidden.
19312 2014-03-18 Will Newton <will.newton@linaro.org>
19314 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
19315 inaccurate comment.
19317 2014-03-18 Joseph Myers <joseph@codesourcery.com>
19319 * Makerules [!subdir] (check-abi): Exit with error status if a
19322 2014-03-17 Joseph Myers <joseph@codesourcery.com>
19324 * math/libm-test.inc (nearbyint_test_data): Include all tests used
19325 for rint. Include results for all rounding modes.
19326 (nearbyint_test): Use ALL_RM_TEST.
19327 (rint_test_data): Include all tests used for nearbyint.
19329 2014-03-17 Will Newton <will.newton@linaro.org>
19331 * nptl/sysdeps/pthread/pthread.h: Revert previous
19334 * sysdeps/generic/ldsodefs.h: Revert previous
19337 * libio/genops.c: Revert previous change.
19338 * libio/libioP.h: Likewise.
19339 * stdio-common/vfprintf.c: Likewise.
19341 * sysdeps/generic/math_private.h: Revert previous
19344 * sysdeps/generic/math_private.h: Check whether
19345 HAVE_RM_CTX is defined with #ifdef rather
19348 * argp/argp-fmtstream.h: Check whether
19349 __STRICT_ANSI__ is defined with #ifdef rather
19351 * argp/argp.h: Likewise.
19353 * libio/genops.c: Check whether
19354 _IO_JUMPS_OFFSET is defined with #ifdef rather
19356 * libio/libioP.h: Likewise.
19357 * stdio-common/vfprintf.c: Likewise.
19359 * sysdeps/generic/ldsodefs.h: Check whether
19360 HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
19363 * nptl/sysdeps/pthread/pthread.h: Check
19364 __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
19367 2014-03-17 Siddhesh Poyarekar <siddhesh@redhat.com>
19369 * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
19371 * libio/tst-ftell-active-handler.c (do_append_test): Add a
19375 * libio/fileops.c (_IO_file_open): Seek to end of file but
19376 don't cache the offset.
19377 (get_file_offset): Remove function.
19378 (do_ftell): Use cached offset when available.
19379 * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
19380 don't cache the offset.
19381 * libio/tst-ftell-active-handler.c (do_rewind_test): New test
19383 (do_one_test): Call it.
19384 (do_ftell_test): Fix up expected old offset for a+ mode.
19385 * libio/wfileops.c (do_ftell_wide): Used cached offset when
19388 * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
19389 up test status with function return status.
19390 (do_write_test): Likewise.
19391 (do_append_test): Likewise.
19393 * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
19394 && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
19397 2014-03-17 Joseph Myers <joseph@codesourcery.com>
19399 * math/gen-libm-test.pl (parse_args): Handle results specified for
19400 each rounding mode separately.
19401 * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
19402 tests and results from lrint_tonearest_test_data,
19403 lrint_towardzero_test_data, lrint_downward_test_data and
19404 lrint_upward_test_data.
19405 (lrint_test): Use ALL_RM_TEST.
19406 (lrint_tonearest_test_data): Remove.
19407 (lrint_test_tonearest): Likewise.
19408 (lrint_towardzero_test_data): Likewise.
19409 (lrint_test_towardzero): Likewise.
19410 (lrint_downward_test_data): Likewise.
19411 (lrint_test_downward): Likewise.
19412 (lrint_upward_test_data): Likewise.
19413 (lrint_test_upward): Likewise.
19414 (llrint_test_data): Merge in per-rounding-mode tests and results
19415 from llrint_tonearest_test_data, llrint_towardzero_test_data,
19416 llrint_downward_test_data and llrint_upward_test_data.
19417 (llrint_test): Use ALL_RM_TEST.
19418 (llrint_tonearest_test_data): Remove.
19419 (llrint_test_tonearest): Likewise.
19420 (llrint_towardzero_test_data): Likewise.
19421 (llrint_test_towardzero): Likewise.
19422 (llrint_downward_test_data): Likewise.
19423 (llrint_test_downward): Likewise.
19424 (llrint_upward_test_data): Likewise.
19425 (llrint_test_upward): Likewise.
19426 (rint_test_data): Merge in per-rounding-mode tests and results
19427 from rint_tonearest_test_data, rint_towardzero_test_data,
19428 rint_downward_test_data and rint_upward_test_data. Add
19429 per-rounding-mode results for tests not in those arrays.
19430 (rint_test): Use ALL_RM_TEST.
19431 (rint_tonearest_test_data): Remove.
19432 (rint_test_tonearest): Likewise.
19433 (rint_towardzero_test_data): Likewise.
19434 (rint_test_towardzero): Likewise.
19435 (rint_downward_test_data): Likewise.
19436 (rint_test_downward): Likewise.
19437 (rint_upward_test_data): Likewise.
19438 (rint_test_upward): Likewise.
19439 (main): Don't call removed functions.
19441 2014-03-14 Roland McGrath <roland@hack.frob.com>
19443 * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
19444 "Compiled on ..." crapola. It is anti-useful.
19446 2014-03-14 Joseph Myers <joseph@codesourcery.com>
19448 * scripts/evaluate-test.sh: Handle fourth argument to determine
19449 whether test run should stop on failure.
19450 * Makeconfig (stop-on-test-failure): New variable.
19451 (evaluate-test): Pass fourth argument to evaluate-test.sh based on
19452 $(stop-on-test-failure).
19453 * Makefile (tests): Give a summary of results from testing and
19454 exit with failure status if they include an ERROR or FAIL.
19455 (xtests): Likewise.
19456 * manual/install.texi (Configuring and compiling): Mention
19457 stop-on-test-failure=y.
19458 * INSTALL: Regenerated.
19460 2014-03-14 Roland McGrath <roland@hack.frob.com>
19462 * scripts/versionlist.awk: New file.
19463 * Makerules [$(build-shared) = yes]
19464 (postclean-generated): Add Versions.def, not Versions.def.v and
19466 ($(common-objpfx)Versions.def.v.i): Target removed.
19467 ($(common-objpfx)Versions.def): New target.
19468 ($(common-objpfx)Versions.all): Depend on that rather that
19469 $(common-objpfx)Versions.def.v.
19470 * Versions.def: File removed.
19472 * Makeconfig (+gccwarn): Add -Wundef.
19473 * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
19474 a dl-sysdep.h breaking its contract.
19475 [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
19476 * include/stackinfo.h: New file.
19477 * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
19478 * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
19479 * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
19480 * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
19481 * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
19482 * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
19483 * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
19484 * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
19485 * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
19486 * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
19487 * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
19488 * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
19489 * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
19490 * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
19491 * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
19493 2014-03-14 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19496 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
19498 * math/libm-test.inc (round_test_data): Add more tests.
19501 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
19503 * math/libm-test.inc (nearbyint_test_data): Add more tests.
19506 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
19508 * math/libm-test.inc (ceil_test_data): Add more tests.
19510 * math/libm-test.inc (trunc_test_data): Add more tests related to
19513 2014-03-14 Roland McGrath <roland@hack.frob.com>
19515 * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
19516 with #if rather than #ifdef.
19517 * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
19519 2014-03-14 H.J. Lu <hongjiu.lu@intel.com>
19521 * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
19522 first. Disable AVX-512 GCC support if assembler doesn't support
19524 * sysdeps/x86_64/configure: Regenerated.
19526 2014-03-13 Carlos O'Donell <carlos@redhat.com>
19528 * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
19529 [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
19530 (__old_pthread_attr_setstack): Likewise.
19531 * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
19532 [!_STACK_GROWS_DOWN]: Likewise.
19534 2014-03-13 Mike Frysinger <vapier@gentoo.org>
19536 * config.make.in (have-bash2): Delete.
19537 * configure.ac (libc_cv_have_bash2): Delete.
19538 * configure: Regenerate.
19539 * elf/Makefile (common-ldd-rewrite): Rename to ...
19540 (ldd-rewrite): ... this. Move bash-ldd-rewrite content to end.
19541 (sh-ldd-rewrite): Delete.
19542 (bash-ldd-rewrite): Delete.
19543 (have-bash2): Delete checks.
19544 [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
19547 * config.make.in (have-ksh): Delete.
19549 * configure.ac (libc_cv_have_ksh): Delete.
19550 * configure: Regenerate.
19552 * elf/Makefile: Delete $(have-ksh) check.
19553 ($(objpfx)sotruss): Change KSH to BASH.
19554 * elf/sotruss.ksh: Rename to ...
19555 * elf/sotruss.sh: ... this. Change @KSH@ to @BASH@. Change
19556 function style to match POSIX. Drop ksh vim mode setting.
19558 * manual/time.texi (Specifying the Time Zone with TZ): Change
19559 Tuesday to Thursday.
19561 * debug/tst-longjmp_chk2.c: Update header comment.
19562 (stackoverflow_handler): Add comment. Call assert on pass value.
19564 2014-03-13 Igor Zamyatin <igor.zamyatin@intel.com>
19567 * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
19568 (HAVE_AVX512_ASM_SUPPORT): Likewise.
19569 * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
19570 (La_x86_64_vector): Add zmm.
19571 * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
19572 (modules-names): Add tst-auditmod10a and tst-auditmod10b.
19573 ($(objpfx)tst-audit10): New target.
19574 ($(objpfx)tst-audit10.out): Likewise.
19575 (tst-audit10-ENV): New.
19576 (AVX512-CFLAGS): Likewise.
19577 (CFLAGS-tst-audit10.c): Likewise.
19578 (CFLAGS-tst-auditmod10a.c): Likewise.
19579 (CFLAGS-tst-auditmod10b.c): Likewise.
19580 * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
19581 HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
19582 * sysdeps/x86_64/configure: Regenerated.
19583 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
19584 AVX-512 zmm register support.
19585 (_dl_x86_64_save_sse): Likewise.
19586 (_dl_x86_64_restore_sse): Likewise.
19587 * sysdeps/x86_64/dl-trampoline.h: Updated to support different
19588 size vector registers.
19589 * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
19590 (ZMM_SIZE): Likewise.
19591 * sysdeps/x86_64/tst-audit10.c: New file.
19592 * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
19593 * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
19595 2014-03-13 Roland McGrath <roland@hack.frob.com>
19597 * configure.ac (HAVE_EHDR_START): New check.
19598 * configure: Regenerated.
19599 * config.h.in (HAVE_EHDR_START): New #undef.
19600 * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
19601 assuming the lowest-addressed segment maps the start of the file.
19603 2014-03-13 Joseph Myers <joseph@codesourcery.com>
19605 * INSTALL: Regenerated.
19607 2014-03-13 Will Newton <will.newton@linaro.org>
19609 * manual/setjmp.texi (System V contexts): Improve
19610 clarity and grammar of documentation.
19612 2014-03-12 Paul Pluzhnikov <ppluzhnikov@google.com>
19615 * elf/Makefile (tests): Add tst-pie2.
19616 (tests-pie): Add tst-pie2.
19617 * elf/tst-pie2.c: New file.
19618 * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
19620 * elf/rtld.c (map_doit): Load executable as lt_executable.
19621 (dl_main): Likewise.
19623 2014-03-12 Joseph Myers <joseph@codesourcery.com>
19626 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
19627 (__ASSUME_PSELECT): Undefine.
19629 2014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19632 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
19633 (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
19635 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
19636 selector for static builds.
19638 2014-03-12 Siddhesh Poyarekar <siddhesh@redhat.com>
19641 * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
19644 2014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19646 * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
19647 IFUNC selector for static builds.
19649 2014-03-11 Joseph Myers <joseph@codesourcery.com>
19651 * sysdeps/mips/math_private.h [__mips_hard_float]
19652 (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
19653 libc_feresetround_mips_ctx.
19654 [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
19655 [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
19656 [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
19659 * math/s_nextafter.c (__nextafter): Do not return value from
19660 overflowing computation.
19661 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
19662 * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
19663 * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
19665 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
19667 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
19668 * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
19670 2014-03-11 Roland McGrath <roland@hack.frob.com>
19672 * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
19673 * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
19674 Move sfi_sp use from the load-multiple (that no longer sets sp) to
19675 the new mov targetting sp.
19677 2014-03-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19680 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
19681 Define it for static builds as well.
19682 (NO_BZERO_IMPL): Likewise.
19684 2014-03-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
19686 * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
19687 * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
19688 multiarch strspn for PPC64.
19689 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
19690 * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
19691 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
19692 (__libc_ifunc_impl_list): Likewise.
19693 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
19694 multiarch optimizations
19695 * string/strspn.c (strspn): Using macro to redefine symbol name.
19697 2014-03-10 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
19698 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19700 * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
19701 * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
19702 multiarch strncat for PPC64.
19703 * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
19704 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
19705 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
19706 (__libc_ifunc_impl_list): Likewise.
19707 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
19708 multiarch optimizations
19710 2014-03-10 Siddhesh Poyarekar <siddhesh@redhat.com>
19713 * nscd/nscd.service: Make service type forking.
19715 2014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19717 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
19718 sign in non default rounding modes.
19719 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
19721 2014-03-08 Joseph Myers <joseph@codesourcery.com>
19723 * math/libm-test.inc (ALL_RM_TEST): New macro.
19724 (ceil_test): Use ALL_RM_TEST.
19725 (cimag_test): Likewise.
19726 (conj_test): Likewise.
19727 (copysign_test): Likewise.
19728 (cproj_test): Likewise.
19729 (creal_test): Likewise.
19730 (fabs_test): Likewise.
19731 (floor_test): Likewise.
19732 (fmax_test): Likewise.
19733 (fmin_test): Likewise.
19734 (fmod_test): Likewise.
19735 (fpclassify_test): Likewise.
19736 (frexp_test): Likewise.
19737 (ilogb_test): Likewise.
19738 (isfinite_test): Likewise.
19739 (finite_test): Likewise.
19740 (isgreater_test): Likewise.
19741 (isgreaterequal_test): Likewise.
19742 (isinf_test): Likewise.
19743 (isless_test): Likewise.
19744 (islessequal_test): Likewise.
19745 (islessgreater_test): Likewise.
19746 (isnan_test): Likewise.
19747 (isnormal_test): Likewise.
19748 (issignaling_test): Likewise.
19749 (isunordered_test): Likewise.
19750 (logb_test): Likewise.
19751 (logb_downward_test_data): Remove.
19752 (logb_test_downward): Likewise.
19753 (lround_test): Use ALL_RM_TEST.
19754 (llround_test): Likewise.
19755 (modf_test): Likewise.
19756 (nexttoward_test): Likewise.
19757 (remainder_test): Likewise.
19758 (drem_test): Likewise.
19759 (remainder_tonearest_test_data): Likewise.
19760 (remainder_test_tonearest): Likewise.
19761 (drem_test_tonearest): Likewise.
19762 (remainder_towardzero_test_data): Likewise.
19763 (remainder_test_towardzero): Likewise.
19764 (drem_test_towardzero): Likewise.
19765 (remainder_downward_test_data): Likewise.
19766 (remainder_test_downward): Likewise.
19767 (drem_test_downward): Likewise.
19768 (remainder_upward_test_data): Likewise.
19769 (remainder_test_upward): Likewise.
19770 (drem_test_upward): Likewise.
19771 (remquo_test): Use ALL_RM_TEST. Remove comment about x.
19772 (round_test): Use ALL_RM_TEST.
19773 (signbit_test): Likewise.
19774 (trunc_test): Likewise.
19775 (significand_test): Likewise.
19776 (main): Don't call removed functions.
19778 2014-03-07 Joseph Myers <joseph@codesourcery.com>
19781 * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
19782 || __USE_XOPEN2K8].
19783 (ILL_ILLOPN): Likewise.
19784 (ILL_ILLADR): Likewise.
19785 (ILL_ILLTRP): Likewise.
19786 (ILL_PRVOPC): Likewise.
19787 (ILL_PRVREG): Likewise.
19788 (ILL_COPROC): Likewise.
19789 (ILL_BADSTK): Likewise.
19790 (FPE_INTDIV): Likewise.
19791 (FPE_INTOVF): Likewise.
19792 (FPE_FLTDIV): Likewise.
19793 (FPE_FLTOVF): Likewise.
19794 (FPE_FLTUND): Likewise.
19795 (FPE_FLTRES): Likewise.
19796 (FPE_FLTINV): Likewise.
19797 (FPE_FLTSUB): Likewise.
19798 (SEGV_MAPERR): Likewise.
19799 (SEGV_ACCERR): Likewise.
19800 (BUS_ADRALN): Likewise.
19801 (BUS_ADRERR): Likewise.
19802 (BUS_OBJERR): Likewise.
19803 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
19804 (TRAP_TRACE): Likewise.
19805 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
19807 (CLD_KILLED): Likewise.
19808 (CLD_DUMPED): Likewise.
19809 (CLD_TRAPPED): Likewise.
19810 (CLD_STOPPED): Likewise.
19811 (CLD_CONTINUED): Likewise.
19812 (POLL_IN): Likewise.
19813 (POLL_OUT): Likewise.
19814 (POLL_MSG): Likewise.
19815 (POLL_ERR): Likewise.
19816 (POLL_PRI): Likewise.
19817 (POLL_HUP): Likewise.
19818 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
19820 (ILL_ILLOPN): Likewise.
19821 (ILL_ILLADR): Likewise.
19822 (ILL_ILLTRP): Likewise.
19823 (ILL_PRVOPC): Likewise.
19824 (ILL_PRVREG): Likewise.
19825 (ILL_COPROC): Likewise.
19826 (ILL_BADSTK): Likewise.
19827 (FPE_INTDIV): Likewise.
19828 (FPE_INTOVF): Likewise.
19829 (FPE_FLTDIV): Likewise.
19830 (FPE_FLTOVF): Likewise.
19831 (FPE_FLTUND): Likewise.
19832 (FPE_FLTRES): Likewise.
19833 (FPE_FLTINV): Likewise.
19834 (FPE_FLTSUB): Likewise.
19835 (SEGV_MAPERR): Likewise.
19836 (SEGV_ACCERR): Likewise.
19837 (BUS_ADRALN): Likewise.
19838 (BUS_ADRERR): Likewise.
19839 (BUS_OBJERR): Likewise.
19840 (BUS_MCEERR_AR): Likewise.
19841 (BUS_MCEERR_AO): Likewise.
19842 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
19843 (TRAP_TRACE): Likewise.
19844 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
19846 (CLD_KILLED): Likewise.
19847 (CLD_DUMPED): Likewise.
19848 (CLD_TRAPPED): Likewise.
19849 (CLD_STOPPED): Likewise.
19850 (CLD_CONTINUED): Likewise.
19851 (POLL_IN): Likewise.
19852 (POLL_OUT): Likewise.
19853 (POLL_MSG): Likewise.
19854 (POLL_ERR): Likewise.
19855 (POLL_PRI): Likewise.
19856 (POLL_HUP): Likewise.
19857 * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
19858 (ILL_ILLOPN): Likewise.
19859 (ILL_ILLADR): Likewise.
19860 (ILL_ILLTRP): Likewise.
19861 (ILL_PRVOPC): Likewise.
19862 (ILL_PRVREG): Likewise.
19863 (ILL_COPROC): Likewise.
19864 (ILL_BADSTK): Likewise.
19865 (FPE_INTDIV): Likewise.
19866 (FPE_INTOVF): Likewise.
19867 (FPE_FLTDIV): Likewise.
19868 (FPE_FLTOVF): Likewise.
19869 (FPE_FLTUND): Likewise.
19870 (FPE_FLTRES): Likewise.
19871 (FPE_FLTINV): Likewise.
19872 (FPE_FLTSUB): Likewise.
19873 (SEGV_MAPERR): Likewise.
19874 (SEGV_ACCERR): Likewise.
19875 (BUS_ADRALN): Likewise.
19876 (BUS_ADRERR): Likewise.
19877 (BUS_OBJERR): Likewise.
19878 (BUS_MCEERR_AR): Likewise.
19879 (BUS_MCEERR_AO): Likewise.
19880 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
19881 (TRAP_TRACE): Likewise.
19882 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
19884 (CLD_KILLED): Likewise.
19885 (CLD_DUMPED): Likewise.
19886 (CLD_TRAPPED): Likewise.
19887 (CLD_STOPPED): Likewise.
19888 (CLD_CONTINUED): Likewise.
19889 (POLL_IN): Likewise.
19890 (POLL_OUT): Likewise.
19891 (POLL_MSG): Likewise.
19892 (POLL_ERR): Likewise.
19893 (POLL_PRI): Likewise.
19894 (POLL_HUP): Likewise.
19895 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
19897 (ILL_ILLOPN): Likewise.
19898 (ILL_ILLADR): Likewise.
19899 (ILL_ILLTRP): Likewise.
19900 (ILL_PRVOPC): Likewise.
19901 (ILL_PRVREG): Likewise.
19902 (ILL_COPROC): Likewise.
19903 (ILL_BADSTK): Likewise.
19904 (ILL_BADIADDR): Likewise.
19905 (ILL_BREAK): Likewise.
19906 (FPE_INTDIV): Likewise.
19907 (FPE_INTOVF): Likewise.
19908 (FPE_FLTDIV): Likewise.
19909 (FPE_FLTOVF): Likewise.
19910 (FPE_FLTUND): Likewise.
19911 (FPE_FLTRES): Likewise.
19912 (FPE_FLTINV): Likewise.
19913 (FPE_FLTSUB): Likewise.
19914 (FPE_DECOVF): Likewise.
19915 (FPE_DECDIV): Likewise.
19916 (FPE_DECERR): Likewise.
19917 (FPE_INVASC): Likewise.
19918 (FPE_INVDEC): Likewise.
19919 (SEGV_MAPERR): Likewise.
19920 (SEGV_ACCERR): Likewise.
19921 (SEGV_PSTKOVF): Likewise.
19922 (BUS_ADRALN): Likewise.
19923 (BUS_ADRERR): Likewise.
19924 (BUS_OBJERR): Likewise.
19925 (BUS_MCEERR_AR): Likewise.
19926 (BUS_MCEERR_AO): Likewise.
19927 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
19928 (TRAP_TRACE): Likewise.
19929 (TRAP_BRANCH): Likewise.
19930 (TRAP_HWBKPT): Likewise.
19931 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
19933 (CLD_KILLED): Likewise.
19934 (CLD_DUMPED): Likewise.
19935 (CLD_TRAPPED): Likewise.
19936 (CLD_STOPPED): Likewise.
19937 (CLD_CONTINUED): Likewise.
19938 (POLL_IN): Likewise.
19939 (POLL_OUT): Likewise.
19940 (POLL_MSG): Likewise.
19941 (POLL_ERR): Likewise.
19942 (POLL_PRI): Likewise.
19943 (POLL_HUP): Likewise.
19944 * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
19945 (ILL_ILLOPN): Likewise.
19946 (ILL_ILLADR): Likewise.
19947 (ILL_ILLTRP): Likewise.
19948 (ILL_PRVOPC): Likewise.
19949 (ILL_PRVREG): Likewise.
19950 (ILL_COPROC): Likewise.
19951 (ILL_BADSTK): Likewise.
19952 (FPE_INTDIV): Likewise.
19953 (FPE_INTOVF): Likewise.
19954 (FPE_FLTDIV): Likewise.
19955 (FPE_FLTOVF): Likewise.
19956 (FPE_FLTUND): Likewise.
19957 (FPE_FLTRES): Likewise.
19958 (FPE_FLTINV): Likewise.
19959 (FPE_FLTSUB): Likewise.
19960 (SEGV_MAPERR): Likewise.
19961 (SEGV_ACCERR): Likewise.
19962 (BUS_ADRALN): Likewise.
19963 (BUS_ADRERR): Likewise.
19964 (BUS_OBJERR): Likewise.
19965 (BUS_MCEERR_AR): Likewise.
19966 (BUS_MCEERR_AO): Likewise.
19967 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
19968 (TRAP_TRACE): Likewise.
19969 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
19971 (CLD_KILLED): Likewise.
19972 (CLD_DUMPED): Likewise.
19973 (CLD_TRAPPED): Likewise.
19974 (CLD_STOPPED): Likewise.
19975 (CLD_CONTINUED): Likewise.
19976 (POLL_IN): Likewise.
19977 (POLL_OUT): Likewise.
19978 (POLL_MSG): Likewise.
19979 (POLL_ERR): Likewise.
19980 (POLL_PRI): Likewise.
19981 (POLL_HUP): Likewise.
19982 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
19983 (ILL_ILLOPN): Likewise.
19984 (ILL_ILLADR): Likewise.
19985 (ILL_ILLTRP): Likewise.
19986 (ILL_PRVOPC): Likewise.
19987 (ILL_PRVREG): Likewise.
19988 (ILL_COPROC): Likewise.
19989 (ILL_BADSTK): Likewise.
19990 (FPE_INTDIV): Likewise.
19991 (FPE_INTOVF): Likewise.
19992 (FPE_FLTDIV): Likewise.
19993 (FPE_FLTOVF): Likewise.
19994 (FPE_FLTUND): Likewise.
19995 (FPE_FLTRES): Likewise.
19996 (FPE_FLTINV): Likewise.
19997 (FPE_FLTSUB): Likewise.
19998 (SEGV_MAPERR): Likewise.
19999 (SEGV_ACCERR): Likewise.
20000 (BUS_ADRALN): Likewise.
20001 (BUS_ADRERR): Likewise.
20002 (BUS_OBJERR): Likewise.
20003 (BUS_MCEERR_AR): Likewise.
20004 (BUS_MCEERR_AO): Likewise.
20005 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
20006 (TRAP_TRACE): Likewise.
20007 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
20009 (CLD_KILLED): Likewise.
20010 (CLD_DUMPED): Likewise.
20011 (CLD_TRAPPED): Likewise.
20012 (CLD_STOPPED): Likewise.
20013 (CLD_CONTINUED): Likewise.
20014 (POLL_IN): Likewise.
20015 (POLL_OUT): Likewise.
20016 (POLL_MSG): Likewise.
20017 (POLL_ERR): Likewise.
20018 (POLL_PRI): Likewise.
20019 (POLL_HUP): Likewise.
20020 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
20021 (ILL_ILLOPN): Likewise.
20022 (ILL_ILLADR): Likewise.
20023 (ILL_ILLTRP): Likewise.
20024 (ILL_PRVOPC): Likewise.
20025 (ILL_PRVREG): Likewise.
20026 (ILL_COPROC): Likewise.
20027 (ILL_BADSTK): Likewise.
20028 (FPE_INTDIV): Likewise.
20029 (FPE_INTOVF): Likewise.
20030 (FPE_FLTDIV): Likewise.
20031 (FPE_FLTOVF): Likewise.
20032 (FPE_FLTUND): Likewise.
20033 (FPE_FLTRES): Likewise.
20034 (FPE_FLTINV): Likewise.
20035 (FPE_FLTSUB): Likewise.
20036 (SEGV_MAPERR): Likewise.
20037 (SEGV_ACCERR): Likewise.
20038 (BUS_ADRALN): Likewise.
20039 (BUS_ADRERR): Likewise.
20040 (BUS_OBJERR): Likewise.
20041 (BUS_MCEERR_AR): Likewise.
20042 (BUS_MCEERR_AO): Likewise.
20043 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
20044 (TRAP_TRACE): Likewise.
20045 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
20047 (CLD_KILLED): Likewise.
20048 (CLD_DUMPED): Likewise.
20049 (CLD_TRAPPED): Likewise.
20050 (CLD_STOPPED): Likewise.
20051 (CLD_CONTINUED): Likewise.
20052 (POLL_IN): Likewise.
20053 (POLL_OUT): Likewise.
20054 (POLL_MSG): Likewise.
20055 (POLL_ERR): Likewise.
20056 (POLL_PRI): Likewise.
20057 (POLL_HUP): Likewise.
20058 * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
20059 (ILL_ILLOPN): Likewise.
20060 (ILL_ILLADR): Likewise.
20061 (ILL_ILLTRP): Likewise.
20062 (ILL_PRVOPC): Likewise.
20063 (ILL_PRVREG): Likewise.
20064 (ILL_COPROC): Likewise.
20065 (ILL_BADSTK): Likewise.
20066 (ILL_DBLFLT): Likewise.
20067 (ILL_HARDWALL): Likewise.
20068 (FPE_INTDIV): Likewise.
20069 (FPE_INTOVF): Likewise.
20070 (FPE_FLTDIV): Likewise.
20071 (FPE_FLTOVF): Likewise.
20072 (FPE_FLTUND): Likewise.
20073 (FPE_FLTRES): Likewise.
20074 (FPE_FLTINV): Likewise.
20075 (FPE_FLTSUB): Likewise.
20076 (SEGV_MAPERR): Likewise.
20077 (SEGV_ACCERR): Likewise.
20078 (BUS_ADRALN): Likewise.
20079 (BUS_ADRERR): Likewise.
20080 (BUS_OBJERR): Likewise.
20081 (BUS_MCEERR_AR): Likewise.
20082 (BUS_MCEERR_AO): Likewise.
20083 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
20084 (TRAP_TRACE): Likewise.
20085 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
20087 (CLD_KILLED): Likewise.
20088 (CLD_DUMPED): Likewise.
20089 (CLD_TRAPPED): Likewise.
20090 (CLD_STOPPED): Likewise.
20091 (CLD_CONTINUED): Likewise.
20092 (POLL_IN): Likewise.
20093 (POLL_OUT): Likewise.
20094 (POLL_MSG): Likewise.
20095 (POLL_ERR): Likewise.
20096 (POLL_PRI): Likewise.
20097 (POLL_HUP): Likewise.
20098 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
20099 (ILL_ILLOPN): Likewise.
20100 (ILL_ILLADR): Likewise.
20101 (ILL_ILLTRP): Likewise.
20102 (ILL_PRVOPC): Likewise.
20103 (ILL_PRVREG): Likewise.
20104 (ILL_COPROC): Likewise.
20105 (ILL_BADSTK): Likewise.
20106 (FPE_INTDIV): Likewise.
20107 (FPE_INTOVF): Likewise.
20108 (FPE_FLTDIV): Likewise.
20109 (FPE_FLTOVF): Likewise.
20110 (FPE_FLTUND): Likewise.
20111 (FPE_FLTRES): Likewise.
20112 (FPE_FLTINV): Likewise.
20113 (FPE_FLTSUB): Likewise.
20114 (SEGV_MAPERR): Likewise.
20115 (SEGV_ACCERR): Likewise.
20116 (BUS_ADRALN): Likewise.
20117 (BUS_ADRERR): Likewise.
20118 (BUS_OBJERR): Likewise.
20119 (BUS_MCEERR_AR): Likewise.
20120 (BUS_MCEERR_AO): Likewise.
20121 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
20122 (TRAP_TRACE): Likewise.
20123 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
20125 (CLD_KILLED): Likewise.
20126 (CLD_DUMPED): Likewise.
20127 (CLD_TRAPPED): Likewise.
20128 (CLD_STOPPED): Likewise.
20129 (CLD_CONTINUED): Likewise.
20130 (POLL_IN): Likewise.
20131 (POLL_OUT): Likewise.
20132 (POLL_MSG): Likewise.
20133 (POLL_ERR): Likewise.
20134 (POLL_PRI): Likewise.
20135 (POLL_HUP): Likewise.
20136 * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
20137 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
20140 * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
20141 before #include of <time.h>.
20142 [!__USE_XOPEN2K] (__need_timespec): Likewise.
20143 * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
20144 (test-xfail-UNIX98/sched.h/conform): Likewise.
20146 2014-03-07 Marcus Shawcroft <marcus.shawcroft@arm.com>
20148 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
20149 error absence of trapping exception support.
20150 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
20152 2014-03-07 Joseph Myers <joseph@codesourcery.com>
20154 * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
20155 ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
20156 * timezone/Makefile (testdata): Move definition above include of
20158 (test-zones): New variable.
20159 (tests-special): Add zone files.
20160 (build-testdata): Use $(evaluate-test).
20162 * elf/Makefile (tests-special): Rename tests to end with .out.
20163 ($(objpfx)noload-mem): Likewise.
20164 ($(objpfx)tst-leaks1-mem): Likewise.
20165 ($(objpfx)tst-leaks1-static-mem.out): Likewise.
20166 * iconv/Makefile (xtests-special): Change test-iconvconfig to
20167 $(objpfx)test-iconvconfig.out.
20168 (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out. Use
20169 set -e inside subshell and redirect output to file.
20170 * iconvdata/Makefile (generated): Rename tests to end with .out.
20172 (tests-special): Rename tests to end with .out.
20173 ($(objpfx)mtrace-tst-loading): Likewise.
20174 * intl/Makefile (generated): Likewise.
20175 (tests-special): Likewise.
20176 ($(objpfx)mtrace-tst-gettext): Likewise.
20177 * misc/Makefile (generated): Likewise.
20178 (tests-special): Likewise.
20179 ($(objpfx)tst-error1-mem): Likewise.
20180 * nptl/Makefile (tests-special): Likewise.
20181 ($(objpfx)tst-stack3-mem): Likewise.
20182 (generated): Likewise.
20183 * posix/Makefile (generated): Likewise.
20184 (tests-special): Likewise.
20185 (xtests-special): Likewise.
20186 ($(objpfx)tst-fnmatch-mem): Likewise.
20187 ($(objpfx)bug-regex2-mem): Likewise.
20188 ($(objpfx)bug-regex14-mem): Likewise.
20189 ($(objpfx)bug-regex21-mem): Likewise.
20190 ($(objpfx)bug-regex31-mem): Likewise.
20191 ($(objpfx)tst-vfork3-mem): Likewise.
20192 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
20193 ($(objpfx)tst-pcre-mem): Likewise.
20194 ($(objpfx)tst-boost-mem): Likewise.
20195 ($(objpfx)bug-ga2-mem): Likewise.
20196 ($(objpfx)bug-glob2-mem): Likewise.
20197 * resolv/Makefile (generate): Likewise.
20198 (tests-special): Likewise.
20199 (xtests-special): Likewise.
20200 (generated): Likewise.
20201 ($(objpfx)mtrace-tst-leaks): Likewise.
20202 ($(objpfx)mtrace-tst-leaks2): Likewise.
20204 * scripts/merge-test-results.sh: New file.
20205 * Makefile (tests-special-notdir): New variable.
20206 (tests): Run merge-test-results.sh.
20207 (xtests): Likewise.
20208 * Rules (tests-special-notdir): New variable.
20209 (xtests-special-notdir): Likewise.
20210 (tests): Run merge-test-results.sh
20211 (xtests): Likewise.
20213 * Makeconfig (test-xfail-name): New variable.
20214 (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
20215 compute variable name for expected failures.
20216 * conform/Makefile (conformtest-headers-data): New variable.
20217 (conformtest-standards): Likewise.
20218 (conformtest-headers-ISO): Likewise.
20219 (conformtest-headers-ISO99): Likewise.
20220 (conformtest-headers-ISO11): Likewise.
20221 (conformtest-headers-POSIX): Likewise.
20222 (conformtest-headers-XPG3): Likewise.
20223 (conformtest-headers-XPG4): Likewise.
20224 (conformtest-headers-UNIX98): Likewise.
20225 (conformtest-headers-XOPEN2K): Likewise.
20226 (conformtest-headers-POSIX2008): Likewise.
20227 (conformtest-headers-XOPEN2K8): Likewise.
20228 (conformtest-header-list-base): Likewise.
20229 (conformtest-header-list-tests): Likewise.
20230 (conformtest-header-base): Likewise.
20231 (conformtest-header-tests): Likewise.
20232 (tests-special): Add $(conformtest-header-list-tests). If
20233 [$(fast-check) && !$(cross-compiling)], add
20234 $(conformtest-header-tests) instead of
20235 $(objpfx)run-conformtest.out.
20236 (generated): Add $(conformtest-header-list-base). If
20237 [$(fast-check) && !$(cross-compiling)], add
20238 $(conformtest-header-base). Remove previous setting.
20239 ($(conformtest-header-list-tests)): New target.
20240 (test-xfail-run-conformtest): Remove variable.
20241 ($(objpfx)run-conformtest.out): Remove target.
20242 (test-xfail-ISO11/complex.h/conform): New variable.
20243 (test-xfail-ISO11/stdalign.h/conform): Likewise.
20244 (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
20245 (test-xfail-XPG3/varargs.h/conform): Likewise.
20246 (test-xfail-XPG4/varargs.h/conform): Likewise.
20247 (test-xfail-UNIX98/varargs.h/conform): Likewise.
20248 (test-xfail-XPG4/ndbm.h/conform): Likewise.
20249 (test-xfail-UNIX98/ndbm.h/conform): Likewise.
20250 (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
20251 (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
20252 (test-xfail-XPG3/fcntl.h/conform): Likewise.
20253 (test-xfail-XPG3/ftw.h/conform): Likewise.
20254 (test-xfail-XPG3/grp.h/conform): Likewise.
20255 (test-xfail-XPG3/langinfo.h/conform): Likewise.
20256 (test-xfail-XPG3/limits.h/conform): Likewise.
20257 (test-xfail-XPG3/pwd.h/conform): Likewise.
20258 (test-xfail-XPG3/search.h/conform): Likewise.
20259 (test-xfail-XPG3/signal.h/conform): Likewise.
20260 (test-xfail-XPG3/stdio.h/conform): Likewise.
20261 (test-xfail-XPG3/stdlib.h/conform): Likewise.
20262 (test-xfail-XPG3/string.h/conform): Likewise.
20263 (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
20264 (test-xfail-XPG3/sys/msg.h/conform): Likewise.
20265 (test-xfail-XPG3/sys/sem.h/conform): Likewise.
20266 (test-xfail-XPG3/sys/shm.h/conform): Likewise.
20267 (test-xfail-XPG3/sys/stat.h/conform): Likewise.
20268 (test-xfail-XPG3/sys/types.h/conform): Likewise.
20269 (test-xfail-XPG3/sys/wait.h/conform): Likewise.
20270 (test-xfail-XPG3/termios.h/conform): Likewise.
20271 (test-xfail-XPG3/time.h/conform): Likewise.
20272 (test-xfail-XPG3/unistd.h/conform): Likewise.
20273 (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
20274 (test-xfail-XPG4/fcntl.h/conform): Likewise.
20275 (test-xfail-XPG4/langinfo.h/conform): Likewise.
20276 (test-xfail-XPG4/netdb.h/conform): Likewise.
20277 (test-xfail-XPG4/netinet/in.h/conform): Likewise.
20278 (test-xfail-XPG4/signal.h/conform): Likewise.
20279 (test-xfail-XPG4/stdio.h/conform): Likewise.
20280 (test-xfail-XPG4/stdlib.h/conform): Likewise.
20281 (test-xfail-XPG4/stropts.h/conform): Likewise.
20282 (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
20283 (test-xfail-XPG4/sys/msg.h/conform): Likewise.
20284 (test-xfail-XPG4/sys/sem.h/conform): Likewise.
20285 (test-xfail-XPG4/sys/shm.h/conform): Likewise.
20286 (test-xfail-XPG4/sys/socket.h/conform): Likewise.
20287 (test-xfail-XPG4/sys/stat.h/conform): Likewise.
20288 (test-xfail-XPG4/sys/time.h/conform): Likewise.
20289 (test-xfail-XPG4/sys/types.h/conform): Likewise.
20290 (test-xfail-XPG4/sys/wait.h/conform): Likewise.
20291 (test-xfail-XPG4/termios.h/conform): Likewise.
20292 (test-xfail-XPG4/ucontext.h/conform): Likewise.
20293 (test-xfail-XPG4/unistd.h/conform): Likewise.
20294 (test-xfail-XPG4/utmpx.h/conform): Likewise.
20295 (test-xfail-POSIX/sched.h/conform): Likewise.
20296 (test-xfail-POSIX/signal.h/conform): Likewise.
20297 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
20298 (test-xfail-POSIX/tar.h/conform): Likewise.
20299 (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
20300 (test-xfail-UNIX98/fcntl.h/conform): Likewise.
20301 (test-xfail-UNIX98/langinfo.h/conform): Likewise.
20302 (test-xfail-UNIX98/netdb.h/conform): Likewise.
20303 (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
20304 (test-xfail-UNIX98/sched.h/conform): Likewise.
20305 (test-xfail-UNIX98/signal.h/conform): Likewise.
20306 (test-xfail-UNIX98/stdio.h/conform): Likewise.
20307 (test-xfail-UNIX98/stdlib.h/conform): Likewise.
20308 (test-xfail-UNIX98/stropts.h/conform): Likewise.
20309 (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
20310 (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
20311 (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
20312 (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
20313 (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
20314 (test-xfail-UNIX98/sys/time.h/conform): Likewise.
20315 (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
20316 (test-xfail-UNIX98/ucontext.h/conform): Likewise.
20317 (test-xfail-UNIX98/unistd.h/conform): Likewise.
20318 (test-xfail-UNIX98/utmpx.h/conform): Likewise.
20319 (test-xfail-XOPEN2K/aio.h/conform): Likewise.
20320 (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
20321 (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
20322 (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
20323 (test-xfail-XOPEN2K/math.h/conform): Likewise.
20324 (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
20325 (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
20326 (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
20327 (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
20328 (test-xfail-XOPEN2K/signal.h/conform): Likewise.
20329 (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
20330 (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
20331 (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
20332 (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
20333 (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
20334 (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
20335 (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
20336 (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
20337 (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
20338 (test-xfail-XOPEN2K/termios.h/conform): Likewise.
20339 (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
20340 (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
20341 (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
20342 (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
20343 (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
20344 (test-xfail-POSIX2008/netdb.h/conform): Likewise.
20345 (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
20346 (test-xfail-POSIX2008/signal.h/conform): Likewise.
20347 (test-xfail-POSIX2008/stropts.h/conform): Likewise.
20348 (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
20349 (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
20350 (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
20351 (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
20352 (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
20353 (test-xfail-XOPEN2K8/math.h/conform): Likewise.
20354 (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
20355 (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
20356 (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
20357 (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
20358 (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
20359 (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
20360 (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
20361 (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
20362 (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
20363 (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
20364 (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
20365 (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
20366 (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
20367 (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
20368 (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
20369 (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
20370 (conformtest-cc-flags): Likewise.
20371 ($(conformtest-header-tests): New target.
20372 * conform/check-header-lists.sh: New file.
20373 * conform/run-conformtest.sh: Remove.
20375 * conform/conformtest.pl: Allow ' and \ in values given for
20377 * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
20379 [POSIX] (sys/types.h): Likewise.
20380 [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
20382 [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
20384 * conform/data/signal.h-data (SIGIO): Remove expectation.
20385 [XPG3] (SIGBUS): Do not expect.
20386 [POSIX || XPG3] (SIGPOLL): Likewise.
20387 [POSIX || XPG3] (SIGPROF): Likewise.
20388 [POSIX || XPG3] (SIGSYS): Likewise.
20389 [XPG3] (SIGTRAP): Likewise.
20390 [POSIX || XPG3] (SIGURG): Likewise.
20391 [POSIX || XPG3] (SIGVTALRM): Likewise.
20392 [POSIX || XPG3] (SIGXCPU): Likewise.
20393 [POSIX || XPG3] (SIGXFSZ): Likewise.
20394 [POSIX] (SA_SIGINFO): Expect.
20395 [XPG3] (siginfo_t): Do not expect type or contents.
20396 [POSIX] (si_pid): Do not expect element.
20397 [POSIX] (si_uid): Likewise.
20398 [POSIX] (si_addr): Likewise.
20399 [POSIX] (si_status): Likewise.
20400 [POSIX] (si_band): Likewise.
20401 [XPG4] (si_value): Likewise.
20402 [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
20403 [POSIX || XPG3] (ILL_ILLOPN): Likewise.
20404 [POSIX || XPG3] (ILL_ILLADR): Likewise.
20405 [POSIX || XPG3] (ILL_ILLTRP): Likewise.
20406 [POSIX || XPG3] (ILL_PRVOPC): Likewise.
20407 [POSIX || XPG3] (ILL_PRVREG): Likewise.
20408 [POSIX || XPG3] (ILL_COPROC): Likewise.
20409 [POSIX || XPG3] (ILL_BADSTK): Likewise.
20410 [POSIX || XPG3] (FPE_INTDIV): Likewise.
20411 [POSIX || XPG3] (FPE_INTOVF): Likewise.
20412 [POSIX || XPG3] (FPE_FLTDIV): Likewise.
20413 [POSIX || XPG3] (FPE_FLTOVF): Likewise.
20414 [POSIX || XPG3] (FPE_FLTUND): Likewise.
20415 [POSIX || XPG3] (FPE_FLTRES): Likewise.
20416 [POSIX || XPG3] (FPE_FLTINV): Likewise.
20417 [POSIX || XPG3] (FPE_FLTSUB): Likewise.
20418 [POSIX || XPG3] (SEGV_MAPERR): Likewise.
20419 [POSIX || XPG3] (SEGV_ACCERR): Likewise.
20420 [POSIX || XPG3] (BUS_ADRALN): Likewise.
20421 [POSIX || XPG3] (BUS_ADRERR): Likewise.
20422 [POSIX || XPG3] (BUS_OBJERR): Likewise.
20423 [POSIX || XPG3] (CLD_EXITED): Likewise.
20424 [POSIX || XPG3] (CLD_KILLED): Likewise.
20425 [POSIX || XPG3] (CLD_DUMPED): Likewise.
20426 [POSIX || XPG3] (CLD_TRAPPED): Likewise.
20427 [POSIX || XPG3] (CLD_STOPPED): Likewise.
20428 [POSIX || XPG3] (CLD_CONTINUED): Likewise.
20429 [POSIX || XPG3] (POLL_IN): Likewise.
20430 [POSIX || XPG3] (POLL_OUT): Likewise.
20431 [POSIX || XPG3] (POLL_MSG): Likewise.
20432 [POSIX || XPG3] (POLL_ERR): Likewise.
20433 [POSIX || XPG3] (POLL_PRI): Likewise.
20434 [POSIX || XPG3] (POLL_HUP): Likewise.
20435 [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
20436 [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
20437 (SIG*): Do not allow.
20438 [XPG3] (si_*): Likewise.
20439 [XPG3] (SI_*): Likewise.
20440 [XPG3 || XPG4] (sigev_*): Likewise.
20441 [XPG3 || XPG4] (SIGEV_*): Likewise.
20442 [XPG3 || XPG4] (sival_*): Likewise.
20443 [POSIX || XPG3 || XPG4] (uc_*): Likewise.
20444 [POSIX || XPG3] (BUS_*): Likewise.
20445 [POSIX || XPG3] (CLD_*): Likewise.
20446 [POSIX || XPG3] (FPE_*): Likewise.
20447 [POSIX || XPG3] (ILL_*): Likewise.
20448 [POSIX || XPG3] (POLL_*): Likewise.
20449 [POSIX || XPG3] (SEGV_*): Likewise.
20450 [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
20451 [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
20452 [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
20453 [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
20454 [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
20455 * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
20456 Specify type and value.
20457 (TVERSLEN): Likewise.
20458 (REGTYPE): Likewise.
20459 (AREGTYPE): Likewise.
20460 (LNKTYPE): Likewise.
20461 (SYMTYPE): Likewise.
20462 (CHRTYPE): Likewise.
20463 (BLKTYPE): Likewise.
20464 (DIRTYPE): Likewise.
20465 (FIFOTYPE): Likewise.
20466 (CONTTYPE): Likewise.
20470 (TUREAD): Likewise.
20471 (TUWRITE): Likewise.
20472 (TUEXEC): Likewise.
20473 (TGREAD): Likewise.
20474 (TGWRITE): Likewise.
20475 (TGEXEC): Likewise.
20476 (TOREAD): Likewise.
20477 (TOWRITE): Likewise.
20478 (TOEXEC): Likewise.
20479 [POSIX] (TSVTX): Expect constant.
20481 2014-03-06 Joseph Myers <joseph@codesourcery.com>
20483 * Makefile (tests): Change dependencies to ....
20484 (tests-special): ... additions to this variable.
20485 (tests): Depend on $(tests-special).
20486 * Makerules (check-abi-list): New variable.
20487 (check-abi): Depend on $(check-abi-list).
20488 [$(subdir) = elf] (tests-special): Add
20489 $(objpfx)check-abi-libc.out.
20490 [$(build-shared) = yes && subdir] (tests-special): Add
20492 [$(build-shared) = yes && subdir] (tests): Do not depend on
20494 * Rules (tests): Depend on $(tests-special).
20495 (xtests): Depend on $(xtests-special).
20496 * catgets/Makefile (tests): Change dependencies to ....
20497 (tests-special): ... additions to this variable.
20498 * conform/Makefile (tests): Change dependencies to ....
20499 (tests-special): ... additions to this variable.
20500 * elf/Makefile (tests): Change dependencies to ....
20501 (tests-special): ... additions to this variable.
20502 * grp/Makefile (tests): Change dependencies to ....
20503 (tests-special): ... additions to this variable.
20504 * iconv/Makefile (xtests): Change dependencies to ....
20505 (xtests-special): ... additions to this variable.
20506 * iconvdata/Makefile (tests): Change dependencies to ....
20507 (tests-special): ... additions to this variable.
20508 * intl/Makefile (tests): Change dependencies to ....
20509 (tests-special): ... additions to this variable. Also add
20510 $(objpfx)tst-gettext.out.
20511 * io/Makefile (tests): Change dependencies to ....
20512 (tests-special): ... additions to this variable.
20513 * libio/Makefile (tests): Change dependencies to ....
20514 (tests-special): ... additions to this variable.
20515 * malloc/Makefile (tests): Change dependencies to ....
20516 (tests-special): ... additions to this variable.
20517 * misc/Makefile (tests): Change dependencies to ....
20518 (tests-special): ... additions to this variable.
20519 * nptl/Makefile (tests): Change dependencies to ....
20520 (tests-special): ... additions to this variable.
20521 * nptl_db/Makefile (tests): Change dependencies to ....
20522 (tests-special): ... additions to this variable.
20523 * posix/Makefile (tests): Change dependencies to ....
20524 (tests-special): ... additions to this variable.
20525 (xtests): Change dependencies to ....
20526 (xtests-special): ... additions to this variable.
20527 * resolv/Makefile (tests): Change dependencies to ....
20528 (tests-special): ... additions to this variable.
20529 (xtests): Change dependencies to ....
20530 (xtests-special): ... additions to this variable.
20531 * stdio-common/Makefile (tests): Change dependencies to ....
20532 (tests-special): ... additions to this variable.
20533 (do-tst-unbputc): Remove target.
20534 (do-tst-printf): Likewise.
20535 * stdlib/Makefile (tests): Change dependencies to ....
20536 (tests-special): ... additions to this variable.
20537 * string/Makefile (tests): Change dependencies to ....
20538 (tests-special): ... additions to this variable.
20539 * sysdeps/x86/Makefile (tests): Change dependencies to ....
20540 (tests-special): ... additions to this variable.
20542 * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
20544 * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
20546 * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
20547 * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
20549 * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
20550 * conform/data/arpa/inet.h-data [XPG3]: Likewise.
20551 * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
20552 * conform/data/fmtmsg.h-data [XPG3]: Likewise.
20553 * conform/data/libgen.h-data [XPG3]: Likewise.
20554 * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
20555 * conform/data/ndbm.h-data [XPG3]: Likewise.
20556 * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
20557 * conform/data/netdb.h-data [XPG3]: Likewise.
20558 * conform/data/netinet/in.h-data [XPG3]: Likewise.
20559 * conform/data/poll.h-data [XPG3]: Likewise.
20560 * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
20561 * conform/data/strings.h-data [XPG3]: Likewise.
20562 * conform/data/stropts.h-data [XPG3]: Likewise.
20563 * conform/data/sys/mman.h-data [XPG3]: Likewise.
20564 * conform/data/sys/resource.h-data [XPG3]: Likewise.
20565 * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
20567 * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
20568 * conform/data/sys/time.h-data [XPG3]: Likewise.
20569 * conform/data/sys/timeb.h-data [XPG3]: Likewise.
20570 * conform/data/sys/uio.h-data [XPG3]: Likewise.
20571 * conform/data/sys/un.h-data [XPG3]: Likewise.
20572 * conform/data/syslog.h-data [XPG3]: Likewise.
20573 * conform/data/ucontext.h-data [XPG3]: Likewise.
20574 * conform/data/utmpx.h-data [XPG3]: Likewise.
20575 * conform/data/varargs.h-data [UNIX98]: Enable file.
20577 * manual/Makefile (INSTALL_INFO): Remove variable setting.
20579 * math/libm-test.inc (struct test_f_f_data): Move expected results
20580 into structure for each rounding mode.
20581 (struct test_ff_f_data): Likewise.
20582 (struct test_ff_f_data_nexttoward): Likewise.
20583 (struct test_fi_f_data): Likewise.
20584 (struct test_fl_f_data): Likewise.
20585 (struct test_if_f_data): Likewise.
20586 (struct test_fff_f_data): Likewise.
20587 (struct test_c_f_data): Likewise.
20588 (struct test_f_f1_data): Likewise.
20589 (struct test_fF_f1_data): Likewise.
20590 (struct test_ffI_f1_data): Likewise.
20591 (struct test_c_c_data): Likewise.
20592 (struct test_cc_c_data): Likewise.
20593 (struct test_f_i_data): Likewise.
20594 (struct test_ff_i_data): Likewise.
20595 (struct test_f_l_data): Likewise.
20596 (struct test_f_L_data): Likewise.
20597 (struct test_fFF_11_data): Likewise.
20599 (RM_FE_DOWNWARD): Likewise.
20600 (RM_FE_TONEAREST): Likewise.
20601 (RM_FE_TOWARDZERO): Likewise.
20602 (RM_FE_UPWARD): Likewise.
20603 (RUN_TEST_LOOP_f_f): Update references to expected results.
20604 (RUN_TEST_LOOP_2_f): Likewise.
20605 (RUN_TEST_LOOP_fff_f): Likewise.
20606 (RUN_TEST_LOOP_c_f): Likewise.
20607 (RUN_TEST_LOOP_f_f1): Likewise.
20608 (RUN_TEST_LOOP_fF_f1): Likewise.
20609 (RUN_TEST_LOOP_fI_f1): Likewise.
20610 (RUN_TEST_LOOP_ffI_f1): Likewise.
20611 (RUN_TEST_LOOP_c_c): Likewise.
20612 (RUN_TEST_LOOP_cc_c): Likewise.
20613 (RUN_TEST_LOOP_f_i): Likewise.
20614 (RUN_TEST_LOOP_f_i_tg): Likewise.
20615 (RUN_TEST_LOOP_ff_i_tg): Likewise.
20616 (RUN_TEST_LOOP_f_b): Likewise.
20617 (RUN_TEST_LOOP_f_b_tg): Likewise.
20618 (RUN_TEST_LOOP_f_l): Likewise.
20619 (RUN_TEST_LOOP_f_L): Likewise.
20620 (RUN_TEST_LOOP_fFF_11): Likewise.
20621 * math/gen-libm-test.pl (parse_args): Output four copies of
20622 expected results for each test.
20624 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
20625 (__ASSUME_UTIMES): Remove.
20626 * sysdeps/unix/sysv/linux/tile/kernel-features.h
20627 (__ASSUME_UTIMES): Likewise.
20629 * math/gen-auto-libm-tests.c: Update comment on output format.
20630 (output_for_one_input_case): Generate before-rounding and
20631 after-rounding information as conditions on output flags not
20632 floating-point format.
20633 * math/auto-libm-test-out: Regenerated.
20634 * math/gen-libm-test.pl (cond_value): New function.
20635 (or_cond_value): Use cond_value.
20636 (generate_testfile): Handle conditional exceptions.
20638 2014-03-05 Joseph Myers <joseph@codesourcery.com>
20640 * math/libm-test.inc (max_valid_error): New variable.
20641 (init_max_error): Take new argument specifying whether function
20642 results are exactly determined. Set max_valid_error and bound
20643 other variables for errors based on this argument.
20644 (set_max_error): Do not record results above max_valid_error.
20645 (check_float_internal): Only accept errors of up to 0.5ulps if
20646 also at most max_valid_error.
20647 (START): Take new argument EXACT and pass it to init_max_error.
20648 (acos_test): Update call to START.
20649 (acos_test_tonearest): Likewise.
20650 (acos_test_towardzero): Likewise.
20651 (acos_test_downward): Likewise.
20652 (acos_test_upward): Likewise.
20653 (acosh_test): Likewise.
20654 (asin_test): Likewise.
20655 (asin_test_tonearest): Likewise.
20656 (asin_test_towardzero): Likewise.
20657 (asin_test_downward): Likewise.
20658 (asin_test_upward): Likewise.
20659 (asinh_test): Likewise.
20660 (atan_test): Likewise.
20661 (atanh_test): Likewise.
20662 (atan2_test): Likewise.
20663 (cabs_test): Likewise.
20664 (cacos_test): Likewise.
20665 (cacosh_test): Likewise.
20666 (carg_test): Likewise.
20667 (casin_test): Likewise.
20668 (casinh_test): Likewise.
20669 (catan_test): Likewise.
20670 (catanh_test): Likewise.
20671 (cbrt_test): Likewise.
20672 (ccos_test): Likewise.
20673 (ccosh_test): Likewise.
20674 (ceil_test): Likewise.
20675 (cexp_test): Likewise.
20676 (cimag_test): Likewise.
20677 (clog_test): Likewise.
20678 (clog10_test): Likewise.
20679 (conj_test): Likewise.
20680 (copysign_test): Likewise.
20681 (cos_test): Likewise.
20682 (cos_test_tonearest): Likewise.
20683 (cos_test_towardzero): Likewise.
20684 (cos_test_downward): Likewise.
20685 (cos_test_upward): Likewise.
20686 (cosh_test): Likewise.
20687 (cosh_test_tonearest): Likewise.
20688 (cosh_test_towardzero): Likewise.
20689 (cosh_test_downward): Likewise.
20690 (cosh_test_upward): Likewise.
20691 (cpow_test): Likewise.
20692 (cproj_test): Likewise.
20693 (creal_test): Likewise.
20694 (csin_test): Likewise.
20695 (csinh_test): Likewise.
20696 (csqrt_test): Likewise.
20697 (ctan_test): Likewise.
20698 (ctan_test_tonearest): Likewise.
20699 (ctan_test_towardzero): Likewise.
20700 (ctan_test_downward): Likewise.
20701 (ctan_test_upward): Likewise.
20702 (ctanh_test): Likewise.
20703 (ctanh_test_tonearest): Likewise.
20704 (ctanh_test_towardzero): Likewise.
20705 (ctanh_test_downward): Likewise.
20706 (ctanh_test_upward): Likewise.
20707 (erf_test): Likewise.
20708 (erfc_test): Likewise.
20709 (exp_test): Likewise.
20710 (exp_test_tonearest): Likewise.
20711 (exp_test_towardzero): Likewise.
20712 (exp_test_downward): Likewise.
20713 (exp_test_upward): Likewise.
20714 (exp10_test): Likewise.
20715 (exp10_test_tonearest): Likewise.
20716 (exp10_test_towardzero): Likewise.
20717 (exp10_test_downward): Likewise.
20718 (exp10_test_upward): Likewise.
20719 (pow10_test): Likewise.
20720 (exp2_test): Likewise.
20721 (expm1_test): Likewise.
20722 (expm1_test_tonearest): Likewise.
20723 (expm1_test_towardzero): Likewise.
20724 (expm1_test_downward): Likewise.
20725 (expm1_test_upward): Likewise.
20726 (fabs_test): Likewise.
20727 (fdim_test): Likewise.
20728 (floor_test): Likewise.
20729 (fma_test): Likewise.
20730 (fma_test_towardzero): Likewise.
20731 (fma_test_downward): Likewise.
20732 (fma_test_upward): Likewise.
20733 (fmax_test): Likewise.
20734 (fmin_test): Likewise.
20735 (fmod_test): Likewise.
20736 (fpclassify_test): Likewise.
20737 (frexp_test): Likewise.
20738 (hypot_test): Likewise.
20739 (ilogb_test): Likewise.
20740 (isfinite_test): Likewise.
20741 (finite_test): Likewise.
20742 (isgreater_test): Likewise.
20743 (isgreaterequal_test): Likewise.
20744 (isinf_test): Likewise.
20745 (isless_test): Likewise.
20746 (islessequal_test): Likewise.
20747 (islessgreater_test): Likewise.
20748 (isnan_test): Likewise.
20749 (isnormal_test): Likewise.
20750 (issignaling_test): Likewise.
20751 (isunordered_test): Likewise.
20752 (j0_test): Likewise.
20753 (j1_test): Likewise.
20754 (jn_test): Likewise.
20755 (ldexp_test): Likewise.
20756 (lgamma_test): Likewise.
20757 (gamma_test): Likewise.
20758 (lrint_test): Likewise.
20759 (lrint_test_tonearest): Likewise.
20760 (lrint_test_towardzero): Likewise.
20761 (lrint_test_downward): Likewise.
20762 (lrint_test_upward): Likewise.
20763 (llrint_test): Likewise.
20764 (llrint_test_tonearest): Likewise.
20765 (llrint_test_towardzero): Likewise.
20766 (llrint_test_downward): Likewise.
20767 (llrint_test_upward): Likewise.
20768 (log_test): Likewise.
20769 (log10_test): Likewise.
20770 (log1p_test): Likewise.
20771 (log2_test): Likewise.
20772 (logb_test): Likewise.
20773 (logb_test_downward): Likewise.
20774 (lround_test): Likewise.
20775 (llround_test): Likewise.
20776 (modf_test): Likewise.
20777 (nearbyint_test): Likewise.
20778 (nextafter_test): Likewise.
20779 (nexttoward_test): Likewise.
20780 (pow_test): Likewise.
20781 (pow_test_tonearest): Likewise.
20782 (pow_test_towardzero): Likewise.
20783 (pow_test_downward): Likewise.
20784 (pow_test_upward): Likewise.
20785 (remainder_test): Likewise.
20786 (drem_test): Likewise.
20787 (remainder_test_tonearest): Likewise.
20788 (drem_test_tonearest): Likewise.
20789 (remainder_test_towardzero): Likewise.
20790 (drem_test_towardzero): Likewise.
20791 (remainder_test_downward): Likewise.
20792 (drem_test_downward): Likewise.
20793 (remainder_test_upward): Likewise.
20794 (drem_test_upward): Likewise.
20795 (remquo_test): Likewise.
20796 (rint_test): Likewise.
20797 (rint_test_tonearest): Likewise.
20798 (rint_test_towardzero): Likewise.
20799 (rint_test_downward): Likewise.
20800 (rint_test_upward): Likewise.
20801 (round_test): Likewise.
20802 (scalb_test): Likewise.
20803 (scalbn_test): Likewise.
20804 (scalbln_test): Likewise.
20805 (signbit_test): Likewise.
20806 (sin_test): Likewise.
20807 (sin_test_tonearest): Likewise.
20808 (sin_test_towardzero): Likewise.
20809 (sin_test_downward): Likewise.
20810 (sin_test_upward): Likewise.
20811 (sincos_test): Likewise.
20812 (sinh_test): Likewise.
20813 (sinh_test_tonearest): Likewise.
20814 (sinh_test_towardzero): Likewise.
20815 (sinh_test_downward): Likewise.
20816 (sinh_test_upward): Likewise.
20817 (sqrt_test): Likewise.
20818 (sqrt_test_tonearest): Likewise.
20819 (sqrt_test_towardzero): Likewise.
20820 (sqrt_test_downward): Likewise.
20821 (sqrt_test_upward): Likewise.
20822 (tan_test): Likewise.
20823 (tan_test_tonearest): Likewise.
20824 (tan_test_towardzero): Likewise.
20825 (tan_test_downward): Likewise.
20826 (tan_test_upward): Likewise.
20827 (tanh_test): Likewise.
20828 (tgamma_test): Likewise.
20829 (trunc_test): Likewise.
20830 (y0_test): Likewise.
20831 (y1_test): Likewise.
20832 (yn_test): Likewise.
20833 (significand_test): Likewise.
20835 * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
20836 individual tests in comment.
20837 (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
20838 (prev_max_error): New variable.
20839 (prev_real_max_error): Likewise.
20840 (prev_imag_max_error): Likewise.
20841 (compare_ulp_data): Don't refer to test names in comment.
20842 (find_test_ulps): Remove function.
20843 (find_function_ulps): Likewise.
20844 (find_complex_function_ulps): Likewise.
20845 (init_max_error): Take function name as argument. Look up ulps
20847 (print_ulps): Remove function.
20848 (print_max_error): Use prev_max_error instead of calling
20849 find_function_ulps.
20850 (print_complex_max_error): Use prev_real_max_error and
20851 prev_imag_max_error instead of calling find_complex_function_ulps.
20852 (check_float_internal): Take max_ulp parameter instead of calling
20853 find_test_ulps. Don't call print_ulps.
20854 (check_float): Update call to check_float_internal.
20855 (check_complex): Update calls to check_float_internal.
20856 (START): Pass argument to init_max_error.
20857 * math/gen-libm-test.pl (%results): Don't include "kind"
20859 (parse_ulps): Don't handle ulps of individual tests.
20860 (print_ulps_file): Likewise.
20861 (output_ulps): Likewise.
20862 * math/README.libm-test: Update.
20863 * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
20865 * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
20866 * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
20867 * sysdeps/arm/libm-test-ulps: Likewise.
20868 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
20869 * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
20870 * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
20871 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
20872 * sysdeps/microblaze/libm-test-ulps: Likewise.
20873 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
20874 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
20875 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
20876 * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
20877 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
20878 * sysdeps/sh/libm-test-ulps: Likewise.
20879 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
20880 * sysdeps/tile/libm-test-ulps: Likewise.
20881 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20883 2014-03-04 Joseph Myers <joseph@codesourcery.com>
20885 * math/libm-test.inc (print_complex_max_error): Check separately
20886 whether real and imaginary errors are within allowed range and
20887 pass 0 to print_complex_function_ulps instead of value within
20890 2014-03-04 Siddhesh Poyarekar <siddhesh@redhat.com>
20892 * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
20894 (get_handles_fopen): Likewise.
20895 (do_write_test): Likewise.
20897 * libio/wfileops.c (do_ftell_wide): Fix up formatting.
20899 * libio/fileops.c (do_ftell): Use cached offset when
20901 * libio/iofwide.c (do_ftell_wide): Likewise.
20902 * libio/iofdopen.c (_IO_new_fdopen): Don't use
20904 * libio/wfileops.c (_IO_fwide): Don't cache offset.
20907 * libio/libioP.h (get_file_offset): New function.
20908 * libio/fileops.c (get_file_offset): Likewise.
20909 (do_ftell): Likewise.
20910 (_IO_new_file_seekoff): Split out ftell logic.
20911 * libio/wfileops.c (do_ftell_wide): Likewise.
20912 (_IO_wfile_seekoff): Split out ftell logic.
20913 * libio/tst-ftell-active-handler.c: New test case.
20914 * libio/Makefile (tests): Add it.
20916 2014-03-03 Roland McGrath <roland@hack.frob.com>
20918 * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
20919 * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
20921 2014-03-03 Siddhesh Poyarekar <siddhesh@redhat.com>
20924 * nscd/connections.c (nscd_init): Call do_exit.
20925 (start_threads): Call do_exit and notify_parent.
20926 (begin_drop_privileges): Call do_exit.
20927 (finish_drop_privileges): Likewise.
20928 * nscd/selinux.c (preserve_capabilities): Likewise.
20929 (install_real_capabilities): Likewise.
20930 (nscd_selinux_enabled): Likewise.
20931 (avc_create_thread): Likewise.
20932 (avc_alloc_lock): Likewise.
20933 (nscd_avc_init): Likewise.
20934 * nscd/nscd.c (parent_fd): New static variable.
20935 (main): Create a pipe between parent and child processes.
20936 Skip closing parent_fd.
20937 (monitor_child): New function.
20938 (do_exit): Likewise.
20939 (notify_parent): Likewise.
20940 * nscd/nscd.h (notify_parent): Likewise.
20941 (do_exit): Likewise.
20943 2014-03-03 Carlos O'Donell <carlos@redhat.com>
20945 * malloc/malloc.c (__libc_calloc): Revert last change.
20947 2014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20949 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20951 2014-03-03 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
20953 * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
20954 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
20956 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
20957 (__libc_ifunc_impl_list): Likewise.
20958 * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
20959 * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
20960 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
20961 * string/strrchr.c: Define STRRCHR.
20963 2014-02-28 Ondřej Bílka <neleai@seznam.cz>
20965 * benchtest/bench-strtok.c (simple_strtok): Delete.
20966 (strtok_string): Use as benchmark.
20967 * string/strtok (STRTOK): New macro.
20969 2014-02-28 Carlos O'Donell <carlos@redhat.com>
20971 * manual/threads.texi: Add header and standard comments to all
20974 * elf/dl-lookup.c (check_match): New function.
20975 (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
20976 (do_lookup_x): Remove nested function check_match. Use non-nested
20977 function check_match.
20979 2014-02-28 Roland McGrath <roland@hack.frob.com>
20981 * csu/Makefile (generated, before-compile): Use += rather than =.
20982 * catgets/Makefile (generated, generated-dirs): Likewise.
20983 * debug/Makefile (generated): Likewise.
20984 * dlfcn/Makefile (generated): Likewise.
20985 * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
20986 * iconvdata/Makefile (before-compile, generated): Likewise.
20987 * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
20988 * libio/Makefile (generated): Likewise.
20989 * malloc/Makefile (generated): Likewise.
20990 * manual/Makefile (generated, generated-dirs): Likewise.
20991 * misc/Makefile (generated): Likewise.
20992 * posix/Makefile (generated): Likewise.
20993 * resolv/Makefile (generated): Likewise.
20994 * sunrpc/Makefile (generated, generated-dirs): Likewise.
20995 * timezone/Makefile (generated, generated-dirs): Likewise.
20997 * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
20999 2014-02-27 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21001 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
21002 power8 implementation.
21003 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
21004 file: POWER8 llround ifunc implementation.
21005 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
21006 (__lllround): Add POWER8 implementation.
21007 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
21008 POWER8 llround implementation.
21010 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
21011 power8 implementation.
21012 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
21013 file: POWER8 llrint ifunc implementation.
21014 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
21015 Add POWER8 implementation.
21016 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
21017 POWER8 llrint implementation.
21019 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
21020 power8 implementation.
21021 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
21022 file: POWER8 finite ifunc implementation.
21023 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
21024 Add POWER8 implementation.
21025 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
21027 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
21028 POWER8 finite implementation.
21029 * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
21031 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
21032 power8 implementation.
21033 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
21034 file: POWER8 isinf ifunc implementation.
21035 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
21036 POWER8 implementation.
21037 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
21039 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
21040 isinf implementation.
21041 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
21043 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
21044 (INIT_ARCH): Add hwcap2 initialization.
21045 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
21046 power8 implementation.
21047 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
21048 file: POWER8 isnan ifunc implementation.
21049 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
21050 POWER8 implementation.
21051 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
21053 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
21054 isnan implementation.
21055 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
21057 2014-02-27 Joey Ye <joey.ye@arm.com>
21059 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
21060 (_FP_NANFRAC_Q): Set to zero.
21062 2014-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
21065 * math/auto-libm-test-in: New test inputs.
21066 * math/auto-libm-test-out: Regenerate.
21067 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
21070 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
21072 2014-02-27 Joseph Myers <joseph@codesourcery.com>
21074 * scripts/evaluate-test.sh: Take new argument indicating whether
21075 failure is expected.
21076 * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
21077 indicating whether failure is expected.
21078 * conform/Makefile (test-xfail-run-conformtest): New variable.
21079 ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
21081 * posix/Makefile (test-xfail-annexc): New variable.
21082 ($(objpfx)annexc.out): Don't expect to fail at makefile level.
21084 2014-02-26 Joseph Myers <joseph@codesourcery.com>
21086 * argp/Makefile: Include Makeconfig immediately after defining
21088 * assert/Makefile: Likewise.
21089 * benchtests/Makefile: Likewise.
21090 * catgets/Makefile: Likewise.
21091 * conform/Makefile: Likewise.
21092 * crypt/Makefile: Likewise.
21093 * csu/Makefile: Likewise.
21094 (all): Remove target.
21095 * ctype/Makefile: Include Makeconfig immediately after defining
21097 * debug/Makefile: Likewise.
21098 * dirent/Makefile: Likewise.
21099 * dlfcn/Makefile: Likewise.
21100 * gmon/Makefile: Likewise.
21101 * gnulib/Makefile: Likewise.
21102 * grp/Makefile: Likewise.
21103 * gshadow/Makefile: Likewise.
21104 * hesiod/Makefile: Likewise.
21105 * hurd/Makefile: Likewise.
21106 (all): Remove target.
21107 * iconvdata/Makefile: Include Makeconfig immediately after
21109 * inet/Makefile: Likewise.
21110 * intl/Makefile: Likewise.
21111 * io/Makefile: Likewise.
21112 * libio/Makefile: Likewise.
21113 (all): Remove target.
21114 * locale/Makefile: Include Makeconfig immediately after defining
21116 * login/Makefile: Likewise.
21117 * mach/Makefile: Likewise.
21118 (all): Remove target.
21119 * malloc/Makefile: Include Makeconfig immediately after defining
21121 (all): Remove target.
21122 * manual/Makefile: Include Makeconfig immediately after defining
21124 * math/Makefile: Likewise.
21125 * misc/Makefile: Likewise.
21126 * nis/Makefile: Likewise.
21127 * nss/Makefile: Likewise.
21128 * po/Makefile: Likewise.
21129 (all): Remove target.
21130 * posix/Makefile: Include Makeconfig immediately after defining
21132 * pwd/Makefile: Likewise.
21133 * resolv/Makefile: Likewise.
21134 * resource/Makefile: Likewise.
21135 * rt/Makefile: Likewise.
21136 * setjmp/Makefile: Likewise.
21137 * shadow/Makefile: Likewise.
21138 * signal/Makefile: Likewise.
21139 * socket/Makefile: Likewise.
21140 * soft-fp/Makefile: Likewise.
21141 * stdio-common/Makefile: Likewise.
21142 * stdlib/Makefile: Likewise.
21143 * streams/Makefile: Likewise.
21144 * string/Makefile: Likewise.
21145 * sunrpc/Makefile: Likewise.
21146 (all): Remove target.
21147 * sysvipc/Makefile: Include Makeconfig immediately after defining
21149 * termios/Makefile: Likewise.
21150 * time/Makefile: Likewise.
21151 * timezone/Makefile: Likewise.
21152 (all): Remove target.
21153 * wcsmbs/Makefile: Include Makeconfig immediately after defining
21155 * wctype/Makefile: Likewise.
21157 2014-02-26 Steve Ellcey <sellcey@mips.com>
21159 * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
21160 (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
21161 (libc_feholdexcept_setround_mips): Ditto.
21162 (libc_feholdsetround): New.
21163 (libc_feholdsetroundf): New.
21164 (libc_feholdsetroundl): New.
21165 (libc_feupdateenv_test_mips): New.
21166 (libc_feupdateenv_test): New.
21167 (libc_feupdateenv_testf): New.
21168 (libc_feupdateenv_testl): New.
21169 (libc_feresetround): New.
21170 (libc_feresetroundf): New.
21171 (libc_feresetroundl): New.
21172 (libc_fetestexcept_mips): New.
21173 (libc_fetestexcept): New.
21174 (libc_fetestexceptf): New.
21175 (libc_fetestexceptl): New.
21176 (HAVE_RM_CTX): New.
21177 (libc_feholdexcept_setround_mips_ctx): New.
21178 (libc_feholdexcept_setround_ctx): New.
21179 (libc_feholdexcept_setroundf_ctx): New.
21180 (libc_feholdexcept_setroundl_ctx): New.
21181 (libc_fesetenv_mips_ctx): New.
21182 (libc_fesetenv_ctx): New.
21183 (libc_fesetenv_ctxf): New.
21184 (libc_fesetenv_ctxl): New.
21185 (libc_feupdateenv_mips_ctx): New.
21186 (libc_feupdateenv_ctx): New.
21187 (libc_feupdateenvf_ctx): New.
21188 (libc_feupdateenvl_ctx): New.
21189 (libc_feholdsetround_mips_ctx): New.
21190 (libc_feholdsetround_ctx): New.
21191 (libc_feholdsetroundf_ctx): New.
21192 (libc_feholdsetroundl_ctx): New.
21193 (libc_feresetround_mips_ctx): New.
21194 (libc_feresetround_ctx): New.
21195 (libc_feresetroundf_ctx): New.
21196 (libc_feresetroundl_ctx): New.
21198 2014-02-26 Carlos O'Donell <carlos@redhat.com>
21200 * manual/ipc.texi (Semaphores): Use @Theglibc{}.
21202 * manual/ipc.texi: New file.
21203 * manual/Makefile (chapters): Add ipc.
21204 * manual/job.texi: Add "Inter-Process Communication" to next.
21205 * manual/process.texi: Add "Inter-Process Communication" to prev.
21207 2014-02-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21209 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21211 2014-02-26 Ondřej Bílka <neleai@seznam.cz>
21213 * malloc/malloc.c (__libc_calloc): Simplify implementation.
21215 * manual/arith.texi: Fix spaces after sentences.
21216 * manual/charset.texi: Likewise.
21217 * manual/errno.texi: Likewise.
21218 * manual/install.texi: Likewise.
21219 * manual/llio.texi: Likewise.
21220 * manual/locale.texi: Likewise.
21221 * manual/maint.texi: Likewise.
21222 * manual/math.texi: Likewise.
21223 * manual/memory.texi: Likewise.
21224 * manual/message.texi: Likewise.
21225 * manual/probes.texi: Likewise.
21226 * manual/resource.texi: Likewise.
21227 * manual/signal.texi: Likewise.
21228 * manual/socket.texi: Likewise.
21229 * manual/stdio.texi: Likewise.
21230 * manual/string.texi: Likewise.
21231 * manual/time.texi: Likewise.
21232 * manual/users.texi: Likewise.
21234 2014-02-25 Carlos O'Donell <carlos@redhat.com>
21237 * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
21238 _DEFAULT_SOURCE is defined.
21240 2014-02-25 Ulrich Drepper <drepper@gmail.com>
21241 Carlos O'Donell <carlos@redhat.com>
21244 * elf/dl-tls.c (_dl_count_modids): New function.
21245 * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
21246 * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
21247 audit library and increment generation counter.
21248 (_dl_allocate_tls_init): Add assertion to check TLS generation count.
21249 * elf/tst-audit9.c: New file.
21250 * elf/tst-auditmod9a.c: New file.
21251 * elf/tst-auditmod9b.c: New file.
21252 * elf/Makefile: Add rules to build and run tst-audit9.
21254 2014-02-25 Florian Weimer <fweimer@redhat.com>
21257 * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
21259 2014-02-25 Will Newton <will.newton@linaro.org>
21261 * sysdeps/arm/__longjmp.S: Include stap-probe.h.
21262 (__longjmp): Restore sp and lr before restoring callee
21263 saved registers. Add longjmp and longjmp_target
21264 SystemTap probe point.
21265 * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
21266 * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
21267 Define to zero to match jmpbuf layout.
21268 * sysdeps/arm/setjmp.S: Include stap-probe.h.
21269 (__sigsetjmp): Save sp and lr before saving callee
21270 saved registers. Add setjmp SystemTap probe point.
21272 2014-02-24 Stefan Liebler <stli@linux.vnet.ibm.com>
21274 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
21276 2014-02-24 Andreas Schwab <schwab@suse.de>
21279 * elf/pldd.c (wait_for_ptrace_stop): New function.
21280 (main): Call it after attaching.
21282 2014-02-22 Roland McGrath <roland@hack.frob.com>
21284 * Makerules ($(common-objpfx)Versions.v.i): No longer depend
21285 on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
21286 Versions files is now verboten.
21287 * hurd/Versions (libc: GLIBC_2.0):
21288 Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
21289 (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
21290 [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
21291 * mach/Versions: Likewise.
21293 * csu/Versions: Remove unused %include.
21294 * resolv/Versions: Likewise.
21296 2014-02-21 Joseph Myers <joseph@codesourcery.com>
21298 * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
21299 ($(objpfx)check-local-headers.out): Likewise.
21300 ($(objpfx)begin-end-check.out): Likewise.
21301 * Makerules (check-abi-%.out): Likewise.
21302 * catgets/Makefile ($(objpfx)test1.cat): Likewise.
21303 ($(objpfx)test2.cat): Likewise.
21304 ($(objpfx)de/libc.cat): Likewise.
21305 ($(objpfx)test-gencat.out): Likewise.
21306 * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
21307 * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
21308 ($(objpfx)noload-mem): Likewise.
21309 ($(objpfx)tst-pathopt.out): Likewise.
21310 ($(objpfx)tst-rtld-load-self.out): Likewise.
21311 ($(objpfx)tst-array1-cmp.out): Likewise.
21312 ($(objpfx)tst-array1-static-cmp.out): Likewise.
21313 ($(objpfx)tst-array2-cmp.out): Likewise.
21314 ($(objpfx)tst-array3-cmp.out): Likewise.
21315 ($(objpfx)tst-array4-cmp.out): Likewise.
21316 ($(objpfx)tst-array5-cmp.out): Likewise.
21317 ($(objpfx)tst-array5-static-cmp.out): Likewise.
21318 ($(objpfx)check-textrel.out): Likewise.
21319 ($(objpfx)check-execstack.out): Likewise.
21320 ($(objpfx)check-localplt.out): Likewise.
21321 ($(objpfx)order2-cmp.out): Likewise.
21322 ($(objpfx)tst-leaks1-mem): Likewise.
21323 ($(objpfx)tst-leaks1-static-mem): Likewise.
21324 ($(objpfx)tst-initorder-cmp.out): Likewise.
21325 ($(objpfx)tst-initorder2-cmp.out): Likewise.
21326 ($(objpfx)tst-unused-dep.out): Likewise.
21327 ($(objpfx)tst-unused-dep-cmp.out): Likewise.
21328 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
21329 * iconv/Makefile (test-iconvconfig): Likewise.
21330 * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
21331 ($(objpfx)iconv-test.out): Likewise.
21332 ($(objpfx)tst-tables.out): Likewise.
21333 * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
21334 ($(objpfx)tst-gettext.out): Likewise.
21335 ($(objpfx)tst-translit.out): Likewise.
21336 ($(objpfx)tst-gettext2.out): Likewise.
21337 ($(objpfx)tst-gettext4.out): Likewise.
21338 ($(objpfx)tst-gettext6.out): Likewise.
21339 * io/Makefile ($(objpfx)ftwtest.out): Likewise.
21340 * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
21341 ($(objpfx)tst-fopenloc-cmp.out): Likewise.
21342 ($(objpfx)tst-fopenloc-mem.out): Likewise.
21343 * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
21344 * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
21345 * posix/Makefile ($(objpfx)globtest.out): Likewise.
21346 ($(objpfx)wordexp-tst.out): Likewise.
21347 ($(objpfx)annexc.out): Likewise.
21348 ($(objpfx)tst-fnmatch-mem): Likewise.
21349 ($(objpfx)bug-regex2-mem): Likewise.
21350 ($(objpfx)bug-regex14-mem): Likewise.
21351 ($(objpfx)bug-regex21-mem): Likewise.
21352 ($(objpfx)bug-regex31-mem): Likewise.
21353 ($(objpfx)tst-vfork3-mem): Likewise.
21354 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
21355 ($(objpfx)tst-pcre-mem): Likewise.
21356 ($(objpfx)tst-boost-mem): Likewise.
21357 ($(objpfx)tst-getconf.out): Likewise.
21358 ($(objpfx)bug-ga2-mem): Likewise.
21359 ($(objpfx)bug-glob2-mem): Likewise.
21360 * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
21361 ($(objpfx)mtrace-tst-leaks2): Likewise.
21362 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
21363 ($(objpfx)tst-printf.out): Likewise.
21364 ($(objpfx)tst-setvbuf1.out): Likewise.
21365 ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
21366 * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
21367 ($(objpfx)tst-fmtmsg.out): Likewise.
21368 * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
21369 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
21371 * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
21372 * bits/sigaction.h [__USE_MISC]: Likewise.
21373 * bits/waitstatus.h: Update #endif comments.
21374 * ctype/ctype.h: Likewise.
21375 * dirent/dirent.h: Likewise.
21376 [__USE_MISC]: Remove redundant conditionals.
21377 * grp/grp.h: Update #endif comments.
21378 [__USE_GNU]: Remove redundant conditionals.
21379 [__USE_MISC]: Likewise.
21380 * inet/netinet/in.h [__USE_GNU]: Likewise.
21381 * io/sys/stat.h [__USE_MISC]: Likewise.
21382 * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
21383 * libio/bits/stdio.h: Update #endif comments.
21384 [__USE_MISC]: Remove redundant conditionals.
21385 * libio/bits/stdio2.h [__USE_MISC]: Likewise.
21386 * libio/stdio.h: Update #endif comments.
21387 [__USE_MISC]: Remove redundant conditionals.
21388 * math/bits/math-finite.h [__USE_MISC]: Likewise.
21389 * math/bits/mathcalls.h [__USE_MISC]: Likewise.
21390 * math/math.h: Update #else and #endif comments.
21391 [__USE_MISC]: Remove redundant conditionals.
21392 * misc/sys/uio.h: Update #endif comments.
21393 * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
21394 * posix/glob.h [__USE_MISC]: Likewise.
21395 * posix/sys/types.h: Update #endif comments.
21396 [__USE_MISC]: Remove redundant conditionals.
21397 * posix/sys/wait.h: Update #endif comments.
21398 [__USE_MISC]: Remove redundant conditionals.
21399 * posix/unistd.h: Update #endif comments.
21400 [__USE_MISC]: Remove redundant conditionals.
21401 * pwd/pwd.h [__USE_GNU]: Likewise.
21402 [__USE_MISC]: Likewise.
21403 * resolv/netdb.h [__USE_GNU]: Likewise.
21404 * signal/signal.h: Update #endif comments.
21405 [__USE_MISC]: Remove redundant conditionals.
21406 * stdlib/stdlib.h: Update #else and #endif comments.
21407 [__USE_MISC]: Remove redundant conditionals.
21408 [__USE_GNU]: Likewise.
21409 * string/bits/string2.h [__USE_MISC]: Likewise.
21410 * string/string.h: Update #endif comments.
21411 [__USE_MISC]: Remove redundant conditionals.
21412 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
21414 * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
21415 * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
21416 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
21418 * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
21420 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
21422 [__USE_MISC]: Remove redundant conditionals.
21423 * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
21424 * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
21425 * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
21426 * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
21427 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
21429 * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
21430 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
21432 * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
21433 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
21435 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
21437 * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
21438 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
21440 * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
21442 * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
21443 * sysdeps/x86/bits/string.h: Update #endif comments.
21444 * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
21446 * time/sys/time.h: Update #endif comments.
21447 * time/time.h: Likewise.
21448 [__USE_MISC]: Remove redundant conditionals.
21450 2014-02-21 Yury Gribov <y.gribov@samsung.com>
21453 * sysdeps/arm/libm-test-ulps: Update for VFPv4.
21455 2014-02-21 Andreas Schwab <schwab@linux-m68k.org>
21457 * Versions.def (librt): Add GLIBC_2.17.
21459 2014-02-21 Adam Conrad <adconrad@0c3.net>
21461 * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
21462 synonym for _SYS_AUXV_H to allow direct inclusion.
21463 * sysdeps/sparc/bits/hwcap.h: Likewise.
21464 * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
21465 _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
21466 * sysdeps/sparc/sysdep.h: Likewise.
21468 2014-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
21470 * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
21472 2014-02-21 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
21474 * benchtests/bench-strrchr.c: Print length instead of position.
21476 2014-02-20 Joseph Myers <joseph@codesourcery.com>
21479 * sysdeps/unix/sysv/linux/kernel-features.h
21480 [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
21481 (__ASSUME_SENDMMSG_SOCKETCALL): Define.
21482 [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
21483 __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
21485 [__i386__ || __powerpc__ || __sh__ || __sparc__]
21486 (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
21487 [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
21488 (__ASSUME_SENDMMSG): Define instead of using previous
21489 [__LINUX_KERNEL_VERSION >= 0x020627] condition.
21490 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
21491 (__ASSUME_SENDMMSG_SYSCALL): Define.
21492 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
21493 [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
21495 * sysdeps/unix/sysv/linux/arm/kernel-features.h
21496 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
21498 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
21499 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
21501 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
21502 && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
21503 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
21504 [__ASSUME_SENDMMSG]: Change conditionals to
21505 [__ASSUME_SENDMMSG_SOCKETCALL].
21506 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
21507 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
21509 * sysdeps/unix/sysv/linux/mips/kernel-features.h
21510 [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
21512 * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
21513 !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
21514 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
21515 [!__ASSUME_SENDMMSG]: Change conditional to
21516 [!__ASSUME_SENDMMSG_SOCKETCALL].
21517 * sysdeps/unix/sysv/linux/tile/kernel-features.h
21518 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
21522 * sysdeps/unix/sysv/linux/kernel-features.h
21523 [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
21524 (__ASSUME_RECVMMSG_SOCKETCALL): Define.
21525 [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
21526 __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
21527 || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
21528 [__i386__ || __sparc__]
21529 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
21530 [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
21531 (__ASSUME_RECVMMSG): Define instead of using previous
21532 [__LINUX_KERNEL_VERSION >= 0x020621] condition.
21533 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
21534 (__ASSUME_RECVMMSG_SYSCALL): Define.
21535 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
21536 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
21538 * sysdeps/unix/sysv/linux/arm/kernel-features.h
21539 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
21541 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
21542 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
21544 * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
21545 && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
21546 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
21547 [__ASSUME_RECVMMSG]: Change condition to
21548 [__ASSUME_RECVMMSG_SOCKETCALL].
21549 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
21550 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
21552 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
21553 * sysdeps/unix/sysv/linux/mips/kernel-features.h
21554 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
21556 * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
21557 !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
21558 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
21559 [!__ASSUME_RECVMMSG]: Change condition to
21560 [!__ASSUME_RECVMMSG_SOCKETCALL].
21561 * sysdeps/unix/sysv/linux/tile/kernel-features.h
21562 (__ASSUME_RECVMMSG_SYSCALL): Define.
21565 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
21566 __powerpc__ || __s390__ || __sh__ || __sparc__]
21567 (__ASSUME_SOCKETCALL): Define.
21568 [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
21569 (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
21570 [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
21571 || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
21572 __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
21573 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
21574 [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
21575 (__ASSUME_ACCEPT4): Define instead of using previous
21576 [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
21577 __powerpc__ || __sparc__ || __s390__)] condition.
21578 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
21579 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
21580 * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
21581 !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
21582 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
21583 [!__ASSUME_ACCEPT4]: Change condition to
21584 [!__ASSUME_ACCEPT4_SOCKETCALL].
21585 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
21586 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL. Correct
21587 condition to [__LINUX_KERNEL_VERSION >= 0x030200].
21588 * sysdeps/unix/sysv/linux/arm/kernel-features.h
21589 [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
21590 __ASSUME_ACCEPT4_SYSCALL.
21591 * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
21592 Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
21593 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
21594 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
21595 __ASSUME_ACCEPT4_SYSCALL.
21596 * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
21597 && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
21598 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
21599 [__ASSUME_ACCEPT4]: Change condition to
21600 [__ASSUME_ACCEPT4_SOCKETCALL].
21601 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
21602 (__ASSUME_SOCKETCALL): Define.
21603 [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
21604 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
21605 (__ASSUME_SOCKETCALL): Define.
21606 (__ASSUME_ACCEPT4): Remove.
21607 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
21609 * sysdeps/unix/sysv/linux/mips/kernel-features.h
21610 [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
21612 * sysdeps/unix/sysv/linux/tile/kernel-features.h
21613 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
21615 * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
21617 (HWCAP_ARM_LPAE): Likewise.
21618 (HWCAP_ARM_EVTSTRM): Likewise.
21619 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
21620 Add vpfd32, lpae and evtstrm.
21621 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
21624 2014-02-19 Joseph Myers <joseph@codesourcery.com>
21626 * math/auto-libm-test-in: Add tests of clog10.
21627 * math/auto-libm-test-out: Regenerated.
21628 * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
21629 * sysdeps/i386/fpu/libm-test-ulps: Update.
21630 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21632 2014-02-18 Andreas Schwab <schwab@suse.de>
21635 * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
21636 Store non-zero if the second buffer was newly allocated.
21637 (send_dg): Likewise.
21638 (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
21639 to send_vc and send_dg.
21640 (res_nsend): Pass NULL for ansp2_malloced.
21641 * resolv/res_query.c (__libc_res_nquery): Add parameter
21642 answerp2_malloced and pass it down to __libc_res_nsend.
21643 (res_nquery): Pass additional NULL to __libc_res_nquery.
21644 (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
21645 down to __libc_res_nquery and __libc_res_nquerydomain. Deallocate
21646 second answer buffer if answerp2_malloced was set.
21647 (res_nsearch): Pass additional NULL to __libc_res_nsearch.
21648 (__libc_res_nquerydomain): Add parameter
21649 answerp2_malloced and pass it down to __libc_res_nquery.
21650 (res_nquerydomain): Pass additional NULL to
21651 __libc_res_nquerydomain.
21652 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
21653 additional NULL to __libc_res_nsend and __libc_res_nquery.
21654 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
21655 additional NULL to __libc_res_nsearch.
21656 (_nss_dns_gethostbyname4_r): Revert last change. Use new
21657 parameter of __libc_res_nsearch to check for separately allocated
21659 (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
21661 * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
21662 additional NULL to __libc_res_nquery.
21663 * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
21664 __libc_res_nsearch.
21665 (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
21666 * include/resolv.h: Update prototypes of __libc_res_nquery,
21667 __libc_res_nsearch, __libc_res_nsend.
21669 2014-02-18 Joseph Myers <joseph@codesourcery.com>
21671 * math/auto-libm-test-in: Add tests of fma.
21672 * math/auto-libm-test-out: Regenerated.
21673 * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
21674 (fma_towardzero_test_data): Likewise.
21675 (fma_downward_test_data): Likewise.
21676 (fma_upward_test_data): Likewise.
21677 * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
21679 (rounding_modes): Add values for new field.
21680 (func_calc_method): Add value mpfr_fff_f.
21681 (func_calc_desc): Add mpfr_fff_f union field.
21682 (test_function): Add field exact_args.
21683 (FUNC): Add macro argument EXACT_ARGS.
21684 (FUNC_mpfr_f_f): Update call to FUNC.
21685 (FUNC_mpfr_f_f): Likewise.
21686 (FUNC_mpfr_ff_f): Likewise.
21687 (FUNC_mpfr_if_f): Likewise.
21688 (FUNC_mpc_c_f): Likewise.
21689 (FUNC_mpc_c_c): Likewise.
21690 (test_functions): Add fma. Update calls to FUNC.
21691 (handle_input_arg): Add argument exact_args.
21692 (add_test): Update call to handle_input_arg.
21693 (calc_generic_results): Add argument mode. Handle mpfr_fff_f.
21694 (output_for_one_input_case): Update call to calc_generic_results.
21695 Recalculate exact zero results in each rounding mode.
21697 * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
21698 non-negative before setting low bit.
21699 * math/auto-libm-test-in: Mark one asin test possibly having
21700 spurious underflow.
21701 * math/auto-libm-test-out: Regenerated.
21702 * sysdeps/i386/fpu/libm-test-ulps: Update.
21703 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21705 2014-02-17 David Holsgrove <david.holsgrove@xilinx.com>
21707 * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
21708 * sysdeps/unix/sysv/linux/microblaze: Move directory from
21709 ports/sysdeps/unix/sysv/linux/microblaze.
21710 * README: Add missing listing for microblaze*-*-linux-gnu.
21712 2014-02-16 Ondřej Bílka <neleai@seznam.cz>
21714 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Remove
21717 2014-02-16 Mike Frysinger <vapier@gentoo.org>
21719 * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
21720 * sysdeps/unix/sysv/linux/ia64: Move directory from
21721 ports/sysdeps/unix/sysv/linux/ia64.
21722 * README: Update listing for ia64-*-linux-gnu.
21724 2014-02-14 Tomas Dohnalek <tdohnale@redhat.com>
21725 Joseph Myers <joseph@codesourcery.com>
21727 * Makeconfig (test-name): New variable.
21728 (evaluate-test): Likewise.
21729 * Makerules (do-test-clean): Remove .test-result files.
21730 (common-mostlyclean): Likewise.
21731 * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
21732 * scripts/evaluate-test.sh: New file.
21734 2014-02-14 Joseph Myers <joseph@codesourcery.com>
21736 * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
21737 separate $(objpfx)tst-fopenloc-cmp.out and
21738 $(objpfx)tst-fopenloc-mem.out targets.
21739 (tests): Update dependencies.
21740 * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
21741 (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
21742 tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
21743 (tst-rxspencer-no-utf8-ARGS): New variable.
21744 (tst-rxspencer-no-utf8-ENV): Likewise.
21745 (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
21746 instead of $(objpfx)tst-rxspencer-mem.
21747 ($(objpfx)tst-rxspencer-mem): Change target to
21748 $(objpfx)tst-rxspencer-no-utf8-mem. Depend on
21749 $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
21750 * posix/tst-rxspencer-no-utf8.c: New file.
21752 * elf/Makefile ($(objpfx)order.out): Remove rule.
21753 [$(run-built-tests) = yes] (tests): Depend on
21754 $(objpfx)order-cmp.out.
21755 ($(objpfx)order-cmp.out): New rule.
21756 [$(run-built-tests) = yes] (tests): Depend on
21757 $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
21758 $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
21759 $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
21760 $(objpfx)tst-array5-static-cmp.out.
21761 ($(objpfx)tst-array1.out): Remove rule.
21762 ($(objpfx)tst-array1-cmp.out): New rule.
21763 ($(objpfx)tst-array1-static.out): Remove rule.
21764 ($(objpfx)tst-array1-static-cmp.out): New rule.
21765 ($(objpfx)tst-array2.out): Remove rule.
21766 ($(objpfx)tst-array2-cmp.out): New rule.
21767 ($(objpfx)tst-array3.out): Remove rule.
21768 ($(objpfx)tst-array3-cmp.out): New rule.
21769 ($(objpfx)tst-array4.out): Remove rule.
21770 ($(objpfx)tst-array4-cmp.out): New rule.
21771 ($(objpfx)tst-array5.out): Remove rule.
21772 ($(objpfx)tst-array5-cmp.out): New rule.
21773 ($(objpfx)tst-array5-static.out): Remove rule.
21774 ($(objpfx)tst-array5-static-cmp.out): New rule.
21775 [$(run-built-tests) = yes] (tests): Depend on
21776 $(objpfx)order2-cmp.out.
21777 ($(objpfx)order2.out): Remove rule.
21778 ($(objpfx)order2-cmp.out): New rule.
21779 ($(objpfx)tst-initorder.out): Remove rule.
21780 [$(run-built-tests) = yes] (tests): Depend on
21781 $(objpfx)tst-initorder-cmp.out.
21782 ($(objpfx)tst-initorder-cmp.out): New rule.
21783 ($(objpfx)tst-initorder2.out): Remove rule.
21784 [$(run-built-tests) = yes] (tests): Depend on
21785 $(objpfx)tst-initorder2-cmp.out.
21786 ($(objpfx)tst-initorder2-cmp.out): New rule.
21787 [$(run-built-tests) = yes] (tests): Depend on
21788 $(objpfx)tst-unused-dep-cmp.out.
21789 ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
21790 ($(objpfx)tst-unused-dep-cmp.out): New rule.
21791 * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
21792 on $(objpfx)tst-setvbuf1-cmp.out.
21793 ($(objpfx)tst-setvbuf1.out): Do not run cmp.
21794 ($(objpfx)tst-setvbuf1-cmp.out): New rule.
21795 * string/Makefile [$(run-built-tests) = yes] (tests): Depend
21796 $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
21797 ($(objpfx)tst-svc.out): Remove rule.
21798 ($(objpfx)tst-svc-cmp.out): New rule.
21800 2014-02-13 Joseph Myers <joseph@codesourcery.com>
21802 * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
21803 * ctype/ctype.h [__USE_MISC]: Likewise.
21804 * dirent/dirent.h [__USE_MISC]: Likewise.
21805 * grp/grp.h [__USE_MISC]: Likewise.
21806 * io/fcntl.h [__USE_MISC]: Likewise.
21807 * io/sys/stat.h [__USE_MISC]: Likewise.
21808 * libio/stdio.h [__USE_MISC]: Likewise.
21809 * posix/unistd.h [__USE_MISC]: Likewise.
21810 * pwd/pwd.h [__USE_MISC]: Likewise.
21811 * stdlib.h [__USE_MISC]: Likewise.
21812 * string/bits/string2.h [__USE_MISC]: Likewise.
21813 * string/string.h [__USE_MISC]: Likewise.
21814 * time/time.h [__USE_MISC]: Likewise.
21816 2014-02-13 Andreas Schwab <schwab@suse.de>
21819 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
21820 second answer buffer if it was separately allocated.
21822 2014-02-12 Joseph Myers <joseph@codesourcery.com>
21824 * sysdeps/mips/math-tests.h: Include <features.h>.
21825 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
21826 (ROUNDING_TESTS_long_double): Do not define.
21827 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
21828 (EXCEPTION_TESTS_long_double): Likewise.
21829 * sysdeps/mips/mips64/libm-test-ulps: Update.
21831 * include/features.h (__USE_BSD): Remove macro definitions.
21832 (__USE_SVID): Likewise.
21833 (_BSD_SOURCE): Likewise.
21834 (_SVID_SOURCE): Likewise.
21835 [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
21836 from definition of _DEFAULT_SOURCE.
21837 [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
21839 * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
21840 * bits/mman.h [__USE_BSD]: Likewise.
21841 * bits/termios.h [__USE_BSD]: Likewise.
21842 * bits/waitstatus.h [__USE_BSD]: Likewise.
21843 * ctype/ctype.h [__USE_SVID]: Likewise.
21844 * dirent/dirent.h [__USE_BSD]: Likewise.
21845 * grp/grp.h [__USE_SVID]: Likewise.
21846 [__USE_BSD]: Likewise.
21847 * inet/netinet/igmp.h [__USE_BSD]: Likewise.
21848 * io/fcntl.h [__USE_BSD]: Likewise.
21849 * io/ftw.h [__USE_BSD]: Likewise.
21850 * io/sys/stat.h [__USE_BSD]: Likewise.
21851 * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
21852 * libio/bits/stdio2.h [__USE_BSD]: Likewise.
21853 * libio/stdio.h [__USE_SVID]: Likewise.
21854 [__USE_BSD]: Likewise.
21855 * math/math.h [__USE_SVID]: Likewise.
21856 [__USE_BSD]: Likewise.
21857 * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
21858 * misc/bits/syslog.h [__USE_BSD]: Likewise.
21859 * misc/search.h [__USE_SVID]: Likewise.
21860 * misc/sys/mman.h [__USE_BSD]: Likewise.
21861 * misc/sys/syslog.h [__USE_BSD]: Likewise.
21862 * misc/sys/uio.h [__USE_BSD]: Likewise.
21863 * posix/bits/unistd.h [__USE_BSD]: Likewise.
21864 * posix/glob.h [__USE_BSD]: Likewise.
21865 * posix/regex.h [__USE_BSD]: Likewise.
21866 * posix/sys/types.h [__USE_BSD]: Likewise.
21867 [__USE_SVID]: Likewise.
21868 * posix/sys/utsname.h [__USE_SVID]: Likewise.
21869 * posix/sys/wait.h [__USE_BSD]: Likewise.
21870 [__USE_SVID]: Likewise.
21871 * posix/unistd.h [__USE_BSD]: Likewise.
21872 [__USE_SVID]: Likewise.
21873 * pwd/pwd.h [__USE_SVID]: Likewise.
21874 * resolv/netdb.h [__USE_BSD]: Likewise.
21875 * setjmp/setjmp.h [__USE_BSD]: Likewise.
21876 * signal/signal.h [__USE_BSD]: Likewise.
21877 [__USE_SVID]: Likewise.
21878 * socket/sys/socket.h [__USE_BSD]: Likewise.
21879 * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
21880 * stdlib/stdlib.h [__USE_BSD]: Likewise.
21881 [__USE_SVID]: Likewise.
21882 * string/bits/string2.h [__USE_BSD]: Likewise.
21883 [__USE_SVID]: Likewise.
21884 * string/bits/string3.h [__USE_BSD]: Likewise.
21885 * string/endian.h [__USE_BSD]: Likewise.
21886 * string/string.h [__USE_SVID]: Likewise.
21887 [__USE_BSD]: Likewise.
21888 * string/strings.h [__USE_BSD]: Likewise.
21889 * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
21890 * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
21891 * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
21892 * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
21893 * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
21894 * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
21896 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
21898 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
21899 * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
21901 * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
21902 * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
21904 * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
21906 * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
21907 * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
21908 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
21910 * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
21912 * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
21913 * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
21914 * termios/termios.h [__USE_BSD]: Likewise.
21915 * time/sys/time.h [__USE_BSD]: Likewise.
21916 * time/time.h [__USE_BSD]: Likewise.
21917 [__USE_SVID]: Likewise.
21919 * Makefile (subdir_targets): Remove subdir_lint.out.
21921 * stdio-common/Makefile (do-tst-unbputc): Remove target.
21922 (do-tst-printf): Likewise.
21923 (tests): Depend directly on $(objpfx)tst-unbputc.out and
21924 $(objpfx)tst-printf.out.
21926 * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
21928 * Makerules (check-abi-%): Change target to
21929 $(objpfx)check-abi-%.out.
21930 (check-abi target): Update dependencies.
21931 (check-abi-pattern variable): Redirect output of diff to $@.
21932 (check-abi variable): Likewise.
21933 * elf/Makefile (check-abi): Update dependencies.
21935 * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
21937 (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
21938 value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
21940 (_FP_PACK_CANONICAL): Determine tininess based on rounding to
21941 normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
21942 value has largest subnormal exponent.
21943 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
21944 (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
21945 * sysdeps/aarch64/soft-fp/sfp-machine.h
21946 (_FP_TININESS_AFTER_ROUNDING): New macro.
21947 * sysdeps/alpha/soft-fp/sfp-machine.h
21948 (_FP_TININESS_AFTER_ROUNDING): Likewise.
21949 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
21951 * sysdeps/mips/mips64/soft-fp/sfp-machine.h
21952 (_FP_TININESS_AFTER_ROUNDING): Likewise.
21953 * sysdeps/mips/soft-fp/sfp-machine.h
21954 (_FP_TININESS_AFTER_ROUNDING): Likewise.
21955 * sysdeps/powerpc/soft-fp/sfp-machine.h
21956 (_FP_TININESS_AFTER_ROUNDING): Likewise.
21957 * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
21959 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
21960 (_FP_TININESS_AFTER_ROUNDING): Likewise.
21961 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
21962 (_FP_TININESS_AFTER_ROUNDING): Likewise.
21963 * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
21966 2014-02-12 Dylan Alex Simon <dylan@dylex.net>
21969 * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
21972 2014-02-12 Richard Henderson <rth@redhat.com>
21974 * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
21975 * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
21976 * sysdeps/unix/sysv/linux/alpha: Move directory from
21977 ports/sysdeps/unix/sysv/linux/alpha.
21978 * README: Update listing for alpha-*-linux-gnu.
21980 2014-02-11 Joseph Myers <joseph@codesourcery.com>
21982 * include/features.h: Update comment documenting feature test
21984 [_BSD_SOURCE || _SVID_SOURCE]: Give #warning. Define
21986 * manual/creature.texi (_BSD_SOURCE): Remove documentation.
21987 (_SVID_SOURCE): Likewise.
21988 (_DEFAULT_SOURCE): Update description of default features.
21989 (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
21991 * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
21992 (S_ISVTX): Likewise.
21993 * manual/math.texi (Mathematical Constants): Likewise.
21994 * manual/signal.texi (Interrupted Primitives): Likewise.
21995 * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
21996 * math/test-matherr.c (_SVID_SOURCE): Do not define.
21997 * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
21998 Don't refer to _SVID_SOURCE in warning text.
22000 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
22002 * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
22004 (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
22005 * sysdeps/mips/dl-lookup.c: Remove.
22006 * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
22008 2014-02-11 Stefan Liebler <stli@linux.vnet.ibm.com>
22011 * math/auto-libm-test-in: Add testcase for expl.
22012 * math/auto-libm-test-out: Regenerate.
22013 * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
22014 calculation of unsafe.
22015 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
22017 2014-02-11 Marcus Shawcroft <marcus.shawcroft@arm.com>
22019 * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
22020 * sysdeps/unix/sysv/linux/aarch64: Move directory from
22021 ports/sysdeps/unix/sysv/linux/aarch64.
22022 * README: Update listing for aarch64*-*-linux-gnu.
22024 2014-02-11 Will Newton <will.newton@linaro.org>
22026 * manual/probes.texi (Mathematical Function Probes): Use
22027 "triggered" instead of "hit".
22029 * manual/probes.texi (Internal Probes): Add documentation
22030 of setjmp, longjmp and longjmp_target probes.
22032 * include/stap-probe.h: Add comment about probe argument
22035 * malloc/mtrace.c (attribute_hidden): Remove unused macro
22036 definition. (tr_where, tr_freehook, tr_mallochook,
22037 tr_reallochook, tr_memalignhook): Use ANSI protoype.
22039 2014-02-11 David S. Miller <davem@davemloft.net>
22041 * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
22042 processing int_tests.
22044 2014-02-10 Joseph Myers <joseph@codesourcery.com>
22046 * sysdeps/mips: Move directory from ports/sysdeps/mips.
22047 * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
22048 * sysdeps/unix/sysv/linux/mips: Move directory from
22049 ports/sysdeps/unix/sysv/linux/mips.
22050 * README: Update listing for mips-*-linux-gnu and
22051 mips64-*-linux-gnu.
22053 2014-02-10 Andreas Schwab <schwab@linux-m68k.org>
22055 * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
22056 * sysdeps/unix/sysv/linux/m68k: Move directory from
22057 ports/sysdeps/unix/sysv/linux/m68k.
22058 * README: Update listing for m68k-*-linux-gnu.
22060 2014-02-10 Chris Metcalf <cmetcalf@tilera.com>
22062 * sysdeps/tile: Move directory from ports/sysdeps/tile.
22063 * sysdeps/unix/sysv/linux/generic: Move directory from
22064 ports/sysdeps/unix/sysv/linux/generic.
22065 * sysdeps/unix/sysv/linux/tile: Move directory from
22066 ports/sysdeps/unix/sysv/linux/tile.
22067 * README: Update listing for tile*-*-linux-gnu.
22069 2014-02-10 Ondřej Bílka <neleai@seznam.cz>
22071 * assert/assert.c (__assert_fail_base): Use glibc_likely instead
22073 * benchtests/bench-memmem.c (simple_memmem): Likewise.
22074 * catgets/open_catalog.c (__open_catalog): Likewise.
22075 * csu/libc-start.c (LIBC_START_MAIN): Likewise.
22076 * debug/confstr_chk.c: Likewise.
22077 * debug/fread_chk.c (__fread_chk): Likewise.
22078 * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
22079 * debug/getgroups_chk.c: Likewise.
22080 * debug/mbsnrtowcs_chk.c: Likewise.
22081 * debug/mbsrtowcs_chk.c: Likewise.
22082 * debug/mbstowcs_chk.c: Likewise.
22083 * debug/memcpy_chk.c: Likewise.
22084 * debug/memmove_chk.c: Likewise.
22085 * debug/mempcpy_chk.c: Likewise.
22086 * debug/memset_chk.c: Likewise.
22087 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
22088 * debug/strcat_chk.c (__strcat_chk): Likewise.
22089 * debug/strcpy_chk.c (__strcpy_chk): Likewise.
22090 * debug/strncat_chk.c (__strncat_chk): Likewise.
22091 * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
22092 * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
22093 * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
22094 * debug/wcpncpy_chk.c: Likewise.
22095 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
22096 * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
22097 * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
22098 * debug/wcsncpy_chk.c: Likewise.
22099 * debug/wcsnrtombs_chk.c: Likewise.
22100 * debug/wcsrtombs_chk.c: Likewise.
22101 * debug/wcstombs_chk.c: Likewise.
22102 * debug/wmemcpy_chk.c: Likewise.
22103 * debug/wmemmove_chk.c: Likewise.
22104 * debug/wmempcpy_chk.c: Likewise.
22105 * debug/wmemset_chk.c: Likewise.
22106 * dirent/scandirat.c (SCANDIRAT): Likewise.
22107 * dlfcn/dladdr1.c (dladdr1): Likewise.
22108 * dlfcn/dladdr.c (dladdr): Likewise.
22109 * dlfcn/dlclose.c (dlclose_doit): Likewise.
22110 * dlfcn/dlerror.c (__dlerror): Likewise.
22111 * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
22112 * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
22113 * dlfcn/dlopen.c (dlopen_doit): Likewise.
22114 * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
22115 * dlfcn/dlsym.c (dlsym_doit): Likewise.
22116 * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
22117 * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
22118 * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
22120 * elf/dl-conflict.c: Likewise.
22121 * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
22122 * elf/dl-dst.h: Likewise.
22123 * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
22124 * elf/dl-fptr.c (_dl_make_fptr): Likewise.
22125 * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
22126 * elf/dl-init.c (call_init, _dl_init): Likewise.
22127 * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
22128 * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
22129 (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
22131 * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
22133 * elf/dl-minimal.c (__libc_memalign): Likewise.
22134 * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
22135 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
22136 * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
22137 * elf/dl-sym.c (do_sym): Likewise.
22138 * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
22139 (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
22140 * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
22141 * elf/dl-writev.h (_dl_writev): Likewise.
22142 * elf/ldconfig.c (search_dir): Likewise.
22143 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
22144 (dl_main): Likewise.
22145 * elf/setup-vdso.h (setup_vdso): Likewise.
22146 * grp/compat-initgroups.c (compat_call): Likewise.
22147 * grp/fgetgrent.c (fgetgrent): Likewise.
22148 * grp/initgroups.c (getgrouplist, initgroups): Likewise.
22149 * grp/putgrent.c (putgrent): Likewise.
22150 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
22152 * hurd/hurdinit.c: Likewise.
22153 * iconvdata/8bit-gap.c (struct): Likewise.
22154 * iconvdata/ansi_x3.110.c : Likewise.
22155 * iconvdata/big5.c : Likewise.
22156 * iconvdata/big5hkscs.c : Likewise.
22157 * iconvdata/cp1255.c: Likewise.
22158 * iconvdata/cp1258.c : Likewise.
22159 * iconvdata/cp932.c : Likewise.
22160 * iconvdata/euc-cn.c: Likewise.
22161 * iconvdata/euc-jisx0213.c : Likewise.
22162 * iconvdata/euc-jp.c: Likewise.
22163 * iconvdata/euc-jp-ms.c : Likewise.
22164 * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
22165 * iconvdata/gb18030.c : Likewise.
22166 * iconvdata/gbbig5.c (const): Likewise.
22167 * iconvdata/gbgbk.c: Likewise.
22168 * iconvdata/gbk.c : Likewise.
22169 * iconvdata/ibm1364.c : Likewise.
22170 * iconvdata/ibm930.c : Likewise.
22171 * iconvdata/ibm932.c: Likewise.
22172 * iconvdata/ibm933.c : Likewise.
22173 * iconvdata/ibm935.c : Likewise.
22174 * iconvdata/ibm937.c : Likewise.
22175 * iconvdata/ibm939.c : Likewise.
22176 * iconvdata/ibm943.c: Likewise.
22177 * iconvdata/iso_11548-1.c: Likewise.
22178 * iconvdata/iso-2022-cn.c : Likewise.
22179 * iconvdata/iso-2022-cn-ext.c : Likewise.
22180 * iconvdata/iso-2022-jp-3.c: Likewise.
22181 * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
22182 * iconvdata/iso-2022-kr.c : Likewise.
22183 * iconvdata/iso646.c (gconv_end): Likewise.
22184 * iconvdata/iso_6937-2.c : Likewise.
22185 * iconvdata/iso_6937.c : Likewise.
22186 * iconvdata/iso8859-1.c: Likewise.
22187 * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
22188 * iconvdata/shift_jisx0213.c : Likewise.
22189 * iconvdata/sjis.c : Likewise.
22190 * iconvdata/t.61.c : Likewise.
22191 * iconvdata/tcvn5712-1.c : Likewise.
22192 * iconvdata/tscii.c: Likewise.
22193 * iconvdata/uhc.c : Likewise.
22194 * iconvdata/unicode.c (gconv_end): Likewise.
22195 * iconvdata/utf-16.c (gconv_end): Likewise.
22196 * iconvdata/utf-32.c (gconv_end): Likewise.
22197 * iconvdata/utf-7.c (base64): Likewise.
22198 * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
22199 * iconv/gconv_close.c (__gconv_close): Likewise.
22200 * iconv/gconv_open.c (__gconv_open): Likewise.
22201 * iconv/gconv_simple.c (internal_ucs4_loop_single)
22202 (ucs4_internal_loop, ucs4_internal_loop_unaligned)
22203 (ucs4_internal_loop_single, internal_ucs4le_loop_single)
22204 (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
22205 (ucs4le_internal_loop_single): Likewise.
22206 * iconv/iconv.c (iconv): Likewise.
22207 * iconv/iconv_close.c: Likewise.
22208 * iconv/loop.c (SINGLE): Likewise.
22209 * iconv/skeleton.c (FUNCTION_NAME): Likewise.
22210 * include/atomic.h: Likewise.
22211 * inet/inet6_option.c (option_alloc): Likewise.
22212 * intl/bindtextdom.c (set_binding_values): Likewise.
22213 * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
22214 * intl/loadmsgcat.c (_nl_load_domain): Likewise.
22215 * intl/localealias.c (read_alias_file): Likewise.
22216 * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
22217 * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
22218 (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
22219 * libio/fmemopen.c (fmemopen): Likewise.
22220 * libio/iofgets.c (_IO_fgets): Likewise.
22221 * libio/iofgets_u.c (fgets_unlocked): Likewise.
22222 * libio/iofgetws.c (fgetws): Likewise.
22223 * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
22224 * libio/iogetdelim.c (_IO_getdelim): Likewise.
22225 * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
22226 (adjust_wide_data, _IO_wfile_seekoff): Likewise.
22227 * locale/findlocale.c (_nl_find_locale): Likewise.
22228 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
22229 * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
22231 * locale/setlocale.c (setlocale): Likewise.
22232 * login/programs/pt_chown.c (main): Likewise.
22233 * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
22234 * malloc/malloc.c (_int_malloc, _int_free): Likewise.
22235 * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
22236 (mmap, mmap64, mremap, munmap): Likewise.
22237 * math/e_exp2l.c: Likewise.
22238 * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
22239 * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
22240 * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
22241 * math/s_catan.c (__catan): Likewise.
22242 * math/s_catanf.c (__catanf): Likewise.
22243 * math/s_catanh.c (__catanh): Likewise.
22244 * math/s_catanhf.c (__catanhf): Likewise.
22245 * math/s_catanhl.c (__catanhl): Likewise.
22246 * math/s_catanl.c (__catanl): Likewise.
22247 * math/s_ccosh.c (__ccosh): Likewise.
22248 * math/s_ccoshf.c (__ccoshf): Likewise.
22249 * math/s_ccoshl.c (__ccoshl): Likewise.
22250 * math/s_cexp.c (__cexp): Likewise.
22251 * math/s_cexpf.c (__cexpf): Likewise.
22252 * math/s_cexpl.c (__cexpl): Likewise.
22253 * math/s_clog10.c (__clog10): Likewise.
22254 * math/s_clog10f.c (__clog10f): Likewise.
22255 * math/s_clog10l.c (__clog10l): Likewise.
22256 * math/s_clog.c (__clog): Likewise.
22257 * math/s_clogf.c (__clogf): Likewise.
22258 * math/s_clogl.c (__clogl): Likewise.
22259 * math/s_csin.c (__csin): Likewise.
22260 * math/s_csinf.c (__csinf): Likewise.
22261 * math/s_csinh.c (__csinh): Likewise.
22262 * math/s_csinhf.c (__csinhf): Likewise.
22263 * math/s_csinhl.c (__csinhl): Likewise.
22264 * math/s_csinl.c (__csinl): Likewise.
22265 * math/s_csqrt.c (__csqrt): Likewise.
22266 * math/s_csqrtf.c (__csqrtf): Likewise.
22267 * math/s_csqrtl.c (__csqrtl): Likewise.
22268 * math/s_ctan.c (__ctan): Likewise.
22269 * math/s_ctanf.c (__ctanf): Likewise.
22270 * math/s_ctanh.c (__ctanh): Likewise.
22271 * math/s_ctanhf.c (__ctanhf): Likewise.
22272 * math/s_ctanhl.c (__ctanhl): Likewise.
22273 * math/s_ctanl.c (__ctanl): Likewise.
22274 * math/w_pow.c: Likewise.
22275 * math/w_powf.c: Likewise.
22276 * math/w_powl.c: Likewise.
22277 * math/w_scalb.c (sysv_scalb): Likewise.
22278 * math/w_scalbf.c (sysv_scalbf): Likewise.
22279 * math/w_scalbl.c (sysv_scalbl): Likewise.
22280 * misc/error.c (error_tail): Likewise.
22281 * misc/pselect.c (__pselect): Likewise.
22282 * nis/nis_callback.c (__nis_create_callback): Likewise.
22283 * nis/nis_call.c (__nisfind_server): Likewise.
22284 * nis/nis_creategroup.c (nis_creategroup): Likewise.
22285 * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
22286 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
22287 * nis/nis_getservlist.c (nis_getservlist): Likewise.
22288 * nis/nis_lookup.c (nis_lookup): Likewise.
22289 * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
22290 * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
22291 (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
22292 * nis/nis_xdr.c (xdr_endpoint): Likewise.
22293 * nis/nss_compat/compat-grp.c (getgrent_next_file)
22294 (internal_getgrnam_r, internal_getgrgid_r): Likewise.
22295 * nis/nss_compat/compat-initgroups.c (add_group)
22296 (internal_getgrent_r): Likewise.
22297 * nis/nss_compat/compat-pwd.c (getpwent_next_file)
22298 (internal_getpwnam_r, internal_getpwuid_r): Likewise.
22299 * nis/nss_compat/compat-spwd.c (getspent_next_file)
22300 (internal_getspnam_r): Likewise.
22301 * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
22302 (_nss_nis_getaliasbyname_r): Likewise.
22303 * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
22304 (_nss_nis_getntohost_r): Likewise.
22305 * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
22306 (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
22307 (_nss_nis_getgrgid_r): Likewise.
22308 * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
22309 (internal_nis_gethostent_r, internal_gethostbyname2_r)
22310 (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
22311 (_nss_nis_gethostbyname4_r): Likewise.
22312 * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
22313 (initgroups_netid): Likewise.
22314 * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
22315 * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
22316 (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
22317 * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
22318 (_nss_nis_getprotobynumber_r): Likewise.
22319 * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
22320 (_nss_nis_getsecretkey): Likewise.
22321 * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
22322 (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
22323 (_nss_nis_getpwuid_r): Likewise.
22324 * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
22325 (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
22326 * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
22327 (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
22328 * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
22329 (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
22330 * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
22332 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
22333 (_nss_nisplus_getntohost_r): Likewise.
22334 * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
22335 (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
22336 * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
22337 (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
22339 * nis/nss_nisplus/nisplus-initgroups.c
22340 (_nss_nisplus_initgroups_dyn): Likewise.
22341 * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
22342 (_nss_nisplus_getnetbyaddr_r): Likewise.
22343 * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
22344 (_nss_nisplus_getprotobynumber_r): Likewise.
22345 * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
22346 (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
22347 * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
22349 * nis/nss_nisplus/nisplus-service.c
22350 (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
22351 (_nss_nisplus_getservbyport_r): Likewise.
22352 * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
22353 (_nss_nisplus_getspnam_r): Likewise.
22354 * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
22356 * nscd/aicache.c (addhstaiX): Likewise.
22357 * nscd/cache.c (cache_search, prune_cache): Likewise.
22358 * nscd/connections.c (register_traced_file, send_ro_fd)
22359 (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
22360 (main_loop_epoll): Likewise.
22361 * nscd/grpcache.c (addgrbyX): Likewise.
22362 * nscd/hstcache.c (addhstbyX): Likewise.
22363 * nscd/initgrcache.c (addinitgroupsX): Likewise.
22364 * nscd/mem.c (gc, mempool_alloc): Likewise.
22365 * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
22366 (addinnetgrX): Likewise.
22367 * nscd/nscd-client.h (__nscd_acquire_maplock)
22368 (__nscd_drop_map_ref): Likewise.
22369 * nscd/nscd_getai.c (__nscd_getai): Likewise.
22370 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
22371 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
22373 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
22374 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
22375 * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
22376 (__nscd_get_map_ref): Likewise.
22377 * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
22378 * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
22380 * nscd/pwdcache.c (addpwbyX): Likewise.
22381 * nscd/selinux.c (preserve_capabilities): Likewise.
22382 * nscd/servicescache.c (addservbyX): Likewise.
22383 * nss/nss_files/files-XXX.c (internal_getent): Likewise.
22384 * posix/fnmatch.c (fnmatch): Likewise.
22385 * posix/getopt.c (_getopt_internal_r): Likewise.
22386 * posix/glob.c (glob, glob_in_dir): Likewise.
22387 * posix/wordexp.c (exec_comm_child): Likewise.
22388 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
22389 (getanswer_r, gaih_getanswer_slice): Likewise.
22390 * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
22391 * resolv/res_init.c: Likewise.
22392 * resolv/res_mkquery.c (res_nmkquery): Likewise.
22393 * resolv/res_query.c (__libc_res_nquery): Likewise.
22394 * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
22396 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
22397 * stdio-common/perror.c (perror): Likewise.
22398 * stdio-common/printf_fp.c (___printf_fp): Likewise.
22399 * stdio-common/tmpnam.c (tmpnam): Likewise.
22400 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
22401 * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
22402 * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
22404 * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
22405 * stdlib/putenv.c (putenv): Likewise.
22406 * stdlib/setenv.c (__add_to_environ): Likewise.
22407 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
22408 * stdlib/strtol_l.c (INTERNAL): Likewise.
22409 * string/memmem.c (memmem): Likewise.
22410 * string/strerror.c (strerror): Likewise.
22411 * string/strnlen.c (__strnlen): Likewise.
22412 * string/test-memmem.c (simple_memmem): Likewise.
22413 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
22414 * sunrpc/pm_getport.c (__get_socket): Likewise.
22415 * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
22416 * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
22417 * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
22418 (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
22420 * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
22421 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
22422 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
22423 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
22424 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
22425 * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
22427 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
22429 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
22430 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
22431 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
22432 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
22433 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
22434 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
22435 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
22436 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
22437 * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
22438 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
22439 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
22440 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
22442 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
22444 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
22446 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
22447 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
22448 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
22449 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
22450 * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
22451 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
22452 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
22453 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
22454 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
22455 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
22456 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
22457 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
22458 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
22459 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
22460 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
22461 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
22463 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
22465 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
22467 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
22469 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
22470 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
22471 * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
22473 * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
22474 * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
22475 * sysdeps/posix/opendir.c (__opendirat): Likewise.
22476 * sysdeps/posix/sleep.c: Likewise.
22477 * sysdeps/posix/tempname.c: Likewise.
22478 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
22479 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
22481 * sysdeps/powerpc/powerpc32/dl-machine.h
22482 (elf_machine_runtime_setup, elf_machine_rela): Likewise.
22483 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
22484 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
22485 * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
22486 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
22488 * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
22489 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
22490 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
22491 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
22492 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
22493 * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
22494 * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
22495 * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
22496 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
22497 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
22498 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
22499 (elf_machine_lazy_rel): Likewise.
22500 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
22501 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
22502 (elf_machine_lazy_rel): Likewise.
22503 * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
22504 * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
22505 * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
22506 * sysdeps/unix/grantpt.c (grantpt): Likewise.
22507 * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
22508 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
22509 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
22510 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
22512 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
22513 * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
22514 * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
22515 * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
22516 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
22517 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
22518 * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
22519 * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
22520 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
22521 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
22522 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
22524 * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
22525 (__posix_fallocate64_l64): Likewise.
22526 * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
22527 (posix_fallocate): Likewise.
22528 * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
22530 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
22531 * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
22532 (getifaddrs_internal): Likewise.
22533 * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
22534 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
22535 * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
22536 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
22537 * sysdeps/unix/sysv/linux/posix_fallocate64.c
22538 (__posix_fallocate64_l64): Likewise.
22539 * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
22541 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
22542 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
22543 (__get_clockfreq): Likewise.
22544 * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
22545 * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
22546 * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
22547 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
22548 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
22549 * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
22550 * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
22551 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
22553 * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
22554 * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
22555 * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
22556 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
22557 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
22558 * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
22559 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
22561 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
22562 (posix_fallocate): Likewise.
22563 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
22564 * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
22565 * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
22566 * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
22567 (elf_machine_rela, elf_machine_rela_relative)
22568 (elf_machine_lazy_rel): Likewise.
22569 * time/asctime.c (asctime_internal): Likewise.
22570 * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
22571 * time/tzset.c (__tzset_parse_tz): Likewise.
22572 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
22573 * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
22574 * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
22575 * wcsmbs/wcsmbsload.h: Likewise.
22578 * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
22580 * malloc/arena.c (grow_heap, get_free_list, reused_arena)
22581 (arena_get2): Remove THREAD_STATS conditionals.
22582 * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
22583 (__malloc_stats, int): Likewise.
22585 2014-02-08 Mike Frysinger <vapier@gentoo.org>
22587 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
22588 f.f_type to RAMFS_MAGIC too. Compare mp->mnt_type to shm too.
22590 * manual/setjmp.texi: Fix typos/grammar errors.
22592 * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
22593 Only return early when n is <= 0. Delete unused return statement.
22595 * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
22596 (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
22597 * debug/tst-longjmp_chk3.c: New file.
22599 * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
22600 (test_main): Replace code with set_fortify_handler call.
22601 * debug/test-strcpy_chk.c: Likewise.
22602 * debug/tst-chk1.c: Likewise.
22603 * debug/tst-longjmp_chk.c: Likewise.
22604 * test-skeleton.c: Include fcntl.h & paths.h
22605 (set_fortify_handler): Define.
22607 * debug/tst-longjmp_chk.c: Add header comment and include
22608 ../test-skeleton.c.
22609 (do_test): Mark static.
22610 (TEST_FUNCTION): Define.
22612 * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
22613 (IP_PMTUDISC_INTERFACE): Likewise.
22614 (IP_MULTICAST_IF): Likewise.
22615 (IP_MULTICAST_TTL): Likewise.
22616 (IP_MULTICAST_LOOP): Likewise.
22617 (IP_ADD_MEMBERSHIP): Likewise.
22618 (IP_DROP_MEMBERSHIP): Likewise.
22619 (IP_UNBLOCK_SOURCE): Likewise.
22620 (IP_BLOCK_SOURCE): Likewise.
22621 (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
22622 (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
22623 (IP_MSFILTER): Likewise.
22624 (MCAST_JOIN_GROUP): Likewise.
22625 (MCAST_BLOCK_SOURCE): Likewise.
22626 (MCAST_UNBLOCK_SOURCE): Likewise.
22627 (MCAST_LEAVE_GROUP): Likewise.
22628 (MCAST_JOIN_SOURCE_GROUP): Likewise.
22629 (MCAST_LEAVE_SOURCE_GROUP): Likewise.
22630 (MCAST_MSFILTER): Likewise.
22631 (IP_MULTICAST_ALL): Likewise.
22632 (IP_UNICAST_IF): Likewise.
22634 * timezone/Makefile: Delete $(have-ksh) check.
22635 ($(objpfx)tzselect): Change $(KSH) to $(BASH).
22636 * timezone/tzselect.ksh: Add +x mode bits.
22638 * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
22639 (ANON_INODE_FS_MAGIC): Likewise.
22640 (BDEVFS_MAGIC): Likewise.
22641 (BINFMTFS_MAGIC): Likewise.
22642 (BTRFS_TEST_MAGIC): Likewise.
22643 (CRAMFS_MAGIC_WEND): Likewise.
22644 (DEBUGFS_MAGIC): Likewise.
22645 (ECRYPTFS_SUPER_MAGIC): Likewise.
22646 (EXT3_SUPER_MAGIC): Likewise.
22647 (EXT4_SUPER_MAGIC): Likewise.
22648 (FUTEXFS_SUPER_MAGIC): Likewise.
22649 (HOSTFS_SUPER_MAGIC): Likewise.
22650 (HUGETLBFS_MAGIC): Likewise.
22651 (MINIX3_SUPER_MAGIC): Likewise.
22652 (MTD_INODE_FS_MAGIC): Likewise.
22653 (NILFS_SUPER_MAGIC): Likewise.
22654 (OPENPROM_SUPER_MAGIC): Likewise.
22655 (PIPEFS_MAGIC): Likewise.
22656 (PSTOREFS_MAGIC): Likewise.
22657 (QNX6_SUPER_MAGIC): Likewise.
22658 (RAMFS_MAGIC): Likewise.
22659 (REISERFS_SUPER_MAGIC_STRING): Likewise.
22660 (REISER2FS_SUPER_MAGIC_STRING): Likewise.
22661 (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
22662 (SECURITYFS_MAGIC): Likewise.
22663 (SELINUX_MAGIC): Likewise.
22664 (SMACK_MAGIC): Likewise.
22665 (SOCKFS_MAGIC): Likewise.
22666 (SQUASHFS_MAGIC): Likewise.
22667 (STACK_END_MAGIC): Likewise.
22668 (TMPFS_MAGIC): Likewise.
22669 (USBDEVICE_SUPER_MAGIC): Likewise.
22670 (V9FS_MAGIC): Likewise.
22671 (XENFS_SUPER_MAGIC): Likewise.
22672 (CRAMFS_MAGIC): Fix typo in comment.
22673 (EXT2_SUPER_MAGIC): Update comment.
22674 (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
22676 2014-02-08 Joseph Myers <joseph@codesourcery.com>
22678 * sysdeps/arm: Move directory from ports/sysdeps/arm.
22679 * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
22680 * sysdeps/unix/sysv/linux/arm: Move directory from
22681 ports/sysdeps/unix/sysv/linux/arm.
22682 * README: Update listing for arm-*-linux-gnueabi.
22684 * README: Remove mention of am33.
22686 2014-02-07 Roland McGrath <roland@hack.frob.com>
22688 * bits/sigset.h (__sigemptyset): Use a statement expression rather
22689 than the comma operator, to avoid "rhs of comma has no effect"
22691 (__sigfillset, __sigandset, __sigorset): Likewise.
22692 * include/signal.h (__sigemptyset): Likewise.
22693 * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
22695 2014-02-07 Allan McRae <allan@archlinux.org>
22697 * version.h (RELEASE): Set to "development".
22698 (VERSION): Set to "2.19.90"
22699 * NEWS: Add 2.20 section.
22701 2014-02-06 Carlos O'Donell <carlos@redhat.com>
22704 * inet/netinet/in.h: Remove comma after IPPROTO_MH.
22706 2014-02-06 Siddhesh Poyarekar <siddhesh@redhat.com>
22708 * manual/contrib.texi: Update entry for Carlos O'Donell,
22709 Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
22711 2014-02-05 Carlos O'Donell <carlos@rehdat.com>
22713 * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
22715 * sysdeps/unix/sysv/linux/kernel-features.h
22716 [__LINUX_KERNEL_VERSION >= 0x020621]
22717 (__ASSUME_PROC_PID_TASK_COMM): Define.
22719 2014-02-05 Siddhesh Poyarekar <siddhesh@redhat.com>
22722 * libio/wfileops.c (_IO_wfile_seekoff): Break out form
22723 conversion when destination buffer does not have enough space.
22724 * libio/tst-ftell-partial-wide.c: New test case.
22725 * libio/Makefile (tests): Add tst-ftell-partial-wide.
22727 * manual/contrib.texi: Update entry for Ondrej Bilka, Will
22728 Newton and Alexandre Oliva. Add entries for Steve Ellcey, Chris
22729 Leonard and Allan McRae.
22731 2014-02-04 David S. Miller <davem@davemloft.net>
22733 * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
22736 2014-02-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22738 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
22740 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
22742 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
22744 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
22746 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
22748 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
22750 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
22752 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
22754 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
22756 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
22758 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
22760 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
22762 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
22765 2014-02-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22767 * nptl/shlib-versions: Change powerpc*le start to 2.17.
22768 * shlib-versions: Likewise.
22770 2014-02-04 Roland McGrath <roland@hack.frob.com>
22771 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22773 * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
22774 (abilist-pattern): New variable, set to %-le.abilist.
22776 * Makerules (abilist-pattern): New variable.
22777 (vpath): Use $(abilist-pattern) in place of %.abilist.
22778 (check-abi-% pattern rule): Likewise.
22779 (check-abi, update-abi): Likewise.
22781 2014-02-04 Eric Wong <normalperson@yhbt.net>
22783 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
22785 2014-02-03 Carlos O'Donell <carlos@redhat.com>
22787 * manual/startup.texi: Add next, previous, and top entries for
22788 the `Program Arguments' and `Environment Variables' nodes.
22790 2014-02-03 Alexandre Oliva <aoliva@redhat.com>
22792 * manual/macros.texi: Add comments before MTASC-safety macros.
22794 * manual/users.texi: Document MTASC-safety properties.
22796 * manual/threads.texi (pthread_key_create, pthread_key_delete)
22797 (pthread_getspecific, pthread_setspecific): Format with
22798 @deftypefun, and add @safety note.
22799 * manual/signal.texi: Move comments that analyze the above
22800 functions to their home place.
22802 2014-02-03 Allan McRae <allan@archlinux.org>
22804 * po/sl.po: Update Slovenian translation from translation project.
22806 2014-02-02 Alexandre Oliva <aoliva@redhat.com>
22808 * manual/time.texi (timegm): Add missing blank after @c.
22809 Reported by Joseph Myers <joseph@codesourcery.com>.
22811 2014-02-01 Alexandre Oliva <aoliva@redhat.com>
22813 * manual/check-safety.sh: New.
22814 * manual/Makefile ($(objpfx)stamp-summary): Run it.
22816 * manual/terminal.texi: Document MTASC-safety properties.
22818 * manual/filesys.texi: Document MTASC-safety properties.
22820 * manual/errno.texi: Document MTASC-safety properties.
22822 * manual/intro.texi: Document safety identifiers and
22825 * manual/string.texi (wcstok): Fix prototype.
22826 (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
22828 * manual/time.texi: Document MTASC-safety properties.
22830 * manual/string.texi: Document MTASC-safety properties.
22832 * manual/threads.texi: Document MTASC-safety properties.
22834 * manual/stdio.texi: Document MTASC-safety properties.
22836 * manual/syslog.texi: Document MTASC-safety properties.
22838 * manual/sysinfo.texi: Document MTASC-safety properties.
22840 * manual/startup.texi: Document MTASC-safety properties.
22842 * manual/socket.texi: Document MTASC-safety properties.
22844 * manual/signal.texi: Document MTASC-safety properties.
22846 2014-01-31 Alexandre Oliva <aoliva@redhat.com>
22848 * manual/setjmp.texi: Document MTASC-safety properties.
22850 * manual/search.texi: Document MTASC-safety properties.
22852 * manual/resource.texi: Document MTASC-safety properties.
22854 * manual/process.texi: Document MTASC-safety properties.
22856 * manual/platform.texi: Document MTASC-safety properties.
22858 * manual/pipe.texi: Document MTASC-safety properties.
22860 * manual/pattern.texi: Document MTASC-safety properties.
22862 * manual/message.texi: Document MTASC-safety properties.
22865 * manual/memory.texi: Document MTASC-safety properties.
22867 * manual/math.texi: Document MTASC-safety properties.
22869 * manual/locale.texi: Document MTASC-safety properties.
22871 * manual/llio.texi: Document MTASC-safety properties.
22873 * manual/libdl.texi: New.
22875 * manual/lang.texi: Document MTASC-safety properties.
22877 * manual/job.texi: Document MTASC-safety properties.
22879 * manual/getopt.texi: Document MTASC-safety properties.
22881 * manual/ctype.texi: Document MTASC-safety properties.
22883 2014-01-31 Maciej W. Rozycki <macro@codesourcery.com>
22886 * csu/libc-tls.c (static_map): Remove variable.
22887 (__libc_setup_tls): Use main executable's link map for TLS data.
22888 * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
22889 casing for LM_ID_BASE and GL(dl_nns).
22890 * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
22891 function. Alias dl_iterate_phdr to __dl_iterate_phdr.
22892 * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
22893 casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
22894 * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
22896 (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
22899 2014-01-30 Alexandre Oliva <aoliva@redhat.com>
22901 * manual/debug.texi: Document MTASC-safety properties.
22903 2014-01-29 H.J. Lu <hongjiu.lu@intel.com>
22906 * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
22907 of __x86_64__ when disabling x87 inline functions.
22909 2014-01-29 Alexandre Oliva <aoliva@redhat.com>
22911 * manual/charset.texi: Document MTASC-safety properties.
22913 * manual/crypt.texi: Document MTASC-safety properties.
22915 * manual/conf.texi: Document MTASC-safety properties.
22917 * manual/arith.texi: Document MTASC-safety properties.
22919 * manual/argp.texi: Document MTASC-safety properties.
22921 * manual/macros.texi: Introduce macros to document multi
22922 thread, asynchronous signal and asynchronous cancellation
22924 * manual/intro.texi: Introduce the properties themselves.
22926 2014-01-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
22928 * sysdeps/sh/sh4/Makefile: New file.
22930 2014-01-27 Andreas Schwab <schwab@linux-m68k.org>
22932 * math/gen-libm-test.pl ($srcdir): New variable.
22933 ($auto_input): Use it.
22935 2014-01-27 Siddhesh Poyarekar <siddhesh@redhat.com>
22938 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
22939 access beyond array bounds when parsing netgroups file.
22941 * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
22942 the old buffer before realloc.
22944 2014-01-27 Allan McRae <allan@archlinux.org>
22946 * po/fr.po: Update French translation from translation project.
22948 2014-01-26 Kaz Kojima <kkojima@rr.iij4u.or.jp>
22950 * sysdeps/sh/libm-test-ulps: Regenerate.
22952 2014-01-24 David S. Miller <davem@davemloft.net>
22954 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
22956 2014-01-25 Kaz Kojima <kkojima@rr.iij4u.or.jp>
22958 * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
22959 * sysdeps/sh/libm-test-ulps: ... here and regenerated.
22961 2013-01-24 Siddhesh Poyarekar <siddhesh@redhat.com>
22964 * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
22965 string pointers after reallocation.
22967 2014-01-24 Kaz Kojima <kkojima@rr.iij4u.or.jp>
22969 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
22970 __SH4A__ instead of __SH_FPU_ANY__.
22972 2014-01-23 Kaz Kojima <kkojima@rr.iij4u.or.jp>
22974 * sysdeps/sh/fpu_control.h: New file.
22975 * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
22976 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
22977 * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
22978 * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
22979 * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
22980 * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
22981 * sysdeps/sh/sys/ucontext.h: Remove.
22982 * sysdeps/sh/sys: Remove directory.
22984 2014-01-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
22986 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
22987 s390/sys/ucontext.h.
22988 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
22989 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
22991 2014-01-20 H.J. Lu <hongjiu.lu@intel.com>
22994 * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
22996 2014-01-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22999 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
23000 Adjust the vDSO correctly for internal calls.
23001 * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
23003 2014-01-20 Allan McRae <allan@archlinux.org>
23005 * po/ca.po: Update Catalan translation from translation project.
23007 2014-01-16 Mike Frysinger <vapier@gentoo.org>
23009 * sysdeps/s390/sotruss-lib.c: New file.
23011 2014-01-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23014 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
23015 (__GI___gettimeofday): Alias for a different internal symbol to avoid
23016 local calls issues by not having a PLT stub required for IFUNC calls.
23017 * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
23019 2014-01-16 Joseph Myers <joseph@codesourcery.com>
23021 * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
23022 * math/test-fpucw-static.c: Likewise.
23024 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
23027 * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
23029 2014-01-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23031 * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
23032 implementation for powerpc.
23034 2014-01-15 Ondřej Bílka <neleai@seznam.cz>
23037 * sysdeps/posix/system.c (__libc_system): Do not enable
23038 asynchronous cancellation.
23040 2014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
23043 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
23044 handling only for numbers special also in the IEEE case.
23046 2014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
23048 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
23050 2014-01-11 Allan McRae <allan@archlinux.org>
23052 * po/bg.po: Update Bulgarian translation from translation project.
23054 * po/de.po: Update German translation from translation project.
23056 2014-01-10 Roland McGrath <roland@hack.frob.com>
23058 * sysdeps/generic/gcc-compat.h: New file.
23060 2014-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
23062 * benchtests/asin-inputs: Correct slow inputs.
23063 * benchtests/acos-inputs: Likewise.
23065 2014-01-10 Allan McRae <allan@archlinux.org>
23067 * po:sv.po: Update Swedish translation from translation project.
23069 * po/vi.po: Update Vietnamese translation from translation project.
23071 * po/eo.po: Update Esperanto translation from translation project.
23073 * po/cs.po: Update Czech translation from translation project.
23075 * po/nl.po: Update Dutch translation from translation project.
23077 * po/pl.po: Update Polish translation from translation project.
23079 * po/ru.po: Update Russian translation from translation project.
23081 * po/uk.po: Update Ukrainian translation from translation project.
23083 2014-01-08 Brooks Moses <bmoses@google.com>
23085 * elf/dl-load.c: Fix comment typo.
23087 2014-01-08 Carlos O'Donell <carlos@redhat.com>
23089 * po/header.pot: Rename to...
23090 * po/pot.header: ... this.
23091 * po/Makefile: Use pot.header.
23093 2014-01-08 Yuriy Kaminskiy <yumkam@gmail.com>
23094 Maxim Kuvyrkov <maxim@kugelworks.com>
23097 * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
23098 SRC and DEST against LEN.
23100 2014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23103 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
23105 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
23107 2014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23109 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23111 2014-01-08 Joseph Myers <joseph@codesourcery.com>
23114 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
23115 for large positive arguments.
23117 2014-01-07 Joseph Myers <joseph@codesourcery.com>
23119 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
23121 * math/auto-libm-test-in: Mark various tests with
23122 xfail-rounding:ldbl-128ibm.
23123 * math/auto-libm-test-out: Regenerated.
23126 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
23127 Increase overflow threshold.
23129 2014-01-07 Ondřej Bílka <neleai@seznam.cz>
23132 * stdio-common/vfprintf.c: Check for integer overflow.
23134 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
23136 * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
23137 the first argument and return value of __tls_get_addr_internal.
23139 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
23141 * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
23142 also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
23144 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
23146 * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
23147 * sysdeps/s390/rtld-global-offsets.sym: New file.
23148 * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
23150 * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
23151 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
23152 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
23154 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
23155 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
23157 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
23159 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
23161 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
23162 halfs of GPRs for high_gprs contexts.
23163 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
23164 restore upper halfs of GPRs for high_gprs contexts. Copy uc_flags
23166 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
23168 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
23170 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
23171 for high GPRs (uc_high_gprs) and for future extensions
23173 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
23174 for future extensions (__reserved).
23175 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
23177 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
23178 SC_HIGHGPRS offset definition.
23179 * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
23180 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
23182 * Versions.def: Add GLIBC_2.19 for libpthread.
23183 * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
23184 siglongjmp for libpthread with GLIBC_2.19 symver.
23185 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
23186 * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
23187 * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
23188 * sysdeps/s390/__longjmp.c: New file.
23189 * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
23190 * sysdeps/s390/longjmp.c: New file.
23191 * sysdeps/s390/setjmp.S: New file.
23192 * sysdeps/s390/sigjmp.S: New file.
23193 * sysdeps/s390/v1-longjmp.c: New file.
23194 * sysdeps/s390/v1-setjmp.h: New file.
23195 * sysdeps/s390/v1-sigjmp.c: New file.
23196 * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
23197 * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
23198 GLIBC_2.19 version.
23199 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
23200 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
23201 versioned symbols for ____longjmp_chk.
23202 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
23204 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
23206 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
23208 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
23210 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
23212 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
23213 * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
23214 * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
23215 * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
23216 * sysdeps/s390/s390-32/setjmp-common.S: ... this.
23217 * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
23218 * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
23219 * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
23220 * sysdeps/s390/s390-64/setjmp-common.S: ... this.
23221 * sysdeps/s390/rtld-__longjmp.c: New file.
23222 * sysdeps/s390/rtld-setjmp.S: New file.
23224 2014-01-06 Joseph Myers <joseph@codesourcery.com>
23227 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
23228 Return -__logl (x) for small positive arguments without evaluating
23231 2014-01-06 Mike Frysinger <vapier@gentoo.org>
23233 * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
23235 (__ptrace_peeksiginfo_args): ... this.
23236 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
23237 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
23238 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
23240 2014-01-06 Allan McRae <allan@archlinux.org>
23242 * inet/netinet/in.h: Fix typo in comment.
23244 2014-01-05 Andreas Jaeger <aj@suse.de>
23246 * sysdeps/i386/fpu/libm-test-ulps: Update.
23248 2014-01-05 Allan McRae <allan@archlinux.org>
23250 * po/libc.pot: Regenerated.
23252 * malloc/memusagestat.c: Fix gettext call formatting.
23254 2014-01-04 Sami Kerola <kerolasa@iki.fi>
23256 * nscd/nscd.c: Improve usage() output.
23258 2014-01-04 Mike Frysinger <vapier@gentoo.org>
23260 * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
23261 * sysdeps/unix/sysv/linux/configure: Regenerated.
23262 * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
23263 * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
23265 2014-01-03 Joseph Myers <joseph@codesourcery.com>
23268 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
23269 (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
23271 2014-01-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23273 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
23274 extra tokens at end of #undef directive.
23275 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
23276 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
23277 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
23279 2014-01-03 Joseph Myers <joseph@codesourcery.com>
23281 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
23283 * math/auto-libm-test-in: Mark various tests with
23284 xfail-rounding:ldbl-128ibm.
23285 * math/auto-libm-test-out: Regenerated.
23287 2014-01-02 Joseph Myers <joseph@codesourcery.com>
23290 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
23291 numbers with subnormal high part when calculating exponent.
23294 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
23298 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
23300 (__ieee754_acoshl): Use __log1pl not __log1p.
23302 2013-01-02 Ondřej Bílka <neleai@seznam.cz>
23304 * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
23305 (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
23306 (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
23307 (grow_heap, heap_trim, _int_new_arena, get_free_list)
23308 (reused_arena, arena_get2): Convert to GNU style.
23309 * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
23310 (mem2mem_check, mem2chunk_check, top_check, realloc_check)
23311 (memalign_check, __malloc_set_state): Likewise.
23312 * malloc/mallocbug.c (main): Likewise.
23313 * malloc/malloc.c (__malloc_assert, malloc_init_state)
23314 (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
23315 (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
23316 (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
23317 (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
23318 (__posix_memalign, malloc_info): Likewise.
23319 * malloc/malloc.h: Likewise.
23320 * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
23321 (mallochook, memalignhook, reallochook, mabort): Likewise.
23322 * malloc/mcheck.h: Likewise.
23323 * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
23324 (free, mmap, mmap64, mremap, munmap, dest): Likewise.
23325 * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
23326 * malloc/morecore.c (__default_morecore): Likewise.
23327 * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
23328 * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
23329 (_obstack_allocated_p, obstack_free, _obstack_memory_used)
23330 (print_and_abort): Likewise.
23331 * malloc/obstack.h: Likewise.
23332 * malloc/set-freeres.c (__libc_freeres): Likewise.
23333 * malloc/tst-mallocstate.c (main): Likewise.
23334 * malloc/tst-mtrace.c (main): Likewise.
23335 * malloc/tst-realloc.c (do_test): Likewise.
23337 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
23340 * nscd/netgroupcache.c (do_notfound): New function.
23341 (addgetnetgrentX): Use it.
23344 * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
23345 NSS_STATUS_NOTFOUND.
23347 2014-01-01 Joseph Myers <joseph@codesourcery.com>
23349 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
23350 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23352 2014-01-01 Allan McRae <allan@archlinux.org>
23354 * scripts/update-copyrights: Update configure input file suffix.
23356 * NEWS: Update copyright year.
23357 * catgets/gencat.c: Likewise.
23358 * csu/version.c: Likewise.
23359 * debug/catchsegv.sh: Likewise.
23360 * debug/pcprofiledump.c: Likewise.
23361 * debug/xtrace.sh: Likewise.
23362 * elf/ldconfig.c: Likewise.
23363 * elf/ldd.bash.in: Likewise.
23364 * elf/pldd.c: Likewise.
23365 * elf/sotruss.ksh: Likewise.
23366 * elf/sprof.c: Likewise.
23367 * iconv/iconv_prog.c: Likewise.
23368 * iconv/iconvconfig.c: Likewise.
23369 * locale/programs/locale.c: Likewise.
23370 * locale/programs/localedef.c: Likewise.
23371 * login/programs/pt_chown.c: Likewise.
23372 * malloc/memusage.sh: Likewise.
23373 * malloc/memusagestat.c: Likewise.
23374 * malloc/mtrace.pl: Likewise.
23375 * manual/libc.texinfo: Likewise.
23376 * nscd/nscd.c: Likewise.
23377 * nss/getent.c: Likewise.
23378 * nss/makedb.c: Likewise.
23379 * posix/getconf.c: Likewise.
23380 * scripts/test-installation.pl: Likewise.
23382 * All files with FSF copyright notices: Update copyright dates
23383 using scripts/update-copyrights.
23384 * intl/plural.c: Regenerated.
23385 * locale/programs/charmap-kw.h: Likewise.
23386 * locale/programs/locfile-kw.h: Likewise.
23388 2013-12-31 Mike Frysinger <vapier@gentoo.org>
23390 * sysdeps/unix/sysv/linux/configure: Regenerated.
23391 * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
23392 the linux/fanotify.h header.
23393 * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
23394 HAVE_LINUX_FANOTIFY_H is defined.
23396 2013-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
23398 * benchtests/cos-inputs: New inputs.
23399 * benchtests/sin-inputs: Likewise.
23401 * benchtests/atan-inputs: New inputs. Fix name of multiple
23402 precision fallback inputs.
23404 * benchtests/atanh-inputs: New inputs.
23405 * benchtests/tanh-inputs: Likewise.
23407 * benchtests/acosh-inputs: New inputs.
23408 * benchtests/asinh-inputs: Likewise.
23410 * benchtests/cosh-inputs: New inputs.
23411 * benchtests/sinh-inputs: Likewise.
23413 * benchtests/acos-inputs: Add more inputs.
23414 * benchtests/asin-inputs: Likewise.
23416 2013-12-30 Ville Skytta <ville.skytta@iki.fi>
23419 * manual/arith.texi: Fix spelling.
23420 * manual/charset.texi: Likewise.
23421 * manual/errno.texi: Likewise.
23422 * manual/filesys.texi: Likewise.
23423 * manual/lang.texi: Likewise.
23424 * manual/llio.texi: Likewise.
23425 * manual/locale.texi: Likewise.
23426 * manual/message.texi: Likewise.
23427 * manual/resource.texi: Likewise.
23428 * manual/search.texi: Likewise.
23429 * manual/setjmp.texi: Likewise.
23430 * manual/stdio.texi: Likewise.
23431 * manual/string.texi: Likewise.
23432 * manual/sysinfo.texi: Likewise.
23433 * manual/time.texi: Likewise.
23435 2013-12-27 Carlos O'Donell <carlos@redhat.com>
23437 * po/sl.po: New file.
23439 2013-12-27 Mike Frysinger <vapier@gentoo.org>
23441 * .gitignore: Add core/.gdbinit/.gdb_history.
23443 2013-12-27 Allan McRae <allan@archlinux.org>
23446 * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
23447 Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
23449 2013-12-24 Brooks Moses <bmoses@google.com>
23451 * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
23452 all compilers that claim C++98 compliance, not just GCC.
23453 * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
23456 2013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
23458 * NEWS: Restore accidentally deleted bug-fix entries.
23460 2013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
23461 Ondřej Bílka <neleai@seznam.cz>
23464 * malloc/malloc.c (_int_free): Perform sanity check only if we
23467 2013-12-23 Ondřej Bílka <neleai@seznam.cz>
23470 * manual/stdio.texi (String Input Conversions): Clarify that character
23471 classes are not supported.
23473 2013-12-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23475 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23477 2013-12-22 Joseph Myers <joseph@codesourcery.com>
23480 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
23481 Calculate results for small negative arguments directly rather
23482 than using reflection formula with special underflow handling.
23484 * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
23485 * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
23486 sysdeps/unix/bsd/bsd4.4/syscalls.list.
23487 (fchflags): Likewise.
23488 (revoke): Likewise.
23489 (setlogin): Likewise.
23490 (sigaltstack): Likewise.
23492 (sigblock): Remove.
23493 (sigsetmask): Likewise.
23495 (waitpid): Likewise.
23496 * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
23497 * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
23499 * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
23500 * sysdeps/unix/bsd/Makefile: ... here.
23501 * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
23502 * sysdeps/unix/bsd/Versions: ... here.
23503 * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
23504 * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
23505 * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
23506 * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
23507 * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
23508 * sysdeps/unix/bsd/sigblock.c: ... here.
23509 * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
23510 * sysdeps/unix/bsd/sigsetmask.c: ... here.
23511 * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
23512 * sysdeps/unix/bsd/sigvec.c: ... here.
23513 * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
23514 * sysdeps/unix/bsd/tcdrain.c: ... here.
23515 * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
23516 * sysdeps/unix/bsd/tcgetattr.c: ... here.
23517 * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
23518 * sysdeps/unix/bsd/tcsetattr.c: ... here.
23519 * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
23520 * sysdeps/unix/bsd/wait.c: ... here.
23521 * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
23522 * sysdeps/unix/bsd/wait3.c: ... here.
23523 * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
23524 * sysdeps/unix/bsd/waitpid.c: ... here.
23526 2013-12-21 Joseph Myers <joseph@codesourcery.com>
23529 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
23530 round-to-nearest for [!USE_AS_EXPM1L].
23531 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
23532 * math/auto-libm-test-in: Do not expect cosh tests to fail. Add
23533 more tests of exp and exp10. Expect some exp10 tests to miss
23534 exceptions or fail in directed rounding modes.
23535 * math/auto-libm-test-out: Regenerated.
23536 * math/libm-test.inc (exp10_tonearest_test_data): New array.
23537 (exp10_test_tonearest): New function.
23538 (exp10_towardzero_test_data): New array.
23539 (exp10_test_towardzero): New function.
23540 (exp10_downward_test_data): New array.
23541 (exp10_test_downward): New function.
23542 (exp10_upward_test_data): New array.
23543 (exp10_test_upward): New function.
23544 (main): Call the new functions.
23545 * sysdeps/i386/fpu/libm-test-ulps: Update.
23546 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23548 2013-12-20 Joseph Myers <joseph@codesourcery.com>
23550 * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
23551 asinh, atan, atan2, atanh, cbrt, cos and cosh.
23552 * math/auto-libm-test-out: Regenerated.
23553 * math/libm-test.inc (acosh_test_data): Add more tests.
23554 (atanh_test_data): Likewise.
23555 (ceil_test_data): Likewise.
23556 (copysign_test_data): Likewise.
23557 * sysdeps/i386/fpu/libm-test-ulps: Update.
23558 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23560 * timezone/checktab.awk: Update from tzcode 2013i.
23561 * timezone/private.h: Likewise.
23562 * timezone/scheck.c: Likewise.
23563 * timezone/tzfile.h: Likewise.
23564 * timezone/tzselect.ksh: Likewise.
23565 * timezone/zdump.c: Likewise.
23566 * timezone/zic.c: Likewise.
23568 * math/auto-libm-test-in: Add tests of cpow.
23569 * math/auto-libm-test-out: Regenerated.
23570 * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
23571 * math/gen-auto-libm-tests.c (func_calc_method): Add value
23573 (func_calc_desc): Add mpc_cc_c union field.
23574 (test_functions): Add cpow.
23575 (special_fill_2pi): New function.
23576 (special_real_inputs): Add 2pi.
23577 (calc_generic_results): Handle mpc_cc_c.
23578 * sysdeps/i386/fpu/libm-test-ulps: Update.
23579 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23581 * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
23582 csqrt, ctan and ctanh.
23583 * math/auto-libm-test-out: Regenerated.
23584 * math/libm-test.inc (TEST_COND_x86_64): New macro.
23585 (TEST_COND_x86): Likewise.
23586 (ccos_test_data): Use AUTO_TESTS_c_c.
23587 (ccosh_test_data): Likewise.
23588 (cexp_test_data): Likewise.
23589 (clog_test_data): Likewise.
23590 (csqrt_test_data): Likewise.
23591 (ctan_test_data): Likewise.
23592 (ctan_tonearest_test_data): Likewise.
23593 (ctan_towardzero_test_data): Likewise.
23594 (ctan_downward_test_data): Likewise.
23595 (ctan_upward_test_data): Likewise.
23596 (ctanh_test_data): Likewise.
23597 (ctanh_tonearest_test_data): Likewise.
23598 (ctanh_towardzero_test_data): Likewise.
23599 (ctanh_downward_test_data): Likewise.
23600 (ctanh_upward_test_data): Likewise.
23601 * math/gen-auto-libm-tests.c (func_calc_method): Add value
23603 (func_calc_desc): Add mpc_c_c union field.
23604 (FUNC_mpc_c_c): New macro.
23605 (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
23606 ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
23608 (special_fill_min_subnorm_p120): New function.
23609 (special_real_inputs): Add min_subnorm_p120.
23610 (calc_generic_results): Handle mpc_c_c.
23611 * sysdeps/i386/fpu/libm-test-ulps: Update.
23612 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23614 2013-12-20 Siddhesh Poyarekar <siddhesh@redhat.com>
23616 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
23617 (do_sin_slow): New functions.
23618 (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
23619 (cslow2, csloww1, csloww2): Use the new functions.
23621 * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
23622 Use M to change sign of result instead of X. Assume X is
23624 (csloww1): Likewise.
23628 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
23629 arguments A and DA.
23633 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
23635 (sloww1): Don't adjust sign of DX.
23636 (csloww1): Likewise.
23637 (sloww2): Use X directly and don't adjust sign of DX.
23638 (csloww2): Likewise.
23640 2013-12-19 Joseph Myers <joseph@codesourcery.com>
23642 * math/auto-libm-test-in: Add tests of cabs and carg.
23643 * math/auto-libm-test-out: Regenerated.
23644 * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
23645 (carg_test_data): Likewise.
23646 * math/gen-auto-libm-tests.c (func_calc_method): Add value
23648 (func_calc_desc): Add mpc_c_f union field.
23649 (test_functions): Add cabs and carg.
23650 (calc_generic_results): Handle mpc_c_f.
23652 * sysdeps/powerpc/powerpc32/libgcc-compat.S
23653 [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
23654 as a macro and a compat symbol.
23655 [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
23656 [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
23657 [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
23658 [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
23659 [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
23660 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
23662 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
23664 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
23666 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
23668 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
23670 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
23672 * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
23673 __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
23676 2013-12-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23678 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23680 2013-12-19 Joseph Myers <joseph@codesourcery.com>
23682 * manual/texinfo.tex: Update to version 2013-11-26.10 with
23683 trailing whitespace removed.
23684 * scripts/config.guess: Update to version 2013-11-29.
23685 * scripts/config.sub: Update to version 2013-10-01.
23687 * math/auto-libm-test-in: Add tests of sincos.
23688 * math/auto-libm-test-out: Regenerated.
23689 * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
23690 * math/gen-auto-libm-tests.c (func_calc_method): Add value
23692 (func_calc_desc): Add mpfr_f_11 union field.
23693 (test_functions): Add sincos.
23694 (calc_generic_results): Handle mpfr_f_11.
23695 * sysdeps/i386/fpu/libm-test-ulps: Update.
23696 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23698 2013-12-19 Andreas Schwab <schwab@suse.de>
23700 * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
23702 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
23703 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
23704 [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
23706 2013-12-19 Joseph Myers <joseph@codesourcery.com>
23708 * math/gen-libm-test.pl (%beautify): Remove M_* constants.
23709 * sysdeps/i386/fpu/libm-test-ulps: Update.
23710 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23713 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
23714 round-to-nearest mode when using frndint.
23715 * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
23716 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
23717 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
23719 * math/auto-libm-test-in: Add more tests of expm1. Do not expect
23721 * math/auto-libm-test-out: Regenerated.
23722 * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
23723 (TEST_COND_x86): Likewise.
23724 (expm1_tonearest_test_data): New array.
23725 (expm1_test_tonearest): New function.
23726 (expm1_towardzero_test_data): New array.
23727 (expm1_test_towardzero): New function.
23728 (expm1_downward_test_data): New array.
23729 (expm1_test_downward): New function.
23730 (expm1_upward_test_data): New array.
23731 (expm1_test_upward): New function.
23732 (main): Run the new test functions.
23733 * sysdeps/i386/fpu/libm-test-ulps: Update.
23734 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23736 * include/features.h: Update comment documenting feature test
23737 macros. Mention _DEFAULT_SOURCE in comment.
23738 [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
23739 [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
23740 _BSD_SOURCE and _SVID_SOURCE.
23741 [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
23742 !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
23743 !_SVID_SOURCE]: Likewise.
23744 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
23745 (__USE_POSIX_IMPLICITLY): Define.
23746 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
23747 (_POSIX_SOURCE): Undefine and redefine.
23748 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
23749 (_POSIX_C_SOURCE): Likewise.
23750 * manual/creature.texi (_DEFAULT_SOURCE): Document.
23751 (Feature Test Macros): Update documentation of default features.
23753 2013-12-19 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
23755 * benchtests/Makefile: Add bench-strtok.
23756 * benchtests/bench-strtok.c: New file: strtok benchtest.
23758 2013-12-19 Allan McRae <allan@archlinux.org>
23760 * manual/install.texi: Suppress menu for plain text output.
23761 * INSTALL: Regenerated.
23763 2013-12-18 Brooks Moses <bmoses@google.com>
23766 * misc/getauxval.c: Include errno.h.
23767 (__getauxval): Set errno to ENOENT if the requested type is not
23769 * misc/sys/auxv.h (getauxval): Document that it may set errno;
23770 don't declare with __attribute_const__.
23771 * elf/tst-auxv.c: Add tests for errno and type-not-found case.
23772 * manual/startup.texi: Document that getauxval sets errno.
23774 2013-12-18 Joseph Myers <joseph@codesourcery.com>
23776 * math/auto-libm-test-in: Add tests of jn and yn.
23777 * math/auto-libm-test-out: Regenerated.
23778 * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
23779 (yn_test_data): Likewise.
23780 * math/gen-auto-libm-tests.c (func_calc_method): Add value
23782 (func_calc_desc): Add mpfr_if_f union field.
23783 (FUNC_mpfr_if_f): New macro.
23784 (test_functions): Add jn and yn.
23785 (calc_generic_results): Assert type of second input for
23786 mpfr_ff_f. Handle mpfr_if_f.
23787 (output_for_one_input_case): Disable all checking for arguments
23788 fitting floating-point types in case of an integer argument.
23789 * sysdeps/i386/fpu/libm-test-ulps: Update.
23790 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23792 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
23793 Don't expect fegetround reference in libm.so.
23795 2013-12-17 Marcus Shawcroft <marcus.shawcroft@linaro.org>
23797 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
23798 $(config-cflags-nofma).
23800 2013-12-18 Joseph Myers <joseph@codesourcery.com>
23802 * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
23803 * math/auto-libm-test-out: Regenerated.
23806 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
23807 to determine exponent and adjust argument to have exponent of -1.
23808 * math/auto-libm-test-in: Add more tests of log, log10, log1p and
23810 * math/auto-libm-test-out: Regenerated.
23811 * sysdeps/i386/fpu/libm-test-ulps: Update.
23812 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23814 2013-12-18 Ondřej Bílka <neleai@seznam.cz>
23816 * manual/probes.texi: Remove cases when per-thread arenas are
23819 2013-12-18 Andreas Schwab <schwab@suse.de>
23821 * sysdeps/i386/i686/multiarch/strstr.c: Remove.
23822 * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
23823 * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
23824 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
23825 * sysdeps/i386/i686/multiarch/Makefile: Update.
23826 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
23828 2013-12-17 Joseph Myers <joseph@codesourcery.com>
23830 * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
23831 * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
23833 2013-12-17 Paul Eggert <eggert@cs.ucla.edu>
23836 Support TZ transition times < 00:00:00.
23837 This is needed for version-3 tz-format files; it supports time
23838 stamps past 2037 for America/Godthab (the only entry in the tz
23839 database for which this change is relevant).
23840 * manual/time.texi (TZ Variable): Document transition times
23841 from -167:59:59 through -00:00:01.
23842 * time/tzset.c (tz_rule): Time of day is now signed.
23843 (__tzset_parse_tz): Parse negative time of day.
23845 Document TZ transition times >= 25:00:00.
23846 * manual/time.texi (TZ Variable): Document transition times from
23847 25:00:00 through 167:59:59. These are already supported, and this
23848 support will help with version-3 tz-format files.
23850 * manual/time.texi (TZ Variable): Modernize North America example
23851 to reflect current (i.e., 2007-and-later) daylight saving rules.
23853 * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
23855 2013-12-17 Joseph Myers <joseph@codesourcery.com>
23857 * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
23858 * sysdeps/unix/bsd/bits/stat.h: Likewise.
23859 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
23860 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
23861 * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
23862 * sysdeps/unix/bsd/bsdstat.h: Likewise.
23863 * sysdeps/unix/bsd/clock.c: Likewise.
23864 * sysdeps/unix/bsd/i386/vfork.S: Likewise.
23865 * sysdeps/unix/bsd/i386/wait3.S: Likewise.
23866 * sysdeps/unix/bsd/init-posix.c: Likewise.
23867 * sysdeps/unix/bsd/poll.c: Likewise.
23868 * sysdeps/unix/bsd/ptsname.c: Likewise.
23869 * sysdeps/unix/bsd/seekdir.c: Likewise.
23870 * sysdeps/unix/bsd/setegid.c: Likewise.
23871 * sysdeps/unix/bsd/seteuid.c: Likewise.
23872 * sysdeps/unix/bsd/setgid.c: Likewise.
23873 * sysdeps/unix/bsd/setrgid.c: Likewise.
23874 * sysdeps/unix/bsd/setruid.c: Likewise.
23875 * sysdeps/unix/bsd/setsid.c: Likewise.
23876 * sysdeps/unix/bsd/setuid.c: Likewise.
23877 * sysdeps/unix/bsd/sigaction.c: Likewise.
23878 * sysdeps/unix/bsd/sigprocmask.c: Likewise.
23879 * sysdeps/unix/bsd/sigsuspend.c: Likewise.
23880 * sysdeps/unix/bsd/sys/reboot.h: Likewise.
23881 * sysdeps/unix/bsd/telldir.c: Likewise.
23882 * sysdeps/unix/bsd/times.c: Likewise.
23883 * sysdeps/unix/bsd/usleep.c: Likewise.
23885 * misc/Makefile (install-lib): Remove libbsd-compat.a.
23886 ($(objpfx)libbsd-compat.a): Remove rule.
23888 * include/features.h (__FAVOR_BSD): Do not define.
23889 * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
23890 features conflicting with POSIX.
23891 (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
23892 (_BSD_SOURCE): Remove description of not being a subset of other
23893 feature test macros.
23894 * manual/job.texi (getpgrp): Do not document BSD version.
23895 (getpgid): Do not document by reference to BSD getpgrp.
23896 * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
23897 * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
23898 * signal/signal.h [__FAVOR_BSD]: Likewise.
23899 * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
23900 instead of making contents conditional on [__FAVOR_BSD].
23901 * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
23903 2013-12-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23905 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23907 2013-12-17 Joseph Myers <joseph@codesourcery.com>
23910 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
23911 values below 2**-450, not 2**-500.
23912 * math/auto-libm-test-in: Don't allow spurious underflow from
23914 * math/auto-libm-test-out: Regenerated.
23918 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
23919 values of ha and hb and sort them after adjusting subnormal
23921 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
23923 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
23924 values of ea and eb and sort them after adjusting subnormal
23926 * math/auto-libm-test-in: Do not expect some hypot tests of
23927 subnormals to fail. Add more hypot tests.
23928 * math/auto-libm-test-out: Regenerated.
23930 2013-12-16 Kaz Kojima <kkojima@rr.iij4u.or.jp>
23933 * sysdeps/sh/s_fma.c: New file.
23934 * sysdeps/sh/s_fmaf.c: New file.
23935 * sysdeps/sh/soft-fp/sfp-machine.h: New file. Based on arm
23937 * sysdeps/sh/Implies: Add sh/soft-fp.
23939 2013-12-16 Roland McGrath <roland@hack.frob.com>
23941 * elf/dl-error.c (struct catch): Add new member `errcode'. Add a
23942 level of indirection to members `objname', `errstring', `malloced'.
23943 (_dl_signal_error): Store through pointers in *LCATCH rather modifying
23944 *LCATCH itself. Set *LCATCH->errcode to ERRCODE rather than passing
23945 it as the __longjmp argument (just pass 1 instead).
23946 (_dl_catch_error): Initialize C with argument pointers and address of
23947 volatile local ERRCODE rather than copying values out of C at return.
23949 2013-12-16 Joseph Myers <joseph@codesourcery.com>
23951 * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
23952 * math/auto-libm-test-out: Regenerated.
23953 * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
23954 (hypot_test_data): Likewise.
23955 (pow_test_data): Likewise.
23956 (pow_tonearest_test_data): Likewise.
23957 * math/gen-auto-libm-tests.c (func_calc_method): Add value
23959 (func_calc_desc): Add mpfr_ff_f union field.
23960 (FUNC_mpfr_ff_f): New macro.
23961 (test_functions): Add atan2, hypot and pow.
23962 (special_fill_min): New function.
23963 (special_fill_minus_min): Likewise.
23964 (special_fill_min_subnorm): Likewise.
23965 (special_fill_minus_min_subnorm): Likewise.
23966 (special_real_inputs): Add min, -min, min_subnorm and
23968 (calc_generic_results): Handle mpfr_ff_f.
23969 * sysdeps/i386/fpu/libm-test-ulps: Update.
23970 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23972 2013-12-16 Will Newton <will.newton@linaro.org>
23974 * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
23975 (Aligned Memory Blocks): Add documentation for aligned_alloc
23976 and suggest it as an alternative to posix_memalign.
23977 (Hooks for Malloc): Document __memalign_hook is also called
23978 for aligned_alloc. (Summary of Malloc): Add summary for
23979 aligned alloc. Document __memalign_hook is also called
23982 2013-12-16 Will Newton <will.newton@linaro.org>
23984 * manual/memory.texi (Malloc Examples): Clarify default
23985 alignment documentation. Suggest posix_memalign rather
23986 than memalign or valloc.
23987 (Aligned Memory Blocks): Remove suggestion to use memalign
23988 or valloc. Remove obsolete comment about BSD.
23989 Document memalign errno values and mark the function obsolete.
23990 Document posix_memalign returned error codes. Mark valloc
23991 as obsolete. (Hooks for Malloc): __memalign_hook is also
23992 called for posix_memalign and valloc.
23993 (Summary of Malloc): Add posix_memalign to function summary.
23994 __memalign_hook is also called for posix_memalign and valloc.
23996 2013-12-16 Siddhesh Poyarekar <siddhesh@redhat.com>
23998 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
24002 (sloww): Use mynumber union. Expand ternary operator into
24003 if-else statements.
24004 (cslow): use mynumber union.
24006 2013-12-16 Allan McRae <allan@archlinux.org>
24008 * configure.ac: Set AUTOCONF when maintainer-mode is not used.
24009 * configure: Regenerated.
24011 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
24014 * configure.ac: Added --enable-maintainer-mode. Check for
24015 autoconf when enabled.
24016 * configure: Regenerated.
24018 * nscd/nscd.service: New file.
24019 * nscd/nscd.tmpfiles: New file.
24021 2013-12-14 Ondřej Bílka <neleai@seznam.cz>
24024 * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
24025 * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
24026 * sysdeps/x86_64/multiarch/strstr.c: ... here.
24027 (strstr): Add __strstr_sse2_unaligned ifunc.
24028 * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
24029 * sysdeps/x86_64/multiarch/strcasestr.c ... here.
24030 (strcasestr): Remove __strcasestr_sse42 ifunc.
24031 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
24032 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
24033 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
24035 2013-12-14 Kaz Kojima <kkojima@rr.iij4u.or.jp>
24037 * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
24038 * sysdeps/sh/bits/fenv.h: ... here.
24039 * sysdeps/sh/sh4/fpu/bits: Remove directory.
24041 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24043 * NEWS: Mention ppc64 STT_GNU_IFUNC support.
24045 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
24046 hypotf multiarch implementations.
24047 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
24048 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
24049 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
24050 multiarch hypot for PPC64.
24051 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
24052 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
24053 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
24054 multiarch hypotf for PPC64.
24056 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
24057 modff multiarch implementations.
24058 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
24059 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
24060 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
24061 multiarch modf for PPC64.
24062 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
24063 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
24064 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
24065 multiarch modff for PPC64.
24067 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
24068 and logl multiarch implementations.
24069 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
24070 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
24071 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
24072 multiarch logb for PPC64.
24073 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
24074 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
24075 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
24076 multiarch logb for PPC64.
24077 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
24078 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
24079 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
24080 multiarch logb for PPC64.
24082 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
24083 isinff multiarch implementation.
24084 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
24086 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
24087 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
24088 multiarch isinf for PPC64.
24089 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
24091 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
24092 multiarch isinff for PPC64.
24094 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
24095 finitef multiarch implementation.
24096 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
24098 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
24099 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
24100 multiarch finite for PPC64.
24101 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
24103 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
24104 multiarch finitef for PPC64.
24106 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
24107 lrint multiarch implementation.
24108 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
24110 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
24111 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
24112 multiarch llrint for PPC64.
24113 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
24114 multiarch lrint for PPC64.
24116 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
24117 copysignf multiarch implementation.
24118 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
24120 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
24122 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
24123 multiarch copysign for PPC64.
24124 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
24125 multiarch copysignf for PPC64.
24127 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
24128 multiarch implementation.
24129 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
24131 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
24133 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
24135 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
24137 multiarch llround for PPC64.
24138 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
24139 multiarch trunc for PPC64.
24140 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
24141 multiarch truncf for PPC64.
24143 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
24144 multiarch implementation.
24145 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
24147 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
24149 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
24151 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
24153 multiarch llround for PPC64.
24154 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
24155 multiarch round for PPC64.
24156 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
24157 multiarch roundf for PPC64.
24159 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
24160 multiarch implementation.
24161 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
24163 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
24165 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
24167 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
24169 multiarch llround for PPC64.
24170 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
24171 multiarch floor for PPC64.
24172 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
24173 multiarch floorf for PPC64.
24175 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
24176 multiarch implementation.
24177 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
24179 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
24181 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
24183 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
24185 multiarch llround for PPC64.
24186 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
24187 multiarch ceil for PPC64.
24188 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
24189 multiarch ceilf for PPC64.
24191 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
24192 multiarch implementation.
24193 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
24195 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
24197 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
24199 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
24200 multiarch llround for PPC64.
24201 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
24202 multiarch lround for PPC64.
24204 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
24205 multiarch implementation.
24206 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
24207 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
24208 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
24210 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
24211 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
24212 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
24213 multiarch isnan for PPC64.
24214 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
24215 multiarch isnanf for PPC64.
24217 * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
24218 * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
24219 * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
24220 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
24221 * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
24222 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
24224 * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
24225 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
24226 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
24227 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
24229 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
24230 multiarch implementations.
24231 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
24232 (__libc_ifunc_impl_list): Likewise.
24233 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
24234 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
24235 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
24236 multiarch stpcpy for PPC64.
24238 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
24239 multiarch implementations.
24240 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
24241 (__libc_ifunc_impl_list): Likewise.
24242 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
24243 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
24244 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
24245 multiarch strcpy for PPC64.
24247 * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
24248 redefine function name.
24249 (_wordcopy_fwd_dest_aligned): Likewise.
24250 (_wordcopy_bwd_aligned): Likewise.
24251 (_wordcopy_bwd_dest_aligned): Likewise.
24252 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
24253 multiarch implementations.
24254 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
24255 (__libc_ifunc_impl_list): Likewise.
24256 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
24257 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
24258 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
24259 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
24260 multiarch wcscpy for PPC64.
24262 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
24263 multiarch implementations.
24264 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
24265 (__libc_ifunc_impl_list): Likewise.
24266 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
24267 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
24268 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
24269 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
24270 multiarch wcscpy for PPC64.
24272 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
24273 multiarch implementations.
24274 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
24275 (__libc_ifunc_impl_list): Likewise.
24276 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
24277 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
24278 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
24279 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
24280 multiarch wcsrchr for PPC64.
24282 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
24283 multiarch implementations.
24284 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
24285 (__libc_ifunc_impl_list): Likewise.
24286 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
24287 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
24288 * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
24289 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
24290 multiarch wcschr for PPC64.
24292 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
24293 multiarch implementations.
24294 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
24295 (__libc_ifunc_impl_list): Likewise.
24296 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
24297 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
24298 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
24299 multiarch strchrnul for PPC64.
24301 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
24303 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
24304 (__libc_ifunc_impl_list): Likewise.
24305 * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
24306 * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
24307 * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
24308 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
24311 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
24313 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
24314 (__libc_ifunc_impl_list): Likewise.
24315 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
24316 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
24317 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
24318 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
24321 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
24322 multiarch implementations.
24323 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
24324 (__libc_ifunc_impl_list): Likewise.
24325 * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
24326 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
24327 strncasecmp for PPC64.
24328 * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
24329 * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
24330 multiarch strncasecmp_l for PPC64.
24332 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
24333 multiarch implementations.
24334 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
24335 (__libc_ifunc_impl_list): Likewise.
24336 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
24337 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
24338 multiarch strcasecmp for PPC64.
24339 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
24341 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
24342 multiarch strcasecmp_l for PPC64.
24344 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
24346 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
24347 (__libc_ifunc_impl_list): Likewise.
24348 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
24349 * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
24350 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
24353 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
24355 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
24356 (__libc_ifunc_impl_list): Likewise.
24357 * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
24358 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
24359 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
24362 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
24364 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
24365 (__libc_ifunc_impl_list): Likewise.
24366 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
24367 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
24368 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
24369 rawmemrchr for PPC64.
24371 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
24373 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
24374 (__libc_ifunc_impl_list): Likewise.
24375 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
24376 * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
24377 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
24380 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
24382 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
24383 (__libc_ifunc_impl_list): Likewise.
24384 * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
24385 * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
24386 * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
24389 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
24391 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
24392 (__libc_ifunc_impl_list): Likewise.
24393 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
24394 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
24395 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
24398 * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
24399 avoid cretion of __bzero symbol.
24400 * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
24402 * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
24404 * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
24406 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
24407 multiarch implementations.
24408 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
24409 (__libc_ifunc_impl_list): Likewise.
24410 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
24411 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
24412 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
24413 * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
24415 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
24416 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
24417 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
24418 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
24419 * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
24421 * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
24423 * string/memcmp.c (memcmp): Using macro to redefine symbol name.
24424 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
24426 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
24427 (__libc_ifunc_impl_list): Likewise.
24428 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
24429 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
24430 * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
24431 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
24434 * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
24435 multiarch for POWER/PPC64.
24436 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
24437 * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
24438 * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
24439 * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
24440 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
24441 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
24442 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
24443 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
24444 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
24447 * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
24448 * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
24449 * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
24450 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
24451 * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
24452 * sysdeps/powerpc/powerpc64/power5/Implies: New File.
24453 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
24454 * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
24455 * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
24456 * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
24457 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
24458 * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
24459 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
24460 * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
24461 * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
24462 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
24463 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
24464 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
24465 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
24466 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
24467 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
24468 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
24470 2013-12-12 Kaz Kojima <kkojima@rr.iij4u.or.jp>
24472 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
24474 2013-12-12 Siddhesh Poyarekar <siddhesh@redhat.com>
24476 * benchtests/Makefile (bench): Add exp2 and log2.
24477 (LDLIBS-bench-exp2): Add -lm.
24478 (LDLIBS-bench-log2): Likewise.
24479 * benchtests/exp2-inputs: New inputs file.
24480 * benchtests/log2-inputs: New inputs file.
24481 * benchtests/log-inputs: Add new inputs.
24482 * benchtests/tan-inputs: Likewise.
24484 2013-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
24486 * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
24488 (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
24489 (csloww2): ... from here.
24491 * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
24492 instead of structures.
24493 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
24494 (POLYNOMIAL): Likewise.
24495 (TAYLOR_SLOW): Likewise.
24501 (sloww1); Likewise.
24502 (sloww2): Likewise.
24503 (bsloww1): Likewise.
24504 (bsloww2): Likewise.
24505 (cslow2): Likewise.
24506 (csloww): Likewise.
24507 (csloww1): Likewise.
24508 (csloww2): Likewise.
24510 2013-12-10 Ondřej Bílka <neleai@seznam.cz>
24512 * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
24513 (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
24514 Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
24515 * malloc/hooks.c (realloc_check): Likewise.
24517 * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
24518 * malloc/arena.c: Remove PER_THREAD conditional.
24519 [!PER_THREAD]: Remove code.
24520 (ptmalloc_unlock_all2): Likewise.
24521 (ptmalloc_init): Likewise.
24522 (_int_new_arena): Likewise.
24523 (arena_get2): Likewise.
24524 * malloc/hooks.c (__malloc_get_state): Likewise.
24525 (__malloc_set_state): Likewise.
24526 * malloc/malloc.c: Likewise.
24527 (struct malloc_state): Likewise.
24528 (struct malloc_par): Likewise.
24529 (__libc_realloc): Likewise.
24530 (__libc_mallopt): Likewise.
24532 2013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24534 * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
24536 2013-12-09 Ondřej Bílka <neleai@seznam.cz>
24538 * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
24539 macro to a function. Check for zero perturb_byte.
24540 (_int_malloc, _int_free): Remove zero perturb_byte checks.
24542 * malloc/malloc.c: (force_reg): Remove.
24543 (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
24544 (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
24545 force_reg by atomic_forced_read.
24546 * malloc/arena.c (ptmalloc_init): Likewise.
24547 * malloc/hooks.c (top_check): Likewise.
24549 2013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24551 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24553 2013-12-09 Markus Trippelsdorf <markus@trippelsdorf.de>
24555 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
24557 2013-12-08 Joseph Myers <joseph@codesourcery.com>
24559 * math/auto-libm-test-in: Add tests of lgamma.
24560 * math/auto-libm-test-out: Regenerated.
24561 * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
24562 (M_LOG_2_SQRT_PIl): Likewise.
24563 (lgamma_test_data): Use AUTO_TESTS_f_f1.
24564 * math/gen-auto-libm-tests.c (func_calc_method): Add value
24566 (func_calc_desc): Add mpfr_f_f1 union field.
24567 (ARGS1): New macro.
24575 (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
24576 (test_functions): Add lgamma.
24577 (calc_generic_results): Handle mpfr_f_f1.
24578 * sysdeps/i386/fpu/libm-test-ulps: Update.
24579 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24581 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24583 * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
24584 __mpn_add_n for PowerPC64/POWER7.
24585 * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
24586 __mpn_sub_n for PowerPC64/POWER7.
24588 * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
24589 __mpn_addmul_1 for PowerPC64.
24590 * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
24591 __mpn_submul_1 for PowerPC64.
24592 * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
24594 * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
24597 2013-12-06 Fernando J. V. da Silva <fernandojvdasilva@gmail.com>
24600 * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
24602 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24604 * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
24606 * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
24607 add multiarch folders.
24608 * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
24609 * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
24610 * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
24611 * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
24612 * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
24613 * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
24614 * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
24615 * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
24616 * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
24617 * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
24618 * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
24619 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
24620 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
24621 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
24622 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
24623 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
24624 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
24626 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
24627 __ieee754_hypot and __ieee754_hypotf multiarch implementations.
24628 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
24630 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
24632 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
24633 multiarch __ieee754_hypot for PowerPC32.
24634 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
24636 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
24638 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
24639 multiarch __ieee754_hypotf for PowerPC32.
24641 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
24642 long_double_symbol only if __logbl is defined.
24643 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
24644 * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
24645 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
24646 * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
24647 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
24648 * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
24649 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
24650 path for implementation.
24651 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
24652 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
24653 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
24654 logb, and logbl multiarch implementations for PowerPC32.
24655 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
24657 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
24659 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
24660 multiarch logb for PowerPC32.
24661 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
24663 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
24665 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
24666 multiarch logbf for PowerPC32.
24667 * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
24668 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
24670 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
24671 multiarch logbl implementation for PowerPC32.
24673 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
24674 and modff multiarch implementations.
24675 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
24677 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
24679 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
24680 multiarch modf for PowerPC32.
24681 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
24683 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
24685 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
24686 multiarch modff for PowerPC32.
24688 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
24689 and lrintf multiarch implementations.
24690 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
24692 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
24694 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
24695 multiarch lrint for PowerPC32.
24696 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
24697 file: multiarch lrintf for PowerPC32.
24699 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
24700 and lroundf multiarch implementations.
24701 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
24703 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
24705 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
24707 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
24708 multiarch lround for PowerPC32.
24709 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
24710 file: multiarch lroundf for PowerPC32.
24712 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
24713 copysign and copysignf multiarch implementations.
24714 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
24716 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
24718 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
24719 file: multiarch copysign for PowerPC32.
24720 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
24721 file: multiarch copysignf for PowerPC32.
24723 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
24724 and truncf multiarch implementations.
24725 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
24727 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
24729 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
24730 multiarch trunc for PowerPC32.
24731 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
24733 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
24735 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
24736 multiarch truncf for PowerPC32.
24738 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
24739 and roundf multiarch implementations.
24740 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
24742 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
24744 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
24745 multiarch round for PowerPC32.
24746 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
24748 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
24750 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
24751 multiarch roundf for PowerPC32.
24753 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
24754 and floorf multiarch implementations.
24755 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
24757 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
24759 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
24760 multiarch floor for PowerPC32.
24761 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
24763 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
24765 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
24766 multiarch floorf for PowerPC32.
24768 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
24769 and ceilf multiarch implementations.
24770 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
24772 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
24774 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
24775 multiarch ceil for PowerPC32.
24776 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
24778 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
24780 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
24781 multiarch ceilf for PowerPC32.
24783 * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
24785 * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
24786 FINITEF is defined.
24787 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
24788 and finitef multiarch implementations.
24789 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
24791 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
24793 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
24794 multiarch finite for PowerPC32.
24795 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
24797 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
24798 file: multiarch finitef for PowerPC32.
24800 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
24801 and isinff multiarch implementations.
24802 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
24804 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
24806 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
24807 multiarch isinf for PowerPC32.
24808 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
24810 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
24811 multiarch isinff for PowerPC32.
24813 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
24814 alias when __isnan is defined.
24815 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
24816 and isnanf multiarch implementations.
24817 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
24819 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
24821 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
24823 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
24825 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
24826 multiarch isnan for PowerPC32.
24827 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
24829 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
24831 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
24832 multiarch isnanf for PowerPC32.
24834 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
24835 and sqrtf multiarch implementations.
24836 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
24838 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
24840 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
24841 multiarch sqrt for PowerPC32.
24842 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
24844 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
24846 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
24847 multiarch sqrtf for PowerPC32.
24849 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
24850 and llroundf multiarch implementations.
24851 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
24853 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
24855 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
24857 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
24858 file: multiarch llround for PowerPC32.
24859 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
24860 file: multiarch llroundf for PowerPC32.
24862 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
24863 multiarch PowerPC32 fpu implementations.
24864 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
24866 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
24868 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
24869 multiarch llrint for PowerPC32.
24870 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
24872 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
24874 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
24877 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
24879 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
24881 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
24883 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
24885 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
24886 multiarch wordcopy for PPC32.
24887 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
24889 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
24890 (__libc_ifunc_impl_list): Likewise.
24891 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
24892 * sysdeps/powerpc/power4/wordcopy.c: ... to here.
24893 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
24894 * sysdeps/powerpc/power6/wordcopy.c: ... to here.
24895 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
24896 * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
24898 * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
24899 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
24901 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
24903 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
24905 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
24906 multiarch wcscpy for PPC32.
24907 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
24909 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
24910 (__libc_ifunc_impl_list): Likewise.
24911 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
24912 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
24913 * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
24914 sysdeps/powerpc/power6/wcscpy.c.
24916 * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
24917 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
24919 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
24921 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
24923 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
24924 multiarch wcsrchr for PPC32.
24925 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
24927 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
24928 (__libc_ifunc_impl_list): Likewise.
24929 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
24930 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
24931 * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
24932 sysdeps/powerpc/power6/wcsrchr.c.
24934 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
24936 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
24938 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
24939 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
24940 multiarch wcschr for PPc32.
24941 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
24943 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
24944 (__libc_ifunc_impl_list): Likewise.
24945 * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
24946 * sysdeps/powerpc/power6/wcschr.c: ... to here.
24947 * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
24948 sysdeps/powerpc/power6/wcschr.c.
24950 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
24951 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
24953 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
24954 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
24955 file: multiarch strchr for PPC32.
24956 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
24958 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
24959 (__libc_ifunc_impl_list): Likewise.
24961 * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
24963 * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
24965 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
24967 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
24968 multiarch strchrnul for PPC32.
24969 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
24971 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
24972 (__libc_ifunc_impl_list): Likewise.
24974 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
24976 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
24977 multiarch strncasecmp for PPC32.
24978 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
24980 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
24981 multiarch strncasecmp_l for PPC32.
24982 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
24983 strncasecmp multiarch objects.
24984 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
24985 (__libc_ifunc_impl_list): Likewise.
24987 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
24989 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
24990 multiarch strncasecmp for PPC32.
24991 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
24993 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
24994 multiarch strcasecmp_l for PPC32.
24995 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
24997 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
24998 (__libc_ifunc_impl_list): Likewise.
25000 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
25002 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
25004 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
25005 multiarch strncmp for PPC32.
25006 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
25008 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
25009 (__libc_ifunc_impl_list): Likewise.
25011 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
25012 * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
25014 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
25015 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
25016 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
25018 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
25019 (__libc_ifunc_impl_list): Likewise.
25021 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
25023 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
25025 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
25026 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
25028 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
25029 (__libc_ifunc_impl_list): Likewise.
25031 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
25033 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
25035 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
25036 multiarch rawmemchr for PPC32.
25037 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
25039 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
25040 (__libc_ifunc_impl_list): Likewise.
25042 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
25044 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
25046 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
25047 file: memrchr multiarch for PPC32.
25048 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
25050 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
25051 (__libc_ifunc_impl_list): Likewise.
25053 * string/memchr.c (__memchr): Using macro to redefine symbol name.
25054 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
25056 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
25057 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
25058 multiarch memchr for PPC32.
25059 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
25061 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
25062 (__libc_ifunc_impl_list): Likewise.
25064 * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
25065 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
25067 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
25069 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
25070 file: multiarch mempcpy for PPC32.
25071 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
25073 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
25074 (__libc_ifunc_impl_list): Likewise.
25076 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
25077 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
25078 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
25079 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
25080 multiarch bzero for PPC32.
25081 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
25083 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
25085 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
25086 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
25087 file: multiarch memset for PPC32.
25088 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
25089 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
25090 memset multiarch objects.
25091 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
25092 (__libc_ifunc_impl_list): Likewise.
25094 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
25096 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
25097 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
25099 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
25100 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
25102 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
25103 (__libc_ifunc_impl_list): Likewise.
25105 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
25106 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
25107 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
25109 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
25111 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
25113 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
25114 multiarch memcpy for PPC32.
25115 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
25117 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
25118 (__libc_ifunc_impl_list): Likewise.
25120 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
25121 support multiarch for POWER/PPC32.
25122 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
25124 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
25125 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
25126 Implies file to make multiarch folder appers before the fpu and
25127 default folder for power4 configuration.
25129 2013-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
25131 * scripts/bench.pl: Append volatile keyword to type.
25133 2013-12-05 Kaz Kojima <kkojima@rr.iij4u.or.jp>
25135 * sysdeps/sh/sotruss-lib.c: New file.
25136 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
25138 2013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25140 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25142 2013-12-05 Joseph Myers <joseph@codesourcery.com>
25145 * math/w_tgamma.c: Include <errno.h>.
25146 (__tgamma): Use __glibc_unlikely. Set errno on underflow to 0.
25147 * math/w_tgammaf.c: Include <errno.h>.
25148 (__tgammaf): Use __glibc_unlikely. Set errno on underflow to 0.
25149 * math/w_tgammal.c: Include <errno.h>.
25150 (__tgammal): Use __glibc_unlikely. Set errno on underflow to 0.
25151 * math/auto-libm-test-in: Do not allow missing errno on tgamma
25152 underflow. Add more tgamma tests.
25153 * math/auto-libm-test-out: Regenerated.
25154 * sysdeps/i386/fpu/libm-test-ulps: Update.
25155 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25157 * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
25158 sin, sinh, tan, tanh, tgamma, y0 and y1.
25159 * math/auto-libm-test-out: Regenerated.
25160 * math/libm-test.inc (TEST_COND_x86_64): New macro.
25161 (TEST_COND_x86): Likewise.
25162 (M_E2l): Remove macro.
25164 (M_2_SQRT_PIl): Likewise.
25165 (M_SQRT_PIl): Likewise.
25166 (M_1_DIV_El): Likewise.
25167 (log_test_data): Use AUTO_TESTS_f_f.
25168 (log10_test_data): Likewise.
25169 (log1p_test_data): Likewise.
25170 (log2_test_data): Likewise.
25171 (sin_test_data): Likewise.
25172 (sin_tonearest_test_data): Likewise.
25173 (sin_towardzero_test_data): Likewise.
25174 (sin_downward_test_data): Likewise.
25175 (sin_upward_test_data): Likewise.
25176 (sinh_test_data): Likewise.
25177 (sinh_tonearest_test_data): Likewise.
25178 (sinh_towardzero_test_data): Likewise.
25179 (sinh_downward_test_data): Likewise.
25180 (sinh_upward_test_data): Likewise.
25181 (tan_test_data): Likewise.
25182 (tan_tonearest_test_data): Likewise.
25183 (tan_towardzero_test_data): Likewise.
25184 (tan_downward_test_data): Likewise.
25185 (tan_upward_test_data): Likewise.
25186 (tanh_test_data): Likewise.
25187 (tgamma_test_data): Likewise.
25188 (y0_test_data): Likewise.
25189 (y1_test_data): Likewise.
25190 * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
25191 (special_real_inputs): Add pi/4.
25192 * sysdeps/i386/fpu/libm-test-ulps: Update.
25193 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25195 2013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25197 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
25198 "longjmp_target" static probes.
25199 (__longjmp): Rename to __longjmp_symbol.
25200 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
25201 * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
25202 on which longjmp to generate.
25203 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
25204 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
25206 (__sigsetjmp): Rename to __sigsetjmp_symbol.
25207 (__sigjmp_save): Rename to __sigjmp_save_symbol.
25208 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
25209 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
25210 and __sigjmp_save_symbol based on which sigsetjmp to generated.
25211 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
25212 * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
25213 __longjmp_symbol based on which __longjmp to generate.
25214 * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
25216 (setjmp): Rename to setjmp_symbol.
25217 (__sigsetjmp): Rename to __sigsetjmp_symbol.
25218 (_setjmp): Rename to _setjmp_symbol.
25219 (__sigsetjmp): Rename to __sigsetjmp_symbol.
25220 * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
25221 _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
25222 which setjmp to generate.
25223 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
25224 "longjmp_target" static probes.
25226 2013-12-05 Siddhesh Poyarekar <siddhesh@redhat.com>
25228 * benchtests/README: Add note about output arguments.
25229 * benchtests/bench-sincos.c: Remove file.
25230 * benchtests/sincos-inputs: New file.
25231 * scripts/bench.pl: Identify output arguments and define
25232 static variables for them.
25234 * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
25237 * Makefile (INSTALL): Add install-plain.texi as the primary
25239 * manual/install-plain.texi: New file.
25240 * manual/install.texi: Include node directive only for
25241 non-plaintext output.
25243 2013-12-04 Joseph Myers <joseph@codesourcery.com>
25245 * stdlib/longlong.h: Update from GCC.
25249 * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
25250 * math/w_j0f.c (y0f): Likewise.
25251 * math/w_j0l.c (__y0l): Likewise.
25252 * math/w_j1.c (y1): Likewise.
25253 * math/w_j1f.c (y1f): Likewise.
25254 * math/w_j1l.c (__y1l): Likewise
25255 * math/w_jn.c (yn): Likewise.
25256 * math/w_jnf.c (ynf): Likewise.
25257 * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
25258 Bessel function pole errors in _POSIX_ mode. Use NAN as return
25259 value for Bessel function domain errors outside _SVID_ mode.
25260 Adjust sign of return value for yn (negative integer, 0).
25261 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
25262 by zero in return for negative x and set sign appropriately for
25264 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
25265 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
25266 * math/libm-test.inc (y0_test_data): Add more tests and adjust
25267 expectations in error cases.
25268 (y1_test_data): Likewise.
25269 (yn_test_data): Likewise.
25270 * sysdeps/i386/fpu/libm-test-ulps: Update.
25271 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25273 2013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
25275 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
25276 "64" to "64-v1". Add "64-v2".
25277 (abi-64-options): Rename to ...
25278 (abi-64-v1-options): ... this. Redefine _CALL_ELF.
25279 (abi-64-condition): Rename to ...
25280 (abi-64-v1-condition): ... this. Add _CALL_ELF check.,
25281 (abi-64-ld-soname): Rename to ...
25282 (abi-64-v1-ld-soname): ... this.
25283 (abi-64-v2-options): Define.
25284 (abi-64-v2-condition): Likewise.
25285 (abi-64-v2-ld-soname): Likewise.
25286 * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
25287 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
25288 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
25289 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
25290 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
25292 2013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
25293 Alan Modra <amodra@gmail.com>
25295 * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
25296 New versions for use with the ELFv2 ABI.
25297 (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
25298 * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
25300 (struct La_ppc64v2_retval): Likewise.
25301 (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
25302 (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
25303 * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
25304 to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
25305 (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
25306 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
25307 Do not save or restore CR.
25308 (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
25309 (_dl_profile_resolve): Do no save or restore CR. Support extended
25310 return values for ELFv2 ABI. Fix location of FPR return registers.
25311 * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
25312 updated values for _CALL_ELF == 2.
25313 (La_regs, La_retval, int_retval): Likewise.
25315 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
25317 * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
25318 (FRAME_MIN_SIZE_PARM): Likewise.
25319 (FRAME_BACKCHAIN): Likewise.
25320 (FRAME_CR_SAVE): Likewise.
25321 (FRAME_LR_SAVE): 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 (call_mcount_parm_offset): New macro.
25328 (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
25329 (PROF): Use symbolic stack frame offsets.
25330 (TAIL_CALL_SYSCALL_ERROR): Likewise.
25331 * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
25332 Redefine in terms of FRAME_MIN_SIZE.
25333 (_dl_runtime_resolve): Use symbolic stack frame offsets.
25334 (_dl_profile_resolve): Likewise. Update comment.
25335 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
25336 symbols stack frame offsets.
25337 (__sigsetjmp): Likewise.
25338 * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
25339 * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
25340 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
25341 * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
25343 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
25344 (FRAME_BACKCHAIN): Remove.
25345 (FRAME_CR_SAVE): Likewise.
25346 (FRAME_LR_SAVE): Likewise.
25347 (FRAME_COMPILER_DW): Likewise.
25348 (FRAME_LINKER_DW): Likewise.
25349 (FRAME_TOC_SAVE): Likewise.
25350 (FRAME_PARM_SAVE): Likewise.
25351 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
25352 (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
25353 (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
25354 * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
25355 (CHECK_SP): Use symbolic stack frame offsets.
25356 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
25357 zone" instead of caller's parameter save area for temp storage.
25358 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
25359 Likewise. Also, use symbolic stack frame offsets.
25360 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
25361 stackblock): Redefine for _CALL_ELF == 2 to save parameters into
25362 our own stack frame instead of the caller's.
25363 (__socket): Use symbolic stack frame offsets.
25365 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
25366 Alan Modra <amodra@gmail.com>
25368 * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
25370 (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
25371 (PPC64_LOCAL_ENTRY_OFFSET): Define.
25372 * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
25374 (elf_machine_fixup_plt): Call it.
25375 (elf_machine_plt_conflict): Likewise. Add map, sym_map, and
25377 (elf_machine_rela): Update call to elf_machine_plt_conflict.
25378 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
25379 (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
25380 r2 before calling target.
25382 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
25383 Alan Modra <amodra@gmail.com>
25385 * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
25386 (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
25387 versions of macros to support ELFv2 ABI.
25388 (LOCALENTRY): New macro.
25389 (ENTRY, EALIGN): Use it.
25390 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
25391 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
25392 fall through into ENTRY entry point.
25393 * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
25394 Only define if _CALL_ELF != 2.
25396 (elf_machine_matches_host): Verify ABI version matches.
25397 (RTLD_START): Use LOCALENTRY.
25398 (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
25399 (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
25400 (PLT_ENTRY_WORDS): New macro.
25401 (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
25402 (elf_machine_runtime_setup): Support ELFv2 ABI.
25403 (elf_machine_fixup_plt): Likewise.
25404 (elf_machine_plt_conflict): Likewise.
25405 (resolve_ifunc): Likewise.
25406 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
25407 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
25409 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
25410 (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
25411 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
25412 (makecontext): Support ELFv2 ABI.
25413 * elf/elf.h (EF_PPC64_ABI): Define.
25415 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
25417 * sysdeps/powerpc/powerpc64/sysdep.h
25418 (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
25419 (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
25420 (ENTRY) [ASSEMBLER]: ... but instead here ...
25421 (EALIGN) [ASSEMBLER]: ... and here.
25422 (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
25423 (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
25424 (ENTRY_2) [!ASSEMBLER]: Use it.
25425 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
25426 ENTRY_2 changes. Use PPC64_LOAD_FUNCPTR.
25427 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
25428 (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
25429 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
25430 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
25431 Use PPC64_LOAD_FUNCPTR.
25433 * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
25435 2013-12-04 Alan Modra <amodra@gmail.com>
25437 * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
25438 (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
25439 (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
25440 (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
25442 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
25443 overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
25444 R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
25445 Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
25446 R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
25447 Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
25449 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
25451 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
25452 (__makecontext): Fix incorrect CFI when backtracing out of
25453 context created via makecontext.
25454 * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
25455 (__setcontext): Fix incorrect CFI during switch to new context.
25456 (__novec_setcontext): Likewise.
25458 2013-12-04 Ondřej Bílka <neleai@seznam.cz>
25461 * time/strptime_l.c (__strptime_internal): Allow modifiers
25463 * time/tst-strptime.c (day_tests): Add testcase.
25465 2013-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
25467 * scripts/bench.pl: Skip over blank lines.
25469 2013-12-04 Paul Eggert <eggert@cs.ucla.edu>
25472 * manual/time.texi (Calendar Time): Clarify what timezone functions
25475 2013-12-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25477 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25479 2013-12-04 Ondřej Bílka <neleai@seznam.cz>
25481 * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
25483 * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
25484 * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
25485 * debug/memset_chk.c (__memset_chk): Likewise.
25486 * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
25487 * debug/strncpy_chk.c: Likewise.
25489 2013-12-03 Joseph Myers <joseph@codesourcery.com>
25493 * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
25494 (__ieee754_exp): For possibly underflowing results, check size of
25495 result and force underflow exception if required.
25496 * math/auto-libm-test-in: Add more tests of exp.
25497 * math/auto-libm-test-out: Regenerated.
25498 * sysdeps/i386/fpu/libm-test-ulps: Update.
25499 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25502 * math/w_exp2.c (__exp2): Handle a zero result as underflow.
25503 * math/w_exp2f.c (__exp2f): Likewise.
25504 * math/w_exp2l.c (__exp2l): Likewise.
25505 * math/auto-libm-test-in: Do not allow missing errno on exp2
25507 * math/auto-libm-test-out: Regenerated.
25509 2013-12-03 Ondřej Bílka <neleai@seznam.cz>
25512 * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
25513 handle filename validation.
25514 * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
25517 2013-12-03 Joseph Myers <joseph@codesourcery.com>
25520 * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
25521 (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
25522 * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
25524 (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
25525 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
25526 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
25527 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
25528 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
25529 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
25530 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
25531 * math/auto-libm-test-in: Don't allow missing errno from erfc.
25532 Add more erfc tests.
25533 * math/auto-libm-test-out: Regenerated.
25534 * sysdeps/i386/fpu/libm-test-ulps: Update.
25535 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25537 * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
25538 exp2, expm1, j0 and j1.
25539 * math/auto-libm-test-out: Regenerated.
25540 * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
25541 (erfc_test_data): Likewise.
25542 (exp_test_data): Likewise.
25543 (exp_tonearest_test_data): Likewise.
25544 (exp_towardzero_test_data): Likewise.
25545 (exp_downward_test_data): Likewise.
25546 (exp_upward_test_data): Likewise.
25547 (exp10_test_data): Likewise.
25548 (exp2_test_data): Likewise.
25549 (expm1_test_data): Likewise.
25550 (j0_test_data): Likewise.
25551 (j1_test_data): Likewise.
25552 * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
25553 (input_flag_type): Add flag_xfail_rounding.
25554 (input_flags): Add xfail-rounding.
25555 (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
25556 (output_for_one_input_case): Handle flag_xfail_rounding.
25557 * sysdeps/i386/fpu/libm-test-ulps: Update.
25558 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25560 2013-12-03 Aurelien Jarno <aurelien@aurel32.net>
25563 * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
25566 2013-12-03 Siddhesh Poyarekar <siddhesh@redhat.com>
25569 * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
25570 (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
25571 (STAP_PROBE0): New macro.
25572 (STAP_PROBE1): Likewise.
25573 (STAP_PROBE2): Likewise.
25574 (STAP_PROBE3): Likewise.
25575 (STAP_PROBE4): Likewise.
25577 2013-12-02 Ondřej Bílka <neleai@seznam.cz>
25579 * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
25581 2013-12-02 Steve Ellcey <sellcey@mips.com>
25583 * benchtests/Makefile (bench): Add sqrt.
25584 (LDLIBS-bench-sqrt): New.
25585 * benchtests/sqrt-input: New.
25587 2013-12-02 Pavel Simerda <psimerda@redhat.com>
25589 * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
25590 (GAIH_EAI): Likewise.
25591 (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
25592 (gaih_inet): Likewise.
25593 (getaddrinfo): Don't use GAIH_EAI.
25595 * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
25596 (struct gaih): Remove definition.
25598 2013-12-02 Siddhesh Poyarekar <siddhesh@redhat.com>
25600 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
25601 Use HERRNOP directly.
25603 2013-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25605 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25607 2013-11-30 Joseph Myers <joseph@codesourcery.com>
25609 * math/gen-auto-libm-tests.c (test_functions): Add more
25610 single-argument functions.
25611 (special_fill_pi_2): New function.
25612 (special_fill_minus_pi_2): Likewise.
25613 (special_fill_pi_6): Likewise.
25614 (special_fill_minus_pi_6): Likewise.
25615 (special_fill_pi_3): Likewise.
25616 (special_fill_2pi_3): Likewise.
25617 (special_fill_e): Likewise.
25618 (special_fill_1_e): Likewise.
25619 (special_fill_e_minus_1): Likewise.
25620 (special_real_inputs): Add more special inputs.
25621 (output_for_one_input_case): Do not require ERANGE on underflow to
25622 zero if round-to-nearest result does not underflow to zero, unless
25623 exact results required.
25624 * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
25625 atan, atanh, cbrt, cos and cosh.
25626 * math/auto-libm-test-out: Regenerated.
25627 * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
25628 (acos_tonearest_test_data): Likewise.
25629 (acos_towardzero_test_data): Likewise.
25630 (acos_downward_test_data): Likewise.
25631 (acos_upward_test_data): Likewise.
25632 (acosh_test_data): Likewise.
25633 (asin_test_data): Likewise.
25634 (asin_tonearest_test_data): Likewise.
25635 (asin_towardzero_test_data): Likewise.
25636 (asin_upward_test_data): Likewise.
25637 (asinh_test_data): Likewise.
25638 (atan_test_data): Likewise.
25639 (atanh_test_data): Likewise.
25640 (cbrt_test_data): Likewise.
25641 (cos_test_data): Likewise.
25642 (cos_tonearest_test_data): Likewise.
25643 (cos_towardzero_test_data): Likewise.
25644 (cos_downward_test_data): Likewise.
25645 (cos_upward_test_data): Likewise.
25646 (cosh_test_data): Likewise.
25647 (cosh_tonearest_test_data): Likewise.
25648 (cosh_towardzero_test_data): Likewise.
25649 (cosh_downward_test_data): Likewise.
25650 (cosh_upward_test_data): Likewise.
25651 * sysdeps/i386/fpu/libm-test-ulps: Update.
25652 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25654 2013-11-29 Joseph Myers <joseph@codesourcery.com>
25657 * math/w_exp10.c (__exp10): Handle a zero result as underflow.
25658 * math/w_exp10f.c (__exp10f): Likewise.
25659 * math/w_exp10l.c (__exp10l): Likewise.
25660 * math/libm-test.inc (exp10_test_data): Add more tests and expect
25661 errno settings in existing tests.
25664 * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
25665 precision control set to double precision.
25666 * sysdeps/i386/fpu/w_sqrt.c: New file.
25667 * math/auto-libm-test-in: Add more tests.
25668 * math/auto-libm-test-out: Update.
25670 * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
25671 (sqrt_test_tonearest): New function.
25672 (sqrt_towardzero_test_data): New variable.
25673 (sqrt_test_towardzero): New function.
25674 (sqrt_downward_test_data): New variable.
25675 (sqrt_test_downward): New function.
25676 (sqrt_upward_test_data): New variable.
25677 (sqrt_test_upward): New function.
25678 (main): Call the new functions.
25680 * math/gen-auto-libm-tests.c: New file.
25681 * math/auto-libm-test-in: Likewise.
25682 * math/auto-libm-test-out: New generated file.
25683 * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
25685 (%beautify): Add generated representations of zero.
25686 (top level): Set $auto_input and call parse_auto_input.
25687 (beautify): Remove trailing "f" from hex float constants.
25688 (parse_args): Handle XFAIL_TEST.
25689 (convert_condition): New function.
25690 (or_value): Likewise.
25691 (or_cond_value): Likewise.
25692 (generate_testfile): Handle AUTO_TESTS_* lines.
25693 (parse_auto_input): New function.
25694 * math/libm-test.inc (XFAIL_TEST): New macro.
25695 (ERRNO_UNCHANGED): Update value.
25696 (ERRNO_EDOM): Likewise.
25697 (ERRNO_ERANGE): Likewise.
25698 (IGNORE_RESULT): Likewise.
25699 (TEST_COND_flt_32): New macro.
25700 (TEST_COND_dbl_64): Likewise.
25701 (TEST_COND_ldbl_96_intel): Likewise.
25702 (TEST_COND_ldbl_96_m68k): Likewise.
25703 (TEST_COND_ldbl_128): Likewise.
25704 (TEST_COND_ldbl_128ibm): Likewise.
25705 (TEST_COND_long32): Likewise.
25706 (TEST_COND_long64): Likewise.
25707 (TEST_COND_before_rounding): Likewise.
25708 (TEST_COND_after_rounding): Likewise.
25709 (enable_test): Handle XFAIL_TEST flag.
25710 (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
25711 with finite results.
25712 * math/Makefile ($(objpfx)libm-test.stmp): Depend on
25713 auto-libm-test-out.
25715 2013-11-29 Siddhesh Poyarekar <siddhesh@redhat.com>
25716 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
25719 * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
25720 __tls_get_addr_internal instead of __tls_get_offset in order to
25721 avoid GOT pointer dependency. Make rtld export
25722 __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
25723 __tls_get_addr since we are a __tls_get_offset platform.
25724 * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
25725 GOT pointer being set up before.
25726 * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
25728 2013-11-28 Joseph Myers <joseph@codesourcery.com>
25730 * manual/math.texi (Errors in Math Functions): Document accuracy
25734 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
25735 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
25736 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
25737 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
25738 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
25739 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
25740 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
25741 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
25742 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
25743 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
25744 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
25745 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
25746 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
25747 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
25748 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
25749 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
25751 * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
25752 * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
25753 * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
25754 * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
25755 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
25757 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
25759 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
25761 * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
25762 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
25763 (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
25764 atomic-feupdateenv and flt-rounds.
25765 * sysdeps/powerpc/nofpu/Versions (libc): Add
25766 __atomic_feholdexcept, __atomic_feclearexcept,
25767 __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
25768 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
25769 (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
25770 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
25771 (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
25773 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
25776 * manual/arith.texi (FP Exceptions): Document that exceptions may
25777 not be raised when matherr is used.
25778 (Math Error Reporting): Document overflow in directed rounding
25779 modes. Document that errno may not be set when finite values are
25780 returned on overflow. Document intent to set errno on underflow
25781 only for underflow to zero.
25784 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
25785 round-to-nearest then adjust result for other rounding modes.
25786 * include/fenv.h (fegetround): Use libm_hidden_proto.
25787 * math/fegetround.c (fegetround): Use libm_hidden_def.
25788 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
25789 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
25790 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
25791 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
25793 * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
25794 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
25795 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
25796 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
25798 2013-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
25801 * nss/Versions (libnss_files): Add
25802 _nss_files_gethostbyname3_r.
25803 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
25805 (HOST_DB_LOOKUP): Remove macro.
25806 (_nss_files_gethostbyname_r): Implement function without the
25807 HOST_DB_LOOKUP macro.
25808 (_nss_files_gethostbyname2_r): Likewise.
25810 2013-11-28 Ondřej Bílka <neleai@seznam.cz>
25812 * malloc/malloc.c (__libc_calloc): Make memset a tail call.
25814 2013-11-26 Uros Bizjak <ubizjak@gmail.com>
25816 * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
25817 _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
25820 2013-11-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25822 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
25823 __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
25824 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
25825 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
25826 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
25827 __fe_nomask_env_priv and attribute_hidden.
25828 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
25829 (libc_feupdateenv_test_ppc): Likewise.
25830 (libc_feresetround_ppc): Likewise.
25831 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
25832 (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
25833 compat_symbol macro.
25834 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
25835 (__fe_nomask_env): Likewise.
25836 * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
25838 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
25840 * string/Makefile: Remove ifunc tests.
25841 * string/test-string.h: Define TEST_IFUNC.
25842 * string/test-bcopy-ifunc.c: Remove.
25843 * string/test-bzero-ifunc.c: Likewise.
25844 * string/test-memccpy-ifunc.c: Likewise.
25845 * string/test-memchr-ifunc.c: Likewise.
25846 * string/test-memcmp-ifunc.c: Likewise.
25847 * string/test-memcpy-ifunc.c: Likewise.
25848 * string/test-memmem-ifunc.c: Likewise.
25849 * string/test-memmove-ifunc.c: Likewise.
25850 * string/test-mempcpy-ifunc.c: Likewise.
25851 * string/test-memrchr-ifunc.c: Likewise.
25852 * string/test-memset-ifunc.c: Likewise.
25853 * string/test-rawmemchr-ifunc.c: Likewise.
25854 * string/test-stpcpy-ifunc.c: Likewise.
25855 * string/test-stpncpy-ifunc.c: Likewise.
25856 * string/test-strcasecmp-ifunc.c: Likewise.
25857 * string/test-strcasestr-ifunc.c: Likewise.
25858 * string/test-strcat-ifunc.c: Likewise.
25859 * string/test-strchr-ifunc.c: Likewise.
25860 * string/test-strchrnul-ifunc.c: Likewise.
25861 * string/test-strcmp-ifunc.c: Likewise.
25862 * string/test-strcpy-ifunc.c: Likewise.
25863 * string/test-strcspn-ifunc.c: Likewise.
25864 * string/test-strlen-ifunc.c: Likewise.
25865 * string/test-strncasecmp-ifunc.c: Likewise.
25866 * string/test-strncat-ifunc.c: Likewise.
25867 * string/test-strncmp-ifunc.c: Likewise.
25868 * string/test-strncpy-ifunc.c: Likewise.
25869 * string/test-strnlen-ifunc.c: Likewise.
25870 * string/test-strpbrk-ifunc.c: Likewise.
25871 * string/test-strrchr-ifunc.c: Likewise.
25872 * string/test-strspn-ifunc.c: Likewise.
25873 * string/test-strstr-ifunc.c: Likewise.
25875 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
25877 * benchtests/Makefile: Remove ifunc tests.
25878 * benchtests/bench-string.h: Define TEST_IFUNC.
25879 * benchtests/bench-bcopy-ifunc.c: Remove.
25880 * benchtests/bench-bzero-ifunc.c: Likewise.
25881 * benchtests/bench-memccpy-ifunc.c: Likewise.
25882 * benchtests/bench-memchr-ifunc.c: Likewise.
25883 * benchtests/bench-memcmp-ifunc.c: Likewise.
25884 * benchtests/bench-memcpy-ifunc.c: Likewise.
25885 * benchtests/bench-memmem-ifunc.c: Likewise.
25886 * benchtests/bench-memmove-ifunc.c: Likewise.
25887 * benchtests/bench-mempcpy-ifunc.c: Likewise.
25888 * benchtests/bench-memrchr-ifunc.c: Likewise.
25889 * benchtests/bench-memset-ifunc.c: Likewise.
25890 * benchtests/bench-rawmemchr-ifunc.c: Likewise.
25891 * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
25892 * benchtests/bench-stpcpy-ifunc.c: Likewise.
25893 * benchtests/bench-stpncpy-ifunc.c: Likewise.
25894 * benchtests/bench-strcasecmp-ifunc.c: Likewise.
25895 * benchtests/bench-strcasestr-ifunc.c: Likewise.
25896 * benchtests/bench-strcat-ifunc.c: Likewise.
25897 * benchtests/bench-strchr-ifunc.c: Likewise.
25898 * benchtests/bench-strchrnul-ifunc.c: Likewise.
25899 * benchtests/bench-strcmp-ifunc.c: Likewise.
25900 * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
25901 * benchtests/bench-strcpy-ifunc.c: Likewise.
25902 * benchtests/bench-strcspn-ifunc.c: Likewise.
25903 * benchtests/bench-strlen-ifunc.c: Likewise.
25904 * benchtests/bench-strncasecmp-ifunc.c: Likewise.
25905 * benchtests/bench-strncat-ifunc.c: Likewise.
25906 * benchtests/bench-strncmp-ifunc.c: Likewise.
25907 * benchtests/bench-strncpy-ifunc.c: Likewise.
25908 * benchtests/bench-strnlen-ifunc.c: Likewise.
25909 * benchtests/bench-strpbrk-ifunc.c: Likewise.
25910 * benchtests/bench-strrchr-ifunc.c: Likewise.
25911 * benchtests/bench-strsep-ifunc.c: Likewise.
25912 * benchtests/bench-strspn-ifunc.c: Likewise.
25913 * benchtests/bench-strstr-ifunc.c: Likewise.
25915 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
25917 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
25919 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
25921 * resolv/netdb.h: Use __glibc_reserved instead __unused.
25922 * rt/aio.h: Likewise.
25923 * sysdeps/gnu/bits/utmp.h: Likewise.
25924 * sysdeps/gnu/bits/utmpx.h: Likewise.
25925 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
25926 * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
25927 * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
25928 * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
25929 * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
25930 * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
25931 * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
25932 * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
25933 * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
25934 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
25935 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
25936 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
25937 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
25938 * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
25939 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
25940 * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
25941 * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
25942 * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
25943 * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
25944 * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
25945 * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
25946 * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
25947 * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
25948 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
25949 * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
25950 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
25951 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
25952 * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
25953 * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
25954 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
25955 * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
25956 * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
25957 * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
25958 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
25959 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
25960 * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
25961 * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
25962 * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
25963 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
25964 * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
25965 * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
25966 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
25968 2013-11-25 Carlos O'Donell <carlos@redhat.com>
25971 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
25972 Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
25974 2013-11-25 Joseph Myers <joseph@codesourcery.com>
25976 * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
25977 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
25980 2013-11-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25982 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
25983 SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
25984 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
25985 (__fesetround): Remove define.
25986 * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
25987 rounding and exceptions handling.
25988 * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
25989 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
25990 (__fe_nomask_env): Likewise.
25991 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
25992 __fegetround instead of fegetround.
25993 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
25994 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
25996 2013-11-21 Roland McGrath <roland@hack.frob.com>
25998 * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
26001 * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
26003 2013-11-21 Meador Inge <meadori@codesourcery.com>
26006 * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
26007 (encrypt_r): Likewise.
26008 * malloc/obstack.h (obstack_free): Likewise.
26009 * posix/unistd.h (encrypt): Likewise.
26011 2013-11-21 Guy Martin <gmsoft@tuxicoman.be>
26013 * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
26014 DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
26015 DL_CALL_DT_FINI() that call the functions directly.
26016 * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
26017 * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
26018 * elf/dl-fini.c: Likewise.
26020 2013-11-20 Ondřej Bílka <neleai@seznam.cz>
26022 * malloc/hooks.c (memalign_check): Add alignment rounding.
26023 * malloc/malloc.c (_mid_memalign): New function.
26024 (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
26025 Implement by calling _mid_memalign.
26026 * manual/probes.texi (Memory Allocation Probes): Remove
26027 memory_valloc_retry and memory_pvalloc_retry.
26029 2013-11-20 Siddhesh Poyarekar <siddhesh@redhat.com>
26031 * locale/programs/locarchive.c (open_archive): Add const
26032 qualifier to ARCHIVEFNAME and copy default fname to
26036 * libio/tst-widetext.input: Rename Oriya to Odia.
26037 * locale/iso-639.def: Likewise.
26039 * manual/probes.texi (Mathematical Function Probes): Add
26040 documentation for sin, cos, asin and acos probes.
26041 * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
26042 (__sin32): Add slowasin probe.
26043 (__cos32): Add slowacos probe.
26044 (__mpsin): Add slowsin probe.
26045 (__mpcos): Add slowcos probe.
26047 2013-11-19 Joseph Myers <joseph@codesourcery.com>
26050 * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
26051 thread-local __sim_exceptions_thread and global
26052 __sim_exceptions_global.
26053 (__sim_disabled_exceptions): Change to thread-local
26054 __sim_disabled_exceptions_thread and global
26055 __sim_disabled_exceptions_global.
26056 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
26057 and global __sim_round_mode_global.
26058 (__simulate_exceptions): Use thread-local floating-point state and
26059 set global state from it as needed.
26060 * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
26061 __sim_exceptions_thread, __sim_disabled_exceptions_thread and
26062 __sim_round_mode_thread.
26063 * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
26064 (__sim_exceptions): Change to thread-local __sim_exceptions_thread
26065 and global __sim_exceptions_global.
26066 (__sim_disabled_exceptions): Change to thread-local
26067 __sim_disabled_exceptions_thread and global
26068 __sim_disabled_exceptions_global.
26069 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
26070 and global __sim_round_mode_global.
26071 [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
26072 (SIM_SET_GLOBAL): Likewise.
26073 * sysdeps/powerpc/soft-fp/sfp-machine.h
26074 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
26075 __sim_round_mode_thread.
26076 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
26077 __sim_disabled_exceptions_thread.
26078 (__sim_exceptions): Change to __sim_exceptions_thread.
26079 (__sim_disabled_exceptions): Change to
26080 __sim_disabled_exceptions_thread.
26081 (__sim_round_mode): Change to __sim_round_mode_thread.
26082 * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
26083 thread-local floating-point state and set global state from it as
26085 * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
26086 * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
26087 (__sim_disabled_exceptions): Remove extern declaration.
26088 (feenableexcept): Use thread-local floating-point state and set
26089 global state from it as needed.
26090 * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
26091 extern declaration.
26092 (__sim_disabled_exceptions): Likewise.
26093 (__sim_round_mode): Likewise.
26094 (__fegetenv): Use thread-local floating-point state.
26095 * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
26096 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
26097 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
26098 floating-point state and set global state from it as needed.
26099 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
26100 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
26101 * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
26103 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
26104 * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
26106 sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
26107 * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
26108 Use __sim_round_mode_thread.
26109 * math/test-fenv-tls.c: New file.
26110 * math/Makefile (tests): Add test-fenv-tls.
26111 ($(objpfx)test-fenv-tls): Depend on
26112 $(common-objpfx)nptl/libpthread.so.
26114 2013-11-19 Andreas Schwab <schwab@suse.de>
26116 * locale/programs/locale.c (show_info): Decode wordarray elements.
26117 * locale/categories.def (LC_MONETARY): Add element for
26118 _NL_MONETARY_CRNCYSTR.
26119 * locale/C-monetary.c (conversion_rate): New variable.
26120 (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
26123 2013-11-18 Chris Metcalf <cmetcalf@tilera.com>
26125 * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
26126 Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
26128 2013-11-18 Paul Pluzhnikov <ppluzhnikov@google.com>
26130 * elf/Makefile (tst-auxv): New test.
26131 * elf/tst-auxv.c: New
26132 * elf/rtld.c (dl_main): Adjust AT_EXECFN
26134 2013-11-18 Joseph Myers <joseph@codesourcery.com>
26136 * include/libc-symbols.h (__hidden_proto): Add argument "thread".
26137 (hidden_proto): Caller changed.
26138 (hidden_tls_proto): New macro.
26139 (libc_hidden_tls_proto): Likewise.
26140 (rtld_hidden_tls_proto): Likewise.
26141 (libm_hidden_tls_proto): Likewise.
26142 (libresolv_hidden_tls_proto): Likewise.
26143 (librt_hidden_tls_proto): Likewise.
26144 (libdl_hidden_tls_proto): Likewise.
26145 (libnss_files_hidden_tls_proto): Likewise.
26146 (libnsl_hidden_tls_proto): Likewise.
26147 (libnss_nisplus_hidden_tls_proto): Likewise.
26148 (libutil_hidden_tls_proto): Likewise.
26150 2013-11-18 Ondřej Bílka <neleai@seznam.cz>
26153 * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
26154 (decompose_rpath): Defer expansion to fillin_rpath.
26155 (_dl_init_paths): Pass linkmap to fillin_rpath.
26157 2013-11-18 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
26159 * benchtests/Makefile: Add strsep.
26160 * benchtests/bench-strsep.c: New file: strsep benchtest.
26161 * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
26163 2013-11-18 Andreas Schwab <schwab@suse.de>
26165 * locale/programs/locale.c (show_info) [case byte]: Check for
26166 '\377' instead of '\177'.
26167 * locale/C-monetary.c (not_available): Always use "\377".
26168 * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
26169 unspecified p_sign_posn and n_sign_posn. Check for '\377' to
26170 detect unavailable sign_posn locale elements.
26171 * locale/localeconv.c (__localeconv): For grouping and
26172 mon_grouping handle "\177" and "\377" like no grouping.
26173 (INT_ELEM): New macro. Use it to set all numeric members.
26174 * locale/programs/ld-monetary.c (monetary_read)
26175 <tok_mon_grouping>: Normalize single -1 to the empty string.
26176 * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
26179 2013-11-07 Ondřej Bílka <neleai@seznam.cz>
26182 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
26183 when we match (nil).
26184 * stdio-common/tst-sscanf.c (struct test): Add testcase.
26186 2013-11-16 Joseph Myers <joseph@codesourcery.com>
26188 * math/libm-test.inc (TEST_NAN_SIGN): New macro.
26189 (NO_TEST_INLINE): Update value.
26190 (ERRNO_UNCHANGED): Likewise.
26191 (ERRNO_EDOM): Likewise.
26192 (ERRNO_ERANGE): Likewise.
26193 (IGNORE_RESULT): Likewise.
26194 (check_float_internal): Check signs of NaN results if
26195 TEST_NAN_SIGN used.
26196 (check_complex): Pass TEST_NAN_SIGN flag through to second
26197 check_float_internal call.
26198 (copysign_test_data): Add tests with quiet NaNs as second
26199 argument. Use TEST_NAN_SIGN.
26200 (fabs_test_data): Add test of negative quiet NaN argument. Use
26202 (signbit_test_data): Add tests of quiet NaN argument.
26203 * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
26205 * math/gen-libm-test.pl (show_exceptions): Take extra argument
26207 (parse_args): Handle function results specified as IGNORE.
26208 * math/libm-test.inc (IGNORE_RESULT): New macro.
26209 (check_float_internal): Do not check numerical result if flag
26211 (check_complex): Pass through IGNORE_RESULT to second
26212 check_float_internal call.
26213 (check_int): Do not check numerical result if flag IGNORE_RESULT
26215 (check_long): Likewise.
26216 (check_bool): Likewise.
26217 (check_longlong): Likewise.
26218 (lrint_test_data): Add tests of infinite and NaN arguments.
26219 (lrint_tonearest_test_data): Likewise.
26220 (lrint_towardzero_test_data): Likewise.
26221 (lrint_downward_test_data): Likewise.
26222 (lrint_upward_test_data): Likewise.
26223 (llrint_test_data): Likewise.
26224 (llrint_tonearest_test_data): Likewise.
26225 (llrint_towardzero_test_data): Likewise.
26226 (llrint_downward_test_data): Likewise.
26227 (llrint_upward_test_data): Likewise.
26228 (lround_test_data): Likewise.
26229 (llround_test_data): Likewise.
26231 * math/libm-test.inc (NO_TEST_INLINE): New macro.
26232 (ERRNO_UNCHANGED): Update value.
26233 (ERRNO_EDOM): Likewise.
26234 (ERRNO_ERANGE): Likewise.
26235 (NO_TEST_INLINE_FLOAT): New macro.
26236 (NO_TEST_INLINE_DOUBLE): Likewise.
26237 (enable_test): New function.
26238 (RUN_TEST_f_f): Check enable_test before running test.
26239 (RUN_TEST_2_f): Likewise.
26240 (RUN_TEST_fff_f): Likewise.
26241 (RUN_TEST_c_f): Likewise.
26242 (RUN_TEST_f_f1): Likewise.
26243 (RUN_TEST_fF_f1): Likewise.
26244 (RUN_TEST_fI_f1): Likewise.
26245 (RUN_TEST_ffI_f1): Likewise.
26246 (RUN_TEST_c_c): Likewise.
26247 (RUN_TEST_cc_c): Likewise.
26248 (RUN_TEST_f_i): Likewise.
26249 (RUN_TEST_f_i_tg): Likewise.
26250 (RUN_TEST_ff_i_tg): Likewise.
26251 (RUN_TEST_f_b): Likewise.
26252 (RUN_TEST_f_b_tg): Likewise.
26253 (RUN_TEST_f_l): Likewise.
26254 (RUN_TEST_f_L): Likewise.
26255 (RUN_TEST_fFF_11): Likewise.
26256 (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
26258 (cosh_test_data): Likewise.
26259 (exp_test_data): Likewise.
26260 (expm1_test_data): Likewise.
26261 (hypot_test_data): Likewise.
26262 (pow_test_data): Likewise.
26263 (sinh_test_data): Likewise.
26264 (tanh_test_data): Likewise.
26265 * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
26268 * libm-test.inc (acos_test_data): Disallow inexact exceptions for
26269 tests with quiet NaN input and output.
26270 (acosh_test_data): Likewise.
26271 (asin_test_data): Likewise.
26272 (asinh_test_data): Likewise.
26273 (atan_test_data): Likewise.
26274 (atanh_test_data): Likewise.
26275 (atan2_test_data): Likewise.
26276 (cbrt_test_data): Likewise.
26277 (cos_test_data): Likewise.
26278 (cosh_test_data): Likewise.
26279 (erf_test_data): Likewise.
26280 (erfc_test_data): Likewise.
26281 (exp_test_data): Likewise.
26282 (exp10_test_data): Likewise.
26283 (exp2_test_data): Likewise.
26284 (expm1_test_data): Likewise.
26285 (hypot_test_data): Likewise.
26286 (j0_test_data): Likewise.
26287 (j1_test_data): Likewise.
26288 (jn_test_data): Likewise.
26289 (lgamma_test_data): Likewise.
26290 (log_test_data): Likewise.
26291 (log10_test_data): Likewise.
26292 (log1p_test_data): Likewise.
26293 (log2_test_data): Likewise.
26294 (pow_test_data): Likewise.
26295 (scalb_test_data): Likewise.
26296 (sin_test_data): Likewise.
26297 (sincos_test_data): Likewise.
26298 (sinh_test_data): Likewise.
26299 (tan_test_data): Likewise.
26300 (tanh_test_data): Likewise.
26301 (tgamma_test_data): Likewise.
26302 (y0_test_data): Likewise.
26303 (y1_test_data): Likewise.
26304 (yn_test_data): Likewise.
26307 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
26308 argument being NaN and avoid computations with second argument in
26310 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
26311 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
26312 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
26314 2013-11-15 Arun Kumar Pyasi <arun@chitwanix.com>
26316 * locale/iso-639.def: Add Chitwani Tharu (the).
26318 2013-11-14 Andreas Schwab <schwab@suse.de>
26320 * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
26321 word instead of empty string.
26323 2013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26325 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
26326 (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
26327 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
26328 (__fe_nomask_env): Likewise.
26330 2013-11-13 Steve Ellcey <sellcey@mips.com>
26332 * benchtests/bench-timing.h: Include time.h.
26334 2013-11-13 H.J. Lu <hongjiu.lu@intel.com>
26337 * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
26339 * sysdeps/unix/sysv/linux/configure: Regenerated.
26341 2013-11-13 Joseph Myers <joseph@codesourcery.com>
26344 * stdlib/strtod_l.c (round_and_return): Do not consider
26345 retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
26346 exponent one less than half the least subnormal exponent.
26347 * stdlib/test-strtod-round-data: Add more tests.
26348 * stdlib/tst-strtod-round.c (tests): Regenerated.
26350 2013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26353 * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
26354 (__fe_mask_env): Likewise.
26355 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
26356 libm_hidden_proto and add function prototype.
26357 (__fe_mask_env): Add function prototype.
26358 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
26359 (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
26360 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
26361 (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
26362 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
26363 (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
26365 2013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
26367 * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
26368 set reference_name to "" to avoid passing NULL to DSO_FILENAME.
26370 2013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
26372 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
26373 of htab_find_slot().
26375 2013-11-11 David S. Miller <davem@davemloft.net>
26378 * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
26379 symbol in the non-vis3 case in static builds.
26380 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
26381 * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
26382 * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
26383 * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
26385 2013-11-11 Jan Kratochvil <jan.kratochvil@redhat.com>
26388 * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
26391 2013-11-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26393 * benchtests/Makefile: Add bench-strtod.
26394 * benchtests/bench-strtod.c: New file: strtod benchtest
26396 2013-11-11 Andreas Schwab <schwab@suse.de>
26399 * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
26400 terminating NUL in key length.
26402 2013-11-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26404 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
26405 Add artificial ODP entry for vDSO symbol for PPC64.
26406 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
26407 * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
26409 2013-11-07 Ondřej Bílka <neleai@seznam.cz>
26412 * nss/getent.c (services_keys): Recognize services starting with digit.
26414 2013-11-06 David S. Miller <davem@davemloft.net>
26417 * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
26418 on pre-v9 cpus, use a fnegs+fmovs sequence instead.
26420 2013-11-06 Will Newton <will.newton@linaro.org>
26422 * manual/memory.texi (Malloc Examples): Remove register
26423 keyword from examples.
26425 2013-11-04 Chris Leonard <cjl@sugarlabs.org>
26427 * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
26429 2013-11-04 Joseph Myers <joseph@codesourcery.com>
26432 * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
26433 depending on [__GCC_IEC_559 > 0].
26434 [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
26435 depending on [__GCC_IEC_559_COMPLEX > 0].
26437 2013-11-03 Chris Leonard <cjl@sugarlabs.org>
26439 * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
26442 2013-11-03 Ondřej Bílka <neleai@seznam.cz>
26444 * elf/rtld.c: Remove unused NONTLS_INIT_TP.
26446 2013-11-01 Ondřej Bílka <neleai@seznam.cz>
26449 * malloc/malloc (malloc_info): Do not handle first bin as
26452 2013-11-01 Chris Leonard <cjl@sugarlabs.org>
26454 * locale/iso-639.def: Add Central Nahuatl (nhn).
26456 2013-11-01 Bruno Haible <bruno@clisp.org>
26459 * manual/math.texi (BSD Random): Specify range upper bound as
26462 2013-10-31 Chris Leonard <cjl@sugarlabs.org>
26464 * locale/iso-639.def: Add Meadow Mari (mhr).
26466 2013-10-31 Ondřej Bílka <neleai@seznam.cz>
26468 [BZ #14752], [BZ #15763]
26469 * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
26471 * rt/tst_shm.c: Add test for escaping directory.
26473 2013-10-31 Andreas Schwab <schwab@suse.de>
26476 * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
26477 followed by 'x' as part of digit sequence.
26478 * stdio-common/tst-sscanf.c (double_tests2): New tests.
26480 2013-10-31 Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
26483 * configure.ac: allow GNU Make 4.0 and greater.
26484 * configure: Regenerated.
26486 2013-10-30 Will Newton <will.newton@linaro.org>
26489 * malloc/hooks.c (memalign_check): Limit alignment to the
26490 maximum representable power of two.
26491 * malloc/malloc.c (__libc_memalign): Likewise.
26492 * malloc/tst-memalign.c (do_test): Add test for very
26493 large alignment values.
26494 * malloc/tst-posix_memalign.c (do_test): Likewise.
26496 2013-10-30 Ondřej Bílka <neleai@seznam.cz>
26499 * malloc/malloc.c (sysmalloc): Compute statistics atomically.
26500 (munmap_chunk): Likewise.
26501 (mremap_chunk): Likewise.
26503 2013-10-30 Ondřej Bílka <neleai@seznam.cz>
26506 * stdlib/div.c (div): Remove obsolete code.
26507 * stdlib/ldiv.c (ldiv): Likewise.
26508 * stdlib/lldiv.c (lldiv): Likewise.
26510 2013-10-30 Siddhesh Poyarekar <siddhesh@redhat.com>
26513 * nss/nss_files/files-XXX.c (get_contents_ret): New
26515 (get_contents): New function.
26516 (internal_getent): Use it. Expand size of LINEBUFLEN.
26518 2013-10-30 Mike Frysinger <vapier@gentoo.org>
26520 * configure.in: Moved to ...
26521 * configure.ac: ... here. Change reference to configure.in
26523 * sysdeps/arm/preconfigure.ac: ... here.
26524 configure.in to configure.ac.
26525 * sysdeps/gnu/configure.in: Moved to ...
26526 * sysdeps/gnu/configure.ac: ... here.
26527 * sysdeps/i386/configure.in: Moved to ...
26528 * sysdeps/i386/configure.ac: ... here.
26529 * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
26530 * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
26531 * sysdeps/mach/configure.in: Moved to ...
26532 * sysdeps/mach/configure.ac: ... here.
26533 * sysdeps/mach/hurd/configure.in: Moved to ...
26534 * sysdeps/mach/hurd/configure.ac: ... here.
26535 * sysdeps/powerpc/configure.in: Moved to ...
26536 * sysdeps/powerpc/configure.ac: ... here.
26537 * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
26538 * sysdeps/powerpc/powerpc32/configure.ac: ... here.
26539 * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
26540 * sysdeps/powerpc/powerpc64/configure.ac: ... here.
26541 * sysdeps/s390/s390-32/configure.in: Moved to ...
26542 * sysdeps/s390/s390-32/configure.ac: ... here.
26543 * sysdeps/s390/s390-64/configure.in: Moved to ...
26544 * sysdeps/s390/s390-64/configure.ac: ... here.
26545 * sysdeps/sh/configure.in: Moved to ...
26546 * sysdeps/sh/configure.ac: ... here.
26547 * sysdeps/sparc/configure.in: Moved to ...
26548 * sysdeps/sparc/configure.ac: ... here.
26549 * sysdeps/unix/sysv/linux/configure.in: Moved to ...
26550 * sysdeps/unix/sysv/linux/configure.ac: ... here.
26551 * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
26552 * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
26553 * sysdeps/x86_64/configure.in: Moved to ...
26554 * sysdeps/x86_64/configure.ac: ... here.
26555 * sysdeps/x86_64/preconfigure.in: Moved to ...
26556 * sysdeps/x86_64/preconfigure.ac: ... here.
26557 * aclocal.m4: Change reference to configure.in to configure.ac.
26558 * config.h.in: Likewise.
26559 * manual/install.texi: Likewise.
26560 * manual/maint.texi: Likewise.
26561 * Makefile: Likewise.
26562 * malloc/Makefile: Likewise.
26563 * nscd/Makefile: Likewise.
26564 * Makeconfig: Change reference to configure.in and
26565 preconfigure.in to configure.ac and preconfigure.ac
26567 * INSTALL: Regenerated.
26568 * configure: Likewise.
26569 * sysdeps/gnu/configure: Likewise.
26570 * sysdeps/i386/configure: Likewise.
26571 * sysdeps/ieee754/ldbl-opt/configure: Likewise.
26572 * sysdeps/mach/configure: Likewise.
26573 * sysdeps/mach/hurd/configure: Likewise.
26574 * sysdeps/powerpc/configure: Likewise.
26575 * sysdeps/powerpc/powerpc32/configure: Likewise.
26576 * sysdeps/powerpc/powerpc64/configure: Likewise.
26577 * sysdeps/s390/s390-32/configure: Likewise.
26578 * sysdeps/s390/s390-64/configure: Likewise.
26579 * sysdeps/sh/configure: Likewise.
26580 * sysdeps/sparc/configure: Likewise.
26581 * sysdeps/unix/sysv/linux/configure: Likewise.
26582 * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
26583 * sysdeps/x86_64/configure: Likewise.
26584 * sysdeps/x86_64/preconfigure: Likewise.
26586 2013-10-29 Andreas Schwab <schwab@suse.de>
26588 * stdio-common/Makefile (tst-swscanf-ENV): Define.
26590 2013-10-28 Siddhesh Poyarekar <siddhesh@redhat.com>
26592 * benchtests/pow-inputs: Add new inputs.
26594 * benchtests/exp-inputs: Add new inputs.
26596 * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
26597 conditional check for return value.
26598 (__cos32): Likewise.
26600 2013-10-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26602 * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
26603 to provide a boost for large inputs with word alignment.
26604 * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
26605 implementation based on optimized PPC64 strcpy.
26606 * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
26607 strcpy for PPC64/POWER7 based on both doubleword and word load/store.
26608 * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
26609 stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
26611 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
26614 * manual/socket.texi (Host Names): Fix gethostbyname_r example.
26616 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
26619 * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
26620 * time/tst-strptime.c (day_tests): Add testcase.
26622 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
26625 * manual/pattern.texi: Acknowledge that fnmatch can fail.
26627 2013-10-25 Fabrice Bauzac <fbauzac@debian71.nce.amadeus.net>
26630 * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
26631 MAP_FAILED on error.
26633 2013-10-25 Siddhesh Poyarekar <siddhesh@redhat.com>
26636 * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
26637 heap for large requests.
26639 2013-10-25 Aurelien Jarno <aurelien@aurel32.net>
26642 * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
26643 result if the result has no associated interface.
26644 * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
26645 interface for all 127.X.Y.Z addresses.
26647 2013-10-24 Chris Leonard <cjl@sugarlabs.org>
26649 * locale/iso-639.def: Add Ligurian (lij)
26651 2013-10-21 Ondřej Bílka <neleai@seznam.cz>
26654 * sunrpc/rpc_main.c: Document rpcgen -5.
26656 2013-10-19 Michael Stahl <mstahl@redhat.com>
26658 * elf/rtld.c (do_preload): Print the reason why preloading failed.
26660 2013-10-19 Ondřej Bílka <neleai@seznam.cz>
26663 * posix/glob.c: Match only directories when trailing slash is present.
26664 * posix/tst-gnuglob.c (my_opendir): Do not open files.
26665 (main): Add testcase.
26667 2013-10-19 Ondřej Bílka <neleai@seznam.cz>
26670 * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
26672 2013-10-18 Carlos O'Donell <carlos@redhat.com>
26674 * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
26675 AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
26676 AUTH_DES and cindex for FIPS 140-2.
26677 (DES Encryption): Add cindex FIPS 46-3.
26679 * locale/locarchive.h (struct locarhandle): Add fname.
26680 * locale/programs/localedef.c (main): Pass ARGV[remaining]
26681 if an optional argument was specified to --list-archive,
26683 * locale/programs/locarchive.c (show_archive_content): Take new
26684 argument fname and pass it via ah.fname to open_archive.
26685 * locale/programs/localedef.h: Update decl.
26686 (open_archive): If AH->fname is non-null, open that file
26687 rather than the default file name, and don't ignore ENOENT.
26688 (create_archive): Set AH.fname to NULL.
26689 (delete_locales_from_archive): Likewise.
26690 (add_locales_to_archive): Likewise.
26691 * locale/programs/locfile.c (write_all_categories): Likewise.
26693 2013-10-18 Joseph Myers <joseph@codesourcery.com>
26694 Aldy Hernandez <aldyh@redhat.com>
26696 * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
26697 * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
26698 * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
26699 * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
26700 * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
26701 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
26702 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
26703 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
26704 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
26705 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
26706 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
26707 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
26708 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
26709 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
26710 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
26712 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
26714 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
26716 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
26718 * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
26719 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
26721 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
26722 * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
26723 * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
26724 * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
26726 * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
26727 * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
26728 * sysdeps/powerpc/preconfigure: Likewise.
26729 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
26731 * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
26732 Replace contents of file by #include of <fenv_libc.h>.
26733 * sysdeps/powerpc/soft-fp/sfp-machine.h
26734 [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
26736 [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
26737 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
26738 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
26739 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
26740 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
26741 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
26742 [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
26743 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
26744 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
26745 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
26746 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
26747 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
26748 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
26749 Allow copysignl PLT reference to be missing.
26751 2013-10-18 Richard Sandiford <richard@codesourcery.com>
26752 Joseph Myers <joseph@codesourcery.com
26755 * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
26757 (add_to_tablewc): Assert sequence of wide characters is nonempty.
26759 2013-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
26761 * elf/tst-tls-dlinfo.c: Don't include tls.h.
26762 * elf/tst-tls1.c: Likewise.
26763 * elf/tst-tls10.h: Likewise.
26764 * elf/tst-tls14.c: Likewise.
26765 * elf/tst-tls2.c: Likewise.
26766 * elf/tst-tls3.c: Likewise.
26767 * elf/tst-tls4.c: Likewise.
26768 * elf/tst-tls5.c: Likewise.
26769 * elf/tst-tls6.c: Likewise.
26770 * elf/tst-tls7.c: Likewise.
26771 * elf/tst-tls8.c: Likewise.
26772 * elf/tst-tls9.c: Likewise.
26773 * elf/tst-tlsmod1.c: Likewise.
26774 * elf/tst-tlsmod13.c: Likewise.
26775 * elf/tst-tlsmod13a.c: Likewise.
26776 * elf/tst-tlsmod14a.c: Likewise.
26777 * elf/tst-tlsmod16a.c: Likewise.
26778 * elf/tst-tlsmod16b.c: Likewise.
26779 * elf/tst-tlsmod2.c: Likewise.
26780 * elf/tst-tlsmod3.c: Likewise.
26781 * elf/tst-tlsmod4.c: Likewise.
26782 * elf/tst-tlsmod5.c: Likewise.
26783 * elf/tst-tlsmod6.c: Likewise.
26785 2013-10-18 Ondřej Bílka <neleai@seznam.cz>
26788 * malloc/malloc.c: remove checks for statistics.
26790 2013-10-17 Ondřej Bílka <neleai@seznam.cz>
26793 * inet/inet_net.c (inet_network): Detect additional invalid strings.
26794 * inet/tst-network.c: Add testcase.
26796 2013-10-17 Andreas Schwab <schwab@suse.de>
26799 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
26800 to determine canonical name.
26802 2013-10-17 Ondřej Bílka <neleai@seznam.cz>
26804 * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
26805 * sysdeps/ieee754/dbl-64/dla.h: Likewise.
26806 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
26807 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
26808 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
26809 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
26810 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
26811 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
26812 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
26813 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
26814 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
26815 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
26816 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
26817 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
26818 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
26819 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
26820 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
26821 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
26822 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
26823 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
26824 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
26825 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
26826 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
26827 * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
26828 * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
26829 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
26830 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
26831 * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
26832 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
26833 * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
26834 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
26835 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
26836 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
26837 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
26838 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
26839 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
26840 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
26841 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
26842 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
26843 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
26844 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
26845 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
26846 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
26847 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
26848 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
26849 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
26850 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
26851 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
26852 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
26853 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
26854 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
26855 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
26856 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
26857 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
26858 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
26859 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
26860 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
26861 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
26863 2013-10-17 Joseph Myers <joseph@codesourcery.com>
26866 * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
26867 make result into a quiet NaN.
26869 2013-10-16 Joseph Myers <joseph@codesourcery.com>
26871 * soft-fp/adddf3.c: Fix horizontal whitespace.
26872 * soft-fp/addsf3.c: Likewise.
26873 * soft-fp/addtf3.c: Likewise.
26874 * soft-fp/divdf3.c: Likewise.
26875 * soft-fp/divsf3.c: Likewise.
26876 * soft-fp/divtf3.c: Likewise.
26877 * soft-fp/double.h: Likewise.
26878 * soft-fp/eqdf2.c: Likewise.
26879 * soft-fp/eqsf2.c: Likewise.
26880 * soft-fp/eqtf2.c: Likewise.
26881 * soft-fp/extenddftf2.c: Likewise.
26882 * soft-fp/extended.h: Likewise.
26883 * soft-fp/extendsfdf2.c: Likewise.
26884 * soft-fp/extendsftf2.c: Likewise.
26885 * soft-fp/extendxftf2.c: Likewise.
26886 * soft-fp/fixdfdi.c: Likewise.
26887 * soft-fp/fixdfsi.c: Likewise.
26888 * soft-fp/fixdfti.c: Likewise.
26889 * soft-fp/fixsfdi.c: Likewise.
26890 * soft-fp/fixsfsi.c: Likewise.
26891 * soft-fp/fixsfti.c: Likewise.
26892 * soft-fp/fixtfdi.c: Likewise.
26893 * soft-fp/fixtfsi.c: Likewise.
26894 * soft-fp/fixtfti.c: Likewise.
26895 * soft-fp/fixunsdfdi.c: Likewise.
26896 * soft-fp/fixunsdfsi.c: Likewise.
26897 * soft-fp/fixunsdfti.c: Likewise.
26898 * soft-fp/fixunssfdi.c: Likewise.
26899 * soft-fp/fixunssfsi.c: Likewise.
26900 * soft-fp/fixunssfti.c: Likewise.
26901 * soft-fp/fixunstfdi.c: Likewise.
26902 * soft-fp/fixunstfsi.c: Likewise.
26903 * soft-fp/fixunstfti.c: Likewise.
26904 * soft-fp/floatdidf.c: Likewise.
26905 * soft-fp/floatdisf.c: Likewise.
26906 * soft-fp/floatditf.c: Likewise.
26907 * soft-fp/floatsidf.c: Likewise.
26908 * soft-fp/floatsisf.c: Likewise.
26909 * soft-fp/floatsitf.c: Likewise.
26910 * soft-fp/floattidf.c: Likewise.
26911 * soft-fp/floattisf.c: Likewise.
26912 * soft-fp/floattitf.c: Likewise.
26913 * soft-fp/floatundidf.c: Likewise.
26914 * soft-fp/floatundisf.c: Likewise.
26915 * soft-fp/floatunditf.c: Likewise.
26916 * soft-fp/floatunsidf.c: Likewise.
26917 * soft-fp/floatunsisf.c: Likewise.
26918 * soft-fp/floatunsitf.c: Likewise.
26919 * soft-fp/floatuntidf.c: Likewise.
26920 * soft-fp/floatuntisf.c: Likewise.
26921 * soft-fp/floatuntitf.c: Likewise.
26922 * soft-fp/fmadf4.c: Likewise.
26923 * soft-fp/fmasf4.c: Likewise.
26924 * soft-fp/fmatf4.c: Likewise.
26925 * soft-fp/gedf2.c: Likewise.
26926 * soft-fp/gesf2.c: Likewise.
26927 * soft-fp/getf2.c: Likewise.
26928 * soft-fp/ledf2.c: Likewise.
26929 * soft-fp/lesf2.c: Likewise.
26930 * soft-fp/letf2.c: Likewise.
26931 * soft-fp/muldf3.c: Likewise.
26932 * soft-fp/mulsf3.c: Likewise.
26933 * soft-fp/multf3.c: Likewise.
26934 * soft-fp/negdf2.c: Likewise.
26935 * soft-fp/negsf2.c: Likewise.
26936 * soft-fp/negtf2.c: Likewise.
26937 * soft-fp/op-1.h: Likewise.
26938 * soft-fp/op-2.h: Likewise.
26939 * soft-fp/op-4.h: Likewise.
26940 * soft-fp/op-8.h: Likewise.
26941 * soft-fp/op-common.h: Likewise.
26942 * soft-fp/quad.h: Likewise.
26943 * soft-fp/single.h: Likewise.
26944 * soft-fp/soft-fp.h: Likewise.
26945 * soft-fp/sqrtdf2.c: Likewise.
26946 * soft-fp/sqrtsf2.c: Likewise.
26947 * soft-fp/sqrttf2.c: Likewise.
26948 * soft-fp/subdf3.c: Likewise.
26949 * soft-fp/subsf3.c: Likewise.
26950 * soft-fp/subtf3.c: Likewise.
26951 * soft-fp/truncdfsf2.c: Likewise.
26952 * soft-fp/trunctfdf2.c: Likewise.
26953 * soft-fp/trunctfsf2.c: Likewise.
26954 * soft-fp/trunctfxf2.c: Likewise.
26955 * soft-fp/unorddf2.c: Likewise.
26956 * soft-fp/unordsf2.c: Likewise.
26957 * soft-fp/unordtf2.c: Likewise.
26959 2013-10-15 Joseph Myers <joseph@codesourcery.com>
26961 * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
26962 * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
26964 2013-10-15 Ondřej Bílka <neleai@seznam.cz>
26966 * elf/dl-libc.c: Clear initfini list after freeing.
26968 2013-10-14 Joseph Myers <joseph@codesourcery.com>
26970 * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
26971 * soft-fp/addsf3.c: Likewise.
26972 * soft-fp/addtf3.c: Likewise.
26973 * soft-fp/divdf3.c: Likewise.
26974 * soft-fp/divsf3.c: Likewise.
26975 * soft-fp/divtf3.c: Likewise.
26976 * soft-fp/double.h: Likewise.
26977 * soft-fp/eqdf2.c: Likewise.
26978 * soft-fp/eqsf2.c: Likewise.
26979 * soft-fp/eqtf2.c: Likewise.
26980 * soft-fp/extenddftf2.c: Likewise.
26981 * soft-fp/extended.h: Likewise.
26982 * soft-fp/extendsfdf2.c: Likewise.
26983 * soft-fp/extendsftf2.c: Likewise.
26984 * soft-fp/extendxftf2.c: Likewise.
26985 * soft-fp/fixdfdi.c: Likewise.
26986 * soft-fp/fixdfsi.c: Likewise.
26987 * soft-fp/fixdfti.c: Likewise.
26988 * soft-fp/fixsfdi.c: Likewise.
26989 * soft-fp/fixsfsi.c: Likewise.
26990 * soft-fp/fixsfti.c: Likewise.
26991 * soft-fp/fixtfdi.c: Likewise.
26992 * soft-fp/fixtfsi.c: Likewise.
26993 * soft-fp/fixtfti.c: Likewise.
26994 * soft-fp/fixunsdfdi.c: Likewise.
26995 * soft-fp/fixunsdfsi.c: Likewise.
26996 * soft-fp/fixunsdfti.c: Likewise.
26997 * soft-fp/fixunssfdi.c: Likewise.
26998 * soft-fp/fixunssfsi.c: Likewise.
26999 * soft-fp/fixunssfti.c: Likewise.
27000 * soft-fp/fixunstfdi.c: Likewise.
27001 * soft-fp/fixunstfsi.c: Likewise.
27002 * soft-fp/fixunstfti.c: Likewise.
27003 * soft-fp/floatdidf.c: Likewise.
27004 * soft-fp/floatdisf.c: Likewise.
27005 * soft-fp/floatditf.c: Likewise.
27006 * soft-fp/floatsidf.c: Likewise.
27007 * soft-fp/floatsisf.c: Likewise.
27008 * soft-fp/floatsitf.c: Likewise.
27009 * soft-fp/floattidf.c: Likewise.
27010 * soft-fp/floattisf.c: Likewise.
27011 * soft-fp/floattitf.c: Likewise.
27012 * soft-fp/floatundidf.c: Likewise.
27013 * soft-fp/floatundisf.c: Likewise.
27014 * soft-fp/floatunsidf.c: Likewise.
27015 * soft-fp/floatunsisf.c: Likewise.
27016 * soft-fp/floatuntidf.c: Likewise.
27017 * soft-fp/floatuntisf.c: Likewise.
27018 * soft-fp/floatuntitf.c: Likewise.
27019 * soft-fp/fmadf4.c: Likewise.
27020 * soft-fp/fmasf4.c: Likewise.
27021 * soft-fp/fmatf4.c: Likewise.
27022 * soft-fp/gedf2.c: Likewise.
27023 * soft-fp/gesf2.c: Likewise.
27024 * soft-fp/getf2.c: Likewise.
27025 * soft-fp/ledf2.c: Likewise.
27026 * soft-fp/lesf2.c: Likewise.
27027 * soft-fp/letf2.c: Likewise.
27028 * soft-fp/muldf3.c: Likewise.
27029 * soft-fp/mulsf3.c: Likewise.
27030 * soft-fp/multf3.c: Likewise.
27031 * soft-fp/negdf2.c: Likewise.
27032 * soft-fp/negsf2.c: Likewise.
27033 * soft-fp/negtf2.c: Likewise.
27034 * soft-fp/op-1.h: Likewise.
27035 * soft-fp/op-2.h: Likewise.
27036 * soft-fp/op-4.h: Likewise.
27037 * soft-fp/op-8.h: Likewise.
27038 * soft-fp/op-common.h: Likewise.
27039 * soft-fp/quad.h: Likewise.
27040 * soft-fp/single.h: Likewise.
27041 * soft-fp/soft-fp.h: Likewise.
27042 * soft-fp/sqrtdf2.c: Likewise.
27043 * soft-fp/sqrtsf2.c: Likewise.
27044 * soft-fp/sqrttf2.c: Likewise.
27045 * soft-fp/subdf3.c: Likewise.
27046 * soft-fp/subsf3.c: Likewise.
27047 * soft-fp/subtf3.c: Likewise.
27048 * soft-fp/truncdfsf2.c: Likewise.
27049 * soft-fp/trunctfdf2.c: Likewise.
27050 * soft-fp/trunctfsf2.c: Likewise.
27051 * soft-fp/trunctfxf2.c: Likewise.
27052 * soft-fp/unorddf2.c: Likewise.
27053 * soft-fp/unordsf2.c: Likewise.
27054 * soft-fp/unordtf2.c: Likewise.
27056 2013-10-14 Ondřej Bílka <neleai@seznam.cz>
27059 * misc/error.c (error_tail): Fix possible buffer overflow.
27061 2013-10-14 Aurelien Jarno <aurelien@aurel32.net>
27064 * res_send.c(__libc_res_nsend): Correctly copy the nameserver
27067 2013-10-14 P. J. McDermott <pj@pehjota.net>
27070 * elf/ldd.bash.in (try_trace): New function. Delete previous code
27071 testing pipefail option.
27073 2013-10-12 Joseph Myers <joseph@codesourcery.com>
27075 * soft-fp/double.h: Indent preprocessor directives inside #if.
27076 * soft-fp/extended.h: Likewise.
27077 * soft-fp/op-2.h: Likewise.
27078 * soft-fp/op-4.h: Likewise.
27079 * soft-fp/op-common.h: Likewise.
27080 * soft-fp/quad.h: Likewise.
27081 * soft-fp/single.h: Likewise.
27082 * soft-fp/soft-fp.h: Likewise.
27084 2013-10-12 Yuri Chornoivan <yurchor@ukr.net>
27086 * iconv/iconv_prog.c: Fix typos.
27087 * stdio-common/psiginfo-data.h: Likewise.
27089 2013-10-12 Reuben Thomas <rrt@sc3d.org>
27092 * locale/setlocale.c: Fix typo.
27094 2013-10-12 Joseph Myers <joseph@codesourcery.com>
27097 * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
27098 signaling NaN arguments.
27099 * soft-fp/unordsf2.c (__unordsf2): Likewise.
27100 * soft-fp/unordtf2.c (__unordtf2): Likewise.
27103 * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
27104 unordered operands.
27105 * soft-fp/gesf2.c (__gesf2): Likewise.
27106 * soft-fp/getf2.c (__getf2): Likewise.
27107 * soft-fp/ledf2.c (__ledf2): Likewise.
27108 * soft-fp/lesf2.c (__lesf2): Likewise.
27109 * soft-fp/letf2.c (__letf2): Likewise.
27111 * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
27112 * soft-fp/eqsf2.c (__eqsf2): Likewise.
27113 * soft-fp/eqtf2.c (__eqtf2): Likewise.
27114 * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
27115 * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
27116 * soft-fp/fixdfti.c (__fixdfti): Likewise.
27117 * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
27118 * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
27119 * soft-fp/fixsfti.c (__fixsfti): Likewise.
27120 * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
27121 * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
27122 * soft-fp/fixtfti.c (__fixtfti): Likewise.
27123 * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
27124 * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
27125 * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
27126 * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
27127 * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
27128 * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
27129 * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
27130 * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
27131 * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
27132 * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
27133 * soft-fp/floatdisf.c (__floatdisf): Likewise.
27134 * soft-fp/floatsisf.c (__floatsisf): Likewise.
27135 * soft-fp/floattidf.c (__floattidf): Likewise.
27136 * soft-fp/floattisf.c (__floattisf): Likewise.
27137 * soft-fp/floattitf.c (__floattitf): Likewise.
27138 * soft-fp/floatundidf.c (__floatundidf): Likewise.
27139 * soft-fp/floatundisf.c (__floatundisf): Likewise.
27140 * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
27141 * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
27142 * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
27143 * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
27144 * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
27145 * soft-fp/gesf2.c (__gesf2): Likewise.
27146 * soft-fp/getf2.c (__getf2): Likewise.
27147 * soft-fp/ledf2.c (__ledf2): Likewise.
27148 * soft-fp/lesf2.c (__lesf2): Likewise.
27149 * soft-fp/letf2.c (__letf2): Likewise.
27151 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
27152 Undefine and redefine.
27153 [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
27154 [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
27155 [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
27156 * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
27157 (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
27158 * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
27159 (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
27160 * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
27161 (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
27162 * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
27163 (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
27164 * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
27165 (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
27166 * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
27167 (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
27170 * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
27171 without decrementing exponent if mantissa >= that for the
27172 denominator, not >.
27173 (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
27174 denominator, not >. Decrement exponent in < case instead of
27175 incrementing in >= case.
27176 * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
27177 without decrementing exponent if mantissa >= that for the
27178 denominator, not >.
27180 * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
27181 computing saturated result for unsigned overflow.
27183 2013-10-11 Siddhesh Poyarekar <siddhesh@redhat.com>
27184 Jeff Law <law@redhat.com>
27186 * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
27187 (atan2Mp): Add systemtap probe marker.
27188 * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
27189 (__ieee754_log): Add systemtap probe marker.
27190 * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
27191 (atanMp): Add systemtap probe marker.
27192 * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
27193 (tanMp): Add systemtap probe marker.
27194 * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
27195 (__slowexp): Add systemtap probe marker.
27196 * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
27197 (__slowpow): Add systemtap probe marker.
27198 * manual/probes.texi: Document probes.
27200 2013-10-11 Eric Biggers <ebiggers3@gmail.com>
27203 * libio/fileops.c (_IO_new_file_write): Return count of bytes
27205 (_IO_new_file_xsputn): Don't return EOF if nothing has been
27207 * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
27208 written to buffer but not flushed.
27209 * libio/iofwrite_u.c: Likewise.
27210 * libio/iopadn.c: Return bytes returned even if EOF was
27212 * libio/iowpadn.c: Likewise.
27213 * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
27214 if _IO_padn does not write the whole buffer.
27215 [!COMPILE_WPRINTF] (PAD): Likewise.
27217 2013-10-10 David S. Miller <davem@davemloft.net>
27219 * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
27222 2013-10-10 Joseph Myers <joseph@codesourcery.com>
27224 * soft-fp/extendxftf2.c: Use copyright year range. Use URL
27225 instead of FSF address.
27226 * soft-fp/fixdfti.c: Likewise.
27227 * soft-fp/fixsfti.c: Likewise.
27228 * soft-fp/fixtfti.c: Likewise.
27229 * soft-fp/fixunsdfti.c: Likewise.
27230 * soft-fp/fixunssfti.c: Likewise.
27231 * soft-fp/fixunstfti.c: Likewise.
27232 * soft-fp/floattidf.c: Likewise.
27233 * soft-fp/floattisf.c: Likewise.
27234 * soft-fp/floattitf.c: Likewise.
27235 * soft-fp/floatuntidf.c: Likewise.
27236 * soft-fp/floatuntisf.c: Likewise.
27237 * soft-fp/floatuntitf.c: Likewise.
27238 * soft-fp/trunctfxf2.c: Likewise.
27240 * soft-fp/extendxftf2.c: New file. Copied from libgcc.
27241 * soft-fp/fixdfti.c: Likewise.
27242 * soft-fp/fixsfti.c: Likewise.
27243 * soft-fp/fixtfti.c: Likewise.
27244 * soft-fp/fixunsdfti.c: Likewise.
27245 * soft-fp/fixunssfti.c: Likewise.
27246 * soft-fp/fixunstfti.c: Likewise.
27247 * soft-fp/floattidf.c: Likewise.
27248 * soft-fp/floattisf.c: Likewise.
27249 * soft-fp/floattitf.c: Likewise.
27250 * soft-fp/floatuntidf.c: Likewise.
27251 * soft-fp/floatuntisf.c: Likewise.
27252 * soft-fp/floatuntitf.c: Likewise.
27253 * soft-fp/trunctfxf2.c: Likewise.
27255 2013-10-10 David S. Miller <davem@davemloft.net>
27257 * sysdeps/sparc/fpu/libm-test-ulps: Update.
27259 2013-10-10 Joseph Myers <joseph@codsourcery.com>
27261 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
27262 (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
27263 [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
27264 [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
27265 [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
27266 [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
27267 [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
27269 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
27270 for NaNs before doing comparisons on argument.
27271 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
27274 2013-10-10 Will Newton <will.newton@linaro.org>
27276 * malloc/hooks.c (memalign_check): Ensure the value of bytes
27277 passed to _int_memalign does not overflow.
27279 2013-10-10 Torvald Riegel <triegel@redhat.com>
27281 * scripts/bench.pl: Add include-sources directive.
27282 * benchtests/README: Update documentation.
27284 2013-10-10 Joseph Myers <joseph@codesourcery.com>
27286 * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
27287 * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
27288 instead of FP_INIT_ROUNDMODE.
27289 * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
27290 * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
27293 * soft-fp/op-common.h (_FP_NEG): Document input as raw. Do not
27294 copy class of input value.
27295 * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing. Do
27296 not handle exceptions.
27297 * soft-fp/negsf2.c (__negsf2): Likewise.
27298 * soft-fp/negtf2.c (__negtf2): Likewise.
27299 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
27301 2013-10-09 Joseph Myers <joseph@codesourcery.com>
27303 * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
27304 semicolon. From Linux kernel.
27306 2013-10-09 Adam Buchbinder <adam.buchbinder@gmail.com>
27308 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
27310 2013-10-08 Yogesh Chaudhari <mr.yogesh@gmail.com>
27313 * manual/socket.texi: Added statement about buffer
27314 for gethostbyname2_r.
27316 2013-10-08 Ondřej Bílka <neleai@seznam.cz>
27318 * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
27319 Use .p2align directive instead, throughout.
27320 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
27321 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
27322 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
27323 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
27324 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
27325 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
27326 * sysdeps/x86_64/strchr.S: Likewise.
27327 * sysdeps/x86_64/strrchr.S: Likewise.
27329 2013-10-08 Siddhesh Poyarekar <siddhesh@redhat.com>
27331 * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
27333 * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
27335 * sysdeps/generic/math_private.h (__mpsin1): Remove
27337 (__mpcos1): Likewise.
27338 (__mpsin): New argument __range_reduce.
27339 (__mpcos): Likewise.
27340 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
27341 (slow): Use __mpsin and __mpcos.
27345 (sloww1): Likewise.
27346 (sloww2): Likewise.
27347 (bsloww): Likewise.
27348 (bsloww1): Likewise.
27349 (bsloww2): Likewise.
27350 (cslow2): Likewise.
27351 (csloww): Likewise.
27352 (csloww1): Likewise.
27353 (csloww2): Likewise.
27354 * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
27355 range_reduce. Merge in __mpsin1.
27356 (__mpcos): Likewise.
27357 (__mpsin1): Remove.
27358 (__mpcos1): Likewise.
27360 2013-10-07 Joseph Myers <joseph@codesourcery.com>
27362 * locale/loadlocale.c (_nl_intern_locale_data): Use
27364 * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
27365 LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
27366 * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
27367 obstack data is appropriately aligned.
27368 (obstack_int32_grow_fast): Likewise.
27369 * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
27370 * locale/programs/locfile.c (add_locale_uint32): Likewise.
27371 (add_locale_uint32_array): Likewise.
27373 2013-10-07 Siddhesh Poyarekar <siddhesh@redhat.com>
27375 * benchtests/Makefile: Remove ARGLIST and RET variables.
27376 ($(objpfx)bench-%.c): Pass only function name to the script.
27377 * benchtests/README: Update documentation.
27378 * benchtests/acos-inputs: Add new directives.
27379 * benchtests/acosh-inputs: Likewise.
27380 * benchtests/asin-inputs: Likewise.
27381 * benchtests/asinh-inputs: Likewise.
27382 * benchtests/atan-inputs: Likewise.
27383 * benchtests/atanh-inputs: Likewise.
27384 * benchtests/cos-inputs: Likewise.
27385 * benchtests/cosh-inputs: Likewise.
27386 * benchtests/exp-inputs: Likewise.
27387 * benchtests/log-inputs: Likewise.
27388 * benchtests/pow-inputs: Likewise.
27389 * benchtests/rint-inputs: Likewise.
27390 * benchtests/sin-inputs: Likewise.
27391 * benchtests/sinh-inputs: Likewise.
27392 * benchtests/tan-inputs: Likewise.
27393 * benchtests/tanh-inputs: Likewise.
27394 * scripts/bench.pl: Add support for new directives.
27396 2013-10-07 Alan Modra <amodra@gmail.com>
27398 * README: Fix careless merge.
27400 2013-10-05 Alan Modra <amodra@gmail.com>
27402 * NEWS: Mention powerpc64le support and bugs fixed.
27403 * README: Both big-endian and little-endian powerpc64 supported.
27405 2013-10-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
27407 * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
27408 (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
27409 (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
27410 _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
27412 2013-10-04 Ryan S. Arnold <ryan.arnold@linaro.org>
27414 * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
27417 2013-10-04 Joseph Myers <joseph@codesourcery.com>
27419 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
27420 Move -mhard-float appending from
27421 ports/sysdeps/powerpc/powerpc32/Makefile.
27422 [$(with-fp) = yes] (ASFLAGS): Likewise.
27423 [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
27424 * sysdeps/powerpc/nofpu: Move directory from
27425 ports/sysdeps/powerpc/nofpu.
27426 * sysdeps/powerpc/soft-fp: Move directory from
27427 ports/sysdeps/powerpc/soft-fp.
27428 * sysdeps/powerpc/powerpc32/405: Move directory from
27429 ports/sysdeps/powerpc/powerpc32/405.
27430 * sysdeps/powerpc/powerpc32/440: Move directory from
27431 ports/sysdeps/powerpc/powerpc32/440.
27432 * sysdeps/powerpc/powerpc32/464: Move directory from
27433 ports/sysdeps/powerpc/powerpc32/464.
27434 * sysdeps/powerpc/powerpc32/476: Move directory from
27435 ports/sysdeps/powerpc/powerpc32/476.
27436 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
27437 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
27438 * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
27439 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
27440 * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
27441 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
27442 * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
27443 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
27444 * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
27445 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
27446 * README: Update for powerpc-*-linux-gnu software floating point
27449 * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
27450 case to powerpc/powerpc32*.
27451 * sysdeps/unix/sysv/linux/configure: Regenerated.
27453 * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
27454 (_FPU_MASK_OM): Define as 0x04.
27455 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
27456 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
27458 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
27460 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
27462 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
27463 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
27465 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
27466 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
27468 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
27469 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
27470 and setcontext_e500.
27472 2013-10-04 Chris Leonard <cjl@sugarlabs,.org>
27474 * locale/iso-3166.def: Update iso-1366.def and related occurrences
27476 2013-10-04 Siddhesh Poyarekar <siddhesh@redhat.com>
27478 * manual/threads.texi (Default Thread Attributes): Fix typo.
27480 2013-10-04 Will Newton <will.newton@linaro.org>
27482 * malloc/Makefile: Add tst-memalign.
27483 * malloc/tst-memalign.c: New file.
27485 * malloc/tst-posix_memalign.c: Add comments.
27486 (do_test): Add comments and call free on all potentially
27487 allocated pointers. Add space after cast.
27489 * malloc/tst-pvalloc.c: Add comments.
27490 (do_test): Add comments and call free on all potentially
27491 allocated pointers. Remove duplicate check for NULL pointer.
27492 Add space after cast.
27494 * malloc/tst-valloc.c: Add comments.
27495 (do_test): Add comments and call free on all potentially
27496 allocated pointers. Remove duplicate check for NULL pointer.
27497 Add space after cast.
27499 2013-10-04 Alan Modra <amodra@gmail.com>
27501 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
27502 Use stdint types in rather than __attribute__((mode())).
27503 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
27505 2013-10-04 Alan Modra <amodra@gmail.com>
27507 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
27508 Correct handling of unaligned relocs for little-endian.
27509 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
27511 2013-10-04 Alan Modra <amodra@gmail.com>
27513 * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
27514 * configure: Regenerate.
27515 * nptl/shlib-versions: Powerpc*le starts at 2.18.
27516 * shlib-versions: Likewise.
27518 2013-10-04 Alan Modra <amodra@gmail.com>
27520 * string/tester.c (test_memrchr): Increment reported test cycle.
27522 2013-10-04 Alan Modra <amodra@gmail.com>
27524 * string/test-memcpy.c (do_one_test): When reporting errors, print
27525 string address and don't overrun end of string.
27527 2013-10-04 Alan Modra <amodra@gmail.com>
27529 * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
27530 insrdi. Make better use of reg selection to speed exit slightly.
27531 Schedule entry path a little better. Remove useless "are we done"
27532 checks on entry to main loop. Handle wrapping around zero address.
27533 Correct main loop count. Handle single left-over word from main
27534 loop inline rather than by using loop_small. Remove extra word
27535 case in loop_small caused by wrong loop count. Add little-endian
27537 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
27538 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise. Use proper
27540 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
27541 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
27542 support. Avoid rlwimi.
27543 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
27545 2013-10-04 Alan Modra <amodra@gmail.com>
27547 * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
27548 insrdi. Formatting.
27549 * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
27550 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
27551 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
27552 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
27553 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
27554 * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
27556 2013-10-04 Alan Modra <amodra@gmail.com>
27558 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
27559 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
27560 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
27561 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
27562 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
27563 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
27564 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
27565 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
27566 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise. Make better
27567 use of regs. Use power7 mtocrf. Tidy function tails.
27569 2013-10-04 Alan Modra <amodra@gmail.com>
27571 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
27572 Formatting. Consistently use rXXX register defines or rN defines.
27573 Use early exit labels that avoid restoring unused non-volatile regs.
27574 Make cr field use more consistent with rWORDn compares. Rename
27575 regs used as shift registers for unaligned loop, using rN defines
27576 for short lifetime/multiple use regs.
27577 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
27578 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise. Exit with
27579 addi 1,1,64 to pop stack frame. Simplify return value code.
27580 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
27582 2013-10-04 Alan Modra <amodra@gmail.com>
27584 * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
27585 support. Correct typos, formatting. Optimize tail. Use insrdi
27586 rather than rlwimi.
27587 * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
27588 * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
27589 little-endian support. Correct typos.
27590 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise. Use insrdi
27591 rather than rlwimi.
27592 * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define. Use
27593 in loop and entry code to keep "and." results.
27594 (strchr): Add little-endian support. Comment. Move cntlzd
27596 * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
27598 2013-10-04 Alan Modra <amodra@gmail.com>
27600 * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
27601 * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
27602 * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
27603 * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
27605 2013-10-04 Alan Modra <amodra@gmail.com>
27607 * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
27608 (rTMP): Define as r11.
27609 (strcmp): Add little-endian support. Optimise tail.
27610 * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
27611 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
27612 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
27613 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
27614 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
27615 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
27616 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
27618 2013-10-04 Alan Modra <amodra@gmail.com>
27620 * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
27621 little-endian support. Remove unnecessary "are we done" tests.
27622 Handle "s" wrapping around zero and extremely large "size".
27623 Correct main loop count. Handle single left-over word from main
27624 loop inline rather than by using small_loop. Correct comments.
27625 Delete "zero" tail, use "end_max" instead.
27626 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
27628 2013-10-04 Alan Modra <amodra@gmail.com>
27630 * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
27631 support. Don't branch over align.
27632 * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
27633 * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
27634 support. Rearrange tmp reg use to suit. Comment.
27635 * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
27637 2013-10-04 Alan Modra <amodra@gmail.com>
27639 * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
27641 2013-10-04 Alan Modra <amodra@gmail.com>
27643 * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
27644 conditional form of branch and link when obtaining pc.
27645 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
27647 2013-10-04 Alan Modra <amodra@gmail.com>
27649 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
27651 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
27652 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
27654 2013-10-04 Alan Modra <amodra@gmail.com>
27656 * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
27657 * sysdeps/powerpc/novmx-longjmp.c: Likewise.
27658 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
27659 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
27660 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
27661 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
27662 * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
27663 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
27664 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
27665 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
27667 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
27668 Alistair Popple <alistair@ozlabs.au.ibm.com>
27669 Alan Modra <amodra@gmail.com>
27672 * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
27673 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
27674 _dl_hwcap access for little-endian.
27675 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise. Don't
27676 destroy vmx regs when saving unaligned.
27677 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
27678 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save. Don't
27679 destroy vmx regs when saving unaligned.
27681 2013-10-04 Alan Modra <amodra@gmail.com>
27683 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
27684 Don't use a union to pack hi/low value.
27686 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
27688 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
27690 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
27691 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
27692 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
27693 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
27694 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
27696 2013-10-04 Alan Modra <amodra@gmail.com>
27698 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
27699 constants to usual value for .cst8 section, and remove redundant
27701 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
27702 constant for 0x1p52. Load little-endian words of double from
27703 correct stack offsets.
27705 2013-10-04 Alan Modra <amodra@gmail.com>
27707 * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
27708 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
27709 words of double from correct stack offsets.
27710 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
27711 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
27712 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
27713 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
27714 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
27715 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
27716 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
27717 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
27718 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
27719 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
27720 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
27721 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
27722 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
27723 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
27724 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
27725 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
27726 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
27728 2013-10-04 Alan Modra <amodra@gmail.com>
27730 * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
27731 64-bit int/double union.
27732 (_FPU_SETCW): Likewise.
27733 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
27734 (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
27736 2013-10-04 Alan Modra <amodra@gmail.com>
27738 * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
27739 * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
27741 2013-10-04 Alan Modra <amodra@gmail.com>
27743 * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
27744 use vector int constants.
27745 (__float_and_test24, __float_and8, __float_get_exp): Likewise.
27747 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
27749 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
27750 array with long long.
27751 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
27752 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
27753 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
27754 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
27755 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
27756 * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
27757 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
27758 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
27759 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
27760 * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
27761 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
27762 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
27763 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
27765 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
27767 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
27768 (__signbit): Likewise. Correct for little-endian.
27769 (__signbitl): Call __signbit.
27770 (lrint): Correct for little-endian.
27771 (lrintf): Call lrint.
27773 2013-10-04 Alan Modra <amodra@gmail.com>
27775 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
27776 union 32-bit int array member with 64-bit int array.
27777 (t515, tm256): Double rather than long double.
27778 (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
27780 2013-10-04 Alan Modra <amodra@gmail.com>
27782 * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
27784 (IEEE854_LONG_DOUBLE_BIAS): Delete.
27785 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
27786 version of math_ldbl.h.
27788 2013-10-04 Alan Modra <amodra@gmail.com>
27790 [BZ #15734], [BZ #15735]
27791 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
27792 all uses of ieee875 long double macros and unions. Simplify test
27793 for 0.0L. Correct |x|<|y| and |x|=|y| test. Use
27794 ldbl_extract_mantissa value for ix,iy exponents. Properly
27795 normalize after ldbl_extract_mantissa, and don't add hidden bit
27796 already handled. Don't treat low word of ieee854 mantissa like
27797 low word of IBM long double and mask off bit when testing for
27799 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
27800 all uses of ieee875 long double macros and unions. Simplify tests
27801 for 0.0L and inf. Correct double adjustment of k. Delete dead code
27802 adjusting ha,hb. Simplify code setting kld. Delete two600 and
27803 two1022, instead use their values. Recognise that tests for large
27804 "a" and small "b" are mutually exclusive. Rename vars. Comment.
27805 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
27806 Rewrite all uses of ieee875 long double macros and unions. Simplify
27807 test for 0.0L and nan. Correct negation.
27808 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
27809 ieee875 long double macros and unions. Correct output for large
27810 magnitude x. Correct absolute value calculation.
27811 (__erfcl): Likewise.
27812 * math/libm-test.inc: Add tests for errors discovered in IBM long
27813 double versions of fmodl, remainderl, erfl and erfcl.
27815 2013-10-04 Alan Modra <amodra@gmail.com>
27817 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
27818 all uses of ieee854 long double macros and unions. Simplify tests
27819 for long doubles that are fully specified by the high double.
27820 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
27822 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
27823 Remove dead code too.
27824 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
27825 (__ieee754_ynl): Likewise.
27826 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
27827 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
27828 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
27829 Remove dead code too.
27830 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
27831 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
27832 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
27833 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
27835 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
27837 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
27838 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
27839 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
27840 Comment on variable precision.
27841 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
27842 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
27844 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
27845 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
27846 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
27847 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
27848 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
27850 2013-10-04 Alan Modra <amodra@gmail.com>
27852 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
27853 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
27854 all uses of ieee854 long double macros and unions.
27855 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
27856 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
27857 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
27858 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
27859 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
27860 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
27862 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
27863 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
27864 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
27865 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
27866 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
27867 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
27868 Simplify sign and nan test too.
27869 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
27870 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
27871 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
27872 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
27874 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
27875 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
27877 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
27878 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
27879 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
27880 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
27881 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
27882 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
27884 2013-10-04 Alan Modra <amodra@gmail.com>
27886 * stdio-common/printf_size.c (__printf_size): Don't use
27887 union ieee854_long_double in fpnum union.
27888 * stdio-common/printf_fphex.c (__printf_fphex): Likewise. Use
27889 signbit macro to retrieve sign from long double.
27890 * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
27891 retrieve sign from long double.
27892 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
27893 * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
27894 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
27895 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
27896 * math/test-misc.c (main): Don't use union ieee854_long_double.
27898 2013-10-04 Alan Modra <amodra@gmail.com>
27901 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
27902 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
27903 (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
27904 calculation. Remove unnecessary test for denormal exponent.
27905 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
27906 Correct handling of denormals. Avoid undefined shift behaviour.
27907 Correct normalisation of low mantissa when low double is denormal.
27908 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
27909 (ldbl_extract_mantissa): Likewise. Comment. Use uint64_t* for hi64.
27910 (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
27911 Correct normalisation of low mantissa. Test for overflow of high
27912 mantissa and normalise.
27913 (ldbl_nearbyint): Use more readable constant for two52.
27914 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
27915 (__mpn_construct_long_double): Fix test for overflow of high
27916 mantissa and correct normalisation. Avoid undefined shift.
27918 2013-10-04 Alan Modra <amodra@gmail.com>
27920 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
27921 (union ibm_extended_long_double): Define as an array of ieee754_double.
27922 (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
27923 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
27924 to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
27925 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
27926 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
27927 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
27928 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
27929 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
27930 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
27931 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
27932 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
27934 2013-10-03 Joseph Myers <joseph@codesourcery.com>
27936 * locale/programs/locarchive.c (add_locale): Use constant 4096 for
27937 page size instead of calling getpagesize.
27939 * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
27940 (LOCFILE_ALIGN_MASK): Likewise.
27941 (LOCFILE_ALIGN_UP): Likewise.
27942 (LOCFILE_ALIGNED_P): Likewise.
27943 * locale/programs/ld-collate.c (collate_output): Use the new
27944 macros instead of __alignof__ (int32_t).
27945 * locale/weight.h (findidx): Likewise.
27947 2013-10-03 Ondřej Bílka <neleai@seznam.cz>
27950 * manual/string.texi: Fix strncat and wcsncat.
27952 2013-10-03 Brooks Moses <bmoses@google.com>
27955 * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
27956 * Makerules: ...here, and adjust associated comments.
27958 2013-10-02 Will Newton <will.newton@linaro.org>
27960 * malloc/Makefile: Add tst-pvalloc.
27961 * malloc/tst-pvalloc.c: New file.
27963 2013-10-02 Will Newton <will.newton@linaro.org>
27965 * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
27966 improve test coverage.
27968 2013-10-02 Will Newton <will.newton@linaro.org>
27970 * malloc/Makefile: Add tst-posix_memalign.
27971 * malloc/tst-posix_memalign.c: New file.
27973 2013-10-01 Eric Blake <eblake@redhat.com>
27975 * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
27976 Use __THROWNL rather than __THROW on static functions.
27978 2013-09-30 Petr Machata <pmachata@redhat.com>
27980 * elf/elf.h (R_AARCH64_ABS16): New macro.
27981 (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
27982 (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
27983 (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
27984 (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
27985 (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
27986 (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
27987 (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
27988 (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
27989 (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
27990 (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
27991 (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
27992 (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
27993 (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
27994 (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
27995 (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
27996 (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
27997 (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
27998 (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
27999 (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
28000 (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
28001 (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
28002 (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
28003 (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
28004 (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
28005 (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
28006 (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
28007 (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
28008 (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
28009 (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
28010 (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
28011 (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
28012 (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
28013 (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
28014 (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
28015 (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
28016 (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
28017 (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
28018 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
28019 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
28020 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
28021 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
28022 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
28023 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
28024 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
28025 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
28026 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
28027 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
28028 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
28029 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
28030 (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
28031 (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
28032 (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
28033 (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
28034 (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
28035 (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
28036 (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
28037 (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
28038 (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
28039 (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
28040 (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
28041 (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
28042 (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
28043 (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
28044 (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
28045 (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
28046 (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
28047 (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
28048 (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
28049 (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
28050 (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
28051 (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
28052 (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
28053 (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
28054 (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
28055 (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
28056 (R_AARCH64_TLSDESC_OFF_G1): Likewise.
28057 (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
28058 (R_AARCH64_TLSDESC_LDR): Likewise.
28059 (R_AARCH64_TLSDESC_ADD): Likewise.
28060 (R_AARCH64_TLSDESC_CALL): Likewise.
28062 2013-09-30 Andreas Schwab <schwab@suse.de>
28065 * nscd/aicache.c (addhstaiX): Properly use the cache variable for
28066 the nss database lookup.
28067 * nscd/initgrcache.c (addinitgroupsX): Likewise.
28068 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
28070 2013-09-28 Mike Frysinger <vapier@gentoo.org>
28072 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
28074 2013-09-28 P. J. McDermott <pj@pehjota.net>
28076 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
28077 ${Bash-specific parameter/pattern/string} parameter expansion.
28078 * sysdeps/unix/make-syscalls.sh: Likewise.
28080 2013-09-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
28082 * sysdeps/sh/stackguard-macros.h: New file.
28084 2013-09-26 Ondřej Bílka <neleai@seznam.cz>
28086 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
28087 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
28088 * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
28089 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
28090 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
28091 * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
28093 2013-09-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28095 * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
28096 Fix thread ID register.
28098 2013-09-25 Joseph Myers <joseph@codesourcery.com>
28100 * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
28101 [POSIX || UNIX98]: Require rather than permitting all symbols from
28103 [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
28104 element of struct sched_param.
28105 [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
28106 [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
28107 [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
28108 [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
28111 2013-09-24 Olivier Langlois <olivier@olivierlanglois.net>
28113 * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
28114 argument calculation.
28116 2013-09-24 Joseph Myers <joseph@codesourcery.com>
28118 * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
28120 [POSIX] (pthread_attr_t): Do not require type.
28121 [POSIX] (pthread_cond_t): Likewise.
28122 [POSIX] (pthread_condattr_t): Likewise.
28123 [POSIX] (pthread_key_t): Likewise.
28124 [POSIX] (pthread_mutex_t): Likewise.
28125 [POSIX] (pthread_mutexattr_t): Likewise.
28126 [POSIX] (pthread_once_t): Likewise.
28127 [POSIX] (pthread_t): Likewise.
28128 [POSIX-based standards] (pthread_atfork): Expect function.
28130 2013-09-24 Joseph Myers <joseph@codesourcery.com>
28131 Richard Sandiford <richard@codesourcery.com>
28133 * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
28134 (swap_endianness_p): New extern variable.
28135 (set_big_endian): New inline function.
28136 (maybe_swap_uint32): Likewise.
28137 (maybe_swap_uint32_array): Likewise.
28138 (maybe_swap_uint32_obstack): Likewise.
28139 * locale/programs/locfile.c: Include <stdbool.h>.
28140 (swap_endianness_p): New variable.
28141 (add_locale_uint32): Call maybe_swap_uint32.
28142 (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
28143 (write_locale_data): Call maybe_swap_uint32_array.
28144 * locale/programs/ld-collate.c (obstack_int32_grow): Call
28146 (obstack_int32_grow_fast): Likewise.
28147 (output_weightwc): Call maybe_swap_uint32_obstack.
28148 (collate_output): Likewise.
28149 * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
28150 (OPT_LITTLE_ENDIAN): Likewise.
28151 (options): Add --little-endian and --big-endian options.
28152 (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
28153 * locale/programs/locarchive.c: Include "locfile.h".
28157 (create_archive): Use the new macros to access fields of
28158 structures directly mapped from or written to locale archives.
28159 (oldlocrecentcmp): Likewise.
28160 (enlarge_archive): Likewise.
28161 (insert_name): Likewise.
28162 (add_alias): Likewise.
28163 (add_locale): Likewise.
28164 (delete_locales_from_archive): Likewise.
28165 (show_archive_content): Likewise.
28166 (add_locale_to_archive): Likewise. Use maybe_swap_uint32 on
28169 2013-09-24 Roland McGrath <roland@hack.frob.com>
28171 * manual/freemanuals.texi: Updated from (newly) canonical copy at
28172 http://www.gnu.org/doc/freemanuals.texi.
28173 * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
28175 2013-09-24 Will Newton <will.newton@linaro.org>
28177 * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
28180 2013-09-23 Joseph Myers <joseph@codesourcery.com>
28182 * locale/hashval.h (compute_hashval): Interpret bytes of key as
28185 2013-09-23 Maciej W. Rozycki <macro@codesourcery.com>
28187 * manual/threads.texi (POSIX Threads): Fix a typo.
28189 2013-09-23 Siddhesh Poyarekar <siddhesh@redhat.com>
28192 * string/tst-strcoll-overflow.c: New test case.
28193 * string/Makefile (xtests): Add tst-strcoll-overflow.
28194 * string/strcoll_l.c (STRCOLL): Skip allocating memory for
28195 cache if string sizes may cause integer overflow.
28198 * string/strcoll_l.c (coll_seq): New members rule, idx,
28199 save_idx and back_us.
28200 (get_next_seq_nocache): New function.
28201 (do_compare_nocache): New function.
28202 (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
28205 2013-09-23 Carlos O'Donell <carlos@redhat.com>
28208 * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
28209 __pointer_chk_guard_local, otherwise __pointer_chk_guard.
28210 * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
28213 * elf/Makefile (tests): Add tst-ptrguard1.
28214 (tests-static): Add tst-ptrguard1-static.
28215 (tst-ptrguard1-ARGS): Define.
28216 (tst-ptrguard1-static-ARGS): Define.
28217 * elf/tst-ptrguard1.c: New file.
28218 * elf/tst-ptrguard1-static.c: New file.
28219 * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
28220 * sysdeps/i386/stackguard-macros.h: Likewise.
28221 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
28222 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
28223 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
28224 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
28225 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
28226 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
28228 2013-09-23 Hector Marco <hecmargi@upv.es>
28229 Ismael Ripoll <iripoll@disca.upv.es>
28230 Carlos O'Donell <carlos@redhat.com>
28233 * sysdeps/generic/stackguard-macros.h: Define
28234 __pointer_chk_guard_local and POINTER_CHK_GUARD.
28235 * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
28236 Define __pointer_chk_guard_local.
28237 (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
28238 Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
28240 2013-09-15 Vinitha Vijayan <vinitha.vijayann@gmail.com>
28243 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
28245 2013-09-20 Andreas Schwab <schwab@linux-m68k.org>
28247 * include/string.h (__ffs): Declare as hidden.
28248 * string/ffs.c (__ffs): Define as hidden.
28249 * sysdeps/i386/ffs.c (__ffs): Likewise.
28250 * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
28251 * sysdeps/powerpc/ffs.c (__ffs): Likewise.
28252 * sysdeps/s390/ffs.c (__ffs): Likewise.
28253 * sysdeps/x86_64/ffs.c (__ffs): Likewise.
28255 2013-09-20 Alexandre Oliva <aoliva@redhat.com>
28257 * NEWS: Mention malloc probes.
28259 * malloc/arena.c (new_heap): New memory_heap_new probe.
28260 (grow_heap): New memory_heap_more probe.
28261 (shrink_heap): New memory_heap_less probe.
28262 (heap_trim): New memory_heap_free probe.
28263 * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
28264 (systrim): New memory_sbrk_less probe.
28265 * manual/probes.texi: Document them.
28267 * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
28268 * manual/probes.texi: Document it.
28270 * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
28271 (__libc_realloc): Add memory_realloc_retry probe.
28272 (__libc_memalign): Add memory_memalign_retry probe.
28273 (__libc_valloc): Add memory_valloc_retry probe.
28274 (__libc_pvalloc): Add memory_pvalloc_retry probe.
28275 (__libc_calloc): Add memory_calloc_retry probe.
28276 * manual/probes.texi: Document them.
28278 * malloc/arena.c (get_free_list): Add probe
28279 memory_arena_reuse_free_list.
28280 (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
28281 and memory_arena_reuse.
28282 (arena_get2) [!PER_THREAD]: Likewise.
28283 * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
28284 memory_arena_reuse_realloc.
28285 * manual/probes.texi: Document them.
28287 * malloc/malloc.c (__libc_free): Add
28288 memory_mallopt_free_dyn_thresholds probe.
28289 (__libc_mallopt): Add multiple memory_mallopt probes.
28290 * manual/probes.texi: Document them.
28292 * malloc/malloc.c: Include stap-probe.h.
28293 (__libc_mallopt): Add memory_mallopt probe.
28294 * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
28295 * manual/probes.texi: New.
28296 * manual/Makefile (chapters): Add probes.
28297 * manual/threads.texi: Set next node.
28299 2013-09-19 Wei-Lun Chao <bluebat@member.fsf.org>
28301 [BZ #15963, #13985]
28302 * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
28303 czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
28304 Add `Chinese' to `nan' entry name.
28306 2013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
28308 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
28309 (POLYNOMIAL): Likewise.
28310 (TAYLOR_SINCOS): Likewise.
28311 (TAYLOR_SLOW): Likewise.
28312 (__sin): Use TAYLOR_SINCOS.
28314 (slow): Use TAYLOR_SLOW.
28316 (bsloww): Likewise.
28317 (csloww): Likewise.
28319 2013-09-19 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
28321 * stdlib/strtod_l.c: Fix buffer overrun.
28323 2013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
28325 * benchtests/Makefile (bench): Add sincos.
28326 * benchtests/bench-sincos.c: New file.
28328 * math/libm-test.inc (cos_test_data): New test inputs.
28329 (sin_test_data): Likewise.
28331 * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
28337 (sloww1): Likewise.
28338 (sloww2): Likewise.
28339 (bsloww1): Likewise.
28340 (bsloww2): Likewise.
28341 (cslow2): Likewise.
28342 (csloww1): Likewise.
28343 (csloww2): Likewise.
28345 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
28350 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
28354 2013-09-18 Maciej W. Rozycki <macro@codesourcery.com>
28356 * config.h.in (HAVE_MIPS_NAN2008): New macro.
28357 * elf/elf.h (EF_MIPS_NAN2008): Likewise.
28358 * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
28359 (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
28360 (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
28361 * elf/cache.c (print_entry): Handle the new cache flags.
28363 2013-09-18 Joseph Myers <joseph@codesourcery.com>
28364 Aldy Hernandez <aldyh@redhat.com>
28366 * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
28367 Change condition to [_SOFT_FLOAT].
28368 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
28369 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
28370 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
28371 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
28372 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
28373 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
28374 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
28375 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
28376 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
28377 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
28378 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
28379 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
28380 [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
28381 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
28382 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
28383 [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
28386 2013-09-18 Joseph Myers <joseph@codesourcery.com>
28388 * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
28389 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
28390 (__longjmp): Use LOAD_GP to load saved GPRs.
28391 * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
28392 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
28393 (__sigsetjmp): Use SAVE_GP to save GPRs.
28395 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
28396 Do not append -msoft-float.
28397 [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
28399 2013-09-18 Siddhesh Poyarekar <siddhesh@redhat.com>
28401 * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
28403 2013-09-17 Joseph Myers <joseph@codesourcery.com>
28406 * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
28407 (_FPU_GETCW): Use initial "__" on variable and field names but not
28408 on macro parameter name.
28409 [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise. Use
28410 parentheses around reference to macro parameter.
28412 2013-09-13 Richard Sandiford <richard@codesourcery.com>
28414 * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
28416 (ctype_startup): Use uint32_t in cast and sizeof for
28419 2013-09-11 Jia Liu <proljc@gmail.com>
28421 * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
28423 [__FreeBSD__]: Likewise.
28425 2013-09-11 Ondřej Bílka <neleai@seznam.cz>
28427 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
28428 (__libc_ifunc_impl_list): Remove: __strchr_sse42.
28429 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
28430 (strchr): Remove __strchr_sse42 ifunc selection.
28431 * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
28432 * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
28434 2013-09-11 Will Newton <will.newton@linaro.org>
28436 * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
28437 parameter to RES. Remove hardcoded 1000 value.
28438 * benchtests/bench-skeleton.c (main): Pass RES parameter
28439 to TIMING_INIT and multiply result by 1000.
28441 2013-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28443 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28445 2013-09-11 Andreas Schwab <schwab@suse.de>
28447 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
28449 (O_TMPFILE) [__USE_GNU]: Define.
28450 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
28453 2013-09-11 Will Newton <will.newton@linaro.org>
28456 * malloc/malloc.c (__libc_memalign): Check the value of bytes
28459 2013-09-11 Will Newton <will.newton@linaro.org>
28462 * malloc/malloc.c (__libc_valloc): Check the value of bytes
28465 2013-09-11 Will Newton <will.newton@linaro.org>
28468 * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
28471 2013-09-10 Ondřej Bílka <neleai@seznam.cz>
28473 * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
28474 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
28475 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
28476 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
28477 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
28479 2013-09-10 Allan McRae <allan@archlinux.org>
28482 * manual/arith.texi (Parsing of Floats): Clarify
28486 * manual/install.texi (Running make install): Mention
28488 * INSTALL: Regenerated.
28490 2013-09-09 Maciej W. Rozycki <macro@codesourcery.com>
28492 * csu/init-first.c (_init): Remove the !SHARED condition around
28493 FPU control word initialization.
28494 * elf/dl-support.c (_dl_fpu_control): New variable.
28495 (_dl_aux_init) <AT_FPUCW>: Initialize it.
28496 * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
28497 (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
28498 * math/test-fpucw-static.c: New file.
28499 * math/test-fpucw-ieee.c: New file.
28500 * math/test-fpucw-ieee-static.c: New file.
28501 * math/Makefile (tests): Add `test-fpucw-ieee' and
28503 (tests-static): New variable.
28504 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
28506 [($(build-shared),yes)]
28507 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
28509 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
28512 2013-09-09 Allan McRae <allan@archlinux.org>
28515 * manual/string.texi (Collation Functions): Fix typo in
28517 Reported by Suren Karapetyan <me@suren.karapetyan.name>.
28520 * stdlib/isomac.c (get_null_defines): Fix memory leak.
28523 * libio/memstream.c (open_memstream): Fix memory leak.
28524 * libio/wmemstream.c (open_wmemstream): Likewise.
28527 * nscd/netgroupcache.c: Fix nesting of ifdefs.
28529 2013-09-09 Will Newton <will.newton@linaro.org>
28531 * malloc/Makefile: Add tst-realloc to tests.
28532 * malloc/tst-realloc.c: New file.
28534 2013-09-09 Allan McRae <allan@archlinux.org>
28537 * COPYING: Update from GNU website to fix FSF address.
28538 * COPYING.LIB: Likewise.
28540 2013-09-06 David S. Miller <davem@davemloft.net>
28542 * po/zh_TW.po: Update Chinese (traditional) translation from
28543 translation project.
28545 2013-09-06 Richard Sandiford <richard@codesourcery.com>
28546 Joseph Myers <joseph@codesourcery.com>
28548 * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
28550 (obstack_chunk_alloc): New macro.
28551 (obstack_chunk_free): Likewise.
28552 (record_offset): New function.
28553 (init_locale_data): Likewise.
28554 (align_locale_data): Likewise.
28555 (add_locale_empty): Likewise.
28556 (add_locale_raw_data): Likewise.
28557 (add_locale_raw_obstack): Likewise.
28558 (add_locale_string): Likewise.
28559 (add_locale_wstring): Likewise.
28560 (add_locale_uint32): Likewise.
28561 (add_locale_uint32_array): Likewise.
28562 (add_locale_char): Likewise.
28563 (start_locale_structure): Likewise.
28564 (end_locale_structure): Likewise.
28565 (start_locale_prelude): Likewise.
28566 (end_locale_prelude): Likewise.
28567 (write_locale_data): Take locale_file structure rather than an
28569 * locale/programs/locfile.h: Include "obstack.h".
28570 (struct locale_file): Change to store locale file contents instead
28572 (init_locale_data): New prototype.
28573 (align_locale_data): Likewise.
28574 (add_locale_empty): Likewise.
28575 (add_locale_raw_data): Likewise.
28576 (add_locale_raw_obstack): Likewise.
28577 (add_locale_string): Likewise.
28578 (add_locale_wstring): Likewise.
28579 (add_locale_uint32): Likewise.
28580 (add_locale_uint32_array): Likewise.
28581 (add_locale_char): Likewise.
28582 (start_locale_structure): Likewise.
28583 (end_locale_structure): Likewise.
28584 (start_locale_prelude): Likewise.
28585 (end_locale_prelude): Likewise.
28586 (write_locale_data): Update prototype.
28587 * locale/programs/3level.h (struct TABLE): Remove result field.
28588 (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
28589 Use new locale_file interface.
28590 [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
28591 (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
28592 * locale/programs/ld-address.c (address_output): Use new
28593 locale_file interface.
28594 * locale/programs/ld-collate.c (NO_FINALIZE): Change to
28596 (collate_finish): Don't call collseq_table_finalize.
28597 (collate_output): Use new locale_file interface.
28598 * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
28600 (NO_FINALIZE): Change to NO_ADD_LOCALE.
28601 (TABLE): Move defines earlier in file.
28602 (ELEMENT): Likewise.
28603 (DEFAULT): Likewise.
28604 (wctrans_table_add): Move macro and inline function earlier in
28606 (struct wctype_table): Move type earlier in file.
28607 (add_locale_wctype_table): New static prototype.
28608 (struct locale_ctype_t): Use logical types instead of struct iovec
28609 pointers for members.
28610 (ctype_output): Use new locale_file interface.
28611 (wctype_table_finalize): Change to add_locale_wctype_table. Use
28612 new locale_file interface.
28613 (allocate_arrays): Update for use of new locale_file interface.
28614 * locale/programs/ld-identification.c (identification_output): Use
28615 new locale_file interface.
28616 * locale/programs/ld-measurement.c (measurement_output): Likewise.
28617 * locale/programs/ld-messages.c (messages_output): Likewise.
28618 * locale/programs/ld-monetary.c (monetary_output): Likewise.
28619 * locale/programs/ld-name.c (name_output): Likewise.
28620 * locale/programs/ld-numeric.c (numeric_output): Likewise.
28621 * locale/programs/ld-paper.c (paper_output): Likewise.
28622 * locale/programs/ld-telephone.c (telephone_output): Likewise.
28623 * locale/programs/ld-time.c (time_output): Likewise.
28625 2013-09-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28627 * benchtests/Makefile: Add memrchr benchmark.
28628 * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
28629 benchmark as memrchr.
28630 * benchtests/bench-memrchr-ifunc.c: New file.
28631 * benchtests/bench-memrchr.c: New file.
28633 2013-09-06 Will Newton <will.newton@linaro.org>
28635 * benchtests/Makefile (string-bench): Add memcpy.
28637 2013-09-05 Carlos O'Donell <carlos@redhat.com>
28638 Cong Wang <amwang@redhat.com>
28641 * sysdeps/unix/sysv/linux/bits/in.h
28642 [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
28643 * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
28644 before __USE_KERNEL_IPV6_DEFS uses.
28645 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
28647 [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
28648 sockaddr_in6, or ipv6_mreq.
28650 2013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28652 * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
28653 memory access for final bytes in some large inputs.
28654 * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
28656 2013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28658 * string/test-memrchr.c: New file.
28659 * string/test-memrchr-ifunc.c: New file.
28660 * string/Makefile: Add new memrchr testcase.
28662 2013-09-05 Mike Frysinger <vapier@gentoo.org>
28664 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
28665 fanotify_init returns EPERM.
28667 2013-09-04 Joseph Myers <joseph@codesourcery.com>
28669 * conform/conformtest.pl (newtoken): Treat tokens not allowed as
28671 (top level): Treat second token from macro or constant entries for
28672 allowed headers as allowed.
28673 * include/complex.h: Condition internal declarations on
28675 * include/fenv.h: Condition include of <stdbool.h> and internal
28676 declarations on [!_ISOMAC].
28678 2013-09-04 Chris Leonard <cjl@sugarlabs,.org>
28681 * locale/iso-4217.def: Update iso-1427.def and related occurrences.
28683 2013-09-04 Joseph Myers <joseph@codesourcery.com>
28685 * configure.in (--enable-versioning): Remove configure option.
28686 (libc_cv_asm_symver_directive): Remove configure test.
28687 (libc_cv_ld_version_script_option): Likewise.
28688 (VERSIONING): Remove variable and AC_SUBST.
28689 (DO_VERSIONING): Remove AC_DEFINE.
28690 * configure: Regenerated.
28691 * config.h.in (DO_VERSIONING): Remove macro.
28692 * Makerules [$(versioning) = yes]: Change conditionals to
28693 [$(build-shared) = yes].
28694 * config.make.in (versioning): Remove variable.
28695 * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
28696 [$(build-shared) = yes].
28697 * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
28698 * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
28699 * elf/Makefile [$(versioning) = yes]: Change conditionals to
28700 [$(build-shared) = yes].
28701 * extra-lib.mk [$(versioning) = yes]: Likewise.
28702 * hurd/Makefile [$(versioning) = yes]: Likewise.
28703 * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
28705 * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
28707 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
28708 [SHARED && !NO_HIDDEN].
28709 * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
28711 [SHARED && DO_VERSIONING]: Likewise..
28712 * libio/Makefile [$(versioning) = yes]: Change conditionals to
28713 [$(build-shared) = yes].
28714 * manual/install.texi (--disable-versioning): Remove
28716 * INSTALL: Regenerated.
28717 * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
28719 * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
28720 [$(build-shared) = yes].
28721 * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
28722 * sysdeps/i386/i686/multiarch/strstr-c.c
28723 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
28724 [SHARED && !NO_HIDDEN].
28725 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
28726 [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
28727 * sysdeps/powerpc/powerpc32/dl-machine.c
28728 [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
28729 * sysdeps/powerpc/powerpc32/sysdep.h
28730 [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
28731 to [SHARED && PIC && !NO_HIDDEN].
28732 * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
28733 conditional to [SHARED].
28735 2013-09-04 Will Newton <will.newton@linaro.org>
28737 * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
28738 * benchtests/bench-string.h: Include bench-timing.h instead
28739 of including hp-timing.h directly. (INNER_LOOP_ITERS): New
28740 define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
28741 call to HP_TIMING_DIFF_INIT.
28742 * benchtests/bench-memccpy.c: Use bench-timing.h macros
28743 instead of hp-timing.h macros.
28744 * benchtests/bench-memchr.c: Likewise.
28745 * benchtests/bench-memcmp.c: Likewise.
28746 * benchtests/bench-memcpy.c: Likewise.
28747 * benchtests/bench-memmem.c: Likewise.
28748 * benchtests/bench-memmove.c: Likewise.
28749 * benchtests/bench-memset.c: Likewise.
28750 * benchtests/bench-rawmemchr.c: Likewise.
28751 * benchtests/bench-strcasecmp.c: Likewise.
28752 * benchtests/bench-strcasestr.c: Likewise.
28753 * benchtests/bench-strcat.c: Likewise.
28754 * benchtests/bench-strchr.c: Likewise.
28755 * benchtests/bench-strcmp.c: Likewise.
28756 * benchtests/bench-strcpy.c: Likewise.
28757 * benchtests/bench-strcpy_chk.c: Likewise.
28758 * benchtests/bench-strlen.c: Likewise.
28759 * benchtests/bench-strncasecmp.c: Likewise.
28760 * benchtests/bench-strncat.c: Likewise.
28761 * benchtests/bench-strncmp.c: Likewise.
28762 * benchtests/bench-strncpy.c: Likewise.
28763 * benchtests/bench-strnlen.c: Likewise.
28764 * benchtests/bench-strpbrk.c: Likewise.
28765 * benchtests/bench-strrchr.c: Likewise.
28766 * benchtests/bench-strspn.c: Likewise.
28767 * benchtests/bench-strstr.c: Likewise.
28769 2013-09-04 Will Newton <will.newton@linaro.org>
28771 * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
28773 2013-09-03 Joseph Myers <joseph@codesourcery.com>
28776 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
28777 2**-30 instead of 2**-70 as threshold for returning -log(|x|).
28778 * math/libm-test.inc (lgamma_test_data): Add more tests.
28779 * sysdeps/i386/fpu/libm-test-ulps: Update.
28780 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28782 2013-09-03 Ondřej Bílka <neleai@seznam.cz>
28784 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
28785 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
28787 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
28788 Add strcmp-sse2-unaligned
28789 * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
28791 2013-09-02 Mike Frysinger <vapier@gentoo.org>
28793 * Versions.def (libc): Add GLIBC_2.19.
28795 2013-09-02 Mike Frysinger <vapier@gentoo.org>
28797 * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
28798 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
28800 2013-09-02 Joseph Myers <joseph@codesourcery.com>
28803 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
28804 intermediate calculations in recurrence.
28805 (__ieee754_ynf): Likewise.
28806 * math/libm-test.inc (jn_test_data): Do not allow spurious
28807 underflow exception. Add more tests.
28808 (yn_test_data): Add more tests.
28809 * sysdeps/i386/fpu/libm-test-ulps: Update.
28810 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28812 2013-09-02 Ondřej Bílka <neleai@seznam.cz>
28814 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
28816 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
28818 * csu/init-first.c: Fix then/than typos.
28819 * locale/programs/ld-collate.c: Likewise.
28820 * locale/programs/linereader.h: Likewise.
28821 * manual/charset.texi: Likewise.
28822 * manual/filesys.texi: Likewise.
28823 * manual/stdio.texi: Likewise.
28824 * manual/string.texi: Likewise.
28825 * stdlib/fmtmsg.c: Likewise.
28826 * sysdeps/i386/stpncpy.S: Likewise.
28827 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
28828 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
28829 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
28830 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
28832 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
28834 * elf/dl-open.c: Fix typos.
28835 * iconvdata/gbbig5.c: Likewise.
28836 * iconvdata/iso-2022-jp.c: Likewise.
28837 * iconv/gconv_int.h: Likewise.
28838 * iconv/loop.c: Likewise.
28839 * nis/rpcsvc/nis.h: Likewise.
28840 * resolv/ns_name.c: Likewise.
28841 * stdio-common/vfscanf.c: Likewise.
28842 * streams/stropts.h: Likewise.
28843 * sunrpc/rpc_thread.c: Likewise.
28844 * sysdeps/i386/strpbrk.S: Likewise.
28845 * sysdeps/ieee754/k_standard.c: Likewise.
28846 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
28847 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
28848 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
28849 * sysdeps/mach/hurd/profil.c: Likewise.
28850 * sysdeps/s390/dl-procinfo.h: Likewise.
28851 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
28852 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
28853 * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
28854 * sysdeps/x86_64/dl-trampoline.S: Likewise.
28855 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
28857 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
28859 * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
28860 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
28862 2013-08-29 Ondřej Bílka <neleai@seznam.cz>
28864 * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
28865 aix specific files.
28866 * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
28867 * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
28868 * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
28869 * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
28870 * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
28871 * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
28872 * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
28873 * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
28875 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
28876 Roland McGrath <roland@hack.frob.com>
28878 * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
28879 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
28881 2013-08-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
28883 * sysdeps/mach/hurd/i386/init-first.c (init1): Use
28884 __executable_start symbol instead of _start.
28886 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
28888 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
28889 (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
28891 * sysdeps/gnu/ldsodefs.h: ... this new file.
28893 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
28894 (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
28895 instead of ELFOSABI_LINUX.
28897 [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
28898 * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
28899 * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
28900 * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
28902 * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
28903 * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
28904 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
28906 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
28907 (ibm_extended_long_double): Add ieee_nan member.
28908 * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
28909 (do_test): New function.
28911 * math/basic-test.c (TEST_CONVERT): New macro, renamed from
28913 (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
28914 functions, renamed from truncdfsf_test, trunctfsf_test,
28916 (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
28918 (do_test): Run all these.
28920 2013-08-29 Ondřej Bílka <neleai@seznam.cz>
28922 * argp/argp-help.c: Fix typos.
28923 * argp/argp-parse.c: Likewise.
28924 * debug/backtracesyms.c: Likewise.
28925 * elf/elf.h: Likewise.
28926 * malloc/malloc.c: Likewise.
28927 * nis/nis_print.c: Likewise.
28928 * resolv/res_comp.c: Likewise.
28929 * stdlib/stdlib.h: Likewise.
28930 * sunrpc/clnt_tcp.c: Likewise.
28931 * sunrpc/clnt_udp.c: Likewise.
28932 * sunrpc/clnt_unix.c: Likewise.
28933 * sysdeps/unix/bsd/ptsname.c: Likewise.
28934 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
28935 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
28936 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
28938 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
28940 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
28942 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
28944 2013-08-28 Siddhesh Poyarekar <siddhesh@redhat.com>
28946 * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
28947 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
28949 2013-08-27 Mike Frysinger <vapier@gentoo.org>
28952 * dlfcn/Makefile (tests): Add bug-dl-leaf.
28953 (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
28954 ($(objpfx)bug-dl-leaf): New rule.
28955 ($(objpfx)bug-dl-leaf.so): Likewise.
28956 ($(objpfx)bug-dl-leaf.out): Likewise.
28957 ($(objpfx)bug-dl-leaf-lib.so): Likewise.
28958 ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
28959 * dlfcn/bug-dl-leaf.c: New test.
28960 * dlfcn/bug-dl-leaf-lib.c: Likewise.
28961 * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
28962 * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
28963 (dlclose): Likewise.
28964 (dlmopen): Likewise.
28966 2013-08-27 Roland McGrath <roland@hack.frob.com>
28968 * include/netdb.h [!_ISOMAC]:
28969 Don't include <tls.h>.
28970 (h_errno, __libc_h_errno): Move declaration and macros out of
28973 * include/resolv.h [_RESOLV_H_]:
28974 Don't include <tls.h>.
28975 (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
28976 * resolv/res_libc.c: Don't include <tls.h>.
28977 (_res): Use __attribute__ ((nocommon)) in place of
28978 __attribute__ ((section (".bss"))).
28980 * Makefile ($(common-objpfx)linkobj/libc_pic.a):
28981 If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
28983 * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
28985 * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
28986 only under [SIOCGIFCONF && SIOCGIFNETMASK].
28988 * resolv/res_mkquery.c: Include <sys/time.h>.
28990 * inet/ifreq.c: Moved to ...
28991 * sysdeps/unix/ifreq.c: ... here.
28992 * inet/ifreq.c: New file, true stub version.
28994 * socket/sa_len.c: New file.
28995 * socket/Makefile (aux): Add it.
28996 * sysdeps/unix/sysv/linux/Makefile
28997 [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
28998 * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
28999 and #include <socket/sa_len.c>.
29000 * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
29001 HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
29003 * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
29004 * bits/socket.h: ... here.
29006 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
29007 Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
29008 (SOCK_MAX, SOCK_TYPE_MASK): New macros.
29010 2013-08-27 Andreas Schwab <schwab@suse.de>
29013 * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
29014 * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
29015 (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
29016 * string/test-strcasecmp.c (test_main): Run tests in several
29018 * string/test-strncasecmp.c (test_main): Likewise.
29020 * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
29021 (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
29022 to __strcasecmp_nonascii and __strncasecmp_nonascii.
29023 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
29024 (__strncasecmp_ssse3) [PIC]: Likewise.
29026 2013-08-26 Roland McGrath <roland@hack.frob.com>
29028 * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
29030 * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
29031 instead of explicitly declaring xdecrypt.
29032 * nis/nss_nis/nis-publickey.c: Likewise.
29034 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
29037 * nscd/aicache.c: Include res_hconf.h.
29038 (addhstaiX): Initialize res_hconf.
29040 2013-08-26 Andreas Schwab <schwab@suse.de>
29042 * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
29043 ($(objpfx)tst-tls-atexit): Add dependencies here instead.
29045 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
29047 * nscd/aicache.c (addhstaiX): Fix indentation.
29049 2013-08-25 Mike Frysinger <vapier@gentoo.org>
29051 * configure.ac: Quote $build_pt_chown test.
29052 * configure: Regenerated.
29054 2013-08-23 Joseph Myers <joseph@codesourcery.com>
29057 * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
29058 * math/s_cexpf.c (__cexpf): Likewise.
29059 * math/s_cexpl.c (__cexpl): Likewise.
29060 * math/libm-test.inc (cexp_test_data): Correct expected return
29061 value for NaN + i0. Add another test.
29063 2013-08-22 David S. Miller <davem@davemloft.net>
29065 * po/ca.po: Update Catalan translation from translation project.
29066 * po/uk.po: Add Ukrainian translations from translation project.
29068 2013-08-21 Joseph Myers <joseph@codesourcery.com>
29071 * math/s_fdim.c (__fdim): Check for infinite arguments if result
29072 is infinite, not alongside NaN test.
29073 * math/s_fdimf.c (__fdimf): Likewise.
29074 * math/s_fdiml.c (__fdiml): Likewise.
29075 * math/libm-test.inc (fdim_test_data): Add more tests. Test that
29076 errno is unchanged.
29078 2013-08-21 Ondřej Bílka <neleai@seznam.cz>
29080 * argp/argp-help.c: Fix typos.
29081 * crypt/speeds.c: Likewise.
29082 * csu/check_fds.c: Likewise.
29083 * elf/dl-load.c: Likewise.
29084 * elf/dl-open.c: Likewise.
29085 * elf/reldep3.c: Likewise.
29086 * elf/reldep.c: Likewise.
29087 * elf/sprof.c: Likewise.
29088 * iconv/iconv_charmap.c: Likewise.
29089 * iconv/skeleton.c: Likewise.
29090 * iconv/strtab.c: Likewise.
29091 * io/lockf64.c: Likewise.
29092 * libio/libioP.h: Likewise.
29093 * resolv/gai_notify.c: Likewise.
29094 * resolv/ns_name.c: Likewise.
29095 * resolv/ns_samedomain.c: Likewise.
29096 * resolv/res_send.c: Likewise.
29097 * stdlib/random.c: Likewise.
29098 * sunrpc/rpc/xdr.h: Likewise.
29099 * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
29100 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
29101 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
29102 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
29103 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
29104 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
29105 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
29106 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
29107 * sysdeps/mach/hurd/check_fds.c: Likewise.
29108 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
29109 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
29110 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
29111 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
29112 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
29113 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
29114 * sysdeps/pthread/aio_notify.c: Likewise.
29115 * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
29116 * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
29117 * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
29118 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
29119 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
29121 2013-08-21 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
29123 * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
29124 version if bit_Slow_SSE4_2 is set.
29125 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
29126 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
29128 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29131 * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
29132 trampoline stack frame information.
29133 * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
29134 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
29135 (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
29136 (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
29137 (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
29138 * sysdeps/unix/sysv/linux/powerpc/init-first.c
29139 (_libc_vdso_platform_setup): Initialize the signal trampolines.
29140 * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
29142 * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
29143 interrupting a syscall and set with option SA_SIGINFO.
29145 2013-08-20 Joseph Myers <joseph@codesourcery.com>
29148 * math/s_cproj.c (__cproj): Only return an infinity if one part of
29149 argument is infinite.
29150 * math/s_cprojf.c (__cprojf): Likewise.
29151 * math/s_cprojl.c (__cprojl): Likewise.
29152 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
29153 * math/libm-test.inc (cproj_test_data): Add more tests.
29155 * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
29157 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
29158 [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
29159 size. Use __ffs to determine corresponding shift.
29161 2013-08-20 Joseph Myers <joseph@codesourcery.com>
29162 Roland McGrath <roland@hack.frob.com>
29164 * Makefile (INSTALL): Remove trailing blank lines from output of
29167 2013-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
29169 * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
29170 Align 32 bit compat elf_greg to 8 bytes.
29172 2013-08-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
29174 * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
29176 2013-08-20 Siddhesh Poyarekar <siddhesh@redhat.com>
29178 * string/strcoll_l.c (coll_seq): New structure.
29179 (get_next_seq_cached): New function.
29180 (get_next_seq): New function.
29181 (do_compare): New function.
29182 (STRCOLL): Use GNU style definition. Simplify implementation
29183 by using get_next_seq, get_next_seq_cached and do_compare.
29185 2013-08-16 Florian Weimer <fweimer@redhat.com>
29189 * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
29191 * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
29193 * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
29194 * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
29195 Return delayed error code. Remove GETDENTS_64BIT_ALIGNED
29197 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
29198 GETDENTS_64BIT_ALIGNED.
29199 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
29200 * manual/filesys.texi (Reading/Closing Directory): Document
29201 ENAMETOOLONG return value of readdir_r. Recommend readdir more
29203 * manual/conf.texi (Limits for Files): Add portability note to
29204 NAME_MAX, PATH_MAX.
29205 (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
29207 2013-08-13 Andreas Schwab <schwab@suse.de>
29210 * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
29212 * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
29213 LDBL_MAX_EXP >= 16384]: Add tests for it.
29215 2013-08-12 David S. Miller <davem@davemloft.net>
29217 * version.h (RELEASE): Set to "development".
29218 (VERSION): Set to "2.18.90".
29219 * NEWS: Add 2.19 section.
29221 2013-08-03 David S. Miller <davem@davemloft.net>
29223 * po/ko.po: Update Korean translation from translation project.
29225 2013-08-01 David S. Miller <davem@davemloft.net>
29227 * manual/contrib.texi: Update entry for Siddhesh Poyarekar. Add
29228 entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
29231 2013-07-30 David S. Miller <davem@davemloft.net>
29233 * po/fr.po: Update French translation from translation project.
29235 2013-07-28 David S. Miller <davem@davemloft.net>
29237 * po/cs.po: Update Czech translation from translation project.
29239 * po/sv.po: Update Swedish translation from translation project.
29241 2013-07-27 David S. Miller <davem@davemloft.net>
29243 * po/eo.po: Update Esperanto translation from translation project.
29245 * po/vi.po: Update Vietnamese translation from translation project.
29247 * po/de.po: Update German translation from translation project.
29249 2013-07-26 David S. Miller <davem@davemloft.net>
29251 * po/bg.po: Update Bulgarian translation from translation project.
29253 * po/nl.po: Update Dutch translation from translation project.
29254 * po/pl.po: Update Polish translation from translation project.
29255 * po/ru.po: Update Russian translation from translation project.
29257 2013-07-24 David S. Miller <davem@davemloft.net>
29259 * po/libc.pot: Update.
29261 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29263 * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
29264 variable page size.
29265 * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
29266 * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
29267 * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
29269 2013-07-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
29271 * sysdeps/s390/fpu/libm-test-ulps: Refresh.
29273 2013-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
29274 Andreas Schwab <schwab@suse.de>
29275 Roland McGrath <roland@hack.frob.com>
29276 Joseph Myers <joseph@codesourcery.com>
29277 Carlos O'Donell <carlos@redhat.com>
29280 * config.h.in: Define HAVE_PT_CHOWN.
29281 * config.make.in (build-pt-chown): New variable.
29282 * configure.in (--enable-pt_chown): New configure option.
29283 * configure: Regenerate.
29284 * login/Makefile: Include Makeconfig. Build pt_chown only if
29285 build-pt-chown is enabled.
29286 * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
29287 pt_chown to fix pty ownership.
29288 * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
29290 * manual/install.texi (Configuring and compiling): Mention
29291 --enable-pt_chown. Add @findex for grantpt.
29292 * INSTALL: Regenerate.
29294 2013-07-20 David S. Miller <davem@davemloft.net>
29296 * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
29297 difference between 32-bit and 64-bit.
29299 2013-07-15 Carlos O'Donell <carlos@redhat.com>
29302 * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
29303 Avoid system header dependency with -ffreestanding.
29304 ($(objpfx)bits/syscall%d): Likewise.
29306 2013-07-13 David S. Miller <davem@davemloft.net>
29308 * math/libm-test.inc (casin_test_data): Annotate more cases of missing
29309 underflows from atanl/atan2l due to bug 15319.
29310 (casinh_test_data): Likewise.
29312 2013-07-07 David S. Miller <davem@davemloft.net>
29314 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
29316 2013-07-05 Jeroen Albers <_jeroen_@yahoo.com>
29318 * sysdeps/i386/fpu/libm-test-ulps: Update.
29319 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29321 2013-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
29323 * configure.in (--enable-lock-elision): Fix message text.
29324 * INSTALL: Regenerate.
29325 * configure: Regenerate.
29327 2013-07-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29329 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29331 2013-07-03 Andreas Jaeger <aj@suse.de>
29333 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
29335 (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
29336 (ptrace_peeksiginfo_args): Add.
29337 (__ptrace_peeksiginfo_flags): Add.
29338 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
29339 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
29340 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
29342 2013-07-03 Allan McRae <allan@archlinux.org>
29344 * sysdeps/i386/fpu/libm-test-ulps: Update.
29346 2013-07-02 David S. Miller <davem@davemloft.net>
29348 * sysdeps/sparc/fpu/libm-test-ulps: Update.
29350 2013-07-02 Markus Trippelsdorf <markus@trippelsdorf.de>
29352 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
29354 2013-07-02 Joseph Myers <joseph@codesourcery.com>
29356 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
29357 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29359 2013-07-02 Andi Kleen <ak@linux.intel.com>
29361 * config.h.in (ENABLE_LOCK_ELISION): Add.
29362 * configure.in (--enable-lock-elision): Add option.
29363 * manual/install.texi: Document --enable lock elision.
29364 * configure: Regenerate
29365 * INSTALL: Regenerate.
29367 2013-07-02 H.J. Lu <hongjiu.lu@intel.com>
29369 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
29370 SSE4.2 strcasecmp for libc.a.
29371 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
29373 2013-07-02 Joseph Myers <joseph@codesourcery.com>
29376 * soft-fp/op-common.h (_FP_FMA): New macro.
29377 * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
29378 (_FP_MUL_MEAT_DW_1_imm): Likewise. Split out of ...
29379 (_FP_MUL_MEAT_1_imm): ... here.
29380 (_FP_MUL_MEAT_DW_1_wide): New macro. Split out of ...
29381 (_FP_MUL_MEAT_1_wide): ... here.
29382 (_FP_MUL_MEAT_DW_1_hard): Likewise. Split out of ...
29383 (_FP_MUL_MEAT_1_hard): ... here.
29384 * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
29385 (_FP_MUL_MEAT_DW_2_wide): Likewise. Split out of ...
29386 (_FP_MUL_MEAT_2_wide): ... here.
29387 (_FP_MUL_MEAT_DW_2_wide_3mul): New macro. Split out of ...
29388 (_FP_MUL_MEAT_2_wide_3mul): ... here.
29389 (_FP_MUL_MEAT_DW_2_gmp): New macro. Split out of ...
29390 (_FP_MUL_MEAT_2_gmp): ... here.
29391 * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
29392 (_FP_MUL_MEAT_DW_4_wide): Likewise. Split out of ...
29393 (_FP_MUL_MEAT_4_wide): ... here.
29394 (_FP_MUL_MEAT_DW_4_gmp): New macro. Split out of ...
29395 (_FP_MUL_MEAT_4_gmp): ... here.
29396 * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
29397 (_FP_WFRACBITS_DW_S): Likewise.
29398 (_FP_WFRACXBITS_DW_S): Likewise.
29399 (_FP_HIGHBIT_DW_S): Likewise.
29400 (FP_FMA_S): Likewise.
29401 (_FP_FRAC_HIGH_DW_S): Likewise.
29402 * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
29403 (_FP_WFRACBITS_DW_D): Likewise.
29404 (_FP_WFRACXBITS_DW_D): Likewise.
29405 (_FP_HIGHBIT_DW_D): Likewise.
29406 (FP_FMA_D): Likewise.
29407 (_FP_FRAC_HIGH_DW_D): Likewise.
29408 * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
29409 (_FP_WFRACBITS_DW_E): Likewise.
29410 (_FP_WFRACXBITS_DW_E): Likewise.
29411 (_FP_HIGHBIT_DW_E): Likewise.
29412 (FP_FMA_E): Likewise.
29413 (_FP_FRAC_HIGH_DW_E): Likewise.
29414 * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
29415 (_FP_WFRACBITS_DW_Q): Likewise.
29416 (_FP_WFRACXBITS_DW_Q): Likewise.
29417 (_FP_HIGHBIT_DW_Q): Likewise.
29418 (FP_FMA_Q): Likewise.
29419 (_FP_FRAC_HIGH_DW_Q): Likewise.
29420 * soft-fp/fmasf4.c: New file.
29421 * soft-fp/fmadf4.c: Likewise.
29422 * soft-fp/fmatf4.c: Likewise.
29424 2013-06-28 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
29426 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
29427 bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
29429 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
29431 (index_Slow_SSE4_2): Likewise.
29432 (index_Prefer_PMINUB_for_stringop): Likewise.
29433 * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
29434 bit_Slow_SSE4_2 is set.
29435 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
29436 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
29438 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
29440 * sysdeps/powerpc/Makefile: Add comment about generating an offset to
29441 rtld_global._dl_hwcap2.
29442 * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
29444 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
29445 POWER8 feature descriptions defined in _dl_hwcap2.
29446 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
29447 string handling for POWER8 feature bits.
29448 (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
29449 (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
29450 _dl_powerpc_cap_flags.
29451 (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
29452 * sysdeps/powerpc/rtld-global-offsets.sym
29453 (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
29454 _dl_hwcap2 in the rtld_global_ro structure.
29456 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
29458 * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
29459 hardware capabilities in support of AT_HWCAP2.
29460 (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
29461 * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
29463 (_dl_show_auxv): Add support for calling _dl_procinfo to display
29464 AT_HWCAP2. If a platform doesn't chose to handle displaying AT_HWCAP2
29465 explicitly the unknown a_type display mechanism is used.
29466 * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
29467 * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
29469 * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
29470 to macro prototype for AT_HWCAP2 support.
29471 * sysdeps/i386/dl-procinfo.h: Likewise.
29472 * sysdeps/s390/dl-procinfo.h: Likewise.
29473 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
29474 macro prototype for AT_HWCAP2 support. Make WORD unsigned long int
29475 rather than signed int. Stub in handler for TYPE == AT_HWCAP2 to
29476 return -1 for unknown a_type display fallback.
29477 * sysdeps/sparc/dl-procinfo.h: Likewise.
29478 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
29479 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
29481 2013-06-28 Joseph Myers <joseph@codesourcery.com>
29483 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
29484 instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
29486 2013-06-28 Pierre Ynard <linkfanel@yahoo.fr>
29489 * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
29490 mprotect making __stack_prot writable.
29492 2013-06-28 Nathan Froyd <froydnj@codesourcery.com>
29493 Joseph Myers <joseph@codesourcery.com>
29495 * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
29496 as being properly aligned.
29498 2013-06-28 Maciej W. Rozycki <macro@codesourcery.com>
29500 * dlfcn/modstatic5.c: New file.
29501 * dlfcn/tststatic5.c: New file.
29502 * dlfcn/Makefile (tests): Add tststatic5.
29503 (tests-static): Likewise.
29504 (modules-names): Add modstatic5.
29505 (tststatic5-ENV): New variable.
29506 ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
29509 * elf/dl-support.c (_dl_main_map): New variable.
29510 (_dl_ns): Use it to initialize [LM_ID_BASE] element.
29511 (_dl_nns, _dl_load_adds): Set to 1.
29512 (_dl_initial_searchlist): Refer to _dl_main_map.
29513 (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
29514 * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
29515 call to _dl_get_origin.
29516 * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
29518 (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
29519 * dlfcn/modstatic3.c: New file.
29520 * dlfcn/tststatic3.c: New file.
29521 * dlfcn/tststatic4.c: New file.
29522 * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
29523 (tests-static): Likewise.
29524 (modules-names): Add modstatic3.
29525 (tststatic3-ENV, tststatic4-ENV): New variables.
29526 ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
29527 ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
29529 2013-06-26 Joseph Myers <joseph@codesourcery.com>
29531 * configure.in (CC): Require GCC version 4.4 or later.
29532 * configure: Regenerated.
29533 * manual/install.texi (Tools for Compilation): Update GCC version
29535 * INSTALL: Regenerated.
29537 2013-06-26 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
29540 * string/test-memcmp.c (check2): New.
29541 (main): Call check2.
29543 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
29545 2013-06-26 Maciej W. Rozycki <macro@codesourcery.com>
29548 * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
29550 (dl_open_worker) [!SHARED]: ... here.
29552 2013-06-26 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
29554 * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
29556 2013-06-25 Richard Henderson <rth@redhat.com>
29558 * locale/programs/locarchive.c: Include <libc-internal.h>
29560 2013-06-25 Joseph Myers <joseph@codesourcery.com>
29562 * manual/texinfo.tex: Update to version 2013-06-21.17, with
29563 trailing whitespace removed.
29565 2013-06-24 Mike Frysinger <vapier@gentoo.org>
29568 * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
29569 * locale/programs/locarchive.c: Include libc-mmap.h.
29570 (prepare_address_space): Take two new outputs (the mmap base and len).
29571 Align p to MAP_FIXED_ALIGNMENT. Set mmap base and len to the right
29573 (create_archive): Declare new mmap base and len values for
29574 prepare_address_space, and store the result in ah.
29575 (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
29576 (enlarge_archive): If ah->mmap_base is not NULL, use that and
29577 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
29578 Declare new mmap base and len values for
29579 prepare_address_space, and store the result in new_ah.
29580 (open_archive): Declare new mmap base and len values for
29581 prepare_address_space, and store the result in ah.
29582 (close_archive): If ah->mmap_base is not NULL, use that and
29583 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
29584 * sysdeps/generic/libc-mmap.h: New file.
29586 2013-06-24 Mike Frysinger <vapier@gentoo.org>
29588 * include/libc-internal.h (ALIGN_DOWN): New helper macro.
29589 (ALIGN_UP): Likewise.
29590 (PTR_ALIGN_DOWN): Likewise.
29591 (PTR_ALIGN_UP): Likewise.
29593 2013-06-24 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
29595 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
29596 entry mapped to PPC_PLATFORM_POWER8.
29597 * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
29599 (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
29600 (_dl_string_platform): Add case for exporting platform position for
29602 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
29603 search path to sysdeps/powerpc/powerpc32/power8 directory.
29604 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
29605 search path to sysdeps/powerpc/powerpc64/power8 directory.
29606 * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
29607 power7 directories.
29608 * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
29609 power7 directories.
29611 2013-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
29613 * INSTALL: Regenerate.
29615 * nscd/connections.c (nscd_init): Fix comment.
29617 2013-06-22 Joseph Myers <joseph@codesourcery.com>
29619 * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
29622 * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
29623 to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
29625 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
29627 * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
29629 (DL_DST_REQ_STATIC): Remove macro.
29631 2013-06-21 Joseph Myers <joseph@codesourcery.com>
29634 * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
29635 with a shift of 0 bits.
29637 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
29639 * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
29642 2013-06-21 Kaz Kojima <kkojima@rr.iij4u.or.jp>
29645 * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
29647 2013-06-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29649 * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
29650 * configure.in (libc_cv_cc_loop_to_function): Check if compiler
29651 accepts -fno-tree-loop-distribute-patterns.
29652 * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
29653 * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
29655 * string/memset.c (memset): Likewise.
29656 * string/test-memmove.c (simple_memmove): Disable loop transformation
29658 * string/test-memset.c (simple_memset): Likewise.
29659 * benchtests/bench-memmove.c (simple_memmove): Likewise.
29660 * benchtests/bench-memset.c (simple_memset): Likewise.
29661 * configure: Regenerated.
29663 2013-06-20 Joseph Myers <joseph@codesourcery.com>
29665 * math/test-misc.c (main): Ignore fesetround failure when failures
29666 of subsequent rounding tests would be ignored.
29669 * math/fedisblxcpt.c (fedisableexcept): Return 0.
29670 * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
29671 * math/fegetenv.c (__fegetenv): Return 0.
29672 * math/fegetexcept.c (fegetexcept): Return 0.
29673 * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
29675 * math/feholdexcpt.c (feholdexcept): Return 0.
29676 * math/fesetenv.c (__fesetenv): Return 0.
29677 * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
29678 argument FE_TONEAREST.
29679 * math/feupdateenv.c (__feupdateenv): Return 0.
29680 * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
29682 2013-06-18 Roland McGrath <roland@hack.frob.com>
29684 * elf/rtld-Rules (rtld-compile-command.S): New variable.
29685 (rtld-compile-command.s, rtld-compile-command.c): New variables.
29686 ($(objpfx)rtld-%.os rules): Use them.
29688 2013-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29690 * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
29693 2013-06-17 Roland McGrath <roland@hack.frob.com>
29695 * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
29696 length of target pattern, then descending length of dependency pattern.
29697 * configure.in (AWK): Require gawk 3.1.2 or newer.
29698 * manual/install.texi (Tools for Compilation): Say that we do.
29699 * configure: Regenerated.
29701 * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
29702 ($(common-objpfx)sysd-rules): Replace shell logic with running ...
29703 * scripts/sysd-rules.awk: ... this new script.
29704 * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
29705 than a glob-style pattern.
29707 2013-06-17 Joseph Myers <joseph@codesourcery.com>
29709 * math/test-misc.c (main): Do not treat incorrectly rounded
29710 conversions as failure unless ROUNDING_TESTS passes.
29712 2013-06-15 Joseph Myers <joseph@codesourcery.com>
29715 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
29716 restore exception state around main square root computation, then
29717 check for inexactness explicitly.
29719 * math/libm-test.inc (fma_test_data): Add another test.
29721 2013-06-15 Siddhesh Poyarekar <siddhesh@redhat.com>
29723 * manual/threads.texi (Non-POSIX Extensions): New document
29724 node. Document pthread_getattr_default_np and
29725 pthread_setattr_default_np.
29727 * Versions.def (libpthread): Add GLIBC_2.18.
29728 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
29729 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
29731 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
29733 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
29735 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
29737 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
29739 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
29741 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
29743 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
29745 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
29748 2013-06-14 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
29750 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
29751 Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
29753 2013-06-14 Siddhesh Poyarekar <siddhesh@redhat.com>
29754 H.J. Lu <hjl.tools@gmail.com>
29757 * sysdeps/x86_64/rtld-memset.c: Remove file.
29758 * sysdeps/x86_64/rtld-memset.S: New file.
29760 2013-06-14 Joseph Myers <joseph@codesourcery.com>
29762 * stdlib/tst-strtod-round.c: Include <math-tests.h>.
29763 (test_in_one_mode): Take arguments for whether the rounding mode
29764 is supported for each floating-point type.
29765 (do_test): Pass new arguments to test_in_one_mode using
29768 2013-06-13 Roland McGrath <roland@hack.frob.com>
29770 * posix/tst-waitid.c (do_test): Distinguish different instances of
29771 stopped/continued in CHECK_SIGCHLD uses. Insert a delay between
29772 sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
29773 before entering the kernel for waitpid.
29775 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
29777 * NEWS: Fix note on clock function precision. Text by Roland
29780 2013-06-13 Roland McGrath <roland@hack.frob.com>
29782 * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
29783 it into place only when and if the sanity check passes.
29785 2013-06-13 Joseph Myers <joseph@codesourcery.com>
29787 * stdlib/gen-tst-strtod-round.c (round_str): Always generate
29788 output for whether conversion result is exact. Take argument
29789 indicating whether type is IBM long double.
29790 (round_for_all): Change need_exact field to ibm_ld.
29791 * stdlib/tst-strtod-round.c (struct exactness): New type.
29792 (struct test): Change bool ld_ok field to struct exactness exact.
29793 (TEST): Update all definitions for change to field.
29794 (tests): Regenerate array contents.
29795 (test_in_one_mode): Take pointer to new field instead of old ld_ok
29796 field value. Check for IBM long double here.
29797 (do_test): Update calls to test_in_one_mode.
29799 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
29802 * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
29803 CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
29805 2013-06-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29808 * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
29809 generated by the compiler on loop optimizations.
29810 * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
29811 general definitions.
29813 2013-06-12 Joseph Myers <joseph@codesourcery.com>
29815 * math/bug-nextafter.c: Include <math-tests.h>.
29816 (main): Only test for exceptions if EXCEPTION_TESTS is true for
29818 * math/bug-nexttoward.c: Include <math-tests.h>.
29819 (main): Only test for exceptions if EXCEPTION_TESTS is true for
29821 * math/test-misc.c: Include <math-tests.h>.
29822 (main): Only test for exceptions if EXCEPTION_TESTS is true for
29825 2013-06-12 Andreas Jaeger <aj@suse.de>
29827 * po/ia.po: Update Interlingua translation from translation
29830 2013-06-12 Siddhesh Poyarekar <siddhesh@redhat.com>
29832 * include/fenv.h: Include stdbool.h.
29833 (struct rm_ctx): New structure.
29834 * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
29836 (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
29837 (SET_RESTORE_ROUNDF): Likewise.
29838 (SET_RESTORE_ROUNDL): Likewise.
29839 (SET_RESTORE_ROUND_NOEX): Likewise.
29840 (SET_RESTORE_ROUND_NOEXF): Likewise.
29841 (SET_RESTORE_ROUND_NOEXL): Likewise.
29842 (SET_RESTORE_ROUND_53BIT): Likewise.
29843 [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
29844 (libc_feresetround_noexf_ctx): Likewise.
29845 (libc_feresetround_noexl_ctx): Likewise.
29846 (libc_feholdsetround_53bit_ctx): Likewise.
29847 (libc_feresetround_53bit_ctx): Likewise.
29848 * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
29849 (libc_feholdexcept_setround_sse_ctx): New function.
29850 (libc_fesetenv_sse_ctx): Likewise.
29851 (libc_feupdateenv_sse_ctx): Likewise.
29852 (libc_feholdexcept_setround_387_prec_ctx): Likewise.
29853 (libc_feholdexcept_setround_387_ctx): Likewise.
29854 (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
29855 (libc_feholdsetround_387_prec_ctx): Likewise.
29856 (libc_feholdsetround_387_ctx): Likewise.
29857 (libc_feholdsetround_387_53bit_ctx): Likewise.
29858 (libc_feholdsetround_sse_ctx): Likewise.
29859 (libc_feresetround_sse_ctx): Likewise.
29860 (libc_feresetround_387_ctx): Likewise.
29861 (libc_feupdateenv_387_ctx): Likewise.
29862 (libc_feholdexcept_setroundf_ctx): Define macro.
29863 (libc_fesetenvf_ctx): Likewise.
29864 (libc_feupdateenvf_ctx): Likewise.
29865 (libc_feholdsetroundf_ctx): Likewise.
29866 (libc_feresetroundf_ctx): Likewise.
29867 (libc_feholdexcept_setround_ctx): Likewise.
29868 (libc_fesetenv_ctx): Likewise.
29869 (libc_feupdateenv_ctx): Likewise.
29870 (libc_feholdsetround_ctx): Likewise.
29871 (libc_feresetround_ctx): Likewise.
29872 (libc_feholdexcept_setroundl_ctx): Likewise.
29873 (libc_feupdateenvl_ctx): Likewise.
29874 (libc_feholdsetroundl_ctx): Likewise.
29875 (libc_feresetroundl_ctx): Likewise.
29876 [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
29877 (libc_feresetround_53bit_ctx): Likewise.
29879 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
29881 * locale/iso-639.def: Convert to UTF-8.
29883 2013-06-11 Joseph Myers <joseph@codesourcery.com>
29885 * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
29886 (EXCEPTION_TESTS_double): Likewise.
29887 (EXCEPTION_TESTS_long_double): Likewise.
29888 (EXCEPTION_TESTS): Likewise.
29889 * math/libm-test.inc (test_exceptions): Only test exceptions if
29890 EXCEPTION_TESTS (FLOAT).
29892 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
29894 * benchtests/Makefile (string-bench): Add strcpy_chk and
29896 * benchtests/bench-stpcpy_chk-ifunc.c: New file.
29897 * benchtests/bench-stpcpy_chk.c: New file.
29898 * benchtests/bench-strcpy_chk-ifunc.c: New file.
29899 * benchtests/bench-strcpy_chk.c: New file.
29900 * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
29902 (do_test): Likewise.
29904 2013-06-11 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
29906 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
29907 ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
29908 * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
29909 with tabs where appropriate.
29910 [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
29912 [PPC_PLATFORM_PPC440]: Likewise.
29913 [PPC_PLATFORM_PPC464]: Likewise.
29914 [PPC_PLATFORM_PPC476]: Likewise.
29915 (_dl_string_platform): Add support for detecting ppc405, ppc440,
29916 ppc464, and ppc476 platform strings merging from ports/
29919 2013-06-11 Andreas Schwab <schwab@suse.de>
29922 * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
29923 (from_ucs4_idx): Regenerate.
29924 (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
29925 (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
29926 (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
29927 (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
29928 (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
29929 (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
29930 (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
29931 (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
29932 from FROM_LOOP and TO_LOOP specific macros.
29933 (BODY): Handle combining characters.
29934 * iconvdata/BIG5HKSCS.irreversible: Update.
29935 * iconvdata/BIG5HKSCS.precomposed: New file.
29936 * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
29938 * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
29940 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
29942 * include/sys/time.h: Fix indentation and add copyright header.
29944 * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
29945 (do_test): Likewise.
29946 * string/test-memchr.c (do_one_test): Likewise.
29947 (do_test): Likewise.
29948 * string/test-memcmp.c (do_one_test): Likewise.
29949 (do_test): Likewise.
29950 * string/test-memcpy.c (do_one_test): Likewise.
29951 (do_test): Likewise.
29952 * string/test-memmem.c (do_one_test): Likewise.
29953 (do_test): Likewise.
29954 (do_random_tests): Likewise.
29955 * string/test-memmove.c (do_one_test): Likewise.
29956 (do_test): Likewise.
29957 * string/test-memset.c (do_one_test): Likewise.
29958 (do_test): Likewise.
29959 * string/test-rawmemchr.c (do_one_test): Likewise.
29960 (do_test): Likewise.
29961 * string/test-strcasecmp.c (do_one_test): Likewise.
29962 (do_test): Likewise.
29963 * string/test-strcasestr.c (do_one_test): Likewise.
29964 (do_test): Likewise.
29965 * string/test-strcat.c (do_one_test): Likewise.
29966 (do_test): Likewise.
29967 * string/test-strchr.c (do_one_test): Likewise.
29968 (do_test): Likewise.
29969 * string/test-strcmp.c (do_one_test): Likewise.
29970 (do_test): Likewise.
29971 * string/test-strcpy.c (do_one_test): Likewise.
29972 (do_test): Likewise.
29973 * string/test-string.h: Likewise.
29974 (test_init): Likewise.
29975 * string/test-strlen.c (do_one_test): Likewise.
29976 (do_test): Likewise.
29977 * string/test-strncasecmp.c (do_one_test): Likewise.
29978 (do_test): Likewise.
29979 * string/test-strncat.c (do_one_test): Likewise.
29980 (do_test): Likewise.
29981 * string/test-strncmp.c (do_one_test): Likewise.
29982 (do_test_limit): Likewise.
29983 (do_test): Likewise.
29984 * string/test-strncpy.c (do_one_test): Likewise.
29985 (do_test): Likewise.
29986 * string/test-strnlen.c (do_one_test): Likewise.
29987 (do_test): Likewise.
29988 * string/test-strpbrk.c (do_one_test): Likewise.
29989 (do_test): Likewise.
29990 * string/test-strrchr.c (do_one_test): Likewise.
29991 (do_test): Likewise.
29992 * string/test-strspn.c (do_one_test): Likewise.
29993 (do_test): Likewise.
29994 * string/test-strstr.c (do_one_test): Likewise.
29995 (do_test): Likewise.
29997 * benchtests/Makefile (string-bench): Add string benchmarks.
29998 * benchtests/bench-bcopy-ifunc.c: New file.
29999 * benchtests/bench-bcopy.c: New file.
30000 * benchtests/bench-bzero-ifunc.c: New file.
30001 * benchtests/bench-bzero.c: New file.
30002 * benchtests/bench-memccpy-ifunc.c: New file.
30003 * benchtests/bench-memccpy.c: New file.
30004 * benchtests/bench-memchr-ifunc.c: New file.
30005 * benchtests/bench-memchr.c: New file.
30006 * benchtests/bench-memcmp-ifunc.c: New file.
30007 * benchtests/bench-memcmp.c: New file.
30008 * benchtests/bench-memmem-ifunc.c: New file.
30009 * benchtests/bench-memmem.c: New file.
30010 * benchtests/bench-memmove-ifunc.c: New file.
30011 * benchtests/bench-memmove.c: New file.
30012 * benchtests/bench-mempcpy-ifunc.c: New file.
30013 * benchtests/bench-mempcpy.c: New file.
30014 * benchtests/bench-memset-ifunc.c: New file.
30015 * benchtests/bench-memset.c: New file.
30016 * benchtests/bench-rawmemchr-ifunc.c: New file.
30017 * benchtests/bench-rawmemchr.c: New file.
30018 * benchtests/bench-stpcpy-ifunc.c: New file.
30019 * benchtests/bench-stpcpy.c: New file.
30020 * benchtests/bench-stpncpy-ifunc.c: New file.
30021 * benchtests/bench-stpncpy.c: New file.
30022 * benchtests/bench-strcasecmp-ifunc.c: New file.
30023 * benchtests/bench-strcasecmp.c: New file.
30024 * benchtests/bench-strcasestr-ifunc.c: New file.
30025 * benchtests/bench-strcasestr.c: New file.
30026 * benchtests/bench-strcat-ifunc.c: New file.
30027 * benchtests/bench-strcat.c: New file.
30028 * benchtests/bench-strchr-ifunc.c: New file.
30029 * benchtests/bench-strchr.c: New file.
30030 * benchtests/bench-strchrnul-ifunc.c: New file.
30031 * benchtests/bench-strchrnul.c: New file.
30032 * benchtests/bench-strcmp-ifunc.c: New file.
30033 * benchtests/bench-strcmp.c: New file.
30034 * benchtests/bench-strcpy-ifunc.c: New file.
30035 * benchtests/bench-strcpy.c: New file.
30036 * benchtests/bench-strcspn-ifunc.c: New file.
30037 * benchtests/bench-strcspn.c: New file.
30038 * benchtests/bench-strlen-ifunc.c: New file.
30039 * benchtests/bench-strlen.c: New file.
30040 * benchtests/bench-strncasecmp-ifunc.c: New file.
30041 * benchtests/bench-strncasecmp.c: New file.
30042 * benchtests/bench-strncat-ifunc.c: New file.
30043 * benchtests/bench-strncat.c: New file.
30044 * benchtests/bench-strncmp-ifunc.c: New file.
30045 * benchtests/bench-strncmp.c: New file.
30046 * benchtests/bench-strncpy-ifunc.c: New file.
30047 * benchtests/bench-strncpy.c: New file.
30048 * benchtests/bench-strnlen-ifunc.c: New file.
30049 * benchtests/bench-strnlen.c: New file.
30050 * benchtests/bench-strpbrk-ifunc.c: New file.
30051 * benchtests/bench-strpbrk.c: New file.
30052 * benchtests/bench-strrchr-ifunc.c: New file.
30053 * benchtests/bench-strrchr.c: New file.
30054 * benchtests/bench-strspn-ifunc.c: New file.
30055 * benchtests/bench-strspn.c: New file.
30056 * benchtests/bench-strstr-ifunc.c: New file.
30057 * benchtests/bench-strstr.c: New file.
30059 * benchtests/Makefile: Disable parallel execution of targets.
30060 (string-bench): Add memcpy.
30061 (benchset): New variable to store a list of benchmark sets.
30062 (bench-func): Renamed from bench.
30063 (bench-set): New target.
30064 (bench): Depend on bench-func and bench-set.
30065 * benchtests/README: Add section on benchmark sets.
30066 * benchtests/bench-memcpy-ifunc.c: New file.
30067 * benchtests/bench-memcpy.c: New file.
30068 * benchtests/bench-string.h: New file.
30070 2013-06-11 Andreas Schwab <schwab@suse.de>
30073 * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
30074 * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
30075 values in the triple.
30076 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
30077 terminator in the group key.
30079 2013-06-11 Andreas Jaeger <aj@suse.de>
30081 * po/zh_TW.po: Update Chinese (traditional) translation from
30082 translation project.
30084 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
30086 * include/time.h (__clock_gettime): Add libc_hidden_proto.
30087 * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
30088 __clock_getcpuclockid. Add weak_alias and libc_hidden_def.
30089 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
30090 (clock_getcpuclockid): Likewise.
30091 * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
30092 Add weak_alias and libc_hidden_def.
30093 * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
30094 * rt/clock_gettime.c (clock_gettime): Rename to
30095 __clock_gettime. Add weak_alias and libc_hidden_def.
30096 * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
30097 * rt/clock_nanosleep.c (clock_nanosleep): Rename to
30098 __clock_nanosleep. Add weak_alias and libc_hidden_def.
30099 * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
30100 * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
30102 * rt/clock_settime.c (clock_settime): Rename to
30103 __clock_settime. Add weak_alias and libc_hidden_def.
30104 * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
30106 2013-06-10 Joseph Myers <joseph@codesourcery.com>
30108 * mach/err_boot.sub: Remove trailing whitespace.
30109 * mach/err_ipc.sub: Likewise.
30110 * mach/err_mach.sub: Likewise.
30112 * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
30113 (ROUNDING_TESTS_double): Likewise.
30114 (ROUNDING_TESTS_long_double): Likewise.
30115 (ROUNDING_TESTS): Likewise.
30116 * math/libm-test.inc: Include <math-tests.h>.
30117 (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
30118 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
30119 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
30120 (IF_ROUND_INIT_FE_UPWARD): Likewise.
30122 2013-06-10 Siddhesh Poyarekar <siddhesh@redhat.com>
30124 * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
30127 2013-06-08 Joseph Myers <joseph@codesourcery.com>
30129 * sysdeps/gnu/errlist.awk: Do not generate space at end of
30130 otherwise empty TRANS lines.
30131 * sysdeps/gnu/errlist.c: Regenerated.
30133 * catgets/gencat.c (error_print): Use (void) in function
30135 * crypt/crypt_util.c (__init_des): Likewise.
30136 * crypt/speeds.c (Stop): Likewise.
30138 * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
30139 * inet/ruserpass.c (token): Likewise.
30140 * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
30141 * intl/localealias.c (extend_alias_table): Likewise.
30142 * intl/plural-exp.c (init_germanic_plural): Likewise.
30143 * libio/fcloseall.c (__fcloseall): Likewise.
30144 * libio/genops.c (_IO_flush_all): Likewise.
30145 (_IO_flush_all_linebuffered): Likewise.
30146 (_IO_cleanup): Likewise.
30147 (_IO_iter_begin): Likewise.
30148 (_IO_iter_end): Likewise.
30149 (_IO_list_lock): Likewise.
30150 (_IO_list_unlock): Likewise.
30151 (_IO_list_resetlock): Likewise.
30152 * libio/getchar.c (getchar): Likewise.
30153 * libio/getchar_u.c (getchar_unlocked): Likewise.
30154 * libio/getwchar.c (getwchar): Likewise.
30155 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
30156 * libio/oldstdfiles.c (_IO_check_libio): Likewise.
30157 * login/getpt.c (__getpt): Likewise.
30158 * login/tst-utmp.c (main): Likewise.
30159 * malloc/hooks.c (__malloc_check_init): Likewise.
30160 * malloc/malloc.c (__malloc_stats): Likewise.
30161 * malloc/mtrace.c (tr_break): Likewise.
30162 (mtrace): Likewise.
30163 (muntrace): Likewise.
30164 * misc/fstab.c (endfsent): Likewise.
30165 * misc/getclktck.c (__getclktck): Likewise.
30166 * misc/getdtsz.c (__getdtablesize): Likewise.
30167 * misc/gethostid.c (gethostid): Likewise.
30168 * misc/getpagesize.c (__getpagesize): Likewise.
30169 * misc/getsysstats.c (__get_nprocs_conf): Likewise.
30170 (__get_nprocs): Likewise.
30171 (__get_phys_pages): Likewise.
30172 (__get_avphys_pages): Likewise.
30173 * misc/getttyent.c (getttyent): Likewise.
30174 (setttyent): Likewise.
30175 (endttyent): Likewise.
30176 * misc/getusershell.c (getusershell): Likewise.
30177 (endusershell): Likewise.
30178 (setusershell): Likewise.
30179 (initshells): Likewise.
30180 * misc/hsearch.c (__hdestroy): Likewise.
30181 * misc/sync.c (sync): Likewise.
30182 * misc/syslog.c (closelog_internal): Likewise.
30183 (closelog): Likewise.
30184 * misc/ttyslot.c (ttyslot): Likewise.
30185 * misc/vhangup.c (vhangup): Likewise.
30186 * posix/fork.c (__fork): Likewise.
30187 * posix/getegid.c (__getegid): Likewise.
30188 * posix/geteuid.c (__geteuid): Likewise.
30189 * posix/getgid.c (__getgid): Likewise.
30190 * posix/getpid.c (__getpid): Likewise.
30191 * posix/getppid.c (__getppid): Likewise.
30192 * posix/getuid.c (__getuid): Likewise.
30193 * posix/pause.c (pause): Likewise.
30194 * posix/setpgrp.c (setpgrp): Likewise.
30195 * posix/setsid.c (__setsid): Likewise.
30196 * posix/test-vfork.c (noop): Likewise.
30197 * resolv/gethnamaddr.c (_endhtent): Likewise.
30198 (_gethtent): Likewise.
30199 (ht_endhostent): Likewise.
30200 (gethostent): Likewise.
30201 (dns_service): Likewise.
30202 * stdlib/drand48.c (drand48): Likewise.
30203 * stdlib/lrand48.c (lrand48): Likewise.
30204 * stdlib/mrand48.c (mrand48): Likewise.
30205 * stdlib/rand.c (rand): Likewise.
30206 * stdlib/random.c (__random): Likewise.
30207 * stdlib/setenv.c (clearenv): Likewise.
30208 * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
30209 * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
30210 * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
30211 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
30212 (__get_nprocs): Likewise.
30213 (__get_phys_pages): Likewise.
30214 (__get_avphys_pages): Likewise.
30215 * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
30216 * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
30217 * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
30218 * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
30219 * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
30220 * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
30221 * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
30222 * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
30223 * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
30224 * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
30225 * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
30226 * sysdeps/mach/hurd/sync.c (sync): Likewise.
30227 * sysdeps/posix/clock.c (clock): Likewise.
30228 * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
30229 * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
30230 * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
30231 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
30232 * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
30233 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
30234 (__get_nprocs_conf): Likewise.
30235 (__get_phys_pages): Likewise.
30236 (__get_avphys_pages): Likewise.
30237 * time/clock.c (clock): Likewise.
30238 * time/tzset.c (__tzname_max): Likewise.
30240 2013-06-07 Joseph Myers <joseph@codesourcery.com>
30242 * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
30243 (__bswap_32): Do not use "register".
30244 * crypt/crypt.c (_ufc_doit_r): Likewise.
30245 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
30246 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
30247 * gmon/gmon.c (__monstartup): Likewise.
30248 * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
30249 * hurd/hurdmalloc.c (more_memory): Likewise.
30250 (malloc): Likewise.
30252 (realloc): Likewise.
30253 (malloc_fork_prepare): Likewise.
30254 (malloc_fork_parent): Likewise.
30255 (malloc_fork_child): Likewise.
30256 * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
30257 (_svcauth_des): Likewise.
30258 * inet/inet_lnaof.c (inet_lnaof): Likewise.
30259 * inet/inet_net.c (inet_network): Likewise.
30260 * inet/inet_netof.c (inet_netof): Likewise.
30261 * inet/rcmd.c (__validuser2_sa): Likewise.
30262 * io/fts.c (fts_open): Likewise.
30263 (fts_load): Likewise.
30264 (fts_close): Likewise.
30265 (fts_read): Likewise.
30266 (fts_children): Likewise.
30267 (fts_build): Likewise.
30268 (fts_stat): Likewise.
30269 (fts_sort): Likewise.
30270 (fts_alloc): Likewise.
30271 (fts_lfree): Likewise.
30272 * libio/fileops.c (_IO_new_file_xsputn): Likewise.
30273 (_IO_file_xsgetn): Likewise.
30274 (_IO_file_xsgetn_mmap): Likewise.
30275 * libio/iofopncook.c (_IO_cookie_read): Likewise.
30276 (_IO_cookie_write): Likewise.
30277 * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
30278 * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
30279 * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
30280 * malloc/obstack.c (_obstack_begin): Likewise.
30281 (_obstack_begin_1): Likewise.
30282 (_obstack_newchunk): Likewise.
30283 (_obstack_allocated_p): Likewise.
30284 (obstack_free): Likewise.
30285 (_obstack_memory_used): Likewise.
30286 * misc/getttyent.c (getttynam): Likewise.
30287 (getttyent): Likewise.
30290 * misc/getusershell.c (initshells): Likewise.
30291 * misc/syslog.c (__vsyslog_chk): Likewise.
30292 * misc/ttyslot.c (ttyslot): Likewise.
30293 * nis/nis_hash.c (__nis_hash): Likewise.
30294 * posix/fnmatch_loop.c (FCT): Likewise.
30295 * posix/getconf.c (print_all): Likewise.
30297 * posix/getopt.c (exchange): Likewise.
30298 * posix/glob.c (globfree): Likewise.
30299 (prefix_array): Likewise.
30300 (__glob_pattern_type): Likewise.
30301 * resolv/arpa/nameser.h (NS_GET16): Likewise.
30302 (NS_GET32): Likewise.
30303 (NS_PUT16): Likewise.
30304 (NS_PUT32): Likewise.
30305 * resolv/gethnamaddr.c (getanswer): Likewise.
30306 (gethostbyname2): Likewise.
30307 (gethostbyaddr): Likewise.
30308 (_gethtent): Likewise.
30309 (_gethtbyname2): Likewise.
30310 (_gethtbyaddr): Likewise.
30311 * resolv/ns_print.c (dst_s_get_int16): Likewise.
30312 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
30313 * resolv/res_init.c (__res_vinit): Likewise.
30314 (net_mask): Likewise.
30315 * resolv/res_mkquery.c (outchar): Likewise.
30317 * stdio-common/printf_fp.c (outchar): Likewise.
30319 * stdio-common/printf_fphex.c (outchar): Likewise.
30321 * stdio-common/printf_size.c (outchar): Likewise.
30323 * stdio-common/test_rdwr.c (main): Likewise.
30324 * stdio-common/tfformat.c (matches): Likewise.
30325 * stdio-common/vfprintf.c (outchar): Likewise.
30326 (printf_unknown): Likewise.
30327 (buffered_vfprintf): Likewise.
30328 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
30329 * stdio-common/xbug.c (AppendToBuffer): Likewise.
30330 (ReadFile): Likewise.
30331 * stdlib/qsort.c (SWAP): Likewise.
30332 (_quicksort): Likewise.
30333 * stdlib/setenv.c (__add_to_environ): Likewise.
30334 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
30335 * stdlib/strtol_l.c (__strtol_l): Likewise.
30336 * stdlib/tst-strtod.c (main): Likewise.
30337 * stdlib/tst-strtol.c (main): Likewise.
30338 * stdlib/tst-strtoll.c (main): Likewise.
30339 * string/bits/string2.h (__strcmp_cc): Likewise.
30340 (__strcmp_cg): Likewise.
30341 (__strcspn_c1): Likewise.
30342 (__strcspn_c2): Likewise.
30343 (__strcspn_c3): Likewise.
30344 (__strspn_c1): Likewise.
30345 (__strspn_c2): Likewise.
30346 (__strspn_c3): Likewise.
30347 (__strsep_1c): Likewise.
30348 (__strsep_2c): Likewise.
30349 (__strsep_3c): Likewise.
30350 * string/memccpy.c (__memccpy): Likewise.
30351 * string/stpcpy.c (__stpcpy): Likewise.
30352 * string/strcmp.c (strcmp): Likewise.
30353 * string/strrchr.c (strrchr): Likewise.
30354 * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
30356 * sysdeps/mach/hurd/getcwd.c
30357 (_hurd_canonicalize_directory_name_internal): Likewise.
30358 * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
30359 * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
30360 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
30361 * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
30362 Likewise, in both definitions.
30363 * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
30365 [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
30366 64] (__bswap_64): Likewise.
30367 * time/test_time.c (main): Likewise.
30368 * time/tzfile.c (__tzfile_read): Likewise.
30369 (__tzfile_compute): Likewise.
30370 * time/tzset.c (__tzset_parse_tz): Likewise.
30371 (tzset_internal): Likewise.
30372 (compute_change): Likewise.
30373 * wcsmbs/wcscat.c (__wcscat): Likewise.
30374 * wcsmbs/wcschr.c (wcschr): Likewise.
30375 * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
30376 * wcsmbs/wcscspn.c (wcscspn): Likewise.
30377 * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
30378 * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
30379 * wcsmbs/wcsspn.c (wcsspn): Likewise.
30380 * wcsmbs/wcsstr.c (wcsstr): Likewise.
30381 * wcsmbs/wmemchr.c (wmemchr): Likewise.
30382 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
30383 * wcsmbs/wmemset.c (wmemset): Likewise.
30385 2013-06-06 Joseph Myers <joseph@codesourcery.com>
30387 * scripts/config.guess: Update to version 2013-05-16.
30388 * scripts/config.sub: Update to version 2013-04-24.
30389 * scripts/install-sh: Update to version 2011-11-20.07.
30390 * scripts/mkinstalldirs: Update to version 2009-04-28.21.
30391 * scripts/move-if-change: Update to version 2012-01-06 07:23.
30393 2013-06-06 Ondřej Bílka <neleai@seznam.cz>
30395 * debug/fgetws_u_chk.c: Fix leading whitespaces.
30396 * elf/sln.c: Likewise.
30397 * hurd/hurd/ioctl.h: Likewise.
30398 * hurd/hurdmalloc.c: Likewise.
30399 * hurd/xattr.c: Likewise.
30400 * include/shlib-compat.h: Likewise.
30401 * inet/ruserpass.c: Likewise.
30402 * libio/iofgets_u.c: Likewise.
30403 * libio/iofgetws_u.c: Likewise.
30404 * locale/programs/ld-identification.c: Likewise.
30405 * locale/programs/ld-time.c: Likewise.
30406 * mach/msg-destroy.c: Likewise.
30407 * nss/nss_files/files-netgrp.c: Likewise.
30408 * resolv/res_data.c: Likewise.
30409 * soft-fp/op-1.h: Likewise.
30410 * soft-fp/op-2.h: Likewise.
30411 * soft-fp/op-4.h: Likewise.
30412 * soft-fp/op-common.h: Likewise.
30413 * stdio-common/printf_fphex.c: Likewise.
30414 * stdlib/strtod_l.c: Likewise.
30415 * sunrpc/rpc/clnt.h: Likewise.
30416 * sysdeps/generic/framestate.c: Likewise.
30417 * sysdeps/i386/bsd-_setjmp.S: Likewise.
30418 * sysdeps/i386/bsd-setjmp.S: Likewise.
30419 * sysdeps/i386/__longjmp.S: Likewise.
30420 * sysdeps/i386/setjmp.S: Likewise.
30421 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
30422 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
30423 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
30424 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
30425 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
30426 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
30427 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
30428 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
30429 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
30430 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
30431 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
30432 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
30433 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
30434 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
30435 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
30436 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
30437 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
30438 * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
30439 * sysdeps/ieee754/support.c: Likewise.
30440 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
30441 * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
30442 * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
30443 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
30444 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
30445 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
30446 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
30447 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
30448 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
30449 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
30450 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
30451 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
30452 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
30453 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
30454 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
30455 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
30456 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
30457 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
30459 2013-06-05 Ondřej Bílka <neleai@seznam.cz>
30461 * posix/transbug.c: Remove executable mode.
30463 2013-06-05 Joseph Myers <joseph@codesourcery.com>
30465 * crypt/speeds.c: Remove trailing whitespace.
30466 * dlfcn/default.c: Likewise.
30467 * elf/ifuncdep2.c: Likewise.
30468 * elf/ifuncmain1.c: Likewise.
30469 * elf/ifuncmain1vis.c: Likewise.
30470 * elf/testobj.h: Likewise.
30471 * elf/tst-stackguard1.c: Likewise.
30472 * gmon/sys/gmon.h: Likewise.
30473 * hurd/hurdmsg.c: Likewise.
30474 * hurd/new-fd.c: Likewise.
30475 * hurd/ports-get.c: Likewise.
30476 * iconvdata/ibm1008_420.c: Likewise.
30477 * inet/tst-getni1.c: Likewise.
30478 * inet/tst-getni2.c: Likewise.
30479 * libio/ioungetc.c: Likewise.
30480 * libio/wfiledoalloc.c: Likewise.
30481 * manual/libm-err-tab.pl: Likewise.
30482 * math/w_dremf.c: Likewise.
30483 * misc/ftruncate.c: Likewise.
30484 * posix/bug-glob2.c: Likewise.
30485 * posix/tst-pcre.c: Likewise.
30486 * posix/wait4.c: Likewise.
30487 * resolv/README: Likewise.
30488 * resolv/res_debug.h: Likewise.
30489 * resolv/tst-inet_ntop.c: Likewise.
30490 * setjmp/bug269-setjmp.c: Likewise.
30491 * soft-fp/extended.h: Likewise.
30492 * soft-fp/op-1.h: Likewise.
30493 * soft-fp/op-2.h: Likewise.
30494 * soft-fp/op-4.h: Likewise.
30495 * soft-fp/op-8.h: Likewise.
30496 * soft-fp/testit.c: Likewise.
30497 * stdio-common/bug16.c: Likewise.
30498 * stdlib/random.c: Likewise.
30499 * sunrpc/rpcsvc/rquota.x: Likewise.
30500 * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
30501 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
30502 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
30503 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
30504 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
30505 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
30506 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
30507 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
30508 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
30509 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
30510 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
30511 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
30512 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
30513 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
30514 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
30515 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
30516 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
30517 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
30518 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
30519 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
30520 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
30521 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
30522 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
30523 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
30524 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
30525 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
30526 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
30527 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
30528 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
30529 * sysdeps/ieee754/s_lib_version.c: Likewise.
30530 * sysdeps/mach/hurd/check_fds.c: Likewise.
30531 * sysdeps/mach/hurd/getsockname.c: Likewise.
30532 * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
30533 * sysdeps/mach/hurd/recvfrom.c: Likewise.
30534 * sysdeps/powerpc/bits/link.h: Likewise.
30535 * sysdeps/powerpc/dl-procinfo.c: Likewise.
30536 * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
30537 * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
30538 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
30539 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
30540 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
30541 * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
30542 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
30543 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
30544 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
30545 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
30546 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
30547 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
30548 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
30549 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
30550 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
30551 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
30552 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
30553 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
30554 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
30555 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
30556 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
30557 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
30558 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
30559 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
30560 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
30561 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
30562 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
30563 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
30564 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
30565 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
30566 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
30567 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
30568 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
30569 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
30570 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
30571 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
30572 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
30573 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
30574 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
30575 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
30576 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
30577 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
30578 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
30579 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
30580 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
30581 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
30582 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
30583 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
30584 * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
30585 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
30586 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
30587 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
30588 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
30589 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
30590 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
30591 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
30592 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
30593 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
30594 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
30595 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
30596 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
30597 * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
30598 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
30599 * sysdeps/powerpc/sysdep.h: Likewise.
30600 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
30601 * sysdeps/s390/s390-64/sub_n.S: Likewise.
30602 * sysdeps/sh/dl-trampoline.S: Likewise.
30603 * sysdeps/sh/memset.S: Likewise.
30604 * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
30605 * sysdeps/sh/strlen.S: Likewise.
30606 * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
30607 * sysdeps/sparc/sparc32/dotmul.S: Likewise.
30608 * sysdeps/sparc/sparc32/memcpy.S: Likewise.
30609 * sysdeps/sparc/sparc32/rem.S: Likewise.
30610 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
30611 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
30612 * sysdeps/sparc/sparc32/strchr.S: Likewise.
30613 * sysdeps/sparc/sparc32/udiv.S: Likewise.
30614 * sysdeps/sparc/sparc32/urem.S: Likewise.
30615 * sysdeps/sparc/sparc64/add_n.S: Likewise.
30616 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
30617 * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
30618 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
30619 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
30620 * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
30621 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
30622 * sysdeps/sparc/sparc64/strncpy.S: Likewise.
30623 * sysdeps/unix/bsd/times.c: Likewise.
30624 * sysdeps/unix/sysv/linux/a.out.h: Likewise.
30625 * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
30626 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
30627 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
30628 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
30629 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
30630 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
30631 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
30632 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
30633 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
30634 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
30635 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
30636 * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
30637 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
30638 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
30639 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
30640 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
30641 * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
30642 * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
30643 * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
30644 * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
30645 * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
30646 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
30647 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
30648 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
30649 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
30650 * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
30651 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
30652 * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
30653 * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
30654 * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
30655 * sysdeps/x86_64/strcspn.S: Likewise.
30657 2013-06-05 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
30659 * locale/C-translit.h: Revert #include <stdint.h> because this is a
30660 generated file. Regenerate properly from gen-translit.pl.
30661 * locale/gen-translit.pl: Add #include <stdint.h>. This generates
30662 locale/C-translit.h.
30664 2013-06-05 Andreas Schwab <schwab@suse.de>
30667 * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
30668 week as 6 instead of -1.
30669 * time/tst-strptime.c (day_tests): Add test case.
30671 2013-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
30673 * sysdeps/generic/math_private.h
30674 (libc_feholdexcept_setround_53bit): Replace with
30675 libc_feholdsetround_53bit.
30676 (libc_feupdateenv_53bit): Replace with
30677 libc_feresetround_53bit.
30678 (SET_RESTORE_ROUND_53BIT): Adjust.
30680 2013-06-03 Siddhesh Poyarekar <siddhesh@redhat.com>
30682 * string/test-strchrnul.c: Add copyright header.
30684 * posix/tst-getaddrinfo4.c: Increase test timeout.
30686 2013-06-03 Carlos O'Donell <carlos@redhat.com>
30689 * math/libm-test.inc (MAX_EXP): Remove
30691 (ulp): Use MIN_EXP - MANT_DIG.
30692 (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
30694 2013-05-31 Carlos O'Donell <carlos@redhat.com>
30696 * po/be.po: Revert last change.
30697 * po/zh_CN.po: Likewise.
30698 * po/header.pot: Likewise.
30700 2013-05-31 Joseph Myers <joseph@codesourcery.com>
30702 * Makefile ($(common-objpfx)linkobj/libc.so): Define
30703 link-libc-deps to empty as target-specific variable.
30704 * Makerules (link-libc-args): New variable.
30705 (libc-for-link): Likewise.
30706 (link-libc-deps): Likewise.
30707 (lib%.so): Depend on $(link-libc-deps). Link with
30709 (build-module): Link with $(link-libc-args).
30710 (build-module-asneeded): Likewise.
30711 (build-module-helper-objlist): Filter out $(link-libc-deps) from
30713 ($(common-objpfx)libc.so): Define link-libc-deps to empty as
30714 target-specific variable.
30715 ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
30716 $(link-libc-deps) instead of libc.so and libc_nonshared.a.
30717 * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
30719 * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
30721 ($(objpfx)libpcprofile.so): Likewise.
30722 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
30724 ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
30725 * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
30726 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
30728 ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
30729 * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
30730 * login/Makefile ($(objpfx)libutil.so): Likewise.
30731 * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
30732 * math/Makefile ($(objpfx)libm.so): Likewise.
30733 * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
30734 $(objpfx)libnsl.so): Define libc-for-link as target-specific
30735 variable instead of depending directly on libc.
30736 * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
30737 ($(objpfx)/libnss_test1.so): Change dependencies on libc to
30739 * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
30741 [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
30742 ($(objpfx)libnss_dns.so): Remove dependencies on libc.
30743 ($(objpfx)libanl.so): Likewise.
30744 * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
30746 * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
30748 * sysdeps/i386/fpu/Makefile: Remove file.
30749 * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
30750 ($(objpfx)libm.so): Remove dependency on ld.so.
30752 2013-05-30 Patsy Franklin <pfrankli@redhat.com>
30755 * nis/yp_xdr.c (XDRMAXNAME): Define.
30756 (XDRMAXRECORD): Define.
30757 (xdr_domainname): Use XDRMAXNAME.
30758 (xdr_mapname): Likewise.
30759 (xdr_peername): Likewise.
30760 (xdr_keydat): Use XDRMAXRECORD.
30761 (xdr_valdat): Likewise.
30763 2013-05-30 Jeff Law <law@redhat.com>
30766 * manual/errno.texi (ESTALE): Update to account for more than
30767 just NFS file systems.
30768 * sysdeps/gnu/errlist.c: Regenerated.
30770 2013-05-29 Siddhesh Poyarekar <siddhesh@redhat.com>
30773 * elf/Makefile (tests): Add tst-null-argv.
30774 (modules-names): Add tst-null-argv-lib.
30775 ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
30776 (tst-null-argv-ENV): Set environment for tst-null-argv.
30777 * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
30778 (RTLD_PROGNAME): New macro.
30779 * elf/tst-null-argv.c: New test case.
30780 * elf/tst-null-argv-lib.c: Library for test case.
30781 * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
30782 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
30783 * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
30784 * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
30785 * elf/dl-init.c (call_init): Likewise.
30786 (_dl_init): Likewise.
30787 * elf/dl-load.c (print_search_path): Likewise.
30788 (_dl_map_object): Likewise.
30789 * elf/dl-lookup.c (do_lookup_x): Likewise.
30790 (add_dependency): Likewise.
30791 (_dl_lookup_symbol_x): Likewise.
30792 (_dl_debug_bindings): Likewise.
30793 * elf/dl-open.c (_dl_show_scope): Likewise.
30794 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
30795 * elf/dl-version.c (match_symbol): Likewise.
30796 (_dl_check_map_versions): Likewise.
30797 * elf/rtld.c (dl_main): Likewise.
30798 (print_unresolved): Use RTLD_PROGNAME.
30799 (print_missing_version): Likewise.
30800 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
30801 (elf_machine_rela): Likewise.
30802 * sysdeps/powerpc/powerpc32/dl-machine.c
30803 (__process_machine_rela): Likewise.
30804 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
30806 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
30808 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
30810 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
30811 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
30813 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
30815 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
30817 2013-05-28 Carlos O'Donell <carlos@redhat.com>
30819 * po/be.po: Add descriptive title.
30820 * po/zh_CN.po: Likewise.
30821 * po/header.pot: Likewise.
30823 2013-05-28 Mike Frysinger <vapier@gentoo.org>
30825 * locale/programs/locarchive.c (create_archive): Inlucde fname in
30827 (enlarge_archive): Likewise.
30829 2013-05-28 Ben North <ben@redfrontdoor.org>
30831 * manual/arith.texi (frexp): It is the magnitude of the return
30832 value which lies in [0.5, 1), not the return value itself.
30834 2013-05-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30836 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
30838 2013-05-26 Thomas Schwinge <thomas@codesourcery.com>
30840 * stdio-common/bug26.c (main): Correct fscanf template.
30842 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
30843 declare _dl_skip_args.
30845 * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
30848 * manual/platform.texi: Add missing @end deftypefun.
30850 2013-05-24 Joseph Myers <joseph@codesourcery.com>
30853 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
30854 bit of mantissa of 2^16382.
30855 * math/libm-test.inc (hypot_test_data): Add more tests.
30857 * math/libm-test.inc: Add drem and pow10 to list of tested
30859 (pow10_test): New function.
30860 (drem_test): Likewise.
30861 (drem_test_tonearest): Likewise.
30862 (drem_test_towardzero): Likewise.
30863 (drem_test_downward): Likewise.
30864 (drem_test_upward): Likewise.
30865 (main): Call the new functions.
30867 * math/libm-test.inc (finite_test_data): Remove.
30868 (finite_test): Run tests from isfinite_test_data.
30869 (gamma_test_data): Remove.
30870 (gamma_test): Run tests from lgamma_test_data.
30871 * sysdeps/i386/fpu/libm-test-ulps: Update.
30872 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30874 2013-05-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30876 * manual/platform.texi: Add PowerPC PPR function set documentation.
30877 * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
30880 2013-05-24 Carlos O'Donell <carlos@redhat.com>
30882 * math/libm-test.inc (MAX_EXP): Define.
30884 (ulp): New function.
30885 (check_float_internal): Use ULPDIFF.
30886 (cpow_test): Disable failing test.
30887 (check_ulp): Test ulp() implemetnation.
30888 (main): Call check_ulp before starting tests.
30890 2013-05-24 Joseph Myers <joseph@codesourcery.com>
30892 * math/gen-libm-test.pl (generate_testfile): Do not handle
30893 START_DATA and END_DATA.
30894 * math/libm-test.inc (acos_test_data): Do not use START_DATA and
30896 (acos_tonearest_test_data): Likewise.
30897 (acos_towardzero_test_data): Likewise.
30898 (acos_downward_test_data): Likewise.
30899 (acos_upward_test_data): Likewise.
30900 (acosh_test_data): Likewise.
30901 (asin_test_data): Likewise.
30902 (asin_tonearest_test_data): Likewise.
30903 (asin_towardzero_test_data): Likewise.
30904 (asin_downward_test_data): Likewise.
30905 (asin_upward_test_data): Likewise.
30906 (asinh_test_data): Likewise.
30907 (atan_test_data): Likewise.
30908 (atanh_test_data): Likewise.
30909 (atan2_test_data): Likewise.
30910 (cabs_test_data): Likewise.
30911 (cacos_test_data): Likewise.
30912 (cacosh_test_data): Likewise.
30913 (carg_test_data): Likewise.
30914 (casin_test_data): Likewise.
30915 (casinh_test_data): Likewise.
30916 (catan_test_data): Likewise.
30917 (catanh_test_data): Likewise.
30918 (cbrt_test_data): Likewise.
30919 (ccos_test_data): Likewise.
30920 (ccosh_test_data): Likewise.
30921 (ceil_test_data): Likewise.
30922 (cexp_test_data): Likewise.
30923 (cimag_test_data): Likewise.
30924 (clog_test_data): Likewise.
30925 (clog10_test_data): Likewise.
30926 (conj_test_data): Likewise.
30927 (copysign_test_data): Likewise.
30928 (cos_test_data): Likewise.
30929 (cos_tonearest_test_data): Likewise.
30930 (cos_towardzero_test_data): Likewise.
30931 (cos_downward_test_data): Likewise.
30932 (cos_upward_test_data): Likewise.
30933 (cosh_test_data): Likewise.
30934 (cosh_tonearest_test_data): Likewise.
30935 (cosh_towardzero_test_data): Likewise.
30936 (cosh_downward_test_data): Likewise.
30937 (cosh_upward_test_data): Likewise.
30938 (cpow_test_data): Likewise.
30939 (cproj_test_data): Likewise.
30940 (creal_test_data): Likewise.
30941 (csin_test_data): Likewise.
30942 (csinh_test_data): Likewise.
30943 (csqrt_test_data): Likewise.
30944 (ctan_test_data): Likewise.
30945 (ctan_tonearest_test_data): Likewise.
30946 (ctan_towardzero_test_data): Likewise.
30947 (ctan_downward_test_data): Likewise.
30948 (ctan_upward_test_data): Likewise.
30949 (ctanh_test_data): Likewise.
30950 (ctanh_tonearest_test_data): Likewise.
30951 (ctanh_towardzero_test_data): Likewise.
30952 (ctanh_downward_test_data): Likewise.
30953 (ctanh_upward_test_data): Likewise.
30954 (erf_test_data): Likewise.
30955 (erfc_test_data): Likewise.
30956 (exp_test_data): Likewise.
30957 (exp_tonearest_test_data): Likewise.
30958 (exp_towardzero_test_data): Likewise.
30959 (exp_downward_test_data): Likewise.
30960 (exp_upward_test_data): Likewise.
30961 (exp10_test_data): Likewise.
30962 (exp2_test_data): Likewise.
30963 (expm1_test_data): Likewise.
30964 (fabs_test_data): Likewise.
30965 (fdim_test_data): Likewise.
30966 (finite_test_data): Likewise.
30967 (floor_test_data): Likewise.
30968 (fma_test_data): Likewise.
30969 (fma_towardzero_test_data): Likewise.
30970 (fma_downward_test_data): Likewise.
30971 (fma_upward_test_data): Likewise.
30972 (fmax_test_data): Likewise.
30973 (fmin_test_data): Likewise.
30974 (fmod_test_data): Likewise.
30975 (fpclassify_test_data): Likewise.
30976 (frexp_test_data): Likewise.
30977 (gamma_test_data): Likewise.
30978 (hypot_test_data): Likewise.
30979 (ilogb_test_data): Likewise.
30980 (isfinite_test_data): Likewise.
30981 (isgreater_test_data): Likewise.
30982 (isgreaterequal_test_data): Likewise.
30983 (isinf_test_data): Likewise.
30984 (isless_test_data): Likewise.
30985 (islessequal_test_data): Likewise.
30986 (islessgreater_test_data): Likewise.
30987 (isnan_test_data): Likewise.
30988 (isnormal_test_data): Likewise.
30989 (issignaling_test_data): Likewise.
30990 (isunordered_test_data): Likewise.
30991 (j0_test_data): Likewise.
30992 (j1_test_data): Likewise.
30993 (jn_test_data): Likewise.
30994 (ldexp_test_data): Likewise.
30995 (lgamma_test_data): Likewise.
30996 (lrint_test_data): Likewise.
30997 (lrint_tonearest_test_data): Likewise.
30998 (lrint_towardzero_test_data): Likewise.
30999 (lrint_downward_test_data): Likewise.
31000 (lrint_upward_test_data): Likewise.
31001 (llrint_test_data): Likewise.
31002 (llrint_tonearest_test_data): Likewise.
31003 (llrint_towardzero_test_data): Likewise.
31004 (llrint_downward_test_data): Likewise.
31005 (llrint_upward_test_data): Likewise.
31006 (log_test_data): Likewise.
31007 (log10_test_data): Likewise.
31008 (log1p_test_data): Likewise.
31009 (log2_test_data): Likewise.
31010 (logb_test_data): Likewise.
31011 (logb_downward_test_data): Likewise.
31012 (lround_test_data): Likewise.
31013 (llround_test_data): Likewise.
31014 (modf_test_data): Likewise.
31015 (nearbyint_test_data): Likewise.
31016 (nextafter_test_data): Likewise.
31017 (nexttoward_test_data): Likewise.
31018 (pow_test_data): Likewise.
31019 (pow_tonearest_test_data): Likewise.
31020 (pow_towardzero_test_data): Likewise.
31021 (pow_downward_test_data): Likewise.
31022 (pow_upward_test_data): Likewise.
31023 (remainder_test_data): Likewise.
31024 (remainder_tonearest_test_data): Likewise.
31025 (remainder_towardzero_test_data): Likewise.
31026 (remainder_downward_test_data): Likewise.
31027 (remainder_upward_test_data): Likewise.
31028 (remquo_test_data): Likewise.
31029 (rint_test_data): Likewise.
31030 (rint_tonearest_test_data): Likewise.
31031 (rint_towardzero_test_data): Likewise.
31032 (rint_downward_test_data): Likewise.
31033 (rint_upward_test_data): Likewise.
31034 (round_test_data): Likewise.
31035 (scalb_test_data): Likewise.
31036 (scalbn_test_data): Likewise.
31037 (scalbln_test_data): Likewise.
31038 (signbit_test_data): Likewise.
31039 (sin_test_data): Likewise.
31040 (sin_tonearest_test_data): Likewise.
31041 (sin_towardzero_test_data): Likewise.
31042 (sin_downward_test_data): Likewise.
31043 (sin_upward_test_data): Likewise.
31044 (sincos_test_data): Likewise.
31045 (sinh_test_data): Likewise.
31046 (sinh_tonearest_test_data): Likewise.
31047 (sinh_towardzero_test_data): Likewise.
31048 (sinh_downward_test_data): Likewise.
31049 (sinh_upward_test_data): Likewise.
31050 (sqrt_test_data): Likewise.
31051 (tan_test_data): Likewise.
31052 (tan_tonearest_test_data): Likewise.
31053 (tan_towardzero_test_data): Likewise.
31054 (tan_downward_test_data): Likewise.
31055 (tan_upward_test_data): Likewise.
31056 (tanh_test_data): Likewise.
31057 (tgamma_test_data): Likewise.
31058 (trunc_test_data): Likewise.
31059 (y0_test_data): Likewise.
31060 (y1_test_data): Likewise.
31061 (yn_test_data): Likewise.
31062 (significand_test_data): Likewise.
31064 * math/gen-libm-test.pl (@functions): Remove variable.
31065 (generate_testfile): Don't handle START and END lines.
31066 * math/libm-test.inc (START): New macro.
31068 (END_COMPLEX): Likewise.
31069 (acos_test): Use END macro without arguments.
31070 (acos_test_tonearest): Likewise.
31071 (acos_test_towardzero): Likewise.
31072 (acos_test_downward): Likewise.
31073 (acos_test_upward): Likewise.
31074 (acosh_test): Likewise.
31075 (asin_test): Likewise.
31076 (asin_test_tonearest): Likewise.
31077 (asin_test_towardzero): Likewise.
31078 (asin_test_downward): Likewise.
31079 (asin_test_upward): Likewise.
31080 (asinh_test): Likewise.
31081 (atan_test): Likewise.
31082 (atanh_test): Likewise.
31083 (atan2_test): Likewise.
31084 (cabs_test): Likewise.
31085 (cacos_test): Use END_COMPLEX macro without arguments.
31086 (cacosh_test): Likewise.
31087 (carg_test): Use END macro without arguments.
31088 (casin_test): Use END_COMPLEX macro without arguments.
31089 (casinh_test): Likewise.
31090 (catan_test): Likewise.
31091 (catanh_test): Likewise.
31092 (cbrt_test): Use END macro without arguments.
31093 (ccos_test): Use END_COMPLEX macro without arguments.
31094 (ccosh_test): Likewise.
31095 (ceil_test): Use END macro without arguments.
31096 (cexp_test): Use END_COMPLEX macro without arguments.
31097 (cimag_test): Use END macro without arguments.
31098 (clog_test): Use END_COMPLEX macro without arguments.
31099 (clog10_test): Likewise.
31100 (conj_test): Likewise.
31101 (copysign_test): Use END macro without arguments.
31102 (cos_test): Likewise.
31103 (cos_test_tonearest): Likewise.
31104 (cos_test_towardzero): Likewise.
31105 (cos_test_downward): Likewise.
31106 (cos_test_upward): Likewise.
31107 (cosh_test): Likewise.
31108 (cosh_test_tonearest): Likewise.
31109 (cosh_test_towardzero): Likewise.
31110 (cosh_test_downward): Likewise.
31111 (cosh_test_upward): Likewise.
31112 (cpow_test): Use END_COMPLEX macro without arguments.
31113 (cproj_test): Likewise.
31114 (creal_test): Use END macro without arguments.
31115 (csin_test): Use END_COMPLEX macro without arguments.
31116 (csinh_test): Likewise.
31117 (csqrt_test): Likewise.
31118 (ctan_test): Likewise.
31119 (ctan_test_tonearest): Likewise.
31120 (ctan_test_towardzero): Likewise.
31121 (ctan_test_downward): Likewise.
31122 (ctan_test_upward): Likewise.
31123 (ctanh_test): Likewise.
31124 (ctanh_test_tonearest): Likewise.
31125 (ctanh_test_towardzero): Likewise.
31126 (ctanh_test_downward): Likewise.
31127 (ctanh_test_upward): Likewise.
31128 (erf_test): Use END macro without arguments.
31129 (erfc_test): Likewise.
31130 (exp_test): Likewise.
31131 (exp_test_tonearest): Likewise.
31132 (exp_test_towardzero): Likewise.
31133 (exp_test_downward): Likewise.
31134 (exp_test_upward): Likewise.
31135 (exp10_test): Likewise.
31136 (exp2_test): Likewise.
31137 (expm1_test): Likewise.
31138 (fabs_test): Likewise.
31139 (fdim_test): Likewise.
31140 (finite_test): Likewise.
31141 (floor_test): Likewise.
31142 (fma_test): Likewise.
31143 (fma_test_towardzero): Likewise.
31144 (fma_test_downward): Likewise.
31145 (fma_test_upward): Likewise.
31146 (fmax_test): Likewise.
31147 (fmin_test): Likewise.
31148 (fmod_test): Likewise.
31149 (fpclassify_test): Likewise.
31150 (frexp_test): Likewise.
31151 (gamma_test): Likewise.
31152 (hypot_test): Likewise.
31153 (ilogb_test): Likewise.
31154 (isfinite_test): Likewise.
31155 (isgreater_test): Likewise.
31156 (isgreaterequal_test): Likewise.
31157 (isinf_test): Likewise.
31158 (isless_test): Likewise.
31159 (islessequal_test): Likewise.
31160 (islessgreater_test): Likewise.
31161 (isnan_test): Likewise.
31162 (isnormal_test): Likewise.
31163 (issignaling_test): Likewise.
31164 (isunordered_test): Likewise.
31165 (j0_test): Likewise.
31166 (j1_test): Likewise.
31167 (jn_test): Likewise.
31168 (ldexp_test): Likewise.
31169 (lgamma_test): Likewise.
31170 (lrint_test): Likewise.
31171 (lrint_test_tonearest): Likewise.
31172 (lrint_test_towardzero): Likewise.
31173 (lrint_test_downward): Likewise.
31174 (lrint_test_upward): Likewise.
31175 (llrint_test): Likewise.
31176 (llrint_test_tonearest): Likewise.
31177 (llrint_test_towardzero): Likewise.
31178 (llrint_test_downward): Likewise.
31179 (llrint_test_upward): Likewise.
31180 (log_test): Likewise.
31181 (log10_test): Likewise.
31182 (log1p_test): Likewise.
31183 (log2_test): Likewise.
31184 (logb_test): Likewise.
31185 (logb_test_downward): Likewise.
31186 (lround_test): Likewise.
31187 (llround_test): Likewise.
31188 (modf_test): Likewise.
31189 (nearbyint_test): Likewise.
31190 (nextafter_test): Likewise.
31191 (nexttoward_test): Likewise.
31192 (pow_test): Likewise.
31193 (pow_test_tonearest): Likewise.
31194 (pow_test_towardzero): Likewise.
31195 (pow_test_downward): Likewise.
31196 (pow_test_upward): Likewise.
31197 (remainder_test): Likewise.
31198 (remainder_test_tonearest): Likewise.
31199 (remainder_test_towardzero): Likewise.
31200 (remainder_test_downward): Likewise.
31201 (remainder_test_upward): Likewise.
31202 (remquo_test): Likewise.
31203 (rint_test): Likewise.
31204 (rint_test_tonearest): Likewise.
31205 (rint_test_towardzero): Likewise.
31206 (rint_test_downward): Likewise.
31207 (rint_test_upward): Likewise.
31208 (round_test): Likewise.
31209 (scalb_test): Likewise.
31210 (scalbn_test): Likewise.
31211 (scalbln_test): Likewise.
31212 (signbit_test): Likewise.
31213 (sin_test): Likewise.
31214 (sin_test_tonearest): Likewise.
31215 (sin_test_towardzero): Likewise.
31216 (sin_test_downward): Likewise.
31217 (sin_test_upward): Likewise.
31218 (sincos_test): Likewise.
31219 (sinh_test): Likewise.
31220 (sinh_test_tonearest): Likewise.
31221 (sinh_test_towardzero): Likewise.
31222 (sinh_test_downward): Likewise.
31223 (sinh_test_upward): Likewise.
31224 (sqrt_test): Likewise.
31225 (tan_test): Likewise.
31226 (tan_test_tonearest): Likewise.
31227 (tan_test_towardzero): Likewise.
31228 (tan_test_downward): Likewise.
31229 (tan_test_upward): Likewise.
31230 (tanh_test): Likewise.
31231 (tgamma_test): Likewise.
31232 (trunc_test): Likewise.
31233 (y0_test): Likewise.
31234 (y1_test): Likewise.
31235 (yn_test): Likewise.
31236 (significand_test): Likewise.
31238 2013-05-24 Ondřej Bílka <neleai@seznam.cz>
31241 * libio/genops.c (_IO_no_init): Initialize wide struct info.
31243 2013-05-23 Edjunior Machado <emachado@linux.vnet.ibm.com>
31246 * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
31247 __ppc_mdoio and __ppc_mdoom.
31248 * manual/platform.texi: Document new functions __ppc_yield,
31249 __ppc_mdoio and __ppc_mdoom.
31251 2013-05-22 Carlos O'Donell <carlos@redhat.com>
31253 * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
31254 (main): Mention "tls" pseudo-hwcap is legacy.
31255 * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
31257 2013-05-22 Joseph Myers <joseph@codesourcery.com>
31259 * math/gen-libm-test.pl (parse_args): Output only string of
31260 arguments as text for test name, not full call or descriptions of
31261 tests for extra outputs.
31262 (generate_testfile): Do not pass function name to parse_args.
31263 Generate this_func variable from START.
31264 * math/libm-test.inc (struct test_f_f_data): Rename test_name
31266 (struct test_ff_f_data): Likewise.
31267 (test_ff_f_data_nexttoward): Likewise.
31268 (struct test_fi_f_data): Likewise.
31269 (struct test_fl_f_data): Likewise.
31270 (struct test_if_f_data): Likewise.
31271 (struct test_fff_f_data): Likewise.
31272 (struct test_c_f_data): Likewise.
31273 (struct test_f_f1_data): Likewise. Remove field extra_name.
31274 (struct test_fF_f1_data): Likewise.
31275 (struct test_ffI_f1_data): Likewise.
31276 (struct test_c_c_data): Rename test_name field to arg_str.
31277 (struct test_cc_c_data): Likewise.
31278 (struct test_f_i_data): Likewise.
31279 (struct test_ff_i_data): Likewise.
31280 (struct test_f_l_data): Likewise.
31281 (struct test_f_L_data): Likewise.
31282 (struct test_fFF_11_data): Likewise. Remove fields extra1_name
31284 (COMMON_TEST_SETUP): New macro.
31285 (EXTRA_OUTPUT_TEST_SETUP): Likewise.
31286 (COMMON_TEST_CLEANUP): Likewise.
31287 (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
31288 (RUN_TEST_f_f): Take argument string. Call new setup and cleanup
31290 (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
31291 (RUN_TEST_2_f): Take argument string. Call new setup and cleanup
31293 (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
31294 (RUN_TEST_fff_f): Take argument string. Call new setup and
31296 (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
31297 (RUN_TEST_c_f): Take argument string. Call new setup and cleanup
31299 (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
31300 (RUN_TEST_f_f1): Take argument string. Call new setup and cleanup
31302 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
31303 (RUN_TEST_fF_f1): Take argument string. Call new setup and
31305 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
31306 (RUN_TEST_fI_f1): Take argument string. Call new setup and
31308 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
31309 (RUN_TEST_ffI_f1): Take argument string. Call new setup and
31311 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
31312 (RUN_TEST_c_c): Take argument string. Call new setup and cleanup
31314 (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
31315 (RUN_TEST_cc_c): Take argument string. Call new setup and cleanup
31317 (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
31318 (RUN_TEST_f_i): Take argument string. Call new setup and cleanup
31320 (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
31321 (RUN_TEST_f_i_tg): Take argument string. Call new setup and
31323 (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
31324 (RUN_TEST_ff_i_tg): Take argument string. Call new setup and
31326 (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
31327 (RUN_TEST_f_b): Take argument string. Call new setup and cleanup
31329 (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
31330 (RUN_TEST_f_b_tg): Take argument string. Call new setup and
31332 (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
31333 (RUN_TEST_f_l): Take argument string. Call new setup and cleanup
31335 (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
31336 (RUN_TEST_f_L): Take argument string. Call new setup and cleanup
31338 (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
31339 (RUN_TEST_fFF_11): Take argument string. Call new setup and
31341 (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
31343 2013-05-22 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
31345 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
31346 to _sifields.sigfault.
31347 (si_addr_lsb): Define new macro.
31348 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
31349 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
31350 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
31352 2013-05-03 Carlos O'Donell <carlos at redhat.com>
31355 * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
31357 (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
31359 * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
31360 loading the domain.
31362 2013-05-22 Joseph Myers <joseph@codesourcery.com>
31364 * math/gen-libm-test.pl (parse_args): Do not include expected
31365 result in test name.
31366 * sysdeps/i386/fpu/libm-test-ulps: Update test names.
31367 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
31368 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
31369 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
31370 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
31371 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31373 2013-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
31375 * benchtests/Makefile: Sort function entries.
31377 * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
31378 tanh, asinh, acosh, atanh.
31379 * benchtests/acos-inputs: New file.
31380 * benchtests/acosh-inputs: New file.
31381 * benchtests/asin-inputs: New file.
31382 * benchtests/asinh-inputs: New file.
31383 * benchtests/atanh-inputs: New file.
31384 * benchtests/cosh-inputs: New file.
31385 * benchtests/log-inputs: New file.
31386 * benchtests/sinh-inputs: New file.
31387 * benchtests/tanh-inputs: New file.
31389 2013-05-21 Dmitry V. Levin <ldv@altlinux.org>
31392 * posix/tst-getaddrinfo4.c: New test.
31393 * posix/Makefile (tests): Add it.
31395 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
31398 * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
31399 when no services were used.
31400 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
31401 Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
31403 2013-05-21 Andreas Schwab <schwab@suse.de>
31406 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
31407 [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
31409 * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
31410 redundant variable declarations and reallocation of buffer when
31411 parsing as IPv6 address. Always set NSS status when called from
31412 reentrant functions. Use NETDB_INTERNAL instead of TRY_AGAIN when
31413 buffer too small. Correct computation of needed size.
31414 * nss/Makefile (tests): Add test-digits-dots.
31415 * nss/test-digits-dots.c: New test.
31417 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
31419 * benchtests/Makefile: Remove instructions for adding
31421 * benchtests/README: New file to explain how to execute and
31422 enhance the benchmark tests.
31424 2013-05-21 Andreas Schwab <schwab@suse.de>
31427 * setjmp/Makefile (tests): Add tst-sigsetjmp.
31428 * setjmp/tst-sigsetjmp.c: New test.
31430 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
31432 * sysdeps/x86_64/memset.S (memset): New implementation.
31433 (__bzero): Likewise.
31434 (__memset_tail): New function.
31436 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
31438 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
31439 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
31440 __memcpy_sse2_unaligned ifunc selection.
31441 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
31442 Add memcpy-sse2-unaligned.S.
31443 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
31444 Add: __memcpy_sse2_unaligned.
31446 2013-05-19 Joseph Myers <joseph@codesourcery.com>
31449 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
31450 math_force_eval before restoring floating-point envrionment.
31451 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
31452 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
31454 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
31456 (__nearbyintl): Use math_force_eval before restoring
31457 floating-point environment.
31458 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
31460 * math/gen-libm-test.pl (special_functions): Remove.
31461 (parse_args): Don't handle TEST_extra. Handle functions with no
31463 * math/libm-test.inc (struct test_sincos_data): Replace with
31464 struct test_fFF_11_data.
31465 (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
31466 (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
31467 (sincos_test_data): Change element type to struct
31468 test_fFF_11_data. Use TEST_fFF_11 instead of TEST_extra.
31469 (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
31470 RUN_TEST_LOOP_sincos.
31471 * math/README.libm-test: Don't mention special handling of
31472 individual functions.
31473 * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
31474 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
31475 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
31476 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
31477 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
31478 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31480 * math/gen-libm-test.pl (get_variable): Remove function.
31481 (parse_args): Don't show pointer parameters to call in test
31482 names. Use "extra output N" in test names for extra outputs
31483 rather than naming variables.
31485 2013-05-18 Joseph Myers <joseph@codesourcery.com>
31488 * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
31489 __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
31490 * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
31492 * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
31494 (do_test) [NO_LONG_DOUBLE]: Do not disable call to
31497 * math/gen-libm-test.pl (@tests): Remove variable.
31498 ($count): Likewise.
31499 (new_test): Remove function.
31500 (show_exceptions): New function.
31501 (special_functions): Use show_exceptions instead of new_test.
31502 (parse_args): Likewise.
31503 (generate_testfile): Pass only function name in generated call to
31504 print_max_error or print_complex_max_error.
31505 (get_ulps): Do not handle complex tests specially.
31506 (output_test): Rename to ...
31507 (get_all_ulps_for_test): ... this. Return a string rather than
31508 printing to a file. Require ulps to be present.
31509 (output_ulps): Generate arrays rather than #defines.
31510 * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
31511 (struct ulp_data): New type.
31512 (BUILD_COMPLEX_ULP): Remove macro.
31513 (compare_ulp_data): New function.
31514 (find_ulps): Likewise.
31515 (find_test_ulps): Likewise.
31516 (find_function_ulps): Likewise.
31517 (find_complex_function_ulps): Likewise.
31518 (print_max_error): Determine allowed ulps using
31519 find_function_ulps.
31520 (print_complex_max_error): Determine allowed ulps using
31521 find_complex_function_ulps.
31522 (check_float_internal): Determine max ulps using find_test_ulps.
31523 (check_float): Do not take max_ulp parameter. Update call to
31524 check_float_internal.
31525 (check_complex): Likewise.
31526 (check_int): Do not take max_ulp parameter.
31527 (check_long): Likewise.
31528 (check_bool): Likewise.
31529 (check_longlong): Likewise.
31530 (struct test_f_f_data): Remove max_ulp field.
31531 (struct test_ff_f_data): Likewise.
31532 (struct test_ff_f_data_nexttoward): Likewise.
31533 (struct test_fi_f_data): Likewise.
31534 (struct test_fl_f_data): Likewise.
31535 (struct test_if_f_data): Likewise.
31536 (struct test_fff_f_data): Likewise.
31537 (struct test_c_f_data): Likewise.
31538 (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
31539 (struct test_fF_f1_data): Likewise.
31540 (struct test_ffI_f1_data): Likewise.
31541 (struct test_c_c_data): Remove max_ulp field.
31542 (struct test_cc_c_data): Likewise.
31543 (struct test_f_i_data): Likewise.
31544 (struct test_ff_i_data): Likewise.
31545 (struct test_f_l_data): Likewise.
31546 (struct test_f_L_data): Likewise.
31547 (struct test_sincos_data): Likewise.
31548 (RUN_TEST_f_f): Do not handle ulps.
31549 (RUN_TEST_LOOP_f_f): Likewise.
31550 (RUN_TEST_2_f): Likewise.
31551 (RUN_TEST_LOOP_2_f): Likewise.
31552 (RUN_TEST_fff_f): Likewise.
31553 (RUN_TEST_LOOP_fff_f): Likewise.
31554 (RUN_TEST_c_f): Likewise.
31555 (RUN_TEST_LOOP_c_f): Likewise.
31556 (RUN_TEST_f_f1): Likewise.
31557 (RUN_TEST_LOOP_f_f1): Likewise.
31558 (RUN_TEST_fF_f1): Likewise.
31559 (RUN_TEST_LOOP_fF_f1): Likewise.
31560 (RUN_TEST_fI_f1): Likewise.
31561 (RUN_TEST_LOOP_fI_f1): Likewise.
31562 (RUN_TEST_ffI_f1): Likewise.
31563 (RUN_TEST_LOOP_ffI_f1): Likewise.
31564 (RUN_TEST_c_c): Likewise.
31565 (RUN_TEST_LOOP_c_c): Likewise.
31566 (RUN_TEST_cc_c): Likewise.
31567 (RUN_TEST_LOOP_cc_c): Likewise.
31568 (RUN_TEST_f_i): Likewise.
31569 (RUN_TEST_LOOP_f_i): Likewise.
31570 (RUN_TEST_f_i_tg): Likewise.
31571 (RUN_TEST_LOOP_f_i_tg): Likewise.
31572 (RUN_TEST_ff_i_tg): Likewise.
31573 (RUN_TEST_LOOP_ff_i_tg): Likewise.
31574 (RUN_TEST_f_b): Likewise.
31575 (RUN_TEST_LOOP_f_b): Likewise.
31576 (RUN_TEST_f_b_tg): Likewise.
31577 (RUN_TEST_LOOP_f_b_tg): Likewise.
31578 (RUN_TEST_f_l): Likewise.
31579 (RUN_TEST_LOOP_f_l): Likewise.
31580 (RUN_TEST_f_L): Likewise.
31581 (RUN_TEST_LOOP_f_L): Likewise.
31582 (RUN_TEST_sincos): Likewise.
31583 (RUN_TEST_LOOP_sincos): Likewise.
31585 2013-05-17 Joseph Myers <joseph@codesourcery.com>
31589 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
31590 main case of finite arguments, set rounding mode to FE_TONEAREST
31591 and discard exceptions.
31592 * math/libm-test.inc (remainder_test_data): Disallow "inexact"
31594 (remainder_tonearest_test_data): New variable.
31595 (remainder_test_tonearest): New function.
31596 (remainder_towardzero_test_data): New variable.
31597 (remainder_test_towardzero): New function.
31598 (remainder_downward_test_data): New variable.
31599 (remainder_test_downward): New function.
31600 (remainder_upward_test_data): New variable.
31601 (remainder_test_upward): New function.
31602 (main): Call the new test functions.
31604 * math/libm-test.inc (struct test_f_f1_data): Remove field
31606 (struct test_fF_f1_data): Likewise.
31607 (struct test_ffI_f1_data): Likewise.
31608 (RUN_TEST_f_f1): Remove argument EXTRA_INIT. Initialize EXTRA_VAR
31609 based on value of EXTRA_EXPECTED.
31610 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
31611 (RUN_TEST_fF_f1): Remove argument EXTRA_INIT. Initialize
31612 EXTRA_VAR based on value of EXTRA_EXPECTED.
31613 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
31614 (RUN_TEST_fI_f1): Remove argument EXTRA_INIT. Initialize
31615 EXTRA_VAR based on value of EXTRA_EXPECTED.
31616 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
31617 (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT. Initialize
31618 EXTRA_VAR based on value of EXTRA_EXPECTED.
31619 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
31620 * math/gen-libm-test.pl (parse_args): Don't output initializers
31621 for extra output values.
31623 * math/libm-test.inc (check_int): Expect result to be exactly
31624 equal to expected value and do not handle ulps.
31625 (check_long): Likewise.
31626 (check_longlong): Likewise.
31628 * math/libm-test.inc (ceil_test_data): Test for "inexact"
31630 (cimag_test_data): Likewise.
31631 (conj_test_data): Likewise.
31632 (copysign_test_data): Likewise.
31633 (cproj_test_data): Likewise.
31634 (creal_test_data): Likewise.
31635 (fabs_test_data): Likewise.
31636 (fdim_test_data): Likewise.
31637 (finite_test_data): Likewise.
31638 (floor_test_data): Likewise.
31639 (fmax_test_data): Likewise.
31640 (fmin_test_data): Likewise.
31641 (fmod_test_data): Likewise.
31642 (fpclassify_test_data): Likewise.
31643 (frexp_test_data): Likewise.
31644 (ilogb_test_data): Likewise.
31645 (isfinite_test_data): Likewise.
31646 (isgreater_test_data): Likewise.
31647 (isgreaterequal_test_data): Likewise.
31648 (isinf_test_data): Likewise.
31649 (isless_test_data): Likewise.
31650 (islessequal_test_data): Likewise.
31651 (islessgreater_test_data): Likewise.
31652 (isnan_test_data): Likewise.
31653 (isnormal_test_data): Likewise.
31654 (issignaling_test_data): Likewise.
31655 (isunordered_test_data): Likewise.
31656 (ldexp_test_data): Likewise.
31657 (lrint_test_data): Likewise.
31658 (lrint_test_data) [TEST_FLOAT]: Disable one test.
31659 (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
31660 (lrint_tonearest_test_data): Test for "inexact" exceptions.
31661 (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
31662 (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
31663 (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
31665 (lrint_towardzero_test_data): Test for "inexact" exceptions.
31666 (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
31667 (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
31668 (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
31670 (lrint_downward_test_data): Test for "inexact" exceptions.
31671 (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
31672 (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
31673 (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
31675 (lrint_upward_test_data): Test for "inexact" exceptions.
31676 (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
31678 (llrint_test_data): Test for "inexact" exceptions.
31679 (llrint_test_data) [TEST_FLOAT]: Disable one test.
31680 (llrint_tonearest_test_data): Test for "inexact" exceptions.
31681 (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
31682 (llrint_towardzero_test_data): Test for "inexact" exceptions.
31683 (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
31684 (llrint_downward_test_data): Test for "inexact" exceptions.
31685 (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
31686 (llrint_upward_test_data): Test for "inexact" exceptions.
31687 (logb_test_data): Likewise.
31688 (logb_downward_test_data): Likewise.
31689 (nextafter_test_data): Likewise.
31690 (nexttoward_test_data): Likewise.
31691 (remainder_test_data): Likewise.
31692 (remquo_test_data): Likewise.
31693 (scalbn_test_data): Likewise.
31694 (scalbln_test_data): Likewise.
31695 (signbit_test_data): Likewise.
31696 (sqrt_test_data): Likewise.
31697 (significand_test_data): Likewise.
31699 2013-05-17 Siddhesh Poyarekar <siddhesh@redhat.com>
31702 * benchtests/bench-modf.c (struct args): Mark arg0 as
31704 * scripts/bench.pl: Mark members of struct args as volatile.
31706 2013-05-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31709 * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
31710 negative infinity on POWER6 or lower.
31711 * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
31713 2013-05-16 Maciej W. Rozycki <macro@codesourcery.com>
31716 * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
31717 (_FP_FRAC_SNANP_SEMIRAW): Likewise.
31718 (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
31719 (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
31720 (_FP_SETQNAN): New macro.
31721 (_FP_SETQNAN_SEMIRAW): Likewise.
31722 (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
31723 (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
31724 (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
31725 (FP_EXTEND): Use _FP_FRAC_SNANP.
31726 (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
31727 * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
31729 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
31731 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
31734 2013-05-16 Joseph Myers <joseph@codesourcery.com>
31736 * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
31737 with DIVIDE_BY_ZERO_EXCEPTION.
31738 (gamma_test_data): Likewise.
31739 (lgamma_test_data): Likewise.
31740 (log_test_data): Likewise.
31741 (log10_test_data): Likewise.
31742 (log2_test_data): Likewise.
31743 (tgamma_test_data): Likewise.
31745 * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
31746 (acos_test_tonearest): Likewise.
31747 (acos_test_towardzero): Likewise.
31748 (acos_test_downward): Likewise.
31749 (acos_test_upward): Likewise.
31750 (acosh_test): Likewise.
31751 (asin_test): Likewise.
31752 (asin_test_tonearest): Likewise.
31753 (asin_test_towardzero): Likewise.
31754 (asin_test_downward): Likewise.
31755 (asin_test_upward): Likewise.
31756 (asinh_test): Likewise.
31757 (atan_test): Likewise.
31758 (atanh_test): Likewise.
31759 (atan2_test): Likewise.
31760 (cabs_test): Likewise.
31761 (cacos_test): Likewise.
31762 (cacosh_test): Likewise.
31763 (casin_test): Likewise.
31764 (casinh_test): Likewise.
31765 (catan_test): Likewise.
31766 (catanh_test): Likewise.
31767 (cbrt_test): Likewise.
31768 (ccos_test): Likewise.
31769 (ccosh_test): Likewise.
31770 (cexp_test): Likewise.
31771 (clog_test): Likewise.
31772 (clog10_test): Likewise.
31773 (cos_test): Likewise.
31774 (cos_test_tonearest): Likewise.
31775 (cos_test_towardzero): Likewise.
31776 (cos_test_downward): Likewise.
31777 (cos_test_upward): Likewise.
31778 (cosh_test): Likewise.
31779 (cosh_test_tonearest): Likewise.
31780 (cosh_test_towardzero): Likewise.
31781 (cosh_test_downward): Likewise.
31782 (cosh_test_upward): Likewise.
31783 (cpow_test): Likewise.
31784 (csin_test): Likewise.
31785 (csinh_test): Likewise.
31786 (csqrt_test): Likewise.
31787 (ctan_test): Likewise.
31788 (ctan_test_tonearest): Likewise.
31789 (ctan_test_towardzero): Likewise.
31790 (ctan_test_downward): Likewise.
31791 (ctan_test_upward): Likewise.
31792 (ctanh_test): Likewise.
31793 (ctanh_test_tonearest): Likewise.
31794 (ctanh_test_towardzero): Likewise.
31795 (ctanh_test_downward): Likewise.
31796 (ctanh_test_upward): Likewise.
31797 (erf_test): Likewise.
31798 (erfc_test): Likewise.
31799 (exp_test): Likewise.
31800 (exp_test_tonearest): Likewise.
31801 (exp_test_towardzero): Likewise.
31802 (exp_test_downward): Likewise.
31803 (exp_test_upward): Likewise.
31804 (exp10_test): Likewise.
31805 (exp2_test): Likewise.
31806 (expm1_test): Likewise.
31807 (fmod_test): Likewise.
31808 (gamma_test): Likewise.
31809 (hypot_test): Likewise.
31810 (j0_test): Likewise.
31811 (j1_test): Likewise.
31812 (jn_test): Likewise.
31813 (lgamma_test): Likewise.
31814 (log_test): Likewise.
31815 (log10_test): Likewise.
31816 (log1p_test): Likewise.
31817 (log2_test): Likewise.
31818 (logb_test_downward): Likewise.
31819 (pow_test): Likewise.
31820 (pow_test_tonearest): Likewise.
31821 (pow_test_towardzero): Likewise.
31822 (pow_test_downward): Likewise.
31823 (pow_test_upward): Likewise.
31824 (remainder_test): Likewise.
31825 (remquo_test): Likewise.
31826 (sin_test): Likewise.
31827 (sin_test_tonearest): Likewise.
31828 (sin_test_towardzero): Likewise.
31829 (sin_test_downward): Likewise.
31830 (sin_test_upward): Likewise.
31831 (sincos_test): Likewise.
31832 (sinh_test): Likewise.
31833 (sinh_test_tonearest): Likewise.
31834 (sinh_test_towardzero): Likewise.
31835 (sinh_test_downward): Likewise.
31836 (sinh_test_upward): Likewise.
31837 (sqrt_test): Likewise.
31838 (tan_test): Likewise.
31839 (tan_test_tonearest): Likewise.
31840 (tan_test_towardzero): Likewise.
31841 (tan_test_downward): Likewise.
31842 (tan_test_upward): Likewise.
31843 (tanh_test): Likewise.
31844 (tgamma_test): Likewise.
31845 (y0_test): Likewise.
31846 (y1_test): Likewise.
31847 (yn_test): Likewise.
31849 * math/gen-libm-test.pl (adjust_arg): Remove function.
31850 (special_function): Remove argument $in_func. Only handle
31851 generating output for tables of tests, not inside functions.
31852 (parse_args): Likewise.
31853 (generate_testfile): Remove variable $in_func. Update call to
31855 * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
31856 (MINUS_ZERO_INIT): Rename macro to minus_zero.
31857 (PLUS_INFTY_INIT): Rename macro to plus_infty.
31858 (MINUS_INFTY_INIT): Rename macro to minus_infty.
31859 (QNAN_VALUE_INIT): Rename macro to qnan_value.
31860 (MAX_VALUE_INIT): Rename macro to max_value.
31861 (MIN_VALUE_INIT): Rename macro to min_value.
31862 (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
31863 (plus_zero): Remove variable.
31864 (minus_zero): Likewise.
31865 (plus_infty): Likewise.
31866 (minus_infty): Likewise.
31867 (qnan_value): Likewise.
31868 (max_value): Likewise.
31869 (min_value): Likewise.
31870 (min_subnorm_value): Likewise.
31872 2013-05-16 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
31874 * crypt/sha512-block.c: Add missing #include <stdint.h> due to
31875 uint64_t or uint32_t usage.
31876 * crypt/sha256-block.c: Likewise.
31877 * crypt/sha256-crypt.c: Likewise.
31878 * crypt/sha256.c: Likewise.
31879 * crypt/sha512-block.c: Likewise.
31880 * crypt/sha512-crypt.c: Likewise.
31881 * crypt/sha512.c: Likewise.
31882 * debug/backtrace-tst.c: Likewise.
31883 * debug/pcprofiledump.c: Likewise.
31884 * elf/cache.c: Likewise.
31885 * elf/dl-cache.c: Likewise.
31886 * elf/dl-misc.c: Likewise.
31887 * elf/dl-profile.c: Likewise.
31888 * elf/dl-support.c: Likewise.
31889 * elf/ldconfig.c: Likewise.
31890 * elf/sprof.c: Likewise.
31891 * iconv/dummy-repertoire.c: Likewise.
31892 * iconv/iconv_charmap.c: Likewise.
31893 * iconv/skeleton.c: Likewise.
31894 * iconvdata/8bit-generic.c: Likewise.
31895 * iconvdata/cp737.h: Likewise.
31896 * iconvdata/cp775.h: Likewise.
31897 * iconvdata/ibm1008.h: Likewise.
31898 * iconvdata/ibm1025.h: Likewise.
31899 * iconvdata/ibm1046.h: Likewise.
31900 * iconvdata/ibm1097.h: Likewise.
31901 * iconvdata/ibm1112.h: Likewise.
31902 * iconvdata/ibm1122.h: Likewise.
31903 * iconvdata/ibm1123.h: Likewise.
31904 * iconvdata/ibm1124.h: Likewise.
31905 * iconvdata/ibm1129.h: Likewise.
31906 * iconvdata/ibm1130.h: Likewise.
31907 * iconvdata/ibm1132.h: Likewise.
31908 * iconvdata/ibm1133.h: Likewise.
31909 * iconvdata/ibm1137.h: Likewise.
31910 * iconvdata/ibm1140.h: Likewise.
31911 * iconvdata/ibm1141.h: Likewise.
31912 * iconvdata/ibm1142.h: Likewise.
31913 * iconvdata/ibm1143.h: Likewise.
31914 * iconvdata/ibm1144.h: Likewise.
31915 * iconvdata/ibm1145.h: Likewise.
31916 * iconvdata/ibm1146.h: Likewise.
31917 * iconvdata/ibm1147.h: Likewise.
31918 * iconvdata/ibm1148.h: Likewise.
31919 * iconvdata/ibm1149.h: Likewise.
31920 * iconvdata/ibm1153.h: Likewise.
31921 * iconvdata/ibm1154.h: Likewise.
31922 * iconvdata/ibm1155.h: Likewise.
31923 * iconvdata/ibm1156.h: Likewise.
31924 * iconvdata/ibm1157.h: Likewise.
31925 * iconvdata/ibm1158.h: Likewise.
31926 * iconvdata/ibm1160.h: Likewise.
31927 * iconvdata/ibm1161.h: Likewise.
31928 * iconvdata/ibm1162.h: Likewise.
31929 * iconvdata/ibm1163.h: Likewise.
31930 * iconvdata/ibm1164.h: Likewise.
31931 * iconvdata/ibm1166.h: Likewise.
31932 * iconvdata/ibm1167.h: Likewise.
31933 * iconvdata/ibm12712.h: Likewise.
31934 * iconvdata/ibm1390.h: Likewise.
31935 * iconvdata/ibm1399.h: Likewise.
31936 * iconvdata/ibm16804.h: Likewise.
31937 * iconvdata/ibm4517.h: Likewise.
31938 * iconvdata/ibm4899.h: Likewise.
31939 * iconvdata/ibm4909.h: Likewise.
31940 * iconvdata/ibm4971.h: Likewise.
31941 * iconvdata/ibm5347.h: Likewise.
31942 * iconvdata/ibm803.h: Likewise.
31943 * iconvdata/ibm856.h: Likewise.
31944 * iconvdata/ibm901.h: Likewise.
31945 * iconvdata/ibm902.h: Likewise.
31946 * iconvdata/ibm9030.h: Likewise.
31947 * iconvdata/ibm9066.h: Likewise.
31948 * iconvdata/ibm921.h: Likewise.
31949 * iconvdata/ibm922.h: Likewise.
31950 * iconvdata/ibm9448.h: Likewise.
31951 * iconvdata/isiri-3342.h: Likewise.
31952 * iconvdata/jis0201.h: Likewise.
31953 * include/link.h: Likewise.
31954 * include/netdb.h: Likewise.
31955 * inet/check_native.c: Likewise.
31956 * inet/check_pf.c: Likewise.
31957 * inet/getipv4sourcefilter.c: Likewise.
31958 * inet/getnameinfo.c: Likewise.
31959 * inet/getsourcefilter.c: Likewise.
31960 * inet/htonl.c: Likewise.
31961 * inet/setipv4sourcefilter.c: Likewise.
31962 * inet/setsourcefilter.c: Likewise.
31963 * inet/test-inet6_opt.c: Likewise.
31964 * inet/tst-network.c: Likewise.
31965 * locale/C-collate.c: Likewise.
31966 * locale/C-ctype.c: Likewise.
31967 * locale/C-time.c: Likewise.
31968 * locale/C-translit.h: Likewise.
31969 * locale/loadarchive.c: Likewise.
31970 * locale/programs/3level.h: Likewise.
31971 * locale/programs/charmap.c: Likewise.
31972 * locale/programs/charmap.h: Likewise.
31973 * locale/programs/ld-address.c: Likewise.
31974 * locale/programs/ld-collate.c: Likewise.
31975 * locale/programs/ld-ctype.c: Likewise.
31976 * locale/programs/ld-identification.c: Likewise.
31977 * locale/programs/ld-measurement.c: Likewise.
31978 * locale/programs/ld-messages.c: Likewise.
31979 * locale/programs/ld-monetary.c: Likewise.
31980 * locale/programs/ld-name.c: Likewise.
31981 * locale/programs/ld-numeric.c: Likewise.
31982 * locale/programs/ld-paper.c: Likewise.
31983 * locale/programs/ld-telephone.c: Likewise.
31984 * locale/programs/ld-time.c: Likewise.
31985 * locale/programs/linereader.c: Likewise.
31986 * locale/programs/locale.c: Likewise.
31987 * locale/programs/locarchive.c: Likewise.
31988 * locale/programs/locfile.h: Likewise.
31989 * locale/programs/repertoire.c: Likewise.
31990 * locale/programs/simple-hash.c: Likewise.
31991 * locale/programs/simple-hash.h: Likewise.
31992 * malloc/memusage.c: Likewise.
31993 * malloc/memusagestat.c: Likewise.
31994 * nis/nis_defaults.c: Likewise.
31995 * nis/nis_hash.c: Likewise.
31996 * nis/nis_print.c: Likewise.
31997 * nis/nis_xdr.c: Likewise.
31998 * nscd/connections.c: Likewise.
31999 * nscd/hstcache.c: Likewise.
32000 * nscd/nscd_gethst_r.c: Likewise.
32001 * nscd/nscd_getserv_r.c: Likewise.
32002 * nscd/nscd_helper.c: Likewise.
32003 * nscd/servicescache.c: Likewise.
32004 * nss/makedb.c: Likewise.
32005 * nss/nss_db/db-XXX.c: Likewise.
32006 * nss/nss_db/db-initgroups.c: Likewise.
32007 * nss/nss_db/db-netgrp.c: Likewise.
32008 * nss/nss_files/files-network.c: Likewise.
32009 * nss/nss_files/files-parse.c: Likewise.
32010 * posix/bug-regex5.c: Likewise.
32011 * posix/fnmatch_loop.c: Likewise.
32012 * posix/regcomp.c: Likewise.
32013 * posix/regexec.c: Likewise.
32014 * posix/tst-rfc3484-2.c: Likewise.
32015 * posix/tst-rfc3484-3.c: Likewise.
32016 * posix/tst-rfc3484.c: Likewise.
32017 * resolv/nss_dns/dns-canon.c: Likewise.
32018 * resolv/nss_dns/dns-network.c: Likewise.
32019 * resolv/res_init.c: Likewise.
32020 * resolv/res_mkquery.c: Likewise.
32021 * resolv/tst-aton.c: Likewise.
32022 * stdlib/cxa_atexit.c: Likewise.
32023 * stdlib/cxa_finalize.c: Likewise.
32024 * stdlib/gen-fpioconst.c: Likewise.
32025 * stdlib/strtol_l.c: Likewise.
32026 * string/tst-endian.c: Likewise.
32027 * sunrpc/auth_des.c: Likewise.
32028 * sunrpc/clnt_udp.c: Likewise.
32029 * sunrpc/rtime.c: Likewise.
32030 * sunrpc/svcauth_des.c: Likewise.
32031 * sunrpc/xdr.c: Likewise.
32032 * sunrpc/xdr_intXX_t.c: Likewise.
32033 * sunrpc/xdr_rec.c: Likewise.
32034 * sysdeps/generic/ldconfig.h: Likewise.
32035 * sysdeps/generic/ldsodefs.h: Likewise.
32036 * sysdeps/generic/memusage.h: Likewise.
32037 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
32038 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
32039 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
32040 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
32041 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
32042 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
32043 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
32044 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
32045 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
32046 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
32047 * sysdeps/posix/getaddrinfo.c: Likewise.
32048 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
32049 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
32050 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
32051 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
32052 * sysdeps/powerpc/test-gettimebase.c: Likewise.
32053 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
32054 * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
32055 * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
32056 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
32057 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
32058 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
32059 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
32060 * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
32061 * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
32062 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
32063 * sysdeps/x86_64/dl-tls.h: Likewise.
32064 * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
32065 * time/alt_digit.c: Likewise.
32066 * time/era.c: Likewise.
32067 * wcsmbs/tst-c16c32-1.c: Likewise.
32069 2013-05-16 Joseph Myers <joseph@codesourcery.com>
32071 * math/libm-test.inc (struct test_sincos_data): New type.
32072 (RUN_TEST_LOOP_sincos): New macro.
32073 (sincos_test_data): New variable.
32074 (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
32076 2013-05-16 Richard Henderson <rth@redhat.com>
32078 * math/atest-exp2.c (LIMB64): New macro.
32079 (CONSTSZ): New macro.
32080 (mp_exp1, mp_exp_m1, mp_log2): New variables.
32082 (print_mpn_fp): ... to function scope.
32083 (read_mpn_hex): Remove.
32084 (get_log2): Remove.
32085 (exp2_mpn): Use mp_log2.
32086 (main): Use mp_exp1.
32088 2013-05-16 Joseph Myers <joseph@codesourcery.com>
32090 * math/libm-test.inc: Remove comment about not testing "inexact"
32092 (INEXACT_EXCEPTION): New macro.
32093 (NO_INEXACT_EXCEPTION): Likewise.
32094 (INVALID_EXCEPTION_OK): Update value.
32095 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
32096 (OVERFLOW_EXCEPTION_OK): Likewise.
32097 (UNDERFLOW_EXCEPTION_OK): Likewise.
32098 (IGNORE_ZERO_INF_SIGN): Likewise.
32099 (ERRNO_UNCHANGED): Likewise.
32100 (ERRNO_EDOM): Likewise.
32101 (ERRNO_ERANGE): Likewise.
32102 (test_exceptions): Handle testing "inexact" exceptions.
32103 (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
32104 (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
32105 (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
32106 (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
32108 (rint_towardzero_test_data): Likewise.
32109 (rint_downward_test_data): Likewise.
32110 (rint_upward_test_data): Likewise.
32112 * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
32113 with OVERFLOW_EXCEPTION.
32114 (exp10_test_data): Likewise.
32115 (exp2_test_data): Likewise.
32116 (expm1_test_data): Likewise.
32117 (lgamma_test_data): Likewise.
32118 (pow_test_data): Likewise.
32119 (tgamma_test_data): Likewise.
32120 (yn_test_data): Remove duplicate test of overflow.
32122 * math/libm-test.inc (struct test_cc_c_data): New type.
32123 (RUN_TEST_LOOP_cc_c): New macro.
32124 (cpow_test_data): New variable.
32125 (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
32127 * math/libm-test.inc (struct test_f_L_data): New type.
32128 (RUN_TEST_LOOP_f_L): New macro.
32129 (llrint_test_data): New variable.
32130 (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
32131 (llrint_tonearest_test_data): New variable.
32132 (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
32133 (llrint_towardzero_test_data): New variable.
32134 (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
32135 (llrint_downward_test_data): New variable.
32136 (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
32137 (llrint_upward_test_data): New variable.
32138 (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
32139 (llround_test_data): New variable.
32140 (llround_test): Run tests with RUN_TEST_LOOP_f_L.
32142 2013-05-13 Peter Collingbourne <pcc@google.com>
32144 * math/atest-exp2.c (get_log2): Remove const attribute.
32146 2013-05-15 Joseph Myers <joseph@codesourcery.com>
32148 * math/libm-test.inc (struct test_f_l_data): New type.
32149 (RUN_TEST_LOOP_f_l): New macro.
32150 (lrint_test_data): New variable.
32151 (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
32152 (lrint_tonearest_test_data): New variable.
32153 (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
32154 (lrint_towardzero_test_data): New variable.
32155 (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
32156 (lrint_downward_test_data): New variable.
32157 (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
32158 (lrint_upward_test_data): New variable.
32159 (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
32160 (lround_test_data): New variable.
32161 (lround_test): Run tests with RUN_TEST_LOOP_f_l.
32163 2013-05-15 Peter Collingbourne <pcc@google.com>
32165 * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
32166 (EXTRACT_WORDS64) Use where appropriate.
32167 (INSERT_WORDS64) Likewise.
32169 * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
32170 constraints with x constraints.
32171 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
32173 * malloc/obstack.c (_obstack_compat): Add initializer.
32175 2013-05-15 Edjunior Machado <emachado@linux.vnet.ibm.com>
32177 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
32178 si_trapno and add si_addr_lsb to _sifields.sigfault.
32179 (si_trapno): Remove macro.
32180 (si_addr_lsb): Define new macro.
32181 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
32183 2013-05-15 Joseph Myers <joseph@codesourcery.com>
32185 * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
32186 instead of TEST_f_l.
32187 (llrint_test_tonearest): Likewise.
32188 (llrint_test_towardzero): Likewise.
32189 (llrint_test_downward): Likewise.
32190 (llrint_test_upward): Likewise.
32191 (llround_test): Likewise.
32193 * math/libm-test.inc (struct test_f_i_data): Add comment.
32194 (RUN_TEST_LOOP_f_b): New macro.
32195 (RUN_TEST_LOOP_f_b_tg): Likewise.
32196 (finite_test_data): New variable.
32197 (finite_test): Run tests with RUN_TEST_LOOP_f_b.
32198 (isfinite_test_data): New variable.
32199 (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
32200 (isinf_test_data): New variable.
32201 (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
32202 (isnan_test_data): New variable.
32203 (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
32204 (isnormal_test_data): New variable.
32205 (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
32206 (issignaling_test_data): New variable.
32207 (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
32208 (signbit_test_data): New variable.
32209 (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
32211 * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
32212 with INVALID_EXCEPTION.
32213 (acosh_test_data): Likewise.
32214 (asin_test_data): Likewise.
32215 (atanh_test_data): Likewise.
32216 (fmod_test_data): Likewise.
32217 (log_test_data): Likewise.
32218 (log10_test_data): Likewise.
32219 (log2_test_data): Likewise.
32220 (pow_test_data): Likewise.
32221 (sqrt_test_data): Likewise.
32222 (y0_test_data): Likewise.
32223 (y1_test_data): Likewise.
32224 (yn_test_data): Likewise.
32226 * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
32229 * math/libm-test.inc (struct test_ff_i_data): New type.
32230 (RUN_TEST_LOOP_ff_i_tg): New macro.
32231 (isgreater_test_data): New variable.
32232 (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
32233 (isgreaterequal_test_data): New variable.
32234 (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
32235 (isless_test_data): New variable.
32236 (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
32237 (islessequal_test_data): New variable.
32238 (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
32239 (islessgreater_test_data): New variable.
32240 (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
32241 (isunordered_test_data): New variable.
32242 (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
32244 2013-05-14 David S. Miller <davem@davemloft.net>
32246 * sysdeps/sparc/fpu/libm-test-ulps: Update.
32248 2013-05-14 Joseph Myers <joseph@codesourcery.com>
32250 * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
32252 * math/libm-test.inc (struct test_fF_f1_data): Change type of
32254 (struct test_f_i_data): Change type of max_ulp to int.
32256 * math/libm-test.inc (test_ffI_f1_data): New type.
32257 (RUN_TEST_LOOP_ffI_f1): New macro.
32258 (remquo_test_data): New variable.
32259 (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
32261 * setjmp/tst-setjmp-fp.c: New file.
32262 * setjmp/Makefile (tests): Add tst-setjmp-fp.
32263 (link-libm): New variable.
32264 ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
32266 * math/libm-test.inc (struct test_f_i_data): New type.
32267 (RUN_TEST_LOOP_f_i): New macro.
32268 (RUN_TEST_LOOP_f_i_tg): Likewise.
32269 (fpclassify_test_data): New variable.
32270 (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
32271 (ilogb_test_data): New variable.
32272 (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
32274 * math/libm-test.inc (scalbln_test): Correct function name in END
32277 * math/libm-test.inc (struct test_f_f1_data): Add comment.
32278 (RUN_TEST_LOOP_fI_f1): New macro.
32279 (frexp_test_data): New variable.
32280 (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
32282 * math/libm-test.inc (struct test_fF_f1_data): New type.
32283 (RUN_TEST_LOOP_fF_f1): New macro.
32284 (modf_test_data): New variable.
32285 (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
32287 * math/libm-test.inc (struct test_f_f1_data): New type.
32288 (RUN_TEST_LOOP_f_f1): New macro.
32289 (gamma_test_data): New variable.
32290 (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
32291 (lgamma_test_data): New variable.
32292 (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
32294 2013-05-13 Carlos O'Donell <carlos@redhat.com>
32296 * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
32297 * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
32298 (main): Comment "tls" pseudo-hwcap.
32300 2013-05-13 Joseph Myers <joseph@codesourcery.com>
32302 * math/libm-test.inc (struct test_fl_f_data): New type.
32303 (RUN_TEST_LOOP_fl_f): New variable.
32304 (scalbln_test_data): New variable.
32305 (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
32307 * math/libm-test.inc (struct test_fi_f_data): New type.
32308 (RUN_TEST_LOOP_fi_f): New macro.
32309 (ldexp_test_data): New variable.
32310 (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
32311 (scalbn_test_data): New variable.
32312 (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
32314 * math/libm-test.inc (struct test_c_f_data): New type.
32315 (RUN_TEST_LOOP_c_f): New macro.
32316 (cabs_test_data): New variable.
32317 (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
32318 (carg_test_data): New variable.
32319 (carg_test): Run tests with RUN_TEST_LOOP_c_f.
32320 (cimag_test_data): New variable.
32321 (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
32322 (creal_test_data): New variable.
32323 (creal_test): Run tests with RUN_TEST_LOOP_c_f.
32325 * math/libm-test.inc (struct test_if_f_data): New type.
32326 (RUN_TEST_LOOP_if_f): New macro.
32327 (jn_test_data): New variable.
32328 (jn_test): Run tests with RUN_TEST_LOOP_if_f.
32329 (yn_test_data): New variable.
32330 (yn_test): Run tests with RUN_TEST_LOOP_if_f.
32332 * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
32334 2013-05-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32336 * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
32337 (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
32339 2013-05-13 Siddhesh Poyarekar <siddhesh@redhat.com>
32341 * benchtests/Makefile (CPPFLAGS-nonlib): Add
32342 -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
32343 (bench-deps): Add bench-timing.h.
32344 * benchtests-bench-skeleton.c: Include bench-timing.h.
32345 (main): Use TIMING_* macros instead of clock_gettime.
32346 * benchtests/bench-timing.h: New file.
32349 * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
32350 Renamed from _LIB_VERSION.
32351 (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
32353 2013-05-12 Joseph Myers <joseph@codesourcery.com>
32355 * math/libm-test.inc (struct test_fff_f_data): New type.
32356 (RUN_TEST_LOOP_fff_f): New macro.
32357 (fma_test_data): New variable.
32358 (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
32359 (fma_towardzero_test_data): New variable.
32360 (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
32361 (fma_downward_test_data): New variable.
32362 (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
32363 (fma_upward_test_data): New variable.
32364 (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
32366 * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
32367 (struct test_c_c_data): New type.
32368 (RUN_TEST_LOOP_c_c): New macro.
32369 (cacos_test_data): New variable.
32370 (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
32371 (cacosh_test_data): New variable.
32372 (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
32373 (casin_test_data): New variable.
32374 (casin_test): Run tests with RUN_TEST_LOOP_c_c.
32375 (casinh_test_data): New variable.
32376 (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
32377 (catan_test_data): New variable.
32378 (catan_test): Run tests with RUN_TEST_LOOP_c_c.
32379 (catanh_test_data): New variable.
32380 (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
32381 (ccos_test_data): New variable.
32382 (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
32383 (ccosh_test_data): New variable.
32384 (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
32385 (cexp_test_data): New variable.
32386 (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
32387 (clog_test_data): New variable.
32388 (clog_test): Run tests with RUN_TEST_LOOP_c_c.
32389 (clog10_test_data): New variable.
32390 (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
32391 (conj_test_data): New variable.
32392 (conj_test): Run tests with RUN_TEST_LOOP_c_c.
32393 (cproj_test_data): New variable.
32394 (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
32395 (csin_test_data): New variable.
32396 (csin_test): Run tests with RUN_TEST_LOOP_c_c.
32397 (csinh_test_data): New variable.
32398 (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
32399 (csqrt_test_data): New variable.
32400 (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
32401 (ctan_test_data): New variable.
32402 (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
32403 (ctan_tonearest_test_data): New variable.
32404 (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
32405 (ctan_towardzero_test_data): New variable.
32406 (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
32407 (ctan_downward_test_data): New variable.
32408 (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
32409 (ctan_upward_test_data): New variable.
32410 (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
32411 (ctanh_test_data): New variable.
32412 (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
32413 (ctanh_tonearest_test_data): New variable.
32414 (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
32415 (ctanh_towardzero_test_data): New variable.
32416 (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
32417 (ctanh_downward_test_data): New variable.
32418 (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
32419 (ctanh_upward_test_data): New variable.
32420 (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
32421 * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
32424 * math/libm-test.inc (struct test_ff_f_data): New type.
32425 (struct test_ff_f_data_nexttoward): Likewise.
32426 (RUN_TEST_LOOP_2_f): New macro.
32427 (RUN_TEST_LOOP_ff_f): Likewise.
32428 (atan2_test_data): New variable.
32429 (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
32430 (copysign_test_data): New variable.
32431 (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
32432 (fdim_test_data): New variable.
32433 (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
32434 (fmax_test_data): New variable.
32435 (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
32436 (fmin_test_data): New variable.
32437 (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
32438 (fmod_test_data): New variable.
32439 (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
32440 (hypot_test_data): New variable.
32441 (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
32442 (nextafter_test_data): New variable.
32443 (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
32444 (nexttoward_test_data): New variable.
32445 (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
32446 (pow_test_data): New variable.
32447 (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
32448 (pow_tonearest_test_data): New variable.
32449 (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
32450 (pow_towardzero_test_data): New variable.
32451 (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
32452 (pow_downward_test_data): New variable.
32453 (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
32454 (pow_upward_test_data): New variable.
32455 (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
32456 (remainder_test_data): New variable.
32457 (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
32458 (scalb_test_data): New variable.
32459 (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
32460 * sysdeps/i386/fpu/libm-test-ulps: Update.
32462 2013-05-11 Joseph Myers <joseph@codesourcery.com>
32464 * math/libm-test.inc (fma_test): Use max_value instead of local
32466 (nextafter_test): Likewise.
32468 * math/libm-test.inc (acos_towardzero_test_data): New variable.
32469 (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
32470 (acos_downward_test_data): New variable.
32471 (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
32472 (acos_upward_test_data): New variable.
32473 (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
32474 (acosh_test_data): New variable.
32475 (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
32476 (asin_test_data): New variable.
32477 (asin_test): Run tests with RUN_TEST_LOOP_f_f.
32478 (asin_tonearest_test_data): New variable.
32479 (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
32480 (asin_towardzero_test_data): New variable.
32481 (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
32482 (asin_downward_test_data): New variable.
32483 (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
32484 (asin_upward_test_data): New variable.
32485 (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
32486 (asinh_test_data): New variable.
32487 (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
32488 (atan_test_data): New variable.
32489 (atan_test): Run tests with RUN_TEST_LOOP_f_f.
32490 (atanh_test_data): New variable.
32491 (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
32492 (cbrt_test_data): New variable.
32493 (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
32494 (ceil_test_data): New variable.
32495 (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
32496 (cos_test_data): New variable.
32497 (cos_test): Run tests with RUN_TEST_LOOP_f_f.
32498 (cos_tonearest_test_data): New variable.
32499 (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
32500 (cos_towardzero_test_data): New variable.
32501 (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
32502 (cos_downward_test_data): New variable.
32503 (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
32504 (cos_upward_test_data): New variable.
32505 (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
32506 (cosh_test_data): New variable.
32507 (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
32508 (cosh_tonearest_test_data): New variable.
32509 (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
32510 (cosh_towardzero_test_data): New variable.
32511 (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
32512 (cosh_downward_test_data): New variable.
32513 (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
32514 (cosh_upward_test_data): New variable.
32515 (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
32516 (erf_test_data): New variable.
32517 (erf_test): Run tests with RUN_TEST_LOOP_f_f.
32518 (erfc_test_data): New variable.
32519 (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
32520 (exp_test_data): New variable.
32521 (exp_test): Run tests with RUN_TEST_LOOP_f_f.
32522 (exp_tonearest_test_data): New variable.
32523 (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
32524 (exp_towardzero_test_data): New variable.
32525 (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
32526 (exp_downward_test_data): New variable.
32527 (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
32528 (exp_upward_test_data): New variable.
32529 (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
32530 (exp10_test_data): New variable.
32531 (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
32532 (exp2_test_data): New variable.
32533 (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
32534 (expm1_test_data): New variable.
32535 (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
32536 (fabs_test_data): New variable.
32537 (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
32538 (floor_test_data): New variable.
32539 (floor_test): Run tests with RUN_TEST_LOOP_f_f.
32540 (j0_test_data): New variable.
32541 (j0_test): Run tests with RUN_TEST_LOOP_f_f.
32542 (j1_test_data): New variable.
32543 (j1_test): Run tests with RUN_TEST_LOOP_f_f.
32544 (log_test_data): New variable.
32545 (log_test): Run tests with RUN_TEST_LOOP_f_f.
32546 (log10_test_data): New variable.
32547 (log10_test): Run tests with RUN_TEST_LOOP_f_f.
32548 (log1p_test_data): New variable.
32549 (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
32550 (log2_test_data): New variable.
32551 (log2_test): Run tests with RUN_TEST_LOOP_f_f.
32552 (logb_test_data): New variable.
32553 (logb_test): Run tests with RUN_TEST_LOOP_f_f.
32554 (logb_downward_test_data): New variable.
32555 (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
32556 (nearbyint_test_data): New variable.
32557 (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
32558 (rint_test_data): New variable.
32559 (rint_test): Run tests with RUN_TEST_LOOP_f_f.
32560 (rint_tonearest_test_data): New variable.
32561 (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
32562 (rint_towardzero_test_data): New variable.
32563 (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
32564 (rint_downward_test_data): New variable.
32565 (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
32566 (rint_upward_test_data): New variable.
32567 (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
32568 (round_test_data): New variable.
32569 (round_test): Run tests with RUN_TEST_LOOP_f_f.
32570 (sin_test_data): New variable.
32571 (sin_test): Run tests with RUN_TEST_LOOP_f_f.
32572 (sin_tonearest_test_data): New variable.
32573 (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
32574 (sin_towardzero_test_data): New variable.
32575 (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
32576 (sin_downward_test_data): New variable.
32577 (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
32578 (sin_upward_test_data): New variable.
32579 (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
32580 (sinh_test_data): New variable.
32581 (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
32582 (sinh_tonearest_test_data): New variable.
32583 (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
32584 (sinh_towardzero_test_data): New variable.
32585 (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
32586 (sinh_downward_test_data): New variable.
32587 (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
32588 (sinh_upward_test_data): New variable.
32589 (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
32590 (sqrt_test_data): New variable.
32591 (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
32592 (tan_test_data): New variable.
32593 (tan_test): Run tests with RUN_TEST_LOOP_f_f.
32594 (tan_tonearest_test_data): New variable.
32595 (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
32596 (tan_towardzero_test_data): New variable.
32597 (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
32598 (tan_downward_test_data): New variable.
32599 (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
32600 (tan_upward_test_data): New variable.
32601 (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
32602 (tanh_test_data): New variable.
32603 (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
32604 (tgamma_test_data): New variable.
32605 (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
32606 (trunc_test_data): New variable.
32607 (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
32608 (y0_test_data): New variable.
32609 (y0_test): Run tests with RUN_TEST_LOOP_f_f.
32610 (y1_test_data): New variable.
32611 (y1_test): Run tests with RUN_TEST_LOOP_f_f.
32612 (significand_test_data): New variable.
32613 (significand_test): Run tests with RUN_TEST_LOOP_f_f.
32615 2013-05-10 Christian Grönke <cgr_bugs@sysgo.com>
32618 * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
32620 2013-05-10 Pino Toscano <toscano.pino@tiscali.it>
32622 * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
32624 2013-05-10 Andreas Jaeger <aj@suse.de>
32627 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
32628 (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
32630 2013-05-10 Joseph Myers <joseph@codesourcery.com>
32632 * math/gen-libm-test.pl (adjust_arg): New function.
32633 (special_functions): Handle generating output in both functions
32635 (parse_args): Likewise.
32636 (generate_testfile): Handle START_DATA and END_DATA. Pass extra
32637 $in_func argument to parse_args.
32638 * math/libm-test.inc (struct test_f_f_data): New type.
32639 (IF_ROUND_INIT_): New macro.
32640 (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
32641 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
32642 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
32643 (IF_ROUND_INIT_FE_UPWARD): Likewise.
32644 (ROUND_RESTORE_): Likewise.
32645 (ROUND_RESTORE_FE_DOWNWARD): Likewise.
32646 (ROUND_RESTORE_FE_TONEAREST): Likewise.
32647 (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
32648 (ROUND_RESTORE_FE_UPWARD): Likewise.
32649 (RUN_TEST_LOOP_f_f): New macro.
32650 (acos_test_data): New variable.
32651 (acos_test): Run tests with RUN_TEST_LOOP_f_f.
32652 (acos_tonearest_test_data): New variable.
32653 (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
32655 2013-05-10 Siddhesh Poyarekar <siddhesh@redhat.com>
32657 * benchtests/bench-skeleton.c (startup): Fix coding style.
32659 2013-05-10 Joseph Myers <joseph@codesourcery.com>
32662 * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
32663 negative infinity argument.
32664 * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
32665 negative infinity argument.
32666 * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
32667 negative infinity argument.
32668 * math/libm-test.inc (tgamma_test): Expect errno to be set for
32671 2013-05-10 Florian Weimer <fweimer@redhat.com>
32673 * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
32674 * iconv/iconv_charmap.c (charmap_conversion): Likewise.
32675 * iconv/iconv_prog.c (main): Likewise.
32676 * locale/programs/charmap-dir.c (charmap_readdir)
32677 (fopen_uncompressed): Likewise.
32678 * locale/programs/locfile.c (siblings_uncached)
32679 (write_locale_data): Use lstat64 instead of lstat.
32680 * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
32683 2013-05-10 Andreas Jaeger <aj@suse.de>
32686 * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
32688 Include <locale.h>.
32690 2013-05-09 Carlos O'Donell <carlos@redhat.com>
32692 * elf/dl-close.c (_dl_close_worker): Add comments.
32694 2013-05-09 Joseph Myers <joseph@codesourcery.com>
32697 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
32699 (__ieee754_rem_pio2l): Update comments.
32702 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
32704 (__ieee754_rem_pio2l): Update comments.
32706 * math/libm-test.inc (M_SQRT_2_2): Remove macro.
32707 (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
32709 * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
32712 * math/libm-test.inc (M_PI_34l): Define using decimal constant.
32713 (M_PI_34_LOG10El): Likewise.
32714 (M_PI2_LOG10El): Likewise.
32715 (M_PI4_LOG10El): Likewise.
32716 (M_PI_LOG10El): Likewise.
32718 2013-05-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32720 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32722 2013-05-08 Joseph Myers <joseph@codesourcery.com>
32724 * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
32725 (MINUS_ZERO_INIT): Likewise.
32726 (PLUS_INFTY_INIT): Likewise.
32727 (MINUS_INFTY_INIT): Likewise.
32728 (QNAN_VALUE_INIT): Likewise.
32729 (MAX_VALUE_INIT): Likewise.
32730 (MIN_VALUE_INIT): Likewise.
32731 (MIN_SUBNORM_VALUE_INIT): Likewise.
32732 (plus_zero): Initialize with PLUS_ZERO_INIT.
32733 (minus_zero): Initialize with MINUS_ZERO_INIT.
32734 (plus_infty): Initialize with PLUS_INFTY_INIT.
32735 (minus_infty): Initialize with MINUS_INFTY_INIT.
32736 (qnan_value): Initialize with QNAN_VALUE_INIT.
32737 (max_value): Initialize with MAX_VALUE_INIT.
32738 (min_value): Initialize with MIN_VALUE_INIT.
32739 (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
32741 * math/libm-test.inc (RUN_TEST_if_f): New macro.
32742 (jn_test): Use TEST_if_f instead of TEST_ff_f.
32743 (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
32744 (yn_test): Use TEST_if_f instead of TEST_ff_f.
32746 * math/libm-test.inc (RUN_TEST_f_f): New macro.
32747 (RUN_TEST_2_f): Likewise.
32748 (RUN_TEST_ff_f): Likewise.
32749 (RUN_TEST_fi_f): Likewise.
32750 (RUN_TEST_fl_f): Likewise.
32751 (RUN_TEST_fff_f): Likewise.
32752 (RUN_TEST_c_f): Likewise.
32753 (RUN_TEST_f_f1): Likewise.
32754 (RUN_TEST_fF_f1): Likewise.
32755 (RUN_TEST_fI_f1): Likewise.
32756 (RUN_TEST_ffI_f1): Likewise.
32757 (RUN_TEST_c_c): Likewise.
32758 (RUN_TEST_cc_c): Likewise.
32759 (RUN_TEST_f_i): Likewise.
32760 (RUN_TEST_f_i_tg): Likewise.
32761 (RUN_TEST_ff_i_tg): Likewise.
32762 (RUN_TEST_f_b): Likewise.
32763 (RUN_TEST_f_b_tg): Likewise.
32764 (RUN_TEST_f_l): Likewise.
32765 (RUN_TEST_f_L): Likewise.
32766 (RUN_TEST_sincos): Likewise.
32767 * math/gen-libm-test.pl (new_test): Take new argument to indicate
32768 whether to show exceptions. Do not include ");\n" in return
32770 (special_functions): Output call to RUN_TEST_sincos instead of
32771 check_float calls. Update calls to new_test.
32772 (parse_args): Output call to single RUN_TEST_* macro instead of
32773 check_* calls and other assignments. Update calls to new_test.
32779 * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
32780 input to result for tgamma overflow.
32781 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
32782 (gamma_coeff): New variable.
32783 (NCOEFF): New macro.
32784 (gamma_positive): New function.
32785 (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
32786 underflow here. Use gamma_positive instead of exp (lgamma) for
32788 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
32789 (gamma_coeff): New variable.
32790 (NCOEFF): New macro.
32791 (gammaf_positive): New function.
32792 (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
32793 underflow here. Use gamma_positive instead of exp (lgamma) for
32795 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
32796 (gamma_coeff): New variable.
32797 (NCOEFF): New macro.
32798 (gammal_positive): New function.
32799 (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
32800 underflow here. Use gamma_positive instead of exp (lgamma) for
32802 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
32803 (gamma_coeff): New variable.
32804 (NCOEFF): New macro.
32805 (gammal_positive): New function.
32806 (__ieee754_gammal_r): Handle positive infinity, overflow and
32807 underflow here. Handle NaN the same as positive infinity. Remove
32808 check x < 0xffffffff for negative integers. Use gamma_positive
32809 instead of exp (lgamma) for other arguments.
32810 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
32811 (gamma_coeff): New variable.
32812 (NCOEFF): New macro.
32813 (gammal_positive): New function.
32814 * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
32815 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
32816 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
32817 * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
32818 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
32819 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
32820 * sysdeps/generic/math_private.h (__gamma_productf): New
32822 (__gamma_product): Likewise.
32823 (__gamma_productl): Likewise.
32824 * math/Makefile (libm-calls): Add gamma_product.
32825 * math/libm-test.inc (tgamma_test): Add more tests.
32826 * sysdeps/i386/fpu/libm-test-ulps: Update.
32827 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32829 2013-05-08 Ondřej Bílka <neleai@seznam.cz>
32831 * benchtests/bench-skeleton.c (main): Preheat CPU.
32833 2013-05-07 Aurelien Jarno <aurelien@aurel32.net>
32835 * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
32837 2013-05-07 Roland McGrath <roland@hack.frob.com>
32839 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
32840 and _dl_skip_args_internal.
32842 2013-05-07 Carlos O'Donell <carlos@redhat.com>
32844 * manual/message.texi (Message Translation): Talk about users.
32845 Message to key mapping impacts design.
32847 2013-05-06 Roland McGrath <roland@hack.frob.com>
32849 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
32851 * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
32853 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
32854 * sysdeps/wordsize-64/glob64.c: ... here.
32856 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
32857 (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
32860 * debug/getlogin_r_chk.c: Moved to ...
32861 * login/getlogin_r_chk.c: ... here.
32862 * debug/Makefile (routines): Move getlogin_r_chk to ...
32863 * login/Makefile (routines): ... here.
32864 * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
32865 * login/Versions (libc: GLIBC_2.4): ... here.
32867 * io/poll.c (__poll): Renamed from poll.
32868 Add libc_hidden_def.
32869 (poll): Define as weak alias.
32871 * debug/ptsname_r_chk.c: Moved to ...
32872 * login/ptsname_r_chk.c: ... here.
32873 * debug/Makefile (routines): Move ptsname_r_chk to ...
32874 * login/Makefile (routines): ... here.
32875 * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
32876 * login/Versions (libc: GLIBC_2.4): ... here.
32878 * posix/getlogin.c: Moved to ...
32879 * login/getlogin.c: ... here.
32880 * posix/getlogin_r.c: Moved to ...
32881 * login/getlogin_r.c: ... here.
32882 * posix/getlogin_r.c: Moved to ...
32883 * login/getlogin_r.c: ... here.
32884 * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
32885 * login/Makefile (routines): ... here.
32886 * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
32887 * login/Versions (libc: GLIBC_2.0): ... here.
32889 * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
32890 (setrlimit): Define as weak alias.
32892 * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
32893 Call __ names for open, ftruncate, and close.
32894 For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
32895 (truncate): Define as weak alias.
32897 2013-05-06 Joseph Myers <joseph@codesourcery.com>
32899 * math/gen-libm-test.pl (parse_args): Initialize x before each
32900 test of frexp, modf and remquo.
32902 * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
32903 test signgam value.
32905 2013-05-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32909 * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
32911 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
32913 2013-05-06 Roland McGrath <roland@hack.frob.com>
32915 * elf/dl-writev.h: New file.
32916 * elf/dl-misc.c: Include it.
32917 (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
32918 * sysdeps/unix/sysv/linux/dl-writev.h: New file.
32920 2013-05-04 Joseph Myers <joseph@codesourcery.com>
32922 * math/libm-test.inc (noXFails): Remove variable.
32923 (noXPasses): Likewise.
32924 (BUILD_COMPLEX_INT): Remove macro.
32925 (print_screen): Remove xfail argument.
32926 (print_screen_max_error): Likewise.
32927 (update_stats): Likewise.
32928 (print_max_error): Likewise. Update calls to other affected
32930 (print_complex_max_error): Likewise.
32931 (test_single_exception): Update calls to print_screen.
32932 (test_single_errno): Likewise.
32933 (check_float_internal): Remove xfail argument. Update calls to
32934 other affected functions.
32935 (check_float): Likewise.
32936 (check_complex): Likewise.
32937 (check_int): Likewise.
32938 (check_long): Likewise.
32939 (check_bool): Likewise.
32940 (check_longlong): Likewise.
32941 (main): Don't print noXFails and noXPasses.
32942 * math/gen-libm-test.pl (top level): Don't mention expected
32943 failure handling in comment.
32944 (new_test): Don't handle expected failures.
32945 (parse_args): Don't mention expected failure handling in comment.
32946 (generate_testfile): Don't handle expected failures.
32947 (parse_ulps): Likewise.
32948 (print_ulps_file): Likewise.
32949 (get_failure): Remove function.
32950 (output_test): Don't handle expected failures.
32951 * make/README.libm-test: Don't mention expected failure handling.
32953 * math/libm-test.inc (plus_zero): Make const. Add initializer.
32954 (minus_zero): Likewise.
32955 (plus_infty): Likewise.
32956 (minus_infty): Likewise.
32957 (qnan_value): Likewise.
32958 (max_value): Likewise.
32959 (min_value): Likewise.
32960 (min_subnorm_value): Likewise.
32961 (initialize): Do not initialize those variables dynamically.
32963 2013-05-03 Roland McGrath <roland@hack.frob.com>
32965 * io/open.c (__open_2): Moved to ...
32966 * io/open_2.c: ... this new file.
32967 * io/open64.c (__open64_2): Moved to ...
32968 * io/open64_2.c: ... this new file.
32969 * io/openat.c (__openat_2): Moved to ...
32970 * io/openat_2.c: ... this new file.
32971 * io/openat64.c (__openat64_2): Moved to ...
32972 * io/openat64_2.c: ... this new file.
32973 * io/Makefile (routines): Add them.
32974 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
32975 * sysdeps/unix/sysv/linux/open_2.c: File removed.
32976 * sysdeps/unix/sysv/linux/open64_2.c: File removed.
32977 * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
32978 * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
32979 * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
32980 (__openat64): Add hidden_ver.
32981 * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
32982 * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
32984 * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
32985 Separately conditionalize setting of GLRO(dl_sysinfo) so
32986 that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
32987 as well, but the actual setting is only under [NEED_DL_SYSINFO].
32989 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32991 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
32992 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
32994 (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
32995 * sysdeps/unix/sysv/linux/powerpc/init-first.c
32996 (_libc_vdso_platform_setup): Add __vdso_time initialization.
32997 * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
32998 for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
33000 2013-05-03 Joseph Myers <joseph@codesourcery.com>
33002 * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
33003 test signgam value.
33005 * math/libm-test.inc (hypot_test): Do not use
33006 IGNORE_ZERO_INF_SIGN.
33008 2013-05-03 Andreas Jaeger <aj@suse.de>
33010 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
33012 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
33013 (PF_MAX): Adjust for VSOCK change.
33015 2013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33017 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33019 2013-05-02 Carlos O'Donell <carlos@redhat.com>
33022 * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
33023 * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
33024 * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
33026 2013-05-02 David S. Miller <davem@davemloft.net>
33028 * sysdeps/sparc/fpu/libm-test-ulps: Update.
33030 2013-05-01 Ondřej Bílka <neleai@seznam.cz>
33032 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
33034 2013-05-01 Roland McGrath <roland@hack.frob.com>
33036 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
33038 2013-05-01 Richard Smith <richard@metafoo.co.uk>
33041 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
33042 [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
33043 Use __attribute__ ((__gnu_inline__)).
33044 [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
33045 Don't use __attribute__ ((__gnu_inline__)).
33047 2013-05-01 Joseph Myers <joseph@codesourcery.com>
33050 * math/s_catan.c (__catan): Handle small real or imaginary part of
33051 input specially to avoid spurious underflow.
33052 * math/s_catanf.c (__catanf): Likewise.
33053 * math/s_catanh.c (__catanh): Likewise.
33054 * math/s_catanhf.c (__catanhf): Likewise.
33055 * math/s_catanhl.c (__catanhl): Likewise.
33056 * math/s_catanl.c (__catanl): Likewise.
33057 * math/libm-test.inc (catan_test): Add more tests.
33058 (catanh_test): Likewise.
33059 * sysdeps/i386/fpu/libm-test-ulps: Update.
33060 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33062 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33064 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33066 2013-04-30 Joseph Myers <joseph@codesourcery.com>
33069 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
33070 accurately for denominator in atan2.
33071 * math/s_catanf.c (__catanf): Likewise.
33072 * math/s_catanh.c (__catanh): Likewise.
33073 * math/s_catanhf.c (__catanhf): Likewise.
33074 * math/s_catanhl.c (__catanhl): Likewise.
33075 * math/s_catanl.c (__catanl): Likewise.
33076 * math/libm-test.inc (catan_test): Add more tests.
33077 (catanh_test): Likewise.
33078 * sysdeps/i386/fpu/libm-test-ulps: Update.
33079 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33081 2013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
33083 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
33085 * benchtests/Makefile (bench): Remove slow benchmarks.
33086 * benchtests/atan-inputs: Add slow benchmark inputs.
33087 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
33088 (BENCH_FUNC): Accept variant offset.
33090 * benchtests/bench-skeleton.c (main): Run benchmark for each
33092 * benchtests/cos-inputs: Add slow benchmark inputs.
33093 * benchtests/exp-inputs: Likewise.
33094 * benchtests/pow-inputs: Likewise.
33095 * benchtests/sin-inputs: Likewise.
33096 * benchtests/slowatan-inputs: Remove.
33097 * benchtests/slowatan.c: Remove.
33098 * benchtests/slowcos-inputs: Remove.
33099 * benchtests/slowcos.c: Remove.
33100 * benchtests/slowexp-inputs: Remove.
33101 * benchtests/slowexp.c: Remove.
33102 * benchtests/slowpow-inputs: Remove.
33103 * benchtests/slowpow.c: Remove.
33104 * benchtests/slowsin-inputs: Remove.
33105 * benchtests/slowsin.c: Remove.
33106 * benchtests/slowtan-inputs: Remove.
33107 * benchtests/slowtan.c: Remove.
33108 * benchtests/tan-inputs: Add slow benchmark inputs.
33109 * scripts/bench.pl: Parse comments and directives.
33111 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
33113 ($(objpfx)bench-%.c): Remove *-ITER.
33114 * benchtests/bench-modf.c: Remove definition of ITER.
33115 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
33116 (main): Loop for DURATION seconds instead of fixed number of
33118 * scripts/bench.pl: Don't expect iterations in parameters.
33120 2013-04-29 Roland McGrath <roland@hack.frob.com>
33122 * io/fchdir.c (__fchdir): Renamed from fchdir.
33123 (fchdir): Define as weak alias.
33125 2013-04-29 Joseph Myers <joseph@codesourcery.com>
33127 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
33128 (ERRNO_EDOM): Likewise.
33129 (ERRNO_ERANGE): Likewise.
33130 (noErrnoTests): New variable.
33131 (init_max_error): Set errno to 0.
33132 (test_single_errno): New function.
33133 (test_errno): Likewise.
33134 (check_float_internal): Call test_errno. Set errno to 0.
33135 (check_complex): Refer to errno tests in comment.
33136 (check_int): Call test_errno. Set errno to 0.
33137 (check_long): Likewise.
33138 (check_bool): Likewise.
33139 (check_longlong): Likewise.
33140 (cos_test): Use ERRNO_* flags for errno tests instead of
33142 (expm1_test): Likewise.
33143 (fmod_test): Likewise.
33144 (ilogb_test): Likewise.
33145 (lgamma_test): Likewise.
33146 (pow_test): Likewise.
33147 (remainder_test): Likewise.
33148 (sin_test): Likewise.
33149 (tan_test): Likewise.
33150 (yn_test): Likewise.
33151 (initialize): Set errno to 0.
33152 (main): Print number of errno tests.
33153 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
33155 2013-04-29 Andreas Jaeger <aj@suse.de>
33158 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
33162 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
33163 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
33167 * stdlib/random.c (__initstate): Return NULL if
33171 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
33172 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
33175 2013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33177 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33179 2013-04-29 Joseph Myers <joseph@codesourcery.com>
33181 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
33182 of individual tests.
33183 (casin_test): Likewise.
33184 (casinh_test): Likewise.
33186 2013-04-27 Joseph Myers <joseph@codesourcery.com>
33189 * math/s_catan.c (__catan): Handle arguments with large real or
33190 imaginary part separately without squaring.
33191 * math/s_catanf.c (__catanf): Likewise.
33192 * math/s_catanh.c (__catanh): Likewise.
33193 * math/s_catanhf.c (__catanhf): Likewise.
33194 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
33196 (__catanhl): Handle arguments with large real or imaginary part
33197 separately without squaring.
33198 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
33200 (__catanl): Handle arguments with large real or imaginary part
33201 separately without squaring.
33202 * math/libm-test.inc (catan_test): Add more tests.
33203 (catanh_test): Likewise.
33204 * sysdeps/i386/fpu/libm-test-ulps: Update.
33205 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33207 2013-04-27 Andreas Jaeger <aj@suse.de>
33210 * stdlib/stdlib.h: Update guards for qecvt.
33211 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
33214 2013-04-27 Allan McRae <allan@archlinux.org>
33216 * sysdeps/i386/fpu/libm-test-ulps: Update.
33218 2013-04-26 Joseph Myers <joseph@codesourcery.com>
33221 * math/s_catan.c: Include <float.h>.
33222 (__catan): Ensure underflow exception occurs for underflowed
33224 * math/s_catanf.c: Include <float.h>.
33225 (__catanf): Ensure underflow exception occurs for underflowed
33227 * math/s_catanh.c: Include <float.h>.
33228 (__catanh): Ensure underflow exception occurs for underflowed
33230 * math/s_catanhf.c: Include <float.h>.
33231 (__catanhf): Ensure underflow exception occurs for underflowed
33233 * math/s_catanhl.c: Include <float.h>.
33234 (__catanhl): Ensure underflow exception occurs for underflowed
33236 * math/s_catanl.c: Include <float.h>.
33237 (__catanl): Ensure underflow exception occurs for underflowed
33239 * math/libm-test.inc (catan_test): Add more tests.
33240 (catanh_test): Likewise.
33243 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
33244 underflowed result.
33245 * math/s_ccoshf.c (__ccoshf): Likewise.
33246 * math/s_ccoshl.c (__ccoshl): Likewise.
33247 * math/s_csin.c (__csin): Likewise.
33248 * math/s_csinf.c (__csinf): Likewise.
33249 * math/s_csinh.c (__csinh): Likewise.
33250 * math/s_csinhf.c (__csinhf): Likewise.
33251 * math/s_csinhl.c (__csinhl): Likewise.
33252 * math/s_csinl.c (__csinl): Likewise.
33253 * math/libm-test.inc (ccos_test): Add more tests.
33254 (ccosh_test): Likewise.
33255 (csin_test): Likewise.
33256 (csinh_test): Likewise.
33258 2013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33260 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
33261 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
33262 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
33263 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
33264 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
33265 powerpc/power5+/fpu folders.
33266 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
33269 2013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
33271 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
33273 2013-04-25 Joseph Myers <joseph@codesourcery.com>
33275 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
33276 additions to variable.
33277 [$(config-machine) = x86_64] (modules-names): Likewise.
33278 ($(objpfx)tst-audit3): Remove dependency.
33279 ($(objpfx)tst-audit3.out): Likewise.
33280 ($(objpfx)tst-audit4): Likewise.
33281 ($(objpfx)tst-audit4.out): Likewise.
33282 ($(objpfx)tst-audit5): Likewise.
33283 ($(objpfx)tst-audit5.out): Likewise.
33284 ($(objpfx)tst-audit6): Likewise.
33285 ($(objpfx)tst-audit6.out): Likewise.
33286 ($(objpfx)tst-audit7): Likewise.
33287 ($(objpfx)tst-audit7.out): Likewise.
33288 (tst-audit3-ENV): Remove variable.
33289 (tst-audit4-ENV): Likewise.
33290 (tst-audit5-ENV): Likewise.
33291 (tst-audit6-ENV): Likewise.
33292 (tst-audit7-ENV): Likewise.
33293 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
33294 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
33295 addition to variable.
33296 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
33297 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
33298 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
33299 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
33300 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
33301 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
33302 tst-audit3, tst-audit4 and tst-audit5.
33303 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
33304 tst-audit6 and tst-audit7.
33305 [$(subdir) = elf] (modules-names): Add audit modules for those
33307 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
33308 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
33309 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
33310 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
33311 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
33312 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
33313 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
33314 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
33315 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
33316 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
33317 [$(subdir) = elf] (tst-audit3-ENV): New variable.
33318 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
33319 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
33320 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
33321 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
33322 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
33324 [$(subdir) = elf && $(config-cflags-avx) = yes]
33325 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
33326 [$(subdir) = elf && $(config-cflags-avx) = yes]
33327 (CFLAGS-tst-auditmod4a.c): Likewise.
33328 [$(subdir) = elf && $(config-cflags-avx) = yes]
33329 (CFLAGS-tst-auditmod4b.c): Likewise.
33330 [$(subdir) = elf && $(config-cflags-avx) = yes]
33331 (CFLAGS-tst-auditmod6b.c): Likewise.
33332 [$(subdir) = elf && $(config-cflags-avx) = yes]
33333 (CFLAGS-tst-auditmod6c.c): Likewise.
33334 [$(subdir) = elf && $(config-cflags-avx) = yes]
33335 (CFLAGS-tst-auditmod7b.c): Likewise.
33336 * elf/tst-audit3.c: Move to ...
33337 * sysdeps/x86_64/tst-audit3.c: ... here.
33338 * elf/tst-audit4.c: Move to ...
33339 * sysdeps/x86_64/tst-audit4.c: ... here.
33340 * elf/tst-audit5.c: Move to ...
33341 * sysdeps/x86_64/tst-audit5.c: ... here.
33342 * elf/tst-audit6.c: Move to ...
33343 * sysdeps/x86_64/tst-audit6.c: ... here.
33344 * elf/tst-audit7.c: Move to ...
33345 * sysdeps/x86_64/tst-audit7.c: ... here.
33346 * elf/tst-auditmod3a.c: Move to ...
33347 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
33348 * elf/tst-auditmod3b.c: Move to ...
33349 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
33350 * elf/tst-auditmod4a.c: Move to ...
33351 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
33352 * elf/tst-auditmod4b.c: Move to ...
33353 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
33354 * elf/tst-auditmod5a.c: Move to ...
33355 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
33356 * elf/tst-auditmod5b.c: Move to ...
33357 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
33358 * elf/tst-auditmod6a.c: Move to ...
33359 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
33360 * elf/tst-auditmod6b.c: Move to ...
33361 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
33362 * elf/tst-auditmod6c.c: Move to ...
33363 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
33364 * elf/tst-auditmod7a.c: Move to ...
33365 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
33366 * elf/tst-auditmod7b.c: Move to ...
33367 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
33369 2013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
33372 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
33373 define unconditionally.
33374 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
33375 define unconditionally.
33376 (INT8_C, INT16_C, etc.): Likewise.
33378 2013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
33380 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
33381 __ehdr_start with hidden visibility.
33383 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
33385 2013-04-24 Carlos O'Donell <carlos@redhat.com>
33387 * math/libm-test.inc (cos_test): Use accurate hex constants.
33388 (sincost_test): Likewise.
33390 2013-04-24 Joseph Myers <joseph@codesourcery.com>
33392 * math/libm-test.inc (catan_test): Add more tests.
33393 (catanh_test): Likewise.
33395 * math/s_catanf.c (__catanf): Use suffixed floating-point
33397 * math/s_catanhf.c (__catanhf): Likewise.
33398 * math/s_catanhl.c (__catanhl): Likewise.
33399 * math/s_catanl.c (__catanl): Likewise.
33402 * math/s_catan.c (__catan): Calculate imaginary part of result
33403 with log1p not log unless computing log of number close to 0.
33404 * math/s_catanf.c (__catanf): Likewise.
33405 * math/s_catanl.c (__catanl): Likewise.
33406 * math/s_catanh.c (__catanh): Calculate real part of result with
33407 log1p not log unless computing log of number close to 0.
33408 * math/s_catanhf.c (__catanhf): Likewise.
33409 * math/s_catanhl.c (__catanhl): Likewise.
33410 * math/libm-test.inc (catan_test): Add more tests.
33411 (catanh_test): Likewise.
33412 * sysdeps/i386/fpu/libm-test-ulps: Update.
33413 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33415 2013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
33417 * benchtests/Makefile: Mention files in which fast and slow
33418 paths of math functions are implemented.
33420 2013-04-23 Roland McGrath <roland@hack.frob.com>
33422 * sysdeps/posix/timespec_get.c: New file.
33424 2013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33426 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
33428 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
33430 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
33431 powerpc/power5/fpu folders.
33432 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
33433 * benchtests/Makefile: Add modf testcase.
33434 * benchtests/bench-modf.c: New file: Benchmark test for mo
33436 2013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
33439 * time/Makefile (tests): Add tst-strptime-whitespace.
33440 * time/strptime_l.c (get_number): Use ISSPACE.
33441 (__strptime_internal): Likewise.
33442 * time/tst-strptime-whitespace.c: New test case.
33444 2013-04-23 Andreas Schwab <schwab@linux-m68k.org>
33446 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
33448 (_nss_files_init): Set it here.
33450 2013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
33452 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
33453 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
33456 2013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
33458 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
33460 2013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
33462 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
33465 2013-04-21 David S. Miller <davem@davemloft.net>
33467 * po/ru.po: Update Russion translation from translation project.
33469 2013-04-17 Adam Conrad <adconrad@0c3.net>
33471 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
33474 2013-04-17 Carlos O'Donell <carlos@redhat.com>
33476 * configure.in: Remove i386 configure warning. Remove i386 case.
33477 * configure: Regenerate.
33478 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
33479 Add example to error message.
33480 * sysdeps/i386/configure: Regenerate.
33482 2013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
33484 * benchtests/Makefile (bench): Add cos, tan, slowcos and
33486 * benchtests/cos-inputs: New file.
33487 * benchtests/slowcos-inputs: New file.
33488 * benchtests/slowcos.c: New file.
33489 * benchtests/slowtan-inputs: New file.
33490 * benchtests/slowtan.c: New file.
33491 * benchtests/tan-inputs: New file.
33493 2013-04-16 Roland McGrath <roland@hack.frob.com>
33495 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
33498 2013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
33500 * benchtests/Makefile: Include cppflags-iterator.mk to add
33501 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
33503 * Makefile.in (bench-clean): New target.
33504 * benchtests/Makefile (bench-clean): Likewise.
33506 2013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
33508 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
33510 2013-04-15 Thomas Schwinge <thomas@codesourcery.com>
33512 * stdio-common/tstdiomisc.c: Fix coding-style violation.
33514 2013-04-15 Andreas Schwab <schwab@suse.de>
33516 * nscd/grpcache.c (cache_addgr): Properly check for short write.
33517 * nscd/initgrcache.c (addinitgroupsX): Likewise.
33518 * nscd/pwdcache.c (cache_addpw): Likewise.
33519 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
33522 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
33524 * benchtests/Makefile (bench): Write all output to
33525 bench-out.tmp together.
33527 2013-04-15 Andreas Schwab <schwab@suse.de>
33529 * nscd/nscd.c (main): Don't fork again after closing files.
33531 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
33533 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
33535 * benchtests/Rules (bench-deps): Collect dependencies into a
33536 single variable. Add Makefile to dependencies.
33537 ($(objpfx)bench-%.c): Depend on bench-deps.
33539 2013-04-12 Roland McGrath <roland@hack.frob.com>
33540 Xavier Roche <roche+kml2@exalead.com>
33543 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
33544 just that it's a file descriptor.
33545 * manual/llio.texi (Synchronizing AIO Operations): Update description
33546 for EBADF error from aio_fsync.
33548 2013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
33550 * Rules (bench): Move target definition...
33551 * benchtests/Makefile: ... here.
33553 2013-04-11 Carlos O'Donell <carlos@redhat.com>
33555 * math/libm-test.inc (cos_test): Fix PI/2 test.
33556 (sincos_test): Likewise.
33557 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
33558 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
33560 2013-04-11 Andreas Schwab <schwab@suse.de>
33563 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
33564 accept exponent character only when digits were seen.
33565 * stdio-common/Makefile (tests): Add bug26.
33566 * stdio-common/bug26.c: New file.
33569 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
33572 2013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
33574 * Makeconfig (rtld-prefix): Define built linker prefix.
33575 * Rules (run-bench): Use it.
33576 * math/Makefile (run-regen-ulps): Likewise.
33578 * Rules (bench): Remove eval.
33580 2013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
33581 Roland McGrath <roland@hack.frob.com>
33582 Ondrej Bilka <neleai@seznam.cz>
33585 * time/getdate.c: Include ctype.h and alloca.h.
33586 (__getdate_r): Trim leading and trailing spaces of input.
33587 * time/tst-getdate.c (tests): Add tests with leading and
33590 2013-04-08 Roland McGrath <roland@hack.frob.com>
33593 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
33594 when computing value.
33596 2013-04-06 Carlos O'Donell <carlos@redhat.com>
33598 * math/README.libm-test (How can I generate "libm-test-ulps"?):
33599 Use testrun.sh to run libm tests.
33602 * elf/dl-open.c (dl_open_worker): memset all of seen array.
33604 2013-04-06 Marko Myllynen <myllynen@redhat.com>
33607 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
33609 2013-04-06 Carlos O'Donell <carlos@redhat.com>
33611 * Makefile.in (regen-ulps): New target.
33612 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
33613 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
33614 [ifneq (no,$(PERL)] (regen-ulps): New target.
33615 [ifeq (no,$(PERL)] (regen-ulps): New target.
33616 * math/libm-test.inc (ulps_file_name): Define.
33617 (output_dir): New variable.
33618 (options): Add "output-dir" option.
33619 (parse_opt): Handle 'o' case.
33620 (main): If output_dir is non-NULL use it as a prefix
33622 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
33624 2013-04-06 Carlos O'Donell <carlos@redhat.com>
33626 [BZ #10060, #10062]
33627 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
33628 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
33629 fail configure if __sync_val_compare_and_swap is not inlined.
33630 * sysdeps/i386/configure: Regenerate.
33631 * configure.in: Build for i686 when configured for i386.
33632 * configure: Regenerate.
33633 * README: Remove i386 reference.
33635 2013-04-06 Carlos O'Donell <carlos@redhat.com>
33637 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
33638 * sysdeps/s390/s390-64/sysdep.h: Likewise.
33640 2013-04-05 Thomas Schwinge <thomas@codesourcery.com>
33642 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
33643 (lmsnanval): New variables.
33644 (F): Add conversion tests.
33645 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
33646 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
33648 * stdio-common/tstdiomisc.c (F): Properly collect individual
33651 [BZ #14686, #15336]
33652 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
33653 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
33654 Instead, use input NaN values or generate a qNaN by arithmetic
33655 operation. Also fix bugs to comply with the standard.
33656 * math/libm-test.inc (remainder_test): Add more tests.
33658 [BZ #15335, #15342]
33659 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
33660 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
33661 input NaN values or generate a qNaN by arithmetic operation.
33663 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
33666 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
33669 2013-04-03 Joseph Myers <joseph@codesourcery.com>
33672 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
33673 underflowed result.
33674 * math/s_cexpf.c (__cexpf): Likewise.
33675 * math/s_cexpl.c (__cexpl): Likewise.
33676 * math/libm-test.inc (cexp_test): Add more tests.
33678 2013-04-03 Andreas Schwab <schwab@suse.de>
33681 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
33682 order arrays from heap if bigger than alloca cutoff.
33684 2013-04-03 Thomas Schwinge <thomas@codesourcery.com>
33686 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
33687 (SNAN_TESTS_double): Refer to GCC PR56831.
33688 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
33691 2013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
33693 * Rules (bench): Move bench.out after the run is complete.
33695 * Rules (bench): Echo currently running benchmark.
33697 * benchtests/Makefile (bench): Add atan and slowatan.
33698 * benchtests/atan-inputs: New file.
33699 * benchtests/slowatan-inputs: New file.
33700 * benchtests/slowatan.c: New file.
33702 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
33703 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
33707 * sysdeps/unix/sysv/linux/kernel-features.h
33708 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
33709 __ASSUME_XFS_RESTRICTED_CHOWN.
33710 * sysdeps/unix/sysv/linux/pathconf.c
33711 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
33712 Save and restore errno.
33714 2013-04-02 Joseph Myers <joseph@codesourcery.com>
33717 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
33718 arguments using __kernel_casinh.
33719 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
33720 arguments using __kernel_casinhf.
33721 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
33722 arguments using __kernel_casinhl.
33723 * math/libm-test.inc (cacosh_test): Add more tests.
33724 * sysdeps/i386/fpu/libm-test-ulps: Update.
33725 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33727 2013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
33729 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
33730 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
33732 * bench/Makefile (bench): Add sin and slowsin.
33733 * benchtests/sin-inputs: New file.
33734 * benchtests/slowsin-inputs: New file.
33735 * benchtests/slowsin.c: New file.
33737 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
33738 (bench): Add slowexp and slowpow.
33739 (exp-ITER): Increase iterations.
33740 (pow-ITER): Likewise.
33741 * benchtests/exp-inputs: Change input.
33742 * benchtests/pow-inputs: Likewise.
33743 * benchtests/slowexp-inputs: New file.
33744 * benchtests/slowexp.c: New file.
33745 * benchtests/slowpow-inputs: New file.
33746 * benchtests/slowpow.c: New file.
33748 2013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33750 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
33752 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
33753 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
33754 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
33755 * benchtests/Makefile: Add rint benchtest.
33756 * benchtests/rint-inputs: Input for rint benchtest.
33758 2013-04-02 Thomas Schwinge <thomas@codesourcery.com>
33760 * Versions.def (libm): Add GLIBC_2.18.
33761 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
33762 hidden libm prototypes.
33763 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
33764 * math/Makefile (libm-calls): Add s_issignaling.
33765 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
33766 __issignalingf, __issignalingl. Adjust all libm.abilist files.
33767 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
33769 * math/math.h [__USE_GNU] (issignaling): New macro.
33770 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
33771 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
33772 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
33773 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
33774 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
33775 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
33776 * manual/arith.texi (issignaling): New section.
33777 * manual/libm-err-tab.pl (@all_functions): Update comment.
33778 * math/gen-libm-test.pl (parse_args): Apply special handling for
33780 * math/libm-test.inc (print_float, issignaling_test): New
33782 (check_float_internal): Add issignaling checks.
33783 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
33784 default definition.
33785 * sysdeps/powerpc/math-tests.h: New file.
33786 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
33788 * math/test-snan.c (TEST_FUNC): Likewise.
33790 2013-03-30 David S. Miller <davem@davemloft.net>
33792 * po/de.po: Update from translation team.
33794 2013-03-30 Joseph Myers <joseph@codesourcery.com>
33797 * math/k_casinh.c (__kernel_casinh): Handle arguments with
33798 imaginary part less than 1.0 and real part less than 0.5
33800 * math/k_casinhf.c (__kernel_casinhf): Likewise.
33801 * math/k_casinhl.c (__kernel_casinhl): Likewise.
33802 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
33803 (cacos_test): Add more tests.
33804 (casin_test): Likewise.
33805 (casinh_test): Likewise.
33806 * sysdeps/i386/fpu/libm-test-ulps: Update.
33807 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33809 2013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
33811 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
33812 ONE with its value.
33814 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
33815 (__pow_mp): Replace ONE and MONE with their values.
33816 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
33817 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
33818 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
33819 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
33820 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
33821 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
33823 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
33825 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
33826 (__pow_mp): Replace ZERO and MZERO with their values.
33827 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
33828 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
33829 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
33830 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
33831 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
33832 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
33835 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
33837 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
33839 2013-03-28 Roland McGrath <roland@hack.frob.com>
33841 * include/stdlib.h [!SHARED] (__call_tls_dtors):
33842 Declare with __attribute__ ((weak)).
33843 * stdlib/exit.c (__libc_atexit) [!SHARED]:
33844 Call __call_tls_dtors only if it's not NULL.
33846 2013-03-28 Roland McGrath <roland@hack.frob.com>
33848 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
33849 didn't do it already, then set _dl_phdr and _dl_phnum based on the
33850 magic __ehdr_start linker symbol if it's defined.
33851 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
33852 them up here if it was already done.
33854 * elf/dl-support.c (_dl_phdr): Make pointer to const.
33855 (_dl_aux_init): Use const in cast when setting it.
33856 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
33857 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
33858 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
33860 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
33862 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
33863 * csu/libc-tls.c: Nor here.
33864 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
33866 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
33867 (__libc_message): Never call vsyslog.
33869 2013-03-28 Alan Modra <amodra@gmail.com>
33871 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
33873 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
33876 2013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33879 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
33881 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33883 2013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
33886 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
33887 Don't add gid passed as argument.
33889 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
33891 2013-03-27 Joseph Myers <joseph@codesourcery.com>
33894 * math/k_casinh.c (__kernel_casinh): Handle arguments with
33895 imaginary part between 1.0 and 1.5 and real part less than 0.5
33897 * math/k_casinhf.c (__kernel_casinhf): Likewise.
33898 * math/k_casinhl.c (__kernel_casinhl): Likewise.
33899 * math/libm-test.inc (cacos_test): Add more tests.
33900 (casin_test): Likewise.
33901 (casinh_test): Likewise.
33902 * sysdeps/i386/fpu/libm-test-ulps: Update.
33903 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33905 2013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
33907 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
33910 (denorm): Likewise.
33911 (__dbl_mp): Likewise.
33912 (add_magnitudes): Likewise.
33913 (sub_magnitudes): Likewise.
33921 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
33923 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
33924 (__dubcos): Likewise.
33925 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
33926 (__ieee754_acos): Likewise.
33927 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
33928 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
33929 (__exp1): Likewise.
33930 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
33931 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
33933 (my_log2): Likewise.
33934 (checkint): Likewise.
33935 * sysdeps/ieee754/dbl-64/e_remainder.c
33936 (__ieee754_remainder): Likewise.
33937 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
33938 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
33939 (bsloww): Likewise.
33940 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
33942 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
33943 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
33944 MANTISSA_STORE_T to store computations on mantissa. Use
33945 macros for rounding and division.
33946 (denorm): Likewise.
33947 (__dbl_mp): Likewise.
33948 (add_magnitudes): Likewise.
33949 (sub_magnitudes): Likewise.
33952 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
33953 powers of two in terms of TWOPOW macro.
33954 (mp_no): Make type of mantissa as MANTISSA_T.
33955 [!RADIXI]: Define RADIXI.
33956 [!TWO52]: Define TWO52.
33957 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
33959 2013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33961 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
33962 llroundl symbol when building for PPC32.
33964 2013-03-24 Mark H Weaver <mhw@netris.org>
33966 * manual/arith.texi (Normalization Functions): Fix prototypes for
33967 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
33969 2013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33972 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
33973 high value to check if expl overflow.
33974 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
33975 to check for underflow and overflow.
33976 * math/libm-test.inc: Add exp test.
33978 2013-03-21 Dmitry V. Levin <ldv@altlinux.org>
33981 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
33984 2013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33986 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
33989 2013-03-21 Thomas Schwinge <thomas@codesourcery.com>
33991 * math/gen-libm-test.pl (parse_args, special_functions): Properly
33992 wrap blocks consisting of several statements.
33994 * sysdeps/generic/math-tests.h: New file.
33995 * sysdeps/i386/fpu/math-tests.h: Likewise.
33996 * math/test-snan.c: Include it.
33997 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
33999 2013-03-21 Joseph Myers <joseph@codesourcery.com>
34002 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
34003 (__ieee754_j0l): Do not improve calculations using cos of twice
34004 input for inputs above LDBL_MAX / 2.0L.
34005 (__ieee754_y0l): Likewise.
34006 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
34007 (__ieee754_j1l): Do not improve calculations using cos of twice
34008 input for inputs above LDBL_MAX / 2.0L.
34009 (__ieee754_y1l): Likewise.
34010 * math/libm-test.inc (j0_test): Add another test.
34011 (j1_test): Likewise.
34012 (y0_test): Likewise.
34013 (y1_test): Likewise.
34014 * sysdeps/i386/fpu/libm-test-ulps: Update.
34016 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
34018 * Rules ($(objpfx)bench-%.c): Include code from a C source
34021 2013-03-21 Joseph Myers <joseph@codesourcery.com>
34024 * math/k_casinh.c (__kernel_casinh): Handle arguments with
34025 imaginary part 1.0 and real part less than 0.5 specially.
34026 * math/k_casinhf.c (__kernel_casinhf): Likewise.
34027 * math/k_casinhl.c (__kernel_casinhl): Likewise.
34028 * math/libm-test.inc (cacos_test): Add more tests.
34029 (casin_test): Likewise.
34030 (casinh_test): Likewise.
34031 * sysdeps/i386/fpu/libm-test-ulps: Update.
34032 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34034 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
34036 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
34037 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
34039 2013-03-20 Joseph Myers <joseph@codesourcery.com>
34041 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
34042 * config.make.in (config-cflags-sse4): Remove variable.
34043 (config-cflags-avx): Likewise.
34044 (config-cflags-sse2avx): Likewise.
34045 (config-cflags-novzeroupper): Likewise.
34046 (config-asflags-i686): Likewise.
34047 (have-mfma4): Likewise.
34048 (have-as-vis3): Likewise.
34050 * configure.in (MIG): Do not AC_SUBST.
34051 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
34052 (libc_cv_cc_sse4): Do not AC_SUBST.
34053 (libc_cv_cc_avx): Likewise.
34054 (libc_cv_cc_sse2avx): Likewise.
34055 (libc_cv_cc_novzeroupper): Likewise.
34056 (libc_cv_cc_fma4): Likewise.
34057 (libc_cv_as_i686): Likewise.
34058 (libc_cv_sparc_as_vis3): Likewise.
34059 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
34061 (config-asflags-i686): Likewise.
34062 (config-cflags-avx): Likewise.
34063 (config-cflags-sse2avx): Likewise.
34064 (have-mfma4): Likewise.
34065 (config-cflags-novzeroupper): Likewise.
34066 * sysdeps/mach/configure.in (MIG): Likewise.
34067 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
34068 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
34070 (config-cflags-avx): Likewise.
34071 (config-cflags-sse2avx): Likewise.
34072 (have-mfma4): Likewise.
34073 (config-cflags-novzeroupper): Likewise.
34074 * configure: Regenerated.
34075 * sysdeps/i386/configure: Likewise.
34076 * sysdeps/mach/configure: Likewise.
34077 * sysdeps/sparc/configure: Likewise.
34078 * sysdeps/x86_64/configure: Likewise.
34080 2013-03-20 Roland McGrath <roland@hack.frob.com>
34083 * locale/programs/localedef.c (options): Put N_ translation marker
34084 on argument names, not just descriptions.
34086 2013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
34088 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
34090 2013-03-20 Ondřej Bílka <neleai@seznam.cz>
34093 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
34095 2013-03-19 Roland McGrath <roland@hack.frob.com>
34097 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
34098 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
34099 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
34100 [!BEFORE_ABORT] (before_abort): New function.
34101 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
34102 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
34103 (writev_for_fatal): New function.
34104 (WRITEV_FOR_FATAL): New macro; call that.
34105 (backtrace_and_maps): New function.
34106 (BEFORE_ABORT): New macro; call that.
34107 (struct str_list): Type removed.
34108 (__libc_message, __libc_fatal): Functions removed.
34109 Include <sysdeps/posix/libc_fatal.c> instead.
34111 2013-03-19 Joseph Myers <joseph@codesourcery.com>
34113 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
34115 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
34118 2013-03-19 Andreas Schwab <schwab@suse.de>
34120 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
34121 * sysdeps/gnu/configure: Regenerate.
34123 * configure.in: Substitute libc_cv_rtlddir.
34124 * configure: Regenerate.
34125 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
34126 * Makeconfig (rtlddir, inst_rtlddir): New variables.
34127 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
34128 * elf/Makefile (install-others, CFLAGS-interp.c)
34129 (ldso_install, common-ldd-rewrite): Likewise.
34130 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
34131 $(inst_slibdir)/$(rtld-installed-name).
34132 * scripts/rellns-sh: Add -p option.
34133 * Makerules (make-shlib-link): Use rellns-sh to get relative name
34136 2013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
34138 * manual/nptl.texi: Renamed to ...
34139 * manual/threads.texi: ... this.
34140 * manual/Makefile (chapters): Update.
34142 2013-03-18 Roland McGrath <roland@hack.frob.com>
34145 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
34146 on argument names, not just descriptions.
34147 * malloc/memusagestat.c (options): Likewise.
34148 * nss/getent.c (options): Likewise.
34150 2013-03-18 Benno Schulenberg <bensberg@justemail.net>
34153 * iconv/iconv_prog.c (options): Put N_ translation marker
34154 on argument names, not just descriptions.
34155 * iconv/iconvconfig.c (options): Likewise.
34157 2013-03-18 Ondrej Bilka <neleai@seznam.cz>
34159 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
34160 implementation which is faster on all x86_64 architectures.
34161 Tested on AMD, Intel Nehalem, SNB, IVB.
34162 * sysdeps/x86_64/strnlen.S: Likewise.
34164 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
34165 Remove all multiarch strlen and strnlen versions.
34166 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
34167 Remove strlen and strnlen related parts.
34169 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
34170 Inline strlen part.
34171 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
34173 * sysdeps/x86_64/multiarch/strlen.S: Remove.
34174 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
34175 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
34176 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
34177 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
34178 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
34180 2013-03-17 Carlos O'Donell <carlos@redhat.com>
34182 * manual/memory.texi (Malloc Tunable Parameters):
34183 Sort parameters alphabetically. Add comments for missing entries.
34185 2013-03-17 David S. Miller <davem@davemloft.net>
34187 * sysdeps/sparc/fpu/libm-test-ulps: Update.
34189 2013-03-16 Joseph Myers <joseph@codesourcery.com>
34192 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
34193 for arguments at most half maximum finite value.
34194 * math/libm-test.inc (j0_test): Add more tests.
34195 (j1_test): Likewise.
34196 (y0_test): Likewise.
34197 (y1_test): Likewise.
34198 * sysdeps/i386/fpu/libm-test-ulps: Update.
34199 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34202 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
34203 1 / x and functions P and Q for arguments above 0x1p256L.
34204 (__ieee754_y0l): Likewise.
34205 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
34206 (__ieee754_y1l): Likewise.
34207 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
34208 (j1_test): Likewise.
34209 (y0_test): Likewise.
34210 (y1_test): Likewise.
34212 2013-03-16 Thomas Schwinge <thomas@codesourcery.com>
34214 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
34217 2013-03-15 Roland McGrath <roland@hack.frob.com>
34219 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
34220 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
34221 zero since it's initialized to EXEC_PAGESIZE.
34223 * sysdeps/unix/sysv/linux/ldsodefs.h
34224 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
34225 * sysdeps/generic/ldsodefs.h: ... here.
34227 2013-03-15 Thomas Schwinge <thomas@codesourcery.com>
34229 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
34231 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
34233 * math/test-snan.c: Renamed from
34234 sysdeps/powerpc/fpu/test-powerpc-snan.c.
34235 * math/Makefile (tests): Add test-snan.
34236 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
34239 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
34240 SUFFIX. Initialize qNaN_var with __builtin_nan family of
34242 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
34243 __builtin_nan family of functions.
34244 * math/libm-test.inc (initialize): Initialize qnan_value with
34245 __builtin_nan family of functions.
34246 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
34248 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
34250 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
34251 storage class. Initialize qNaN_var and sNaN_var with
34252 __builtin_nan and __builtin_nans families of functions,
34255 * math/libm-test.inc (acosh_test): Also test with qNaN input.
34256 (sqrt_test): Remove duplicate test with qNaN input.
34257 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
34258 (round_test, signbit_test, significand_test): Note missing +/-Inf
34259 as well as qNaN tests.
34261 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
34262 qNaN_var. Fix a few strings, too.
34263 * math/libm-test.inc (nan_value): Rename to qnan_value.
34264 * math/gen-libm-test.pl (%beautify): Adjust to that.
34265 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
34266 * math/test-misc.c (main): Likewise.
34267 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
34268 to __qnan_bytes, and __qnan_union, respectively.
34269 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
34271 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
34272 and lqnanval, respectively.
34273 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
34274 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
34275 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
34276 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
34278 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
34279 * math/test-misc.c (main) [__x86_64__]: Enable test for long
34282 * math/test-misc.c (main): Fix copy'n'pastos.
34283 * misc/tst-efgcvt.c (special): Likewise.
34285 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
34286 Remove declarations.
34288 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
34290 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
34291 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
34292 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
34293 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
34295 2013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
34297 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
34298 macro to return vdso values correctly in IFUNC implementations.
34299 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
34300 Optimization by using IFUNC.
34302 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
34303 Richard Henderson <rth@redhat.com>
34304 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
34306 * Makefile.in (bench): New target.
34307 * NEWS: Mention the benchmark framework.
34308 * Rules (bench): Likewise.
34309 (binaries-bench): Generate binaries for functions to
34311 * benchtests/Makefile: New makefile for benchmark tests.
34312 * benchtests/bench-skeleton.c: New skeleton file for benchmark
34314 * benchtests/exp-inputs: New input file for EXP function.
34315 * benchtests/pow-inputs: New input file for POW function.
34316 * scripts/bench.pl: New script to generate source files for
34317 benchmark programs.
34319 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
34321 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
34322 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
34323 computations on mantissa. Use macros for rounding and
34325 (denorm): Likewise.
34326 (__dbl_mp): Likewise.
34327 (add_magnitudes): Likewise.
34328 (sub_magnitudes): Likewise.
34331 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
34332 powers of two in terms of TWOPOW macro.
34333 (mp_no): Make type of mantissa as MANTISSA_T.
34334 [!RADIXI]: Define RADIXI.
34335 [!TWO52]: Define TWO52.
34336 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
34338 * manual/nptl.texi (cindex): Modify threads to pthreads.
34340 2013-03-15 Joseph Myers <joseph@codesourcery.com>
34342 * sysdeps/x86_64/preconfigure: Regenerated.
34344 2013-03-14 Joseph Myers <joseph@codesourcery.com>
34347 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
34349 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
34350 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
34352 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
34353 * math/libm-test.inc (j0_test): Do not allow one spurious
34354 underflow exception.
34355 (y1_test): Likewise.
34357 2013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
34359 * manual/Makefile (chapters): Add nptl.
34360 * manual/debug.texi (Debugging Support): Add link to Threads
34362 * manual/nptl.texi: New file.
34364 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
34366 2013-03-14 Petr Baudis <pasky@ucw.cz>
34368 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
34369 for non-NULL pointer before the memory validity test. Pointed
34370 out by Holger Brunck <holger.brunck@keymile.com>.
34372 2013-03-13 Andreas Schwab <schwab@suse.de>
34374 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
34377 2013-03-13 Joseph Myers <joseph@codesourcery.com>
34379 * timezone/zic.c: Update from tzcode 2013b.
34381 2013-03-12 Carlos O'Donell <carlos@redhat.com>
34383 * manual/install.texi (Configuring and compiling):
34384 Mention i686 and i586.
34385 * INSTALL: Regenerate.
34387 2013-03-12 Roland McGrath <roland@hack.frob.com>
34389 * sysdeps/init_array/elf-init.c: New file.
34391 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
34392 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
34394 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
34395 __gmon_start__ as global, but as static with a .preinit_array pointer.
34396 * sysdeps/init_array/gmon-start.c: New file. Use that.
34397 * sysdeps/init_array/crti.S: New file, empty except for comments.
34398 * sysdeps/init_array/crtn.S: Likewise.
34400 2013-03-11 Ondřej Bílka <neleai@seznam.cz>
34402 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
34404 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
34405 Remove Prefer_SSE_for_memop.
34406 * sysdeps/x86_64/multiarch/init-arch.h: Remove
34407 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
34408 HAS_PREFER_SSE_FOR_MEMOP.
34409 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
34411 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
34412 Remove bzero, memset ifunc support.
34413 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
34414 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
34415 * sysdeps/x86_64/multiarch/memset.S: Likewise.
34416 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
34418 2013-03-11 Andreas Schwab <schwab@suse.de>
34421 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
34423 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
34424 (GLIBC_2.16): Remove pthread_atfork.
34426 2013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
34428 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
34429 (ptestcases.h): Likewise.
34431 2013-03-08 Roland McGrath <roland@hack.frob.com>
34433 * Makeconfig ($(common-objpfx)config.status): Depend on
34434 sysdeps/*/preconfigure{,.in} too.
34436 2013-03-08 Joseph Myers <joseph@codesourcery.com>
34438 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
34439 (__free_hook): Use void * instead of __malloc_ptr_t.
34440 (__malloc_hook): Likewise.
34441 (__realloc_hook): Likewise.
34442 (__memalign_hook): Likewise.
34443 (__after_morecore_hook): Likewise.
34444 * malloc/arena.c (save_malloc_hook): Likewise.
34445 (save_free_hook): Likewise.
34446 * malloc/hooks.c (malloc_hook_ini): Likewise.
34447 (realloc_hook_ini): Likewise.
34448 (memalign_hook_ini): Likewise.
34449 * malloc/malloc.c (malloc_hook_ini): Likewise.
34450 (realloc_hook_ini): Likewise.
34451 (memalign_hook_ini): Likewise.
34452 (__free_hook): Likewise.
34453 (__malloc_hook): Likewise.
34454 (__realloc_hook): Likewise.
34455 (__memalign_hook): Likewise.
34456 (__libc_malloc): Likewise.
34457 (__libc_free): Likewise.
34458 (__libc_realloc): Likewise.
34459 (__libc_memalign): Likewise.
34460 (__libc_valloc): Likewise.
34461 (__libc_pvalloc): Likewise.
34462 (__libc_calloc): Likewise.
34463 (__posix_memalign): Likewise.
34464 * malloc/morecore.c (__sbrk): Likewise.
34465 (__default_morecore): Likewise.
34467 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
34469 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
34470 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
34471 __malloc_ptrdiff_t.
34473 * malloc/malloc.h (__malloc_size_t): Remove macro.
34474 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
34476 (old_memalign_hook): Likewise.
34477 (old_realloc_hook): Likewise.
34478 (struct hdr): Likewise.
34480 (mallochook): Likewise.
34481 (memalignhook): Likewise.
34482 (reallochook): Likewise.
34483 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
34484 (tr_old_realloc_hook): Likewise.
34485 (tr_old_memalign_hook): Likewise.
34486 (tr_mallochook): Likewise.
34487 (tr_reallochook): Likewise.
34488 (tr_memalignhook): Likewise.
34490 2013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
34492 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
34493 default_ldbl_pack and using as default implementation.
34494 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
34496 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
34497 redundant definition.
34498 (ldbl_insert_mantissa): Likewise.
34499 (ldbl_canonicalize): Likewise.
34500 (ldbl_nearbyint): Likewise.
34501 (ldbl_pack): Rename to ldbl_pack_ppc.
34502 (ldbl_unpack): Rename to ldbl_unpack_ppc.
34503 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
34504 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
34506 2013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
34508 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
34509 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
34510 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
34511 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
34512 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
34513 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
34514 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
34515 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
34517 2013-03-07 Andreas Jaeger <aj@suse.de>
34519 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
34522 2013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
34524 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
34525 Include mpa.h and declare __MPEXP.
34526 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
34527 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
34528 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
34529 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
34530 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
34531 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
34532 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
34534 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
34535 (__slowpow): Use long double EXPL and LOGL functions to
34537 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
34538 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
34539 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
34540 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
34541 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
34542 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
34544 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
34545 intermediate variable to calculate exponent.
34547 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
34551 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
34552 [!NO__SQR]: Define __sqr.
34553 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
34554 and NO__SQR. Remove all code except __mul and __sqr. Include
34555 sysdeps/ieee754/dbl-64/mpa.c.
34556 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
34559 * posix/Makefile (tests): Add tst-pathconf.
34560 * posix/tst-pathconf.c: New test case.
34561 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
34563 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
34565 2013-03-06 Patsy Franklin <pfrankli@redhat.com>
34567 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
34569 2013-03-06 Andreas Jaeger <aj@suse.de>
34571 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
34572 definition via __MAP_ANONYMOUS.
34574 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
34575 it's not part of Linux headers.
34577 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
34578 (MAP_HUGE_MASK): Define.
34580 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
34582 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
34583 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
34585 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
34586 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
34588 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
34589 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
34591 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
34593 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
34594 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
34595 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
34596 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
34597 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
34598 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
34600 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
34603 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
34604 Handle f2fs and efivarfs.
34606 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
34609 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
34610 (EFIVARFS_MAGIC): Add.
34611 (F2FS_LINK_MAX): Add.
34613 2013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
34615 * stdio-common/vfprintf.c: Replace __builtin_expect with
34618 2013-03-06 Joseph Myers <joseph@codesourcery.com>
34621 * sysdeps/generic/bp-sym.h: Remove file.
34622 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
34623 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
34624 <bp-sym.h> and <bp-asm.h>.
34625 (__longjmp): Don't use BP_SYM.
34626 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
34628 (memcpy): Don't use BP_SYM.
34629 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
34630 <bp-sym.h> and <bp-asm.h>.
34631 (memcpy): Don't use BP_SYM.
34632 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
34634 (memcpy): Don't use BP_SYM.
34635 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
34637 (memset): Don't use BP_SYM.
34638 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
34639 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
34640 (__bzero): Don't use BP_SYM.
34641 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
34642 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
34643 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
34644 <bp-sym.h> and <bp-asm.h>.
34645 (memcmp): Don't use BP_SYM. Remove comment about bounded
34647 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
34648 <bp-sym.h> and <bp-asm.h>.
34649 (memcpy): Don't use BP_SYM.
34650 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
34651 <bp-sym.h> and <bp-asm.h>.
34652 (memset): Don't use BP_SYM.
34653 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
34654 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
34655 (__bzero): Don't use BP_SYM.
34656 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
34657 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
34658 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
34659 <bp-sym.h> and <bp-asm.h>.
34660 (strncmp): Don't use BP_SYM. Remove comment about bounded
34662 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
34663 <bp-sym.h> and <bp-asm.h>.
34664 (memcpy): Don't use BP_SYM.
34665 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
34666 <bp-sym.h> and <bp-asm.h>.
34667 (memset): Don't use BP_SYM.
34668 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
34669 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
34670 (__bzero): Don't use BP_SYM.
34671 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
34672 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
34673 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
34674 <bp-sym.h> and <bp-asm.h>.
34675 (__memchr): Don't use BP_SYM.
34676 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
34677 <bp-sym.h> and <bp-asm.h>.
34678 (memcmp): Don't use BP_SYM. Remove comment about bounded
34680 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
34681 <bp-sym.h> and <bp-asm.h>.
34682 (memcpy): Don't use BP_SYM.
34683 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
34684 <bp-sym.h> and <bp-asm.h>.
34685 (__mempcpy): Don't use BP_SYM.
34686 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
34687 <bp-sym.h> and <bp-asm.h>.
34688 (__memrchr): Don't use BP_SYM.
34689 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
34690 <bp-sym.h> and <bp-asm.h>.
34691 (memset): Don't use BP_SYM.
34692 (__bzero): Likewise.
34693 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
34694 <bp-sym.h> and <bp-asm.h>.
34695 (__rawmemchr): Don't use BP_SYM.
34696 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
34697 <bp-sym.h> and <bp-asm.h>.
34698 (__STRCMP): Don't use BP_SYM.
34699 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
34700 <bp-sym.h> and <bp-asm.h>.
34701 (strchr): Don't use BP_SYM.
34702 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
34703 <bp-sym.h> and <bp-asm.h>.
34704 (__strchrnul): Don't use BP_SYM.
34705 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
34706 <bp-sym.h> and <bp-asm.h>.
34707 (strlen): Don't use BP_SYM.
34708 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
34709 <bp-sym.h> and <bp-asm.h>.
34710 (strncmp): Don't use BP_SYM. Remove comment about bounded
34712 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
34713 <bp-sym.h> and <bp-asm.h>.
34714 (__strnlen): Don't use BP_SYM.
34715 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
34716 <bp-sym.h> and <bp-asm.h>.
34717 (__GI__setjmp): Don't use BP_SYM.
34718 (_setjmp): Likewise.
34719 (__sigsetjmp): Likewise.
34720 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
34721 (L(start_addresses)): Don't use BP_SYM.
34722 (_start): Likewise.
34723 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
34725 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
34726 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
34727 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
34728 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
34729 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
34731 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
34732 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
34733 about bounded pointers.
34734 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
34735 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
34736 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
34738 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
34739 about bounded pointers. Remove GKM FIXME comments.
34740 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
34741 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
34743 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
34744 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
34745 Remove GKM FIXME comments.
34746 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
34747 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
34748 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
34750 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
34751 about bounded pointers. Remove GKM FIXME comment.
34752 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
34754 (strncmp): Don't use BP_SYM. Remove comment about bounded
34756 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
34757 <bp-sym.h> and <bp-asm.h>.
34758 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
34759 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
34760 <bp-sym.h> and <bp-asm.h>.
34761 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
34764 2013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
34766 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
34769 2013-03-05 David S. Miller <davem@davemloft.net>
34771 * po/es.po: Update from translation team.
34773 2013-03-05 Andreas Jaeger <aj@suse.de>
34775 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
34776 <bits/mman-linux.h>.
34777 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
34779 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
34780 <bits/mman-linux.h> to end of file.
34781 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
34783 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
34784 <bits/mman-linux.h> to end of file.
34785 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
34787 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
34788 <bits/mman-linux.h> to end of file.
34790 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
34791 (MCL_CURRENT, MCL_FUTURE): Define here.
34793 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
34796 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
34798 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
34800 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
34802 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
34803 fourth parameter needed for rt_sigprocmask syscall.
34804 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
34805 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
34806 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
34807 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
34808 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
34809 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
34811 2013-03-04 Joseph Myers <joseph@codesourcery.com>
34814 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
34815 comment about bounded pointers.
34816 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
34817 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
34819 2013-03-04 Andreas Jaeger <aj@suse.de>
34821 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
34822 common definitions.
34824 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
34825 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
34826 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
34827 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
34828 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
34829 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
34831 2013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
34834 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
34835 __ieee754_sqrl instead of __sqrl.
34837 2013-03-01 Joseph Myers <joseph@codesourcery.com>
34839 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
34840 * sysdeps/powerpc/fpu_control.h: ... here.
34841 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
34842 * sysdeps/powerpc/bits/fenvinline.h: ... here.
34843 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
34844 * sysdeps/powerpc/bits/mathinline.h: ... here.
34846 2013-03-01 Roland McGrath <roland@hack.frob.com>
34848 * elf/dl-hwcaps.c (_dl_important_hwcaps):
34849 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
34850 to just [NEED_DL_SYSINFO_DSO].
34851 * elf/dl-support.c: Likewise.
34852 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
34853 * elf/rtld.c (dl_main): Likewise.
34854 * elf/setup-vdso.h (setup_vdso): Likewise.
34855 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
34856 * sysdeps/unix/sysv/linux/dl-sysdep.c
34857 (_dl_discover_osversion): Likewise.
34859 2013-03-01 Carlos O'Donell <carlos@redhat.com>
34861 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
34862 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
34864 2013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
34866 * NEWS: Mention libm performance improvements and non-x86 PI
34869 * csu/libc-start.c (__pthread_initialize_minimal): Change
34870 function arguments.
34871 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
34873 2013-02-28 Joseph Myers <joseph@codesourcery.com>
34876 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
34877 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
34878 <bp-sym.h> and <bp-asm.h>.
34879 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
34880 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
34882 (memcpy): Don't use BP_SYM.
34883 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
34885 (__mpn_add_n): Don't use BP_SYM.
34886 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
34887 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
34889 (__mpn_addmul_1): Don't use BP_SYM.
34890 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
34891 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
34893 (_setjmp): Don't use BP_SYM.
34894 (__novmx_setjmp): Likewise.
34895 (__GI__setjmp): Likewise.
34896 (__vmx_setjmp): Likewise.
34897 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
34899 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
34900 (__bzero): Don't use BP_SYM.
34901 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
34902 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
34903 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
34904 <bp-sym.h> and <bp-asm.h>.
34905 (memcpy): Don't use BP_SYM.
34906 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
34907 <bp-sym.h> and <bp-asm.h>.
34908 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
34909 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
34910 <bp-sym.h> and <bp-asm.h>.
34911 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
34912 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
34914 (__mpn_lshift): Don't use BP_SYM.
34915 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
34916 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
34918 (memset): Don't use BP_SYM.
34919 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
34920 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
34921 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
34923 (__mpn_mul_1): Don't use BP_SYM.
34924 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
34925 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
34926 <bp-sym.h> and <bp-asm.h>.
34927 (memcmp): Don't use BP_SYM.
34928 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
34929 <bp-sym.h> and <bp-asm.h>.
34930 (memcpy): Don't use BP_SYM.
34931 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
34932 <bp-sym.h> and <bp-asm.h>.
34933 (memset): Don't use BP_SYM.
34934 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
34935 <bp-sym.h> and <bp-asm.h>.
34936 (strncmp): Don't use BP_SYM.
34937 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
34938 <bp-sym.h> and <bp-asm.h>.
34939 (memcpy): Don't use BP_SYM.
34940 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
34941 <bp-sym.h> and <bp-asm.h>.
34942 (memset): Don't use BP_SYM.
34943 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
34944 <bp-sym.h> and <bp-asm.h>.
34945 (__memchr): Don't use BP_SYM.
34946 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
34947 <bp-sym.h> and <bp-asm.h>.
34948 (memcmp): Don't use BP_SYM.
34949 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
34950 <bp-sym.h> and <bp-asm.h>.
34951 (memcpy): Don't use BP_SYM.
34952 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
34953 <bp-sym.h> and <bp-asm.h>.
34954 (__mempcpy): Don't use BP_SYM.
34955 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
34956 <bp-sym.h> and <bp-asm.h>.
34957 (__memrchr): Don't use BP_SYM.
34958 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
34959 <bp-sym.h> and <bp-asm.h>.
34960 (memset): Don't use BP_SYM.
34961 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
34962 <bp-sym.h> and <bp-asm.h>.
34963 (__rawmemchr): Don't use BP_SYM.
34964 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
34965 <bp-sym.h> and <bp-asm.h>.
34966 (__STRCMP): Don't use BP_SYM.
34967 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
34968 <bp-sym.h> and <bp-asm.h>.
34969 (strchr): Don't use BP_SYM.
34970 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
34971 <bp-sym.h> and <bp-asm.h>.
34972 (__strchrnul): Don't use BP_SYM.
34973 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
34974 <bp-sym.h> and <bp-asm.h>.
34975 (strlen): Don't use BP_SYM.
34976 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
34977 <bp-sym.h> and <bp-asm.h>.
34978 (strncmp): Don't use BP_SYM.
34979 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
34980 <bp-sym.h> and <bp-asm.h>.
34981 (__strnlen): Don't use BP_SYM.
34982 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
34984 (__mpn_rshift): Don't use BP_SYM.
34985 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
34986 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
34987 <bp-sym.h> and <bp-asm.h>.
34988 (__sigsetjmp): Don't use BP_SYM.
34989 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
34990 (L(start_addresses)): Don't use BP_SYM.
34991 (_start): Likewise.
34992 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
34994 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
34995 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
34996 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
34997 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
34999 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
35000 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
35001 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
35002 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
35004 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
35006 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
35007 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
35009 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
35011 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
35012 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
35013 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
35015 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
35017 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
35019 (strncmp): Don't use BP_SYM,
35020 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
35022 (__mpn_sub_n): Don't use BP_SYM.
35023 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
35024 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
35026 (__mpn_submul_1): Don't use BP_SYM.
35027 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
35028 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
35029 <bp-sym.h> and <bp-asm.h>.
35030 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
35031 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
35032 <bp-sym.h> and <bp-asm.h>.
35033 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
35036 2013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
35038 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
35039 Use ZK to minimize writes to Z.
35040 (sub_magnitudes): Simplify code a bit.
35041 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
35042 Use ZK to minimize writes to Z.
35043 (sub_magnitudes): Simplify code a bit.
35045 2013-02-27 Roland McGrath <roland@hack.frob.com>
35047 * csu/gmon-start.c: Add special exception to license text.
35049 2013-02-27 Richard Henderson <rth@redhat.com>
35051 * scripts/config.guess: Update from config.git.
35052 * scripts/config.sub: Likewise.
35054 2013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
35056 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
35058 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
35060 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
35062 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
35064 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
35066 2013-02-26 Roland McGrath <roland@hack.frob.com>
35068 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
35069 [$(build-shared = yes].
35071 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
35073 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
35074 (__mul): Reduce iterations for calculating mantissa.
35076 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
35078 (__mpranred): Likewise.
35081 * malloc/memusagestat.c (main): Draw graphs for heap and stack
35082 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
35084 2013-02-26 Paul Eggert <eggert@cs.ucla.edu>
35086 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
35087 Define __attribute__.
35089 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
35091 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
35093 * posix/regex_internal.h (__attribute): Remove.
35094 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
35095 (re_string_context_at): Likewise.
35096 (bitset_not): Use __attribute__ and mark function as possibly
35098 (bitset_merge): Likewise.
35099 (bitset_mask): Likewise.
35100 (re_string_char_size_at): Likewise.
35101 (re_string_wchar_at): Likewise.
35102 (re_string_elem_size_at): Likewise.
35104 2013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
35106 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
35110 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
35114 (denorm): Likewise.
35115 (__dbl_mp): Likewise.
35116 (add_magnitudes): Likewise.
35117 (sub_magnitudes): Likewise.
35121 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
35124 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
35127 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
35130 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
35131 up changes with default code.
35132 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
35135 2013-02-24 Allan McRae <allan@archlinux.org>
35137 * manual/socket.texi (The Internet Namespace): Order menu items
35138 to match that in the file.
35140 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
35141 node listing of the info page menu.
35143 2013-02-21 Joseph Myers <joseph@codesourcery.com>
35146 * sysdeps/i386/bp-asm.h: Remove file.
35147 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
35148 (PARMS): Do not use macros from bp-asm.h.
35152 (__mpn_add_n): Do not use BP_SYM
35153 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
35155 (PARMS): Do not use macros from bp-asm.h.
35158 (__mpn_addmul_1): Do not use BP_SYM
35159 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
35161 (PARMS): Do not use macros from bp-asm.h.
35162 (SIGMSK): Likewise.
35163 (_setjmp): Likewise. Do not use BP_SYM.
35164 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
35166 (PARMS): Do not use macros from bp-asm.h.
35167 (SIGMSK): Likewise.
35168 (setjmp): Likewise. Do not use BP_SYM.
35169 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
35171 (PARMS): Do not use macros from bp-asm.h.
35172 (__frexp): Do not use BP_SYM.
35174 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
35176 (PARMS): Do not use macros from bp-asm.h.
35177 (__frexpf): Do not use BP_SYM.
35178 (frexpf): Likewise.
35179 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
35181 (PARMS): Do not use macros from bp-asm.h.
35182 (__frexpl): Do not use BP_SYM.
35183 (frexpl): Likewise.
35184 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
35186 (PARMS): Do not use macros from bp-asm.h.
35187 (__remquo): Do not use BP_SYM.
35188 (remquo): Likewise.
35189 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
35191 (PARMS): Do not use macros from bp-asm.h.
35192 (__remquof): Do not use BP_SYM.
35193 (remquof): Likewise.
35194 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
35196 (PARMS): Do not use macros from bp-asm.h.
35197 (__remquol): Do not use BP_SYM.
35198 (remquol): Likewise.
35199 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
35201 (PARMS): Do not use macros from bp-asm.h.
35204 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
35205 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
35207 (PARMS): Do not use macros from bp-asm.h.
35208 (strlen): Do not use BP_SYM.
35209 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
35211 (PARMS): Do not use macros from bp-asm.h.
35215 (__mpn_add_n): Do not use BP_SYM.
35216 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
35218 (PARMS): Do not use macros from bp-asm.h.
35221 (__mpn_addmul_1): Do not use BP_SYM.
35222 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
35225 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
35227 (PARMS): Do not use macros from bp-asm.h.
35230 (__mpn_lshift): Do not use BP_SYM.
35231 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
35233 (PARMS): Do not use macros from bp-asm.h.
35237 (memcpy): Likewise. Do not use BP_SYM.
35238 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
35239 libc_hidden_def and weak_alias.
35240 (mempcpy): Do not use BP_SYM in weak_alias.
35241 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
35243 (PARMS): Do not use macros from bp-asm.h.
35246 [!BZERO_P] (CHR): Likewise.
35247 (memset): Likewise. Do not use BP_SYM.
35248 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
35250 (PARMS): Do not use macros from bp-asm.h.
35253 (__mpn_mul_1): Do not use BP_SYM.
35254 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
35256 (PARMS): Do not use macros from bp-asm.h.
35259 (__mpn_rshift): Do not use BP_SYM.
35260 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
35262 (PARMS): Do not use macros from bp-asm.h.
35265 (strchr): Likewise. Do not use BP_SYM.
35266 (index): Do not use BP_SYM in weak_alias.
35267 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
35269 (PARMS): Do not use macros from bp-asm.h.
35272 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
35273 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
35275 (PARMS): Do not use macros from bp-asm.h.
35276 (strlen): Do not use BP_SYM.
35277 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
35279 (PARMS): Do not use macros from bp-asm.h.
35283 (__mpn_sub_n): Do not use BP_SYM.
35284 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
35286 (PARMS): Do not use macros from bp-asm.h.
35289 (__mpn_submul_1): Do not use BP_SYM.
35290 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
35292 (PARMS): Do not use macros from bp-asm.h.
35296 (__mpn_add_n): Do not use BP_SYM.
35297 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
35300 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
35302 (PARMS): Do not use macros from bp-asm.h.
35305 (memcmp): Do not use BP_SYM.
35306 (bcmp): Do not use BP_SYM in weak_alias.
35307 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
35309 (PARMS): Do not use macros from bp-asm.h.
35313 (memcpy): Likewise. Do not use BP_SYM.
35314 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
35316 (PARMS): Do not use macros from bp-asm.h.
35320 (memmove): Likewise. Do not use BP_SYM.
35321 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
35323 (PARMS): Do not use macros from bp-asm.h.
35327 (__mempcpy): Likewise. Do not use BP_SYM.
35328 (mempcpy): Do not use BP_SYM in weak_alias.
35329 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
35331 (PARMS): Do not use macros from bp-asm.h.
35334 [!BZERO_P] (CHR): Likewise.
35335 (memset): Likewise. Do not use BP_SYM.
35336 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
35338 (PARMS): Do not use macros from bp-asm.h.
35340 (strcmp): Do not use BP_SYM.
35341 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
35343 (PARMS): Do not use macros from bp-asm.h.
35346 [USE_AS_STRTOK_R] (SAVE): Likewise.
35347 (FUNCTION): Likewise. Do not use BP_SYM.
35348 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
35350 (strtok_r): Likewise.
35351 (__GI___strtok_r): Likewise.
35352 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
35353 (PARMS): Do not use macros from bp-asm.h.
35356 (__mpn_lshift): Do not use BP_SYM.
35357 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
35358 (PARMS): Do not use macros from bp-asm.h.
35361 (__memchr): Do not use BP_SYM.
35362 (memchr): Do not use BP_SYM in weak_alias.
35363 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
35364 (PARMS): Do not use macros from bp-asm.h.
35367 (memcmp): Do not use BP_SYM.
35368 (bcmp): Do not use BP_SYM in weak_alias.
35369 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
35370 (PARMS): Do not use macros from bp-asm.h.
35373 (__mpn_mul_1): Do not use BP_SYM.
35374 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
35376 (PARMS): Do not use macros from bp-asm.h.
35379 (__rawmemchr): Do not use BP_SYM.
35380 (rawmemchr): Do not use BP_SYM in weak_alias.
35381 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
35382 (PARMS): Do not use macros from bp-asm.h.
35385 (__mpn_rshift): Do not use BP_SYM.
35386 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
35387 (PARMS): Do not use macros from bp-asm.h.
35388 (SIGMSK): Likewise.
35389 (__sigsetjmp): Likewise. Do not use BP_SYM.
35390 * sysdeps/i386/start.S: Do not include "bp-sym.h".
35391 (_start): Do not use BP_SYM.
35392 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
35393 (PARMS): Do not use macros from bp-asm.h.
35396 (__stpcpy): Likewise. Do not use BP_SYM.
35397 (stpcpy): Do not use BP_SYM in weak_alias.
35398 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
35400 (PARMS): Do not use macros from bp-asm.h.
35404 (__stpncpy): Likewise. Do not use BP_SYM.
35405 (stpncpy): Do not use BP_SYM in weak_alias.
35406 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
35407 (PARMS): Do not use macros from bp-asm.h.
35410 (strchr): Likewise. Do not use BP_SYM.
35411 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
35413 (PARMS): Do not use macros from bp-asm.h.
35416 (__strchrnul): Likewise. Do not use BP_SYM.
35417 (strchrnul): Do not use BP_SYM in weak_alias.
35418 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
35420 (PARMS): Do not use macros from bp-asm.h.
35422 (strcspn): Do not use BP_SYM.
35423 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
35425 (PARMS): Do not use macros from bp-asm.h.
35428 (strpbrk): Likewise. Do not use BP_SYM.
35429 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
35431 (PARMS): Do not use macros from bp-asm.h.
35434 (strrchr): Likewise. Do not use BP_SYM.
35435 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
35436 (PARMS): Do not use macros from bp-asm.h.
35438 (strspn): Do not use BP_SYM.
35439 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
35440 (PARMS): Do not use macros from bp-asm.h.
35444 (FUNCTION): Likewise. Do not use BP_SYM.
35445 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
35447 (strtok_r): Likewise.
35448 (__GI___strtok_r): Likewise.
35449 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
35450 (PARMS): Do not use macros from bp-asm.h.
35454 (__mpn_sub_n): Do not use BP_SYM.
35455 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
35457 (PARMS): Do not use macros from bp-asm.h.
35460 (__mpn_submul_1): Do not use BP_SYM.
35461 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
35463 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
35465 (PARMS): Do not use macros from bp-asm.h.
35470 (__clone): Do not use BP_SYM.
35471 (clone): Do not use BP_SYM in weak_alias.
35472 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
35474 (PARMS): Do not use macros from bp-asm.h.
35476 (__mmap64): Do not use BP_SYM.
35477 (mmap64): Do not use BP_SYM in weak_alias.
35478 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
35479 <bp-sym.h> and <bp-asm.h>.
35480 (PARMS): Do not use macros from bp-asm.h.
35481 (__posix_fadvise64_l64): Do not use BP_SYM.
35482 * sysdeps/unix/sysv/linux/i386/semtimedop.S
35483 (PARMS): Do not use macros from bp-asm.h.
35485 (semtimedop): Do not use BP_SYM.
35486 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
35489 2013-02-21 Allan McRae <allan@archlinux.org>
35491 * manual/message.texi (Charset conversion in gettext):
35492 Move @end statement to beginning of line.
35494 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
35496 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
35498 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
35501 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
35502 (denorm): Likewise.
35503 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
35504 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
35506 2013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
35508 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
35509 tail-call to the resolved function if pltexit isn't needed.
35511 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
35513 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
35514 or Y being zero as being unlikely.
35515 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
35518 2013-02-20 Carlos O'Donell <carlos@redhat.com>
35520 * manual/nss.texi (System Databases and Name Service Switch):
35521 Remove frobnicate @pxref.
35523 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
35525 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
35526 __attribute__ ((unused)) to __attribute__ ((__unused__)).
35528 2013-02-20 Petr Machata <pmachata@redhat.com>
35530 * elf/elf.h (R_ARM_TARGET1): New macro.
35531 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
35532 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
35533 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
35534 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
35535 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
35536 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
35537 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
35538 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
35539 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
35540 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
35541 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
35542 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
35543 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
35544 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
35545 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
35546 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
35547 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
35548 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
35549 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
35550 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
35551 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
35552 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
35553 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
35554 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
35555 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
35556 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
35557 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
35558 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
35559 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
35560 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
35561 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
35562 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
35563 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
35564 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
35565 (R_ARM_THM_GOT_BREL12): Likewise.
35566 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
35567 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
35568 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
35569 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
35570 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
35571 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
35572 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
35573 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
35574 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
35576 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
35578 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
35579 __attribute_used__ to __attribute__ ((unused)).
35581 2013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
35583 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
35585 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
35586 comment formatting.
35587 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
35589 2013-02-19 Joseph Myers <joseph@codesourcery.com>
35592 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
35594 (ENTER): Remove both macro definitions.
35596 (CHECK_BOUNDS_LOW): Likewise.
35597 (CHECK_BOUNDS_HIGH): Likewise.
35598 (CHECK_BOUNDS_BOTH): Likewise.
35599 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
35600 (RETURN_BOUNDED_POINTER): Likewise.
35601 (RETURN_NULL_BOUNDED_POINTER): Likewise.
35602 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
35603 (POP_ERRNO_LOCATION_RETURN): Likewise.
35604 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
35605 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
35606 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
35608 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
35609 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
35610 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
35611 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
35612 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
35613 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
35614 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
35615 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
35616 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
35617 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
35618 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
35619 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
35620 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
35621 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
35623 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
35624 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
35626 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
35627 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
35628 * sysdeps/i386/i586/memset.S (memset): Likewise.
35629 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
35630 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
35631 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
35633 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
35634 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
35635 Change uses of L(2) to L(out).
35636 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
35637 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
35638 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
35639 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
35640 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
35642 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
35643 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
35645 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
35646 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
35647 (RETURN): Do not use macro LEAVE.
35648 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
35649 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
35650 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
35651 * sysdeps/i386/i686/memset.S (memset): Likewise.
35652 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
35653 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
35654 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
35655 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
35657 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
35658 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
35659 L(1_2) and L(1_3) into L(1).
35660 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
35661 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
35662 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
35663 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
35664 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
35665 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
35666 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
35667 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
35668 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
35670 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
35671 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
35672 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
35673 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
35674 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
35675 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
35676 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
35677 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
35678 * sysdeps/i386/strcspn.S (strcspn): Likewise.
35679 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
35680 * sysdeps/i386/strrchr.S (strrchr): Likewise.
35681 * sysdeps/i386/strspn.S (strspn): Likewise.
35682 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
35684 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
35685 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
35686 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
35687 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
35688 L(1_3) into L(1_1).
35689 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
35690 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
35691 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
35693 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
35695 2013-02-19 Jakub Jelinek <jakub@redhat.com>
35697 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
35700 2013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
35702 * math/atest-exp.c (exp_mpn): Remove ROUND.
35703 * math/atest-exp2.c (exp_mpn): Likewise.
35704 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
35706 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
35707 * stdlib/tst-tls-atexit-lib.c: Likewise.
35708 * stdlib/tst-tls-atexit.c: Likewise.
35710 2013-02-18 Mike Frysinger <vapier@gentoo.org>
35712 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
35713 and __attribute_alloc_size__.
35715 2013-02-18 Mike Frysinger <vapier@gentoo.org>
35717 * include/programs/xmalloc.h: Change __attribute_alloc_size to
35718 __attribute_alloc_size__.
35719 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
35720 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
35722 2013-02-18 Mike Frysinger <vapier@gentoo.org>
35724 * include/programs/xmalloc.h: New file.
35725 * catgets/gencat.c: Include it.
35726 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
35727 * elf/pldd.c: Likewise.
35728 * iconv/iconv_charmap.c: Likewise.
35729 * iconv/iconvconfig.c: Likewise.
35730 * iconv/strtab.c: Likewise.
35731 * locale/programs/locale.c: Likewise.
35732 * locale/programs/localedef.h: Likewise.
35733 * locale/programs/simple-hash.c: Likewise.
35734 * nscd/nscd.h: Likewise.
35735 * nss/makedb.c: Likewise.
35736 * sysdeps/generic/ldconfig.h: Likewise.
35738 2013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
35740 * Versions.def: Add GLIBC_2.18.
35741 * include/link.h (struct link_map): New member l_tls_dtor_count.
35742 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
35743 (__call_tls_dtors): Likewise.
35744 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
35745 __cxa_thread_atexit_impl.
35746 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
35748 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
35750 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
35752 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
35754 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
35755 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
35757 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
35759 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
35760 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
35762 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
35763 (tests): Add test case tst-tls-atexit.
35764 (modules-names): Add shared library for tst-tls-atexit.
35765 * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
35766 (GLIBC_PRIVATE): Add __call_tls_dtors.
35767 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
35769 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
35770 * stdlib/tst-tls-atexit.c: New test case.
35771 * stdlib/tst-tls-atexit-lib.c: New test case.
35773 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
35775 * elf/Versions (ld): Add _dl_find_dso_for_object.
35776 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
35777 * elf/dl-open.c (_dl_find_dso_for_object): New function.
35778 (dl_open_worker): Use _dl_find_dso_for_object.
35779 * elf/dl-sym.c (do_sym): Likewise.
35780 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
35782 2013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
35784 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
35785 Syntactic changes only.
35786 (_dl_runtime_profile): Do a tail-call to the resolved function.
35788 2013-02-17 Joseph Myers <joseph@codesourcery.com>
35791 * sysdeps/x86_64/bp-asm.h: Remove file.
35792 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
35793 <bp-sym.h> and <bp-asm.h>.
35794 (__clone): Do not use BP_SYM.
35795 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
35796 <bp-sym.h> and <bp-asm.h>.
35797 * sysdeps/unix/x86_64/sysdep.S: Likewise.
35798 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
35800 (_setjmp): Do not use BP_SYM.
35801 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
35803 (setjmp): Do not use BP_SYM.
35804 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
35806 (mempcpy): Do not use BP_SYM in weak_alias.
35807 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
35809 (strchr): Do not use BP_SYM.
35810 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
35812 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
35813 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
35814 (_start): Do not use BP_SYM.
35815 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
35817 (strcat): Do not use BP_SYM.
35818 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
35820 (STRCMP): Do not use BP_SYM.
35821 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
35823 (STRCPY): Do not use BP_SYM.
35824 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
35826 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
35828 (FUNCTION): Do not use BP_SYM.
35829 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
35831 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
35833 2013-02-17 Andreas Jaeger <aj@suse.de>
35835 * time/Versions: Sort entries.
35836 * string/Versions: Likewise.
35837 * resolv/Versions: Likewise.
35838 * posix/Versions: Likewise.
35839 * iconv/Versions: Likewise.
35840 * elf/Versions: Likewise.
35841 * wcsmbs/Versions: Likewise.
35843 2013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
35845 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
35846 loop termination condition.
35848 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
35849 variable to calculate EZ.
35852 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
35853 the lower precision input.
35855 2013-02-15 Joseph Myers <joseph@codesourcery.com>
35858 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
35859 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
35860 (run-via-rtld-prefix): Do not handle %-bp tests.
35861 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
35862 (all-object-suffixes): Remove .ob.
35863 (bppfx): Remove variable.
35864 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
35865 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
35866 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
35867 [$(build-bounded) = yes] (libtype.ob): Likewise.
35868 * Makerules (elide-routines.ob): Remove variable.
35869 (do-tests-clean): Do not handle *-bp.out.
35870 (common-mostlyclean): Do not handle *-bp and *-bp.out.
35871 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
35872 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
35873 (tests): Do not include $(tests-bp.out).
35874 (xtests): Do not include $(xtests-bp.out).
35875 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
35876 [$(build-bounded) = yes] ($(addprefix
35877 $(objpfx),$(binaries-bounded))): Remove rule.
35878 ($(objpfx)%-bp.out): Remove rule.
35879 * config.make.in (build-bounded): Remove variable.
35880 * crypt/Makefile [$(build-bounded) = yes]
35881 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
35882 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
35883 append to variable.
35884 [$(build-bounded) = yes] (install-lib): Likewise.
35885 [$(build-bounded) = yes] (generated): Likewise.
35886 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
35888 * intl/Makefile [$(build-bounded) = yes]
35889 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
35890 * math/Makefile [$(build-bounded) = yes]
35891 ($(tests:%=$(objpfx)%-bp): Likewise.
35892 * misc/Makefile [$(build-bounded) = yes]
35893 ($(objpfx)tst-tsearch-bp): Likewise.
35894 * nptl/Makeconfig (bounded-thread-library): Remove variable.
35895 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
35897 * string/Makefile (o-objects.ob): Remove variable.
35898 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
35899 (CFLAGS-.ob): Remove variable.
35900 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
35901 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
35902 both definitions of variable.
35903 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
35904 (ASFLAGS-.ob): Remove variable.
35906 2013-02-14 Joseph Myers <joseph@codesourcery.com>
35909 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
35910 Remove __BOUNDED_POINTERS__ from condition.
35911 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
35912 * string/bits/string2.h [!__NO_STRING_INLINES &&
35913 !__BOUNDED_POINTERS__]: Likewise.
35914 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
35916 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
35917 Remove conditional code.
35918 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
35919 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
35920 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
35924 * csu/libc-start.c: Do not include <bp-sym.h>.
35925 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
35926 * elf/dl-open.c: Do not include <bp-sym.h>.
35927 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
35928 * math/fegetenv.c: Do not include <bp-sym.h>.
35929 (fegetenv): Do not use BP_SYM in versioned symbols.
35930 * nptl/sysdeps/pthread/bits/libc-lockP.h
35931 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
35933 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
35934 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
35935 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
35936 (__pthread_mutex_destroy): Likewise.
35937 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
35938 (__pthread_mutex_lock): Likewise.
35939 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
35940 (__pthread_mutex_trylock): Likewise.
35941 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
35942 (__pthread_mutex_unlock): Likewise.
35943 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
35944 (__pthread_mutexattr_init): Likewise.
35945 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
35946 (__pthread_mutexattr_destroy): Likewise.
35947 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
35948 (__pthread_mutexattr_settype): Likewise.
35949 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
35950 (__pthread_rwlock_init): Likewise.
35951 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
35952 (__pthread_rwlock_destroy): Likewise.
35953 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
35954 (__pthread_rwlock_rdlock): Likewise.
35955 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
35956 (__pthread_rwlock_tryrdlock): Likewise.
35957 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
35958 (__pthread_rwlock_wrlock): Likewise.
35959 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
35960 (__pthread_rwlock_trywrlock): Likewise.
35961 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
35962 (__pthread_rwlock_unlock): Likewise.
35963 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
35964 (__pthread_key_create): Likewise.
35965 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
35966 (__pthread_setspecific): Likewise.
35967 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
35968 (__pthread_getspecific): Likewise.
35969 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
35971 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
35972 (_pthread_cleanup_push_defer): Likewise.
35973 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
35974 (_pthread_cleanup_pop_restore): Likewise.
35975 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
35976 (pthread_setcancelstate): Likewise.
35977 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
35979 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
35980 (memchr): Do not use BP_SYM in weak_alias.
35981 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
35982 (fegetenv): Do not use BP_SYM in versioned symbols.
35983 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
35984 (fesetenv): Do not use BP_SYM in versioned symbols.
35985 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
35986 (feupdateenv): Do not use BP_SYM in versioned symbols.
35987 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
35988 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
35989 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
35990 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
35991 (open64): Do not use BP_SYM in weak_alias.
35992 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
35993 (fegetenv): Do not use BP_SYM in versioned symbols.
35994 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
35995 (fesetenv): Do not use BP_SYM in versioned symbols.
35996 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
35997 (feupdateenv): Do not use BP_SYM in versioned symbols.
35998 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
35999 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
36000 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
36001 (feraiseexcept): Do not use BP_SYM in versioned symbols.
36002 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
36003 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
36004 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
36006 (__libc_start_main): Do not use BP_SYM.
36008 2013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
36010 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
36011 redundant return line.
36013 (denorm): Likewise.
36014 (dbl_mp): Likewise.
36015 (sub_magnitudes): Likewise.
36021 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
36023 (denorm): Likewise.
36024 (dbl_mp): Likewise.
36025 (sub_magnitudes): Likewise.
36032 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
36034 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
36035 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
36038 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
36039 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
36040 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
36041 of __mul for squares.
36042 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
36044 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
36046 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
36047 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
36049 2013-02-13 Joseph Myers <joseph@codesourcery.com>
36052 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
36054 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
36055 prototype or function definition. Rename ubp_* variables and
36056 parameters. Remove argv definitions conditional on
36057 [__BOUNDED_POINTERS__].
36058 * debug/backtrace.c (__backtrace): Do not use __unbounded.
36059 * elf/dl-runtime.c (_dl_fixup): Likewise.
36060 * include/set-hooks.h (RUN_HOOK): Likewise.
36061 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
36063 * string/strcpy.c (strcpy): Do not use __unbounded.
36064 * sysdeps/generic/frame.h (struct layout): Likewise.
36065 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
36066 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
36067 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
36068 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
36069 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
36070 (__backtrace): Likewise.
36071 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
36073 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
36074 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
36075 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
36077 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
36078 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
36079 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
36080 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
36081 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
36082 Do not use __unbounded.
36083 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
36084 Rename __unboundedrlimits parameter to rlimits in prototype.
36085 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
36086 Do not use __unbounded.
36087 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
36088 not use __ptrvalue.
36089 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
36090 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
36091 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
36092 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
36093 __ptrvalue or __unbounded.
36094 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
36095 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
36097 (__new_msgctl): Do not use __ptrvalue.
36098 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
36100 (__libc_msgrcv): Do not use __ptrvalue.
36101 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
36102 startup_info): Do not use __unbounded.
36103 (__libc_start_main): Likewise. Rename ubp_* variables and
36104 parameters. Remove argv definitions conditional on
36105 [__BOUNDED_POINTERS__].
36106 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
36108 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
36110 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
36112 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
36114 (__new_shmctl): Do not use __ptrvalue.
36115 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
36116 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
36118 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
36119 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
36120 (__libc_sigaction): Likewise.
36121 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
36122 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
36124 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
36126 2013-02-13 Ondřej Bílka <neleai@seznam.cz>
36128 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
36130 * string/mempcpy.c: Implement by calling memcpy.
36132 2013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
36134 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
36136 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
36139 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
36140 values in the mantissa.
36142 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
36143 minimize writes to Z.
36144 (sub_magnitudes): Simplify code a bit.
36146 2013-02-12 Roland McGrath <roland@hack.frob.com>
36148 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
36149 from the message. The linker prefixes all warnings with that already.
36151 2013-02-12 Andreas Schwab <schwab@suse.de>
36154 * posix/regexec.c (extend_buffers): Add parameter min_len.
36155 (check_matching): Pass minimum needed length.
36156 (clean_state_log_if_needed): Likewise.
36157 (get_subexp): Likewise.
36158 * posix/Makefile (tests): Add bug-regex34.
36159 (bug-regex34-ENV): Define.
36160 * posix/bug-regex34.c: New file.
36163 * posix/regcomp.c (parse_bracket_exp): When looking up collating
36164 elements compare against the byte sequence of it, not its name.
36165 * posix/Makefile (tests): Add bug-regex35.
36166 (bug-regex35-ENV): Define.
36167 * posix/bug-regex35.c: New file.
36169 2013-02-11 Tom de Vries <tom@codesourcery.com>
36171 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
36173 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
36174 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
36175 (CHECK_EOL): Add undef.
36177 2013-02-11 Ondřej Bílka <neleai@seznam.cz>
36179 * bits/stdlib-bsearch.h: New file.
36180 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
36181 * stdlib/stdlib.h: Likewise.
36183 2013-02-11 Roland McGrath <roland@hack.frob.com>
36185 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
36186 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
36188 * manual/search.texi (Array Search Function): Add missing const in
36190 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
36191 declaration to use rlim_t.
36192 (Basic Scheduling Functions): Remove erroneous const from
36193 sched_getparam prototype. Remove erroneous * from
36194 sched_get_priority_max and sched_get_priority_min prototypes.
36195 (Resource Usage): Fix summary @comment on vtimes to refer to
36196 sys/vtimes.h rather than vtimes.h.
36197 Add missing *s in vtimes prototype.
36198 (Limits on Resources): Fix ulimit prototype to return long int.
36199 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
36200 prototypes to use long int rather than double.
36201 (BSD Random): Fix initstate and setstate to use char *, not void *.
36202 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
36203 prototype to make second argument 'struct aiocb64 *const[]'.
36204 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
36205 (Status of AIO Operations): Remove erroneous const in aio_return and
36206 aio_return64 prototypes.
36207 (Synchronizing I/O): Fix sync prototype to return void.
36208 * manual/startup.texi (Suboptions): Remove an erroneous const in
36209 getsubopt prototype.
36210 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
36211 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
36212 use size_t rather than int.
36213 (Scanning All Users): Likewise for getpwent_r.
36214 (Setting Groups): Add missing const to setgroups prototype.
36215 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
36216 * manual/socket.texi (Host Names): Fix gethostbyaddr and
36217 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
36218 'const void *' rather than 'const char *'.
36219 (Host Address Functions): Likewise for inet_ntop.
36220 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
36221 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
36222 ssize_t for return value.
36223 (Sending Data): Likewise for send, sendto, sendmsg.
36224 (Socket Option Functions): Add a missing const in setsockopt prototype.
36225 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
36226 use wchar_t for the argument.
36227 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
36228 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
36230 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
36231 double/float/long double for second argument.
36232 Fix return types of significand, significandf, significandl.
36233 * manual/filesys.texi (Setting Permissions): Use mode_t for second
36234 argument in fchmod prototype.
36235 (File Owner): Use uid_t and gid_t in fchown prototype.
36236 (File Times): Add const to utimes, futimes, and lutimes prototypes.
36237 (Making Special Files): Use mode_t and dev_t in mknod prototype.
36238 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
36239 use 'const struct dirent **' as argument types to CMP function pointer
36241 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
36242 (File Times): Fix summary magic @comment for struct utimbuf and utime
36243 to refer to utime.h, not time.h.
36244 * manual/string.texi (Argz Functions): Add missing const in
36245 argz_extract and argz_next prototypes.
36246 (Finding Tokens in a String): Likewise for basename.
36247 (String/Array Comparison): Fix typo in wcscasecmp prototype.
36248 (Copying and Concatenation): Fix typo in wmemmove prototype.
36249 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
36250 (Signal Stack): Remove erroneous const in sigstack prototype.
36251 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
36253 (Simple Calendar Time): Likewise for stime.
36254 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
36256 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
36257 say sys/sysctl.h instead.
36258 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
36259 and vsyslog prototypes.
36261 2013-02-11 Tom de Vries <tom@codesourcery.com>
36263 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
36266 2013-02-11 Roland McGrath <roland@hack.frob.com>
36268 * misc/sys/mman.h: Fix typo in mremap comment.
36270 2013-02-08 Roland McGrath <roland@hack.frob.com>
36272 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
36273 the '\0' terminator.
36275 2013-02-08 Joseph Myers <joseph@codesourcery.com>
36278 * debug/segfault.c: Don't include <bp-checks.h>.
36279 * sysdeps/generic/bp-checks.h: Remove file.
36280 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
36281 (__GETDENTS): Don't use CHECK_N.
36282 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
36283 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
36284 (__getgroups): Don't use CHECK_N.
36285 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
36286 (setgroups): Don't use CHECK_N.
36287 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
36288 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
36289 (__libc_msgrcv): Don't use CHECK_N.
36290 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
36291 (__libc_msgsnd): Don't use CHECK_N.
36292 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
36294 (__libc_pread): Don't use CHECK_N.
36295 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
36296 include <bp-checks.h>.
36297 (__libc_pread64): Don't use CHECK_N.
36298 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
36299 include <bp-checks.h>.
36300 (__libc_pwrite): Don't use CHECK_N.
36301 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
36302 include <bp-checks.h>.
36303 (__libc_pwrite64): Don't use CHECK_N.
36304 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
36306 (__libc_pread): Don't use CHECK_N.
36307 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
36308 include <bp-checks.h>.
36309 (__libc_pread64): Don't use CHECK_N.
36310 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
36311 include <bp-checks.h>.
36312 (__libc_pwrite): Don't use CHECK_N.
36313 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
36314 include <bp-checks.h>.
36315 (__libc_pwrite64): Don't use CHECK_N.
36316 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
36317 (do_pread): Don't use CHECK_N.
36318 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
36319 (do_pread64): Don't use CHECK_N.
36320 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
36321 (do_pwrite): Don't use CHECK_N.
36322 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
36323 (do_pwrite64): Don't use CHECK_N.
36324 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
36325 (__libc_readv): Don't use CHECK_N.
36326 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
36327 (semop): Don't use CHECK_N.
36328 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
36330 (semtimedop): Don't use CHECK_N.
36331 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
36332 (__libc_pread): Don't use CHECK_N.
36333 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
36335 (__libc_pread64): Don't use CHECK_N.
36336 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
36338 (__libc_pwrite): Don't use CHECK_N.
36339 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
36341 (__libc_pwrite64): Don't use CHECK_N.
36342 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
36344 (__libc_msgrcv): Don't use CHECK_N.
36345 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
36346 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
36347 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
36348 (__libc_writev): Don't use CHECK_N.
36350 2013-02-08 Roland McGrath <roland@hack.frob.com>
36352 * string/strcpy.c: Removed unused variable.
36354 * Makeconfig (+sysdep-includes): Define with := rather than =.
36355 Use an existing include/ subdir of each sysdeps dir before it.
36357 2013-02-08 Carlos O'Donell <carlos@redhat.com>
36359 * nscd/connection.c (register_traced_file): Comment function.
36360 [HAVE_INOTIFY] (union __inev): Define.
36361 [HAVE_INOTIFY] (inotify_check_files): New function.
36362 [HAVE_INOTIFY] (clear_db_cache): Likewise.
36363 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
36365 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
36367 2013-02-08 Carlos O'Donell <carlos@redhat.com>
36369 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
36370 loaded if not already and that a failure is permanent.
36372 2013-02-08 Carlos O'Donell <carlos@redhat.com>
36375 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
36376 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
36378 2013-02-08 Joseph Myers <joseph@codesourcery.com>
36381 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
36382 (CHECK_1_NULL_OK): Likewise.
36383 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
36384 (__fxstat): Do not use CHECK_1.
36385 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
36387 (___fxstat64): Do not use CHECK_1.
36388 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
36390 (__fxstatat): Do not use CHECK_1.
36391 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
36393 (__fxstatat64): Do not use CHECK_1.
36394 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
36396 (__fxstat): Do not use CHECK_1.
36397 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
36399 (__fxstatat): Do not use CHECK_1.
36400 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
36402 (__getresgid): Do not use CHECK_1.
36403 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
36405 (__getresuid): Do not use CHECK_1.
36406 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
36408 (__lxstat): Do not use CHECK_1.
36409 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
36411 (__old_msgctl): Do not use CHECK_1.
36412 (__new_msgctl): Likewise.
36413 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
36415 (__new_setrlimit): Do not use CHECK_1.
36416 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
36418 (__old_shmctl): Do not use CHECK_1.
36419 (__new_shmctl): Likewise.
36420 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
36422 (__xstat): Do not use CHECK_1.
36423 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
36424 (__lxstat): Do not use CHECK_1.
36425 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
36427 (___lxstat64): Do not use CHECK_1.
36428 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
36429 (__old_msgctl): Do not use CHECK_1.
36430 (__new_msgctl): Likewise.
36431 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
36433 (__gettimeofday): Do not use CHECK_1.
36434 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
36435 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
36436 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
36438 (__gettimeofday): Do not use CHECK_1.
36439 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
36440 (__old_shmctl): Do not use CHECK_1_NULL_OK.
36441 (__new_shmctl): Do not use CHECK_1.
36442 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
36444 (do_sigtimedwait): Do not use CHECK_1.
36445 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
36447 (do_sigwaitinfo): Do not use CHECK_1.
36448 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
36450 (msgctl): Do not use CHECK_1.
36451 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
36453 (shmctl): Do not use CHECK_1.
36454 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
36455 (ustat): Do not use CHECK_1.
36456 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
36458 (__fxstat): Do not use CHECK_1.
36459 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
36461 (__fxstatat): Do not use CHECK_1.
36462 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
36464 (__lxstat): Do not use CHECK_1.
36465 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
36467 (__xstat): Do not use CHECK_1.
36468 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
36469 (__xstat): Do not use CHECK_1.
36470 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
36471 (___xstat64): Do not use CHECK_1.
36474 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
36476 (CHECK_BOUNDS_HIGH): Likewise.
36477 * string/strcpy.c: Do not include <bp-checks.h>.
36478 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
36480 2013-02-07 Roland McGrath <roland@hack.frob.com>
36482 * nscd/nscd-client.h (__nscd_drop_map_ref):
36483 Add __attribute__ ((unused)).
36484 * nis/nss-nisplus.h (niserr2nss): Likewise.
36486 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
36487 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
36489 * csu/libc-tls.c (init_static_tls, init_slotinfo):
36490 Remove inline keyword.
36491 * include/rounding-mode.h (round_away): Likewise.
36492 * libio/wfileops.c (adjust_wide_data): Likewise.
36493 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
36494 (__m128i_strloadu_tolower): Likewise.
36495 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
36496 (__m128i_strloadu_tolower): Likewise.
36497 * time/mktime.c (ydhms_diff): Likewise.
36498 * locale/elem-hash.h (elem_hash): Likewise.
36499 * locale/setlocale.c (setdata): Likewise.
36500 * posix/regex_internal.h (re_string_char_size_at): Likewise.
36501 (re_string_wchar_at): Likewise.
36502 (bitset_not, bitset_merge, bitset_mask): Likewise.
36503 [!(__GNUC__ > 3)] (inline): Remove macro.
36504 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
36505 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
36506 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
36507 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
36508 * string/memcmp.c (memcmp_bytes): Likewise.
36509 * locale/programs/locarchive.c (compute_hashval): Likewise.
36510 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
36511 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
36512 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
36513 * nss/getent.c (print_rpc, print_protocols): Likewise.
36514 (print_passwd, print_group, print_aliases): Likewise.
36515 * nis/nss-nisplus.h (niserr2nss): Likewise.
36516 * nscd/connections.c (restart_p): Likewise.
36517 Change return type to bool.
36519 2013-02-05 Roland McGrath <roland@hack.frob.com>
36521 * Makeconfig (all-Depend-files): Add existing
36522 $(sorted-subdirs:=/Depend) files.
36523 (all-subdirs): Remove nss.
36524 * sysdeps/unix/inet/Subdirs: Add it here instead.
36525 * hesiod/Depend: New file.
36527 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
36528 instead of calling alloca.
36530 * io/lseek.c (__lseek): Rename to __libc_lseek.
36531 Define __lseek as an alias.
36533 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
36535 2013-02-04 Carlos O'Donell <carlos@redhat.com>
36537 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
36538 else clause and remove check for non-standard endianness.
36540 2013-02-04 David S. Miller <davem@davemloft.net>
36542 * sysdeps/sparc/fpu/libm-test-ulps: Update.
36544 2013-02-04 Joseph Myers <joseph@codesourcery.com>
36547 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
36548 (__ubp_memchr): Remove prototype.
36549 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
36550 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
36551 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
36552 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
36553 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
36555 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
36556 (__ubp_memchr): Likewise.
36557 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
36558 (__ubp_memchr): Likewise.
36559 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
36560 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
36561 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
36562 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
36564 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
36565 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
36566 (__getcwd): Do not use CHECK_STRING.
36567 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
36569 (__real_chown): Do not use CHECK_STRING.
36570 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
36572 (fchownat): Do not use CHECK_STRING.
36573 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
36575 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
36577 (__lchown): Do not use CHECK_STRING.
36578 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
36579 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
36580 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
36581 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
36582 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
36583 include <bp-checks.h>.
36584 (truncate64): Do not use CHECK_STRING.
36585 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
36587 (__real_chown): Do not use CHECK_STRING.
36588 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
36590 (__lchown): Do not use CHECK_STRING.
36591 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
36593 (__chown): Do not use CHECK_STRING.
36594 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
36596 (truncate64): Do not use CHECK_STRING.
36597 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
36599 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
36600 (__xmknod): Do not use CHECK_STRING.
36601 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
36603 (__xmknodat): Do not use CHECK_STRING.
36604 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
36605 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
36607 2013-02-04 Andreas Schwab <schwab@suse.de>
36610 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
36611 * include/netdb.h: Likewise for h_errno.
36612 * elf/tst-stackguard1.c: Include <tls.h>.
36614 2013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
36616 * elf/link.h (struct link_map): Extend the l_addr comment.
36617 * include/link.h (struct link_map): Likewise.
36619 2013-02-01 Joseph Myers <joseph@codesourcery.com>
36622 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
36623 (BOUNDED_1): Remove macro.
36624 * debug/backtrace.c: Don't include <bp-checks.h>.
36625 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
36626 (__backtrace): Likewise.
36627 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
36629 (__backtrace): Don't use BOUNDED_1.
36630 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
36632 (__backtrace): Don't use BOUNDED_1.
36633 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
36634 (__backtrace): Don't use BOUNDED_1.
36635 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
36636 (shmat): Don't use BOUNDED_N.
36638 2013-01-31 Joseph Myers <joseph@codesourcery.com>
36641 * sysdeps/generic/bp-start.h: Remove file.
36642 * csu/libc-start.c: Don't include <bp-start.h>.
36643 (LIBC_START_MAIN): Set up __environ directly instead of using
36644 INIT_ARGV_and_ENVIRON.
36645 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
36649 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
36651 (CHECK_FCNTL): Likewise.
36652 (CHECK_N_PAGES): Likewise.
36655 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
36657 (CHECK_SIGSET_NULL_OK): Likewise.
36658 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
36660 (sigpending): Don't use CHECK_SIGSET.
36661 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
36663 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
36664 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
36666 (do_sigsuspend): Don't use CHECK_SIGSET.
36667 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
36669 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
36670 (do_sigwait): Don't use CHECK_SIGSET.
36671 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
36673 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
36674 include <bp-checks.h>.
36675 (sigpending): Don't use CHECK_SIGSET.
36676 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
36677 include <bp-checks.h>.
36678 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
36679 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
36681 (sigpending): Don't use CHECK_SIGSET.
36682 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
36684 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
36687 * sysdeps/generic/bp-semctl.h: Remove file.
36688 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
36689 <bp-checks.h> and <bp-semctl.h>.
36690 (__old_semctl): Don't use CHECK_SEMCTL.
36691 (__new_semctl): Likewise.
36692 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
36694 (__old_semctl): Don't use CHECK_SEMCTL.
36695 (__new_semctl): Likewise.
36696 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
36697 <bp-checks.h> and <bp-semctl.h>.
36698 (__old_semctl): Don't use CHECK_SEMCTL.
36699 (__new_semctl): Likewise.
36700 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
36701 <bp-checks.h> and <bp-semctl.h>.
36702 (semctl): Don't use CHECK_SEMCTL.
36705 * Makerules (elide-bp-thunks): Remove variable.
36706 (elide-routines.oS): Don't use $(elide-bp-thunks).
36707 (elide-routines.os): Likewise.
36708 (elide-routines.o): Likewise.
36709 (elide-routines.op): Likewise.
36710 (elide-routines.og): Likewise.
36711 (objects): Don't use $(bp-thunks).
36712 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
36714 (common-generated): Do not add s-proto-bp.d.
36715 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
36718 Do not generate makefile rules for bounded-pointer thunks.
36719 * sysdeps/generic/bp-thunks.h: Remove file.
36720 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
36721 * sysdeps/unix/s-proto-bp.S: Likewise.
36724 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
36725 parts of result separately when argument is not close to line from
36726 -i to i and one part of argument is small.
36727 * math/k_casinhf.c (__kernel_casinhf): Likewise.
36728 * math/k_casinhl.c (__kernel_casinhl): Likewise.
36729 * math/libm-test.inc (cacos_test): Add more tests.
36730 (casin_test): Likewise.
36731 (casinh_test): Likewise.
36732 * sysdeps/i386/fpu/libm-test-ulps: Update.
36733 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36735 2013-01-31 David S. Miller <davem@davemloft.net>
36737 * po/de.po: Update from translation team.
36739 2013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
36741 * time/tzfile.c: Include stdint.h for SIZE_MAX.
36743 2013-01-25 Thomas Schwinge <thomas@codesourcery.com>
36745 * configure.in (_AC_PROG_CC_C89): New definition.
36746 * configure: Regenerate.
36748 * configure.in (AC_PROG_CPP): New definition.
36749 * configure: Regenerate.
36751 2013-01-23 Joseph Myers <joseph@codesourcery.com>
36753 * debug/tst-backtrace.h: New file.
36754 * debug/tst-backtrace2.c: Include tst-backtrace.h.
36755 (ret): Remove variable.
36757 (FAIL): Remove macro.
36758 (NO_INLINE): Likewise.
36759 (fn1): Use match function instead of strstr.
36760 * debug/tst-backtrace3.c: Include tst-backtrace.h.
36761 (ret): Remove variable.
36763 (FAIL): Remove macro.
36764 (NO_INLINE): Likewise.
36765 (fn): Use match function instead of strstr.
36766 * debug/tst-backtrace4.c: Include tst-backtrace.h.
36767 (ret): Remove variable.
36769 (FAIL): Remove macro.
36770 (NO_INLINE): Likewise.
36771 (handle_signal): Use match function instead of strstr.
36772 * debug/tst-backtrace5.c: Include tst-backtrace.h.
36773 (ret): Remove variable.
36775 (FAIL): Remove macro.
36776 (NO_INLINE): Likewise.
36777 (handle_signal): Use match function instead of strstr.
36779 2013-01-23 Roland McGrath <roland@hack.frob.com>
36781 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
36783 2013-01-23 David S. Miller <davem@davemloft.net>
36785 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
36786 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
36787 argument of CAS if possible.
36788 * sysdeps/sparc/sparc64/bits/atomic.h
36789 (__arch_compare_and_exchange_val_32_acq): Likewise.
36790 (__arch_compare_and_exchange_val_64_acq): Likewise.
36792 2013-01-23 Pino Toscano <toscano.pino@tiscali.it>
36794 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
36795 * sysdeps/posix/ulimit.c: ... this.
36796 Include <limits.h>.
36797 * sysdeps/unix/bsd/ulimit.c: Remove file.
36799 2013-01-23 Adam Conrad <adconrad@0c3.net>
36801 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
36802 (LDFLAGS-tst-array5): Likewise.
36804 2013-01-23 Joseph Myers <joseph@codesourcery.com>
36807 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
36808 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
36809 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
36810 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
36812 2013-01-21 David S. Miller <davem@davemloft.net>
36814 * sysdeps/sparc/backtrace.c: New file.
36815 * sysdeps/sparc/sparc32/backtrace.h: New file.
36816 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
36817 * sysdeps/sparc/sparc64/backtrace.h: New file.
36818 * sysdeps/sparc/sparc64/backtrace.c: Delete.
36819 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
36822 2013-01-21 Andreas Schwab <schwab@suse.de>
36825 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
36828 2013-01-20 Andreas Schwab <schwab@linux-m68k.org>
36830 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
36832 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
36834 2013-01-18 Joseph Myers <joseph@codesourcery.com>
36835 Mark Mitchell <mark@codesourcery.com>
36836 Tom de Vries <tom@codesourcery.com>
36837 Paul Pluzhnikov <ppluzhnikov@google.com>
36839 * debug/tst-backtrace2.c: New file.
36840 * debug/tst-backtrace3.c: Likewise.
36841 * debug/tst-backtrace4.c: Likewise.
36842 * debug/tst-backtrace5.c: Likewise.
36843 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
36844 (CFLAGS-tst-backtrace3.c): Likewise.
36845 (CFLAGS-tst-backtrace4.c): Likewise.
36846 (CFLAGS-tst-backtrace5.c): Likewise.
36847 (LDFLAGS-tst-backtrace2): Likewise.
36848 (LDFLAGS-tst-backtrace3): Likewise.
36849 (LDFLAGS-tst-backtrace4): Likewise.
36850 (LDFLAGS-tst-backtrace5): Likewise.
36851 (tests): Add new tests tst-backtrace2, tst-backtrace3,
36852 tst-backtrace4 and tst-backtrace5.
36854 2013-01-18 Anton Blanchard <anton@samba.org>
36855 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
36857 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
36858 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
36859 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
36860 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
36861 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
36862 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
36863 "+r" and remove output regs list as redundant. Add explicit inline
36864 asm to specify register of return val to work around compiler codegen
36865 bug. Remove (int) cast on return value. Add return type parameter to
36866 use in macro so that this macro does not truncate return value for
36868 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
36869 pass to INTERNAL_VSYSCALL_NCS.
36870 (INLINE_VSYSCALL): Add 'long int' as return type to
36871 INTERNAL_VSYSCALL_NCS macro invocation.
36872 (INTERNAL_VSYSCALL): Add 'long int' as return type to
36873 INTERNAL_VSYSCALL_NCS macro invocation.
36874 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
36876 2013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
36879 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
36880 Fix application of SIMD FP exception mask.
36882 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
36883 mp_no from a power of two.
36884 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
36885 __mpexp_twomm1. Use __pow_mp.
36887 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
36890 2013-01-17 David S. Miller <davem@davemloft.net>
36892 * sysdeps/sparc/fpu/libm-test-ulps: Update.
36894 2013-01-17 Joseph Myers <joseph@codesourcery.com>
36897 * include/complex.h: Condition contents on [!_COMPLEX_H].
36898 (__kernel_casinhf): New prototype.
36899 (__kernel_casinh): Likewise.
36900 (__kernel_casinhl): Likewise.
36901 * math/Makefile (libm_calls): Add k_casinh.
36902 * math/k_casinh.c: New file.
36903 * math/k_casinhf.c: Likewise.
36904 * math/k_casinhl.c: Likewise.
36905 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
36906 finite nonzero arguments.
36907 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
36908 finite nonzero arguments.
36909 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
36910 finite nonzero arguments.
36911 * math/s_casinh.c: Do not include <float.h>.
36912 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
36913 * math/s_casinhf.c: Do not include <float.h>.
36914 (__casinhf): Move code for finite nonzero arguments to
36916 * math/s_casinhl.c: Do not include <float.h>.
36917 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
36919 (__casinhl): Move code for finite nonzero arguments to
36921 * math/libm-test.inc (cacos_test): Add more tests.
36922 * sysdeps/i386/fpu/libm-test-ulps: Update.
36923 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36925 2013-01-17 Pino Toscano <toscano.pino@tiscali.it>
36927 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
36928 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
36929 [!HAVE_MREMAP]: Remove [defined linux] case.
36930 * malloc/arena.c: Do not include <malloc-sysdep.h>.
36932 2013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
36934 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
36936 2013-01-17 H.J. Lu <hongjiu.lu@intel.com>
36938 * elf/elf.h (R_386_SIZE32): New relocation.
36939 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
36941 (elf_machine_rela): Likewise.
36942 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
36943 R_X86_64_SIZE64 and R_X86_64_SIZE32.
36945 2013-01-17 Joseph Myers <joseph@codesourcery.com>
36947 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
36948 (FP_FAST_FMA): Do not define.
36949 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
36950 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
36951 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
36952 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
36953 !_SOFT_FLOAT]: Likewise.
36954 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
36955 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
36957 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
36958 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
36959 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
36960 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
36961 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
36962 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
36965 2013-01-16 Andreas Schwab <schwab@suse.de>
36968 * include/stdlib.h (__mktemp): Add declaration.
36969 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
36970 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
36972 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
36974 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
36976 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
36977 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
36978 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
36980 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
36981 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
36983 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
36985 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
36986 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
36987 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
36989 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
36990 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
36992 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
36994 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
36996 2013-01-15 David S. Miller <davem@davemloft.net>
36998 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
36999 trunc{,f} to libm-sysdep_routes.
37000 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
37001 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
37003 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
37004 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
37006 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
37008 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
37009 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
37010 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
37011 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
37012 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
37013 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
37014 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
37015 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
37017 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
37018 nearbyint{,f} to libm-sysdep_routes.
37019 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
37020 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
37022 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
37024 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
37026 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
37028 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
37029 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
37030 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
37032 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
37033 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
37035 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
37036 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
37037 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
37039 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
37040 libc_feholdexcept and libc_fesetenv.
37042 2013-01-15 Mike Frysinger <vapier@gentoo.org>
37044 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
37046 2013-01-14 David S. Miller <davem@davemloft.net>
37048 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
37049 (SPARC_ASM_VIS2_IFUNC): Likewise.
37050 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
37051 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
37052 use of 'siam' instruction.
37053 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
37055 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
37057 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
37059 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
37060 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
37061 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
37062 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
37063 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
37065 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
37067 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
37069 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
37071 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
37072 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
37073 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
37074 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
37075 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
37077 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
37078 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
37079 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
37081 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
37082 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
37083 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
37084 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
37085 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
37086 routines to libm-sysdep_routines.
37087 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
37089 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
37090 fdim/fdimf to libm-sysdep_routines.
37091 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
37093 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
37094 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
37096 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
37097 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
37098 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
37099 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
37100 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
37101 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
37102 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
37104 2013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
37106 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
37107 to optimize copies.
37109 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
37110 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
37111 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
37113 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
37114 local variable MPTWO.
37115 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
37118 2013-01-13 Mike Frysinger <vapier@gentoo.org>
37120 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
37123 2013-01-13 Mike Frysinger <vapier@gentoo.org>
37125 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
37127 2013-01-13 Mike Frysinger <vapier@gentoo.org>
37129 * manual/pattern.texi (glob_t): Document gl_flags.
37130 (glob64_t): Likewise.
37132 2013-01-11 David S. Miller <davem@davemloft.net>
37134 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
37135 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
37136 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
37137 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
37138 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
37139 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
37140 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
37141 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
37142 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
37143 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
37144 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
37145 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
37146 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
37148 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
37149 sparc V9 rather than using V8 code.
37150 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
37151 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
37153 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
37155 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
37158 2013-01-11 Roland McGrath <roland@hack.frob.com>
37160 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
37161 not in the main loop.
37162 * configure: Regenerated.
37164 2013-01-11 Joseph Myers <joseph@codesourcery.com>
37166 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
37167 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
37169 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
37170 [!__GLIBC_HAVE_LONG_LONG] case.
37171 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
37172 condition to just #else.
37173 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
37174 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
37175 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
37176 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
37178 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
37179 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
37180 #elif condition to just #else.
37181 * sysdeps/unix/sysv/linux/sys/sysmacros.h
37182 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
37183 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
37184 #elif condition to just #else.
37186 2013-01-11 Steve Ellcey <sellcey@mips.com>
37188 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
37189 (EF_MIPS_ARCH_64): Fix value.
37190 (EF_MIPS_ARCH_32R2): New.
37191 (EF_MIPS_ARCH_64R2): New.
37193 2013-01-11 H.J. Lu <hongjiu.lu@intel.com>
37195 * Makeconfig (+link-pie-before-libc): New.
37196 (+link-pie-after-libc): Likewise.
37197 (+link-pie-tests): Likewise.
37198 (+link-pie): Rewritten.
37199 (link-before-libc): Remove $(config-LDFLAGS).
37200 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
37201 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
37202 (config-LDFLAGS): Renamed to ...
37203 (rtld-LDFLAGS): This.
37204 (rtld-tests-LDFLAGS): New macro.
37205 (link-libc-rpath-link): Likewise.
37206 (link-libc-tests-rpath-link): Likewise.
37207 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
37208 (link-libc): Prepand $(link-libc-rpath-link).
37209 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
37210 (test-program-prefix): New macro.
37211 (test-via-rtld-prefix): Likewise.
37212 (test-program-cmd): Likewise.
37213 (host-test-program-cmd): Likewise.
37214 * Makefile ($(common-objpfx)testrun.sh): Replace
37215 $(run-program-prefix) with $(test-program-prefix).
37216 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
37218 ($(common-objpfx)shlib.lds): Likewise.
37219 (build-module-helper): Likewise.
37220 ($(common-objpfx)format.lds): Likewise.
37221 * Rules (binaries-pie-tests): New.
37222 (binaries-pie-notests): Likewise.
37223 (binaries-pie): Rewritten.
37224 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
37225 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
37226 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
37227 (make-test-out): Replace $(host-built-program-cmd) with
37228 $(host-test-program-cmd).
37229 * config.make.in (build-hardcoded-path-in-tests): New variable.
37230 * configure.in (--enable-hardcoded-path-in-tests): New configure
37232 (hardcoded_path_in_tests): New AC_SUBST.
37233 * configure: Regenerated.
37234 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
37235 $(built-program-cmd) with $(test-program-cmd).
37236 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
37237 (test_program_cmd): This.
37238 * elf/Makefile ($(objpfx)order.out): Run test with
37239 $(test-program-prefix).
37240 ($(objpfx)order2.out): Likewise.
37241 ($(objpfx)tst-initorder.out): Likewise.
37242 ($(objpfx)tst-initorder2.out): Likewise.
37243 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
37244 $(test-program-cmd).
37245 ($(objpfx)tst-array1-static.out): Likewise.
37246 ($(objpfx)tst-array2.out): Likewise.
37247 ($(objpfx)tst-array3.out): Likewise.
37248 ($(objpfx)tst-array4.out): Likewise.
37249 ($(objpfx)tst-array5.out): Likewise.
37250 ($(objpfx)tst-array5-static.out): Likewise.
37251 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
37252 $(test-program-cmd).
37253 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
37254 $(run-program-prefix) with $(test-program-prefix).
37255 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
37256 (test_program_prefix): This.
37257 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
37258 $(run-program-prefix) with $(test-program-prefix).
37259 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
37260 (test_program_prefix): This.
37261 * iconvdata/tst-tables.sh: Likewise.
37262 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
37263 $(run-program-prefix) with $(test-program-prefix).
37264 ($(objpfx)tst-translit.out): Likewise.
37265 ($(objpfx)tst-gettext2.out): Likewise.
37266 ($(objpfx)tst-gettext4.out): Likewise.
37267 ($(objpfx)tst-gettext6.out): Likewise.
37268 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
37269 (test_program_prefix): This.
37270 * intl/tst-gettext2.sh: Likewise.
37271 * intl/tst-gettext4.sh Likewise.
37272 * intl/tst-gettext6.sh: Likewise.
37273 * intl/tst-translit.sh: Likewise.
37274 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
37275 with $(test-program-cmd).
37276 * libio/Makefile ($(objpfx)test-freopen.out): Replace
37277 $(run-program-prefix) with $(test-program-prefix).
37278 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
37279 (test_program_prefix): This.
37280 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
37281 $(run-program-prefix) with $(test-program-prefix).
37282 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
37283 (test_program_prefix): This.
37284 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
37285 * posix/Makefile ($(objpfx)globtest.out): Replace
37286 $(run-via-rtld-prefix) and $(test-wrapper) with
37287 $(test-program-prefix) and $(test-via-rtld-prefix).
37288 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
37289 $(test-program-prefix).
37290 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
37291 $(host-test-program-cmd).
37292 (tst-spawn-ARGS): Likewise.
37293 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
37294 $(test-program-prefix).
37295 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
37296 (test_via_rtld_prefix): This.
37297 (test_wrapper): Renamed to ...
37298 (test_program_prefix): This.
37299 (run_program_prefix): Replaced by test_program_prefix.
37300 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
37301 (test_program_prefix): This.
37302 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
37303 with $(host-test-program-cmd).
37304 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
37305 $(run-program-prefix) with $(test-program-prefix).
37306 ($(objpfx)tst-printf.out): Likewise.
37307 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
37308 $(test-program-cmd).
37309 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
37310 (test_program_prefix): This.
37311 * stdio-common/tst-unbputc.sh: Likewise.
37312 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
37313 $(run-program-prefix) with $(test-program-prefix).
37314 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
37315 (test_program_prefix): This.
37316 * string/Makefile ($(objpfx)tst-svc.out): Replace
37317 $(built-program-cmd) with $(test-program-cmd).
37319 2013-01-11 Andreas Jaeger <aj@suse.de>
37322 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
37323 value. Sync with Linux 3.7.
37325 2013-01-10 David S. Miller <davem@davemloft.net>
37327 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
37328 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
37329 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
37331 2013-01-10 Roland McGrath <roland@hack.frob.com>
37333 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
37335 * configure: Regenerated.
37337 2013-01-10 David S. Miller <davem@davemloft.net>
37339 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
37340 sparc V9 rather than using V8 code.
37341 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
37342 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
37344 2013-01-10 Roland McGrath <roland@hack.frob.com>
37346 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
37347 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
37348 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
37349 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
37350 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
37351 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
37352 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
37353 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
37354 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
37355 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
37356 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
37357 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
37358 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
37359 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
37360 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
37361 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
37362 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
37363 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
37364 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
37365 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
37366 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
37367 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
37368 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
37369 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
37370 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
37371 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
37372 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
37374 2013-01-10 David S. Miller <davem@davemloft.net>
37376 * sysdeps/sparc/fpu/libm-test-ulps: Update.
37378 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
37380 * posix/Makefile (tests-static): New variable.
37381 (tests): Add $(tests-static).
37382 (tst-exec-static-ARGS): New variable.
37383 (tst-spawn-static-ARGS): Likewise.
37384 * posix/tst-exec-static.c: New file.
37385 * posix/tst-spawn-static.c: Likewise.
37386 * posix/tst-exec.c: Support run directly.
37387 * posix/tst-spawn.c: Likewise.
37389 2013-01-10 Joseph Myers <joseph@codesourcery.com>
37391 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
37393 * math/bits/mathcalls.h (llrint): Likewise.
37394 (llround): Likewise.
37395 * stdlib/stdlib.h (struct drand48_data): Likewise.
37396 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
37397 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
37398 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
37400 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
37402 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
37403 (elf_greg_t): Likewise.
37404 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
37405 (__jmp_buf): Likewise.
37406 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
37408 (llrint): Likewise, for all definitions.
37409 (llrintl): Likewise.
37411 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
37412 Remove [__GNUC__] condition.
37413 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
37414 condition to just [__USE_ISOC99].
37415 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
37417 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
37420 * sysdeps/unix/sysv/linux/x86/bits/environments.h
37421 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
37423 (_POSIX_V6_ILP32_OFF32): Likewise.
37424 (_XBS5_ILP32_OFF32): Likewise.
37425 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
37426 (__ILP32_OFFBIG_LDFLAGS): Likewise.
37428 2013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
37430 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
37432 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
37433 doubles __mpexp_twomm1. Adjust usage.
37434 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
37437 2013-01-10 Andreas Schwab <schwab@suse.de>
37440 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
37441 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
37443 2013-01-09 David S. Miller <davem@davemloft.net>
37446 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
37447 (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
37448 (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
37449 (TCP_FASTOPEN): Define.
37450 (tcp_repair_opt): New structure.
37451 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
37453 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
37454 (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
37455 (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
37456 (tcp_cookie_transactions): New structure.
37458 2013-01-09 Anton Blanchard <anton@samba.org>
37460 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
37461 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
37462 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
37463 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
37465 2013-01-09 Joseph Myers <joseph@codesourcery.com>
37467 * include/features.h (__USE_ANSI): Remove.
37469 2013-01-09 Roland McGrath <roland@hack.frob.com>
37471 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
37473 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
37475 2013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
37477 * sysdeps/s390/fpu/libm-test-ulps: Update.
37479 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
37481 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
37485 (denorm): Likewise.
37486 (__mp_dbl): Likewise.
37487 (__dbl_mp): Likewise.
37488 (add_magnitudes): Likewise.
37489 (sub_magnitudes): Likewise.
37495 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
37499 (denorm): Likewise.
37500 (__mp_dbl): Likewise.
37501 (__dbl_mp): Likewise.
37502 (add_magnitudes): Likewise.
37503 (sub_magnitudes): Likewise.
37509 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
37513 (denorm): Likewise.
37514 (__mp_dbl): Likewise.
37515 (__dbl_mp): Likewise.
37516 (add_magnitudes): Likewise.
37517 (sub_magnitudes): Likewise.
37524 2013-01-08 Joseph Myers <joseph@codesourcery.com>
37526 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
37527 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
37528 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
37529 2 && __USE_EXTERN_INLINES]: Likewise.
37531 2013-01-08 Andreas Jaeger <aj@suse.de>
37534 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
37536 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
37537 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
37539 2013-01-07 Anton Blanchard <anton@samba.org>
37541 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
37542 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
37543 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
37544 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
37545 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
37546 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
37547 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
37548 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
37549 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
37550 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
37551 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
37552 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
37553 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
37554 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
37555 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
37556 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
37557 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
37558 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
37559 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
37560 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
37561 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
37562 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
37563 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
37564 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
37565 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
37566 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
37567 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
37568 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
37569 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
37570 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
37571 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
37572 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
37573 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
37574 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
37575 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
37576 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
37577 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
37578 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
37579 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
37580 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
37581 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
37582 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
37583 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
37585 2013-01-07 Joseph Myers <joseph@codesourcery.com>
37587 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
37588 (__MALLOC_PMT): Likewise.
37589 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
37590 [__GNUC__], only on [_LIBC].
37591 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
37592 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
37593 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
37594 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
37595 forward declaration.
37596 (realloc_hook_ini): Likewise.
37597 (memalign_hook_ini): Likewise.
37598 (__libc_memalign): Do not use __MALLOC_PMT in variable
37600 (__libc_valloc): Likewise.
37601 (__libc_pvalloc): Likewise.
37602 (__libc_calloc): Likewise.
37603 (__posix_memalign): Likewise.
37606 * math/s_casinh.c: Include <float.h>.
37607 (__casinh): Do not do computation with squaring and square root
37608 for large arguments.
37609 * math/s_casinhf.c: Include <float.h>.
37610 (__casinhf): Do not do computation with squaring and square root
37611 for large arguments.
37612 * math/s_casinhl.c: Include <float.h>.
37613 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
37614 (__casinhl): Do not do computation with squaring and square root
37615 for large arguments.
37616 * math/libm-test.inc (casin_test): Add more tests.
37617 (casinh_test): Likewise.
37618 * sysdeps/i386/fpu/libm-test-ulps: Update.
37619 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37621 2013-01-04 H.J. Lu <hongjiu.lu@intel.com>
37623 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
37624 (__x86_64_raw_data_cache_size): Likewise.
37625 (__x86_64_data_cache_size_half): Likewise.
37626 (__x86_64_raw_data_cache_size_half): Likewise.
37627 (__x86_64_shared_cache_size): Likewise.
37628 (__x86_64_raw_shared_cache_size): Likewise.
37629 (__x86_64_shared_cache_size_half): Likewise.
37630 (__x86_64_raw_shared_cache_size_half): Likewise.
37631 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
37633 (__x86_data_cache_size): This.
37634 (__x86_64_raw_data_cache_size): Renamed to ...
37635 (__x86_raw_data_cache_size): This.
37636 (__x86_64_data_cache_size_half): Renamed to ...
37637 (__x86_data_cache_size_half): This.
37638 (__x86_64_raw_data_cache_size_half): Renamed to ...
37639 (__x86_raw_data_cache_size_half): This.
37640 (__x86_64_shared_cache_size): Renamed to ...
37641 (__x86_shared_cache_size): This.
37642 (__x86_64_raw_shared_cache_size): Renamed to ...
37643 (__x86_raw_shared_cache_size): This.
37644 (__x86_64_shared_cache_size_half): Renamed to ...
37645 (__x86_shared_cache_size_half): This.
37646 (__x86_64_raw_shared_cache_size_half): Renamed to ...
37647 (__x86_raw_shared_cache_size_half): This.
37648 * sysdeps/x86_64/memcpy.S: Updated.
37649 * sysdeps/x86_64/memset.S: Likewise.
37650 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
37651 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
37652 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
37654 2013-01-04 David S. Miller <davem@davemloft.net>
37656 * sysdeps/sparc/fpu/libm-test-ulps: Update.
37658 2013-01-04 Andreas Schwab <schwab@linux-m68k.org>
37660 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
37661 1 to avoid redefinition warning.
37662 (__USE_GNU): Don't define.
37663 (init_signaling_nan): Protoize.
37665 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
37667 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
37669 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
37670 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
37671 (__cpymn): Likewise.
37672 (norm): Remove commented code.
37673 (denorm): Likewise.
37674 (__mp_dbl): Likewise.
37676 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
37677 (__cpymn): Likewise.
37678 (norm): Remove commented code.
37679 (denorm): Likewise.
37680 (__mp_dbl): Likewise.
37683 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
37684 mp_no value for 1.0 and 2.0.
37685 (norm): Use RADIXI instead of radixi.d.
37686 (denorm): Likewise.
37687 (__mul): Use 0.0 instead of zero.d.
37688 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
37689 mp_no value for 1.0 and 2.0.
37690 (norm): Use RADIXI instead of radixi.d.
37691 (denorm): Likewise.
37692 (__mul): Use 0.0 instead of zero.d.
37694 2013-01-04 Joseph Myers <joseph@codesourcery.com>
37697 * math/s_casinh.c (__casinh): Reduce finite argument to first
37698 quadrant then set signs of results at the end.
37699 * math/s_casinhf.c (__casinhf): Likewise.
37700 * math/s_casinhl.c (__casinhl): Likewise.
37701 * math/libm-test.inc (casin_test): Add more tests.
37702 (casinh_test): Likewise.
37703 * sysdeps/i386/fpu/libm-test-ulps: Update.
37704 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37706 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
37708 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
37710 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
37712 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
37714 (denorm): Likewise.
37715 (__mp_dbl): Likewise.
37718 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
37719 and adjust the header comment.
37721 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
37722 variable name from declaration.
37724 2013-01-03 H.J. Lu <hongjiu.lu@intel.com>
37726 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
37727 Initialize COMMON_CPUID_INDEX_7 element.
37728 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
37729 (CPUID_RTM): Likewise.
37730 (HAS_RTM): Likewise.
37731 (COMMON_CPUID_INDEX_7): New enum.
37733 2013-01-03 Andreas Schwab <schwab@linux-m68k.org>
37736 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
37737 size is zero, record memory as freed.
37739 2013-01-03 Andreas Jaeger <aj@suse.de>
37741 * po/ia.po: Add new Interlingua translation.
37743 2012-01-03 Allan McRae <allan@archlinux.org>
37745 * locale/programs/localedef.c: Fix description of '--posix' flag.
37747 2013-01-02 Joseph Myers <joseph@codesourcery.com>
37749 * NEWS: Update dates in second copyright notice.
37750 * README: Update copyright dates in example.
37751 * manual/libc.texinfo: Update copyright dates.
37752 * scripts/test-installation.pl: Update copyright date in --version
37755 * hurd/ctty-input.c: Fix copyright notice formatting.
37756 * hurd/ctty-output.c: Likewise.
37757 * hurd/dtable.c: Likewise.
37758 * hurd/hurd-raise.c: Likewise.
37759 * hurd/hurdprio.c: Likewise.
37760 * hurd/msgportdemux.c: Likewise.
37761 * misc/sys/file.h: Likewise.
37762 * misc/sys/ioctl.h: Likewise.
37763 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
37764 * sysdeps/mach/hurd/chdir.c: Likewise.
37765 * sysdeps/mach/hurd/fchdir.c: Likewise.
37766 * sysdeps/mach/hurd/rename.c: Likewise.
37767 * sysdeps/mach/hurd/rmdir.c: Likewise.
37768 * sysdeps/mach/hurd/seekdir.c: Likewise.
37769 * sysdeps/mach/hurd/setsid.c: Likewise.
37770 * sysdeps/posix/wait3.c: Likewise.
37772 * All files with FSF copyright notices: Update copyright dates
37773 using scripts/update-copyrights.
37774 * intl/plural.c: Regenerated.
37775 * locale/programs/charmap-kw.h: Likewise.
37776 * locale/programs/locfile-kw.h: Likewise.
37778 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
37780 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
37783 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
37784 calculation loop and add branch prediction.
37786 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
37787 check access beyond bounds of m1np.
37789 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
37791 (__inv): Remove local variable MPTWO to use the global
37793 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
37794 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
37796 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
37797 MP3HALFS static const.
37799 2013-01-01 David S. Miller <davem@davemloft.net>
37801 * po/ca.po: Update from translation team.
37803 2013-01-01 Joseph Myers <joseph@codesourcery.com>
37805 * scripts/update-copyrights: New file.
37806 * Makeconfig: Reformat copyright notice.
37807 * ctype/ctype.h: Likewise.
37808 * debug/swprintf_chk.c: Likewise.
37809 * elf/dl-cache.c: Likewise.
37810 * elf/dl-debug.c: Likewise.
37811 * elf/dl-object.c: Likewise.
37812 * grp/initgroups.c: Likewise.
37813 * hurd/Makefile: Likewise.
37814 * hurd/hurd/signal.h: Likewise.
37815 * hurd/hurdfault.c: Likewise.
37816 * hurd/hurdioctl.c: Likewise.
37817 * hurd/hurdlookup.c: Likewise.
37818 * hurd/intr-msg.c: Likewise.
37819 * iconv/gconv_open.c: Likewise.
37820 * libio/swprintf.c: Likewise.
37821 * locale/lc-ctype.c: Likewise.
37822 * locale/nl_langinfo.c: Likewise.
37823 * mach/Machrules: Likewise.
37824 * mach/Makefile: Likewise.
37825 * malloc/obstack.h: Likewise.
37826 * manual/Makefile: Likewise.
37827 * manual/tsort.awk: Likewise.
37828 * misc/bits/stab.def: Likewise.
37829 * nis/nis_print_group_entry.c: Likewise.
37830 * nis/nis_table.c: Likewise.
37831 * nis/nss_compat/compat-pwd.c: Likewise.
37832 * nis/nss_compat/compat-spwd.c: Likewise.
37833 * po/Makefile: Likewise.
37834 * posix/fnmatch.c: Likewise.
37835 * posix/regex.h: Likewise.
37836 * resolv/Makefile: Likewise.
37837 * resolv/nss_dns/dns-network.c: Likewise.
37838 * resolv/res_hconf.c: Likewise.
37839 * scripts/gen-sorted.awk: Likewise.
37840 * soft-fp/soft-fp.h: Likewise.
37841 * stdio-common/printf.h: Likewise.
37842 * stdlib/monetary.h: Likewise.
37843 * stdlib/random.c: Likewise.
37844 * stdlib/random_r.c: Likewise.
37845 * sysdeps/generic/Makefile: Likewise.
37846 * sysdeps/gnu/Makefile: Likewise.
37847 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
37848 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
37849 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
37850 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
37851 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
37852 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
37853 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
37854 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
37855 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
37856 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
37857 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
37858 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
37859 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
37860 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
37861 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
37862 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
37863 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
37864 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
37865 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
37866 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
37867 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
37868 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
37869 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
37870 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
37871 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
37872 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
37873 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
37874 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
37875 * sysdeps/mach/hurd/errnos.awk: Likewise.
37876 * sysdeps/mach/hurd/fork.c: Likewise.
37877 * sysdeps/mach/hurd/getcwd.c: Likewise.
37878 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
37879 * sysdeps/mach/hurd/mmap.c: Likewise.
37880 * sysdeps/mach/hurd/utimes.c: Likewise.
37881 * sysdeps/mach/hurd/xmknod.c: Likewise.
37882 * sysdeps/posix/profil.c: Likewise.
37883 * sysdeps/posix/readdir_r.c: Likewise.
37884 * sysdeps/powerpc/bits/mathdef.h: Likewise.
37885 * sysdeps/powerpc/bits/setjmp.h: Likewise.
37886 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
37887 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
37888 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
37889 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
37890 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
37891 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
37892 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
37893 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
37894 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
37895 * sysdeps/pthread/lio_listio.c: Likewise.
37896 * sysdeps/sparc/dl-procinfo.h: Likewise.
37897 * sysdeps/unix/i386/sysdep.S: Likewise.
37898 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
37899 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
37900 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
37901 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
37902 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
37903 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
37904 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
37905 * sysdeps/unix/sysv/linux/speed.c: Likewise.
37906 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
37907 * sysdeps/wordsize-32/divdi3.c: Likewise.
37908 * time/sys/time.h: Likewise.
37909 * wcsmbs/Makefile: Likewise.
37911 2013-01-01 David S. Miller <davem@davemloft.net>
37913 * po/fr.po: Update from translation team.
37915 * catgets/gencat.c: Update copyright year.
37916 * csu/version.c: Likewise.
37917 * debug/catchsegv.sh: Likewise.
37918 * debug/pcprofiledump.c: Likewise.
37919 * debug/xtrace.sh: Likewise.
37920 * elf/ldconfig.c: Likewise.
37921 * elf/ldd.bash.in: Likewise.
37922 * elf/pldd.c: Likewise.
37923 * elf/sotruss.ksh: Likewise.
37924 * elf/sprof.c: Likewise.
37925 * iconv/iconv_prog.c: Likewise.
37926 * iconv/iconvconfig.c: Likewise.
37927 * locale/programs/locale.c: Likewise.
37928 * locale/programs/localedef.c: Likewise.
37929 * login/programs/pt_chown.c: Likewise.
37930 * malloc/memusage.sh: Likewise.
37931 * malloc/memusagestat.c: Likewise.
37932 * malloc/mtrace.pl: Likewise.
37933 * nscd/nscd.c: Likewise.
37934 * nss/getent.c: Likewise.
37935 * nss/makedb.c: Likewise.
37936 * posix/getconf.c: Likewise.
37938 2012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
37940 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
37943 2012-12-30 Mike Frysinger <vapier@gentoo.org>
37945 * math/bits/mathcalls.h (modf): Use __nonnull.
37947 2012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
37949 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
37950 (split): Use macro CN instead of the bare value.
37951 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
37953 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
37954 instead of the bare value.
37955 (power1): Likewise.
37957 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
37959 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
37961 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
37963 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
37965 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
37966 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
37967 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
37968 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
37970 2012-12-28 Andreas Jaeger <aj@suse.de>
37972 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
37973 values are from Linux 3.7.
37975 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
37976 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
37978 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
37980 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
37983 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
37985 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
37986 variables with preprocessor constants.
37987 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
37988 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
37989 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
37991 2012-12-27 Bruno Haible <bruno@clisp.org>
37994 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
37997 2012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
37999 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
38000 and use variable directly.
38001 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
38003 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
38005 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
38006 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
38008 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
38009 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
38010 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
38011 include directive. Remove local variable MPONE.
38012 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
38013 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
38014 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
38016 2012-12-25 David S. Miller <davem@davemloft.net>
38018 * version.h (RELEASE): Set to "development".
38019 (VERSION): Set to "2.17.90".
38020 * NEWS: Add 2.18 section.
38022 2012-12-21 David S. Miller <davem@davemloft.net>
38024 * po/hr.po: Update from translation team.
38026 2012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
38028 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
38030 2012-12-19 Steve Ellcey <sellcey@mips.com>
38032 * NEWS: Mention new memcpy for MIPS.
38034 2012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
38036 * manual/contrib.texi (Contributors): Spelling correction.
38038 2012-12-15 David S. Miller <davem@davemloft.net>
38040 * po/ru.po: Update from translation team.
38042 2012-12-13 David S. Miller <davem@davemloft.net>
38044 * NEWS: Mention IFUNC testsuite enhancements.
38046 * po/pl.po: Update from translation team.
38047 * po/bg.po: Likewise.
38049 * manual/contrib.texi (Contributors): Update entries for Hongjiu
38050 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
38052 2012-12-11 David S. Miller <davem@davemloft.net>
38054 * po/sv.po: Update from translation team.
38056 * po/vi.po: Update from translation team.
38058 * po/cs.po: Update from translation team.
38060 * po/de.po: Update from translation team.
38061 * po/eo.po: Likewise.
38062 * po/nl.po: Likewise.
38064 2012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
38067 * manual/argp.texi (Argp Helper Functions): Move node to follow
38068 Argp Parsing State.
38071 * manual/conf.texi (Limits on File System Capacity): Mention if
38072 terminating null is included in the max size.
38074 2012-12-10 Andreas Jaeger <aj@suse.de>
38076 * po/cs.po: Update from translation team.
38078 2012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
38080 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
38081 void pointer and cast to uintptr_t.
38082 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
38084 * sysdeps/s390/s390-64/memcpy.S: Likewise.
38085 * sysdeps/s390/s390-64/memset.S: Likewise.
38087 2012-12-08 Benno Schulenberg <bensberg@justemail.net>
38090 * menual/message.texi (Message Translation): Fix typos.
38091 (Helper programs for gettext): Likewise.
38093 2012-12-07 Andreas Schwab <schwab@linux-m68k.org>
38096 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
38099 2012-12-07 David S. Miller <davem@davemloft.net>
38101 * po/libc.pot: Update.
38103 2012-12-07 Richard Henderson <rth@redhat.com>
38106 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
38107 normal/normal case to before the switch.
38108 (_FP_DIV): Likewise.
38110 2012-12-06 Carlos O'Donell <carlos@systemhalted.org>
38111 Mike Frysinger <vapier@gentoo.org>
38113 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
38114 check for __NR_fadvise64_64.
38116 2012-12-06 Chris Metcalf <cmetcalf@tilera.com>
38118 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
38119 0, not just to plain "0" as a statement.
38120 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
38123 2012-12-06 Joseph Myers <joseph@codesourcery.com>
38125 * NEWS: Use sourceware.org in Bugzilla URL.
38127 2012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
38129 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
38130 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
38132 * stdio-common/tst-put-error.c (do_test): Add newline to the
38133 padded test to ensure flush.
38135 2012-12-05 Jeff Law <law@redhat.com>
38137 * sunrpc/etc.rpc (fedfs_admin): Add entry.
38139 2012-12-05 Joseph Myers <joseph@codesourcery.com>
38141 * README: Don't refer to ports add-on as distributed separately.
38142 Mention AArch64 in list of systems supported in the ports add-on.
38144 * LICENSES: Add more non-FSF copyright and license notices.
38146 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
38149 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
38151 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
38152 10000 as width of padded output.
38154 2012-12-04 Joseph Myers <joseph@codesourcery.com>
38156 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
38158 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
38159 variable LX with __attribute__ ((unused)).
38160 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
38162 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
38163 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
38164 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
38165 with __attribute__ ((unused)).
38167 2012-12-04 David S. Miller <davem@abraco.davemloft.net>
38169 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
38171 2012-12-04 Joseph Myers <joseph@codesourcery.com>
38173 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
38174 (CFLAGS-nldbl-acos.c): New variable.
38175 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
38176 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
38177 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
38178 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
38179 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
38180 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
38181 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
38182 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
38183 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
38184 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
38185 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
38186 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
38187 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
38188 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
38189 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
38190 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
38191 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
38192 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
38193 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
38194 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
38195 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
38196 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
38197 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
38198 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
38199 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
38200 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
38201 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
38202 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
38203 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
38204 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
38205 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
38206 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
38207 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
38208 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
38209 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
38210 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
38211 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
38212 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
38213 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
38214 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
38215 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
38216 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
38217 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
38218 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
38219 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
38220 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
38221 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
38222 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
38223 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
38224 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
38225 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
38226 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
38227 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
38228 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
38229 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
38230 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
38231 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
38232 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
38233 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
38234 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
38235 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
38236 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
38237 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
38238 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
38239 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
38240 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
38241 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
38242 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
38243 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
38244 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
38245 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
38246 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
38247 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
38248 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
38249 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
38250 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
38251 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
38252 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
38253 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
38254 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
38255 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
38256 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
38257 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
38258 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
38259 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
38260 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
38261 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
38262 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
38263 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
38264 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
38265 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
38266 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
38267 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
38268 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
38269 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
38270 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
38271 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
38273 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
38274 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
38277 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
38278 whole low double instead of just low 47 bits when splitting values
38281 2012-12-03 Allan McRae <allan@archlinux.org>
38283 * manual/stdio.texi (Predefined Printf Handlers): Remove
38284 @hsep and @vsep usage.
38286 2012-12-03 Mike Frysinger <vapier@gentoo.org>
38288 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
38289 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
38291 2012-12-03 Jeff Law <law@redhat.com>
38293 * time/sys/time.h (settimeofday): Do not mark TV argument
38296 2012-12-01 Mike Frysinger <vapier@gentoo.org>
38298 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
38299 when currently writing and seek to current position when not.
38300 * libio/Makefile (tests): Remove bug-fclose1.
38301 * libio/bug-fclose1.c: Delete.
38303 2012-12-01 Joseph Myers <joseph@codesourcery.com>
38305 * manual/arith.texi (feenableexcept): Fix typo.
38306 (fedisableexcept): Likewise.
38308 2012-11-30 Roland McGrath <roland@hack.frob.com>
38310 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
38311 second, differently-typed declaration, rather than a cast.
38313 2012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
38315 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
38316 * include/rpc/svc.h: ... here.
38318 2012-11-30 Aurelien Jarno <aurel32@debian.org>
38321 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
38322 depending n and resplen2 to catch cases where answer
38325 2012-11-29 Carlos O'Donell <carlos@systemhalted.org>
38327 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
38328 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
38330 2012-11-29 Mike Frysinger <vapier@gentoo.org>
38332 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
38334 2012-11-29 Roland McGrath <roland@hack.frob.com>
38336 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
38338 2012-11-28 Jeff Law <law@redhat.com>
38341 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
38342 dataset_temporary. Track alloca usage into alloca_used.
38343 If dataset is large allocate and release it via malloc/free.
38345 2012-06-04 Florian Weimer <fweimer@redhat.com>
38348 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
38350 2012-11-28 David S. Miller <davem@davemloft.net>
38352 * sysdeps/sparc/fpu/libm-test-ulps: Update.
38354 2012-11-28 Joseph Myers <joseph@codesourcery.com>
38357 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
38358 of pi/2 rounded to nearest to 64 bits.
38359 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
38360 nearest to 64 bits.
38361 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
38364 2012-11-28 Jeff Law <law@redhat.com>
38365 Martin Osvald <mosvald@redhat.com>
38368 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
38369 * sunrpc/svc.c: Include time.h.
38370 (__svc_accept_failed): New function.
38371 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
38372 any reason other than EINTR, call __svc_accept_failed.
38373 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
38374 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
38376 2012-11-28 Andreas Schwab <schwab@suse.de>
38378 * scripts/abilist.awk: Also handle indirect functions in .opd
38381 2012-11-28 Joseph Myers <joseph@codesourcery.com>
38384 * sysdeps/x86/fpu/powl_helper.c: New file.
38385 * sysdeps/x86/fpu/Makefile: Likewise.
38386 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
38388 (__ieee754_powl): Use __powl_helper for finite arguments except
38389 integer exponents below 8.
38390 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
38392 (__ieee754_powl): Use __powl_helper for finite arguments except
38393 integer exponents below 8.
38394 * math/libm-test.inc (pow_test): Add more tests and enable some
38395 previously disabled tests.
38396 * sysdeps/i386/fpu/libm-test-ulps: Update.
38397 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38399 2012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
38400 Carlos O'Donell <carlos_odonell@mentor.com>
38402 * nss/makedb.c (is_prime): Assert that input is odd and greater
38403 than 4. Note that fact in a comment too.
38404 (next_prime): Add 4 to input.
38406 2012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
38409 * libio/Makefile (tests): Add test case tst-fwrite-error.
38410 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
38411 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
38412 * libio/tst-fwrite-error.c: New test case.
38414 2012-11-26 H.J. Lu <hongjiu.lu@intel.com>
38416 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
38417 before casting to void *.
38418 * include/libc-internal.h (__pointer_type): New macro.
38419 (__integer_if_pointer_type_sub): Likewise.
38420 (__integer_if_pointer_type): Likewise.
38421 (cast_to_integer): Likewise.
38422 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
38423 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
38424 before casting to atomic64_t.
38425 (atomic_exchange_acq): Likewise.
38426 (__arch_exchange_and_add_body): Likewise.
38427 (__arch_add_body): Likewise.
38428 (atomic_add_negative): Likewise.
38429 (atomic_add_zero): Likewise.
38431 2012-11-26 Joseph Myers <joseph@codesourcery.com>
38433 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
38434 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
38435 (add_fdes): Likewise.
38436 (linear_search_fdes): Likewise.
38437 (binary_search_unencoded_fdes): Likewise.
38439 2012-11-26 Andreas Schwab <schwab@linux-m68k.org>
38441 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
38443 2012-11-24 Adam Conrad <adconrad@0c3.net>
38445 * configure.in: Autodetect C++ header directories.
38446 * configure: Regenerated.
38448 2012-11-23 Mike Frysinger <vapier@gentoo.org>
38450 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
38452 2012-11-23 Andreas Schwab <schwab@linux-m68k.org>
38454 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
38456 2012-11-22 Joseph Myers <joseph@codesourcery.com>
38458 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
38459 LDBL_MANT_DIG == 106]: Disable some tests.
38460 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
38462 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
38466 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
38467 input for small inputs. Return +/- pi/2 for large inputs.
38468 * math/libm-test.inc (atan_test): Add more tests.
38470 * sysdeps/generic/unwind-dw2-fde-glibc.c
38471 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
38472 __attribute__ ((unused)).
38475 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
38476 x * y if x and y are nonzero and z is zero.
38479 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
38480 nonzero exponents with absolute value below 0x1p-117 to +/-
38484 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
38485 up arguments below 2**-450, not just those below 2**-500.
38486 * math/libm-test.inc (hypot_test): Add another test.
38489 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
38490 Return a+b for ratio over 2**120, not 2**60.
38491 * math/libm-test.inc (hypot_test): Add another test.
38493 * math/libm-test.inc (clog_test): Use
38494 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
38495 (clog10_test): Likewise.
38498 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
38500 2012-11-22 Andreas Schwab <schwab@suse.de>
38502 * sysdeps/i386/fpu/libm-test-ulps: Update.
38504 2012-11-22 Pino Toscano <toscano.pino@tiscali.it>
38506 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
38507 printf output with newline.
38509 2012-11-21 H.J. Lu <hongjiu.lu@intel.com>
38512 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
38513 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
38514 -z nodlopen, -z initfirst and -z execstack support.
38515 * configure: Regenerated.
38517 * elf/elf.h (DF_1_NODIRECT): New macro.
38518 (DF_1_IGNMULDEF): Likewise.
38519 (DF_1_NOKSYMS): Likewise.
38520 (DF_1_NOHDR): Likewise.
38521 (DF_1_EDITED): Likewise.
38522 (DF_1_NORELOC): Likewise.
38523 (DF_1_SYMINTPOSE): Likewise.
38524 (DF_1_GLOBAUDIT): Likewise.
38525 (DF_1_SINGLETON): Likewise.
38526 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
38527 DT_1_SUPPORTED_MASK bits.
38528 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
38530 2012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
38532 * sysdeps/unix/make-syscalls.sh: Document prefixes.
38534 2012-11-20 Thomas Schwinge <thomas@codesourcery.com>
38536 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
38539 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
38540 (sendmmsg): Move declarations...
38541 * socket/sys/socket.h: ... here.
38542 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
38543 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
38545 * socket/recvmmsg.c: ... this new file.
38546 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
38547 (sendmmsg): Rename to __sendmmsg, create weak alias and make
38548 definition of __sendmmsg hidden.
38549 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
38550 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
38551 Move ENOSYS stub into and include it from...
38552 * socket/sendmmsg.c: ... this new file.
38553 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
38554 (sysdep_routines): Move recvmmsg and sendmmsg...
38555 * socket/Makefile (routines): ... here.
38556 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
38557 (GLIBC_PRIVATE): Add __sendmmsg.
38558 * include/sys/socket.h (__sendmmsg): Add declarations.
38559 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
38562 2012-11-20 Joseph Myers <joseph@codesourcery.com>
38564 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
38565 variable I1 with __attribute__ ((unused)).
38566 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
38568 2012-11-19 Joseph Myers <joseph@codesourcery.com>
38570 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
38571 DUMMY variables with __attribute__ ((unused)).
38573 * bits/byteswap.h: Include <bits/types.h>.
38574 (__bswap_64): Use __uint64_t instead of unsigned long long int.
38576 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
38578 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
38579 string_t. Do not manually set errno.
38580 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
38581 length with __strnlen. Make sure to both set errno and return it on
38584 2012-11-19 David S. Miller <davem@davemloft.net>
38586 With help from Joseph Myers.
38587 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
38588 very large arguments properly.
38589 * math/libm-test.inc (atan_test): New tests.
38590 (atan2_test): New tests.
38591 * sysdeps/sparc/fpu/libm-test-ulps: Update.
38592 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
38594 2012-11-19 Joseph Myers <joseph@codesourcery.com>
38597 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
38600 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
38601 [POSIX] (EADDRNOTAVAIL): Likewise.
38602 [POSIX] (EAFNOSUPPORT): Likewise.
38603 [POSIX] (EALREADY): Likewise.
38604 [POSIX] (ECONNABORTED): Likewise.
38605 [POSIX] (ECONNREFUSED): Likewise.
38606 [POSIX] (ECONNRESET): Likewise.
38607 [POSIX] (EDESTADDRREQ): Likewise.
38608 [POSIX] (EDQUOT): Likewise.
38609 [POSIX] (EHOSTUNREACH): Likewise.
38610 [POSIX] (EIDRM): Likewise.
38611 [POSIX] (EISCONN): Likewise.
38612 [POSIX] (ELOOP): Likewise.
38613 [POSIX] (EMULTIHOP): Likewise.
38614 [POSIX] (ENETDOWN): Likewise.
38615 [POSIX] (ENETUNREACH): Likewise.
38616 [POSIX] (ENOBUFS): Likewise.
38617 [POSIX] (ENODATA): Likewise.
38618 [POSIX] (ENOLINK): Likewise.
38619 [POSIX] (ENOMSG): Likewise.
38620 [POSIX] (ENOPROTOOPT): Likewise.
38621 [POSIX] (ENOSR): Likewise.
38622 [POSIX] (ENOSTR): Likewise.
38623 [POSIX] (ENOTCONN): Likewise.
38624 [POSIX] (ENOTSOCK): Likewise.
38625 [POSIX] (EOPNOTSUPP): Likewise.
38626 [POSIX] (EOVERFLOW): Likewise.
38627 [POSIX] (EPROTO): Likewise.
38628 [POSIX] (EPROTONOSUPPORT): Likewise.
38629 [POSIX] (EPROTOTYPE): Likewise.
38630 [POSIX] (ESTALE): Likewise.
38631 [POSIX] (ETIME): Likewise.
38632 [POSIX] (ETXTBSY): Likewise.
38633 [POSIX] (EWOULDBLOCK): Likewise.
38634 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
38635 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
38636 [POSIX] (SEEK_CUR): Likewise.
38637 [POSIX] (SEEK_END): Likewise.
38638 [POSIX || UNIX98] (mode_t): Do not require.
38639 [POSIX] (off_t): Likewise.
38640 [POSIX] (pid_t): Likewise.
38641 [POSIX] (sys/stat.h): Do not allow header.
38642 [POSIX] (unistd.h): Likewise.
38643 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
38644 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
38645 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
38646 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
38648 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
38649 sigevent): Specify elements.
38650 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
38652 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
38653 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
38655 * conform/data/cpio.h-data [POSIX]: Disable whole file.
38656 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
38657 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
38658 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
38659 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
38660 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
38661 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
38662 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
38663 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
38664 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
38665 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
38666 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
38667 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
38668 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
38670 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
38672 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
38674 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
38676 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
38677 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
38678 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
38679 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
38680 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
38681 Specify lower bound on value.
38682 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
38683 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
38684 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
38685 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
38686 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
38687 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
38688 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
38689 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
38691 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
38693 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
38694 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
38695 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
38696 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
38697 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
38698 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
38699 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
38700 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
38701 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
38702 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
38703 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
38704 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
38705 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
38706 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
38707 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
38708 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
38710 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
38712 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
38713 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
38714 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
38715 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
38716 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
38717 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
38719 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
38720 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
38721 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
38722 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
38723 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
38724 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
38725 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
38727 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
38728 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
38729 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
38730 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
38731 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
38732 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
38733 specify as optional.
38734 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
38735 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
38736 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
38737 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
38738 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
38739 [XPG3] (NL_LANGMAX): Likewise.
38740 [POSIX || XPG3] (NL_MSGMAX): Likewise.
38741 [POSIX || XPG3] (NL_NMAX): Likewise.
38742 [POSIX || XPG3] (NL_SETMAX): Likewise.
38743 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
38744 [XPG3] (NZERO): Likewise.
38745 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
38746 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
38747 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
38748 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
38749 (REG_ERANGE): Expect.
38750 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
38752 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
38753 Use (void) in prototype.
38754 [POSIX] (*_t): Allow.
38755 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
38756 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
38757 (WRDE_BADVAL): Expect.
38759 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
38761 [XPG3 || XPG4] (O_RSYNC): Likewise.
38762 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
38764 [XPG3 || XPG4] (pthread_sigmask): Likewise.
38765 [XPG3 || XPG4] (sigqueue): Likewise.
38766 [XPG3 || XPG4] (sigtimedwait): Likewise.
38767 [XPG3 || XPG4] (sigwaitinfo): Likewise.
38768 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
38769 [XPG3 || XPG4] (vsnprintf): Likewise.
38770 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
38772 [XPG3 || XPG4] (blksize_t): Likewise.
38773 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
38775 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
38776 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
38777 [XPG3 || XPG4] (struct itimerspec): Likewise.
38778 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
38779 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
38780 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
38781 [XPG3 || XPG4] (clockid_t): Likewise.
38782 [XPG3 || XPG4] (timer_t): Likewise.
38783 [XPG3 || XPG4] (clock_getres): Likewise.
38784 [XPG3 || XPG4] (clock_gettime): Likewise.
38785 [XPG3 || XPG4] (clock_settime): Likewise.
38786 [XPG3 || XPG4] (nanosleep): Likewise.
38787 [XPG3 || XPG4] (timer_create): Likewise.
38788 [XPG3 || XPG4] (timer_delete): Likewise.
38789 [XPG3 || XPG4] (timer_gettime): Likewise.
38790 [XPG3 || XPG4] (timer_getoverrun): Likewise.
38791 [XPG3 || XPG4] (timer_settime): Likewise.
38792 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
38793 [XPG3 || XPG4] (getlogin_r): Likewise.
38794 [XPG3 || XPG4] (pread): Likewise.
38795 [XPG3 || XPG4] (pthread_atfork): Likewise.
38796 [XPG3 || XPG4] (pwrite): Likewise.
38799 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
38802 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
38804 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
38805 finalizing MALLSTREAM.
38807 * sysdeps/mach/hurd/syncfs.c: New file.
38809 2012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
38812 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
38813 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
38814 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
38815 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
38816 (_nss_dns_gethostbyname4_r): Likewise.
38817 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
38818 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
38820 2012-11-19 Peng Haitao <penght@cn.fujitsu.com>
38823 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
38825 2012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
38827 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
38828 * elf/cache.c (print_entry): Print ",AArch64" for
38831 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
38832 * elf/cache.c (print_entry): Print ",hard-float" for
38835 2012-11-18 David S. Miller <davem@davemloft.net>
38837 With help from Joseph Myers.
38838 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
38840 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
38842 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
38843 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
38845 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
38846 * math/libm-test.inc (y0_test): New tests.
38847 (y1_test): New tests.
38848 * sysdeps/i386/fpu/libm-test-ulps: Update.
38849 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
38850 * sysdeps/sparc/fpu/libm-test-ulps: Update.
38852 2012-11-18 Andreas Schwab <schwab@linux-m68k.org>
38854 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
38856 * configure: Regenerated.
38858 2012-11-17 David S. Miller <davem@davemloft.net>
38861 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
38862 nonzero exponents with absolute value below 0x1p-128 to +/-
38865 2012-11-17 Joseph Myers <joseph@codesourcery.com>
38867 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
38869 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
38871 * posix/getconf-speclist.c: New file.
38872 * posix/posix-envs.def: Likewise.
38873 * posix/confstr.c (START_ENV_GROUP): New macro.
38874 (END_ENV_GROUP): Likewise.
38875 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
38876 (KNOWN_PRESENT_ENV_STRING): Likewise.
38877 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
38878 (UNKNOWN_ENVIRONMENT): Likewise.
38879 (confstr): Include posix-envs.def instead of handling
38880 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
38881 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
38882 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
38883 (END_ENV_GROUP): Likewise.
38884 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
38885 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
38886 (UNKNOWN_ENVIRONMENT): Likewise.
38887 (__sysconf): Include posix-envs.def instead of handling associated
38888 cases directly here.
38889 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
38890 preprocessing getconf-speclist.c rather than running getconf or
38891 generating empty file.
38893 2012-11-16 Pino Toscano <toscano.pino@tiscali.it>
38895 * scripts/check-local-headers.sh: Ignore 'mach' headers.
38897 2012-11-16 Andrej Lajovic <natrij@gmail.com>
38900 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
38902 2012-11-16 David S. Miller <davem@davemloft.net>
38904 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
38905 smaller than LDBL_EPSILON/2.0L, just return xm1.
38907 2012-11-16 H.J. Lu <hongjiu.lu@intel.com>
38909 * elf/tst-array1.c (init): Set constructor priority to 1000.
38910 (fini): Set destructor priority to 1000.
38911 * elf/tst-array2dep.c: Likewise.
38913 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
38916 * libio/fileops.c (_IO_new_file_write): Correctly return error.
38917 (_IO_new_file_xsputn): Also return EOF if none of the input
38918 data was written when overflow failed.
38919 * libio/iopadn.c (_IO_padn): Likewise.
38920 * libio/iowpadn.c (_IO_wpadn): Likewise.
38921 * stdio-common/tst-put-error.c: Add copyright notice.
38922 (do_test): Add case for printing padded string.
38923 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
38924 _IO_padn returned error.
38925 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
38926 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
38929 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
38931 * libio/libioP.h: Add comment note that the references to C++
38932 bits are now obsolete.
38934 2012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
38936 * math/libm-test.inc (check_complex): Use asprintf.
38938 2012-11-14 Joseph Myers <joseph@codesourcery.com>
38940 * debug/pcprofiledump.c (print_version): Update copyright year.
38941 * malloc/memusagestat.c (print_version): Likewise.
38943 2012-11-14 H.J. Lu <hongjiu.lu@intel.com>
38946 * elf/Makefile (tests): Add tst-audit8.
38947 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
38948 ($(objpfx)tst-audit8.out): New target.
38949 (tst-audit8-ENV): New variable.
38950 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
38951 audit if l_reloc_result is NULL.
38952 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
38953 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
38954 * elf/tst-audit8.c: New file.
38956 2012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
38958 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
38959 * misc/Makefile (CFLAGS-select.c): Define.
38960 * posix/Makefile (CFLAGS-pause.c): Define.
38962 2012-11-13 David S. Miller <davem@davemloft.net>
38964 * crypt/Makefile: Move test targets after toplevel Rules
38965 inclusion. Grab any necessary sysdep routines when linking.
38966 * crypt/md5.c (md5_process_block): Remove define, we will always
38967 name it __md5_process_block.
38968 (md5_finish_ctx): Update md5_process_block call.
38969 (md5_stream): Likewise.
38970 (md5_process_bytes): Likewise.
38971 (md5_process_block): Rename to __md5_process_block and move to ...
38972 * crypt/md5-block.c: ... here.
38973 * crypt/sha256.c (sha256_process_block): Move to ...
38974 * crypt/sha256-block.c: ... here.
38975 * crypt/sha512.c (sha512_process_block): Move to ...
38976 * crypt/sha512-block.c: ... here.
38977 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
38979 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
38980 * sysdeps/sparc/sparc64/multiarch/Makefile
38981 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
38983 (localedef-aux): Add md5 crypto assembler when in locale subdir.
38984 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
38986 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
38987 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
38988 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
38989 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
38990 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
38991 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
38992 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
38993 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
38994 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
38996 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
38997 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
38999 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
39001 2012-11-13 Joseph Myers <joseph@codesourcery.com>
39003 * timezone/tzselect.ksh: Update from tzcode git revision
39004 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
39005 * timezone/zdump.c: Likewise.
39006 * timezone/zic.c: Likewise.
39007 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
39008 in TZVERSION setting, not $(PKGVERSION).
39009 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
39010 REPORT_BUGS_TO settings.
39013 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
39016 2012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
39018 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
39019 detection to immediately after _FP_ROUND().
39020 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
39023 2012-11-11 David S. Miller <davem@davemloft.net>
39025 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
39027 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
39028 __close rather than their public counterparts.
39030 2012-11-10 Joseph Myers <joseph@codesourcery.com>
39032 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
39034 [UNIX98] (sem_timedwait): Do not expect.
39035 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
39036 [XPG4 || UNIX98] (sockatmark): Do not expect.
39037 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
39038 (clock_getcpuclockid): Do not expect.
39039 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
39040 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
39042 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
39043 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
39044 [UNIX98] (vwscanf): Likewise.
39045 [UNIX98] (vswscanf): Likewise.
39047 2012-11-09 Joseph Myers <joseph@codesourcery.com>
39049 * timezone/version.h: Remove file.
39050 * timezone/README: Do not refer to version.h.
39051 * timezone/Makefile ($(objpfx)zic.o): New dependency on
39052 $(objpfx)version.h.
39053 ($(objpfx)zdump.o): Likewise.
39054 ($(objpfx)version.h): New target.
39056 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
39058 * timezone/README: Don't mention modification to tzselect.ksh.
39059 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
39060 work on unmodified tzselect.ksh. Substitute version numbers in
39063 * Makefile (format-me): Remove.
39064 (INSTALL): Adjust indentation. Use commands directly instead of
39065 using $(format-me).
39067 * aclocal.m4 (ACX_PKGVERSION): New macro.
39068 (ACX_BUGURL): Likewise.
39069 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
39070 (PKGVERSION): New AC_DEFINE_UNQUOTED.
39071 (REPORT_BUGS_TO): Likewise.
39072 * configure: Regenerated.
39073 * config.h.in (PKGVERSION): New macro.
39074 (REPORT_BUGS_TO): Likewise.
39075 * config.make.in (PKGVERSION): New variable.
39076 (PKGVERSION_TEXI): Likewise.
39077 (REPORT_BUGS_TO): Likewise.
39078 (REPORT_BUGS_TEXI): Likewise.
39079 * Makefile (format-me): Use -I$(common-objpfx)manual.
39080 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
39081 ($(common-objpfx)manual/%): New target.
39082 (manual/%): Remove target.
39083 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
39084 (print_version): Use PKGVERSION.
39085 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
39086 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
39087 and REPORT_BUGS_TO.
39088 ($(objpfx)xtrace): Likewise.
39089 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
39090 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
39091 (print_version): Use PKGVERSION.
39092 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
39093 (do_version): Use PKGVERSION.
39094 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
39096 (common-ldd-rewrite): Likewise.
39097 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
39098 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
39099 (print_version): Use PKGVERSION.
39100 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
39101 * elf/pldd.c (argp_program_bug_address): Remove variable.
39102 (more_help): New function.
39103 (argp): Use more_help.
39104 (print_version): Use PKGVERSION.
39105 * elf/sln.c (main): Use PKGVERSION.
39106 (usage): Use REPORT_BUGS_TO.
39107 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
39108 (top level): Use PKGVERSION.
39109 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
39110 (print_version): Use PKGVERSION.
39111 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
39112 (print_version): Use PKGVERSION.
39113 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
39114 (print_version): Use PKGVERSION.
39115 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
39116 (print_version): Use PKGVERSION.
39117 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
39118 (print_version): Use PKGVERSION.
39119 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
39120 (print_version): Use PKGVERSION.
39121 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
39123 ($(objpfx)memusage): Likewise.
39124 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
39125 (do_version): Use PKGVERSION.
39126 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
39127 (print_version): Use PKGVERSION.
39128 * malloc/mtrace.pl ($PACKAGE): Remove variable.
39129 ($PKGVERSION): New variable.
39130 ($REPORT_BUGS_TO): Likewise.
39131 (usage): Use $REPORT_BUGS_TO.
39132 (top level): Use $PKGVERSION.
39133 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
39134 ($(objpfx)pkgvers.texi): New rule.
39135 ($(objpfx)stamp-pkgvers): Likewise.
39136 * manual/install.texi: Include pkgvers.texi.
39137 (--with-pkgversion): Document new configure option.
39138 (--with-bugurl): Likewise.
39139 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
39140 than necessarily for this particular distribution. Use
39141 REPORT_BUGS_TO for where to report bugs.
39142 * INSTALL: Regenerated.
39143 * manual/libc.texinfo: Include pkgvers.texi.
39144 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
39145 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
39146 (print_version): Use PKGVERSION.
39147 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
39148 (print_version): Use PKGVERSION.
39149 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
39150 (print_version): Use PKGVERSION.
39151 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
39152 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
39154 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
39155 (print_version): Use PKGVERSION.
39156 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
39157 (print_version): Use PKGVERSION.
39158 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
39161 * timezone/checktab.awk: Update from tzcode 2012i.
39162 * timezone/ialloc.c: Likewise.
39163 * timezone/private.h: Likewise.
39164 * timezone/scheck.c: Likewise.
39165 * timezone/tzfile.h: Likewise.
39166 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
39167 (TZVERSION): Hardcode tzcode version number.
39168 * timezone/zdump.c: Update from tzcode 2012i.
39169 * timezone/zic.c: Likewise.
39170 * timezone/version.h: New file.
39171 * timezone/README: Describe version.h. Update upstream location.
39174 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
39175 (mktemp): Enable declaration.
39176 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
39177 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
39178 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
39179 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
39181 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
39183 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
39185 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
39187 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
39189 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
39193 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
39194 offset in buffer as u_int32_t not u_long. Consistently use memcpy
39195 for copies of such integer values.
39196 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
39197 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
39199 2012-11-09 Andreas Jaeger <aj@suse.de>
39201 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
39202 definitions and declarations that are provided by
39203 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
39205 2012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
39207 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
39208 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
39209 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
39212 2012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
39214 * elf/elf.h: Update comment before AArch64 relocations.
39216 2012-11-07 David S. Miller <davem@davemloft.net>
39218 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
39219 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
39220 (__start_context): Declare.
39221 (__makecontext_ret): Delete.
39222 (__makecontext): Hook up __start_context instead of
39224 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
39225 (sysdep_routines): Add __start_context when in stdlib.
39227 2012-11-07 Joseph Myers <joseph@codesourcery.com>
39229 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
39230 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
39231 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
39233 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
39234 (READELF): New variable. Use it instead of hardcoded "readelf".
39236 2012-11-07 H.J. Lu <hongjiu.lu@intel.com>
39238 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
39239 * sysdeps/x86/Makefile: Here.
39240 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
39241 * sysdeps/x86/tst-xmmymm.sh: This.
39243 2012-11-07 Joseph Myers <joseph@codesourcery.com>
39245 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
39247 [UNIX98] (pthread_barrier_t): Do not expect.
39248 [UNIX98] (pthread_barrierattr_t): Likewise.
39249 [UNIX98] (pthread_spinlock_t): Likewise.
39250 [UNIX98] (pthread_barrier_destroy): Likewise.
39251 [UNIX98] (pthread_barrier_init): Likewise.
39252 [UNIX98] (pthread_barrier_wait): Likewise.
39253 [UNIX98] (pthread_barrierattr_destroy): Likewise.
39254 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
39255 [UNIX98] (pthread_barrierattr_init): Likewise.
39256 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
39257 [UNIX98] (pthread_getcpuclockid): Likewise.
39258 [UNIX98] (pthread_mutex_timedlock): Likewise.
39259 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
39260 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
39261 [UNIX98] (pthread_sigmask): Likewise.
39262 [UNIX98] (pthread_spin_destroy): Likewise.
39263 [UNIX98] (pthread_spin_init): Likewise.
39264 [UNIX98] (pthread_spin_lock): Likewise.
39265 [UNIX98] (pthread_spin_trylock): Likewise.
39266 [UNIX98] (pthread_spin_unlock): Likewise.
39267 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
39269 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
39270 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
39271 [XPG3 || XPG4] (pthread_cond_t): Likewise.
39272 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
39273 [XPG3 || XPG4] (pthread_key_t): Likewise.
39274 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
39275 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
39276 [XPG3 || XPG4] (pthread_once_t): Likewise.
39277 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
39278 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
39279 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
39280 [XPG3 || XPG4] (pthread_t): Likewise.
39282 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
39284 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
39286 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
39287 Change function return type to int.
39289 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
39290 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
39291 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
39292 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
39293 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
39294 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
39295 [!POSIX] (posix_madvise): Likewise.
39296 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
39298 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
39299 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
39300 (mode_t): Likewise.
39301 (posix_mem_offset): Likewise.
39302 (posix_typed_mem_get_info): Likewise.
39303 (posix_typed_mem_open): Likewise.
39305 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
39306 Change condition to [XOPEN2K8].
39308 * conform/conformtest.pl: Preprocess allow-header data with -x c
39309 instead of from stdin.
39310 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
39311 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
39312 [C99-based standards] (cerfc): Likewise.
39313 [C99-based standards] (cexp2): Likewise.
39314 [C99-based standards] (cexpm1): Likewise.
39315 [C99-based standards] (clog10): Likewise.
39316 [C99-based standards] (clog1p): Likewise.
39317 [C99-based standards] (clog2): Likewise.
39318 [C99-based standards] (clgamma): Likewise.
39319 [C99-based standards] (ctgamma): Likewise.
39320 [C99-based standards] (cerff): Likewise.
39321 [C99-based standards] (cerfcf): Likewise.
39322 [C99-based standards] (cexp2f): Likewise.
39323 [C99-based standards] (cexpm1f): Likewise.
39324 [C99-based standards] (clog10f): Likewise.
39325 [C99-based standards] (clog1pf): Likewise.
39326 [C99-based standards] (clog2f): Likewise.
39327 [C99-based standards] (clgammaf): Likewise.
39328 [C99-based standards] (ctgammaf): Likewise.
39329 [C99-based standards] (cerfl): Likewise.
39330 [C99-based standards] (cerfcl): Likewise.
39331 [C99-based standards] (cexp2l): Likewise.
39332 [C99-based standards] (cexpm1l): Likewise.
39333 [C99-based standards] (clog10l): Likewise.
39334 [C99-based standards] (clog1pl): Likewise.
39335 [C99-based standards] (clog2l): Likewise.
39336 [C99-based standards] (clgammal): Likewise.
39337 [C99-based standards] (ctgammal): Likewise.
39338 * conform/data/inttypes.h-data [C99-based standards]: Include
39339 stdint.h-data. Remove all expectations for stdint.h contents.
39340 [C99-based standards] (PRI*): Do not allow.
39341 [C99-based standards] (SCN*): Likewise.
39342 [C99-based standards] (*_t): Likewise.
39343 [C99-based-standards] (PRId8): Expect macro.
39344 [C99-based-standards] (PRIi8): Likewise.
39345 [C99-based-standards] (PRIo8): Likewise.
39346 [C99-based-standards] (PRIu8): Likewise.
39347 [C99-based-standards] (PRIx8): Likewise.
39348 [C99-based-standards] (PRIX8): Likewise.
39349 [C99-based-standards] (SCNd8): Likewise.
39350 [C99-based-standards] (SCNi8): Likewise.
39351 [C99-based-standards] (SCNo8): Likewise.
39352 [C99-based-standards] (SCNu8): Likewise.
39353 [C99-based-standards] (SCNx8): Likewise.
39354 [C99-based-standards] (PRIdLEAST8): Likewise.
39355 [C99-based-standards] (PRIiLEAST8): Likewise.
39356 [C99-based-standards] (PRIoLEAST8): Likewise.
39357 [C99-based-standards] (PRIuLEAST8): Likewise.
39358 [C99-based-standards] (PRIxLEAST8): Likewise.
39359 [C99-based-standards] (PRIXLEAST8): Likewise.
39360 [C99-based-standards] (SCNdLEAST8): Likewise.
39361 [C99-based-standards] (SCNiLEAST8): Likewise.
39362 [C99-based-standards] (SCNoLEAST8): Likewise.
39363 [C99-based-standards] (SCNuLEAST8): Likewise.
39364 [C99-based-standards] (SCNxLEAST8): Likewise.
39365 [C99-based-standards] (PRIdFAST8): Likewise.
39366 [C99-based-standards] (PRIiFAST8): Likewise.
39367 [C99-based-standards] (PRIoFAST8): Likewise.
39368 [C99-based-standards] (PRIuFAST8): Likewise.
39369 [C99-based-standards] (PRIxFAST8): Likewise.
39370 [C99-based-standards] (PRIXFAST8): Likewise.
39371 [C99-based-standards] (SCNdFAST8): Likewise.
39372 [C99-based-standards] (SCNiFAST8): Likewise.
39373 [C99-based-standards] (SCNoFAST8): Likewise.
39374 [C99-based-standards] (SCNuFAST8): Likewise.
39375 [C99-based-standards] (SCNxFAST8): Likewise.
39376 [C99-based-standards] (PRId16): Likewise.
39377 [C99-based-standards] (PRIi16): Likewise.
39378 [C99-based-standards] (PRIo16): Likewise.
39379 [C99-based-standards] (PRIu16): Likewise.
39380 [C99-based-standards] (PRIx16): Likewise.
39381 [C99-based-standards] (PRIX16): Likewise.
39382 [C99-based-standards] (SCNd16): Likewise.
39383 [C99-based-standards] (SCNi16): Likewise.
39384 [C99-based-standards] (SCNo16): Likewise.
39385 [C99-based-standards] (SCNu16): Likewise.
39386 [C99-based-standards] (SCNx16): Likewise.
39387 [C99-based-standards] (PRIdLEAST16): Likewise.
39388 [C99-based-standards] (PRIiLEAST16): Likewise.
39389 [C99-based-standards] (PRIoLEAST16): Likewise.
39390 [C99-based-standards] (PRIuLEAST16): Likewise.
39391 [C99-based-standards] (PRIxLEAST16): Likewise.
39392 [C99-based-standards] (PRIXLEAST16): Likewise.
39393 [C99-based-standards] (SCNdLEAST16): Likewise.
39394 [C99-based-standards] (SCNiLEAST16): Likewise.
39395 [C99-based-standards] (SCNoLEAST16): Likewise.
39396 [C99-based-standards] (SCNuLEAST16): Likewise.
39397 [C99-based-standards] (SCNxLEAST16): Likewise.
39398 [C99-based-standards] (PRIdFAST16): Likewise.
39399 [C99-based-standards] (PRIiFAST16): Likewise.
39400 [C99-based-standards] (PRIoFAST16): Likewise.
39401 [C99-based-standards] (PRIuFAST16): Likewise.
39402 [C99-based-standards] (PRIxFAST16): Likewise.
39403 [C99-based-standards] (PRIXFAST16): Likewise.
39404 [C99-based-standards] (SCNdFAST16): Likewise.
39405 [C99-based-standards] (SCNiFAST16): Likewise.
39406 [C99-based-standards] (SCNoFAST16): Likewise.
39407 [C99-based-standards] (SCNuFAST16): Likewise.
39408 [C99-based-standards] (SCNxFAST16): Likewise.
39409 [C99-based-standards] (PRId32): Likewise.
39410 [C99-based-standards] (PRIi32): Likewise.
39411 [C99-based-standards] (PRIo32): Likewise.
39412 [C99-based-standards] (PRIu32): Likewise.
39413 [C99-based-standards] (PRIx32): Likewise.
39414 [C99-based-standards] (PRIX32): Likewise.
39415 [C99-based-standards] (SCNd32): Likewise.
39416 [C99-based-standards] (SCNi32): Likewise.
39417 [C99-based-standards] (SCNo32): Likewise.
39418 [C99-based-standards] (SCNu32): Likewise.
39419 [C99-based-standards] (SCNx32): Likewise.
39420 [C99-based-standards] (PRIdLEAST32): Likewise.
39421 [C99-based-standards] (PRIiLEAST32): Likewise.
39422 [C99-based-standards] (PRIoLEAST32): Likewise.
39423 [C99-based-standards] (PRIuLEAST32): Likewise.
39424 [C99-based-standards] (PRIxLEAST32): Likewise.
39425 [C99-based-standards] (PRIXLEAST32): Likewise.
39426 [C99-based-standards] (SCNdLEAST32): Likewise.
39427 [C99-based-standards] (SCNiLEAST32): Likewise.
39428 [C99-based-standards] (SCNoLEAST32): Likewise.
39429 [C99-based-standards] (SCNuLEAST32): Likewise.
39430 [C99-based-standards] (SCNxLEAST32): Likewise.
39431 [C99-based-standards] (PRIdFAST32): Likewise.
39432 [C99-based-standards] (PRIiFAST32): Likewise.
39433 [C99-based-standards] (PRIoFAST32): Likewise.
39434 [C99-based-standards] (PRIuFAST32): Likewise.
39435 [C99-based-standards] (PRIxFAST32): Likewise.
39436 [C99-based-standards] (PRIXFAST32): Likewise.
39437 [C99-based-standards] (SCNdFAST32): Likewise.
39438 [C99-based-standards] (SCNiFAST32): Likewise.
39439 [C99-based-standards] (SCNoFAST32): Likewise.
39440 [C99-based-standards] (SCNuFAST32): Likewise.
39441 [C99-based-standards] (SCNxFAST32): Likewise.
39442 [C99-based-standards] (PRId64): Likewise.
39443 [C99-based-standards] (PRIi64): Likewise.
39444 [C99-based-standards] (PRIo64): Likewise.
39445 [C99-based-standards] (PRIu64): Likewise.
39446 [C99-based-standards] (PRIx64): Likewise.
39447 [C99-based-standards] (PRIX64): Likewise.
39448 [C99-based-standards] (SCNd64): Likewise.
39449 [C99-based-standards] (SCNi64): Likewise.
39450 [C99-based-standards] (SCNo64): Likewise.
39451 [C99-based-standards] (SCNu64): Likewise.
39452 [C99-based-standards] (SCNx64): Likewise.
39453 [C99-based-standards] (PRIdLEAST64): Likewise.
39454 [C99-based-standards] (PRIiLEAST64): Likewise.
39455 [C99-based-standards] (PRIoLEAST64): Likewise.
39456 [C99-based-standards] (PRIuLEAST64): Likewise.
39457 [C99-based-standards] (PRIxLEAST64): Likewise.
39458 [C99-based-standards] (PRIXLEAST64): Likewise.
39459 [C99-based-standards] (SCNdLEAST64): Likewise.
39460 [C99-based-standards] (SCNiLEAST64): Likewise.
39461 [C99-based-standards] (SCNoLEAST64): Likewise.
39462 [C99-based-standards] (SCNuLEAST64): Likewise.
39463 [C99-based-standards] (SCNxLEAST64): Likewise.
39464 [C99-based-standards] (PRIdFAST64): Likewise.
39465 [C99-based-standards] (PRIiFAST64): Likewise.
39466 [C99-based-standards] (PRIoFAST64): Likewise.
39467 [C99-based-standards] (PRIuFAST64): Likewise.
39468 [C99-based-standards] (PRIxFAST64): Likewise.
39469 [C99-based-standards] (PRIXFAST64): Likewise.
39470 [C99-based-standards] (SCNdFAST64): Likewise.
39471 [C99-based-standards] (SCNiFAST64): Likewise.
39472 [C99-based-standards] (SCNoFAST64): Likewise.
39473 [C99-based-standards] (SCNuFAST64): Likewise.
39474 [C99-based-standards] (SCNxFAST64): Likewise.
39475 [C99-based-standards] (PRIdMAX): Likewise.
39476 [C99-based-standards] (PRIiMAX): Likewise.
39477 [C99-based-standards] (PRIoMAX): Likewise.
39478 [C99-based-standards] (PRIuMAX): Likewise.
39479 [C99-based-standards] (PRIxMAX): Likewise.
39480 [C99-based-standards] (PRIXMAX): Likewise.
39481 [C99-based-standards] (SCNdMAX): Likewise.
39482 [C99-based-standards] (SCNiMAX): Likewise.
39483 [C99-based-standards] (SCNoMAX): Likewise.
39484 [C99-based-standards] (SCNuMAX): Likewise.
39485 [C99-based-standards] (SCNxMAX): Likewise.
39486 [C99-based-standards] (PRIdPTR): Likewise.
39487 [C99-based-standards] (PRIiPTR): Likewise.
39488 [C99-based-standards] (PRIoPTR): Likewise.
39489 [C99-based-standards] (PRIuPTR): Likewise.
39490 [C99-based-standards] (PRIxPTR): Likewise.
39491 [C99-based-standards] (PRIXPTR): Likewise.
39492 [C99-based-standards] (SCNdPTR): Likewise.
39493 [C99-based-standards] (SCNiPTR): Likewise.
39494 [C99-based-standards] (SCNoPTR): Likewise.
39495 [C99-based-standards] (SCNuPTR): Likewise.
39496 [C99-based-standards] (SCNxPTR): Likewise.
39497 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
39499 * conform/data/stdint.h-data: Update comments to clarify
39501 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
39503 [C99-based standards] (INT8_MAX): Likewise.
39504 [C99-based standards] (INT16_MIN): Likewise.
39505 [C99-based standards] (INT16_MAX): Likewise.
39506 [C99-based standards] (INT32_MIN): Likewise.
39507 [C99-based standards] (INT32_MAX): Likewise.
39508 [C99-based standards] (INT64_MIN): Likewise.
39509 [C99-based standards] (INT64_MAX): Likewise.
39510 [C99-based standards] (UINT8_MAX): Likewise.
39511 [C99-based standards] (UINT16_MAX): Likewise.
39512 [C99-based standards] (UINT32_MAX): Likewise.
39513 [C99-based standards] (UINT64_MAX): Likewise.
39514 [C99-based standards] (INT_LEAST8_MIN): Likewise.
39515 [C99-based standards] (INT_LEAST8_MAX): Likewise.
39516 [C99-based standards] (INT_LEAST16_MIN): Likewise.
39517 [C99-based standards] (INT_LEAST16_MAX): Likewise.
39518 [C99-based standards] (INT_LEAST32_MIN): Likewise.
39519 [C99-based standards] (INT_LEAST32_MAX): Likewise.
39520 [C99-based standards] (INT_LEAST64_MIN): Likewise.
39521 [C99-based standards] (INT_LEAST64_MAX): Likewise.
39522 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
39523 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
39524 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
39525 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
39526 [C99-based standards] (INT_FAST8_MIN): Likewise.
39527 [C99-based standards] (INT_FAST8_MAX): Likewise.
39528 [C99-based standards] (INT_FAST16_MIN): Likewise.
39529 [C99-based standards] (INT_FAST16_MAX): Likewise.
39530 [C99-based standards] (INT_FAST32_MIN): Likewise.
39531 [C99-based standards] (INT_FAST32_MAX): Likewise.
39532 [C99-based standards] (INT_FAST64_MIN): Likewise.
39533 [C99-based standards] (INT_FAST64_MAX): Likewise.
39534 [C99-based standards] (UINT_FAST8_MAX): Likewise.
39535 [C99-based standards] (UINT_FAST16_MAX): Likewise.
39536 [C99-based standards] (UINT_FAST32_MAX): Likewise.
39537 [C99-based standards] (UINT_FAST64_MAX): Likewise.
39538 [C99-based standards] (INTPTR_MIN): Likewise.
39539 [C99-based standards] (INTPTR_MAX): Likewise.
39540 [C99-based standards] (UINTPTR_MAX): Likewise.
39541 [C99-based standards] (INTMAX_MIN): Likewise.
39542 [C99-based standards] (INTMAX_MAX): Likewise.
39543 [C99-based standards] (UINTMAX_MAX): Likewise.
39544 [C99-based standards] (PTRDIFF_MIN): Likewise.
39545 [C99-based standards] (PTRDIFF_MAX): Likewise.
39546 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
39547 [C99-based standards] (SIZE_MAX): Likewise.
39548 [C99-based standards] (WCHAR_MAX): Likewise.
39549 [C99-based standards] (WINT_MAX): Likewise.
39550 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
39551 constraint on value.
39552 [C99-based standards] (WCHAR_MIN): Likewise.
39553 [C99-based standards] (WINT_MIN): Likewise.
39554 [C99-based standards] (*_t): Allow.
39555 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
39556 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
39557 Include math.h-data and complex.h-data. Remove all expectations
39558 of math.h and complex.h contents.
39559 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
39561 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
39562 (struct tm): Expect tag.
39563 [C99-based-standards] (wcstof): Expect function.
39564 [C99-based-standards] (wcstold): Likewise.
39565 [C99-based-standards] (wcstoll): Likewise.
39566 [C99-based-standards] (wcstoull): Likewise.
39567 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
39568 macro-int-constant. Specify type.
39569 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
39570 constraint on value.
39571 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
39573 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
39575 [ISO C standards]: Do not allow headers.
39576 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
39577 wcs[abcdefghijklmnopqrstuvwxyz]*.
39578 [ISO C standards] (*_t): Do not allow.
39579 * conform/data/wctype.h-data [C99-based standards] (iswblank):
39581 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
39582 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
39584 [ISO C standards]: Do not allow headers.
39585 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
39586 is[abcdefghijklmnopqrstuvwxyz]*.
39587 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
39588 to[abcdefghijklmnopqrstuvwxyz]*.
39589 [ISO C standards] (*_t): Do not allow.
39590 * conform/data/stdalign.h-data: New file.
39591 * conform/data/stdbool.h-data: Likewise.
39592 * conform/data/stdnoreturn.h-data: Likewise.
39594 2012-11-07 Roland McGrath <roland@hack.frob.com>
39597 * manual/filesys.texi (Directory Entries): Typo fix.
39598 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
39600 2012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
39602 * elf/elf.h (EM_AARCH64): New macro.
39603 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
39604 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
39605 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
39606 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
39607 (R_AARCH64_TLSDESC): Likewise.
39608 (NT_ARM_TLS): Likewise.
39609 (NT_ARM_HW_BREAK): Likewise.
39610 (NT_ARM_HW_WATCH): Likewise.
39612 2012-11-07 Joseph Myers <joseph@codesourcery.com>
39615 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
39616 (__ieee754_powl): Saturate nonzero exponents with absolute value
39617 below 0x1p-79 to +/- 0x1p-79.
39618 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
39619 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
39620 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
39621 nonzero exponents with absolute value below 0x1p-32 to +/-
39623 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
39624 (__ieee754_powl): Saturate nonzero exponents with absolute value
39625 below 0x1p-79 to +/- 0x1p-79.
39626 * math/libm-test.inc (pow_test): Add more tests.
39628 2012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
39630 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
39631 _dl_s390_cap_flags with kernel. Increase string length.
39632 (_dl_s390_platforms): Add z196 and zEC12.
39634 2012-11-07 Joseph Myers <joseph@codesourcery.com>
39636 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
39637 Change XOPEN21K to XOPEN2K.
39639 2012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
39641 * string/memmove.c: Use memcpy when possible.
39643 2012-11-06 Andreas Jaeger <aj@suse.de>
39645 * po/eo.po: Update from translation team.
39647 2012-11-06 Joseph Myers <joseph@codesourcery.com>
39650 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
39651 exponent and small x and y exponents, scale x or y up. Increase
39652 by 2 the exponent used in scaling up.
39653 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
39654 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
39655 * math/libm-test.inc (fma_test): Add more tests.
39656 (fma_test_towardzero): Likewise.
39657 (fma_test_downward): Likewise.
39658 (fma_test_upward): Likewise.
39660 2012-11-05 Joseph Myers <joseph@codesourcery.com>
39663 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
39667 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
39668 namespace for names of struct fields.
39669 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
39671 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
39672 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
39674 2012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
39677 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
39679 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
39681 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
39685 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
39688 2012-11-04 Joseph Myers <joseph@codesourcery.com>
39691 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
39692 definitely overflow as x * y not x * y + z.
39693 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
39694 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
39695 * math/libm-test.inc (fma_test): Add more tests.
39696 (fma_test_towardzero): Likewise.
39697 (fma_test_downward): Likewise.
39698 (fma_test_upward): Likewise.
39700 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
39704 * include/stub-tag.h: Remove file.
39705 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
39707 * manual/maint.texi (Porting): Don't reference it.
39708 * Makerules ($(objpfx)stubs): Likewise.
39709 * dirent/closedir.c: Don't include <stub-tag.h>.
39710 * dirent/dirfd.c: Likewise.
39711 * dirent/fdopendir.c: Likewise.
39712 * dirent/getdents.c: Likewise.
39713 * dirent/getdents64.c: Likewise.
39714 * dirent/opendir.c: Likewise.
39715 * dirent/readdir.c: Likewise.
39716 * dirent/readdir64.c: Likewise.
39717 * dirent/readdir64_r.c: Likewise.
39718 * dirent/readdir_r.c: Likewise.
39719 * dirent/rewinddir.c: Likewise.
39720 * dirent/seekdir.c: Likewise.
39721 * dirent/telldir.c: Likewise.
39722 * gmon/profil.c: Likewise.
39723 * grp/setgroups.c: Likewise.
39724 * inet/if_index.c: Likewise.
39725 * io/access.c: Likewise.
39726 * io/chdir.c: Likewise.
39727 * io/chmod.c: Likewise.
39728 * io/chown.c: Likewise.
39729 * io/close.c: Likewise.
39730 * io/dup.c: Likewise.
39731 * io/dup2.c: Likewise.
39732 * io/dup3.c: Likewise.
39733 * io/euidaccess.c: Likewise.
39734 * io/faccessat.c: Likewise.
39735 * io/fchdir.c: Likewise.
39736 * io/fchmod.c: Likewise.
39737 * io/fchmodat.c: Likewise.
39738 * io/fchown.c: Likewise.
39739 * io/fchownat.c: Likewise.
39740 * io/fcntl.c: Likewise.
39741 * io/flock.c: Likewise.
39742 * io/fstatfs.c: Likewise.
39743 * io/fstatfs64.c: Likewise.
39744 * io/fstatvfs.c: Likewise.
39745 * io/fstatvfs64.c: Likewise.
39746 * io/futimens.c: Likewise.
39747 * io/fxstat.c: Likewise.
39748 * io/fxstat64.c: Likewise.
39749 * io/fxstatat.c: Likewise.
39750 * io/fxstatat64.c: Likewise.
39751 * io/getcwd.c: Likewise.
39752 * io/isatty.c: Likewise.
39753 * io/lchmod.c: Likewise.
39754 * io/lchown.c: Likewise.
39755 * io/link.c: Likewise.
39756 * io/linkat.c: Likewise.
39757 * io/lseek.c: Likewise.
39758 * io/lseek64.c: Likewise.
39759 * io/lxstat64.c: Likewise.
39760 * io/mkdir.c: Likewise.
39761 * io/mkdirat.c: Likewise.
39762 * io/mkfifo.c: Likewise.
39763 * io/mkfifoat.c: Likewise.
39764 * io/open.c: Likewise.
39765 * io/open64.c: Likewise.
39766 * io/openat.c: Likewise.
39767 * io/openat64.c: Likewise.
39768 * io/pipe.c: Likewise.
39769 * io/pipe2.c: Likewise.
39770 * io/poll.c: Likewise.
39771 * io/posix_fadvise.c: Likewise.
39772 * io/posix_fadvise64.c: Likewise.
39773 * io/posix_fallocate.c: Likewise.
39774 * io/posix_fallocate64.c: Likewise.
39775 * io/read.c: Likewise.
39776 * io/readlink.c: Likewise.
39777 * io/readlinkat.c: Likewise.
39778 * io/rmdir.c: Likewise.
39779 * io/sendfile.c: Likewise.
39780 * io/sendfile64.c: Likewise.
39781 * io/statfs.c: Likewise.
39782 * io/statfs64.c: Likewise.
39783 * io/statvfs.c: Likewise.
39784 * io/statvfs64.c: Likewise.
39785 * io/symlink.c: Likewise.
39786 * io/symlinkat.c: Likewise.
39787 * io/ttyname.c: Likewise.
39788 * io/ttyname_r.c: Likewise.
39789 * io/umask.c: Likewise.
39790 * io/unlink.c: Likewise.
39791 * io/unlinkat.c: Likewise.
39792 * io/utime.c: Likewise.
39793 * io/utimensat.c: Likewise.
39794 * io/write.c: Likewise.
39795 * io/xmknod.c: Likewise.
39796 * io/xmknodat.c: Likewise.
39797 * io/xstat.c: Likewise.
39798 * io/xstat64.c: Likewise.
39799 * login/getpt.c: Likewise.
39800 * login/grantpt.c: Likewise.
39801 * login/unlockpt.c: Likewise.
39802 * math/e_acoshl.c: Likewise.
39803 * math/e_acosl.c: Likewise.
39804 * math/e_asinl.c: Likewise.
39805 * math/e_atan2l.c: Likewise.
39806 * math/e_atanhl.c: Likewise.
39807 * math/e_coshl.c: Likewise.
39808 * math/e_expl.c: Likewise.
39809 * math/e_fmodl.c: Likewise.
39810 * math/e_gammal_r.c: Likewise.
39811 * math/e_hypotl.c: Likewise.
39812 * math/e_j0l.c: Likewise.
39813 * math/e_j1l.c: Likewise.
39814 * math/e_jnl.c: Likewise.
39815 * math/e_lgammal_r.c: Likewise.
39816 * math/e_log10l.c: Likewise.
39817 * math/e_log2l.c: Likewise.
39818 * math/e_logl.c: Likewise.
39819 * math/e_powl.c: Likewise.
39820 * math/e_rem_pio2l.c: Likewise.
39821 * math/e_sinhl.c: Likewise.
39822 * math/e_sqrtl.c: Likewise.
39823 * math/fclrexcpt.c: Likewise.
39824 * math/fedisblxcpt.c: Likewise.
39825 * math/feenablxcpt.c: Likewise.
39826 * math/fegetenv.c: Likewise.
39827 * math/fegetexcept.c: Likewise.
39828 * math/fegetround.c: Likewise.
39829 * math/feholdexcpt.c: Likewise.
39830 * math/fesetenv.c: Likewise.
39831 * math/fesetround.c: Likewise.
39832 * math/feupdateenv.c: Likewise.
39833 * math/fgetexcptflg.c: Likewise.
39834 * math/fraiseexcpt.c: Likewise.
39835 * math/fsetexcptflg.c: Likewise.
39836 * math/ftestexcept.c: Likewise.
39837 * math/k_cosl.c: Likewise.
39838 * math/k_rem_pio2l.c: Likewise.
39839 * math/k_sinl.c: Likewise.
39840 * math/k_tanl.c: Likewise.
39841 * math/s_asinhl.c: Likewise.
39842 * math/s_atanl.c: Likewise.
39843 * math/s_cbrtl.c: Likewise.
39844 * math/s_erfl.c: Likewise.
39845 * math/s_expm1l.c: Likewise.
39846 * math/s_log1pl.c: Likewise.
39847 * math/s_tanhl.c: Likewise.
39848 * misc/acct.c: Likewise.
39849 * misc/brk.c: Likewise.
39850 * misc/chflags.c: Likewise.
39851 * misc/chroot.c: Likewise.
39852 * misc/fchflags.c: Likewise.
39853 * misc/fgetxattr.c: Likewise.
39854 * misc/flistxattr.c: Likewise.
39855 * misc/fremovexattr.c: Likewise.
39856 * misc/fsetxattr.c: Likewise.
39857 * misc/fsync.c: Likewise.
39858 * misc/ftruncate.c: Likewise.
39859 * misc/futimes.c: Likewise.
39860 * misc/futimesat.c: Likewise.
39861 * misc/getdomain.c: Likewise.
39862 * misc/getdtsz.c: Likewise.
39863 * misc/gethostid.c: Likewise.
39864 * misc/gethostname.c: Likewise.
39865 * misc/getloadavg.c: Likewise.
39866 * misc/getpagesize.c: Likewise.
39867 * misc/getsysstats.c: Likewise.
39868 * misc/getxattr.c: Likewise.
39869 * misc/gtty.c: Likewise.
39870 * misc/ioctl.c: Likewise.
39871 * misc/lgetxattr.c: Likewise.
39872 * misc/listxattr.c: Likewise.
39873 * misc/llistxattr.c: Likewise.
39874 * misc/lremovexattr.c: Likewise.
39875 * misc/lsetxattr.c: Likewise.
39876 * misc/lutimes.c: Likewise.
39877 * misc/madvise.c: Likewise.
39878 * misc/mincore.c: Likewise.
39879 * misc/mlock.c: Likewise.
39880 * misc/mlockall.c: Likewise.
39881 * misc/mmap.c: Likewise.
39882 * misc/mprotect.c: Likewise.
39883 * misc/msync.c: Likewise.
39884 * misc/munlock.c: Likewise.
39885 * misc/munlockall.c: Likewise.
39886 * misc/munmap.c: Likewise.
39887 * misc/preadv.c: Likewise.
39888 * misc/preadv64.c: Likewise.
39889 * misc/ptrace.c: Likewise.
39890 * misc/pwritev.c: Likewise.
39891 * misc/pwritev64.c: Likewise.
39892 * misc/readv.c: Likewise.
39893 * misc/reboot.c: Likewise.
39894 * misc/remap_file_pages.c: Likewise.
39895 * misc/removexattr.c: Likewise.
39896 * misc/revoke.c: Likewise.
39897 * misc/select.c: Likewise.
39898 * misc/setdomain.c: Likewise.
39899 * misc/setegid.c: Likewise.
39900 * misc/seteuid.c: Likewise.
39901 * misc/sethostid.c: Likewise.
39902 * misc/sethostname.c: Likewise.
39903 * misc/setregid.c: Likewise.
39904 * misc/setreuid.c: Likewise.
39905 * misc/setxattr.c: Likewise.
39906 * misc/sstk.c: Likewise.
39907 * misc/stty.c: Likewise.
39908 * misc/swapoff.c: Likewise.
39909 * misc/swapon.c: Likewise.
39910 * misc/sync.c: Likewise.
39911 * misc/syncfs.c: Likewise.
39912 * misc/syscall.c: Likewise.
39913 * misc/truncate.c: Likewise.
39914 * misc/ualarm.c: Likewise.
39915 * misc/usleep.c: Likewise.
39916 * misc/ustat.c: Likewise.
39917 * misc/utimes.c: Likewise.
39918 * misc/vhangup.c: Likewise.
39919 * misc/writev.c: Likewise.
39920 * posix/_exit.c: Likewise.
39921 * posix/alarm.c: Likewise.
39922 * posix/execve.c: Likewise.
39923 * posix/fexecve.c: Likewise.
39924 * posix/fork.c: Likewise.
39925 * posix/fpathconf.c: Likewise.
39926 * posix/getaddrinfo.c: Likewise.
39927 * posix/getegid.c: Likewise.
39928 * posix/geteuid.c: Likewise.
39929 * posix/getgid.c: Likewise.
39930 * posix/getgroups.c: Likewise.
39931 * posix/getlogin.c: Likewise.
39932 * posix/getlogin_r.c: Likewise.
39933 * posix/getpgid.c: Likewise.
39934 * posix/getpid.c: Likewise.
39935 * posix/getppid.c: Likewise.
39936 * posix/getresgid.c: Likewise.
39937 * posix/getresuid.c: Likewise.
39938 * posix/getsid.c: Likewise.
39939 * posix/getuid.c: Likewise.
39940 * posix/glob64.c: Likewise.
39941 * posix/nanosleep.c: Likewise.
39942 * posix/pathconf.c: Likewise.
39943 * posix/pause.c: Likewise.
39944 * posix/posix_madvise.c: Likewise.
39945 * posix/pread.c: Likewise.
39946 * posix/pread64.c: Likewise.
39947 * posix/pwrite.c: Likewise.
39948 * posix/pwrite64.c: Likewise.
39949 * posix/sched_getaffinity.c: Likewise.
39950 * posix/sched_getp.c: Likewise.
39951 * posix/sched_gets.c: Likewise.
39952 * posix/sched_primax.c: Likewise.
39953 * posix/sched_primin.c: Likewise.
39954 * posix/sched_rr_gi.c: Likewise.
39955 * posix/sched_setaffinity.c: Likewise.
39956 * posix/sched_setp.c: Likewise.
39957 * posix/sched_sets.c: Likewise.
39958 * posix/sched_yield.c: Likewise.
39959 * posix/setgid.c: Likewise.
39960 * posix/setlogin.c: Likewise.
39961 * posix/setpgid.c: Likewise.
39962 * posix/setresgid.c: Likewise.
39963 * posix/setresuid.c: Likewise.
39964 * posix/setsid.c: Likewise.
39965 * posix/setuid.c: Likewise.
39966 * posix/sleep.c: Likewise.
39967 * posix/spawni.c: Likewise.
39968 * posix/sysconf.c: Likewise.
39969 * posix/times.c: Likewise.
39970 * posix/wait.c: Likewise.
39971 * posix/wait3.c: Likewise.
39972 * posix/wait4.c: Likewise.
39973 * posix/waitpid.c: Likewise.
39974 * resolv/gai_sigqueue.c: Likewise.
39975 * resource/getpriority.c: Likewise.
39976 * resource/getrlimit.c: Likewise.
39977 * resource/getrusage.c: Likewise.
39978 * resource/nice.c: Likewise.
39979 * resource/setpriority.c: Likewise.
39980 * resource/setrlimit.c: Likewise.
39981 * resource/ulimit.c: Likewise.
39982 * rt/aio_cancel.c: Likewise.
39983 * rt/aio_fsync.c: Likewise.
39984 * rt/aio_read.c: Likewise.
39985 * rt/aio_sigqueue.c: Likewise.
39986 * rt/aio_suspend.c: Likewise.
39987 * rt/aio_write.c: Likewise.
39988 * rt/clock_getres.c: Likewise.
39989 * rt/clock_gettime.c: Likewise.
39990 * rt/clock_nanosleep.c: Likewise.
39991 * rt/clock_settime.c: Likewise.
39992 * rt/lio_listio.c: Likewise.
39993 * rt/mq_close.c: Likewise.
39994 * rt/mq_getattr.c: Likewise.
39995 * rt/mq_notify.c: Likewise.
39996 * rt/mq_open.c: Likewise.
39997 * rt/mq_receive.c: Likewise.
39998 * rt/mq_send.c: Likewise.
39999 * rt/mq_setattr.c: Likewise.
40000 * rt/mq_timedreceive.c: Likewise.
40001 * rt/mq_timedsend.c: Likewise.
40002 * rt/mq_unlink.c: Likewise.
40003 * rt/shm_open.c: Likewise.
40004 * rt/shm_unlink.c: Likewise.
40005 * rt/timer_create.c: Likewise.
40006 * rt/timer_delete.c: Likewise.
40007 * rt/timer_getoverr.c: Likewise.
40008 * rt/timer_gettime.c: Likewise.
40009 * rt/timer_settime.c: Likewise.
40010 * setjmp/__longjmp.c: Likewise.
40011 * setjmp/setjmp.c: Likewise.
40012 * signal/kill.c: Likewise.
40013 * signal/killpg.c: Likewise.
40014 * signal/raise.c: Likewise.
40015 * signal/sigaction.c: Likewise.
40016 * signal/sigaltstack.c: Likewise.
40017 * signal/sigblock.c: Likewise.
40018 * signal/sigignore.c: Likewise.
40019 * signal/sigintr.c: Likewise.
40020 * signal/signal.c: Likewise.
40021 * signal/sigpause.c: Likewise.
40022 * signal/sigpending.c: Likewise.
40023 * signal/sigqueue.c: Likewise.
40024 * signal/sigreturn.c: Likewise.
40025 * signal/sigset.c: Likewise.
40026 * signal/sigsetmask.c: Likewise.
40027 * signal/sigstack.c: Likewise.
40028 * signal/sigsuspend.c: Likewise.
40029 * signal/sigtimedwait.c: Likewise.
40030 * signal/sigvec.c: Likewise.
40031 * signal/sigwait.c: Likewise.
40032 * signal/sigwaitinfo.c: Likewise.
40033 * signal/sysv_signal.c: Likewise.
40034 * socket/accept.c: Likewise.
40035 * socket/accept4.c: Likewise.
40036 * socket/bind.c: Likewise.
40037 * socket/connect.c: Likewise.
40038 * socket/getpeername.c: Likewise.
40039 * socket/getsockname.c: Likewise.
40040 * socket/getsockopt.c: Likewise.
40041 * socket/isfdtype.c: Likewise.
40042 * socket/listen.c: Likewise.
40043 * socket/recv.c: Likewise.
40044 * socket/recvfrom.c: Likewise.
40045 * socket/recvmsg.c: Likewise.
40046 * socket/send.c: Likewise.
40047 * socket/sendmsg.c: Likewise.
40048 * socket/sendto.c: Likewise.
40049 * socket/setsockopt.c: Likewise.
40050 * socket/shutdown.c: Likewise.
40051 * socket/sockatmark.c: Likewise.
40052 * socket/socket.c: Likewise.
40053 * socket/socketpair.c: Likewise.
40054 * stdio-common/ctermid.c: Likewise.
40055 * stdio-common/cuserid.c: Likewise.
40056 * stdio-common/remove.c: Likewise.
40057 * stdio-common/rename.c: Likewise.
40058 * stdio-common/renameat.c: Likewise.
40059 * stdio-common/tempname.c: Likewise.
40060 * stdlib/getcontext.c: Likewise.
40061 * stdlib/makecontext.c: Likewise.
40062 * stdlib/setcontext.c: Likewise.
40063 * stdlib/swapcontext.c: Likewise.
40064 * stdlib/system.c: Likewise.
40065 * streams/fattach.c: Likewise.
40066 * streams/fdetach.c: Likewise.
40067 * streams/getmsg.c: Likewise.
40068 * streams/getpmsg.c: Likewise.
40069 * streams/putmsg.c: Likewise.
40070 * streams/putpmsg.c: Likewise.
40071 * sysdeps/unix/bsd/getpt.c: Likewise.
40072 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
40073 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
40074 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
40075 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
40077 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
40078 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
40079 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
40080 * sysvipc/msgctl.c: Likewise.
40081 * sysvipc/msgget.c: Likewise.
40082 * sysvipc/msgrcv.c: Likewise.
40083 * sysvipc/msgsnd.c: Likewise.
40084 * sysvipc/semctl.c: Likewise.
40085 * sysvipc/semget.c: Likewise.
40086 * sysvipc/semop.c: Likewise.
40087 * sysvipc/semtimedop.c: Likewise.
40088 * sysvipc/shmat.c: Likewise.
40089 * sysvipc/shmctl.c: Likewise.
40090 * sysvipc/shmdt.c: Likewise.
40091 * sysvipc/shmget.c: Likewise.
40092 * termios/tcdrain.c: Likewise.
40093 * termios/tcflow.c: Likewise.
40094 * termios/tcflush.c: Likewise.
40095 * termios/tcgetattr.c: Likewise.
40096 * termios/tcgetpgrp.c: Likewise.
40097 * termios/tcsendbrk.c: Likewise.
40098 * termios/tcsetattr.c: Likewise.
40099 * termios/tcsetpgrp.c: Likewise.
40100 * time/adjtime.c: Likewise.
40101 * time/clock.c: Likewise.
40102 * time/getitimer.c: Likewise.
40103 * time/gettimeofday.c: Likewise.
40104 * time/setitimer.c: Likewise.
40105 * time/settimeofday.c: Likewise.
40106 * time/stime.c: Likewise.
40107 * time/time.c: Likewise.
40109 2012-11-04 Pino Toscano <toscano.pino@tiscali.it>
40111 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
40114 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
40116 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
40118 2012-11-03 Joseph Myers <joseph@codesourcery.com>
40121 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
40122 FE_TONEAREST before applying Dekker multiplication and Knuth
40123 addition. Clear inexact exceptions and check for exact zero
40124 results afterwards.
40125 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
40126 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
40127 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
40128 * math/libm-test.inc (fma_test): Add more tests.
40129 (fma_test_towardzero): Likewise.
40130 (fma_test_downward): Likewise.
40131 (fma_test_upward): Likewise.
40132 * sysdeps/generic/math_private.h (default_libc_fesetround): New
40134 (libc_fesetround): New macro.
40135 (libc_fesetroundf): Likewise.
40136 (libc_fesetroundl): Likewise.
40137 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
40139 (libc_fesetround_387): Likewise.
40140 (libc_fesetroundf): New macro.
40141 (libc_fesetround): Likewise.
40142 (libc_fesetroundl): Likewise.
40143 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
40145 (libc_fesetroundf): New macro.
40146 (libc_fesetround): Likewise.
40147 (libc_fesetroundl): Likewise.
40148 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
40149 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
40150 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
40152 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
40153 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
40155 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
40156 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
40158 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
40162 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
40163 integer constant usable in #if and use that to give value to enum
40165 (FE_DIVBYZERO): Likewise.
40166 (FE_UNDERFLOW): Likewise.
40167 (FE_OVERFLOW): Likewise.
40168 (FE_INVALID): Likewise.
40169 (FE_INVALID_SNAN): Likewise.
40170 (FE_INVALID_ISI): Likewise.
40171 (FE_INVALID_IDI): Likewise.
40172 (FE_INVALID_ZDZ): Likewise.
40173 (FE_INVALID_IMZ): Likewise.
40174 (FE_INVALID_COMPARE): Likewise.
40175 (FE_INVALID_SOFTWARE): Likewise.
40176 (FE_INVALID_SQRT): Likewise.
40177 (FE_INVALID_INTEGER_CONVERSION): Likewise.
40178 (FE_TONEAREST): Likewise.
40179 (FE_TOWARDZERO): Likewise.
40180 (FE_UPWARD): Likewise.
40181 (FE_DOWNWARD): Likewise.
40182 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
40183 (FE_DIVBYZERO): Likewise.
40184 (FE_OVERFLOW): Likewise.
40185 (FE_UNDERFLOW): Likewise.
40186 (FE_INEXACT): Likewise.
40187 (FE_TONEAREST): Likewise.
40188 (FE_DOWNWARD): Likewise.
40189 (FE_UPWARD): Likewise.
40190 (FE_TOWARDZERO): Likewise.
40191 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
40192 (FE_UNDERFLOW): Likewise.
40193 (FE_OVERFLOW): Likewise.
40194 (FE_DIVBYZERO): Likewise.
40195 (FE_INVALID): Likewise.
40196 (FE_TONEAREST): Likewise.
40197 (FE_TOWARDZERO): Likewise.
40198 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
40199 (FE_OVERFLOW): Likewise.
40200 (FE_UNDERFLOW): Likewise.
40201 (FE_DIVBYZERO): Likewise.
40202 (FE_INEXACT): Likewise.
40203 (FE_TONEAREST): Likewise.
40204 (FE_TOWARDZERO): Likewise.
40205 (FE_UPWARD): Likewise.
40206 (FE_DOWNWARD): Likewise.
40207 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
40208 (FE_DIVBYZERO): Likewise.
40209 (FE_OVERFLOW): Likewise.
40210 (FE_UNDERFLOW): Likewise.
40211 (FE_INEXACT): Likewise.
40212 (FE_TONEAREST): Likewise.
40213 (FE_DOWNWARD): Likewise.
40214 (FE_UPWARD): Likewise.
40215 (FE_TOWARDZERO): Likewise.
40217 2012-11-02 Chris Metcalf <cmetcalf@tilera.com>
40219 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
40221 2012-11-03 Andreas Schwab <schwab@linux-m68k.org>
40223 * scripts/cross-test-ssh.sh (command): Use newlines to separate
40224 commands. Quote $PWD.
40225 (blacklist_exports): Don't use remove_newlines. Replace "declare
40227 (remove_newlines): Remove.
40229 2012-11-02 H.J. Lu <hongjiu.lu@intel.com>
40231 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
40232 * stdlib/stdlib.h (atof): Moved to ...
40233 * include/bits/stdlib-float.h: Here. New file.
40234 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
40235 * stdlib/bits/stdlib-float.h: New file.
40236 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
40238 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
40241 2012-11-02 Joseph Myers <joseph@codesourcery.com>
40243 * conform/conformtest.pl (@headers): Add fenv.h.
40244 * conform/data/fenv.h-data: New file.
40245 * include/fenv.h [_ISOMAC]: Disable all contents of file except
40246 include of <math/fenv.h>.
40248 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
40249 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
40250 && !UNIX98]. Enables tests for XOPEN2K8.
40251 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
40252 POSIX2008]: Likewise.
40254 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
40255 (struct rusage): Do not expect type or its members.
40258 * math/math.h (FP_NAN): Define macro to integer constant usable in
40259 #if and use that to give value to enum constant.
40260 (FP_INFINITE): Likewise.
40261 (FP_ZERO): Likewise.
40262 (FP_SUBNORMAL): Likewise.
40263 (FP_NORMAL): Likewise.
40265 2012-11-02 Andreas Schwab <schwab@linux-m68k.org>
40267 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
40268 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
40271 2012-11-02 Roland McGrath <roland@hack.frob.com>
40273 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
40274 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
40275 autoconf-time if not.
40276 * configure.in: Remove AC_PREREQ.
40278 2012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
40280 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
40281 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
40282 of the internal implementation.
40284 2012-11-02 Joseph Myers <joseph@codesourcery.com>
40286 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
40287 except include of <misc/sys/syslog.h>.
40289 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
40291 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
40292 function returns with a NULL context exit with zero.
40294 2012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
40296 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
40298 2012-11-01 H.J. Lu <hongjiu.lu@intel.com>
40300 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
40301 (run_program_cmd): This.
40302 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
40303 (tst_langinfo): New variable. Use it.
40305 2012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
40307 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
40308 floating point opcodes.
40310 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
40312 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
40315 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
40317 * sysdeps/mach/hurd/powerpc: Remove directory.
40318 * sysdeps/mach/powerpc: Likewise.
40320 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
40322 * scripts/check-local-headers.sh: Ignore c++ headers.
40324 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
40326 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
40327 __libc_cleanup_region_start argument.
40329 2012-11-01 Joseph Myers <joseph@codesourcery.com>
40333 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
40334 x * y using scaling, not as x * y + z.
40335 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
40336 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
40337 * math/libm-test.inc (fma_test): Add more tests.
40338 (fma_test_towardzero): Likewise.
40339 (fma_test_downward): Likewise.
40340 (fma_test_upward): Likewise.
40342 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
40344 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
40346 2012-10-31 Joseph Myers <joseph@codesourcery.com>
40348 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
40351 2012-10-31 Thomas Schwinge <thomas@codesourcery.com>
40353 * rt/tst-shm.c (worker): Correct checking for mmap failure.
40355 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
40357 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
40359 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
40362 2012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
40364 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
40365 Fix the order of the list for glibc 2.17.
40366 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
40369 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
40371 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
40373 2012-10-31 Joseph Myers <joseph@codesourcery.com>
40376 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
40377 for low part of x being zero before using __atanl (y).
40378 * math/libm-test.inc (atan2_test): Add another test.
40380 * manual/install.texi (Configuring and compiling): Document
40381 general use of test-wrapper and test-wrapper-env.
40382 * INSTALL: Regenerated.
40384 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
40385 (__fma): Do not extract and scale down low bits on after-rounding
40386 systems when result rounded to normal precision would have normal
40388 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
40389 (__fmal): Do not extract and scale down low bits on after-rounding
40390 systems when result rounded to normal precision would have normal
40392 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
40393 (__fmal): Do not extract and scale down low bits on after-rounding
40394 systems when result rounded to normal precision would have normal
40396 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
40398 (fma_test): Add more tests.
40399 (fma_test_towardzero): Likewise.
40400 (fma_test_downward): Likewise.
40401 (fma_test_upward): Likewise.
40403 2012-10-30 H.J. Lu <hongjiu.lu@intel.com>
40405 * sysdeps/i386/tininess.h: Renamed to ...
40406 * sysdeps/x86/tininess.h: This.
40407 * sysdeps/x86_64/tininess.h: Removed.
40409 2012-10-30 Joseph Myers <joseph@codesourcery.com>
40411 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
40412 input. Use $(build-program-cmd).
40413 ($(objpfx)tst-array1-static.out): Likewise.
40414 ($(objpfx)tst-array2.out): Likewise.
40415 ($(objpfx)tst-array3.out): Likewise.
40416 ($(objpfx)tst-array4.out): Likewise.
40417 ($(objpfx)tst-array5.out): Likewise.
40418 ($(objpfx)tst-array5-static.out): Likewise.
40420 2012-10-30 Chris Metcalf <cmetcalf@tilera.com>
40422 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
40425 * nss/nsswitch.h (nss_interface_function): Provide new
40426 macro for use with NSS functions.
40427 * grp/initgroups.c: Use new macro.
40428 * nss/getXXbyYY.c: Likewise.
40429 * nss/getXXbyYY_r.c: Likewise.
40430 * nss/getXXent.c: Likewise.
40431 * nss/getXXent_r.c: Likewise.
40432 * sysdeps/posix/getaddrinfo.c: Likewise.
40434 2012-10-30 Andreas Jaeger <aj@suse.de>
40436 * po/ru.po: Update Russion translation from translation project.
40438 2012-10-30 Joseph Myers <joseph@codesourcery.com>
40442 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
40443 result and shift together with sticky bit instead of replicating
40444 round-to-nearest rounding.
40445 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
40446 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
40447 * math/libm-test.inc (fma_test): Add more tests. Do not permit
40448 missing underflow exceptions.
40449 (fma_test_towardzero): Add more tests.
40450 (fma_test_downward): Likewise.
40451 (fma_test_upward): Likewise.
40454 * sysdeps/generic/tininess.h: New file.
40455 * sysdeps/i386/tininess.h: Likewise.
40456 * sysdeps/sh/tininess.h: Likewise.
40457 * sysdeps/x86_64/tininess.h: Likewise.
40458 * stdlib/tst-strtod-underflow.c: Likewise.
40459 * stdlib/tst-tininess.c: Likewise.
40460 * stdlib/strtod_l.c: Include <tininess.h>.
40461 (round_and_return): Do not set errno for exact underflow cases.
40462 Force an underflow exception when setting errno for underflow.
40463 Determine underflow based on rounding to normal precision if
40464 TININESS_AFTER_ROUNDING.
40465 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
40466 ERANGE for exact underflow cases.
40467 * stdlib/Makefile (tests): Add tst-tininess and
40468 tst-strtod-underflow.
40469 ($(objpfx)tst-tininess): Use $(link-libm).
40470 ($(objpfx)tst-strtod-underflow): Likewise.
40472 2012-10-30 Andreas Jaeger <aj@suse.de>
40475 * elf/Makefile (tests): Remove conditional for have-initfini-array
40476 since this is now always required and the variable does not exist
40478 (tests-static): Likewise.
40479 (modules-names): Likewise.
40481 * po/eo.po: Add Esperanto translation from translation project.
40483 * elf/tst-array1.c (fini_array): Make writeable so that it can be
40484 merged with constructor/destructor.
40485 (init_array): Likewise.
40486 * elf/tst-array2dep.c (fini_array): Likewise.
40487 (init_array): Likewise.
40489 2012-10-29 Mike Frysinger <vapier@gentoo.org>
40491 * manual/message.texi: Delete @cartouche tags.
40493 2012-10-29 Pino Toscano <toscano.pino@tiscali.it>
40495 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
40497 * sysdeps/mach/hurd/fsync.c: Likewise.
40499 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
40500 [_POSIX_REALTIME_SIGNALS]: Change condition to
40501 [_POSIX_REALTIME_SIGNALS > 0].
40503 2012-10-27 Andreas Jaeger <aj@suse.de>
40505 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
40506 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
40507 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
40508 [__WORDSIZE != 64]: Likewise.
40510 2012-10-26 H.J. Lu <hongjiu.lu@intel.com>
40512 * iconvdata/tst-table.sh: Remove ${SHELL}.
40513 * iconvdata/tst-tables.sh: Likewise.
40515 2012-10-25 David S. Miller <davem@davemloft.net>
40517 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
40518 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
40521 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
40523 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
40524 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
40525 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
40528 2012-10-25 Roland McGrath <roland@hack.frob.com>
40530 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
40531 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
40534 2012-10-25 Joseph Myers <joseph@codesourcery.com>
40535 Jim Blandy <jimb@codesourcery.com>
40537 * scripts/cross-test-ssh.sh: New file.
40538 * manual/install.texi (Configuring and compiling): Document use of
40540 * INSTALL: Regenerated.
40542 2012-10-25 Pino Toscano <toscano.pino@tiscali.it>
40544 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
40547 2012-10-25 Joseph Myers <joseph@codesourcery.com>
40549 * Makeconfig (run-program-prefix): Fix comment.
40551 2012-10-24 Joseph Myers <joseph@codesourcery.com>
40552 Jim Blandy <jimb@codesourcery.com>
40554 * Makeconfig (test-wrapper): New variable,
40555 (test-wrapper-env): Likewise.
40556 [$(cross-compiling) = yes && $(test-wrapper) != ""]
40557 (run-built-tests): Define to yes.
40558 (run-program-prefix): Use $(test-wrapper).
40559 (built-program-cmd): Likewise.
40560 * Rules (make-test-out): Use $(test-wrapper-env) and
40561 $(host-built-program-cmd).
40562 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
40563 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
40565 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
40566 $(test-wrapper-env) to tst-rtld-load-self.sh.
40567 ($(objpfx)order2.out): Use $(test-wrapper).
40568 ($(objpfx)tst-initorder.out): Likewise.
40569 ($(objpfx)tst-initorder2.out): Likewise.
40570 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
40571 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
40572 (test_wrapper_env): New variable. Use it to run ld.so.
40573 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
40574 Use it to run ld.so.
40575 (test_wrapper_env): Likewise.
40576 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
40577 $(test-wrapper) to run-iconv-test.sh.
40578 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
40579 (ICONV): Use $test_wrapper.
40580 * posix/Makefile ($(objpfx)globtest.out): Pass
40581 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
40582 globtest.sh, not $(run-program-prefix).
40583 * posix/globtest.sh (run_via_rtld_prefix): New variable.
40584 (test_wrapper): Likewise.
40585 (test_wrapper_env): Likewise. Use it to run globtest with HOME
40586 set together with run_via_rtld_prefix.
40587 (run_program_prefix): Define in terms of test_wrapper and
40588 run_via_rtld_prefix.
40590 2012-10-24 Roland McGrath <roland@hack.frob.com>
40592 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
40593 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
40597 * include/time.h: Remove librt_hidden_proto (clock_gettime).
40598 Declare __clock_getres, __clock_gettime, __clock_settime,
40599 __clock_nanosleep, and __clock_getcpuclockid.
40600 * rt/clock_gettime.c: Define __clock_gettime as an alias.
40601 Remove librt_hidden_def (clock_gettime).
40602 * sysdeps/unix/clock_gettime.c: Likewise.
40603 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
40604 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
40605 * rt/clock_getres.c: Define __clock_getres as an alias.
40606 * sysdeps/posix/clock_getres.c: Likewise.
40607 * rt/clock_settime.c: Define __clock_settime as an alias.
40608 * sysdeps/unix/clock_settime.c: Likewise.
40609 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
40610 * sysdeps/unix/clock_nanosleep.c: Likewise.
40611 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
40612 * rt/clock-compat.c: New file.
40613 * rt/Makefile (librt-routines): Add clock-compat and move
40614 $(clock-routines) to ...
40615 (routines): ... here, new variable.
40616 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
40617 Don't add get_clockfreq here.
40618 * rt/Versions (libc: GLIBC_2.17): New version set.
40619 Add clock_* symbols here.
40620 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
40621 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
40622 (GLIBC_2.17): Add clock_* symbols.
40623 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
40624 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
40625 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
40626 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
40628 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
40630 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
40631 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
40632 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
40633 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
40634 * NEWS: Mention the move.
40636 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
40637 Use __open, __read, __close rather than their public counterparts.
40638 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
40639 (__get_clockfreq_via_cpuinfo): Likewise.
40640 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
40641 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
40643 * config.h.in (HAVE_IFUNC): New #undef.
40644 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
40646 * configure: Regenerated.
40648 2012-10-24 Mike Frysinger <vapier@gentoo.org>
40650 * configure.in: Move READELF check to start of file.
40651 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
40652 libc_cv_asm_gnu_indirect_function in the process.
40653 * configure: Regenerated.
40655 2012-10-24 Mike Frysinger <vapier@gentoo.org>
40657 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
40658 send the output to /dev/null.
40659 (libc_cv_cc_with_libunwind): Likewise.
40660 (libc_cv_as_noexecstack): Likewise.
40661 * configure: Regenerate.
40663 2012-10-24 Joseph Myers <joseph@codesourcery.com>
40665 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
40667 * posix/globtest.sh (TMPDIR): Do not set.
40668 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
40669 (testout): Likewise.
40671 2012-10-24 Andreas Jaeger <aj@suse.de>
40673 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
40674 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
40675 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
40676 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
40677 posix_fadvise64, posix_fallocate64.
40679 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
40680 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
40681 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
40683 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
40685 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
40687 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
40688 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
40689 <bits/fcntl-linux.h>.
40690 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
40692 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
40693 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
40694 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
40695 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
40696 [__WORDSIZE != 64]: Likewise.
40698 2012-10-23 Joseph Myers <joseph@codesourcery.com>
40700 * Makeconfig (run-built-tests): New variable.
40701 * Rules [$(cross-compiling) = yes]: Change condition to
40702 [$(run-built-tests) = no].
40703 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
40704 to [$(run-built-tests) = yes].
40705 * elf/Makefile [$(cross-compiling) = no]: Likewise
40706 * grp/Makefile [$(cross-compiling) = no]: Likewise.
40707 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
40708 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
40709 * intl/Makefile [$(cross-compiling) = no]: Likewise.
40710 * io/Makefile [$(cross-compiling) = no]: Likewise.
40711 * libio/Makefile [$(cross-compiling) = no]: Likewise.
40712 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
40713 * misc/Makefile [$(cross-compiling) = no]: Likewise.
40714 * posix/Makefile [$(cross-compiling) = no]: Likewise.
40715 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
40716 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
40717 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
40718 * string/Makefile [$(cross-compiling) = no]: Likewise.
40720 * posix/Makefile ($(objpfx)globtest.out): Pass
40721 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
40722 $(rtld-installed-name).
40723 * posix/globtest.sh (elf_objpfx): Remove variable.
40724 (rtld_installed_name): Likewise.
40725 (library_path): Likewise.
40726 (run_program_prefix): New variable. Use for running globtest
40729 2012-10-23 Jim Blandy <jimb@codesourcery.com>
40730 Joseph Myers <joseph@codesourcery.com>
40732 * Makeconfig (host-built-program-cmd): New variable.
40733 * elf/Makefile (tst-stackguard1-ARGS): Use
40734 $(host-built-program-cmd).
40735 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
40736 (tst-spawn-ARGS): Likewise.
40737 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
40739 2012-10-23 Joseph Myers <joseph@codesourcery.com>
40740 Jim Blandy <jimb@codesourcery.com>
40742 * Makeconfig (run-via-rtld-prefix): New variable.
40743 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
40744 (built-program-cmd): Likewise.
40746 2012-10-22 Andreas Jaeger <aj@suse.de>
40748 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
40749 __O_RSYNC if it exists, otherwise to O_SYNC.
40751 2012-10-22 Jim Blandy <jimb@codesourcery.com>
40752 Joseph Myers <joseph@codesourcery.com>
40754 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
40756 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
40758 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
40761 2012-10-22 Andreas Jaeger <aj@suse.de>
40763 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
40765 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
40767 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
40768 bits/fcntl-linux.h.
40770 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
40771 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
40773 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
40775 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
40778 2012-10-21 Jim Blandy <jimb@codesourcery.com>
40779 Joseph Myers <joseph@codesourcery.com>
40781 * config.make.in (NM): New variable.
40783 2012-10-21 Andreas Jaeger <aj@suse.de>
40785 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
40786 definitions and declarations that are provided by
40787 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
40789 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
40792 * elf/Makefile (tests-static): Add tst-leaks1-static.
40793 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
40794 ($(objpfx)tst-leaks1-static): New rule.
40795 ($(objpfx)tst-leaks1-static-mem): Likewise.
40796 (tst-leaks1-static-ENV): New macro.
40797 * elf/dl-open.c (dl_open_worker): Check the main application
40798 only if SHARED is defined.
40799 * elf/tst-leaks1-static.c: New file.
40801 2012-10-20 Andreas Jaeger <aj@suse.de>
40803 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
40804 generic values for Linux.
40805 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
40806 and declarations that are provided by <bits/fcntl-linux.h> and
40807 include <bits/fcntl-linux.h>.
40808 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
40809 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
40811 2012-10-20 Roland McGrath <roland@hack.frob.com>
40813 * io/fcntl.h: Move include of <bits/types.h> to the top and
40814 include it unconditionally.
40816 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
40818 * wcsmbs/Makefile (tests-ifunc): New variable.
40819 (tests): Add $(tests-ifunc).
40820 * wcsmbs/test-wcschr-ifunc.c: New file.
40821 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
40822 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
40823 * wcsmbs/test-wcslen-ifunc.c: Likewise.
40824 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
40825 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
40827 * string/Makefile (tests-ifunc): New variable.
40828 (tests): Add $(tests-ifunc).
40829 * string/test-memccpy.c (TEST_NAME): New macro.
40830 * string/test-memchr.c (TEST_NAME): Likewise.
40831 * string/test-memcmp.c (TEST_NAME): Likewise.
40832 * string/test-memcpy.c (TEST_NAME): Likewise.
40833 * string/test-memmem.c (TEST_NAME): Likewise.
40834 * string/test-memmove.c (TEST_NAME): Likewise.
40835 * string/test-memset.c (TEST_NAME): Likewise.
40836 * string/test-rawmemchr.c (TEST_NAME): Likewise.
40837 * string/test-stpcpy.c (TEST_NAME): Likewise.
40838 * string/test-stpncpy.c (TEST_NAME): Likewise.
40839 * string/test-strcasecmp.c (TEST_NAME): Likewise.
40840 * string/test-strcasestr.c (TEST_NAME): Likewise.
40841 * string/test-strcat.c (TEST_NAME): Likewise.
40842 * string/test-strchr.c (TEST_NAME): Likewise.
40843 * string/test-strcmp.c(TEST_NAME): Likewise.
40844 * string/test-strcpy.c (TEST_NAME): Likewise.
40845 * string/test-strcspn.c (TEST_NAME): Likewise.
40846 * string/test-strlen.c (TEST_NAME): Likewise.
40847 * string/test-strncasecmp.c (TEST_NAME): Likewise.
40848 * string/test-strncmp.c (TEST_NAME): Likewise.
40849 * string/test-strncpy.c (TEST_NAME): Likewise.
40850 * string/test-strnlen.c (TEST_NAME): Likewise.
40851 * string/test-strpbrk.c (TEST_NAME): Likewise.
40852 * string/test-strrchr.c (TEST_NAME): Likewise.
40853 * string/test-strspn.c (TEST_NAME): Likewise.
40854 * string/test-strstr.c (TEST_NAME): Likewise.
40855 * string/test-bcopy-ifunc.c: New file.
40856 * string/test-bzero-ifunc.c: Likewise.
40857 * string/test-memccpy-ifunc.c: Likewise.
40858 * string/test-memchr-ifunc.c: Likewise.
40859 * string/test-memcmp-ifunc.c: Likewise.
40860 * string/test-memcpy-ifunc.c: Likewise.
40861 * string/test-memmem-ifunc.c: Likewise.
40862 * string/test-memmove-ifunc.c: Likewise.
40863 * string/test-mempcpy-ifunc.c: Likewise.
40864 * string/test-memset-ifunc.c: Likewise.
40865 * string/test-rawmemchr-ifunc.c: Likewise.
40866 * string/test-stpcpy-ifunc.c: Likewise.
40867 * string/test-stpncpy-ifunc.c: Likewise.
40868 * string/test-strcasecmp-ifunc.c: Likewise.
40869 * string/test-strcasestr-ifunc.c: Likewise.
40870 * string/test-strcat-ifunc.c: Likewise.
40871 * string/test-strchr-ifunc.c: Likewise.
40872 * string/test-strchrnul-ifunc.c: Likewise.
40873 * string/test-strcmp-ifunc.c: Likewise.
40874 * string/test-strcpy-ifunc.c: Likewise.
40875 * string/test-strcspn-ifunc.c: Likewise.
40876 * string/test-strlen-ifunc.c: Likewise.
40877 * string/test-strncasecmp-ifunc.c: Likewise.
40878 * string/test-strncat-ifunc.c: Likewise.
40879 * string/test-strncmp-ifunc.c: Likewise.
40880 * string/test-strncpy-ifunc.c: Likewise.
40881 * string/test-strnlen-ifunc.c: Likewise.
40882 * string/test-strpbrk-ifunc.c: Likewise.
40883 * string/test-strrchr-ifunc.c: Likewise.
40884 * string/test-strspn-ifunc.c: Likewise.
40885 * string/test-strstr-ifunc.c: Likewise.
40887 * debug/Makefile (tests-ifunc): New variable.
40888 (tests): Add $(tests-ifunc).
40889 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
40890 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
40891 * debug/test-stpcpy_chk-ifunc.c: New file.
40892 * debug/test-strcpy_chk-ifunc.c: Likewise.
40894 2012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
40897 * elf/dl-load.c (open_verify): Retry read if the entire ELF
40898 header is not read in.
40900 2012-10-19 Joseph Myers <joseph@codesourcery.com>
40902 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
40903 script to $(SHELL) as $<. Pass $(common-objpfx) to script
40904 directly. Pass built executable to script as
40905 $(built-program-cmd).
40906 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
40907 $testprogram without using LD_LIBRARY_PATH and $ldso.
40909 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
40910 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
40911 $(rtld-installed-name).
40912 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
40913 (rtld_installed_name): Likewise.
40914 (library_path): Likewise.
40915 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
40916 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
40917 $(run-program-prefix) to tst-tables.sh.
40918 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
40919 it to run tst-table-from and tst-table-to.
40920 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
40921 Pass it to tst-table.sh.
40922 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
40923 $(run-program-prefix) to tst-gettext.sh.
40924 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
40926 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
40928 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
40929 to run tst-gettext.
40930 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
40931 to run tst-gettext2.
40932 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
40933 to run tst-translit.
40934 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
40935 $(run-program-prefix) to tst-mtrace.sh.
40936 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
40938 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
40939 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
40940 $(rtld-installed-name).
40941 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
40942 (rtld_installed_name): Likewise.
40943 (run_program_prefix): New variable. Use it to run wordexp-test.
40945 * Makeconfig (ARCH): Remove all definitions.
40946 (machine): Likewise.
40947 [ARCH]: Remove conditional code.
40948 [!objdir]: Give error.
40949 [!objdir] (objpfx): Remove.
40950 [!objdir] (common-objpfx): Likewise.
40951 [!objdir] (common-objdir): Likewise.
40952 * configure.in (config_makefile): Remove. Hardcode Makefile in
40953 AC_CONFIG_FILES call.
40954 * configure: Regenerated.
40957 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
40959 (testout): Likewise.
40961 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
40962 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
40963 $(rtld-installed-name).
40964 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
40965 (rtld_installed_name): Likwise.
40966 (runit): Remove function.
40967 (run_getconf): New variable, Use it for running getconf binary.
40969 2012-10-18 H.J. Lu <hongjiu.lu@intel.com>
40972 * string/test-memmem.c (check_result): New function.
40973 (do_one_test): Use it.
40974 (check1): New function.
40975 (test_main): Use it.
40977 2012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
40979 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
40981 2012-10-18 Joseph Myers <joseph@codesourcery.com>
40983 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
40984 (_G_LSEEK64): Likewise.
40985 (_G_MMAP64): Likewise.
40986 (_G_FSTAT64): Likewise.
40987 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
40988 (_G_LSEEK64): Likewise.
40989 (_G_MMAP64): Likewise.
40990 (_G_FSTAT64): Likewise.
40991 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
40992 unconditional. Call __mmap64 directly.
40993 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
40994 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
40995 __lseek64 directly.
40996 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
40997 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
40999 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
41000 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
41001 __lseek64 directly.
41002 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
41003 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
41004 __lseek64 directly.
41005 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
41006 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
41007 __lseek64 directly.
41008 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
41009 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
41010 __fxstat64 directly.
41011 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
41012 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
41014 (freopen64) [!_G_OPEN64]: Remove conditional code.
41015 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
41017 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
41018 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
41020 (ftello64) [!_G_LSEEK64]: Remove conditional code.
41021 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
41023 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
41024 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
41026 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
41027 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
41029 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
41030 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
41032 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
41033 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
41035 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
41037 2012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
41040 * manual/memory.texi (Malloc Tunable Parameters): Add note
41041 about free list pointers overwriting some perturb bytes.
41042 Wording suggested by Roland McGrath.
41044 2012-10-17 Joseph Myers <joseph@codesourcery.com>
41046 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
41047 (lgamma_test): Likewise.
41048 (tgamma_test): Likewise.
41050 2012-10-16 Florian Weimer <fweimer@redhat.com>
41053 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
41054 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
41056 2012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
41058 * NEWS: Mention BZ #14716.
41059 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
41060 when removing AVAILABLE1_USES_J macro.
41062 2012-10-12 H.J. Lu <hongjiu.lu@intel.com>
41064 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
41065 (__bswap_64): __uint64_t for unsigned 64-bit int.
41067 2012-10-12 Andreas Schwab <schwab@linux-m68k.org>
41069 * include/string.h (memmem): Declare libc hidden alias.
41070 * string/memmem.c (memmem): Define libc hidden alias.
41071 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
41072 __read, __close instead of open, read, close.
41074 2012-10-11 H.J. Lu <hongjiu.lu@intel.com>
41076 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
41077 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
41079 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
41080 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
41081 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
41083 (__rawmemchr_sse2): Likewise.
41084 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
41085 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
41086 (__strchr_sse2): Likewise.
41087 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
41088 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
41089 (__strcasecmp_sse2): Likewise.
41090 (__strncasecmp_sse2): Likewise.
41091 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
41092 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
41093 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
41094 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
41095 (__strrchr_sse2): Likewise.
41096 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
41098 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
41099 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
41100 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
41101 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
41102 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
41103 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
41104 * sysdeps/x86_64/multiarch/memset.S: Likewise.
41105 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
41106 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
41107 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
41108 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
41109 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
41110 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
41111 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
41112 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
41113 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
41114 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
41115 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
41116 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
41117 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
41118 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
41119 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
41120 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
41121 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
41122 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
41123 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
41124 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
41125 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
41126 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
41127 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
41129 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
41131 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
41132 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
41133 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
41134 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
41136 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
41138 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
41139 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
41140 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
41141 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
41143 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
41144 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
41145 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
41146 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
41147 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
41148 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
41149 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
41150 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
41151 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
41152 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
41153 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
41154 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
41155 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
41156 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
41157 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
41158 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
41159 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
41160 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
41161 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
41162 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
41163 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
41164 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
41165 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
41166 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
41167 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
41168 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
41169 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
41170 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
41171 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
41172 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
41173 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
41174 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
41175 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
41176 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
41177 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
41178 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
41179 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
41180 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
41181 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
41182 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
41183 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
41185 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
41186 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
41187 * include/ifunc-impl-list.h: New file.
41188 * misc/ifunc-impl-list.c: Likewise.
41189 * misc/Makefile (routines): Add ifunc-impl-list.
41190 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
41191 * string/test-string.h: Include <ifunc-impl-list.h>.
41192 (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
41193 TEST_NAME]: New variables.
41194 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
41196 (test_init): Call __libc_ifunc_impl_list to initialize
41197 func_list if TEST_IFUNC and TEST_NAME are defined.
41199 * string/Makefile (strop-tests): Add bcopy and bzero.
41200 * string/test-bcopy.c: New file.
41201 * string/test-bzero.c: Likewise.
41202 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
41204 * string/test-memset.c: Support bzero test if TEST_BZERO is
41206 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
41208 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
41210 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
41213 2012-10-10 Joseph Myers <joseph@codesourcery.com>
41215 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
41216 * configure: Regenerated.
41218 * Makeconfig (+link-static-before-libc): Don't include
41219 $(link-static-libc).
41221 * libio/libio.h (_IO_pos_t): Remove.
41223 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
41225 * NEWS: Add note about FIPS mode. Wording suggested by Roland
41228 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
41230 * crypt/crypt-entry.c: Include fips-private.h.
41231 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
41232 * crypt/md5c-test.c (main): Tolerate disabled MD5.
41233 * sysdeps/unix/sysv/linux/fips-private.h: New file.
41234 * sysdeps/generic/fips-private.h: New file, dummy fallback.
41236 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
41238 * crypt/crypt-private.h: Include stdbool.h.
41239 (_ufc_setup_salt_r): Return bool.
41240 * crypt/crypt-entry.c: Include errno.h.
41241 (__crypt_r): Return NULL with EINVAL for bad salt.
41242 * crypt/crypt_util.c (bad_for_salt): New.
41243 (_ufc_setup_salt_r): Check that salt is long enough and within
41244 the specified alphabet.
41245 * crypt/badsalttest.c: New file.
41246 * crypt/Makefile (tests): Add it.
41247 ($(objpfx)badsalttest): New.
41249 2012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
41251 * NEWS: Add entry for BZ #14602.
41253 2012-10-09 Joseph Myers <joseph@codesourcery.com>
41255 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
41257 * math/libm-test.inc: Update comment listing what functions and
41259 (isgreater_test): New function.
41260 (isgreaterequal_test): Likewise.
41261 (isless_test): Likewise.
41262 (islessequal_test): Likewise.
41263 (islessgreater_test): Likewise.
41264 (isunordered_test): Likewise.
41265 (main): Call the new functions.
41267 2012-10-09 Roland McGrath <roland@hack.frob.com>
41269 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
41270 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
41271 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
41272 * sysdeps/i386/configure: Regenerated.
41273 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
41274 * sysdeps/mach/configure: Regenerated.
41275 * sysdeps/mach/hurd/configure: Regenerated.
41276 * sysdeps/powerpc/configure: Regenerated.
41277 * sysdeps/powerpc/powerpc32/configure: Regenerated.
41278 * sysdeps/powerpc/powerpc64/configure: Regenerated.
41279 * sysdeps/s390/s390-32/configure: Regenerated.
41280 * sysdeps/s390/s390-64/configure: Regenerated.
41281 * sysdeps/sh/configure: Regenerated.
41282 * sysdeps/sparc/configure: Regenerated.
41283 * sysdeps/unix/sysv/linux/configure: Regenerated.
41284 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
41285 * sysdeps/x86_64/configure: Regenerated.
41287 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
41288 defined. Don't check if MAP is NULL.
41290 2012-10-09 Joseph Myers <joseph@codesourcery.com>
41292 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
41293 (_G_stat64): Likewise.
41294 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
41295 (_G_stat64): Likewise.
41296 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
41297 instead of struct _G_stat64.
41298 * libio/fileops.c (mmap_remap_check): Likewise.
41299 (decide_maybe_mmap): Likewise.
41300 (_IO_new_file_seekoff): Likewise.
41301 (_IO_file_stat): Likewise.
41302 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
41304 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
41305 instead of struct _G_stat64.
41306 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
41308 2012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
41311 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
41313 (CHECK_EOL): New macro.
41314 (two_way_short_needle): Check beginning of haystack for EOL. Use
41316 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
41317 Replace with CHECK_EOL.
41318 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
41319 Replace with CHECK_EOL.
41321 2012-10-08 Joseph Myers <joseph@codesourcery.com>
41323 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
41325 * math/libm-test.inc: Update comment listing what functions and
41327 (finite_test): New function.
41328 (isinf_test): Likewise.
41329 (isnan_test): Likewise.
41330 (fpclassify_test): Test subnormal input.
41331 (isfinite_test): Likewise.
41332 (isnormal_test): Likewise.
41333 (main): Call the new functions.
41335 2012-10-08 Jonathan Nieder <jrnieder@gmail.com>
41338 * Makerules (%.dynsym): Force C locale when running
41339 $(OBJDUMP) --dynamic-syms.
41341 2012-10-08 Andreas Schwab <schwab@linux-m68k.org>
41343 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
41346 2012-10-06 David S. Miller <davem@davemloft.net>
41348 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
41349 upper 32-bits of the length value in %o2 since we use branch-on-register
41350 tests which consider the entire 64-bit register.
41352 2012-10-06 H.J. Lu <hongjiu.lu@intel.com>
41354 * string/test-strstr.c (check2): Add a test for page boundary.
41356 2012-10-05 David S. Miller <davem@davemloft.net>
41358 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
41359 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
41361 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
41363 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
41364 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
41365 and bzero when HWCAP_SPARC_CRYPTO is present.
41367 2012-10-05 H.J. Lu <hongjiu.lu@intel.com>
41370 * string/test-strstr.c (check2): New function.
41371 (test_main): Call check2.
41373 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
41375 * string/bug-strcasestr1.c (do_test): Moved to ...
41376 * string/test-strcasestr.c (check1): Here. New function.
41377 (do_one_test): Break out result checking code into ...
41378 (check_result): This. New function.
41379 (do_one_test): Call check_result.
41380 (test_main): Call check1.
41381 * string/bug-strchr1.c (do_test): Moved to ...
41382 * string/test-strchr.c (check1): Here. New function.
41383 (do_one_test): Break out result checking code into ...
41384 (check_result): This. New function.
41385 (do_one_test): Call check_result.
41386 (test_main): Call check1.
41387 * string/bug-strstr1.c (main): Moved to ...
41388 * string/test-strstr.c (check1): Here. New function.
41389 (do_one_test): Break out result checking code into ...
41390 (check_result): This. New function.
41391 (do_one_test): Call check_result.
41392 (test_main): Call check1.
41393 * string/bug-strcasestr1.c: Removed.
41394 * string/bug-strchr1.c: Likewise.
41395 * string/bug-strstr1.c: Likewise.
41397 * elf/Makefile (dl-routines): Add hwcaps.
41398 * elf/dl-support.c (_dl_important_hwcaps): Removed.
41399 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
41400 (_dl_important_hwcaps): Moved to ...
41401 * elf/dl-hwcaps.c: Here. New file.
41402 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
41405 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
41406 if IS_IN_rtld isn't defined.
41408 * elf/dl-support.c (_dl_sysinfo_map): New.
41409 Include "get-dynamic-info.h" and "setup-vdso.h".
41410 (_dl_non_dynamic_init): Call setup_vdso.
41411 * elf/dynamic-link.h: Don't include <assert.h>.
41412 (elf_get_dynamic_info): Moved to ...
41413 * elf/get-dynamic-info.h: Here. New file.
41414 * elf/dynamic-link.h: Include "get-dynamic-info.h".
41415 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
41416 * elf/setup-vdso.h: Here. New file.
41417 * elf/rtld.c: Include "setup-vdso.h".
41418 (dl_main): Call setup_vdso.
41420 2012-10-05 Joseph Myers <joseph@codesourcery.com>
41422 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
41423 creal in comment listing functions tested. List finite, isinf,
41424 isnan, isless, islessequal, isgreater, isgreaterequal,
41425 islessgreater, isunordered, lgamma_r and pow10 as functions and
41426 macros not tested. Mention which functions not tested are aliases
41427 for other functions. Fix typo. Note that signs of NaNs are not
41430 * scripts/config.guess: Update from config.git.
41431 * scripts/config.sub: Likewise.
41433 2012-10-04 Roland McGrath <roland@hack.frob.com>
41435 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
41436 * misc/madvise.c (madvise): Renamed to __madvise.
41437 Make madvise a weak alias.
41438 * include/sys/mman.h: Declare __madvise.
41439 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
41440 * sysdeps/unix/syscalls.list
41441 (madvise): Make __madvise the strong name, and madvise a weak alias.
41442 * sysdeps/unix/sysv/linux/syscalls.list
41443 (madvise, mmap): Remove redundant entries.
41444 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
41445 * malloc/malloc.c (mtrim): Likewise.
41446 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
41448 2012-10-03 Roland McGrath <roland@hack.frob.com>
41450 * sysdeps/mach/hurd/dl-cache.c: File removed.
41451 * config.h.in (USE_LDCONFIG): New #undef.
41452 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
41453 * configure: Regenerated.
41454 * elf/Makefile (dl-routines): Add dl-cache only under
41455 [$(use-ldconfig) = yes].
41456 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
41457 cache on [USE_LDCONFIG].
41458 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
41460 * elf/rtld.c (dl_main): Likewise.
41462 2012-10-03 Pino Toscano <toscano.pino@tiscali.it>
41464 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
41465 _SC_LEVEL4_CACHE_LINESIZE.
41467 2012-10-03 Roland McGrath <roland@hack.frob.com>
41469 * sysdeps/unix/bsd/confstr.h: File removed.
41471 2012-10-02 Alexandre Oliva <aoliva@redhat.com>
41473 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
41476 2012-10-02 Roland McGrath <roland@hack.frob.com>
41478 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
41479 Make 'mapoff' field ElfW(Off) rather than off_t.
41481 2012-10-02 Dmitry V. Levin <ldv@altlinux.org>
41483 * nscd/Makefile: Remove nscd-cflags and all its users.
41484 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
41485 (CFLAGS-nonlib): Add compiler flags for nscd modules.
41488 * malloc.c (malloc_printerr): Clarify error message.
41490 2012-10-02 H.J. Lu <hongjiu.lu@intel.com>
41493 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
41494 Set bit_FMA_Usable if FMA is supported.
41495 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
41497 (bit_FMA4_Usable): Updated.
41498 (index_FMA_Usable): New macro.
41499 (CPUID_FMA): Likewise
41500 (HAS_FMA): Defined with bit_FMA_Usable.
41502 2012-10-01 Roland McGrath <roland@hack.frob.com>
41504 * bits/types.h (__swblk_t): Type removed.
41505 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
41506 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
41507 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
41508 (__SWBLK_T_TYPE): Likewise.
41509 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
41510 (__SWBLK_T_TYPE): Likewise.
41511 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
41512 (__SWBLK_T_TYPE): Likewise.
41513 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
41514 (__SWBLK_T_TYPE): Likewise.
41516 2012-10-01 Patsy Franklin <pfrankli@redhat.com>
41517 Honza Horak <hhorak@redhat.com>
41519 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
41520 (xdr_mapname): Use YPMAXMAP as maxsize.
41521 (xdr_peername): Use YPMAXPEER as maxsize.
41522 (xdr_keydat): Use YPAXRECORD as maxsize.
41523 (xdr_valdat): Use YPMAXRECORD as maxsize.
41525 2012-10-01 Roland McGrath <roland@hack.frob.com>
41527 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
41529 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
41530 * csu/init-first.c: ... here.
41531 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
41532 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
41533 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
41534 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
41535 * sysdeps/i386/init-first.c: File removed.
41536 * sysdeps/sh/init-first.c: File removed.
41538 2012-10-01 Joseph Myers <joseph@codesourcery.com>
41541 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
41542 if x * y might underflow to zero and z is zero.
41543 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
41544 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
41545 * math/libm-test.inc (min_subnorm_value): New variable.
41546 (fma_test): Add more tests.
41547 (fma_test_towardzero): Likewise.
41548 (fma_test_downward): Likewise
41549 (fma_test_upward): Likewise.
41550 (initialize): Set min_subnorm_value.
41552 2012-09-29 Joseph Myers <joseph@codesourcery.com>
41555 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
41557 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
41558 mode for addition resulting in exact zero.
41559 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
41560 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
41562 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
41563 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
41564 * math/libm-test.inc (fma_test): Add more tests.
41565 (fma_test_towardzero): New function.
41566 (fma_test_downward): Likewise.
41567 (fma_test_upward): Likewise.
41568 (main): Call the new functions.
41570 2012-09-28 David S. Miller <davem@davemloft.net>
41572 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
41574 2012-09-28 Roland McGrath <roland@hack.frob.com>
41576 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
41577 instead of SIGALRM.
41579 * sysdeps/gnu/_G_config.h: Moved to ...
41580 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
41581 * sysdeps/mach/hurd/_G_config.h: Moved to ...
41582 * sysdeps/generic/_G_config.h: ... here.
41584 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
41586 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
41588 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
41589 Conditionalize target on [libnss_test1.so-version].
41591 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
41593 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
41594 (elfobjdir): Move out of conditionals.
41596 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
41597 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
41598 (__nss_lookup_function): Conditionalize label remove_from_tree on
41599 [!DO_STATIC_NSS || SHARED], matching its only use.
41601 2012-09-28 David S. Miller <davem@davemloft.net>
41603 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
41604 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
41606 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
41608 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
41609 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
41610 when HWCAP_SPARC_CRYPTO is present.
41612 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
41614 * io/tst-mknodat.c: Create a FIFO instead of a socket.
41616 2012-09-28 Andreas Schwab <schwab@linux-m68k.org>
41619 * stdio-common/vfprintf.c (process_string_arg): Revert
41622 2011-09-28 Jonathan Nieder <jrnieder@gmail.com>
41624 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
41626 * stdio-common/tst-sprintf.c: Include <locale.h>
41627 (main): Test sprintf's handling of incomplete multibyte
41630 2012-09-28 H.J. Lu <hongjiu.lu@intel.com>
41632 * elf/dl-runtime.c (VERSYMIDX): Removed.
41633 * elf/dl-version.c (VERSYMIDX): Likewise.
41634 * elf/do-rel.h (VERSYMIDX): Likewise.
41635 (VALIDX): Likewise.
41636 * elf/dynamic-link.h (VERSYMIDX): Likewise.
41637 * elf/rtld.c (VALIDX): Likewise.
41638 (ADDRIDX): Likewise.
41639 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
41640 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
41641 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
41642 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
41643 (VALIDX): Likewise.
41644 (ADDRIDX): Likewise.
41646 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
41648 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
41650 2012-09-28 Dmitry V. Levin <ldv@altlinux.org>
41653 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
41655 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
41656 addresses are in the same scope as 192.0.2/24.
41657 * posix/gai.conf: Document new scope table defaults.
41659 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
41662 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
41663 for ftell. Compute offsets from write pointers instead.
41664 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
41666 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
41669 * libio/Makefile (tests): New test case tst-fseek.
41670 * libio/tst-fseek.c: New test case to verify that fseek/ftell
41671 combination works in wide mode.
41672 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
41673 state when the external buffer state changes.
41675 2012-09-27 David S. Miller <davem@davemloft.net>
41678 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
41679 pass reloc->r_addend in as the 'high' argument to
41680 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
41682 * sysdeps/sparc/fpu/libm-test-ulps: Update.
41684 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
41686 * rt/tst-aio2.c: Include <pthread.h>.
41687 * rt/tst-aio3.c: Likewise.
41689 2012-09-27 Steve Ellcey <sellcey@mips.com>
41691 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
41693 2012-09-27 H.J. Lu <hongjiu.lu@intel.com>
41695 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
41696 contents on [SHARED].
41698 2012-09-26 Marek Polacek <polacek@redhat.com>
41702 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
41703 for C++ and GCC <4.3 as well as for non GCC compilers.
41705 2012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
41707 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
41709 2012-09-25 Roland McGrath <roland@hack.frob.com>
41711 * Makefile.in (all, install): Declare with .PHONY.
41712 Reported by Michael Hope <michael.hope@linaro.org>.
41714 2012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
41716 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
41717 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
41719 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
41721 (sydep_routines): Add the new and the internal functions.
41722 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
41723 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
41724 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
41725 (GLIBC_2.17): Add the new function.
41726 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
41727 (GLIBC_2.17): Likewise.
41728 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
41729 (GLIBC_2.17): Likewise.
41730 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
41731 (GLIBC_2.17): Likewise.
41732 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
41734 2012-09-25 Alan Modra <amodra@gmail.com>
41736 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
41737 Add release barrier before setting once_control to say
41738 initialisation is done. Add hints on lwarx. Use macro in
41740 (clear_once_control): Add release barrier.
41742 2012-09-25 Joseph Myers <joseph@codesourcery.com>
41745 * math/s_clog.c (__clog): Handle more values close to |z| = 1
41747 * math/s_clog10.c (__clog10): Likewise.
41748 * math/s_clog10f.c (__clog10f): Likewise.
41749 * math/s_clog10l.c (__clog10l): Likewise.
41750 * math/s_clogf.c (__clogf): Likewise.
41751 * math/s_clogl.c (__clogl): Likewise.
41752 * math/Makefile (libm-calls): Add x2y2m1.
41753 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
41754 (__x2y2m1): Likewise.
41755 (__x2y2m1l): Likewise.
41756 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
41757 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
41758 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
41759 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
41760 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
41761 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
41762 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
41763 * sysdeps/i386/fpu/libm-test-ulps: Update.
41764 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41767 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
41768 int as type of variable DEPTH.
41769 (glob): Use size_t instead of int as type of variables NEWCOUNT
41772 2012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
41774 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
41775 Add s_sincosf-sse2.
41776 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
41777 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
41778 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
41779 macros for using routine as __sincosf_ia32.
41780 Use macro for function declaration and weak_alias.
41781 * sysdeps/i386/fpu/libm-test-ulps: Update.
41783 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
41784 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
41786 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
41787 subnormal argument.
41788 * math/s_cexpf.c (__cexpf): Likewise.
41789 * math/s_csinf.c (__csinf): Likewise.
41790 * math/s_csinhf.c (__csinhf): Likewise.
41791 * math/s_ctanf.c (__ctanf): Likewise.
41792 * math/s_ctanhf.c (__ctanhf): Likewise.
41793 * math/s_ccosh.c (__ccoshf): Likewise.
41794 * math/s_cexp.c (__cexpl): Likewise.
41795 * math/s_csin.c (__csin): Likewise.
41796 * math/s_csinh.c (__csinh): Likewise.
41797 * math/s_ctan.c (__ctan): Likewise.
41798 * math/s_ctanh.c (ctanh): Likewise.
41799 * math/s_ccoshl.c (__ccoshl): Likewise.
41800 * math/s_cexpl.c (__cexpl): Likewise.
41801 * math/s_csinl.c (__csinl): Likewise.
41802 * math/s_csinhl.c (__csinhl): Likewise.
41803 * math/s_ctanl.c (__ctanl): Likewise.
41804 * math/s_ctanhl.c (__ctanhl): Likewise.
41806 2012-09-25 Joseph Myers <joseph@codesourcery.com>
41808 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
41809 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
41810 (_IO_off_t): Define to __off_t, not _G_off_t.
41811 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
41812 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
41813 (_IO_wint_t): Define to wint_t, not _G_wint_t.
41814 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
41815 type of __dummy and __dummy2 fields.
41816 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
41817 (_G_ssize_t): Likewise.
41818 (_G_off_t): Likewise.
41819 (_G_pid_t): Likewise.
41820 (_G_uid_t): Likewise.
41821 (_G_wchar_t): Likewise.
41822 (_G_wint_t): Likewise.
41823 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
41824 (_G_ssize_t): Likewise.
41825 (_G_off_t): Likewise.
41826 (_G_pid_t): Likewise.
41827 (_G_uid_t): Likewise.
41828 (_G_wchar_t): Likewise.
41829 (_G_wint_t): Likewise.
41830 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
41831 (_G_ssize_t): Likewise.
41832 (_G_off_t): Likewise.
41833 (_G_pid_t): Likewise.
41834 (_G_uid_t): Likewise.
41835 (_G_wchar_t): Likewise.
41836 (_G_wint_t): Likewise.
41838 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
41840 * malloc/arena.c: Include malloc-sysdep.h.
41841 (shrink_heap): Use check_may_shrink_heap to decide if madvise
41842 is sufficient to shrink the heap or an unmap is needed.
41843 * sysdeps/generic/malloc-sysdep.h: New file. Define
41844 new function check_may_shrink_heap.
41845 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
41846 new function check_may_shrink_heap.
41848 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
41850 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
41853 2012-09-24 Dmitry V. Levin <ldv@altlinux.org>
41855 * catgets/test-gencat.sh: Add "set -e".
41856 * elf/tst-pathopt.sh: Likewise.
41857 * grp/tst_fgetgrent.sh: Likewise.
41858 * iconvdata/run-iconv-test.sh: Likewise.
41859 * intl/tst-gettext.sh: Likewise.
41860 * intl/tst-gettext2.sh: Likewise.
41861 * intl/tst-gettext4.sh: Likewise.
41862 * intl/tst-gettext6.sh: Likewise.
41863 * intl/tst-translit.sh: Likewise.
41864 * io/ftwtest-sh: Likewise.
41865 * libio/test-freopen.sh: Likewise.
41866 * malloc/tst-mtrace.sh: Likewise.
41867 * posix/globtest.sh: Likewise.
41868 * posix/tst-getconf.sh: Likewise.
41869 * posix/wordexp-tst.sh: Likewise.
41870 * stdio-common/tst-printf.sh: Likewise.
41871 * stdio-common/tst-unbputc.sh: Likewise.
41872 * stdlib/tst-fmtmsg.sh: Likewise.
41873 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
41874 * catgets/Makefile: Do not specify -e option when running
41875 testsuite shell scripts.
41876 * elf/Makefile: Likewise.
41877 * grp/Makefile: Likewise.
41878 * iconvdata/Makefile: Likewise.
41879 * intl/Makefile: Likewise.
41880 * io/Makefile: Likewise.
41881 * libio/Makefile: Likewise.
41882 * malloc/Makefile: Likewise.
41883 * posix/Makefile: Likewise.
41884 * stdio-common/Makefile: Likewise.
41885 * stdlib/Makefile: Likewise.
41886 * sysdeps/x86_64/Makefile: Likewise.
41888 * io/ftwtest-sh: Add copyright header.
41889 * posix/globtest.sh: Likewise.
41890 * posix/tst-getconf.sh: Likewise.
41891 * posix/wordexp-tst.sh: Likewise.
41892 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
41894 2012-09-24 H.J. Lu <hongjiu.lu@intel.com>
41897 * Makeconfig (+link): Defined as $(+link-static) if
41898 $(build-shared) isn't yes.
41899 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
41901 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
41903 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
41906 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
41907 new chunk size with MALLOC_ALIGN_MASK.
41909 2012-09-24 Joseph Myers <joseph@codesourcery.com>
41912 * stdio-common/printf_fphex.c: Include <stdbool.h> and
41914 (__printf_fphex): Determine rounding using get_rounding_mode and
41916 * stdio-common/tst-printf-round.c (struct hex_test): New
41918 (hex_tests): New variable.
41919 (test_hex_in_one_mode): New function.
41920 (do_test): Also run tests for hex float output.
41922 2012-09-21 Joseph Myers <joseph@codesourcery.com>
41924 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
41925 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
41926 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
41927 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
41928 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
41929 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
41930 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
41931 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
41933 2012-09-20 Joseph Myers <joseph@codesourcery.com>
41935 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
41936 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
41937 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
41938 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
41940 2012-09-19 Dmitry V. Levin <ldv@altlinux.org>
41943 * elf/rtld.c (dl_main): Limit the check for self loading to normal
41945 * elf/tst-rtld-load-self.sh: New test.
41946 * elf/Makefile: Run it.
41948 2012-09-18 Joseph Myers <joseph@codesourcery.com>
41950 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
41951 (tst-writev-ENV): Remove.
41952 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
41954 2012-09-17 Chris Metcalf <cmetcalf@tilera.com>
41956 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
41958 2012-09-17 Joseph Myers <joseph@codesourcery.com>
41960 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
41962 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
41964 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
41965 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
41966 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
41969 2012-09-14 H.J. Lu <hongjiu.lu@intel.com>
41972 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
41973 * config.make.in (have-cpp-asm-debuginfo): Removed.
41974 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
41975 * configure: Regenerated.
41977 2012-09-14 Joseph Myers <joseph@codesourcery.com>
41980 * stdio-common/printf_fp.c: Include <stdbool.h> and
41982 (___printf_fp): Determine rounding using get_rounding_mode and
41984 * stdio-common/tst-printf-round.c: New file.
41985 * stdio-common/Makefile (tests): Add tst-printf-round.
41986 (link-libm): New variable.
41987 ($(objpfx)tst-printf-round): Depend in $(link-libm).
41989 2012-09-13 H.J. Lu <hongjiu.lu@intel.com>
41992 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
41993 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
41995 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
41998 2012-09-13 Joseph Myers <joseph@codesourcery.com>
42000 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
42001 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
42002 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
42003 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
42005 2012-09-12 Joseph Myers <joseph@codesourcery.com>
42008 * include/rounding-mode.h: New file.
42009 * sysdeps/generic/get-rounding-mode.h: Likewise.
42010 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
42011 * stdlib/strtod_l.c: Include <rounding-mode.h>.
42012 (MAX_VALUE): New macro.
42013 (MIN_VALUE): Likewise.
42014 (overflow_value): New function.
42015 (underflow_value): Likewise.
42016 (round_and_return): Use overflow_value and underflow_value to
42017 determine return values in overflow and underflow cases. Use
42018 round_away to determine rounding depending on rounding mode.
42019 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
42020 determine return values in overflow and underflow cases.
42021 * stdlib/tst-strtod-round.c: Include <fenv.h>.
42022 (struct test_results): New structure.
42023 (struct test): Use struct test_results to store expected results
42024 for all rounding modes.
42025 (TEST): Include expected results for all rounding modes.
42026 (test_in_one_mode): New function.
42027 (do_test): Use test_in_one_mode to compute and check results.
42028 Check results for all rounding modes.
42029 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
42032 2012-12-09 Allan McRae <allan@archlinux.org>
42034 * sysdeps/i386/fpu/libm-test-ulps: Update
42036 2012-09-11 Joseph Myers <joseph@codesourcery.com>
42038 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
42039 (_G_int32_t): Likewise.
42040 (_G_uint16_t): Likewise.
42041 (_G_uint32_t): Likewise.
42042 (_G_HAVE_BOOL): Likewise.
42043 (_G_HAVE_ATEXIT): Likewise.
42044 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
42045 (_G_HAVE_IO_FILE_OPEN): Likewise.
42046 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
42047 (_G_int32_t): Likewise.
42048 (_G_uint16_t): Likewise.
42049 (_G_uint32_t): Likewise.
42050 (_G_HAVE_BOOL): Likewise.
42051 (_G_HAVE_ATEXIT): Likewise.
42052 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
42053 (_G_HAVE_IO_FILE_OPEN): Likewise.
42054 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
42055 (_G_int32_t): Likewise.
42056 (_G_uint16_t): Likewise.
42057 (_G_uint32_t): Likewise.
42058 (_G_HAVE_BOOL): Likewise.
42059 (_G_HAVE_ATEXIT): Likewise.
42060 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
42061 (_G_HAVE_IO_FILE_OPEN): Likewise.
42063 2012-09-11 H.J. Lu <hongjiu.lu@intel.com>
42065 * csu/libc-tls.c: Update copyright years.
42067 2012-09-10 Joseph Myers <joseph@codesourcery.com>
42069 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
42070 [!_G_USING_THUNKS]: Remove conditional code.
42071 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
42072 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
42074 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
42075 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
42076 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
42077 (_G_VTABLE_LABEL_PREFIX): Likewise.
42078 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
42079 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
42080 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
42081 (_G_VTABLE_LABEL_PREFIX): Likewise.
42082 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
42083 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
42084 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
42085 (_G_VTABLE_LABEL_PREFIX): Likewise.
42086 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
42088 2012-09-10 H.J. Lu <hongjiu.lu@intel.com>
42090 * libio/Makefile: Include ../Makeconfig before tests.
42091 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
42092 only if $(build-shared) is yes.
42094 * iconv/gconv_db.c: Update copyright years.
42096 2012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
42098 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
42099 unwind info if defined PIC. Fix special cases description.
42100 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
42102 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
42104 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
42106 2012-09-07 H.J. Lu <hongjiu.lu@intel.com>
42108 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
42110 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
42113 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
42114 (LDLIBS-tst-chk4): This.
42115 (LDFLAGS-tst-chk5): Renamed to ...
42116 (LDLIBS-tst-chk5): This.
42117 (LDFLAGS-tst-chk6): Renamed to ...
42118 (LDLIBS-tst-chk6): This.
42119 (LDFLAGS-tst-lfschk4): Renamed to ...
42120 (LDLIBS-tst-lfschk4): This.
42121 (LDFLAGS-tst-lfschk5): Renamed to ...
42122 (LDLIBS-tst-lfschk5): This.
42123 (LDFLAGS-tst-lfschk6): Renamed to ...
42124 (LDLIBS-tst-lfschk6): This.
42126 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
42127 on $(common-objpfx)soversions.mk.
42129 2012-09-07 Joseph Myers <joseph@codesourcery.com>
42132 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
42135 2012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
42137 * malloc/arena.c (arena_get_retry): New function that gets
42138 another arena for the caller to try its request on.
42139 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
42140 current arena cannot fulfill the request.
42141 (__libc_memalign): Likewise.
42142 (__libc_memalign): Likewise.
42143 (__libc_pvalloc): Likewise.
42144 (__libc_calloc): Likewise.
42146 2012-09-05 John Tobey <john.tobey@gmail.com>
42149 * manual/arith.texi (Operations on Complex): Fix description
42150 of carg branch cut.
42152 2012-09-06 Joseph Myers <joseph@codesourcery.com>
42155 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
42159 * manual/memory.texi (Memory): Make order of menu items match
42162 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
42164 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
42165 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
42166 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
42168 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
42170 * csu/libc-tls.c (static_dtv): Renamed to ...
42171 (_dl_static_dtv): This. Make it global.
42172 (_dl_initial_dtv): Removed.
42173 (__libc_setup_tls): Updated.
42174 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
42175 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
42178 2012-09-06 Petr Machata <pmachata@redhat.com>
42180 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
42181 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
42182 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
42183 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
42185 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
42188 * csu/libc-tls.c (_dl_initial_dtv): New variable.
42189 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
42192 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
42195 * Makeconfig (link-static-before-libc): Replace $(+prector)
42197 (link-static-after-libc): Replace $(+postctor) with
42199 (link-bounded): Replace $(+prector)/$(+postctor) with
42200 $(+prectorT)/$(+postctorT).
42201 (+prectorT): New macro.
42202 (+postctorT): Likewise.
42204 2012-09-06 Joseph Myers <joseph@codesourcery.com>
42206 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
42207 (round_str): Handle values above the maximum for IBM long double
42209 * stdlib/tst-strtod-round.c (tests): Regenerated.
42211 2012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
42213 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
42215 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
42216 zarch_nohighgprs around the zarch optimized routines.
42217 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
42218 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
42219 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
42222 2012-09-05 David S. Miller <davem@davemloft.net>
42224 * sysdeps/sparc/fpu/libm-test-ulps: Update.
42226 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
42227 (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
42228 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
42229 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
42232 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
42234 * malloc/arena.c: Fold copyright years.
42235 * malloc/mcheck.c, malloc/memusage.c: Likewise.
42237 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
42239 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
42241 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
42243 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
42245 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
42247 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
42248 change internal state upon failure.
42250 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
42252 * malloc/mcheck.c (mcheck_check_all): Fix typo.
42253 * malloc/memusage.c (mmap): Likewise.
42254 (mmap64, mremap): Likewise. Adjust name in comment.
42256 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
42258 * libio/fileops.c: Fix typos in comments.
42259 * libio/oldfileops.c: Likewise.
42260 * libio/wfileops.c: Likewise.
42262 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
42265 * malloc/Makefile (tests): Add tst-malloc-usable test case.
42266 (tst-malloc-usable-ENV): Set environment for test case.
42267 * malloc/hooks.c (malloc_check_get_size): New function to get
42269 * malloc/malloc.c (musable): Use malloc_check_get_size.
42270 * malloc/tst-malloc-usable.c: New test case.
42272 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
42274 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
42276 2012-09-05 Allan McRae <allan@archlinux.org>
42279 * configure.in (CXX_SYSINCLUDES): Use compiler output to
42280 determine header location.
42281 * configure: Regenerated.
42283 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
42285 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
42287 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
42288 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
42290 (test): Regenerate.
42292 2012-09-04 David S. Miller <davem@davemloft.net>
42294 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
42295 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
42296 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
42298 2012-09-04 Florian Weimer <fweimer@redhat.com>
42300 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
42303 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
42305 2012-09-04 Joseph Myers <joseph@codesourcery.com>
42308 * libio/iogetdelim.c: Include <limits.h>.
42309 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
42310 + len + 1 would overflow.
42312 2012-09-03 Andreas Jaeger <aj@suse.de>
42314 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
42315 * sysdeps/i386/fpu/libm-test-ulps: Update.
42317 2012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
42319 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
42320 Add s_sinf-sse2, s_conf-sse2.
42322 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
42323 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
42324 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
42325 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
42327 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
42328 for using routine as __sinf_ia32.
42329 Use macro for function declaration and weak_alias.
42330 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
42331 for using routine as __cosf_ia32.
42332 Use macro for function declaration and weak_alias.
42334 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
42335 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
42337 * sysdeps/x86_64/fpu/s_sinf.S: New file.
42338 * sysdeps/x86_64/fpu/s_cosf.S: New file.
42339 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
42341 * math/libm-test.inc (cos_test): Add more test cases.
42342 (sin_test): Likewise.
42343 (sincos_test): Likewise.
42345 2012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
42347 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
42348 (IFUNC_RESOLVE): Make pointers to the specialized implementations
42350 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
42352 2012-09-02 H.J. Lu <hongjiu.lu@intel.com>
42355 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
42356 first element of the GOT.
42357 (elf_machine_load_address): Return the difference between
42358 the runtime address of _DYNAMIC and elf_machine_dynamic ().
42360 2012-09-01 Allan McRae <allan@archlinux.org>
42363 * configure.in (AWK): Require gawk version 3.0 or later.
42364 * configure: Regenerated.
42366 2012-09-01 Joseph Myers <joseph@codesourcery.com>
42368 * sysdeps/unix/sysv/linux/kernel-features.h
42369 (__ASSUME_POSIX_CPU_TIMERS): Remove.
42370 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
42371 [__NR_clock_getres]: Make code unconditional.
42372 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
42373 (clock_getcpuclockid): Remove code left unreachable by removal of
42375 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
42376 code unconditional.
42377 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
42378 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
42379 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
42380 Make code unconditional.
42381 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
42382 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
42383 * sysdeps/unix/sysv/linux/clock_settime.c
42384 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
42386 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
42387 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
42389 2012-08-29 H.J. Lu <hongjiu.lu@intel.com>
42392 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
42393 scripts/test-installation.pl.
42395 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
42396 and $ld_so_version if it is set.
42398 2012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
42401 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
42402 failure if reading from procfs failed.
42403 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
42405 2012-08-27 Joseph Myers <joseph@codesourcery.com>
42407 * sysdeps/unix/sysv/linux/kernel-features.h
42408 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
42409 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
42410 Remove conditional code.
42411 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
42412 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
42413 Remove conditional code.
42414 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
42415 * sysdeps/unix/sysv/linux/i386/fxstat.c
42416 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
42417 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
42418 * sysdeps/unix/sysv/linux/i386/fxstatat.c
42419 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
42420 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
42421 * sysdeps/unix/sysv/linux/i386/lxstat.c
42422 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
42423 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
42424 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
42425 Remove conditional code.
42426 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
42427 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
42428 Remove conditional code.
42429 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
42430 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
42431 <kernel-features.h>.
42432 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
42434 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
42435 Remove conditional code.
42436 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
42437 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
42438 Remove conditional.
42440 2012-08-27 Mike Frysinger <vapier@gentoo.org>
42443 * NEWS: Add fixed bug number.
42445 2012-08-27 Joseph Myers <joseph@codesourcery.com>
42448 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
42449 underflowing exponent in case of negative sign.
42450 * stdlib/tst-strtod-round-data: Add more tests.
42451 * stdlib/tst-strtod-round.c (tests): Regenerated.
42454 * stdlib/strtod_l.c (NDIG): Remove.
42455 (HEXNDIG): Likewise.
42456 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
42457 smallest representable value.
42458 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
42459 lie within an exact representation of 1/2 ulp of the result.
42460 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
42462 (TENS_P9_IDX): Define unconditionally.
42463 (TENS_P9_SIZE): Likewise.
42464 (TENS_P10_IDX): Likewise.
42465 (TENS_P10_SIZE): Likewise.
42466 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
42467 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
42468 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
42469 entries for 10^2^13 and 10^2^14.
42470 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
42471 (TENS_P13_IDX): Define.
42472 (TENS_P13_SIZE): Likewise.
42473 (TENS_P14_IDX): Likewise.
42474 (TENS_P14_SIZE): Likewise.
42475 (_fpioconst_pow10): Change array size to
42476 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
42478 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
42479 1024]: Add entries for 10^2^13 and 10^2^14.
42480 [LAST_POW10 > _LAST_POW10]: Remove #error.
42481 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
42482 (_fpioconst_pow10): Change array size to
42483 FPIOCONST_POW10_ARRAY_SIZE.
42484 * stdlib/gen-fpioconst.c: New file.
42485 * stdlib/gen-tst-strtod-round.c: Likewise.
42486 * stdlib/tst-strtod-round-data: Likewise.
42487 * stdlib/tst-strtod-round.c: Likewise.
42488 * stdlib/Makefile (tests): Add tst-strtod-round.
42491 * stdlib/strtod_l.c: Include <stdint.h>.
42492 (NDEBUG): Do not define.
42493 (round_and_return): Change EXPONENT parameter to type intmax_t.
42494 Rearrange calculations to avoid internal overflow possibilities.
42495 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
42496 Rearrange calculations to avoid internal overflow possibilities.
42497 Assert that number fits inside MPNSIZE limbs.
42498 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
42499 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
42500 calculations and add assertions to avoid internal overflow
42501 possibilities. Add casts to avoid signed/unsigned operations.
42502 * stdlib/tst-strtod-overflow.c: New file.
42503 * stdlib/Makefile (tests): Add tst-strtod-overflow.
42505 2012-08-25 Marek Polacek <polacek@redhat.com>
42507 * time/time.h: Fix some typos in comments.
42509 2012-08-23 Roland McGrath <roland@hack.frob.com>
42511 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
42512 * posix/tst-rfc3484-2.c: Likewise.
42513 * posix/tst-rfc3484-3.c: Likewise.
42515 2012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
42517 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
42518 (EF_ARM_ABI_FLOAT_HARD): Likewise.
42520 2012-08-23 Joseph Myers <joseph@codesourcery.com>
42522 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
42523 #include of fxstatat64.c.
42525 2012-08-22 Roland McGrath <roland@hack.frob.com>
42527 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
42528 * shadow/getspent_r.c: Likewise.
42529 * shadow/getspnam.c: Likewise.
42530 * shadow/getspnam_r.c: Likewise.
42531 * gshadow/getsgent.c: Likewise.
42532 * gshadow/getsgent_r.c: Likewise.
42533 * gshadow/getsgnam.c: Likewise.
42534 * gshadow/getsgnam_r.c: Likewise.
42535 * inet/getnetbyad.c: Likewise.
42536 * inet/getnetbyad_r.c: Likewise.
42537 * inet/getnetbynm.c: Likewise.
42538 * inet/getnetbynm_r.c: Likewise.
42539 * inet/getnetent.c: Likewise.
42540 * inet/getnetent_r.c: Likewise.
42541 * inet/getproto.c: Likewise.
42542 * inet/getproto_r.c: Likewise.
42543 * inet/getprtent.c: Likewise.
42544 * inet/getprtent_r.c: Likewise.
42545 * inet/getprtname.c: Likewise.
42546 * inet/getprtname_r.c: Likewise.
42547 * inet/getrpcbyname.c: Likewise.
42548 * inet/getrpcbyname_r.c: Likewise.
42549 * inet/getrpcbynumber.c: Likewise.
42550 * inet/getrpcbynumber_r.c: Likewise.
42551 * inet/getrpcent.c: Likewise.
42552 * inet/getrpcent_r.c: Likewise.
42553 * inet/getaliasent.c: Likewise.
42554 * inet/getaliasent_r.c: Likewise.
42555 * inet/getaliasname.c: Likewise.
42556 * inet/getaliasname_r.c: Likewise.
42557 * nscd/getgrgid_r.c: Likewise.
42558 * nscd/getgrnam_r.c: Likewise.
42559 * nscd/gethstbyad_r.c: Likewise.
42560 * nscd/gethstbynm3_r.c: Likewise.
42561 * nscd/getpwnam_r.c: Likewise.
42562 * nscd/getpwuid_r.c: Likewise.
42563 * nscd/getsrvbynm_r.c: Likewise.
42564 * nscd/getsrvbypt_r.c: Likewise.
42565 * nscd/gai.c: Likewise.
42567 * configure.in (build_nscd): New substituted variable, set
42568 by --disable-build-nscd and defaults to $use_nscd.
42569 * configure: Regenerated.
42570 * config.make.in (build-nscd): New substituted variable.
42571 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
42572 Change conditional to require [$(build-nscd) = yes] as well.
42573 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
42576 * configure.in (use_nscd): New substituted variable, set by
42577 --disable-nscd. If enabled, define USE_NSCD.
42578 * configure: Regenerated.
42579 * config.h.in: Add USE_NSCD.
42580 * config.make.in (use-nscd): New substituted variable.
42581 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
42582 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
42583 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
42584 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
42585 (CFLAGS-getgrnam_r.c): Likewise.
42586 (CFLAGS-initgroups.c): Likewise.
42587 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
42588 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
42590 * inet/getnetgrent_r.c
42591 (nscd_setnetgrent): New function, broken out of ...
42592 (setnetgrent): ... here. Call it.
42593 (innetgr): Conditionalize nscd bits on [USE_NSCD].
42594 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
42595 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
42596 * nscd/Makefile (routines, aux): Move definitions after include of
42597 Makeconfig. Conditionalize on [$(use-nscd) != no].
42598 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
42599 Conditionalize on [USE_NSCD].
42600 (is_nscd, nscd_init_cb): Likewise.
42601 (nss_load_library): Conditionalize init callback on [USE_NSCD].
42602 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
42603 * nss/nss_db/db-init.c: Likewise.
42604 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
42606 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
42607 (make_request): Use it.
42608 (cache_valid_p): New function.
42609 (__check_pf): Use it.
42610 * NEWS: Add item for --disable-nscd.
42612 2012-08-22 Dmitry V. Levin <ldv@altlinux.org>
42614 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
42615 to support sed >= 4.2.1-20-ga9bf076.
42616 * configure: Regenerated.
42618 2012-08-22 Roland McGrath <roland@hack.frob.com>
42620 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
42621 Conditionalize whole body on [IREL].
42623 2012-08-22 Jeff Law <law@redhat.com>
42626 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
42627 if the family is PF_UNSPEC.
42629 2012-08-22 Mike Frysinger <vapier@gentoo.org>
42631 * Makerules (lib-version): Rename from V.
42632 (install-lib-nosubdir): Change V to lib-version.
42634 2012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
42637 * powerpc32/power6/wcschr.c: New file.
42638 * powerpc32/power6/wcscpy.c: New file.
42639 * powerpc32/power6/wcsrchr.c: New file.
42640 * powerpc64/power6/wcschr.c: New file.
42641 * powerpc64/power6/wcscpy.c: New file.
42642 * powerpc64/power6/wcsrchr.c: New file.
42644 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
42646 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
42647 (two_way_short_needle): Use it.
42648 * string/strstr.c (AVAILABLE1_USES_J): Define.
42649 * string/strcasestr.c: Likewise.
42651 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
42653 * string/strcasestr.c (TOLOWER): Make side-effect safe.
42656 * NEWS: Add an entry.
42657 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
42658 define their defaults.
42659 (two_way_short_needle): Detect end-of-string on-the-fly.
42660 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
42661 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
42662 * string/bug-strcasestr1.c: New test.
42663 * string/Makefile: Run it.
42665 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
42668 * string/str-two-way.h (two_way_short_needle): Optimize matching of
42669 the first character.
42671 2012-08-21 Roland McGrath <roland@hack.frob.com>
42673 * csu/elf-init.c (__libc_csu_irel): Function removed.
42674 * csu/libc-start.c (apply_irel): New function.
42675 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
42677 2012-08-21 Joseph Myers <joseph@codesourcery.com>
42679 * sysdeps/unix/sysv/linux/kernel-features.h
42680 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
42681 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
42682 <kernel-features.h>.
42683 [__NR_fadvise64_64]: Make code unconditional.
42684 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
42685 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
42686 !__NR_fadvise64_64)]: Likewise.
42687 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
42688 !__NR_fadvise64_64))]: Likewise.
42689 [__NR_fadvise64]: Make code unconditional.
42690 [!__NR_fadvise64]: Remove conditional code.
42691 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
42692 <kernel-features.h>.
42693 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
42695 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
42697 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
42698 not include <kernel-features.h>.
42699 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
42701 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
42703 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
42704 include <kernel-features.h>.
42705 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
42707 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
42710 2012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
42712 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
42713 slight instruction rearrangements per scrollpipe analysis.
42714 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
42716 2012-08-20 Roland McGrath <roland@hack.frob.com>
42718 * manual/syslog.texi (syslog; vsyslog, closelog):
42719 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
42720 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
42722 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
42723 DSOCAPS to match condition on defining it.
42725 2012-08-20 Joseph Myers <joseph@codesourcery.com>
42727 * sysdeps/unix/sysv/linux/kernel-features.h
42728 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
42729 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
42730 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
42731 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
42732 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
42733 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
42734 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
42735 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
42736 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
42737 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
42739 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
42740 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
42742 * sysdeps/unix/sysv/linux/kernel-features.h
42743 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
42744 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
42746 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
42747 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
42748 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
42749 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
42750 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
42751 Make code unconditional.
42752 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
42753 (__mmap64) [!__NR_mmap2]: Likewise.
42754 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
42755 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
42756 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
42757 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
42758 [__NR_mmap2]: Make code unconditional.
42759 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
42760 (__mmap64) [!__NR_mmap2]: Likewise.
42762 2012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
42764 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
42766 2012-08-18 Andreas Jaeger <aj@suse.de>
42768 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
42770 2012-08-18 Mike Frysinger <vapier@gentoo.org>
42772 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
42773 * include/unistd.h (__have_sock_cloexec): Likewise.
42774 (__have_pipe2): Likewise.
42775 (__have_dup3): Likewise.
42777 2012-08-18 Mike Frysinger <vapier@gentoo.org>
42780 * include/unistd.h (__have_pipe2): Change define into an extern int.
42781 (__have_dup3): Likewise.
42782 * socket/have_sock_cloexec.c: Include fcntl.h.
42783 (__have_pipe2): New variable.
42784 (__have_dup3): Likewise.
42786 2012-08-17 Mike Frysinger <vapier@gentoo.org>
42788 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
42790 2012-08-17 Marek Polacek <polacek@redhat.com>
42792 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
42793 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
42795 2012-08-17 Roland McGrath <roland@hack.frob.com>
42797 * configure.in: Add AC_SUBST for sysheaders.
42798 * configure: Regenerated.
42799 * config.make.in (sysheaders): New substituted variable.
42801 * sysdeps/unix/mkfifo.c: Moved ...
42802 * sysdeps/posix/mkfifo.c: ... here.
42803 * sysdeps/unix/mkfifoat.c: Moved ...
42804 * sysdeps/posix/mkfifoat.c: ... here.
42806 * sysdeps/unix/utime.c: Moved ...
42807 * sysdeps/posix/utime.c: ... here.
42809 * sysdeps/unix/time.c: Moved ...
42810 * sysdeps/posix/time.c: ... here.
42811 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
42812 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
42814 * sysdeps/unix/nice.c: Moved ...
42815 * sysdeps/posix/nice.c: ... here.
42817 * sysdeps/unix/alarm.c: Moved ...
42818 * sysdeps/posix/alarm.c: ... here.
42820 * intl/Makefile ($(codeset_mo)): Depend on the input file.
42822 2012-08-17 Jeff Law <law@redhat.com>
42824 * intl/Makefile (codeset_mo): New variable.
42825 ($(codeset_mo)): New target.
42826 (tst-codeset.out): Depend on that. Remove explicit rule.
42827 (tst-gettext3.out, tst-gettext5.out): Likewise.
42828 (LOCPATH-ENV, tst-codeset-ENV): New variables.
42829 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
42830 * intl/tst-codeset.sh: Remove.
42831 * intl/tst-gettext3.sh: Likewise.
42832 * intl/tst-gettext5.sh: Likewise.
42834 2012-08-17 Roland McGrath <roland@hack.frob.com>
42836 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
42837 * sysdeps/unix/syscalls.list: ... here.
42839 * sysdeps/posix/getaddrinfo.c
42840 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
42841 (gaiconf_init, gaiconf_reload): Use them.
42842 [!_STATBUF_ST_NSEC]
42843 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
42844 Define using time_t rather than struct timespec.
42846 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
42847 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
42849 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
42851 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
42852 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
42855 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
42856 __libc_cleanup_push argument.
42858 * bits/param.h: New file.
42859 * misc/sys/param.h: New file.
42860 * include/sys/param.h: New file.
42861 * misc/Makefile (headers): Add bits/param.h.
42862 * sysdeps/generic/sys/param.h: File removed.
42863 * sysdeps/unix/sysv/linux/bits/param.h: New file.
42864 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
42865 * sysdeps/mach/hurd/bits/param.h: New file.
42866 * sysdeps/mach/hurd/sys/param.h: File removed.
42868 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
42871 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
42873 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
42874 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
42877 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
42878 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
42879 rather than -D_IO_MTSAFE_IO conditionally.
42880 * stdio-common/Makefile (CPPFLAGS): Likewise.
42881 * wcsmbs/Makefile (CPPFLAGS): Likewise.
42882 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
42883 Use $(libio-mtsafe).
42884 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
42885 of -D_IO_MTSAFE_IO.
42886 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
42887 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
42888 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
42889 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
42890 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
42891 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
42892 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
42893 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
42894 (CFLAGS-fread_u_chk.c): Likewise.
42895 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
42896 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
42897 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
42898 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
42899 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
42900 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
42901 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
42902 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
42903 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
42905 * libio/Makefile: Test [$(libc-reentrant) = yes]
42906 instead of [$(filter %REENTRANT, $(defines)) nonempty].
42909 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
42910 * sysdeps/pthread/configure: File removed.
42911 * sysdeps/pthread/Makeconfig: New file.
42912 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
42913 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
42915 2012-08-16 Gary Benson <gbenson@redhat.com>
42917 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
42918 unmapping the first object in a namespace.
42920 2012-08-16 Roland McGrath <roland@hack.frob.com>
42922 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
42923 (__internal_setnetgrent): ... this. Add internal_function to
42924 definition. Add libc_hidden_def.
42925 (setnetgrent): Update caller.
42926 (internal_endnetgrent): Renamed to ...
42927 (__internal_endnetgrent): ... this. Add internal_function to
42928 definition. Add libc_hidden_def.
42929 (endnetgrent): Update caller.
42930 (internal_getnetgrent_r): Renamed to ...
42931 (__internal_getnetgrent_r): ... this. Add internal_function to
42932 definition. Add libc_hidden_def.
42933 (__getnetgrent_r): Update caller.
42934 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
42936 2012-08-16 Joseph Myers <joseph@codesourcery.com>
42938 * stdlib/longlong.h: Update from GCC.
42940 2012-08-16 Roland McGrath <roland@hack.frob.com>
42942 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
42943 on _QL, which is set by umul_ppmm but never used.
42944 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
42945 variables, which are set by GMP macros but never used.
42946 * stdio-common/_itowa.c (_itowa): Likewise.
42947 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
42948 * stdlib/mod_1.c (mpn_mod_1): Likewise.
42950 2012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
42952 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
42953 struct La_sh_regs is not constant.
42954 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
42955 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
42956 and struct La_sparc64_regs are not constant.
42958 2012-08-16 Joseph Myers <joseph@codesourcery.com>
42960 * sysdeps/unix/sysv/linux/kernel-features.h
42961 (__ASSUME_POSIX_TIMERS): Remove.
42962 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
42963 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
42964 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
42965 Make code unconditional.
42966 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
42967 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
42968 Make code unconditional.
42969 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
42970 * sysdeps/unix/sysv/linux/clock_nanosleep.c
42971 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
42972 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
42973 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
42974 Make code unconditional.
42975 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
42976 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
42977 (__libc_missing_posix_timers): Remove.
42979 2012-08-15 Roland McGrath <roland@hack.frob.com>
42981 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
42982 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
42984 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
42986 * elf/dl-sym.c: Include <stdlib.h>.
42988 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
42989 constants, which avoids warnings in 32-bit builds.
42991 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
42992 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
42994 * misc/lseek.c: File moved to ...
42995 * io/lseek.c: ... here.
42997 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
42999 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
43000 shifting LEN more than 31 bits at once.
43002 2012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
43005 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
43006 segmentation fault for a case of two empty input strings.
43007 * string/test-strncasecmp.c (check1): Renamed to...
43008 (bz12205): ...this.
43009 (bz14195): Add new testcase for two empty input strings and N > 0.
43010 (test_main): Call new testcase, adapt for renamed function.
43012 2012-08-15 Andreas Jaeger <aj@suse.de>
43015 * crypt/md5test2.c: New test, based on test supplied by Serge
43016 Belyshev <belyshev@depni.sinp.msu.ru>.
43017 * crypt/Makefile (xtests): Add md5test-giant..
43018 * crypt/Makefile ($(objpfx)md5test-giant): Add.
43020 2012-08-15 Paul Eggert <eggert@cs.ucla.edu>
43023 * crypt/md5.c (md5_process_block): Don't assume the buffer
43024 length is less than 2**32.
43025 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
43026 length is less than 2**64.
43028 2012-08-15 Roland McGrath <roland@hack.frob.com>
43030 * string/str-two-way.h: Include <sys/param.h>.
43031 (MAX): Macro removed.
43033 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
43034 Move #define and #undef of memmove to just before and after
43035 including <string.h>.
43037 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
43038 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
43039 and after including <string.h>. Move declarations of
43040 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
43041 to before #include "string/memmove.c".
43043 * include/dirent.h: Declare __getdirentries.
43045 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
43046 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
43048 2012-08-14 Mike Frysinger <vapier@gentoo.org>
43050 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
43051 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
43052 * sysdeps/i386/configure: Regenerated.
43053 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
43054 STABS_CURRENT_FILE, and STABS_FUN.
43055 (END): Remove call to STABS_FUN_END.
43056 (STABS_CURRENT_FILE1): Delete.
43057 (STABS_CURRENT_FILE): Likewise.
43058 (STABS_FUN): Likewise.
43059 (STABS_FUN_END): Likewise.
43060 (STABS_FUN2): Likewise.
43061 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
43062 * sysdeps/x86_64/configure: Regenerated.
43064 2012-08-14 Roland McGrath <roland@hack.frob.com>
43066 * elf/dl-open.c: Include <atomic.h>.
43067 * elf/dl-lookup.c: Likewise.
43069 2012-08-14 Joseph Myers <joseph@codesourcery.com>
43071 * sysdeps/unix/sysv/linux/kernel-features.h
43072 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
43073 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
43075 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
43077 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
43078 condition on __ASSUME_CLONE_THREAD_FLAGS.
43080 2012-08-14 Andreas Jaeger <aj@suse.de>
43082 * sysdeps/i386/fpu/libm-test-ulps: Update.
43084 2012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
43086 * include/atomic.h (atomic_exchange_and_add): Split into ...
43087 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
43090 2012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
43092 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
43094 2012-08-13 Jeff Law <law@redhat.com>
43096 * manual/stdio.texi (snprintf): Clarify handling of the trailing
43097 null byte in the output string.
43099 2012-08-10 Joseph Myers <joseph@codesourcery.com>
43101 * sysdeps/unix/sysv/linux/kernel-features.h
43102 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
43103 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
43104 (__ASSUME_ARG_MAX_STACK_BASED): Define.
43105 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
43106 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
43107 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
43108 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
43110 2012-08-09 Jeff Law <law@redhat.com>
43113 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
43114 When avoid_arena is set, don't retry in the that arena. Pick the
43115 next one, whatever it might be.
43116 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
43117 (arena_lock): Pass in new parameter to arena_get2.
43118 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
43120 (__libc_malloc): Unify retrying after main arena failure with
43121 __libc_memalign version.
43122 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
43124 2012-08-09 H.J. Lu <hongjiu.lu@intel.com>
43127 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
43128 to __redirect_strstr.
43129 (__strstr_sse42): Use typeof __redirect_strstr.
43130 (__strstr_ia32): Likewise.
43131 (__libc_strstr): New prototype.
43132 (strstr): Renamed to ...
43133 (__libc_strstr): This.
43134 (strstr): New strong alias of __libc_strstr.
43135 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
43136 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
43139 (__libc_time): New prototype.
43140 (time_ifunc): Replace time with __libc_time.
43141 (time): New strong alias and hidden definition of __libc_time.
43142 (__GI_time): Remove strong alias.
43143 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
43144 Include <stddef.h>.
43145 (memmove): Redefined to __redirect_memmove.
43146 (__memmove_sse2): Use typeof __redirect_memmove.
43147 (__memmove_ssse3): Likewise.
43148 (__memmove_ssse3_back): Likewise.
43149 (__libc_memmove): New prototype.
43150 (memmove): Renamed to ...
43151 (__libc_memmove): This.
43152 (memmove): New strong alias of __libc_memmove.
43154 2012-08-08 Mark Salter <msalter@redhat.com>
43157 (R_MN10300_TLS_GD): Define.
43158 (R_MN10300_TLS_LD): Likewise.
43159 (R_MN10300_TLS_LDO): Likewise.
43160 (R_MN10300_TLS_GOTIE): Likewise.
43161 (R_MN10300_TLS_IE): Likewise.
43162 (R_MN10300_TLS_LE): Likewise.
43163 (R_MN10300_TLS_DTPMOD): Likewise.
43164 (R_MN10300_TLS_DTPOFF): Likewise.
43165 (R_MN10300_TLS_TPOFF): Likewise.
43166 (R_MN10300_SYM_DIFF): Likewise.
43167 (R_MN10300_ALIGN): Likewise.
43168 (R_MN10300_NUM): Update.
43170 2012-08-08 Joseph Myers <joseph@codesourcery.com>
43172 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
43175 2012-08-08 Roland McGrath <roland@hack.frob.com>
43177 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
43179 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
43180 sysdeps/unix -> sysdeps/posix move.
43181 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
43183 2012-08-07 Allan McRae <allan@archlinux.org>
43186 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
43187 (SUNOS_CPP): Likewise.
43188 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
43190 (open_input): Call CPP using execvp.
43192 2012-08-07 Joseph Myers <joseph@codesourcery.com>
43194 * sysdeps/unix/sysv/linux/kernel-features.h
43195 (__ASSUME_PROT_GROWSUPDOWN): Remove.
43196 (__ASSUME_NO_CLONE_DETACHED): Likewise.
43197 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
43198 (__ASSUME_WAITID_SYSCALL): Likewise.
43199 * sysdeps/unix/sysv/linux/dl-execstack.c
43200 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
43201 code unconditional.
43202 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
43204 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
43205 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
43206 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
43208 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
43210 [__ASSUME_WAITID_SYSCALL]: Likewise.
43211 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
43213 2012-08-07 Roland McGrath <roland@hack.frob.com>
43215 * sysdeps/unix/closedir.c: Renamed to ...
43216 * sysdeps/posix/closedir.c: ... here.
43217 * sysdeps/unix/dirfd.c: Renamed to ...
43218 * sysdeps/posix/dirfd.c: ... here.
43219 * sysdeps/unix/dirstream.h: Renamed to ...
43220 * sysdeps/posix/dirstream.h: ... here.
43221 * sysdeps/unix/fdopendir.c: Renamed to ...
43222 * sysdeps/posix/fdopendir.c: ... here.
43223 * sysdeps/unix/opendir.c: Renamed to ...
43224 * sysdeps/posix/opendir.c: ... here.
43225 * sysdeps/unix/readdir.c: Renamed to ...
43226 * sysdeps/posix/readdir.c: ... here.
43227 * sysdeps/unix/readdir_r.c: Renamed to ...
43228 * sysdeps/posix/readdir_r.c: ... here.
43229 * sysdeps/unix/rewinddir.c: Renamed to ...
43230 * sysdeps/posix/rewinddir.c: ... here.
43231 * sysdeps/unix/seekdir.c: Renamed to ...
43232 * sysdeps/posix/seekdir.c: ... here.
43233 * sysdeps/unix/telldir.c: Renamed to ...
43234 * sysdeps/posix/telldir.c: ... here.
43235 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
43236 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
43237 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
43238 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
43240 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
43241 * bits/fcntl.h: ... here.
43243 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
43245 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
43246 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
43247 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
43248 (struct flock): Move l_start, l_len to the beginning.
43249 Use __pid_t for l_pid.
43250 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
43251 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
43252 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
43253 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
43254 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
43255 [__USE_LARGEFILE64] (struct flock64): New type.
43256 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
43258 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
43259 * bits/dirent.h: ... here.
43261 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
43262 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
43264 2012-08-07 Joseph Myers <joseph@codesourcery.com>
43266 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
43267 Change from 2.6.0 to 2.6.16.
43268 * sysdeps/unix/sysv/linux/configure: Regenerated.
43269 * sysdeps/unix/sysv/linux/kernel-features.h
43270 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
43271 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
43273 (__ASSUME_UTIMES): Likewise.
43274 (__ASSUME_CLONE_STOPPED): Remove.
43275 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
43276 architectures, not kernel version.
43277 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
43278 (__ASSUME_NO_CLONE_DETACHED): Likewise.
43279 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
43280 (__ASSUME_WAITID_SYSCALL): Likewise.
43281 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
43282 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
43283 * README: State 2.6.16 as minimum Linux kernel version. Do not
43284 refer to older versions.
43286 2012-08-06 Roland McGrath <roland@hack.frob.com>
43288 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
43289 Define alphasort64 as an alias.
43290 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
43291 Define versionsort64 as an alias.
43292 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
43293 Define scandir64 as an alias.
43294 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
43295 Define scandirat64 as an alias.
43296 * dirent/alphasort64.c (alphasort64):
43297 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
43298 * dirent/versionsort64.c: Likewise.
43299 * dirent/scandir64.c: Likewise.
43300 * dirent/scandirat64.c: Likewise.
43301 * sysdeps/wordsize-64/alphasort.c: File removed.
43302 * sysdeps/wordsize-64/alphasort64.c: File removed.
43303 * sysdeps/wordsize-64/scandir.c: File removed.
43304 * sysdeps/wordsize-64/scandir64.c: File removed.
43305 * sysdeps/wordsize-64/scandirat.c: File removed.
43306 * sysdeps/wordsize-64/scandirat64.c: File removed.
43307 * sysdeps/wordsize-64/versionsort.c: File removed.
43308 * sysdeps/wordsize-64/versionsort64.c: File removed.
43309 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
43310 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
43311 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
43312 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
43313 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
43314 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
43315 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
43316 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
43318 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
43319 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
43320 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
43321 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
43322 [defined __arch64__ || defined __sparcv9]
43323 (__INO_T_MATCHES_INO64_T): New macro.
43324 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
43325 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
43326 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
43327 * sysdeps/unix/sysv/linux/bits/dirent.h
43328 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
43329 (_DIRENT_MATCHES_DIRENT64): New macro.
43331 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
43332 Define lockf64 as an alias.
43333 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
43334 Define fseeko64 as an alias.
43335 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
43336 Define ftello64 as an alias.
43337 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
43338 Define _IO_fgetpos64 and fgetpos64 as aliases.
43339 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
43340 Define _IO_fsetpos64 and fsetpos64 as aliases.
43341 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
43342 Conditionalize body on this.
43343 * libio/fseeko64.c: Likewise.
43344 * libio/ftello64.c: Likewise.
43345 * libio/iofgetpos64.c: Likewise.
43346 * libio/iofsetpos64.c: Likewise.
43347 * sysdeps/wordsize-64/lockf.c: File removed.
43348 * sysdeps/wordsize-64/lockf64.c: File removed.
43349 * sysdeps/wordsize-64/fseeko.c: File removed.
43350 * sysdeps/wordsize-64/fseeko64.c: File removed.
43351 * sysdeps/wordsize-64/ftello.c: File removed.
43352 * sysdeps/wordsize-64/ftello64.c: File removed.
43353 * sysdeps/wordsize-64/iofgetpos.c: File removed.
43354 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
43355 * sysdeps/wordsize-64/iofsetpos.c: File removed.
43356 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
43357 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
43358 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
43359 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
43360 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
43361 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
43362 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
43363 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
43364 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
43365 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
43366 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
43368 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
43369 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
43370 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
43371 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
43372 [defined __arch64__ || defined __sparcv9]
43373 (__OFF_T_MATCHES_OFF64_T): New macro.
43374 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
43375 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
43376 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
43377 (__OFF_T_MATCHES_OFF64_T): New macro.
43379 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
43381 * stdlib/secure-getenv.c (__secure_getenv): Replace
43382 GLIBC_2_16 with GLIBC_2_17.
43384 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
43386 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
43387 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
43389 2012-08-03 David S. Miller <davem@davemloft.net>
43391 * sysdeps/sparc/fpu/libm-test-ulps: Update.
43393 2012-08-03 Joseph Myers <joseph@codesourcery.com>
43395 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
43397 (__ASSUME_CORRECT_SI_PID): Likewise.
43398 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
43399 (__ASSUME_TMPFS_NAME): Likewise.
43400 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
43401 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
43402 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
43403 (HAVE_AUX_SECURE): Make definition unconditional.
43404 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
43405 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
43407 2012-08-03 Roland McGrath <roland@hack.frob.com>
43409 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
43410 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
43411 * sysdeps/mach/hurd/eloop-threshold.h: New file.
43412 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
43413 __eloop_threshold instead of SYMLOOP_MAX.
43415 * sysdeps/generic/eloop-threshold.h: New file.
43416 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
43418 * elf/chroot_canon.c (chroot_canon): Likewise.
43420 2012-08-03 Joseph Myers <joseph@codesourcery.com>
43423 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
43424 Change to 2.6.0 everywhere.
43425 * sysdeps/unix/sysv/linux/configure: Regenerated.
43426 * sysdeps/unix/sysv/linux/kernel-features.h
43427 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
43428 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
43430 (__ASSUME_POSIX_TIMERS): Define unconditionally.
43431 (__ASSUME_FUTEX_REQUEUE): Remove.
43432 (__ASSUME_STATFS64): Define unconditionally.
43433 (__ASSUME_AT_SECURE): Likewise.
43434 (__ASSUME_CORRECT_SI_PID): Likewise.
43435 (__ASSUME_TGKILL): Define without depending on kernel version for
43437 (__ASSUME_UTIMES): Likewise.
43438 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
43440 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
43441 (__ASSUME_TMPFS_NAME): Likewise.
43442 * README: Update reference to Linux kernel versions.
43444 2012-08-02 Marek Polacek <polacek@redhat.com>
43447 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
43448 libc_cv_asm_type_prefix with %.
43449 * configure: Regenerated.
43450 * include/libc-symbols.h: Remove comment about
43451 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
43452 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
43453 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
43454 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
43455 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
43456 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
43457 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
43458 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
43459 * elf/tst-unique2mod1.c: Likewise.
43460 * elf/tst-unique1mod2.c: Likewise.
43461 * elf/tst-unique1mod1.c: Likewise.
43462 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
43463 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
43464 Replace ASM_TYPE_DIRECTIVE with .type.
43465 * sysdeps/s390/s390-64/sysdep.h: Likewise.
43466 * sysdeps/i386/sysdep.h: Likewise.
43467 * sysdeps/x86_64/sysdep.h: Likewise.
43468 * sysdeps/sh/sysdep.h: Likewise.
43469 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
43470 Do not define ASM_TYPE_DIRECTIVE.
43471 * sysdeps/powerpc/sysdep.h: Likewise.
43472 * sysdeps/powerpc/powerpc32/sysdep.h:
43473 Replace ASM_TYPE_DIRECTIVE with .type.
43474 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
43475 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
43476 * sysdeps/i386/fpu/e_powf.S: Likewise.
43477 * sysdeps/i386/fpu/e_expl.S: Likewise.
43478 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
43479 * sysdeps/i386/fpu/e_acosh.S: Likewise.
43480 * sysdeps/i386/fpu/e_pow.S: Likewise.
43481 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
43482 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
43483 * sysdeps/i386/fpu/s_expm1.S: Likewise.
43484 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
43485 * sysdeps/i386/fpu/e_log2.S: Likewise.
43486 * sysdeps/i386/fpu/e_log2l.S: Likewise.
43487 * sysdeps/i386/fpu/e_scalb.S: Likewise.
43488 * sysdeps/i386/fpu/e_powl.S: Likewise.
43489 * sysdeps/i386/fpu/e_log10f.S: Likewise.
43490 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
43491 * sysdeps/i386/fpu/e_logl.S: Likewise.
43492 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
43493 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
43494 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
43495 * sysdeps/i386/fpu/e_log2f.S: Likewise.
43496 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
43497 * sysdeps/i386/fpu/e_log.S: Likewise.
43498 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
43499 * sysdeps/i386/fpu/e_logf.S: Likewise.
43500 * sysdeps/i386/fpu/e_log10l.S: Likewise.
43501 * sysdeps/i386/fpu/e_atanh.S: Likewise.
43502 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
43503 * sysdeps/i386/fpu/e_log10.S: Likewise.
43504 * sysdeps/i386/fpu/s_frexp.S: Likewise.
43505 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
43506 * sysdeps/i386/fpu/s_asinh.S: Likewise.
43507 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
43508 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
43509 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
43510 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
43511 * sysdeps/i386/i686/strtok.S: Likewise.
43512 * sysdeps/i386/i386-mcount.S: Likewise.
43513 * sysdeps/i386/strtok.S: Likewise.
43514 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
43515 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
43516 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
43517 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
43518 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
43519 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
43520 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
43521 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
43522 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
43523 * sysdeps/x86_64/_mcount.S: Likewise.
43524 * sysdeps/x86_64/strtok.S: Likewise.
43525 * sysdeps/sh/_mcount.S: Likewise.
43527 2012-08-01 Roland McGrath <roland@hack.frob.com>
43529 * libio/iofopen.c: Include <fcntl.h>.
43530 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
43531 (_IO_fopen64, fopen64): Define as aliases.
43532 * libio/iofopen64.c: Include <fcntl.h>.
43533 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
43534 Conditionalize body on this.
43535 * sysdeps/wordsize-64/iofopen.c: File removed.
43536 * sysdeps/wordsize-64/iofopen64.c: File removed.
43538 2012-08-01 Marek Polacek <polacek@redhat.com>
43540 * libc/Makeconfig: Use elf in place of binfmt-subdir.
43541 Use dlfcn directly instead of a variable.
43542 (binfmt-subdir): Do not define.
43545 2012-08-01 Joseph Myers <joseph@codesourcery.com>
43547 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
43548 Remove all definitions.
43549 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
43550 <kernel-features.h>.
43551 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
43552 (miss_F_GETOWN_EX): Remove all definitions.
43553 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
43555 [!__ASSUME_FCNTL64]: Remove conditional code.
43556 [__ASSUME_FCNTL64]: Make code unconditional.
43557 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
43558 <kernel-features.h>.
43559 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
43560 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
43561 (lockf64) [__NR_fcntl64]: Make code unconditional.
43562 (lockf64) [__ASSUME_FCNTL64]: Likewise.
43564 * sysdeps/unix/sysv/linux/kernel-features.h
43565 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
43566 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
43567 Make code unconditional.
43568 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
43569 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
43570 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
43571 [__NR_vfork]: Make code unconditional.
43572 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
43573 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
43574 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
43575 [__NR_vfork]: Make code unconditional.
43576 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
43577 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
43579 2012-08-01 Roland McGrath <roland@hack.frob.com>
43581 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
43582 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
43584 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
43585 Define mkstemp64 as an alias.
43586 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
43587 Define mkstemps64 as an alias.
43588 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
43589 Define mkostemp64 as an alias.
43590 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
43591 Define mkostemps64 as an alias.
43592 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
43593 Conditionalize body on this.
43594 * misc/mkostemp64.c: Likewise.
43595 * misc/mkostemps64.c: Likewise.
43596 * misc/mkstemps64.c: Likewise.
43597 * sysdeps/wordsize-64/mkstemp64.c: File removed.
43598 * sysdeps/wordsize-64/mkostemp64.c: File removed.
43599 * sysdeps/wordsize-64/mkostemp.c: File removed.
43600 * sysdeps/wordsize-64/mkstemp.c: File removed.
43601 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
43602 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
43603 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
43604 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
43607 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
43608 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
43609 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
43610 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
43612 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
43613 compat_symbol macros from <shlib-compat.h> rather than the underlying
43614 default_symbol_version and symbol_version macros, so that DEFAULT
43615 lines in shlib-versions are respected.
43616 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
43618 2012-08-01 Florian Weimer <fweimer@redhat.com>
43620 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
43621 Declare with warn_unused_result.
43622 (setgid, setregid, setegid, setresgid): Likewise.
43623 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
43625 * WUR-REPORT: Remove set*id functions.
43627 2012-07-31 Pino Toscano <toscano.pino@tiscali.it>
43629 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
43631 2012-07-31 Roland McGrath <roland@hack.frob.com>
43634 * include/sys/socket.h (__libc_accept, __libc_accept4):
43635 Add attribute_hidden.
43636 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
43638 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
43640 * inet/getnetgrent_r.c (setup): Likewise.
43642 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
43644 2012-07-31 David S. Miller <davem@davemloft.net>
43646 * sysdeps/sparc/fpu/libm-test-ulps: Update.
43648 2012-07-31 Joseph Myers <joseph@codesourcery.com>
43651 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
43652 value between 1.0 and 2.0 and smaller part has absolute value less
43654 * math/s_clog10.c (__clog10): Likewise.
43655 * math/s_clog10f.c (__clog10f): Likewise.
43656 * math/s_clog10l.c (__clog10l): Likewise.
43657 * math/s_clogf.c (__clogf): Likewise.
43658 * math/s_clogl.c (__clogl): Likewise.
43659 * math/libm-test.inc (clog_test): Add more tests.
43660 (clog10_test): Likewise.
43661 * sysdeps/i386/fpu/libm-test-ulps: Update.
43662 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43664 2012-07-31 Florian Weimer <fweimer@redhat.com>
43666 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
43667 Exit with zero in case no suitable GID is found, and write a
43668 message to standard error.
43670 2012-07-30 Roland McGrath <roland@hack.frob.com>
43672 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
43674 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
43675 (MAXPATHLEN): Removed.
43676 (NOGROUP, NODEV): New macros.
43677 (setbit, clrbit, isset, isclr): New macros.
43678 (howmany, roundup, powerof2): New macros.
43679 (DEV_BSIZE): New macro.
43681 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
43682 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
43684 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
43685 definition on [!__NO_LONG_DOUBLE_MATH].
43687 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
43688 PTR_MANGLE and PTR_DEMANGLE.
43690 * socket/accept4.c (accept4): Rename to __libc_accept4.
43691 Define accept4 as a weak alias.
43693 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
43694 on [_DIRENT_HAVE_D_TYPE].
43695 * io/ftw.c (ftw_dir): Likewise.
43697 * io/xmknod.c (__xmknod): Don't check PATH for being null.
43699 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
43701 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
43702 Use the BSD numbers rather than the arbitrary ones we had.
43703 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
43704 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
43705 (SIGXCPU, SIGXFSZ): New macros.
43708 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
43709 initializer on [_LIBC_REENTRANT].
43711 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
43712 definitions inside [_POSIX_MAPPED_FILES].
43714 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
43716 * dirent/opendir.c: Include <fcntl.h>.
43718 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
43719 (__libc_getspecific): Likewise.
43720 (__libc_key_create): Likewise.
43722 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
43723 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
43724 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
43725 (tmpfile64): Define as alias.
43726 * sysdeps/wordsize-64/tmpfile.c: File removed.
43727 * sysdeps/wordsize-64/tmpfile64.c: File removed.
43728 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
43729 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
43731 * stdio-common/vfscanf.c: Include <stdbool.h>.
43732 * nss/makedb.c: Likewise.
43733 * stdio-common/_i18n_number.h: Likewise.
43734 * argp/argp-help.c: Likewise.
43735 * posix/wordexp.c: Likewise.
43736 * sysdeps/posix/spawni.c: Likewise.
43737 * nss/nss_files/files-initgroups.c: Likewise.
43738 * stdio-common/reg-modifier.c: Include <stdlib.h>.
43739 * nss/nss_files/files-initgroups.c: Likewise.
43740 * nss/nss_db/db-netgrp.c: Likewise.
43741 * nss/nss_db/db-initgroups.c: Likewise.
43742 * io/fchmodat.c: Include <sys/stat.h>.
43744 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
43745 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
43747 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
43750 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
43751 Add multiple inclusion protection.
43753 2012-07-27 David S. Miller <davem@davemloft.net>
43755 * sysdeps/sparc/fpu/libm-test-ulps: Update.
43757 2012-07-27 Gary Benson <gbenson@redhat.com>
43760 * elf/rtld.c: Include <stap-probe.h>.
43761 (dl_main): Added static probes "init_start" and "init_complete".
43762 * elf/dl-load.c: Include <stap-probe.h>.
43763 (lose): Take new parameter "nsid".
43764 Added static probe "map_failed".
43765 (_dl_map_object_from_fd): Pass namespace id to lose.
43766 Added static probe "map_start".
43767 (open_verify): Pass namespace id to lose.
43768 * elf/dl-open.c: Include <stap-probe.h>.
43769 (dl_open_worker) Added static probes "map_complete", "reloc_start"
43770 and "reloc_complete".
43771 * elf/dl-close.c: Include <stap-probe.h>.
43772 (_dl_close_worker): Added static probes "unmap_start" and
43774 * elf/rtld-debugger-interface.txt: New file documenting the above.
43776 2012-07-26 Roland McGrath <roland@hack.frob.com>
43778 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
43779 rather than a string variable.
43780 * sunrpc/rpc_main.c (h_output): Likewise.
43781 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
43783 2012-07-26 Pino Toscano <toscano.pino@tiscali.it>
43785 * inet/check_native.c: New file.
43787 2012-07-26 Joseph Myers <joseph@codesourcery.com>
43790 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
43791 if larger part has absolute value 1.0.
43792 * math/s_clog10.c (__clog10): Likewise.
43793 * math/s_clog10f.c (__clog10f): Likewise.
43794 * math/s_clog10l.c (__clog10l): Likewise.
43795 * math/s_clogf.c (__clogf): Likewise.
43796 * math/s_clogl.c (__clogl): Likewise.
43797 * math/libm-test.inc (clog_test): Add more tests.
43798 (clog10_test): Likewise.
43799 * sysdeps/i386/fpu/libm-test-ulps: Update.
43800 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43802 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
43803 (pltexit): Likewise.
43804 (La_regs): Likewise.
43805 (La_retval): Likewise.
43806 (int_retval): Likewise.
43807 Update #error for removed macros to refer only to definitions in
43809 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
43811 (pltexit): Likewise.
43812 (La_regs): Likewise.
43813 (La_retval): Likewise.
43814 (int_retval): Likewise.
43815 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
43817 (pltexit): Likewise.
43818 (La_regs): Likewise.
43819 (La_retval): Likewise.
43820 (int_retval): Likewise.
43821 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
43823 (pltexit): Likewise.
43824 (La_regs): Likewise.
43825 (La_retval): Likewise.
43826 (int_retval): Likewise.
43827 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
43829 (pltexit): Likewise.
43830 (La_regs): Likewise.
43831 (La_retval): Likewise.
43832 (int_retval): Likewise.
43833 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
43835 (pltexit): Likewise.
43836 (La_regs): Likewise.
43837 (La_retval): Likewise.
43838 (int_retval): Likewise.
43839 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
43841 (pltexit): Likewise.
43842 (La_regs): Likewise.
43843 (La_retval): Likewise.
43844 (int_retval): Likewise.
43845 * sysdeps/generic/tst-audit.h: Update comment to refer only to
43846 macro definitions in tst-audit.h.
43847 * sysdeps/i386/tst-audit.h: New file.
43848 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
43849 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
43850 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
43851 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
43852 * sysdeps/sh/tst-audit.h: Likewise.
43853 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
43854 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
43855 * sysdeps/x86_64/tst-audit.h: Likewise.
43857 2012-07-26 Andreas Jaeger <aj@suse.de>
43859 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
43862 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
43863 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
43864 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
43866 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
43867 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
43868 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
43870 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
43873 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
43875 (si_call_addr, si_syscall, si_arch): Define new macro.
43876 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
43878 (si_call_addr, si_syscall, si_arch): Define new marcro.
43879 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
43881 (si_call_addr, si_syscall, si_arch): Define new macro.
43882 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
43884 (si_call_addr, si_syscall, si_arch): Define new macro.
43886 2012-07-25 Joseph Myers <joseph@codesourcery.com>
43889 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
43890 Change to 2.4.21 where previously 2.4.1.
43891 * sysdeps/unix/sysv/linux/configure: Regenerated.
43892 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
43893 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
43894 Linux kernel version.
43895 (__ASSUME_STD_AUXV): Remove.
43896 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
43898 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
43899 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
43900 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
43901 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
43902 (__ASSUME_NETLINK_SUPPORT): Likewise.
43903 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
43904 (__no_netlink_support): Remove conditional definition.
43905 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
43907 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
43908 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
43909 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
43910 (if_nameindex_ioctl): Remove.
43911 (if_nameindex_netlink): Do not handle __no_netlink_support.
43912 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
43914 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
43915 Remove conditional code.
43916 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
43918 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
43920 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
43921 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
43922 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
43924 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
43925 [!__ASSUME_STD_AUXV]: Remove conditional code.
43926 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
43927 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
43928 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
43929 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
43930 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
43931 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
43933 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
43934 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
43935 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
43936 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
43938 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
43939 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
43940 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
43942 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
43943 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
43945 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
43946 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
43947 code unconditional.
43948 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
43950 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
43952 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
43954 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
43955 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
43957 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
43959 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
43960 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
43961 code unconditional.
43962 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
43964 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
43966 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
43968 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
43969 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
43970 code unconditional.
43971 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
43973 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
43975 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
43978 2012-07-25 Andreas Schwab <schwab@linux-m68k.org>
43980 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
43981 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
43982 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
43983 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
43984 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
43985 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
43986 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
43987 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
43988 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
43989 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
43990 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
43991 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
43992 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
43993 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
43994 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
43995 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
43996 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
43997 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
43998 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
43999 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
44000 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
44001 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
44002 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
44004 2012-07-25 Florian Weimer <fweimer@redhat.com>
44006 * Versions.def: Add GLIBC_2.17.
44007 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
44008 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
44009 Introduce __libc_secure_getenv.
44010 * stdlib/Versions (2.17): Add secure_getenv
44011 (GLIBC_PRIVATE): Add __libc_secure_getenv.
44012 * stdlib/secure-getenv.c: Rename __secure_getenv to
44013 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
44014 symbol __secure_getenv for GLIBC_2.0.
44015 * stdlib/tst-secure-getenv.c: New.
44016 * stdlib/Makefile (tests): Add testcase.
44017 * manual/startup.texi (Environment Access): Document
44019 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
44020 __libc_secure_getenv.
44021 * inet/ruserpass.c (ruserpass): Likewise.
44022 * malloc/mtrace.c (mtrace): Likewise.
44023 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
44024 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
44025 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
44026 * sysdeps/posix/tempname.c: Likewise. Evaluate
44027 HAVE_SECURE_GETENV.
44028 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
44029 __secure_getenv to __libc_secure_getenv.
44030 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
44031 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
44033 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
44035 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
44036 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
44037 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
44038 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
44039 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
44040 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
44041 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
44043 2012-07-25 Joseph Myers <joseph@codesourcery.com>
44045 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
44046 (struct La_i86_retval): Likewise.
44047 (struct La_x86_64_regs): Likewise.
44048 (struct La_x86_64_retval): Likewise.
44049 (struct La_x32_regs): Likewise.
44050 (struct La_x32_retval): Likewise.
44051 (struct La_ppc32_regs): Likewise.
44052 (struct La_ppc32_retval): Likewise.
44053 (struct La_ppc64_regs): Likewise.
44054 (struct La_ppc64_retval): Likewise.
44055 (struct La_sh_regs): Likewise.
44056 (struct La_sh_retval): Likewise.
44057 (struct La_s390_32_regs): Likewise.
44058 (struct La_s390_32_retval): Likewise.
44059 (struct La_s390_64_regs): Likewise.
44060 (struct La_s390_64_retval): Likewise.
44061 (struct La_sparc32_regs): Likewise.
44062 (struct La_sparc32_retval): Likewise.
44063 (struct La_sparc64_regs): Likewise.
44064 (struct La_sparc64_retval): Likewise.
44065 (struct audit_ifaces): Remove architecture-specific pltenter and
44067 * sysdeps/i386/ldsodefs.h: New file.
44068 * sysdeps/powerpc/ldsodefs.h: Likewise.
44069 * sysdeps/s390/ldsodefs.h: Likewise.
44070 * sysdeps/sh/ldsodefs.h: Likewise.
44071 * sysdeps/sparc/ldsodefs.h: Likewise.
44072 * sysdeps/x86_64/ldsodefs.h: Likewise.
44074 2012-07-25 Marek Polacek <polacek@redhat.com>
44077 * math/libm-test.inc (yn_test): Add another test.
44078 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
44079 to ERANGE when the result is +-Inf.
44080 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
44081 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
44082 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
44083 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
44085 2012-07-24 Joseph Myers <joseph@codesourcery.com>
44087 * conform/data/time.h-data (NULL): Use macro-constant. Require
44089 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
44091 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
44093 2012-07-23 Thomas Schwinge <thomas@codesourcery.com>
44095 * configure.in <sysdeps resolving>: Correct printing
44097 * configure: Regenerate.
44099 2012-07-22 Thomas Schwinge <thomas@codesourcery.com>
44101 * math/w_ilogb.c: Include <limits.h>.
44102 * math/w_ilogbl.c: Likewise.
44104 2012-07-20 Joseph Myers <joseph@codesourcery.com>
44106 * manual/lang.texi (__va_copy): Document primarily as ISO C99
44107 va_copy. Document allowing for unavailable va_copy only as
44108 pre-C99 compatibility.
44109 * manual/string.texi (Copying and Concatenation): Use va_copy
44110 instead of __va_copy in concat example.
44112 2012-07-20 Pino Toscano <toscano.pino@tiscali.it>
44114 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
44115 (__sendto): Use create_address_port. Initialize APORT and deallocate
44118 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
44119 with O_NOLINK passed to __file_name_lookup.
44121 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
44122 with O_NOLINK passed to __file_name_lookup.
44124 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
44125 negative N or less than NGIDS.
44127 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
44128 type to string_t. Set ERANGE as errno and return it if NAME is not big
44129 enough. Use memcpy instead of strncpy.
44131 2012-07-20 Joseph Myers <joseph@codesourcery.com>
44133 * elf/Makefile (check-data): Remove.
44134 (localplt.data): New vpath directive.
44135 ($(objpfx)check-localplt.out): Use localplt.data from vpath
44136 instead of $(check-data).
44137 * scripts/data/localplt-generic.data: Move to ...
44138 * sysdeps/generic/localplt.data: ... here.
44139 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
44140 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
44141 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
44142 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
44144 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
44145 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
44147 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
44148 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
44150 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
44151 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
44153 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
44154 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
44156 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
44157 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
44160 2012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
44162 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
44163 PPC32 and PPC64 files.
44164 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
44165 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
44167 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
44169 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
44170 __makecontext_ret to ...
44171 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
44172 ... here and call exit if uc_link is NULL. New file.
44173 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
44174 __makecontext_ret.S.
44175 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
44176 __makecontext_ret to ...
44177 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
44178 ... here and call exit if uc_link is NULL. New file.
44179 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
44180 __makecontext_ret.S.
44182 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
44184 * elf/elf.h (R_390_IRELATIVE): New definition.
44185 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
44186 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
44187 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
44188 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
44189 (elf_machine_lazy_rel): Likewise.
44190 * sysdeps/s390/dl-irel.h: New file.
44191 * sysdeps/s390/s390-64/memcpy.S: New asm code.
44192 * sysdeps/s390/s390-64/memset.S: New asm code.
44193 * sysdeps/s390/s390-64/memcmp.S: New asm code.
44194 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
44195 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
44196 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
44197 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
44198 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
44199 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
44200 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
44201 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
44202 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
44203 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
44204 * sysdeps/s390/s390-32/memcpy.S: New asm code.
44205 * sysdeps/s390/s390-32/memset.S: New asm code.
44206 * sysdeps/s390/s390-32/memcmp.S: New asm code.
44208 2012-07-17 Marek Polacek <polacek@redhat.com>
44211 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
44212 * sysdeps/s390/s390-64/configure.in: Likewise.
44213 * sysdeps/sparc/configure.in: Likewise.
44214 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
44215 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
44216 * sysdeps/i386/configure.in: Likewise.
44217 * sysdeps/x86_64/configure.in: Likewise.
44218 * sysdeps/sh/configure.in: Likewise.
44219 * sysdeps/s390/s390-32/configure: Regenerated.
44220 * sysdeps/s390/s390-64/configure: Likewise.
44221 * sysdeps/x86_64/configure: Likewise.
44222 * sysdeps/sh/configure: Likewise.
44223 * sysdeps/powerpc/powerpc64/configure: Likewise.
44224 * sysdeps/powerpc/powerpc32/configure: Likewise.
44225 * sysdeps/sparc/configure: Likwise.
44226 * sysdeps/i386/configure: Likewise.
44228 * elf/dl-open.c: Comment fixes.
44230 2012-07-17 Joseph Myers <joseph@codesourcery.com>
44232 * Makefile [CXX] (check-data): Remove.
44233 [CXX] (c++-types.data): New vpath directive.
44234 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
44235 vpath. Do not allow for C++ type data being missing.
44236 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
44237 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
44238 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
44239 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
44240 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
44241 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
44242 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
44243 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
44245 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
44246 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
44248 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
44249 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
44251 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
44252 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
44254 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
44255 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
44257 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
44258 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
44260 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
44261 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
44263 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
44264 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
44266 * elf/tls-macros.h (TLS_LE): Move architecture-specific
44267 definitions to architecture-specific files.
44268 (TLS_IE): Likewise.
44269 (TLS_LD): Likewise.
44270 (TLS_GD): Likewise.
44271 * sysdeps/i386/tls-macros.h: New file.
44272 * sysdeps/powerpc/tls-macros.h: Likewise.
44273 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
44274 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
44275 * sysdeps/sh/tls-macros.h: Likewise.
44276 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
44277 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
44278 * sysdeps/x86_64/tls-macros.h: Likewise.
44280 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
44282 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
44283 zero value for regular exit case.
44285 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
44286 (__start_context): Preserve zero value for regular exit case.
44288 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
44289 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
44291 * manual/setjmp.texi (setcontext): Clarify normal process
44292 termination when uc_link is the null pointer.
44293 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
44296 2012-07-16 Andreas Schwab <schwab@linux-m68k.org>
44298 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
44299 preprocessor. Test for each exception mask separately.
44301 2012-07-16 Andreas Jaeger <aj@suse.de>
44303 * po/ru.po: Update from translation team.
44305 2012-07-15 Joseph Myers <joseph@codesourcery.com>
44307 * conform/data/string.h-data (NULL): Use macro-constant. Require
44309 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
44310 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
44311 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
44312 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
44313 [ISO || ISO99 || ISO11] (*_t): Do not allow.
44315 2012-07-13 Andreas Jaeger <aj@suse.de>
44317 * po/fr.po: Update from translation team.
44319 2012-07-12 Marek Polacek <polacek@redhat.com>
44322 * math/libm-test.inc (yn_test): Add test for BZ #14173.
44323 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
44326 2012-07-12 Joseph Myers <joseph@codesourcery.com>
44329 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
44330 Change to 2.4.1 where previously 2.4.0.
44331 * sysdeps/unix/sysv/linux/configure: Regenerated.
44332 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
44333 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
44335 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
44336 (__ASSUME_AT_CLKTCK): Remove.
44337 (__ASSUME_AT_PAGESIZE): Likewise.
44338 (__ASSUME_AT_XID): Likewise.
44339 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
44340 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
44341 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
44343 (HAVE_AUX_PAGESIZE): Likewise.
44344 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
44345 [__ASSUME_AT_CLKTCK]: Make code unconditional.
44346 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
44348 2012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
44351 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
44352 the temporary buffer used to invoke __gethostbyname2_r,
44353 __gethostbyaddr_r and gethostbyname4_r to make room for struct
44354 host_data / struct gaih_addrtuple.
44355 * resolv/nss_dns/dns-host.c (global scope): Move definition of
44356 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
44357 header file nss/nsswitch.h.
44358 * nss/nsswitch.h (global scope): Add definition of implementation
44359 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
44360 resolv/nss_dns/dns-host.c).
44362 2012-07-11 Andreas Jaeger <aj@suse.de>
44364 * po/fr.po: Update from translation team.
44366 * po/sv.po: Update from translation team
44367 * po/fr.po: Another update from translation team.
44369 2012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
44371 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
44372 for subnormals or multiply small sinh result by itself.
44373 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
44374 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
44376 2012-07-11 David S. Miller <davem@davemloft.net>
44378 * sysdeps/sparc/fpu/libm-test-ulps: Update.
44380 2012-07-10 Andreas Schwab <schwab@linux-m68k.org>
44383 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
44384 (INTERNAL_MARK): Shift it here.
44386 2012-07-10 Marek Polacek <polacek@redhat.com>
44389 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
44390 libc_cv_asm_global_directive with .globl.
44391 * configure: Regenerated.
44392 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
44394 * sysdeps/i386/configure: Regenerated.
44395 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
44397 * sysdeps/x86_64/configure: Regenerated.
44398 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
44399 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
44400 * elf/tst-unique2mod2.c: Likewise.
44401 * elf/tst-unique2mod1.c: Likewise.
44402 * elf/tst-unique1mod2.c: Likewise.
44403 * elf/tst-unique1mod1.c: Likewise.
44404 * sysdeps/s390/s390-32/sysdep.h: Likewise.
44405 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
44406 * sysdeps/s390/s390-64/sysdep.h: Likewise.
44407 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
44408 * sysdeps/mach/sysdep.h: Likewise.
44409 * sysdeps/i386/sysdep.h: Likewise.
44410 * sysdeps/i386/i386-mcount.S: Likewise.
44411 * sysdeps/x86_64/_mcount.S: Likewise.
44412 * sysdeps/x86_64/sysdep.h: Likewise.
44413 * sysdeps/sh/_mcount.S: Likewise.
44414 * sysdeps/sh/sysdep.h: Likewise.
44415 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
44416 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
44417 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
44418 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
44419 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
44420 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
44421 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
44422 * locale/localeinfo.h: Likewise.
44423 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
44424 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
44426 2012-07-09 Roland McGrath <roland@hack.frob.com>
44429 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
44431 * manual/message.texi (The Uniforum approach): Likewise.
44432 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
44433 (glibc iconv Implementation): Likewise.
44435 2012-07-09 Joseph Myers <joseph@codesourcery.com>
44438 * math/s_clog.c (__clog): Avoid scaling a value down where that
44439 could result in underflow.
44440 * math/s_clog10.c (__clog10): Likewise.
44441 * math/s_clog10f.c (__clog10f): Likewise.
44442 * math/s_clog10l.c (__clog10l): Likewise.
44443 * math/s_clogf.c (__clogf): Likewise.
44444 * math/s_clogl.c (__clogl): Likewise.
44445 * math/libm-test.inc (clog_test): Add more tests.
44446 (clog10_test): Likewise.
44447 * sysdeps/i386/fpu/libm-test-ulps: Update.
44448 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44450 2012-07-06 Andreas Schwab <schwab@linux-m68k.org>
44453 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
44454 by 7 not 8 to examine high bit of fractional part.
44457 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
44458 for call to __mcount_internal.
44459 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
44460 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
44461 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
44463 2012-07-06 Joseph Myers <joseph@codesourcery.com>
44466 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
44467 approximation for values within 0x1p-13f of an odd multiple of
44469 * math/libm-test.inc (tan_test): Do not allow spurious underflow
44470 exception. Add more tests.
44471 * sysdeps/i386/fpu/libm-test-ulps: Update.
44474 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
44475 inputs and return -1 for them. Do not check for +Inf in case not
44476 reachable for +Inf.
44477 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
44478 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
44479 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
44480 and return -1 for them. Do not check for +Inf in case not
44481 reachable for +Inf.
44482 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
44484 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
44485 and return -1 for them. Do not check for +Inf in case not
44486 reachable for +Inf.
44487 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
44488 spurious underflow.
44489 * sysdeps/i386/fpu/libm-test-ulps: Update.
44490 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44492 2012-07-06 Mike Frysinger <vapier@gentoo.org>
44494 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
44496 2012-07-05 Joseph Myers <joseph@codesourcery.com>
44500 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
44501 could result in spurious underflow. Scale down values above
44502 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
44503 * math/s_csqrtf.c (__csqrtf): Likewise.
44504 * math/s_csqrtl.c (__csqrtl): Likewise.
44505 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
44506 spurious underflow.
44507 * sysdeps/i386/fpu/libm-test-ulps: Update.
44508 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44510 2012-07-04 Andreas Schwab <schwab@linux-m68k.org>
44512 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
44514 * catgets/xopen-msg.awk: New file.
44515 * catgets/xopen-msg.sed: Removed.
44517 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
44519 * intl/po2test.awk: New file.
44520 * intl/po2test.sed: Removed.
44522 2012-07-04 Joseph Myers <joseph@codesourcery.com>
44525 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
44526 or multiply small sinh result by itself.
44527 * math/s_ctanf.c (__ctanf): Likewise.
44528 * math/s_ctanh.c (__ctanh): Likewise.
44529 * math/s_ctanhf.c (__ctanhf): Likewise.
44530 * math/s_ctanhl.c (__ctanhl): Likewise.
44531 * math/s_ctanl.c (__ctanl): Likewise.
44532 * math/libm-test.inc (ctan_test_tonearest): New function.
44533 (ctan_test_towardzero): Likewise.
44534 (ctan_test_downward): Likewise.
44535 (ctan_test_upward): Likewise.
44536 (ctanh_test_tonearest): Likewise.
44537 (ctanh_test_towardzero): Likewise.
44538 (ctanh_test_downward): Likewise.
44539 (ctanh_test_upward): Likewise.
44540 (main): Call these new functions.
44541 * sysdeps/i386/fpu/libm-test-ulps: Update.
44542 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44544 2012-07-03 Mike Frysinger <vapier@gentoo.org>
44546 * .gitignore: Delete /ports entry.
44548 2012-07-03 Andreas Jaeger <aj@suse.de>
44550 * po/bg.po: Update from translation team.
44551 * po/cs.po: Likewise.
44552 * po/de.po: Likewise.
44553 * po/hr.po: Likewise.
44554 * po/nl.pl: Likewise.
44555 * po/pl.po: Likewise.
44556 * po/vi.po: Likewise.
44558 2012-07-03 Joseph Myers <joseph@codesourcery.com>
44560 * Makeconfig [!+link] (+link-before-libc): New variable.
44561 [!+link] (+link-after-libc): Likewise.
44562 [!+link] (+link-tests): Likewise.
44563 [!+link] (+link): Define in terms of $(+link-before-libc) and
44564 $(+link-after-libc).
44565 [!+link-static] (+link-static-before-libc): New variable.
44566 [!+link-static] (+link-static-after-libc): Likewise.
44567 [!+link-static] (+link-static-tests): Likewise.
44568 [!+link-static] (+link-static): Define in terms of
44569 $(+link-static-before-libc) and $(+link-static-after-libc).
44570 [build-shared] (link-libc-before-gnulib): New variable.
44571 [build-shared] (link-libc-tests): Likewise.
44572 [build-shared] (link-libc): Define in terms of
44573 $(link-libc-before-gnulib).
44574 [!build-shared] (link-libc-tests): New variable.
44575 (link-libc-static-tests): New variable.
44576 [!gnulib] (gnulib-arch): New variable.
44577 [!gnulib] (gnulib-tests): Likewise.
44578 [!gnulib] (static-gnulib-arch): Likewise.
44579 [!gnulib] (static-gnulib-tests): Likewise.
44580 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
44581 Define with "=" instead of ":=".
44582 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
44583 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
44584 * Rules (binaries-all-notests): New variable.
44585 (binaries-all-tests): Likewise.
44586 (binaries-static-notests): Likewise.
44587 (binaries-static-tests): Likewise.
44588 (binaries-all): Define using $(binaries-all-notests) and
44589 $(binaries-all-tests).
44590 (binaries-static): Define using $(binaries-static-notests) and
44591 $(binaries-static-tests).
44592 (binaries-shared-tests): New variable.
44593 (binaries-shared-notests): Likewise.
44594 (binaries-shared): Remove variable.
44595 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
44596 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
44597 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
44598 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
44599 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
44600 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
44601 * elf/Makefile (sln-modules): New variable.
44602 (extra-objs): Add $(sln-modules:=.o).
44603 (ldconfig-modules): Add static-stubs.
44604 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
44605 * elf/static-stubs.c: New file.
44608 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
44609 by 7 not 8 to examine high bit of fractional part. Use volatile
44610 variables when splitting into final array of floats if
44611 __FLT_EVAL_METHOD__ != 0.
44612 * math/libm-test.inc (cos_test): Add another test.
44613 (sin_test): Likewise.
44614 * sysdeps/i386/fpu/libm-test-ulps: Update.
44617 * math/libm-test.inc (cosh_test): Add more tests.
44619 * version.h (RELEASE): Set to "development".
44620 (VERSION): Set to "2.16.90".
44622 2012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
44624 * NEWS: Update copyright. Remove last-updated date.
44625 Mention math library bug fixes and timezone data changes.
44626 * README: Mention GNU/Hurd, x32, and HPPA support status.
44628 2012-06-28 Thomas Schwinge <thomas@codesourcery.com>
44630 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
44632 2012-06-27 Andreas Jaeger <aj@suse.de>
44634 * manual/contrib.texi (Contributors): Add Samuel Thibault.
44636 2012-06-25 Andreas Jaeger <aj@suse.de>
44638 * sysdeps/s390/fpu/libm-test-ulps: Update.
44640 2012-06-23 Andreas Schwab <schwab@linux-m68k.org>
44641 Thomas Schwinge <thomas@codesourcery.com>
44643 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
44644 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
44645 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
44648 2012-06-23 Thomas Schwinge <thomas@codesourcery.com>
44650 * sysdeps/mach/start.c: Remove file.
44651 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
44652 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
44653 * sysdeps/sh/init-first.c: Likewise.
44655 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
44656 registers for frame unwinding purposes, add CFI directives.
44657 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
44658 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
44659 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
44662 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
44663 __fortify_fail returning.
44664 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
44666 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
44667 sysdeps/sh/____longjmp_chk.S.
44668 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
44669 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
44670 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
44671 (gen-as-const-headers): Append sigaltstack-offsets.sym.
44673 * sysdeps/sh/abort-instr.h: New file.
44674 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
44675 process in case exit returns.
44677 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
44678 initialize the GOT register before use.
44680 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
44681 calculation of ARGC > 4.
44683 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
44684 meaningful names to some local labels.
44686 2012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
44687 Kaz Kojima <kkojima@rr.iij4u.or.jp>
44689 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
44690 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
44691 (__arch_compare_and_exchange_val_16_acq): Likewise.
44692 (__arch_compare_and_exchange_val_32_acq): Likewise.
44693 (atomic_exchange_and_add): Fix gUSA sequence.
44694 (atomic_add): Likewise.
44695 (atomic_add_negative): Likewise.
44696 (atomic_add_zero): Likewise.
44697 (atomic_bit_test_set): Likewise.
44699 2012-06-22 Andreas Schwab <schwab@redhat.com>
44702 * include/link.h (struct link_map): Add l_free_initfini.
44703 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
44705 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
44706 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
44707 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
44710 2012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
44712 * configure.in: Use AC_LANG_SOURCE.
44713 * configure: Regenerate.
44715 2012-06-22 Roland McGrath <roland@hack.frob.com>
44717 * configure.in (libc_cv_localstatedir): New substituted variable.
44718 * configure: Regenerated.
44719 * config.make.in (localstatedir): New variable, substituted from
44720 libc_cv_localstatedir.
44721 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
44722 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
44723 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
44724 * sysdeps/gnu/configure: Regenerated.
44726 2012-06-21 Jeff Law <law@redhat.com>
44729 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
44730 free. Simplify list management for _LIBC case.
44732 2012-06-21 Joseph Myers <joseph@codesourcery.com>
44735 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
44736 Clear sign bit of 64-bit integer value before comparing against
44739 * sysdeps/mach/configure: Regenerated.
44741 2012-06-21 H.J. Lu <hongjiu.lu@intel.com>
44744 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
44746 2012-06-21 Jeff Law <law@redhat.com>
44749 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
44750 uint16_t for elements in the "seen" array to avoid char overflows.
44751 * elf/dl-fini.c (_dl_sort_fini): Likewise.
44752 * elf/dl-open.c (dl_open_worker): Likewise.
44754 2012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
44756 * scripts/list-sources.sh: Scan PORTS for translations.
44757 * po/libc.pot: Regenerated.
44759 2012-06-21 Andreas Jaeger <aj@suse.de>
44762 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
44764 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
44765 * bits/byteswap-16.h (__bswap_16): Likewise.
44766 * bits/byteswap.h (__bswap_constant_16): Likewise.
44768 2012-06-18 H.J. Lu <hongjiu.lu@intel.com>
44771 * sysdeps/i386/fpu_control.h: Removed.
44772 * sysdeps/x86_64/fpu_control.h: Moved to ...
44773 * sysdeps/x86/fpu_control.h: Here.
44775 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
44776 (_FPU_SETCW): Likewise.
44778 2012-06-15 H.J. Lu <hongjiu.lu@intel.com>
44781 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
44782 * sysdeps/x86/fpu/bits/mathinline.h: This.
44783 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
44787 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
44788 functions if __x86_64__ is defined.
44790 2012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
44792 * string/endian.h: Add !__ASSEMBLER__ condition for including
44793 conversion interfaces.
44795 2012-06-15 Joseph Myers <joseph@codesourcery.com>
44798 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
44799 of ABS(x) in calculating zero to negative powers other than odd
44801 * math/libm-test.inc (pow_test): Add more tests.
44803 2012-06-15 Andreas Jaeger <aj@suse.de>
44805 * manual/contrib.texi (Contributors): Update entry of Liubov
44806 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
44809 2012-06-15 Cyril Hrubis <metan@ucw.cz>
44811 * string/string.h: Add __wur to GNU version of strerror_r.
44813 2012-06-14 H.J. Lu <hongjiu.lu@intel.com>
44816 * string/Makefile (tests): Add tst-strtok_r.
44817 * string/tst-strtok_r.c: New file.
44818 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
44819 RAX_LP/RDX_LP on SAVE_PTR.
44821 2012-06-14 Roland McGrath <roland@hack.frob.com>
44823 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
44825 2012-06-14 Joseph Myers <joseph@codesourcery.com>
44827 * libm_test.inc (csqrt_test): Allow more spurious underflow
44829 (j0_test): Likewise.
44830 (j1_test): Likewise.
44831 (y0_test): Likewise.
44832 (y1_test): Likewise.
44834 2012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
44836 * po/Makefile (libc.pot): Use UTF-8 charset.
44838 2012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
44841 Suppress sign-conversion warning from FD_SET.
44842 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
44843 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
44844 not unsigned long int.
44845 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
44847 2012-06-12 H.J. Lu <hongjiu.lu@intel.com>
44851 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
44852 __extern_always_inline instead of __extern_inline.
44853 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
44854 (__signbit): Likewise.
44855 (__signbitl): Support C++ namespace.
44856 (lrintf): New inline function.
44858 (llrintf): Likewise.
44859 (llrint): Likewise.
44869 (floorf): Likewise.
44870 (nearbyint): Likewise.
44871 (nearbyintf): Likewise.
44873 2012-06-12 Thomas Schwinge <thomas@codesourcery.com>
44875 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
44876 non-default versions.
44878 2012-06-11 Roland McGrath <roland@hack.frob.com>
44881 * manual/argp.texi (Argp): Reword argp_parse description slightly.
44883 2012-06-09 Thomas Schwinge <thomas@codesourcery.com>
44885 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
44886 (FE_UPWARD, FE_DOWNWARD): Don't define.
44887 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
44888 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
44890 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
44892 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
44893 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
44895 2012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
44897 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
44898 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
44899 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
44900 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
44902 2012-06-06 H.J. Lu <hongjiu.lu@intel.com>
44905 * sysdeps/i386/fpu/bits/fenv.h: Removed.
44906 * sysdeps/i386/fpu/Implies: New file.
44907 * sysdeps/x86_64/fpu/Implies: Likewise.
44908 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
44909 * sysdeps/x86/fpu/bits/fenv.h: This.
44911 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
44914 2012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
44917 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
44918 character 0xffff that matches the last element of the
44921 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
44923 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
44926 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
44928 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
44929 values higher than 25.6283.
44931 2012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
44933 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
44934 subnormal exponent extraction and add some __builtin_expect.
44935 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
44936 Fix for subnormal mantissa calculation.
44938 2012-06-04 Mike Frysinger <vapier@gentoo.org>
44940 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
44941 cpu2 is -1 and errno is not ENOSYS.
44943 2012-06-04 H.J. Lu <hongjiu.lu@intel.com>
44946 * sysdeps/i386/i486/bits/string.h: Renamed to ...
44947 * sysdeps/x86/bits/string.h: This.
44948 * sysdeps/x86_64/bits/string.h: Removed.
44950 * sysdeps/i386/i486/bits/string.h: Define inline functions only
44951 if not compiling for x86-64, but compiling for >= i486.
44953 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
44954 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
44956 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
44957 New macro from Linux kernel 3.4.0.
44958 (FP_XSTATE_MAGIC2): Likewise.
44959 (FP_XSTATE_MAGIC2_SIZE): Likewise.
44960 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
44961 (struct _fpx_sw_bytes): New struct.
44962 (struct _xsave_hdr): Likewise.
44963 (struct _ymmh_state): Likewise.
44964 (struct _xstate): Likewise.
44966 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
44967 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
44968 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
44969 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
44970 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
44971 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
44973 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
44974 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
44975 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
44976 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
44977 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
44978 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
44980 2012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
44983 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
44984 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
44985 (sysdep_headers): Include sys/platform/ppc.h.
44986 * sysdeps/powerpc/test-gettimebase.c: Test for
44987 __ppc_get_timebase() to catch future ISA opcode/insn changes.
44988 * manual/Makefile (appendices): Include platform.texi.
44989 * manual/contrib.texi (Contributors): Update @node pointers.
44990 * manual/maint.texi (Maintenance): Likewise.
44991 (Platform): New node.
44992 * manual/platform.texi: New file. Document the new features.
44994 2012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
44995 Jakub Jelinek <jakub@redhat.com>
44998 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
44999 where __builtin_expect is unavailable.
45001 2012-06-03 David S. Miller <davem@davemloft.net>
45003 * stdlib/longlong.h: Updated from GCC.
45005 2012-06-02 Andreas Schwab <schwab@linux-m68k.org>
45008 * sysdeps/powerpc/powerpc32/mcount.c: New file.
45009 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
45011 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
45012 (GLIBC_2.16): Likewise.
45014 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
45016 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
45018 2012-06-01 Joseph Myers <joseph@codesourcery.com>
45020 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
45021 (default-abi): New variable.
45022 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
45023 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
45025 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
45027 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
45029 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
45032 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
45033 definition. Document in comment.
45035 2012-06-01 David S. Miller <davem@davemloft.net>
45037 * stdlib/longlong.h: Updated from GCC.
45039 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
45042 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
45043 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
45044 sys/debugreg.h sys/io.h here.
45045 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
45046 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
45048 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
45049 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
45050 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
45051 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
45052 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
45053 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
45055 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
45056 Define only if __x86_64__ is defined.
45058 2012-06-01 Joseph Myers <joseph@codesourcery.com>
45061 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
45062 Use int64_t for variable i.
45063 * math/libm-test.inc (fmod_test): Add more tests.
45065 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
45066 z computation is not scheduled after fetestexcept.
45067 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
45068 Use math_force_eval instead of asm to ensure calculation scheduled
45069 before exception test.
45070 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
45071 Ensure a1 + u.d computation is not scheduled after fetestexcept.
45073 2012-06-01 Aurelien Jarno <aurelien@aurel32.net>
45075 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
45076 computation is not scheduled after fetestexcept.
45078 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
45081 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
45082 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
45084 2012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
45086 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
45087 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
45089 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
45092 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
45094 (__WCHAR_MIN): Support __WORDSIZE == 64.
45095 (__WCHAR_MAX): Likewise.
45097 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
45098 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
45101 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
45102 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
45105 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
45106 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
45108 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
45109 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
45111 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
45112 Defined to 1 if __x86_64__ isn't defined.
45113 (_STAT_VER_LINUX_OLD): New.
45114 (st_atime): Remove duplicate.
45115 (st_mtime): Likewise.
45116 (st_ctime): Likewise.
45118 2012-05-31 David S. Miller <davem@davemloft.net>
45120 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
45123 2012-06-01 Andreas Schwab <schwab@linux-m68k.org>
45125 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
45129 * elf/dl-reloc.c: Include <_itoa.h>.
45130 (_dl_reloc_bad_type): Remove use of INTUSE.
45131 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
45132 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
45133 * stdio-common/psiginfo.c (psiginfo): Likewise.
45134 * stdio-common/psignal.c (psignal): Likewise.
45135 * string/strsignal.c (strsignal): Likewise.
45136 * include/signal.h (_sys_siglist): Declare hidden proto.
45137 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
45138 INTVARDEF with libc_hidden_data_def.
45139 * stdio-common/itoa-udigits.c: Likewise.
45140 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
45141 (_itoa_lower_digits_internal): Remove declaration.
45142 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
45143 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
45144 (_sys_sigabbrev_internal): Remove aliases.
45145 (_sys_siglist): Define hidden alias.
45147 2012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
45149 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
45152 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
45155 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
45156 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
45158 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
45159 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
45160 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
45161 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
45162 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
45163 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
45165 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
45166 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
45167 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
45169 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
45177 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
45178 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
45179 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
45181 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
45182 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
45183 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
45184 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
45185 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
45186 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
45188 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
45189 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
45191 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
45192 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
45194 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
45195 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
45196 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
45198 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
45199 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
45201 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
45203 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
45204 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
45205 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
45207 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
45209 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
45211 2012-05-31 Joseph Myers <joseph@codesourcery.com>
45213 * math/math.h (M_El): Use two more decimal places.
45214 (M_LOG2El): Likewise.
45215 (M_LOG10El): Likewise.
45216 (M_LN2l): Likewise.
45217 (M_LN10l): Likewise.
45219 (M_PI_2l): Likewise.
45220 (M_PI_4l): Likewise.
45221 (M_1_PIl): Likewise.
45222 (M_2_PIl): Likewise.
45223 (M_2_SQRTPIl): Likewise.
45224 (M_SQRT2l): Likewise.
45225 (M_SQRT1_2l): Likewise.
45227 2012-05-31 David S. Miller <davem@davemloft.net>
45229 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
45230 values between float registers.
45231 * sysdeps/sparc/sparc64/memset.S: Likewise.
45232 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
45234 2012-05-31 Mike Frysinger <vapier@gentoo.org>
45236 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
45237 -D_FORTIFY_SOURCE=1.
45238 (CPPFLAGS-tst-longjmp_chk.c): Define.
45239 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
45240 (CPPFLAGS-tst-longjmp_chk2.c): Define.
45241 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
45242 CFLAGS-tst-wchar-h.c.
45244 2012-05-31 Marek Polacek <polacek@redhat.com>
45247 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
45248 __endmntent_internal): Remove declaration.
45249 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
45250 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
45251 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
45253 2012-05-30 David S. Miller <davem@davemloft.net>
45255 * sysdeps/sparc/sparc32/soft-fp/q_util.c
45256 (___Q_simulate_exceptions): Use real FP ops rather than writing
45258 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
45261 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
45264 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
45265 * sysdeps/x86/bits/xtitypes.h: This.
45267 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
45268 * sysdeps/x86/bits/wordsize.h: This.
45270 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
45271 * sysdeps/x86/bits/huge_vall.h: This.
45273 * sysdeps/i386/bits/select.h: Removed.
45274 * sysdeps/x86_64/bits/select.h: Renamed to ...
45275 * sysdeps/x86/bits/select.h: This.
45277 * sysdeps/i386/bits/setjmp.h: Removed.
45278 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
45279 * sysdeps/x86/bits/setjmp.h: This.
45281 * sysdeps/i386/bits/mathdef.h: Removed.
45282 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
45283 * sysdeps/x86/bits/mathdef.h: This.
45285 2012-05-30 Andreas Schwab <schwab@linux-m68k.org>
45288 * include/sys/socket.h (__connect_internal)
45289 (__libc_sa_len_internal): Remove declaration.
45290 (__connect, __libc_sa_len): Declare hidden_proto.
45291 (SA_LEN): Remove use of INTUSE.
45292 * socket/connect.c: Add libc_hidden_def.
45293 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
45294 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
45295 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
45297 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
45298 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
45299 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
45300 of adding _internal alias.
45302 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
45305 * sysdeps/i386/bits/link.h: Removed.
45306 * sysdeps/i386/bits/linkmap.h: Likewise.
45307 * sysdeps/x86_64/bits/link.h: Renamed to ...
45308 * sysdeps/x86/bits/link.h: This.
45309 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
45310 * sysdeps/x86/bits/linkmap.h: This.
45312 * sysdeps/i386/bits/endian.h: Removed.
45313 * sysdeps/x86_64/bits/endian.h: Renamed to ...
45314 * sysdeps/x86/bits/endian.h: This.
45316 * sysdeps/i386/bits/byteswap.h: Removed.
45317 * sysdeps/i386/bits/byteswap-16.h: Likewise.
45318 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
45319 * sysdeps/x86/bits/byteswap.h: This.
45320 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
45321 * sysdeps/x86/bits/byteswap-16.h: This.
45322 * sysdeps/i386/Implies: Add x86.
45323 * sysdeps/x86_64/Implies: Likewise.
45325 2012-05-30 David S. Miller <davem@davemloft.net>
45327 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
45328 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
45329 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
45330 (FP_TRAPPING_EXCEPTIONS): Define.
45331 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
45332 (FP_TRAPPING_EXCEPTIONS): Define.
45333 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
45334 subnormals only when inexact has been signalled or underflow
45335 exceptions are enabled.
45336 (_FP_PACK_CANONICAL): Likewise.
45338 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
45341 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
45342 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
45344 2012-05-30 Richard Henderson <rth@twiddle.net>
45346 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
45347 with #ifndef NOT_IN_libc.
45349 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
45350 marked to avoid plt entry.
45352 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
45355 * Makeconfig (default-abi): New macro.
45356 (abi-includes): Likewise.
45357 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
45358 $(abi-$(default-abi)-lib-soname) for soname if defined.
45359 ($(common-objpfx)gnu/lib-names.stmp): Generate from
45361 * Makefile (installed-stubs): Likewise.
45362 * include/stubs-biarch.h: Removed.
45363 * scripts/lib-names.awk: Only handle one library at a time.
45364 * scripts/soversions.awk: Remove WORDSIZE support.
45365 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
45367 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
45369 (syscall-list-default-condition): Likewise.
45370 (syscall-list-default-condition): Likewise.
45371 (syscall-list-includes): Likewise.
45372 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
45373 syscall-list-* with abi-*. Handle undefined abi-variants.
45374 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
45375 * sysdeps/unix/sysv/linux/i386/Implies: New file.
45376 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
45377 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
45378 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
45379 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
45381 (syscall-list-32-options): Likewise.
45382 (syscall-list-32-condition): Likewise.
45383 (syscall-list-64-options): Likewise.
45384 (syscall-list-64-condition): Likewise.
45385 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
45387 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
45390 (abi-64-ld-soname): New macro.
45391 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
45392 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
45395 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
45396 * sysdeps/x86_64/x32/shlib-versions: Likewise.
45398 2012-05-30 Joseph Myers <joseph@codesourcery.com>
45400 * sysdeps/unix/sysv/linux/kernel-features.h
45401 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
45402 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
45403 include <kernel-features.h>.
45404 [!__NR_ftruncate64]: Remove conditional code.
45405 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
45406 [__NR_ftruncate64]: Make code unconditional.
45407 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
45408 * sysdeps/unix/sysv/linux/truncate64.c: Do not
45409 include <kernel-features.h>.
45410 [!__NR_ftruncate64]: Remove conditional code.
45411 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
45412 [__NR_ftruncate64]: Make code unconditional.
45413 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
45414 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
45415 include <kernel-features.h>.
45416 [!__NR_ftruncate64]: Remove conditional code.
45417 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
45418 [__NR_ftruncate64]: Make code unconditional.
45419 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
45420 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
45421 include <kernel-features.h>.
45422 [!__NR_ftruncate64]: Remove conditional code.
45423 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
45424 [__NR_ftruncate64]: Make code unconditional.
45425 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
45427 * configure.in (libc_cv_fpie): Weaken to a compile test using
45428 LIBC_TRY_CC_OPTION.
45429 * configure: Regenerated.
45431 2012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
45433 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
45434 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
45435 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
45436 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
45438 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
45439 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
45440 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
45441 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
45442 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
45443 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
45446 2012-05-27 David S. Miller <davem@davemloft.net>
45448 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
45450 (__Q_simulate_exceptions): Return void. Change to simulate
45451 exceptions by writing into the %fsr.
45452 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
45453 (__Qp_handle_exceptions): Likewise.
45455 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
45456 __Qp_handle_exceptions.
45457 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
45458 __Qp_handle_exceptions.
45459 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
45460 as unused and give dummy FP_RND_NEAREST initializer.
45461 (FP_INHIBIT_RESULTS): Define.
45462 (___Q_simulate_exceptions): Update declaration.
45463 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
45465 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
45466 as unused and give dummy FP_RND_NEAREST initializer.
45467 (__Qp_handle_exceptions): Update declaration.
45468 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
45471 2012-05-27 Thomas Schwinge <thomas@codesourcery.com>
45473 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
45474 the temporary FPU control word.
45475 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
45476 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
45477 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
45478 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
45479 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
45480 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
45481 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
45482 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
45483 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
45484 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
45485 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
45487 2012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
45489 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
45492 2012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
45494 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
45495 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
45496 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
45497 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
45499 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
45500 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
45503 2012-05-27 Ulrich Drepper <drepper@gmail.com>
45505 * po/h.po: Update from translation team.
45507 2012-05-26 Andreas Schwab <schwab@linux-m68k.org>
45509 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
45511 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
45512 handling of denormals.
45513 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
45514 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
45515 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
45516 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
45517 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
45518 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
45519 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
45522 2012-05-26 Marek Polacek <polacek@redhat.com>
45525 * math/libm-test.inc (fma_test): Don't always expect underflow
45528 2012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
45531 * elf/tst-execstack.c: Include stackinfo.h.
45532 (do_test): Adjust test case to ensure that pthread_getattr_np
45533 behaviour remains the same after marking stack executable.
45535 2012-05-25 Joseph Myers <joseph@codesourcery.com>
45537 * sysdeps/unix/sysv/linux/kernel-features.h
45538 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
45539 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
45541 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
45542 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
45543 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
45545 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
45546 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
45548 2012-05-25 H.J. Lu <hongjiu.lu@intel.com>
45550 * configure.in: Define the default includes to being none.
45551 * configure: Regenerated.
45553 2012-05-25 Roland McGrath <roland@hack.frob.com>
45555 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
45556 * sysdeps/x86_64/setjmp.S: Likewise.
45557 * sysdeps/i386/bsd-setjmp.S: Likewise.
45558 * sysdeps/i386/bsd-_setjmp.S: Likewise.
45559 * sysdeps/i386/setjmp.S: Likewise.
45560 * sysdeps/i386/__longjmp.S: Likewise.
45561 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
45562 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
45564 * include/stap-probe.h: New file.
45565 * configure.in: Handle --enable-systemtap.
45566 * configure: Regenerated.
45567 * config.h.in (USE_STAP_PROBE): New #undef.
45568 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
45569 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
45570 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
45572 2012-05-25 Joseph Myers <joseph@codesourcery.com>
45575 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
45576 to 2.4.0 where earlier.
45577 * sysdeps/unix/sysv/linux/configure: Regenerated.
45578 * sysdeps/unix/sysv/linux/i386/chown.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/fchown.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/fchownat.c (fchownat)
45587 [__ASSUME_32BITUIDS]: Make code unconditional.
45588 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
45589 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
45590 <kernel-features.h>.
45591 [__ASSUME_32BITUIDS]: Make code unconditional.
45592 [!__ASSUME_32BITUIDS]: Remove conditional code.
45593 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
45594 <kernel-features.h>.
45595 [__ASSUME_32BITUIDS]: Make code unconditional.
45596 [!__ASSUME_32BITUIDS]: Remove conditional code.
45597 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
45598 <kernel-features.h>.
45599 [__ASSUME_32BITUIDS]: Make code unconditional.
45600 [!__ASSUME_32BITUIDS]: Remove conditional code.
45601 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
45602 <kernel-features.h>.
45603 [__ASSUME_32BITUIDS]: Make code unconditional.
45604 [!__ASSUME_32BITUIDS]: Remove conditional code.
45605 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
45606 <kernel-features.h>.
45607 [__ASSUME_32BITUIDS]: Make code unconditional.
45608 [!__ASSUME_32BITUIDS]: Remove conditional code.
45609 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
45610 <kernel-features.h>.
45611 [__ASSUME_32BITUIDS]: Make code unconditional.
45612 [!__ASSUME_32BITUIDS]: Remove conditional code.
45613 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
45614 <kernel-features.h>.
45615 [__ASSUME_32BITUIDS]: Make code unconditional.
45616 [!__ASSUME_32BITUIDS]: Remove conditional code.
45617 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
45618 <kernel-features.h>.
45619 [__ASSUME_32BITUIDS]: Make code unconditional.
45620 [!__ASSUME_32BITUIDS]: Remove conditional code.
45621 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
45622 <kernel-features.h>.
45623 [__ASSUME_32BITUIDS]: Make code unconditional.
45624 [!__ASSUME_32BITUIDS]: Remove conditional code.
45625 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
45626 <kernel-features.h>.
45627 [__ASSUME_32BITUIDS]: Make code unconditional.
45628 [!__ASSUME_32BITUIDS]: Remove conditional code.
45629 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
45630 <kernel-features.h>.
45631 [__NR_setresgid] (__setresgid): Do not declare.
45632 [__ASSUME_32BITUIDS]: Make code unconditional.
45633 [!__ASSUME_32BITUIDS]: Remove conditional code.
45634 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
45635 <kernel-features.h>.
45636 [__NR_setresuid] (__setresuid): Do not declare.
45637 [__ASSUME_32BITUIDS]: Make code unconditional.
45638 [!__ASSUME_32BITUIDS]: Remove conditional code.
45639 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
45640 <kernel-features.h>.
45641 [__ASSUME_32BITUIDS]: Make code unconditional.
45642 [!__ASSUME_32BITUIDS]: Remove conditional code.
45643 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
45644 <kernel-features.h>.
45645 [__ASSUME_32BITUIDS]: Make code unconditional.
45646 [!__ASSUME_32BITUIDS]: Remove conditional code.
45647 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
45648 <kernel-features.h>.
45649 [__ASSUME_32BITUIDS]: Make code unconditional.
45650 [!__ASSUME_32BITUIDS]: Remove conditional code.
45651 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
45652 <kernel-features.h>.
45653 [__ASSUME_32BITUIDS]: Make code unconditional.
45654 [!__ASSUME_32BITUIDS]: Remove conditional code.
45655 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
45656 <kernel-features.h>.
45657 [__ASSUME_32BITUIDS]: Make code unconditional.
45658 [!__ASSUME_32BITUIDS]: Remove conditional code.
45659 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
45660 <kernel-features.h>.
45661 [__ASSUME_32BITUIDS]: Make code unconditional.
45662 [!__ASSUME_32BITUIDS]: Remove conditional code.
45663 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
45664 <kernel-features.h>.
45665 [__ASSUME_32BITUIDS]: Make code unconditional.
45666 [!__ASSUME_32BITUIDS]: Remove conditional code.
45667 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
45668 <kernel-features.h>.
45669 [__ASSUME_32BITUIDS]: Make code unconditional.
45670 [!__ASSUME_32BITUIDS]: Remove conditional code.
45671 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
45672 <kernel-features.h>.
45673 [__ASSUME_32BITUIDS]: Make code unconditional.
45674 [!__ASSUME_32BITUIDS]: Remove conditional code.
45675 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
45676 <kernel-features.h>.
45677 [__ASSUME_32BITUIDS]: Make code unconditional.
45678 [!__ASSUME_32BITUIDS]: Remove conditional code.
45679 * sysdeps/unix/sysv/linux/kernel-features.h
45680 (__ASSUME_SETRESUID_SYSCALL): Remove.
45681 (__ASSUME_SETRESGID_SYSCALL): Likewise.
45682 (__ASSUME_32BITUIDS): Likewise.
45683 (__ASSUME_LDT_WORKS): Likewise.
45684 (__ASSUME_O_DIRECTORY): Likewise.
45685 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
45686 architecture but not kernel version.
45687 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
45688 (__ASSUME_MMAP2_SYSCALL): Likewise.
45689 (__ASSUME_STAT64_SYSCALL): Likewise.
45690 (__ASSUME_IPC64): Likewise.
45691 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
45692 <kernel-features.h>.
45693 [__ASSUME_32BITUIDS]: Make code unconditional.
45694 [!__ASSUME_32BITUIDS]: Remove conditional code.
45695 * sysdeps/unix/sysv/linux/opendir.c: Do not include
45696 <kernel-features.h>.
45697 [__ASSUME_O_DIRECTORY]: Make code unconditional.
45698 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
45699 132096]: Remove conditional code.
45700 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
45701 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
45702 <kernel-features.h>.
45703 [__ASSUME_32BITUIDS]: Make code unconditional.
45704 [!__ASSUME_32BITUIDS]: Remove conditional code.
45705 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
45706 <kernel-features.h>.
45707 [__ASSUME_32BITUIDS]: Make code unconditional.
45708 [!__ASSUME_32BITUIDS]: Remove conditional code.
45709 * sysdeps/unix/sysv/linux/setegid.c: Do not include
45710 <kernel-features.h>.
45711 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
45713 (__setresgid): Do not declare.
45714 [__ASSUME_32BITUIDS]: Make code unconditional.
45715 [!__ASSUME_32BITUIDS]: Remove conditional code.
45716 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
45717 <kernel-features.h>.
45718 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
45720 (__setresuid): Do not declare.
45721 [__ASSUME_32BITUIDS]: Make code unconditional.
45722 [!__ASSUME_32BITUIDS]: Remove conditional code.
45723 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
45724 <kernel-features.h>.
45725 [__ASSUME_32BITUIDS]: Make code unconditional.
45726 [!__ASSUME_32BITUIDS]: Remove conditional code.
45727 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
45728 <kernel-features.h>.
45729 [__ASSUME_32BITUIDS]: Make code unconditional.
45730 [!__ASSUME_32BITUIDS]: Remove conditional code.
45732 2012-05-25 Richard Henderson <rth@twiddle.net>
45734 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
45735 dl_hwcap to ifunc resolver.
45736 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
45738 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
45739 dl_hwcap to ifunc resolver.
45740 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
45742 2012-05-24 Joseph Myers <joseph@codesourcery.com>
45745 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
45746 for |x| <= 2**-26, not 2**-57.
45747 * math/libm-test.inc (acos_test): Do not allow spurious underflow
45750 2012-05-24 Jeff Law <law@redhat.com>
45752 * stdio-common/Makefile (tests): Add bug25.
45753 * stdio-common/bug25.c: New test.
45755 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
45758 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
45759 multiple of MALLOC_ALIGNMENT in size.
45760 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
45762 2012-05-24 Joseph Myers <joseph@codesourcery.com>
45764 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
45766 (FILENAME_MAX): Use macro-int-constant.
45767 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
45768 (_IOFBF): Use macro-int-constant.
45769 (_IOLBF): Likewise.
45770 (_IONBF): Likewise.
45771 (SEEK_CUR): Likewise.
45772 (SEEK_END): Likewise.
45773 (SEEK_SET): Likewise.
45774 (TMP_MAX): Likewise.
45775 (EOF): Use macro-int-constant. Require < 0.
45776 (NULL): Use macro-constant. Require == 0.
45777 (stdin): Require type to be FILE *.
45778 (stdout): Likewise.
45779 (stderr): Likewise.
45780 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
45781 macro-int-constant.
45782 (EXIT_SUCCESS): Likewise.
45783 (NULL): Use macro-constant. Require == 0.
45784 (RAND_MAX): Use macro-int-constant.
45785 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
45786 [C99-based standards] (strtof): Require function.
45787 [C99-based standards] (strtold): Likewise.
45788 [C99-based standards] (strtoll): Likewise.
45789 [C99-based standards] (strtoull): Likewise.
45790 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
45791 [ISO || ISO99 || ISO11] (limits.h): Likewise.
45792 [ISO || ISO99 || ISO11] (math.h): Likewise.
45793 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
45794 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
45795 [ISO || ISO99 || ISO11] (*_t): Do not allow.
45797 2012-05-24 Andreas Schwab <schwab@linux-m68k.org>
45800 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
45801 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
45802 * intl/dgettext.c (DCGETTEXT): Likewise.
45803 * intl/gettext.c (DCGETTEXT): Likewise.
45804 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
45805 * posix/regex_internal.h (gettext): Likewise.
45806 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
45807 Remove declaration.
45808 * include/argz.h (__argz_count_internal)
45809 (__argz_stringify_internal): Remove declaration.
45810 (__argz_count, __argz_stringify): Declare hidden proto.
45811 * intl/dcgettext.c: Remove use of INTDEF.
45812 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
45813 * string/argz-stringify.c: Likewise.
45814 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
45815 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
45816 Declare hidden proto.
45817 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
45818 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
45819 Declare hidden proto.
45820 * include/stdio.h (__asprintf_internal): Don't declare.
45821 (__asprintf): Don't define as macro. Declare hidden proto.
45822 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
45823 (__fsetlocking): Declare hidden proto.
45824 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
45825 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
45827 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
45828 (_IO_setlinebuf): Remove use of INTUSE.
45829 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
45830 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
45831 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
45832 Remove declaration.
45833 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
45834 (_IO_do_flush): Remove use of INTUSE.
45835 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
45836 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
45837 (_IO_adjust_column, _IO_least_wmarker)
45838 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
45839 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
45840 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
45841 (_IO_default_doallocate, _IO_wdefault_doallocate)
45842 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
45843 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
45844 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
45845 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
45846 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
45847 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
45848 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
45849 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
45850 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
45851 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
45852 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
45853 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
45854 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
45856 (_IO_flush_all_internal, _IO_adjust_column_internal)
45857 (_IO_default_uflow_internal, _IO_default_finish_internal)
45858 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
45859 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
45860 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
45861 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
45862 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
45863 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
45864 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
45865 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
45866 (_IO_file_close_internal, _IO_file_close_it_internal)
45867 (_IO_file_underflow_internal, _IO_file_overflow_internal)
45868 (_IO_file_init_internal, _IO_file_attach_internal)
45869 (_IO_file_fopen_internal, _IO_file_read_internal)
45870 (_IO_file_sync_internal, _IO_file_seek_internal)
45871 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
45872 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
45873 (_IO_str_underflow_internal, _IO_str_overflow_internal)
45874 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
45875 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
45876 (_IO_list_all_internal, _IO_link_in_internal)
45877 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
45878 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
45879 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
45880 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
45881 (_IO_do_write_internal, _IO_padn_internal)
45882 (_IO_getline_info_internal, _IO_getline_internal)
45883 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
45884 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
45885 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
45886 (_IO_vfscanf_internal, _IO_vfprintf_internal)
45887 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
45888 (_IO_init_internal, _IO_un_link_internal): Don't declare.
45889 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
45890 with libc_hidden_ver, remove use of INTUSE.
45891 * libio/genops.c: Likewise.
45892 * libio/freopen.c: Likewise.
45893 * libio/freopen64.c: Likewise.
45894 * libio/iofclose.c: Likewise.
45895 * libio/iofdopen.c: Likewise.
45896 * libio/iofflush.c: Likewise.
45897 * libio/iofflush_u.c: Likewise.
45898 * libio/iofgets.c: Likewise.
45899 * libio/iofgets_u.c: Likewise.
45900 * libio/iofopen.c: Likewise.
45901 * libio/iofopncook.c: Likewise.
45902 * libio/iofread.c: Likewise.
45903 * libio/iofread_u.c: Likewise.
45904 * libio/ioftell.c: Likewise.
45905 * libio/iofwrite.c: Likewise.
45906 * libio/iogetline.c: Likewise.
45907 * libio/iogets.c: Likewise.
45908 * libio/iogetwline.c: Likewise.
45909 * libio/iopadn.c: Likewise.
45910 * libio/iopopen.c: Likewise.
45911 * libio/ioseekoff.c: Likewise.
45912 * libio/ioseekpos.c: Likewise.
45913 * libio/iosetbuffer.c: Likewise.
45914 * libio/iosetvbuf.c: Likewise.
45915 * libio/ioungetc.c: Likewise.
45916 * libio/ioungetwc.c: Likewise.
45917 * libio/iovdprintf.c: Likewise.
45918 * libio/iovsprintf.c: Likewise.
45919 * libio/iovsscanf.c: Likewise.
45920 * libio/memstream.c: Likewise.
45921 * libio/obprintf.c: Likewise.
45922 * libio/oldfileops.c: Likewise.
45923 * libio/oldiofclose.c: Likewise.
45924 * libio/oldiofdopen.c: Likewise.
45925 * libio/oldiofopen.c: Likewise.
45926 * libio/oldiopopen.c: Likewise.
45927 * libio/oldstdfiles.c: Likewise.
45928 * libio/putc.c: Likewise.
45929 * libio/setbuf.c: Likewise.
45930 * libio/setlinebuf.c: Likewise.
45931 * libio/stdfiles.c: Likewise.
45932 * libio/strops.c: Likewise.
45933 * libio/vasprintf.c: Likewise.
45934 * libio/vscanf.c: Likewise.
45935 * libio/vsnprintf.c: Likewise.
45936 * libio/vswprintf.c: Likewise.
45937 * libio/wfiledoalloc.c: Likewise.
45938 * libio/wfileops.c: Likewise.
45939 * libio/wgenops.c: Likewise.
45940 * libio/wmemstream.c: Likewise.
45941 * libio/wstrops.c: Likewise.
45942 * libio/__fpurge.c: Likewise.
45943 * libio/__fsetlocking.c: Likewise.
45944 * assert/assert.c: Likewise.
45945 * debug/fgets_chk.c: Likewise.
45946 * debug/fgets_u_chk.c: Likewise.
45947 * debug/fread_chk.c: Likewise.
45948 * debug/fread_u_chk.c: Likewise.
45949 * debug/gets_chk.c: Likewise.
45950 * debug/obprintf_chk.c: Likewise.
45951 * debug/vasprintf_chk.c: Likewise.
45952 * debug/vdprintf_chk.c: Likewise.
45953 * debug/vsnprintf_chk.c: Likewise.
45954 * debug/vsprintf_chk.c: Likewise.
45955 * malloc/mtrace.c: Likewise.
45956 * misc/error.c: Likewise.
45957 * misc/syslog.c: Likewise.
45958 * stdio-common/asprintf.c: Likewise.
45959 * stdio-common/fxprintf.c: Likewise.
45960 * stdio-common/getw.c: Likewise.
45961 * stdio-common/isoc99_fscanf.c: Likewise.
45962 * stdio-common/isoc99_scanf.c: Likewise.
45963 * stdio-common/isoc99_vfscanf.c: Likewise.
45964 * stdio-common/isoc99_vscanf.c: Likewise.
45965 * stdio-common/isoc99_vsscanf.c: Likewise.
45966 * stdio-common/printf-prs.c: Likewise.
45967 * stdio-common/printf_fp.c: Likewise.
45968 * stdio-common/printf_fphex.c: Likewise.
45969 * stdio-common/printf_size.c: Likewise.
45970 * stdio-common/putw.c: Likewise.
45971 * stdio-common/scanf.c: Likewise.
45972 * stdio-common/sprintf.c: Likewise.
45973 * stdio-common/tmpfile.c: Likewise.
45974 * stdio-common/vfprintf.c: Likewise.
45975 * stdio-common/vfscanf.c: Likewise.
45976 * stdlib/strfmon_l.c: Likewise.
45977 * sunrpc/openchild.c: Likewise.
45978 * sunrpc/xdr_stdio.c: Likewise.
45979 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
45980 * sysdeps/mach/hurd/tmpfile.c: Likewise.
45982 2012-05-24 Roland McGrath <roland@hack.frob.com>
45984 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
45986 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
45987 in the third column, to generate for the shared library an IFUNC
45988 that uses _dl_vdso_vsym.
45989 * Makerules (COMPILE.c, compile-stdin.c): New variables.
45990 * Makeconfig (object-suffixes-noshared): New variable.
45992 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
45993 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
45994 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
45995 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
45998 * include/sys/time.h (__gettimeofday): Remove macro.
45999 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
46000 * time/gettimeofday.c (__gettimeofday): Remove #undef.
46002 (__gettimeofday): Add libc_hidden_def.
46003 (gettimeofday): Add libc_hidden_weak.
46004 * sysdeps/mach/gettimeofday.c: Likewise.
46005 * sysdeps/posix/gettimeofday.c: Likewise.
46006 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
46007 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
46008 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
46009 (__gettimeofday_internal): Remove strong_alias.
46010 (__gettimeofday): Add libc_hidden_def.
46011 (gettimeofday): Add libc_hidden_weak.
46012 * sysdeps/unix/syscalls.list (gettimeofday):
46013 Remove __gettimeofday_internal alias.
46015 2012-05-24 Daniel Jacobowitz <drow@false.org>
46016 H.J. Lu <hongjiu.lu@intel.com>
46019 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
46020 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
46021 (largebin_index_32_big): New.
46022 (largebin_index): Use it for 16-byte alignment.
46023 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
46024 correction with front_misalign.
46026 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
46028 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
46029 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
46031 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
46033 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
46035 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
46037 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
46039 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
46041 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
46043 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
46045 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
46047 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
46049 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
46051 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
46054 * scripts/data/c++-types-x32-linux-gnu.data: New file.
46055 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
46057 2012-05-24 Joseph Myers <joseph@codesourcery.com>
46061 * math/libm-test.inc (exp_test): Add test from bug 14036.
46062 (pow_test): Add test from bug 10846.
46064 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
46066 (special_function): Do not include flags in test name.
46067 (parse_args): Likewise.
46068 * sysdeps/i386/fpu/libm-test-ulps: Update.
46069 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
46070 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
46071 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
46072 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46074 * math/gen-libm-test.pl (%beautify): Add entries for underflow
46076 * math/libm-test.inc ("Philosophy"): Update comment about
46078 (UNDERFLOW_EXCEPTION): New macro.
46079 (UNDERFLOW_EXCEPTION_OK): Likewise.
46080 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
46081 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
46082 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
46083 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
46084 (INVALID_EXCEPTION_OK): Update value.
46085 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
46086 (OVERFLOW_EXCEPTION_OK): Likewise.
46087 (IGNORE_ZERO_INF_SIGN): Likewise.
46088 (test_exceptions): Handle underflow exceptions.
46089 (acos_test): Update for underflow exception expectations.
46090 (cexp_test): Likewise.
46091 (clog_test): Likewise.
46092 (clog10_test): Likewise.
46093 (csqrt_test): Likewise.
46094 (ctan_test): Likewise.
46095 (ctanh_test): Likewise.
46096 (exp_test): Likewise.
46097 (exp10_test): Likewise.
46098 (exp2_test): Likewise.
46099 (expm1_test): Likewise.
46100 (fma_test): Likewise.
46101 (j0_test): Likewise.
46102 (jn_test): Likewise.
46103 (nexttoward_test): Likewise.
46104 (pow_test): Likewise.
46105 (scalbn_test): Likewise.
46106 (scalbln_test): Likewise.
46107 (tan_test): Likewise.
46108 (y1_test): Likewise.
46109 * sysdeps/i386/fpu/libm-test-ulps: Update.
46110 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46112 2012-05-23 David S. Miller <davem@davemloft.net>
46114 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
46115 (__libc_sigaction): Remove unused local variables.
46117 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
46119 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
46121 2012-05-23 Paul Eggert <eggert@cs.ucla.edu>
46123 mktime: avoid signed integer overflow
46124 * time/mktime.c (__mktime_internal): Do not mishandle the case
46125 where diff == INT_MIN.
46127 mktime: simplify computation of average
46128 * time/mktime.c (ranged_convert): Use new time_t_avg function
46129 instead of rolling our own (probably-slower) code.
46131 mktime: do not assume signed right shift propagates sign bit
46132 * time/mktime.c (isdst_differ): New static function.
46133 (__mktime_internal): No need to normalize tm_isdst now.
46134 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
46137 mktime: merge another wrapv change from gnulib
46138 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
46139 from some compilers.
46141 mktime: remove incorrect attempt at unusual arithmetics
46142 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
46143 The code didn't really work on such machines anyway.
46144 (TYPE_MINIMUM): Assume two's complement.
46145 (twos_complement_arithmetic): Verify that long_int and time_t
46146 are two's complement (or unsigned, in the latter case).
46148 mktime: check signed shifts on long_int and time_t, too
46149 * time/mktime.c (SHR): Check that shifts work as desired
46150 on the types long_int and time_t too, as SHR is used on
46153 mktime: do not assume 'long' is wide enough
46154 * time/mktime.c (verify): Move decl up.
46155 (long_int): New type.
46156 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
46157 to remove assumption in the code that 'long' is wide enough to
46158 store year values. This assumption is not true on x32 and on
46159 some non-glibc platforms.
46161 mktime: merge wrapv change from gnulib
46162 * time/mktime.c (WRAPV): New macro.
46163 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
46164 (guess_time_tm, __mktime_internal): Do not assume that signed
46165 integer overflow wraps around; modern compilers generate code
46166 where this assumption is no longer valid.
46168 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
46170 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
46171 Replace "jmp L(pseudo_end)" with "ret".
46172 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
46175 2012-05-23 Andreas Jaeger <aj@suse.de>
46177 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
46178 * sysdeps/unix/sysv/linux/poll.c: Remove file.
46180 2012-05-23 Andreas Jaeger <aj@suse.de>
46181 Maximilian Attems <max@stro.at>
46183 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
46186 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
46188 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
46189 code so that pseudo_end is just ret and the stack pointer is
46190 correct also for static library in error case.
46192 2012-05-23 Joseph Myers <joseph@codesourcery.com>
46194 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
46195 move to syscalls.list.
46196 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
46197 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
46198 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
46199 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
46201 * manual/install.texi (Running make install): Do not mention Linux
46202 kernel version for which pt_chown is not needed.
46203 (Linux): Do not mention problems with nscd with 2.0 kernels.
46204 * INSTALL: Regenerated.
46206 2012-05-23 Andreas Jaeger <aj@suse.de>
46208 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
46209 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
46211 * sysdeps/unix/sysv/linux/s390/bits/mman.h
46212 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
46213 * sysdeps/unix/sysv/linux/sh/bits/mman.h
46214 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
46215 * sysdeps/unix/sysv/linux/i386/bits/mman.h
46216 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
46217 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
46218 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
46219 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
46220 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
46221 * sysdeps/unix/sysv/linux/bits/in.h
46222 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
46224 2012-05-22 Roland McGrath <roland@hack.frob.com>
46226 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
46227 (PREPARE_VERSION): Just use assert instead, it will be elided
46228 under [NDEBUG] anyway.
46230 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
46232 * sysdeps/unix/sysv/linux/Makefile: Include
46233 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
46234 (sysdep_routines): Remove sysctl.
46235 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
46236 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
46237 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
46238 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
46239 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
46241 2012-05-22 Andreas Jaeger <aj@suse.de>
46243 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
46244 that pseudo_end is just ret and the stack pointer is correct also
46245 for static library in error case.
46247 2012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
46250 * nss/nsswitch.c (defconfig_entries): New variable.
46251 (__nss_database_lookup): Don't leak defconfig entries.
46252 (nss_parse_service_list): Don't leak on error paths.
46253 (free_database_entries): New function.
46254 (free_defconfig): New function.
46255 (free_mem): Move common code to free_database_entries.
46257 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
46259 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
46261 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
46263 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
46264 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
46265 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
46267 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
46268 (INTERNAL_SYSCALL_TYPES): Likewise.
46269 (LOAD_ARGS_TYPES_[1-6]): Likewise.
46270 (LOAD_REGS_TYPES_[1-6]): Likewise.
46271 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
46272 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
46274 2012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
46276 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
46277 copysignl for GLIBC_2_0.
46278 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
46279 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
46280 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
46281 logbl for GLIBC_2_0.
46282 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
46283 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
46285 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
46287 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
46288 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
46290 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
46293 * time/mktime.c: Update copyright years.
46295 2012-05-22 Paul Eggert <eggert@cs.ucla.edu>
46297 mktime: merge comment-quoting-style change from gnulib
46298 * time/mktime.c: Quote 'like this' in comments.
46299 The GNU coding standards suggest that we no longer quote `like this',
46300 as "`" and "'" are typically rendered asymmetrically nowadays.
46301 The typical gnulib style is to quote 'like this' when quoting
46302 code, and "like this" when quoting English.
46304 * time/mktime.c (compile-command): Add "-I.".
46306 mktime: merge mktime-internal.h change from gnulib
46307 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
46309 mktime: merge time_r change from gnulib
46310 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
46312 mktime: merge DEBUG change from gnulib
46313 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
46314 case system <time.h> has a #define.
46316 mktime: merge <sys/types.h> change from gnulib
46317 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
46318 since <time.t> is now guaranteed to define time_t.
46320 mktime: merge HAVE_CONFIG_H change from gnulib
46321 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
46323 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
46325 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
46328 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
46330 (struct rusage): Use anonymous union to pad each field to
46333 2012-05-21 David S. Miller <davem@davemloft.net>
46335 * Makefules (o-iterator): Remove .s cases.
46336 (compile-command.s): Delete.
46337 (COMPILE.s): Delete.
46338 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
46340 2012-05-21 Joseph Myers <joseph@codesourcery.com>
46342 * configure.in (libc_cv_predef_stack_protector): Only consider
46343 "foobar" and "__stack_chk_fail" lines in libc_undefs.
46344 * configure: Regenerated.
46346 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
46348 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
46349 New macro. Use R*LP on int and pointer.
46350 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
46351 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
46352 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
46353 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
46355 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
46356 [__WORDSIZE_TIME64_COMPAT32] instead of
46357 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
46358 (struct utmp): Likewise.
46359 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
46360 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
46362 (__WORDSIZE_TIME64_COMPAT32): This.
46363 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
46364 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
46365 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
46366 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
46367 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
46368 (__WORDSIZE_TIME64_COMPAT32): New macro.
46370 2012-05-21 Andreas Jaeger <aj@suse.de>
46372 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
46373 only if [SHARED]. Add prototype for __wcschr_ia32.
46375 2012-05-21 Roland McGrath <roland@hack.frob.com>
46377 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
46378 of %rbp unmolested in the jmp_buf while mangling the low bits.
46379 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
46380 unmolested high bits of %rbp while demangling the low bits.
46381 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
46383 2012-05-21 Andreas Jaeger <aj@suse.de>
46385 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
46386 * sunrpc/svc_simple.c: Use it for registerrpc.
46387 * sunrpc/xcrypt.c: Use it for passwd2des.
46389 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
46391 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
46393 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
46394 Don't define if [__SYSCALL_WORDSIZE != 32].
46395 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
46398 2012-05-21 Bruno Haible <bruno@clisp.org>
46399 Andreas Jaeger <aj@suse.de>
46401 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
46402 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
46403 inptr and inend for must_buffer_ch.
46404 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
46405 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
46406 * stdio-common/Makefile (tests): Remove bug15.
46407 (bug15-ENV): Remove macro.
46408 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
46411 2012-05-19 Andreas Jaeger <aj@suse.de>
46412 Roland McGrath <roland@hack.frob.com>
46414 * manual/contrib.texi: Completely rewritten. It contains now an
46415 alphabetical list of contributors and their contributions.
46417 2012-05-21 Richard Henderson <rth@twiddle.net>
46419 * misc/getauxval.c (__getauxval): Use unsigned long int.
46420 * misc/sys/auxv.h: Include <sys/cdefs.h>.
46421 (getauxval): Use unsigned long int.
46423 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
46425 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
46427 2012-05-21 Roland McGrath <roland@hack.frob.com>
46429 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
46430 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
46431 __alignof__ (long double).
46433 2012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
46435 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
46437 2012-05-20 Richard Henderson <rth@twiddle.net>
46439 * misc/getauxval.c: New file.
46440 * misc/sys/auxv.h: New file.
46441 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
46442 (routines): Add getauxval.
46443 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
46444 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
46445 * elf/dl-sysdep.c (_dl_auxv): Remove.
46446 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
46447 * elf/dl-support.c (_dl_auxv): New variable.
46448 (_dl_aux_init): Initialize it.
46449 * manual/startup.texi (Auxiliary Vector): New node.
46450 * sysdeps/generic/bits/hwcap.h: New file.
46451 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
46452 * sysdeps/powerpc/sysdep.h: ... here. Include it.
46453 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
46454 * sysdeps/sparc/sysdep.h: ... here. Include it.
46455 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
46456 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
46457 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
46459 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
46460 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
46461 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
46462 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
46463 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
46464 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
46465 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
46466 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
46468 2012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
46470 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
46472 2012-05-19 David S. Miller <davem@davemloft.net>
46474 * sysdeps/sparc/fpu/libm-test-ulps: Update.
46476 2012-05-19 Joseph Myers <joseph@codesourcery.com>
46479 * math/s_ccosh.c: Include <float.h>
46480 (__ccosh): Avoid internal overflow calculating sinh and cosh
46481 values before multiplying by sin and cos values.
46482 * math/s_ccoshf.c: Likewise.
46483 * math/s_ccoshl.c: Likewise.
46484 * math/s_csin.c: Likewise.
46485 * math/s_csinf.c: Likewise.
46486 * math/s_csinl.c: Likewise.
46487 * math/s_csinh.c: Likewise.
46488 * math/s_csinhf.c: Likewise.
46489 * math/s_csinhl.c: Likewise.
46490 * math/libm-test.inc (ccos_test): Add more tests.
46491 (ccosh_test): Likewise.
46492 (csin_test): Likewise.
46493 (csinh_test): Likewise.
46494 * sysdeps/i386/fpu/libm-test-ulps: Update.
46495 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46497 2012-05-19 H.J. Lu <hongjiu.lu@intel.com>
46499 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
46500 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
46502 * sysdeps/x86_64/x32/_itoa.h: Add comment.
46504 2012-05-19 Joseph Myers <joseph@codesourcery.com>
46506 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
46507 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
46508 * sysdeps/powerpc/soft-fp/Versions: Likewise.
46509 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
46510 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
46511 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
46512 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
46513 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
46514 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
46515 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
46516 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
46517 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
46518 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
46519 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
46520 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
46521 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
46522 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
46523 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
46524 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
46525 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
46526 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
46527 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
46528 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
46529 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
46530 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
46531 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
46532 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
46533 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
46534 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
46535 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
46536 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
46538 2012-05-18 Andreas Jaeger <aj@suse.de>
46540 * csu/.gitignore: Delete.
46542 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
46544 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
46545 (timex): Use __syscall_slong_t.
46547 2012-05-18 Andreas Jaeger <aj@suse.de>
46548 Carlos O'Donell <carlos_odonell@mentor.com>
46550 * manual/install.texi (Configuring and compiling): Update
46551 description about files modified in the source directory.
46552 * INSTALL: Regenerated.
46554 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
46556 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
46557 value. Use "or" to set return value to -1.
46558 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
46559 negate return value.
46561 2012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
46563 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
46564 (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
46565 failure if the compiler has Graphite support disabled.
46566 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
46568 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
46569 (CFLAGS-memmove.c): Likewise.
46570 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
46573 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
46575 * sysdeps/x86_64/x32/_itoa.h: New file.
46577 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
46578 getdents system call only if kernel and user dirents have the
46579 same d_ino and d_off.
46581 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
46582 LLONG_MAX != LONG_MAX.
46583 (_itoa_word): Use _ITOA_WORD_TYPE on value.
46584 (_fitoa_word): Likewise.
46586 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
46588 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
46589 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
46590 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
46592 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
46593 include <bits/wordsize.h>. Check __x86_64__ instead of
46595 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
46596 if __x86_64__ is defined. Use anonymous union on fpstate.
46598 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
46601 2012-05-18 Andreas Schwab <schwab@linux-m68k.org>
46603 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
46604 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
46605 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
46606 Refer to _rtld_local_ro instead of _rtld_global_ro.
46607 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
46609 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
46611 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
46613 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
46614 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
46615 of _rtld_global, and rtld_progname instead of _dl_argv[0].
46617 * sysdeps/powerpc/powerpc32/dl-machine.c
46618 (__elf_machine_runtime_setup) [PROF]: Don't reference
46621 2012-05-18 Andreas Jaeger <aj@suse.de>
46623 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
46624 function only available for GCCs before 3.4 since GCC 3.4
46625 introduced a builtin.
46627 (llrintf): Likewise.
46628 (llrint): Likewise.
46635 (nearbyint): Likewise.
46636 (nearbyintf): Likewise.
46640 (floorf): Likewise.
46642 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
46644 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
46645 on both fields and cast pointer to __syscall_ulong_t.
46647 * bits/types.h (__fsword_t): New type.
46648 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
46649 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
46650 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
46651 (__FSWORD_T_TYPE): Likewise.
46652 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
46653 (__FSWORD_T_TYPE): Likewise.
46654 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
46655 (__FSWORD_T_TYPE): Likewise.
46656 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
46657 (__FSWORD_T_TYPE): Likewise.
46658 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
46659 __SWORD_TYPE with __fsword_t.
46660 (statfs64): Likewise.
46662 2012-05-17 David S. Miller <davem@davemloft.net>
46664 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
46666 2012-05-17 Andreas Jaeger <aj@suse.de>
46668 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
46671 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
46673 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
46675 2012-05-17 Andreas Jaeger <aj@suse.de>
46677 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
46680 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
46682 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
46684 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
46686 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
46687 * sysdeps/x86_64/tst-mallocalign1.c: New file.
46689 2012-05-17 Andreas Jaeger <aj@suse.de>
46690 Carlos O'Donell <carlos_odonell@mentor.com>
46693 * sysdeps/x86_64/multiarch/init-arch.h
46694 (bit_YMM_Usable): Rename to...
46695 (bit_AVX_Usable): ... this.
46696 (bit_FMA4_Usable): New macro.
46697 (bit_XMM_state): New macro.
46698 (bit_YMM_state): New macro.
46699 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
46700 [__ASSEMBLER__] (index_AVX_Usable): ... this.
46701 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
46702 (CPUID_OSXSAVE): New macro.
46703 (CPUID_AVX): New macro.
46704 (CPUID_FMA4): New macro.
46705 (index_YMM_Usable): Rename to...
46706 (index_AVX_Usable): ... this.
46707 (HAS_AVX): Use HAS_ARCH_FEATURE.
46708 (HAS_FMA4): Likewise.
46709 (HAS_YMM_USABLE): Remove.
46710 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
46711 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
46713 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
46714 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
46715 * sysdeps/x86_64/multiarch/Makefile: Likewise.
46716 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
46717 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
46719 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
46721 * math/libm-test.c: Support platforms without multiple rounding modes.
46722 * math/bug-nextafter.c: Support platforms without FP exceptions.
46723 * math/bug-nexttoward.c: Likewise.
46724 * math/test-fenv.c: Likewise.
46725 * math/test-misc.c: Likewise.
46726 * stdlib/bug-getcontext.c: Likewise.
46728 2012-05-17 Andreas Jaeger <aj@suse.de>
46730 * manual/examples/search.c (critter_cmp): Change signature to
46732 * manual/string.texi (Collation Functions): Likewise.
46734 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
46736 * bits/types.h: Fold copyright years.
46737 * bits/typesizes.h: Likewise.
46738 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
46739 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
46740 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
46741 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
46742 * time/time.h: Likewise.
46744 2012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
46747 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
46748 in instead of returning them. Return void.
46749 (__libc_mallinfo): Accumulate over all arenas.
46750 (__malloc_stats): Adjust for change in int_mallinfo interface.
46752 2012-05-16 Roland McGrath <roland@hack.frob.com>
46755 * configure.in (NM): Add AC_CHECK_TOOL for it.
46756 (libc_extra_cflags): New substituted variable.
46757 Check for -fstack-protector being used implicitly.
46758 * configure: Regenerated.
46759 * config.make.in (config-extra-cflags): New variable,
46760 gets @libc_extra_cflags@.
46761 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
46764 * configure.in: Check for _FORTIFY_SOURCE being predefined.
46765 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
46766 * configure: Regenerated.
46767 * config.make.in (CPPUNDEFS): New substituted variable.
46768 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
46769 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
46770 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
46772 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
46774 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
46775 (mq_attr): Use __syscall_slong_t.
46777 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
46779 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
46780 Check __x86_64__ instead of __WORDSIZE.
46781 (_STAT_VER_LINUX): Likewise.
46782 (stat): Check __x86_64__ instead of __WORDSIZE. Use
46783 __syscall_ulong_t and __syscall_slong_t.
46784 (stat64): Likewise.
46786 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
46788 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
46790 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
46792 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
46794 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
46796 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
46799 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
46800 include <bits/wordsize.h>. Check __x86_64__ instead of
46802 (greg_t): Use "__extension__ long long int" if __x86_64__ is
46804 (mcontext_t): Replace "unsigned long" with "unsigned long long".
46806 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
46807 include <bits/wordsize.h>. Check __x86_64__ instead of
46809 (user_regs_struct): Use "__extension__ unsigned long long"
46810 instead of "unsigned long" if __x86_64__ is defined.
46811 (user): Likewise. Pad after pointer field if __ILP32__ is
46814 2012-05-16 Joseph Myers <joseph@codesourcery.com>
46816 * configure.in (makeinfo): Require version 4.5 or later. Allow
46818 * configure: Regenerated.
46819 * manual/install.texi (texinfo): Increase version requirement to
46821 * INSTALL: Regenerated.
46823 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
46825 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
46827 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
46829 * sysdeps/x86_64/x32/ffs.c: New file.
46831 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
46833 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
46834 defined. Use __syscall_ulong_t.
46835 (shminfo): Use __syscall_ulong_t.
46836 (shm_info): Likewise.
46838 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
46841 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
46843 (msgqnum_t): Use __syscall_ulong_t.
46844 (msglen_t): Likewise.
46845 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
46848 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
46849 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
46851 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
46853 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
46854 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
46856 * sysvipc/sys/msg.h (msgbuf): Replace long int with
46859 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
46860 include <bits/wordsize.h>. Check __x86_64__ instead of
46863 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
46864 "unsigned long long int" if __x86_64__ is defined.
46865 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
46867 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
46868 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
46869 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
46871 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
46873 (GET_PC): Cast to uintptr_t first.
46874 (GET_FRAME): Likewise.
46875 (GET_STACK): Likewise.
46877 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
46878 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
46879 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
46880 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
46881 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
46882 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
46883 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
46884 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
46885 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
46886 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
46887 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
46888 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
46889 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
46890 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
46891 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
46892 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
46893 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
46894 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
46895 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
46896 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
46897 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
46898 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
46899 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
46900 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
46901 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
46902 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
46903 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
46904 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
46905 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
46907 2012-05-16 Andreas Schwab <schwab@linux-m68k.org>
46909 * Makerules (+depfiles): Also collect depfiles from .oS in
46911 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
46912 .oS, $(libnldbl-routines)).
46914 * Makerules (native-compile-mkdep-flags): Define.
46915 * sunrpc/Makefile (extra-objs): Add $(addprefix
46916 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
46917 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
46918 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
46919 calling $(make-target-directory).
46921 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
46923 * bits/types.h (__snseconds_t): Removed.
46924 * time/time.h (struct timespec): Replace __snseconds_t with
46926 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
46927 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
46929 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
46930 (__SNSECONDS_T_TYPE): Likewise.
46931 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
46932 (__SNSECONDS_T_TYPE): Likewise.
46933 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
46934 (__SNSECONDS_T_TYPE): Likewise.
46936 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
46938 * sysdeps/mach/hurd/bits/typesizes.h
46939 (__SYSCALL_SLONG_TYPE): New macro.
46940 (__SYSCALL_ULONG_TYPE): Likewise.
46942 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
46944 * bits/types.h (__syscall_slong_t): New type.
46945 (__syscall_ulong_t): Likewise.
46947 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
46948 (__SYSCALL_ULONG_TYPE): Likewise.
46949 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
46950 (__SYSCALL_SLONG_TYPE): Likewise.
46951 (__SYSCALL_ULONG_TYPE): Likewise.
46952 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
46953 (__SYSCALL_SLONG_TYPE): Likewise.
46954 (__SYSCALL_ULONG_TYPE): Likewise.
46955 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
46956 (__SYSCALL_SLONG_TYPE): Likewise.
46957 (__SYSCALL_ULONG_TYPE): Likewise.
46959 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
46961 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
46962 Add sigaltstack-offsets.sym.
46963 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
46964 <sigaltstack-offsets.h>.
46965 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
46966 longjmp_msg pointer.
46967 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
46968 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
46970 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
46972 2012-05-15 Joseph Myers <joseph@codesourcery.com>
46974 * elf/stackguard-macros.h: Remove file.
46975 * sysdeps/generic/stackguard-macros.h: New file.
46976 * sysdeps/i386/stackguard-macros.h: Likewise.
46977 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
46978 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
46979 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
46980 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
46981 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
46982 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
46983 * sysdeps/x86_64/stackguard-macros.h: Likewise.
46984 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
46985 <elf/stackguard-macros.h>.
46988 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
46989 __aligned__ in attribute.
46990 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
46991 (gregset_t): Likewise.
46993 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
46995 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
46996 * sysdeps/x86_64/64/Implies-after: Here. New file.
46997 * sysdeps/x86_64/x32/Implies-after: New file.
46999 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
47001 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
47002 and access return value for _dl_profile_fixup. Use R10_LP to
47005 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
47007 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
47009 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
47011 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
47012 * sysdeps/x86_64/x32/sysdep.h: New file.
47014 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
47016 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
47017 * sysdeps/x86_64/setjmp.S: Likewise.
47019 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
47021 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
47022 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
47023 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
47024 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
47025 remove unused global constant.
47027 2012-05-15 Chris Metcalf <cmetcalf@tilera.com>
47029 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
47030 include of <not-cancel.h>.
47032 2012-05-15 Roland McGrath <roland@hack.frob.com>
47034 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
47036 2012-05-15 Jeff Law <law@redhat.com>
47037 Andreas Jaeger <aj@suse.de>
47040 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
47042 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
47043 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
47044 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
47045 code changing __hst_map_handle.map.
47047 2012-05-15 Roland McGrath <roland@hack.frob.com>
47049 * configure.in (sysnames): Look for Implies-before and Implies-after
47051 * configure: Regenerated.
47053 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
47055 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
47056 8-byte data alignment with LP_SIZE alignment.
47058 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
47060 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
47063 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
47065 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
47067 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
47069 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
47070 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
47071 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
47073 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
47075 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
47077 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
47078 (stackinfo_sub_sp): Likewise.
47080 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
47082 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
47085 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
47087 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
47090 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
47092 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
47095 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
47097 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
47099 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
47101 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
47102 into R11_LP and load __x86_64_shared_cache_size_half into
47105 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
47107 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
47110 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
47112 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
47114 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
47116 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
47118 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
47119 powerpc32/power7/fpu/s_logb.c via #include.
47120 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
47121 powerpc32/power7/fpu/s_logbf.c via #include.
47122 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
47123 powerpc32/power7/fpu/s_logbl.c via #include.
47125 2012-05-15 Joseph Myers <joseph@codesourcery.com>
47127 * README.libm: Remove file.
47129 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
47131 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
47132 count for x32. Use R*_LP and omit operand-size suffix.
47134 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
47136 * shlib-versions: Move x86_64-.*-linux.* entries to ...
47137 * sysdeps/x86_64/64/shlib-versions: Here. New file.
47138 * sysdeps/x86_64/x32/shlib-versions: New file.
47140 2012-05-14 Roland McGrath <roland@hack.frob.com>
47142 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
47143 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
47144 Use _dl_fatal_printf instead.
47146 2012-05-14 Joseph Myers <joseph@codesourcery.com>
47148 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
47149 set if not set by the user. Do not allow for being unset.
47150 * sysdeps/unix/sysv/linux/configure: Regenerated.
47152 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
47154 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
47155 the `q' suffix from lea and replace .quad with ASM_ADDR.
47157 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
47159 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
47160 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
47162 (PTR_DEMANGLE): Likewise.
47164 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
47166 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
47168 (ASM_ADDR): Likewise.
47169 (RAX_LP): Likewise.
47170 (RBP_LP): Likewise.
47171 (RBX_LP): Likewise.
47172 (RCX_LP): Likewise.
47173 (RDI_LP): Likewise.
47174 (RSI_LP): Likewise.
47175 (RSP_LP): Likewise.
47178 (R10_LP): Likewise.
47179 (R10_LP): Likewise.
47180 (R11_LP): Likewise.
47181 (R12_LP): Likewise.
47182 (R13_LP): Likewise.
47183 (R14_LP): Likewise.
47184 (R15_LP): Likewise.
47186 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
47188 * sysdeps/x86_64/x32/dl-machine.h: New file.
47190 2012-05-14 Andreas Jaeger <aj@suse.de>
47192 * manual/Makefile (subdir): Remove export of subdir.
47193 (all): Remove target.
47194 (.PHONY): Remove all from list.
47195 (mkinstalldirs): Remove.
47196 (.PHONY): Remove installdirs from list.
47197 ($(inst_infodir)/libc.info): Use make-target-directory.
47198 (installdirs): Remove.
47199 (subdir_%): Remove.
47200 (glibc-targets): Remove.
47203 ($(objpfx)stubs ../po/manual.pot): Remove.
47204 ($(objpfx)stamp%): Remove.
47205 (make-target-directory): Remove.
47206 (subdir_install): Remove.
47207 (routines): Remove.
47214 * manual/.gitignore: Remove, it's not needed anymore.
47215 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
47217 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
47219 (texis): Renamed to $(objpfx)texis.
47220 (texis-path): New, contains path to generated files.
47221 (chapters.%): Use texis-path for complete path, add extra argument
47223 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
47224 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
47225 (summary,texi, stamp-summary): Use complete path of
47226 files. Generate files in build dir.
47227 (dir-add.texi): Build in build dir.
47228 (libm-err.texi,stamp-libm-err): Likewise.
47229 (version.texi, stamp-version): Likewise.
47230 (.%c.texi): Likewise.
47231 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
47232 (mostlyclean): Remove target.
47233 (realclean): Remove target.
47234 (generated): Add new variable with contents from mostlyclean and
47235 realclean, remove entries duplicated in common-mostlyclean, add
47236 stamp-libm-err and stamp-version.
47237 (generated-dirs): Add libc directory.
47238 ($(inst_infodir)/libc.info): Install files from build dir.
47240 * manual/install.texi (Configuring and compiling): Adjust since
47241 the info files are not part of the tar ball anymore.
47243 2012-05-14 Andreas Jaeger <aj@suse.de>
47245 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
47248 2012-05-14 Joseph Myers <joseph@codesourcery.com>
47251 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
47252 to 2.2.0 where earlier.
47253 * sysdeps/unix/sysv/linux/configure: Regenerated.
47254 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
47255 Remove conditional code.
47256 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
47257 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
47258 Remove conditional code.
47259 [!__NR_lchown]: Likewise.
47260 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
47261 [__NR_lchown]: Likewise.
47262 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
47263 comment referencing __ASSUME_LCHOWN_SYSCALL.
47264 * sysdeps/unix/sysv/linux/i386/sigaction.c
47265 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
47266 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
47267 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
47268 Remove conditional code.
47269 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
47270 (__protocol_available): Remove #if 0 code.
47271 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
47273 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
47274 * sysdeps/unix/sysv/linux/kernel-features.h
47275 (__ASSUME_GETCWD_SYSCALL): Don't define.
47276 (__ASSUME_REALTIME_SIGNALS): Likewise.
47277 (__ASSUME_PREAD_SYSCALL): Likewise.
47278 (__ASSUME_PWRITE_SYSCALL): Likewise.
47279 (__ASSUME_POLL_SYSCALL): Likewise.
47280 (__ASSUME_LCHOWN_SYSCALL): Likewise.
47281 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
47283 (__ASSUME_SIOCGIFNAME): Don't define.
47284 (__ASSUME_MSG_NOSIGNAL): Likewise.
47285 (__ASSUME_SENDFILE): Define unconditionally.
47286 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
47287 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
47289 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
47290 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
47291 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
47292 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
47293 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
47294 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
47295 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
47296 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
47297 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
47298 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
47299 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
47300 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
47301 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
47302 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
47303 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
47304 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
47305 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
47306 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
47307 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
47308 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
47309 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
47310 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
47311 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
47312 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
47313 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
47314 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
47315 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
47316 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
47317 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
47318 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
47319 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
47320 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
47321 Remove conditional code.
47322 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
47323 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
47324 Remove conditional code.
47325 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
47326 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
47327 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
47328 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
47329 Remove conditional code.
47330 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
47331 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
47332 Remove conditional code.
47333 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
47334 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
47335 Remove conditional code.
47336 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
47337 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
47338 Remove conditional code.
47339 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
47340 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
47341 Remove conditional code.
47342 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
47343 * sysdeps/unix/sysv/linux/sh/pwrite64.c
47344 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
47345 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
47346 * sysdeps/unix/sysv/linux/sigaction.c
47347 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
47348 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
47349 * sysdeps/unix/sysv/linux/sigpending.c
47350 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
47351 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
47352 * sysdeps/unix/sysv/linux/sigprocmask.c
47353 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
47354 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
47355 * sysdeps/unix/sysv/linux/sigsuspend.c
47356 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
47357 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
47358 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
47359 (__libc_missing_rt_sigs): Remove.
47360 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
47361 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
47362 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
47363 Remove conditional code.
47364 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
47365 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
47367 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
47368 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
47369 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
47370 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
47372 2012-05-14 Andreas Jaeger <aj@suse.de>
47374 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
47375 it's not used in glibc.
47376 (__coshm1): Likewise.
47377 (__acosh1p): Likewise.
47380 * manual/string.texi (Copying and Concatenation): Add missing
47381 variable in concat example.
47382 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
47384 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
47387 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
47388 __builtin_clzl with __builtin_clzll.
47390 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
47393 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
47396 2012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
47398 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
47399 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
47400 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
47401 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
47403 2012-05-14 Mike Frysinger <vapier@gentoo.org>
47405 * NEWS: Update ia64 info.
47407 2012-05-12 Andreas Schwab <schwab@linux-m68k.org>
47409 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
47412 2012-05-12 Thomas Schwinge <thomas@codesourcery.com>
47414 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
47415 * sysdeps/unix/syscalls.list (dup3): Likewise.
47416 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
47417 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
47419 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
47421 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
47422 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
47424 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
47426 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
47428 (TLS_IE): Use mov/add instead of movq/addq to load thread
47430 (TLS_GD_PREFIX): New.
47433 2012-05-11 David S. Miller <davem@davemloft.net>
47435 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
47436 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
47437 (_FPU_SETCW): Likewise.
47439 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
47441 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
47442 is 32-byte aligned.
47444 2012-05-11 Andreas Schwab <schwab@linux-m68k.org>
47447 * iconvdata/gb18030.c: Update tables.
47448 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
47449 characters specially.
47450 (BODY for TO_LOOP): Add encoding of missing ranges.
47452 2012-05-11 Thomas Schwinge <thomas@codesourcery.com>
47455 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
47456 * sysdeps/mach/hurd/dup3.c: Likewise.
47457 * sysdeps/mach/hurd/readlinkat.c: Likewise.
47458 * sysdeps/powerpc/memmove.c:: Likewise.
47460 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
47462 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
47463 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
47465 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
47467 * elf/elf.h (R_X86_64_RELATIVE64): New.
47468 (R_X86_64_NUM): Updated.
47469 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
47470 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
47471 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
47472 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
47473 tst-quad1pie tst-quad2pie
47474 (modules-names): Add tst-quadmod1 tst-quadmod2.
47475 ($(objpfx)tst-quad1): New dependency.
47476 ($(objpfx)tst-quad2): Likewise.
47477 ($(objpfx)tst-quad1pie): Likewise.
47478 ($(objpfx)tst-quad2pie): Likewise.
47479 * sysdeps/x86_64/tst-quad1.c: New file.
47480 * sysdeps/x86_64/tst-quad1pie.c: New file.
47481 * sysdeps/x86_64/tst-quad2.c: Likewise.
47482 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
47483 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
47484 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
47485 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
47486 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
47488 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
47490 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
47491 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
47492 * streams/stropts.h (t_scalar_t): Define type.
47494 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
47495 (_PATH_PRESERVE): Set to "/var/lib".
47496 (_PATH_RWHODIR): Set to "/var/spool/rwho".
47498 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
47501 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
47502 if __dir_mkfile succeeded.
47504 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
47505 checking for _hurd_dtablesize. Unlock it right after having
47506 finished _hurd_dtable allocation.
47508 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
47510 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
47511 * sysdeps/mach/hurd/configure: Regenerated.
47512 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
47513 special-casing to...
47514 * sysdeps/gnu/configure.in: ... this new file.
47515 * sysdeps/unix/sysv/linux/configure: Regenerated.
47516 * sysdeps/gnu/configure: New generated file.
47518 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
47519 for Linux: use nsec instead of usec, as well as:
47520 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
47521 members of type struct timespec.
47522 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
47524 (struct stat64): Likewise.
47525 (_STATBUF_ST_NSEC): New macro.
47526 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
47528 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
47529 __strtoul_internal rather than strtoul.
47531 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
47533 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
47536 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
47538 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
47539 which preserves existing values.
47540 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
47542 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
47544 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
47545 TIMEOUT values. Return EINVAL for NFDS values either negative or
47546 greater than FD_SETSIZE.
47548 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
47550 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
47551 allocated, call __vm_protect to finish enabling the existing space, and
47552 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
47553 allocate the remainder.
47555 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
47557 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
47558 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
47560 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
47562 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
47563 sysdeps/mach/hurd/readlink.c.
47565 * posix/tst-sysconf.c (posix_options): Only use
47566 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
47567 _POSIX_SYNCHRONIZED_IO when they are defined
47568 * sysdeps/mach/hurd/bits/posix_opt.h:
47569 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
47570 (_XOPEN_REALTIME): Undefine macro.
47571 (_XOPEN_REALTIME_THREADS): Undefine macro.
47572 (_XOPEN_SHM): Undefine macro.
47573 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
47575 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
47577 (_POSIX_ASYNC_IO): Undefine macro.
47578 (_POSIX_PRIORITIZED_IO): Undefine macro.
47579 (_POSIX_SPIN_LOCKS): Define macro to -1.
47581 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
47582 SA_NODEFER, SA_RESETHAND.
47583 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
47584 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
47587 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
47589 * elf/Makefile (pldd-modules): Define unconditionally.
47591 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
47593 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
47595 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
47597 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
47598 Return ENOENT when name is empty.
47599 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
47601 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
47603 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
47605 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
47607 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
47609 Fix mlock in all cases except non-readable pages.
47610 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
47611 instead of VM_PROT_ALL as parameter to __vm_wire function.
47613 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
47614 (__mkdir): When path is `/', just fail with EEXIST.
47615 * sysdeps/mach/hurd/mkdirat.c: Likewise.
47617 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
47619 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
47620 <sys/uio.h> (for writev).
47621 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
47622 and <sys/param.h> (for MIN).
47624 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
47626 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
47627 REQUESTED_TIME. Properly set the remaining time and return EINTR
47630 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
47632 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
47633 Depend on against $(link-rpcuserlibs).
47635 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
47637 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
47638 (__libc_stack_end): Do not use attribute_relro.
47639 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
47640 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
47641 to libthread-provided value.
47642 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
47645 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
47648 * bits/libc-lock.h (__libc_once_get): New macro.
47649 * sysdeps/mach/bits/libc-lock.h: Likewise.
47650 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
47651 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
47652 instead of using implementation details.
47654 * libio/fileops.c: Unconditionally include <kernel-features.h>.
47655 * libio/freopen.c: Likewise.
47656 * libio/freopen64.c: Likewise.
47657 * misc/syslog.c: Likewise.
47658 * nscd/connections.c: Likewise.
47659 * nscd/netgroupcache.c: Likewise.
47660 * sysdeps/posix/getcwd.c: Likewise.
47662 2012-05-10 Roland McGrath <roland@hack.frob.com>
47664 * math/w_ilogbf.c: Add #include <limits.h>.
47666 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
47668 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
47669 path instead of returning without unlocking.
47671 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
47672 immediate-write ioctls.
47673 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
47675 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
47677 * sysdeps/mach/hurd/i386/init-first.c (init): Use
47678 __builtin_frame_address instead of making assumptions about the
47679 location of the return address relative to DATA. Force early load of
47680 the return address.
47681 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
47682 __builtin_frame_address.
47685 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
47686 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
47687 implement dup3 and do some further code clean-ups.
47688 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
47689 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
47691 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
47693 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
47695 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
47696 HURD_CRITICAL_END around holding _hurd_dtable_lock.
47697 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
47698 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
47699 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
47702 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
47703 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
47704 when handler == SIG_ERR, not when handler != SIG_ERR.
47706 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
47708 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
47709 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
47712 accept4 for GNU Hurd.
47713 * include/sys/socket.h (__libc_accept4): New prototype.
47714 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
47715 to implement __libc_accept4.
47716 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
47718 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
47720 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
47721 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
47722 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
47723 signal-defines.sym.
47725 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
47727 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
47729 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
47731 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
47732 assertion on O_CLOEXEC flag.
47733 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
47734 * hurd/intern-fd.c: Likewise.
47735 * hurd/port2fd.c: Likewise.
47737 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
47740 * bits/in.h (IPV6_PKTINFO): Define new macro.
47741 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
47743 2012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
47748 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
47749 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
47750 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
47751 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
47752 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
47753 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
47754 * math/libm-test.inc (logb_test) : Additional logb tests.
47756 2012-05-09 Andreas Schwab <schwab@linux-m68k.org>
47757 Andreas Jaeger <aj@suse.de>
47759 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
47760 * configure: Regenerated.
47761 * config.h.in (LINK_OBSOLETE_RPC): New macro.
47762 * config.make.in (link-obsolete-rpc): New substituted variable.
47763 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
47764 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
47765 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
47766 (shared-only-routines): Don't set it under [link-obsolete-rpc],
47767 so that libc.a contains the symbols.
47768 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
47769 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
47770 * sunrpc/auth_none.c: Likewise.
47771 * sunrpc/auth_unix.c: Likewise.
47772 * sunrpc/authdes_prot.c: Likewise.
47773 * sunrpc/authuxprot.c: Likewise.
47774 * sunrpc/clnt_gen.c: Likewise.
47775 * sunrpc/clnt_perr.c: Likewise.
47776 * sunrpc/clnt_raw.c: Likewise.
47777 * sunrpc/clnt_simp.c: Likewise.
47778 * sunrpc/clnt_tcp.c: Likewise.
47779 * sunrpc/clnt_udp.c: Likewise.
47780 * sunrpc/clnt_unix.c: Likewise.
47781 * sunrpc/des_crypt.c: Likewise.
47782 * sunrpc/des_soft.c: Likewise.
47783 * sunrpc/get_myaddr.c: Likewise.
47784 * sunrpc/key_call.c: Likewise.
47785 * sunrpc/key_prot.c: Likewise.
47786 * sunrpc/netname.c: Likewise.
47787 * sunrpc/pm_getmaps.c: Likewise.
47788 * sunrpc/pm_getport.c: Likewise.
47789 * sunrpc/pmap_clnt.c: Likewise.
47790 * sunrpc/pmap_prot.c: Likewise.
47791 * sunrpc/pmap_prot2.c: Likewise.
47792 * sunrpc/pmap_rmt.c: Likewise.
47793 * sunrpc/publickey.c: Likewise.
47794 * sunrpc/rpc_cmsg.c: Likewise.
47795 * sunrpc/rpc_common.c: Likewise.
47796 * sunrpc/rpc_dtable.c: Likewise.
47797 * sunrpc/rpc_prot.c: Likewise.
47798 * sunrpc/rpc_thread.c: Likewise.
47799 * sunrpc/rtime.c: Likewise.
47800 * sunrpc/svc.c: Likewise.
47801 * sunrpc/svc_auth.c: Likewise.
47802 * sunrpc/svc_raw.c: Likewise.
47803 * sunrpc/svc_run.c: Likewise.
47804 * sunrpc/svc_tcp.c: Likewise.
47805 * sunrpc/svc_udp.c: Likewise.
47806 * sunrpc/svc_unix.c: Likewise.
47807 * sunrpc/svcauth_des.c: Likewise.
47808 * sunrpc/xcrypt.c: Likewise.
47809 * sunrpc/xdr.c: Likewise.
47810 * sunrpc/xdr_array.c: Likewise.
47811 * sunrpc/xdr_float.c: Likewise.
47812 * sunrpc/xdr_intXX_t.c: Likewise.
47813 * sunrpc/xdr_mem.c: Likewise.
47814 * sunrpc/xdr_rec.c: Likewise.
47815 * sunrpc/xdr_ref.c: Likewise.
47816 * sunrpc/xdr_sizeof.c: Likewise.
47817 * sunrpc/xdr_stdio.c: Likewise.
47819 2012-05-10 Roland McGrath <roland@hack.frob.com>
47821 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
47822 change. Update copyright years.
47824 2012-05-10 Joseph Myers <joseph@codesourcery.com>
47826 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
47828 2012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
47829 Joseph Myers <joseph@codesourcery.com>
47830 Paul Pluzhnikov <ppluzhnikov@google.com>
47833 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
47835 [cross-compiling] (extra-libs): Likewise.
47836 [cross-compiling] (extra-libs-others): Likewise.
47837 [cross-compiling] (librpcsvc-routines): Likewise.
47838 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
47839 [cross-compiling] (omit-deps): Likewise.
47840 (sunrpc-CPPFLAGS): New variable.
47841 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
47842 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
47843 (cross-rpcgen-objs): New variable.
47844 (extra-objs): Append $(cross-rpcgen-objs).
47845 ($(cross-rpcgen-objs)): New rule.
47846 ($(objpfx)cross-rpcgen): Likewise.
47847 (rpcgen-cmd): Define to use $(built-program-file). Expand
47849 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
47850 ($(objpfx)x%.stmp): Likewise.
47851 * sunrpc/proto.h [IS_IN_build] (_): Define.
47852 [IS_IN_build] (_libc_intl_domainname): Likewise.
47854 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
47856 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
47857 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
47858 and R_X86_64_TPOFF64.
47860 2012-05-10 Joseph Myers <joseph@codesourcery.com>
47862 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
47863 sysdeps/unix/sysv/syscalls.list.
47866 * sysdeps/unix/sysv/syscalls.list: Remove file.
47868 2012-05-10 Paul Eggert <eggert@cs.ucla.edu>
47871 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
47872 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
47873 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
47874 (__LC_IDENTIFICATION): Make these macros useful in #if
47875 expressions, as required by C99.
47877 2012-05-10 Andreas Schwab <schwab@linux-m68k.org>
47879 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
47880 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
47883 2012-05-09 H.J. Lu <hongjiu.lu@intel.com>
47885 * stdlib/longlong.h: Updated from GCC.
47887 2012-05-09 Andreas Jaeger <aj@suse.de>
47889 * nscd/nscd.c (run_modes): Make named enum, reorder so that
47890 default is first entry.
47891 (run_mode): Set type.
47892 (main): Remove informal message about syslog.
47893 (options): Fix typo.
47896 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
47899 (llrintf): Likewise.
47900 (llrint): Likewise.
47903 (nearbyint): Likewise.
47904 (nearbyintf): Likewise.
47906 2012-05-09 Andreas Jaeger <aj@suse.de>
47907 Pedro Alves <palves@redhat.com>
47909 * nscd/nscd.c (run_mode): Use enum.
47910 (main): Cleanup coding style issue.
47912 2012-05-09 Alexandre Oliva <aoliva@redhat.com>
47913 Andreas Jaeger <aj@suse.de>
47915 * nscd/nscd.c (go_background): Replaced with...
47916 (run_mode): ... this.
47917 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
47918 (options): Add -F --foreground.
47919 (main): Implement it.
47920 (parse_opt): Parse it.
47922 2012-05-09 Andreas Jaeger <aj@suse.de>
47925 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
47926 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
47927 -Wconversion warning.
47928 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
47931 2012-05-09 Joseph Myers <joseph@codesourcery.com>
47933 * conform/data/locale.h-data (NULL): Use macro-constant. Require
47935 (LC_ALL): Use macro-int-constant.
47936 (LC_COLLATE): Likewise.
47937 (LC_CTYPE): Likewise.
47938 (LC_MESSAGES): Likewise.
47939 (LC_MONETARY): Likewise.
47940 (LC_NUMERIC): Likewise.
47941 (LC_TIME): Likewise.
47942 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
47943 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
47944 [ISO || ISO99 || ISO11] (*_t): Do not allow.
47945 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
47947 [C99-based standards] (float_t): Expect type.
47948 [C99-based standards] (double_t): Expect type.
47949 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
47951 [C99-based standards] (HUGE_VALL): Likewise.
47952 [C99-based standards] (INFINITY): Likewise.
47953 [C99-based standards] (NAN): Likewise.
47954 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
47955 [C99-based standards] (FP_NAN): Likewise.
47956 [C99-based standards] (FP_NORMAL): Likewise.
47957 [C99-based standards] (FP_SUBNORMAL): Likewise.
47958 [C99-based standards] (FP_ZERO): Likewise.
47959 [C99-based standards] (FP_FAST_FMA): Use
47960 optional-macro-int-constant. Specify type. Require == 1.
47961 [C99-based standards] (FP_FAST_FMAF): Likewise.
47962 [C99-based standards] (FP_FAST_FMAL): Likewise.
47963 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
47964 [C99-based standards] (FP_ILOGBNAN): Likewise.
47965 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
47967 [C99-based standards] (MATH_ERREXCEPT): Likewise.
47968 [C99-based standards] (math_errhandling): Specify type.
47969 [ISO99 || ISO11] (signgam): Do not allow.
47970 [non-C99-based standards] (copysignf): Do not allow.
47971 [non-C99-based standards] (exp2f): Likewise.
47972 [non-C99-based standards] (log2f): Likewise.
47973 [non-C99-based standards] (modff): Allow.
47974 [non-C99-based standards] (erff): Do not allow.
47975 [non-C99-based standards] (erfcf): Likewise.
47976 [non-C99-based standards] (gammaf): Likewise.
47977 [non-C99-based standards] (hypotf): Likewise.
47978 [non-C99-based standards] (j0f): Likewise.
47979 [non-C99-based standards] (j1f): Likewise.
47980 [non-C99-based standards] (jnf): Likewise.
47981 [non-C99-based standards] (lgammaf): Likewise.
47982 [non-C99-based standards] (tgammaf): Likewise.
47983 [non-C99-based standards] (y0f): Likewise.
47984 [non-C99-based standards] (y1f): Likewise.
47985 [non-C99-based standards] (ynf): Likewise.
47986 [non-C99-based standards] (isnanf): Likewise.
47987 [non-C99-based standards] (acoshf): Likewise.
47988 [non-C99-based standards] (asinhf): Likewise.
47989 [non-C99-based standards] (atanhf): Likewise.
47990 [non-C99-based standards] (cbrtf): Likewise.
47991 [non-C99-based standards] (expm1f): Likewise.
47992 [non-C99-based standards] (ilogbf): Likewise.
47993 [non-C99-based standards] (log1pf): Likewise.
47994 [non-C99-based standards] (logbf): Likewise.
47995 [non-C99-based standards] (nextafterf): Likewise.
47996 [non-C99-based standards] (remainderf): Likewise.
47997 [non-C99-based standards] (rintf): Likewise.
47998 [non-C99-based standards] (scalbf): Likewise.
47999 [non-C99-based standards] (copysignl): Likewise.
48000 [non-C99-based standards] (exp2l): Likewise.
48001 [non-C99-based standards] (log2l): Likewise.
48002 [non-C99-based standards] (modfl): Allow.
48003 [non-C99-based standards] (erfl): Do not allow.
48004 [non-C99-based standards] (erfcl): Likewise.
48005 [non-C99-based standards] (gammal): Likewise.
48006 [non-C99-based standards] (hypotl): Likewise.
48007 [non-C99-based standards] (j0l): Likewise.
48008 [non-C99-based standards] (j1l): Likewise.
48009 [non-C99-based standards] (jnl): Likewise.
48010 [non-C99-based standards] (lgammal): Likewise.
48011 [non-C99-based standards] (tgammal): Likewise.
48012 [non-C99-based standards] (y0l): Likewise.
48013 [non-C99-based standards] (y1l): Likewise.
48014 [non-C99-based standards] (ynl): Likewise.
48015 [non-C99-based standards] (isnanl): Likewise.
48016 [non-C99-based standards] (acoshl): Likewise.
48017 [non-C99-based standards] (asinhl): Likewise.
48018 [non-C99-based standards] (atanhl): Likewise.
48019 [non-C99-based standards] (cbrtl): Likewise.
48020 [non-C99-based standards] (expm1l): Likewise.
48021 [non-C99-based standards] (ilogbl): Likewise.
48022 [non-C99-based standards] (log1pl): Likewise.
48023 [non-C99-based standards] (logbl): Likewise.
48024 [non-C99-based standards] (nextafterl): Likewise.
48025 [non-C99-based standards] (remainderl): Likewise.
48026 [non-C99-based standards] (rintl): Likewise.
48027 [non-C99-based standards] (scalbl): Likewise.
48028 [ISO || ISO99 || ISO11] (*_t): Do not allow.
48029 [non-C99-based standards] (FP_*): Do not allow.
48030 [C99-based standards] (FP_*): Change to
48031 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
48032 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
48034 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
48035 (SIG_ERR): Likewise.
48036 [X/Open-based standards] (SIG_HOLD): Likewise.
48037 (SIG_IGN): Likewise.
48038 (SIGABRT): Use macro-int-constant. Specify type. Require
48040 (SIGFPE): Likewise.
48041 (SIGILL): Likewise.
48042 (SIGINT): Likewise.
48043 (SIGSEGV): Likewise.
48044 (SIGTER): Likewise.
48045 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
48046 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
48047 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
48048 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
48049 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
48050 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
48051 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
48052 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
48053 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
48054 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
48055 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
48056 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
48057 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
48058 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
48059 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
48060 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
48061 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
48062 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
48063 [X/Open-based standards] (SIGTRAP): Likewise.
48064 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
48065 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
48066 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
48067 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
48068 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
48071 2012-05-08 Ian Wienand <ianw@vmware.com>
48074 * time/tzset.c (__tzset_parse_tz): Update default rules for
48075 daylight time changes in the Energy Policy Act of 2005.
48077 2012-05-09 Andreas Jaeger <aj@suse.de>
48080 * elf/ldconfig.c (parse_conf): Change string to make clear that
48081 ldconfig only issued a warning if ld.so.conf does not exist.
48083 2012-05-08 David S. Miller <davem@davemloft.net>
48085 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
48086 movxtod instead of popping the value on the stack.
48088 * sysdeps/sparc/fpu/libm-test-ulps: Update.
48090 2012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
48092 * config.h.in: Add HAVE_ARM_PCS_VFP.
48094 2012-05-08 Roland Mc Grath <roland@hack.frob.com>
48097 * include/features.h: Warn if user requests __FORTIFY_SOURCE
48098 checking but the checks are disabled for any reason.
48100 2012-05-08 H.J. Lu <hongjiu.lu@intel.com>
48102 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
48103 and ELF64_R_TYPE with ELFW(R_TYPE).
48105 2012-05-08 Joseph Myers <joseph@codesourcery.com>
48107 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
48108 (ulimit): Likewise.
48110 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
48111 (settimeofday): Likewise.
48113 2012-05-08 Mike Frysinger <vapier@gentoo.org>
48115 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
48116 a struct th_u2 inside the union, and move tu_block/tu_code into
48117 a new th_u3 union of tu_block/tu_code inside of that. Move
48118 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
48119 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
48120 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
48121 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
48122 (th_stuff): Change to th_u1.tu_stuff.
48124 (th_msg): Change to th_u1.th_u2.tu_data.
48126 2012-05-07 David S. Miller <davem@davemloft.net>
48128 * sysdeps/sparc/fpu/libm-test-ulps: Update.
48131 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
48132 (SETUP_PIC_REG): Use it.
48133 (SETUP_PIC_REG_LEAF): Use it.
48135 2012-05-07 Joseph Myers <joseph@codesourcery.com>
48139 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
48141 (EXPL_FINITE): Likewise.
48142 (FLDLOG): Likewise.
48143 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
48144 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
48146 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
48148 (EXPL_FINITE): Likewise.
48149 (FLDLOG): Likewise.
48150 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
48151 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
48153 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
48154 test of -max_value argument for long double.
48155 * sysdeps/i386/fpu/libm-test-ulps: Update.
48156 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48158 2012-05-06 David S. Miller <davem@davemloft.net>
48160 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
48161 quad soft-float symbols whose references which are compiler
48163 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
48165 2012-05-06 Joseph Myers <joseph@codesourcery.com>
48169 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
48171 (EXPL_FINITE): Likewise.
48172 (FLDLOG): Likewise.
48175 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
48176 Adjust comments for base varying.
48177 (__expl_finite): Change alias to EXPL_FINITE.
48178 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
48180 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
48181 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
48182 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
48183 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
48184 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
48186 (EXPL_FINITE): Likewise.
48187 (FLDLOG): Likewise.
48190 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
48191 Adjust comments for base varying.
48192 (__expl_finite): Change alias to EXPL_FINITE.
48193 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
48195 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
48198 * math/libm-test.inc (check_float_internal): Correct ulp
48199 calculation for subnormal expected results.
48201 2012-05-06 Andreas Jaeger <aj@suse.de>
48203 * Makeconfig (+math-flags): New, set to -frounding-math.
48204 (+cflags): Add +math-flags so that all of glibc gets compiled with
48207 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
48209 2012-05-05 Joseph Myers <joseph@codesourcery.com>
48211 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
48217 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
48218 (__ieee754_expl): Allow for and saturate large arguments.
48219 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
48220 (u_threshold): Likewise.
48221 (__exp): Call __ieee754_exp before checking for overflow and
48223 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
48224 (u_threshold): Likewise.
48225 (__expf): Call __ieee754_expf before checking for overflow and
48227 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
48228 (u_threshold): Likewise.
48229 (__expl): Call __ieee754_expl before checking for overflow and
48231 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
48232 (__ieee754_expl): Allow for and saturate large arguments.
48233 * math/libm-test.inc (exp_test): Add another test. Do not allow
48234 missing overflow exception on overflow.
48235 (expm1_test): Do not allow missing overflow exception on overflow.
48237 * sysdeps/i386/fpu/e_expl.c: Move to ...
48238 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
48239 rather than using inline asm.
48240 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
48241 * sysdeps/x86_64/fpu/e_expl.S: Copy from
48242 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
48244 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
48247 (signal): Likewise.
48251 2012-05-04 Joseph Myers <joseph@codesourcery.com>
48253 * sysdeps/unix/syscalls.list (adjtime): Add entry from
48254 sysdeps/unix/common/syscalls.list.
48255 (fchmod): Likewise.
48256 (fchown): Likewise.
48257 (ftruncate): Likewise.
48258 (getrusage): Likewise.
48259 (gettimeofday): Likewise.
48260 (setpgid): Likewise.
48261 (setregid): Likewise.
48262 (setreuid): Likewise.
48263 (sigaction): Likewise.
48264 (truncate): Likewise.
48265 (vhangup): Likewise.
48266 * sysdeps/unix/common/syscalls.list: Remove file.
48267 * sysdeps/unix/bsd/Implies: Don't include unix/common.
48268 * sysdeps/unix/sysv/linux/Implies: Likewise.
48270 2012-05-04 H.J. Lu <hongjiu.lu@intel.com>
48272 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
48273 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
48274 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
48276 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
48278 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
48280 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
48281 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
48283 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
48284 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
48286 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
48287 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
48289 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
48290 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
48292 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
48293 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
48295 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
48296 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
48298 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
48300 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
48302 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
48304 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
48306 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
48307 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
48309 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
48311 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
48313 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
48315 2012-05-04 Joseph Myers <joseph@codesourcery.com>
48317 * sysdeps/unix/common/bits/dirent.h: Remove file.
48318 * sysdeps/unix/common/bits/fcntl.h: Likewise.
48320 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
48321 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
48322 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
48323 * sysdeps/unix/bsd/isatty.c: Likewise.
48324 * sysdeps/unix/bsd/tcdrain.c: Likewise.
48325 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
48326 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
48328 2012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
48331 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
48332 long double comparison inaccuracies.
48333 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
48334 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
48336 2012-05-04 Andreas Schwab <schwab@linux-m68k.org>
48338 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
48339 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
48341 2012-05-04 Joseph Myers <joseph@codesourcery.com>
48344 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
48345 nonzero digits before rounding a hex value.
48346 * stdlib/tst-strtod.c (tests): Add another test.
48348 2012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
48350 * sysdeps/s390/fpu/libm-test-ulps: Update.
48352 2012-05-03 Andreas Jaeger <aj@suse.de>
48354 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
48355 does not get optimized out.
48356 (malloc_opt_barrier): New.
48358 2012-05-03 Andreas Jaeger <aj@suse.de>
48359 Roland McGrath <roland@hack.frob.com>
48361 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
48362 intermediate file deletion.
48363 (generated): Add .symlist files.
48365 2012-05-03 Joseph Myers <joseph@codesourcery.com>
48368 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
48369 Redirect under this condition.
48370 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
48371 [__USE_GNU] (__dprintf_chk): Not under this condition.
48372 [__USE_GNU] (__vdprintf_chk): Likewise.
48373 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
48374 under this condition.
48375 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
48376 [__USE_XOPEN2K8] (dprintf): Define under this condition.
48377 [__USE_XOPEN2K8] (vdprintf): Likewise.
48378 [__USE_GNU] (__dprintf_chk): Not under this condition.
48379 [__USE_GNU] (__vdprintf_chk): Likewise.
48380 [__USE_GNU] (dprintf): Likewise.
48381 [__USE_GNU] (vdprintf): Likewise.
48383 2012-05-03 Roland McGrath <roland@hack.frob.com>
48385 * elf/Makefile (common-generated): Set this instead of generated for
48386 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
48387 $(all-built-dso)-derived lists.
48389 2012-05-03 Andreas Jaeger <aj@suse.de>
48391 * sysdeps/i386/fpu/libm-test-ulps: Update.
48394 * FAQ.in: Likewise.
48395 * scripts/gen-FAQ.pl: Likewise.
48396 * manual/install.texi (Installation): Point to online location of
48398 * Makefile (files-for-dist): Remove FAQ.
48401 2012-05-02 Allan McRae <allan@archlinux.org>
48403 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
48404 (LDFLAGS-reldepmod5.so): Likewise.
48405 (LDFLAGS-reldep6mod1.so): Likewise.
48406 (LDFLAGS-reldep6mod4.so): Likewise.
48407 (LDFLAGS-reldep8mod3.so): Likewise.
48408 (LDFLAGS-unload4mod1.so): Likewise.
48409 (LDFLAGS-unload4mod2.so): Likewise.
48410 (LDFLAGS-tst-initorder): Likewise.
48411 (LDFLAGS-tst-initordera2.so): Likewise.
48412 (LDFLAGS-tst-initordera3.so): Likewise.
48413 (LDFLAGS-tst-initordera4.so): Likewise.
48414 (LDFLAGS-tst-initorderb2.so): Likewise.
48415 (LDFLAGS-noload): Likewise.
48416 (LDFLAGS-next): Likewise.
48417 (LDFLAGS-order2mod1.so): Likewise.
48418 (LDFLAGS-order2mod2.so): Likewise.
48419 (LDFLAGS-tst-initorder2): Likewise.
48420 (LDFLAGS-tst-initorder2a.so): Likewise.
48421 (LDFLAGS-tst-initorder2b.so): Likewise.
48422 (LDFLAGS-tst-initorder2c.so): Likewise.
48423 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
48425 2012-05-02 David S. Miller <davem@davemloft.net>
48427 * sysdeps/sparc/fpu/libm-test-ulps: Update.
48429 2012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
48432 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
48434 2012-05-02 Andreas Jaeger <aj@suse.de>
48436 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
48437 since we manipulate rounding mode.
48438 (CPPFLAGS-test-idouble.c): Likewise.
48439 (CPPFLAGS-test-ifloat.c): Likewise.
48440 (CFLAGS-test-ldouble.c): Likewise.
48441 (CFLAGS-test-double.c): Likewise.
48442 (CFLAGS-test-float.c): Likewise.
48443 (CFLAGS-test-misc.c): Likewise.
48444 (CFLAGS-test-test-fenv.c): Likewise.
48446 2012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
48450 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
48451 comparisons to determine direction to adjust input.
48453 2012-05-01 Roland McGrath <roland@hack.frob.com>
48455 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
48456 output to the target.
48458 * scripts/localplt.awk: New file.
48459 * elf/Makefile ($(objpfx)check-localplt): Target removed.
48460 (check-localplt-CFLAGS): Variable removed.
48461 ($(all-built-dso:=.jmprel)): New static pattern rule.
48462 (generated): Add those targets.
48463 (localplt-built-dso): New variable.
48464 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
48466 * elf/check-localplt.c: File removed.
48468 * scripts/check-execstack.awk: New file.
48469 * elf/Makefile ($(objpfx)check-execstack): Target removed.
48470 (check-execstack-CFLAGS): Variable removed.
48471 ($(objpfx)check-execstack.h): Target removed.
48472 ($(objpfx)execstack-default): New target.
48473 (generated): Add that instead of check-execstack.h.
48474 ($(all-built-dso:=.phdr)): New static pattern rule.
48475 (generated): Add those targets.
48476 * elf/check-execstack.c: File removed.
48478 * scripts/check-textrel.awk: New file.
48479 * elf/Makefile ($(objpfx)check-textrel): Target removed.
48480 (check-textrel-CFLAGS): Variable removed.
48481 (all-built-dso): Use := to define.o
48482 ($(all-built-dso:=.dyn)): New static pattern rule.
48483 (generated): Add those targets.
48484 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
48485 * config.make.in (READELF): New substituted variable.
48486 * elf/check-textrel.c: File removed.
48488 2012-05-01 Joseph Myers <joseph@codesourcery.com>
48490 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
48492 * conform/data/ctype.h-data [C99-based standards] (isblank):
48494 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
48495 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
48496 [ISO || ISO99 || ISO11] (*_t): Do not allow.
48497 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
48498 Specify type. Require positive value.
48499 (EILSEQ): Likewise.
48500 (ERANGE): Likewise.
48501 [ISO || POSIX] (EILSEQ): Do not expect.
48502 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
48503 Specify type. Require positive value.
48504 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
48505 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
48506 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
48507 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
48508 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
48509 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
48510 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
48511 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
48512 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
48513 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
48514 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
48515 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
48516 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
48517 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
48518 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
48519 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
48520 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
48521 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
48522 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
48523 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
48524 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
48525 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
48526 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
48527 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
48528 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
48529 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
48530 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
48531 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
48532 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
48533 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
48534 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
48535 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
48536 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
48537 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
48538 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
48539 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
48540 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
48541 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
48542 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
48543 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
48544 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
48545 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
48546 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
48547 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
48548 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
48549 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
48550 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
48551 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
48552 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
48553 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
48554 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
48555 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
48556 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
48557 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
48558 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
48559 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
48560 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
48561 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
48562 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
48563 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
48564 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
48565 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
48566 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
48567 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
48568 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
48569 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
48570 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
48571 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
48572 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
48573 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
48574 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
48575 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
48576 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
48577 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
48578 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
48579 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
48580 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
48582 (FLT_ROUNDS): Expect as macro, not constant.
48583 (FLT_MANT_DIG): Use macro-int-constant.
48584 (DBL_MANT_DIG): Likewise.
48585 (LDBL_MANT_DIG): Likewise.
48586 (FLT_DIG): Likewise.
48587 (DBL_DIG): Likewise.
48588 (LDBL_DIG): Likewise.
48589 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
48590 (DBL_MIN_EXP): Likewise.
48591 (LDBL_MIN_EXP): Likewise.
48592 (FLT_MAX_EXP): Use macro-int-constant.
48593 (DBL_MAX_EXP): Likewise.
48594 (LDBL_MAX_EXP): Likewise.
48595 (FLT_MAX_10_EXP): Likewise.
48596 (DBL_MAX_10_EXP): Likewise.
48597 (LDBL_MAX_10_EXP): Likewise.
48598 (FLT_MAX): Use macro-constant.
48599 (DBL_MAX): Likewise.
48600 (LDBL_MAX): Likewise.
48601 (FLT_EPSILON): Use macro-constant. Give upper bound.
48602 (DBL_EPSILON): Likewise.
48603 (LDBL_EPSILON): Likewise.
48604 (FLT_MIN): Likewise.
48605 (DBL_MIN): Likewise.
48606 (LDBL_MIN): Likewise.
48607 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
48608 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
48609 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
48610 [ISO11] (FLT_HAS_SUBNORM): Likewise.
48611 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
48612 [ISO11] (DBL_DECIMAL_DIG): Likewise.
48613 [ISO11] (FLT_DECIMAL_DIG): Likewise.
48614 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
48615 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
48616 [ISO11] (FLT_TRUE_MIN): Likewise.
48617 [ISO11] (LDBL_TRUE_MIN): Likewise.
48618 [ISO || ISO99 || ISO11] (*_t): Do not allow.
48619 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
48620 (SCHAR_MIN): Use macro-int-constant. Specify type.
48621 (SCHAR_MAX): Likewise.
48622 (UCHAR_MAX): Likewise.
48623 (CHAR_MIN): Likewise.
48624 (CHAR_MAX): Likewise.
48625 (MB_LEN_MAX): Use macro-int-constant.
48626 (SHRT_MIN): Use macro-int-constant. Specify type.
48627 (SHRT_MAX): Likewise.
48628 (USHRT_MAX): Likewise.
48629 (INT_MAX): Likewise.
48630 (INT_MIN): Use macro-int-constant. Specify type. Make upper
48632 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
48634 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
48636 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
48637 bound negative. Suffix upper bound with "L".
48638 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
48640 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
48642 [C99-based standards] (LLONG_MAX): Likewise.
48643 [C99-based standards] (ULLONG_MAX): Likewise.
48644 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
48646 [ISO11] (max_align_t): Require type.
48647 [ISO || ISO99 || ISO11] (*_t): Do not allow.
48649 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
48650 from $CFLAGS, without defining away __attribute__ calls.
48651 (checknamespace): Use $CFLAGS_namespace.
48653 * conform/conformtest.pl (@keywords): Only include C99 keywords
48654 for standards based on C99 or C11.
48656 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
48658 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
48661 * conform/conformtest.pl: Handle "macro-int-constant" and test for
48662 usability of symbols in #if.
48664 * conform/conformtest.pl: If macro or constant types start
48665 "promoted:", expect the symbol to be of the following type
48666 promoted by the integer promotions.
48668 * conform/conformtest.pl: Parse all "constant" and "macro" lines
48669 in one place. Also handle "macro-constant".
48671 * conform/conformtest.pl: Only accept expected macro values with
48672 "==". Parse all "macro" lines in one place.
48673 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
48675 * conform/conformtest.pl: Handle braced types on "constant" lines
48676 instead of handling "typed-constant".
48677 * conform/data/signal.h-data: Use "constant" instead of
48680 * conform/conformtest.pl: Handle "optional-" at start of lines in
48681 one place rather than duplicating several cases. Handle each
48682 format of "macro" line with initial "optional-".
48684 * conform/conformtest.pl: Only accept expected constant or
48685 optional-constant values with "==". Parse all "constant" lines in
48686 one place. Parse all "optional-constant" lines in one place.
48687 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
48688 * conform/data/fmtmsg.h-data: Likewise.
48689 * conform/data/netinet/in.h-data: Likewise.
48690 * conform/data/tar.h-data: Likewise.
48691 * conform/data/limits.h-data: Use "==" form on "constant" and
48692 "optional-constant" lines.
48694 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
48695 Use -std=c99 for XOPEN2K.
48696 (@knownproblems): Remove.
48697 (newtoken): Don't check %isknown.
48699 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
48700 Do not expect macro.
48701 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
48702 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
48703 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
48704 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
48705 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
48706 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
48707 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
48708 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
48709 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
48710 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
48711 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
48712 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
48713 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
48714 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
48715 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
48716 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
48717 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
48718 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
48719 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
48720 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
48721 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
48722 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
48723 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
48724 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
48725 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
48726 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
48727 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
48728 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
48729 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
48730 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
48731 [XPG3] (acosh): Likewise.
48732 [XPG3] (asinh): Likewise.
48733 [XPG3] (atanh): Likewise.
48734 [XPG3] (cbrt): Likewise.
48735 [XPG3] (expm1): Likewise.
48736 [XPG3] (ilogb): Likewise.
48737 [XPG3] (log1p): Likewise.
48738 [XPG3] (logb): Likewise.
48739 [XPG3] (nextafter): Likewise.
48740 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
48741 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
48742 [XPG3] (remainder): Likewise.
48743 [XPG3] (rint): Likewise.
48744 [XPG3 || XPG4 || UNIX98] (round): Likewise.
48745 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
48746 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
48747 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
48748 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
48749 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
48750 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
48751 [UNIX98 || XOPEN2K] (scalb): Expect.
48752 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
48753 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
48754 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
48755 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
48756 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
48757 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
48758 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
48759 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
48760 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
48761 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
48762 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
48763 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
48764 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
48765 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
48766 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
48767 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
48768 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
48769 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
48770 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
48771 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
48772 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
48773 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
48774 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
48775 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
48776 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
48777 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
48778 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
48779 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
48780 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
48781 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
48782 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
48783 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
48784 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
48785 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
48786 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
48787 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
48788 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
48789 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
48790 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
48791 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
48792 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
48793 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
48794 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
48795 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
48796 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
48797 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
48798 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
48799 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
48800 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
48801 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
48802 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
48803 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
48804 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
48805 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
48806 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
48807 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
48808 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
48809 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
48810 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
48811 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
48812 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
48813 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
48814 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
48815 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
48816 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
48817 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
48818 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
48819 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
48820 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
48821 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
48822 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
48823 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
48824 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
48825 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
48826 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
48827 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
48828 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
48829 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
48830 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
48831 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
48832 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
48833 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
48834 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
48835 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
48836 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
48837 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
48838 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
48839 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
48840 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
48841 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
48842 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
48843 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
48844 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
48845 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
48846 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
48847 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
48848 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
48849 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
48850 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
48851 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
48852 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
48853 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
48854 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
48855 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
48856 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
48857 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
48858 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
48859 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
48860 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
48861 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
48862 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
48863 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
48864 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
48865 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
48866 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
48867 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
48868 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
48869 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
48870 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
48871 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
48872 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
48873 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
48874 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
48875 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
48876 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
48877 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
48878 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
48879 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
48880 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
48881 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
48882 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
48883 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
48884 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
48885 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
48886 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
48887 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
48888 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
48890 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
48891 _XOPEN_SOURCE_EXTENDED for XPG4.
48893 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
48895 * Makeconfig (localtime): Remove variable.
48896 (inst_localtime-file): Likewise.
48898 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
48900 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
48902 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
48904 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
48906 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
48908 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
48910 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
48912 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
48914 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
48916 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
48919 2012-05-01 Joseph Myers <joseph@codesourcery.com>
48923 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
48924 comparisons to determine direction to adjust input.
48925 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
48926 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
48927 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
48929 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
48931 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
48933 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
48934 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
48936 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
48938 * math/libm-test.inc (nexttoward_test): Add more tests.
48940 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
48943 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
48944 in version GLIBC_2.1, not GLIBC_2.0.
48945 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
48948 2012-04-30 Joseph Myers <joseph@codesourcery.com>
48951 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
48953 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
48954 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
48955 * math/libm-test.inc (acos_test): Add more tests.
48956 (asin_test): Likewise.
48957 * sysdeps/i386/fpu/libm-test-ulps: Update.
48958 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48961 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
48963 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
48964 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
48965 * math/libm-test.inc (acos_test_tonearest): New function.
48966 (acos_test_towardzero): Likewise.
48967 (acos_test_downward): Likewise.
48968 (acos_test_upward): Likewise.
48969 (asin_test_tonearest): Likewise.
48970 (asin_test_towardzero): Likewise.
48971 (asin_test_downward): Likewise.
48972 (asin_test_upward): Likewise.
48973 (main): Call the new functions.
48974 * sysdeps/i386/fpu/libm-test-ulps: Update.
48975 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
48979 * math/e_exp10.c: Include <float.h>.
48980 (__ieee754_exp10): Handle underflow here rather than multiplying
48981 large negative argument by M_LN10.
48982 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
48984 * math/e_exp10l.c: Include <float.h>.
48985 (__ieee754_exp10l): Handle underflow here rather than multiplying
48986 large negative argument by M_LN10l.
48987 * math/libm-test.inc (exp10_test): Add another test. Do not allow
48988 spurious overflow exception on underflow.
48990 2012-04-29 Marek Polacek <polacek@redhat.com>
48992 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
48993 (__fortify_function): New macro.
48994 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
48995 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
48996 __extern_always_inline.
48997 * libio/bits/stdio2.h: Likewise.
48998 * libio/bits/stdio.h: Likewise.
48999 * string/string.h: Likewise.
49000 * string/bits/string3.h: Likewise.
49001 * include/stdio.h: Likewise.
49002 * stdlib/bits/stdlib.h: Likewise.
49003 * stdlib/stdlib.h: Likewise.
49004 * rt/bits/mqueue2.h: Likewise.
49005 * rt/mqueue.h: Likewise.
49006 * posix/bits/unistd.h: Likewise.
49007 * posix/unistd.h: Likewise.
49008 * io/bits/poll2.h: Likewise.
49009 * io/bits/fcntl2.h: Likewise.
49010 * io/fcntl.h: Likewise.
49011 * io/sys/poll.h: Likewise.
49012 * misc/bits/syslog.h: Likewise.
49013 * misc/bits/syslog-ldbl.h: Likewise.
49014 * misc/sys/syslog.h: Likewise.
49015 * socket/bits/socket2.h: Likewise.
49016 * socket/sys/socket.h: Likewise.
49017 * debug/tst-chk1.c: Likewise.
49018 * wcsmbs/bits/wchar2.h: Likewise.
49019 * wcsmbs/bits/wchar-ldbl.h: Likewise.
49020 * wcsmbs/wchar.h: Likewise.
49022 2012-04-29 Andreas Jaeger <aj@suse.de>
49024 * Makerules (tests): Remove enable-check-abi protection.
49025 (check-abi-warn): Remove.
49026 (check-abi-%): Remove check-abi-warn usage.
49028 * configure.in: Remove check-abi configure option.
49029 * configure: Regenerated.
49030 * config.make.in (enable-check-abi): Remove.
49032 2012-04-28 Andreas Schwab <schwab@linux-m68k.org>
49035 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
49036 double functions to double *_finite functions.
49039 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
49040 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
49042 * stdio-common/Makefile (tests): Add tst-sprintf3.
49043 * stdio-common/tst-sprintf3.c: New file.
49045 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
49046 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
49048 2012-04-28 Joseph Myers <joseph@codesourcery.com>
49050 * conform/conformtest.pl: Remove duplicate typed-constant
49053 2012-04-28 David S. Miller <davem@davemloft.net>
49055 * Makerules (%.abilist): Add vpath on sysdep_dirs.
49056 (check-abi-%): Remove AWK script prerequisite and explicit
49058 (check-abi): Rewrite to just diff the symlist with the abilist.
49059 (config-tls, config-abi-config): Delete, no longer used.
49060 (update-abi-%): Remove AWK script and explicit abilist directory.
49061 (update-abi): Rewrite to simply compare and conditionally copy the
49062 symlist and the sysdep abilist file. Remove update-abi-config
49064 * abilist/ld.abilist: Remove.
49065 * abilist/libBrokenLocale.abilist: Remove.
49066 * abilist/libanl.abilist: Remove.
49067 * abilist/libcrypt.abilist: Remove.
49068 * abilist/libdl.abilist: Remove.
49069 * abilist/librt.abilist: Remove.
49070 * abilist/libthread_db.abilist: Remove.
49071 * abilist/libutil.abilist: Remove.
49072 * scripts/extract-abilist.awk: Remove.
49073 * scripts/merge-abilist.awk: Remove.
49074 * sysdeps/generic/libcidn.abilist: New file.
49075 * sysdeps/generic/libnss_compat.abilist: New file.
49076 * sysdeps/generic/libnss_db.abilist: New file.
49077 * sysdeps/generic/libnss_dns.abilist: New file.
49078 * sysdeps/generic/libnss_files.abilist: New file.
49079 * sysdeps/generic/libnss_hesiod.abilist: New file.
49080 * sysdeps/generic/libnss_nis.abilist: New file.
49081 * sysdeps/generic/libnss_nisplus.abilist: New file.
49082 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
49083 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
49084 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
49086 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
49087 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
49088 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
49089 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
49090 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
49091 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
49092 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
49093 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
49094 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
49096 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
49097 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
49098 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
49099 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
49101 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
49102 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
49103 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
49104 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
49105 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
49106 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
49108 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
49109 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
49110 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
49112 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
49113 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
49115 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
49117 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
49119 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
49121 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
49123 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
49125 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
49127 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
49129 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
49131 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
49133 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
49135 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
49137 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
49139 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
49141 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
49143 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
49145 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
49147 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
49149 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
49151 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
49153 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
49155 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
49157 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
49159 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
49161 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
49163 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
49165 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
49166 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
49168 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
49170 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
49172 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
49174 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
49176 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
49178 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
49180 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
49182 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
49184 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
49186 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
49188 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
49190 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
49191 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
49193 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
49195 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
49197 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
49199 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
49201 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
49203 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
49205 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
49207 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
49209 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
49211 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
49213 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
49215 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
49216 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
49217 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
49219 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
49220 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
49221 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
49222 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
49223 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
49224 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
49225 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
49226 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
49227 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
49228 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
49229 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
49230 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
49232 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
49234 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
49236 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
49238 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
49240 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
49242 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
49244 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
49246 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
49248 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
49250 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
49252 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
49254 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
49255 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
49257 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
49259 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
49261 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
49263 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
49265 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
49267 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
49269 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
49271 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
49273 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
49275 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
49277 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
49280 2012-04-28 Joseph Myers <joseph@codesourcery.com>
49282 * conform/conformtest.pl: Fix typo in handling typed-constant from
49285 2012-04-27 Joseph Myers <joseph@codesourcery.com>
49287 * README: Cut down references to pre-2.6 Linux kernels and
49288 Linuxthreads. Update lists of configurations in libc and ports
49289 and sort alphabetically. Say "or newer" with Linux kernel version
49292 * config.h.in [IS_IN_build]: Allow compiling without optimization.
49294 2012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
49297 * math/libm-test.inc (logb_test_downward): New test to expose
49298 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
49301 2012-04-27 Joseph Myers <joseph@codesourcery.com>
49304 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
49306 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
49307 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
49309 2012-04-26 Joseph Myers <joseph@codesourcery.com>
49311 * sysdeps/unix/i386/brk.S: Remove file.
49312 * sysdeps/unix/i386/dl-brk.S: Likewise.
49313 * sysdeps/unix/i386/pipe.S: Likewise.
49314 * sysdeps/unix/i386/sigreturn.S: Likewise.
49315 * sysdeps/unix/i386/syscall.S: Likewise.
49316 * sysdeps/unix/i386/vfork.S: Likewise.
49317 * sysdeps/unix/i386/wait.S: Likewise.
49319 * sysdeps/unix/common/tcsendbrk.c: Move to ...
49320 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
49322 * configure.in (arm*-none*): Do not allow without
49323 --enable-hacker-mode.
49324 (netbsd*): Remove case setting base_os.
49325 (386bsd*): Likewise.
49326 (freebsd*): Likewise.
49329 (sunos*): Likewise.
49330 (ultrix*): Likewise.
49331 (newsos*): Likewise.
49332 (dynix*): Likewise.
49338 (minix*): Likewise.
49339 (irix4*): Likewise.
49340 (irix6*): Likewise.
49341 (solaris[2-9]*): Likewise.
49343 * configure: Regenerated.
49345 2012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
49348 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
49349 overflow or cancellation in calculating denominator.
49350 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
49351 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
49352 down expression to avoid unexpected rounding in newer GCCs.
49353 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
49355 2012-04-26 David S. Miller <davem@davemloft.net>
49357 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
49358 long-double compat symbols.
49359 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
49360 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
49361 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
49362 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
49363 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
49364 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
49365 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
49366 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
49367 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
49368 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
49369 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
49370 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
49371 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
49373 2012-04-25 David S. Miller <davem@davemloft.net>
49375 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
49376 HWCAP_* values only after the memory barriers have been defined.
49377 (atomic_full_barrier): Define.
49378 (atomic_read_barrier): Define.
49379 (atomic_write_barrier): Define.
49381 2012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
49383 * shlib-versions: Add libgcc_s version information.
49384 * sysdeps/generic/libgcc_s.h: Remove.
49385 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
49387 * sysdeps/gnu/unwind-resume.c: Likewise.
49388 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
49390 2012-04-25 David S. Miller <davem@davemloft.net>
49392 * sysdeps/unix/sparc/brk.S: Delete.
49393 * sysdeps/unix/sparc/dl-brk.S: Delete.
49394 * sysdeps/unix/sparc/pipe.S: Delete.
49395 * sysdeps/unix/sparc/sysdep.S: Delete.
49396 * sysdeps/unix/sparc/sysdep.h: Delete.
49397 * sysdeps/unix/sparc/vfork.S: Delete.
49398 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
49399 (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
49400 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
49401 (ret_ERRVAL, r0, r1, MOVE): Define.
49402 (JUMPTARGET): Remove.
49403 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
49404 sysdeps/unix/sparc/sysdep.h
49405 (ENTRY, END): Remove.
49406 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
49408 2012-04-25 Joseph Myers <joseph@codesourcery.com>
49410 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
49411 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
49414 * timezone/README: Update upstream location and email address for
49416 * timezone/zdump.c: Update from tzcode 2012b.
49417 * timezone/zic.c: Likewise.
49419 * configure.in (libc_cv_as_needed): Remove test.
49420 * configure: Regenerated.
49421 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
49422 conditional definition.
49423 [$(have-as-needed) != yes] (no-as-needed): Likewise.
49424 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
49425 * config.make.in (have-as-needed): Remove variable.
49427 2012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
49428 Paul Pluzhnikov <ppluzhnikov@google.com>
49430 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
49433 2012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
49435 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
49436 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
49437 * sysdeps/sh/strlen.S: Likewise.
49439 2012-04-24 Joseph Myers <joseph@codesourcery.com>
49441 * sysdeps/unix/fork.S: Remove file.
49442 * sysdeps/unix/i386/fork.S: Likewise.
49443 * sysdeps/unix/sparc/fork.S: Likewise.
49445 * sysdeps/unix/system.c: Remove file.
49446 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
49448 * sysdeps/unix/getegid.S: Remove file.
49449 * sysdeps/unix/geteuid.S: Likewise.
49451 2012-04-24 Roland McGrath <roland@hack.frob.com>
49453 * scripts/check-localplt.awk: New file.
49454 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
49456 * scripts/data/localplt-generic.data: Add a comment.
49458 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
49459 NODE when __dir_mkfile failed.
49460 * sysdeps/mach/hurd/symlinkat.c: Likewise.
49461 Reported by Ludovic Courtès <ludo@gnu.org>.
49463 2012-04-24 Andreas Jaeger <aj@suse.de>
49465 * Makerules (common-clean): Also remove gen-as-const-headers
49468 2012-04-24 Joseph Myers <joseph@codesourcery.com>
49470 * Makerules (native-compile): Do not change working directory for
49471 build. Use $(OUTPUT_OPTION) in command.
49472 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
49474 2012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
49477 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
49478 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
49479 * math/libm-test.inc (floor_test): Add more tests.
49480 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
49482 2012-04-24 Joseph Myers <joseph@codesourcery.com>
49484 * sysdeps/unix/getdents.c: Remove file.
49485 * sysdeps/unix/sysv/getdents.c: Likewise.
49486 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
49488 * sysdeps/unix/syscalls.list (madvise): Add syscall from
49489 sysdeps/unix/mman/syscalls.list.
49491 (mprotect): Likewise.
49493 (munmap): Likewise.
49494 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
49495 * sysdeps/unix/mman/syscalls.list: Remove.
49496 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
49498 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
49499 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
49500 * configure: Regenerated.
49501 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
49502 $(libgcc_s_suffix).
49503 * config.make.in (libgcc_s_suffix): Remove variable.
49505 2012-04-23 Joseph Myers <joseph@codesourcery.com>
49507 * sysdeps/unix/sysv/gethostname.c: Move to ...
49508 * sysdeps/posix/gethostname.c: ... here.
49510 * sysdeps/unix/execve.S: Remove file.
49512 * sysdeps/unix/_exit.S: Remove file.
49514 2012-04-23 Andreas Jaeger <aj@suse.de>
49517 * manual/Makefile: Remove make dist support, there's no
49518 need for a stand-alone documentation tar ball.
49519 (TEXI2DVI): Define always, it's not in Makeconfig.
49522 (edition): Removed.
49523 (glibc-doc-$(edition).tar): Removed
49527 (ETAGS): Remove, it's in Makeconfig.
49528 (move-if-change): Remove, it's in Makeconfig.
49530 2012-04-23 Paul Eggert <eggert@cs.ucla.edu>
49533 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
49534 (strtod, strtof, strtold, strtol, strtoul, strtoq)
49535 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
49536 (strtod_l, strtof_l, strtold_l): Remove __wur.
49537 It is not necessarily an error to ignore strtol's return value.
49538 One can reliably look at the stored endptr to decide whether
49539 the number had valid syntax.
49541 2012-04-21 Andreas Jaeger <aj@suse.de>
49544 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
49546 2012-04-21 Joseph Myers <joseph@codesourcery.com>
49548 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
49549 * sysdeps/unix/sysv/Versions: Remove file.
49551 2012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
49554 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
49556 2012-04-21 Nick Alcock <nick.alcock@oracle.com>
49559 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
49560 version from __vm86.
49562 2012-04-20 Joseph Myers <joseph@codesourcery.com>
49564 * sysdeps/unix/common/lxstat.c: Remove file.
49565 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
49567 * sysdeps/unix/sysv/Makefile: Remove file.
49569 * sysdeps/unix/sysv/direct.h: Remove file.
49571 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
49572 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
49573 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
49574 * sysdeps/unix/sysv/bits/signum.h: Likewise.
49575 * sysdeps/unix/sysv/bits/stat.h: Likewise.
49576 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
49577 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
49579 * sysdeps/unix/sysv/setrlimit.c: Remove file.
49581 * sysdeps/unix/xmknod.c: Remove file.
49582 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
49584 * sysdeps/unix/sysv/settimeofday.c: Remove file.
49586 * sysdeps/unix/sysv/i386/time.S: Remove file.
49588 * sysdeps/unix/fxstat.c: Remove file.
49589 * sysdeps/unix/xstat.c: Likewise.
49590 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
49592 * sysdeps/unix/sysv/sigaction.c: Remove file.
49594 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
49595 (sysdep_headers): Remove variable.
49596 [termio.h not in sysdep_headers] (generated): Likewise.
49597 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
49598 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
49599 * sysdeps/unix/sysv/tcdrain.c: Likewise.
49600 * sysdeps/unix/sysv/tcflow.c: Likewise.
49601 * sysdeps/unix/sysv/tcflush.c: Likewise.
49602 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
49603 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
49604 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
49605 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
49606 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
49608 * sysdeps/unix/siglist.c: Remove file.
49610 * sysdeps/unix/getppid.S: Remove file.
49612 * sysdeps/unix/mkdir.c: Remove file.
49613 * sysdeps/unix/rmdir.c: Likewise.
49615 2012-04-19 Andreas Schwab <schwab@linux-m68k.org>
49617 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
49619 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
49620 errlist-compat value.
49622 2012-04-18 David S. Miller <davem@davemloft.net>
49624 * sysdeps/generic/memcopy.h (reg_char): Delete.
49625 * debug/strcat_chk.c: Use char, not reg_char.
49626 * debug/strcpy_chk.c: Likewise.
49627 * debug/strncat_chk.c: Likewise.
49628 * debug/strncpy_chk.c: Likewise.
49629 * string/memchr.c: Likewise.
49630 * string/memrchr.c: Likewise.
49631 * string/rawmemchr.c: Likewise.
49632 * string/strcat.c: Likewise.
49633 * string/strchr.c: Likewise.
49634 * string/strchrnul.c: Likewise.
49635 * string/strcmp.c: Likewise.
49636 * string/strcpy.c: Likewise.
49637 * string/strncat.c: Likewise.
49638 * string/strncmp.c: Likewise.
49639 * string/strncpy.c: Likewise.
49641 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
49643 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
49644 __builtin_memcopy is called when src and dest ranges are known to not
49647 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
49649 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
49650 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
49651 fwd_align_merge macro call.
49652 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
49653 bwd_align_merge macro call.
49654 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
49656 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
49658 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
49659 bwd_align_merge macros.
49660 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
49661 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
49662 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
49664 2012-04-18 David S. Miller <davem@davemloft.net>
49666 * sysdeps/sparc/sparc64/memcopy.h: Delete.
49668 2012-04-18 Andreas Jaeger <aj@suse.de>
49671 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
49672 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
49673 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
49675 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
49676 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
49677 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
49679 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
49680 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
49681 Adjust for changed ldbl-128 files.
49683 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
49684 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
49685 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
49687 2012-04-17 David S. Miller <davem@davemloft.net>
49689 * sysdeps/sparc/sparc32/memcopy.h: Delete.
49691 2012-04-17 Andreas Schwab <schwab@linux-m68k.org>
49693 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
49694 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
49695 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
49696 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
49697 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
49698 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
49700 2012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
49703 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
49704 * math/libm-test.inc: Add ilogb errno and exception tests.
49705 * math/w_ilogb.c: New file: ilogb wrapper.
49706 * math/w_ilogbf.c: New file: ilogbf wrapper.
49707 * math/w_ilogbl.c: New file: ilogbl wrapper.
49708 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
49709 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
49710 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
49711 exception being thrown with 0.0 as argument.
49712 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
49713 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
49714 exception being thrown with 0.0 as argument.
49715 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
49716 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
49717 exception being thrown with 0.0 as argument.
49718 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
49719 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
49720 exception being thrown with 0.0 as argument.
49721 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
49722 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
49723 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
49724 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
49725 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
49726 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
49727 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
49728 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
49729 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
49731 2012-04-17 Petr Baudis <pasky@ucw.cz>
49733 * include/sys/uio.h: Change __vector to __iovec to avoid clash
49736 2012-04-16 Marek Polacek <polacek@redhat.com>
49738 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
49740 2012-04-16 Marek Polacek <polacek@redhat.com>
49742 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
49743 operands of fdivp instruction.
49745 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
49747 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
49748 * elf/tst-auditmod3b.c: Likewise.
49749 * elf/tst-auditmod4b.c: Likewise.
49750 * elf/tst-auditmod5b.c: Likewise.
49751 * elf/tst-auditmod6b.c: Likewise.
49752 * elf/tst-auditmod6c.c: Likewise.
49753 * elf/tst-auditmod7b.c: Likewise.
49754 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
49755 * sysdeps/x86_64/preconfigure.in: Likewise.
49756 * sysdeps/x86_64/preconfigure: Regenerated.
49758 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
49760 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
49763 2012-04-13 Antoine Balestrat <merkil33@gmail.com>
49765 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
49766 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
49768 2012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
49771 * locale/iso-639.def: Fix gl language name. Spotted by
49774 2012-04-12 Roland McGrath <roland@hack.frob.com>
49777 * libio/libio.h (__io_write_fn): Update comment.
49779 2012-04-12 Petr Baudis <pasky@ucw.cz>
49782 * stdio.texi (Hook Functions): The user provided writer function
49783 is not allowed to return -1.
49785 2012-04-11 David S. Miller <davem@davemloft.net>
49787 * sysdeps/sparc/fpu/libm-test-ulps: Update.
49789 2012-04-11 Mike Frysinger <vapier@gentoo.org>
49791 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
49792 Add a leading slash to rtkaio.
49794 2012-04-11 Jim Meyering <meyering@redhat.com>
49797 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
49798 It is not necessarily an error to ignore fwrite's return
49799 value. One can reliably use ferror to test for errors after
49802 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
49804 * bits/types.h (__snseconds_t): New type.
49805 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
49807 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
49808 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
49809 (__SNSECONDS_T_TYPE): Likewise.
49810 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
49811 (__SNSECONDS_T_TYPE): Likewise.
49812 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
49813 (__SNSECONDS_T_TYPE): Likewise.
49815 2012-04-10 Andreas Jaeger <aj@suse.de>
49818 * manual/time.texi (Processor Time): Return type of times is
49819 elapsed real time since an arbitrary point in the past.
49820 (CPU Time): Move CLK_TCK from here...
49821 (Processor Time): ...to here. Correct description.
49822 * manual/conf.texi (Constants for Sysconf): Correct description of
49825 2012-04-10 David S. Miller <davem@davemloft.net>
49828 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
49829 where the is a gap between DT_REL(A) and DT_JMPREL.
49831 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
49833 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
49834 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
49835 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
49837 2012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
49839 * elf/dl-support.c (_dl_inhibit_cache): New variable.
49840 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
49841 (dl_main): Handle --inhibit-cache.
49842 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
49844 * elf/dl-load.c (_dl_map_object): Use it.
49845 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
49847 2012-04-09 Joseph Myers <joseph@codesourcery.com>
49850 * sysdeps/i386/fpu/e_powl.S (p78): New object.
49851 (__ieee754_powl): Saturate large exponents rather than testing for
49852 overflow of y*log2(x).
49853 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
49854 * math/libm-test.inc (pow_test): Do not permit spurious overflow
49858 * math/s_ctan.c: Include <float.h>.
49859 (__ctan): Avoid internal overflow or cancellation in calculating
49861 * math/s_ctanf.c: Likewise.
49862 * math/s_ctanl.c: Likewise.
49863 * math/s_ctanh.c: Likewise.
49864 * math/s_ctanhf.c: Likewise.
49865 * math/s_ctanhl.c: Likewise.
49866 * math/libm-test.inc (ctan_test): Add more tests.
49867 (ctanh_test): Likewise.
49868 * sysdeps/i386/fpu/libm-test-ulps: Update.
49869 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49871 2012-04-09 Andreas Jaeger <aj@suse.de>
49874 * manual/filesys.texi (Directory Entries): Mention that d_namlen
49875 is an optional BSD extension.
49878 * manual/stdio.texi (Opening Streams): Document additional fopen
49881 2012-04-09 Roland McGrath <roland@hack.frob.com>
49883 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
49884 %eax without telling the compiler.
49886 2012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
49889 * manual/install.texi: Use sourceware.org.
49891 2012-04-09 Joseph Myers <joseph@codesourcery.com>
49894 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
49895 (__ieee754_pow): Generate overflow and underflow using huge*huge
49896 and tiny*tiny rather than just returning constant infinity or zero
49897 for large exponents.
49898 * math/libm-test.inc (pow_test): Require overflow exceptions for
49899 applicable cases of large exponents.
49902 * sysdeps/i386/fpu/e_pow.S (p10): New object.
49903 (__ieee754_pow): Use iterative multiplication algorithm only for
49904 integer exponents with absolute value below 1024. Check for odd
49905 integer exponents when using algorithm for real exponents.
49906 * math/libm-test.inc (pow_test): Add more tests.
49907 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
49909 2012-04-08 Joseph Myers <joseph@codesourcery.com>
49912 * math/libm-test.inc (exp_test): Do not allow overflow exception
49915 2012-04-08 Aurelien Jarno <aurelien@aurel32.net>
49918 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
49919 instead of __kernel_standard_f.
49921 2012-04-08 Mike Frysinger <vapier@gentoo.org>
49923 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
49924 * sysdeps/x86_64/memset_chk.S: Likewise.
49926 2012-04-08 Andreas Jaeger <aj@suse.de>
49929 * manual/startup.texi (Environment Access): Describe return value
49930 for putenv and setenv.
49933 * manual/filesys.texi (Directory Entries): Add description for
49937 * manual/filesys.texi (Directory Entries): Clarify that it's file
49938 system not operating system in the description of DT_UNKNOWN.
49941 * manual/syslog.texi (closelog): Fix reference, it's openlog.
49943 2012-04-08 Stephen Compall <s11@member.fsf.org>
49946 * manual/llio.texi (Opening and Closing Files): Add cross
49947 reference to explain mode argument.
49949 2012-04-07 Mike Frysinger <vapier@gentoo.org>
49951 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
49952 * sysdeps/x86_64/memset_chk.S: Likewise.
49954 2012-04-07 David S. Miller <davem@davemloft.net>
49956 * elf/elf.h (R_SPARC_WDISP10): Define.
49957 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
49959 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
49960 R_SPARC_SIZE64 and R_SPARC_H34.
49962 2012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
49964 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
49965 conditions and remove no longer applicable assertion.
49967 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
49969 * bits/byteswap.h: Include <features.h>.
49970 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
49971 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
49973 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
49975 * bits/byteswap.h (__bswap_16): Removed.
49976 Include <bits/byteswap-16.h> to get __bswap_16.
49977 * sysdeps/i386/bits/byteswap.h: Likewise.
49978 * sysdeps/s390/bits/byteswap.h: Likewise.
49979 * sysdeps/x86_64/bits/byteswap.h: Likewise.
49980 * bits/byteswap-16.h: New file.
49981 * sysdeps/i386/bits/byteswap-16.h: Likewise.
49982 * sysdeps/s390/bits/byteswap-16.h: Likewise.
49983 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
49984 * string/Makefile (headers): Add bits/byteswap-16.h.
49986 2012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
49989 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
49991 * nss/Makefile (tests-static, tests): Add tst-nss-static.
49992 * nss/tst-nss-static.c: New.
49994 2012-04-06 Robert Millan <rmh@gnu.org>
49997 * manual/llio.texi (File Position Primitive): lseek
49998 refers to WHENCE when it really means OFFSET.
50000 2012-04-06 Andreas Jaeger <aj@suse.de>
50002 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
50003 strncmp declarations.
50005 * abilist/libc.abilist: Add __poll and __ppoll.
50007 2012-04-05 David S. Miller <davem@davemloft.net>
50009 * scripts/check-local-headers.sh: Accept a host triplet in the
50010 path matched by the exclude regexp.
50012 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
50014 * sysdeps/powerpc/powerpc32/dl-machine.h
50015 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
50016 * sysdeps/s390/s390-32/dl-machine.h
50017 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
50018 * sysdeps/sparc/sparc32/dl-machine.h
50019 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
50020 * sysdeps/sparc/sparc64/dl-machine.h
50021 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
50023 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
50025 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
50026 undefined symbol errors.
50028 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
50031 2012-04-05 Michael Matz <matz@suse.de>
50034 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
50036 2012-04-05 Andreas Jaeger <aj@suse.de>
50039 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
50042 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
50044 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
50045 which ROUND is no valid rounding mode.
50047 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
50049 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
50051 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
50053 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
50055 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
50056 an exception using FPU order intentionally.
50058 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
50060 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
50061 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
50062 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
50063 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
50065 2012-04-05 Simon Josefsson <simon@josefsson.org>
50068 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
50069 EINVAL when BUFLEN is too smal.
50071 2012-04-05 Thomas Schwinge <thomas@codesourcery.com>
50074 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
50075 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
50077 2012-04-03 Andreas Jaeger <aj@suse.de>
50080 * manual/setjmp.texi (System V contexts): Fix sentence.
50083 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
50084 New macro for this case.
50085 [!__GNUC__] (__bswap_64): New inline function for this case.
50086 * sysdeps/x86_64/bits/byteswap.h: Likewise.
50087 * bits/byteswap.h: Likewise.
50088 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
50089 ull, guard with __GLIBC_HAVE_LONG_LONG.
50091 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
50092 __GLIBC_HAVE_LONG_LONG.
50094 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
50095 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
50097 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
50100 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
50101 inptr and inend, rather than using last_ch.
50103 2012-04-02 David S. Miller <davem@davemloft.net>
50105 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
50106 * stdio-common/printf-parse.h (read_int): Change return type to
50107 'int', return -1 on INT_MAX overflow.
50108 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
50109 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
50110 overflows INT_MAX. Check for overflow of in-format-string precision
50111 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
50112 SIZE_MAX not INT_MAX for integer overflow test.
50113 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
50114 skip the construct in the format string but do not record anything.
50115 * stdio-common/bug22.c: Adjust to test both width/prevision
50116 INT_MAX overflow as well as total length INT_MAX overflow. Check
50117 explicitly for proper errno values.
50119 2012-04-02 Thomas Schwinge <thomas@codesourcery.com>
50121 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
50123 * string/test-strcmp.c [! WIDE]: Likewise.
50124 * time/tst-mktime2.c: Likewise for INT_MAX.
50125 * string/test-string.h: #include <sys/param.h> for MIN.
50127 * csu/init-first.c (__libc_init_first): Call __ctype_init.
50128 * sysdeps/i386/init-first.c (init): Likewise.
50129 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
50130 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
50131 * sysdeps/sh/init-first.c (init): Likewise.
50133 2012-04-01 Ulrich Drepper <drepper@gmail.com>
50135 * po/ru.po: Update from translation team.
50136 * po/vi.po: Likewise.
50138 2012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
50140 * resolv/nss_dns/dns-host.c: Merge copyright years.
50142 2012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
50144 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
50145 Optimize memcpy with prefetch if
50146 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
50147 src, dst pointers have unequal 16 byte alignments.
50149 2012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
50152 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
50153 from a CNAME entry and return the minimum ttl for the query.
50154 (gaih_getanswer_slice): Likewise.
50156 2012-03-30 Jeff Law <law@redhat.com>
50158 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
50160 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
50161 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
50163 * resolv/nss_dns/dns-host.c: Update copyright year.
50165 2012-03-30 Ulrich Drepper <drepper@gmail.com>
50167 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
50168 requests to save a system call. Fix check that all bytes are sent.
50170 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
50171 comments for sendmmsg.
50173 2012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
50176 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
50177 with only 1 character between 0x0041 and 0x01b0.
50178 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
50179 * wcsmbs/tst-mbsnrtowcs.c: New file.
50181 2012-03-29 David S. Miller <davem@davemloft.net>
50183 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
50184 small copies by hand.
50186 2012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
50189 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
50190 (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
50193 2012-03-28 David S. Miller <davem@davemloft.net>
50195 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
50196 that branches into memcpy.
50197 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
50198 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
50199 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
50200 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
50201 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
50203 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
50204 implementation too.
50205 * sysdeps/sparc/mempcpy.S: New file.
50207 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
50208 the IFUNC routine in the libc case.
50209 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
50211 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
50212 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
50213 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
50214 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
50215 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
50216 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
50217 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
50218 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
50220 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
50221 loop to 256 bytes instead of 64 bytes and fix test signedness.
50223 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
50224 * sysdeps/sparc/sparc32/Makefile: rather than here...
50225 * sysdeps/sparc/sparc64/Makefile: and here.
50227 2012-03-28 Ulrich Drepper <drepper@gmail.com>
50229 * malloc/mallocbug.c: Avoid warnings about unused variables.
50231 2012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
50234 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
50235 in the right place. Discard and retry query if response is
50236 larger than input buffer size.
50238 2012-03-28 Joseph Myers <joseph@codesourcery.com>
50243 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
50244 x for large integer exponent.
50245 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
50246 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
50247 sign of result as needed afterwards.
50248 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
50249 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
50250 result for underflowing pow the same as for overflow.
50251 (__kernel_standard_l): Handle powl overflow and underflow here
50252 rather than calling __kernel_standard.
50253 * math/libm-test.inc (pow_test): Add more tests.
50268 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
50269 * sysdeps/ieee754/k_standard.c: Include <float.h>.
50270 (__kernel_standard_l): New function.
50271 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
50273 * math/w_acosl.c (__acosl): Likewise.
50274 * math/w_asinl.c (__asinl): Likewise.
50275 * math/w_atan2l.c (__atan2l): Likewise.
50276 * math/w_atanhl.c (__atanhl): Likewise.
50277 * math/w_coshl.c (__coshl): Likewise.
50278 * math/w_exp10l.c (__exp10l): Likewise.
50279 * math/w_exp2l.c (__exp2l): Likewise.
50280 * math/w_fmodl.c (__fmodl): Likewise.
50281 * math/w_hypotl.c (__hypotl): Likewise.
50282 * math/w_j0l.c (__j0l, __y0l): Likewise.
50283 * math/w_j1l.c (__j1l, __y1l): Likewise.
50284 * math/w_jnl.c (__jnl, __ynl): Likewise.
50285 * math/w_lgammal.c (__lgammal): Likewise.
50286 * math/w_log10l.c (__log10l): Likewise.
50287 * math/w_log2l.c (__log2l): Likewise.
50288 * math/w_logl.c (__logl): Likewise.
50289 * math/w_powl.c (__powl): Likewise.
50290 * math/w_remainderl.c (__remainderl): Likewise.
50291 * math/w_scalbl.c (sysv_scalbl): Likewise.
50292 * math/w_sinhl.c (__sinhl): Likewise.
50293 * math/w_sqrtl.c (__sqrtl): Likewise.
50294 * math/w_tgammal.c (__tgammal): Likewise.
50295 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
50296 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
50297 * math/libm-test.inc (acos_test): Add more tests.
50298 (acosh_test): Likewise.
50299 (asin_test): Likewise.
50300 (atanh_test): Likewise.
50301 (exp_test): Likewise.
50302 (exp10_test): Likewise.
50303 (exp2_test): Likewise.
50304 (expm1_test): Likewise.
50305 (lgamma_test): Likewise.
50306 (log_test): Likewise.
50307 (log10_test): Likewise.
50308 (log1p_test): Likewise.
50309 (log2_test): Likewise.
50310 (pow_test): Do not allow some spurious overflow exceptions.
50311 (sqrt_test): Add more tests.
50312 (tgamma_test): Likewise.
50313 (y0_test): Likewise.
50314 (y1_test): Likewise.
50315 (yn_test): Likewise.
50317 2012-03-27 Anton Blanchard <anton@samba.org>
50319 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
50321 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
50322 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
50323 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
50325 2012-03-27 David S. Miller <davem@davemloft.net>
50327 * conform/Makefile: Run run-conformtest.sh using $(BASH).
50329 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
50330 have-as-vis3 check.
50332 2012-03-27 Andreas Jaeger <aj@suse.de>
50334 * sysdeps/x86_64/elf/configure.in: Moved to ...
50335 * sysdeps/x86_64/configure.in: ... here.
50336 * sysdeps/x86_64/elf/start.S: Moved to ...
50337 * sysdeps/x86_64/start.S: ... here.
50338 * sysdeps/x86_64/elf/configure: Delete.
50340 * sysdeps/x86_64/configure.in: Merge contents from
50341 sysdeps/i386/configure.in (without i686 check).
50343 * sysdeps/i386/elf/Versions: Merge into ...
50344 * sysdeps/i386/Versions: ... this.
50345 * sysdeps/i386/elf/Versions: Delete file.
50346 * sysdeps/i386/elf/start.S: Moved to ...
50347 * sysdeps/i386/start.S: ...here.
50348 * sysdeps/i386/elf/configure.in: Merge into...
50349 * sysdeps/i386/configure.in: ...here.
50350 * sysdeps/i386/elf/configure.in: Delete file.
50351 * sysdeps/i386/elf/configure: Delete file.
50353 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
50354 * debug/backtracesyms.c: ... here.
50355 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
50356 * debug/backtracesymsfd.c: ... here.
50357 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
50358 * sysdeps/generic/ifunc-sel.h: ... here.
50360 * sysdeps/unix/i386/start.c: Delete file.
50361 * sysdeps/unix/sparc/start.c: Delete file.
50362 * sysdeps/unix/start.c: Delete file.
50364 * sysdeps/sh/elf/configure.in: Moved to ...
50365 * sysdeps/sh/configure.in: ... here.
50366 * sysdeps/sh/elf/start.S: Moved to ...
50367 * sysdeps/sh/start.S: ... here.
50368 * sysdeps/sh/elf/configure: Delete file.
50370 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
50371 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
50372 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
50373 * sysdeps/powerpc/powerpc64/entry.h: ... here.
50374 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
50375 * sysdeps/powerpc/powerpc64/start.S: here.
50376 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
50377 * sysdeps/powerpc/powerpc64/Makefile: ... this.
50378 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
50379 * sysdeps/powerpc/powerpc64/configure.in: ... this.
50380 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
50382 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
50383 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
50384 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
50385 * sysdeps/powerpc/powerpc32/start.S: ... here.
50386 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
50387 * sysdeps/powerpc/powerpc32/configure.in: ... this.
50388 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
50390 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
50391 * sysdeps/powerpc/ifunc-sel.h: ... here.
50392 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
50393 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
50395 * sysdeps/sparc/elf/configure.in: Moved to ...
50396 * sysdeps/sparc/configure.in: ... here.
50397 * sysdeps/sparc/elf/configure: Delete file.
50398 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
50399 * sysdeps/sparc/sparc32/start.S: ... here.
50400 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
50401 * sysdeps/sparc/sparc64/start.S: ... here.
50402 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
50403 * sysdeps/sparc/sparc32/Makefile: ... this.
50404 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
50405 * sysdeps/sparc/sparc64/Makefile: ... this.
50407 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
50408 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
50409 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
50410 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
50411 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
50412 * sysdeps/s390/s390-32/setjmp.S: ... here.
50413 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
50414 * sysdeps/s390/s390-32/configure.in: ... here.
50415 * sysdeps/s390/s390-32/elf/configure: Delete file.
50416 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
50417 * sysdeps/s390/s390-32/start.S: ... here.
50419 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
50420 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
50421 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
50422 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
50423 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
50424 * sysdeps/s390/s390-64/setjmp.S: ... here.
50425 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
50426 * sysdeps/s390/s390-64/configure.in: ... here
50427 * sysdeps/s390/s390-64/elf/configure: Delete file.
50428 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
50429 * sysdeps/s390/s390-64/start.S: ... here.
50430 * sysdeps/s390/s390-64/elf/configure: Delete.
50432 * configure.in: Remove support for elf directories in sysdeps.
50434 * configure: Regenerated.
50435 * sysdeps/i386/configure: Regenerated.
50436 * sysdeps/powerpc/powerpc32/configure: Regenerated.
50437 * sysdeps/powerpc/powerpc64/configure: Regenerated.
50438 * sysdeps/s390/s390-32/configure: Regenerated.
50439 * sysdeps/s390/s390-64/configure: Regenerated.
50440 * sysdeps/sh/configure: Regenerated.
50441 * sysdeps/sparc/configure: Regenerated.
50442 * sysdeps/x86_64/configure: Regenerated.
50444 2012-03-26 Andreas Schwab <schwab@linux-m68k.org>
50446 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
50448 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
50449 denormal result into account.
50451 2012-03-25 Roland McGrath <roland@hack.frob.com>
50453 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
50454 Reported by Allan McRae <allan@archlinux.org>.
50456 2012-03-23 Jeff Law <law@redhat.com>
50458 * nss/getnssent.c (__nss_getent): Fix typo.
50460 2012-03-23 David S. Miller <davem@davemloft.net>
50462 * sysdeps/sparc/fpu/libm-test-ulps: Update.
50464 2012-03-23 H.J. Lu <hongjiu.lu@intel.com>
50466 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
50467 to pad to uint64_t for each field.
50468 (dl_tls_index): Replace unsigned long with uint64_t.
50470 2012-03-23 Daniel Jacobowitz <dmj@google.com>
50471 Paul Pluzhnikov <ppluzhnikov@google.com>
50474 * grp/Makefile (otherlibs): Don't set it.
50475 * inet/Makefile (otherlibs): Likewise.
50476 * login/Makefile (otherlibs): Likewise.
50477 * nscd/Makefile (otherlibs): Likewise.
50478 * posix/Makefile (otherlibs): Likewise.
50479 * pwd/Makefile (otherlibs): Likewise.
50480 * rt/Makefile (otherlibs): Likewise.
50481 * sunrpc/Makefile (otherlibs): Likewise.
50482 * nss/Makefile (otherlibs): Likewise.
50483 Add libnss_files to routines and static-only-routines.
50484 ($(objpfx)getent): Remove rule.
50485 * resolv/Makefile: Add libnss_dns and libresolv to routines and
50486 static-only-routines.
50488 2012-03-22 Joseph Myers <joseph@codesourcery.com>
50491 * math/s_cexp.c: Include <float.h>.
50492 (__cexp): Handle exp result overflowing not necessarily
50493 overflowing both real and imaginary parts of result.
50494 * math/s_cexpf.c: Likewise.
50495 * math/s_cexpl.c: Likewise.
50496 * math/libm-test.inc (cexp_test): Add more tests.
50497 * sysdeps/i386/fpu/libm-test-ulps: Update.
50498 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50500 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
50502 * include/link.h (ELFW): New macro.
50503 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
50504 Replace ELF64_R_TYPE with ELFW(R_TYPE).
50506 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
50508 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
50511 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
50513 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
50515 (struct La_x32_retval): Likewise.
50517 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
50519 * sysdeps/x86_64/preconfigure.in: New file.
50520 * sysdeps/x86_64/preconfigure: New generated file.
50522 2012-03-22 Joseph Myers <joseph@codesourcery.com>
50525 * math/e_exp2l.c: Include <float.h>.
50526 (__ieee754_exp2l): Handle overflow and underflow cases
50527 separately. Only pass fractional part of argument to
50529 * math/libm-test.inc (exp2_test): Add more tests.
50531 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
50532 negating x to take absolute value.
50533 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
50535 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
50536 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
50538 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
50539 computing low part if x was negated.
50540 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
50542 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
50544 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
50545 la_x32_gnu_pltexit.
50546 (pltexit): Cast int_retval to ptrdiff_t.
50547 * elf/tst-auditmod3b.c: Likewise.
50548 * elf/tst-auditmod4b.c: Likewise.
50549 * elf/tst-auditmod5b.c: Likewise.
50550 * elf/tst-auditmod6b.c: Likewise.
50551 * elf/tst-auditmod6c.c: Likewise.
50552 * elf/tst-auditmod7b.c: Likewise.
50554 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
50555 and x32_gnu_pltexit.
50557 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
50558 __ELF_NATIVE_CLASS.
50559 (La_x32_regs): New macro.
50560 (La_x32_retval): Likewise.
50561 (la_x32_gnu_pltenter): New function prototype.
50562 (la_x32_gnu_pltexit): Likewise.
50564 2012-03-21 Andreas Schwab <schwab@linux-m68k.org>
50566 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
50569 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
50571 * configure.in (libc_cv_cc_nofma): Check for option to disable
50572 generation of FMA instructions.
50573 * configure: Regenerate.
50574 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
50575 * sysdeps/ieee754/dbl-64/Makefile: New file.
50576 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
50577 Remove brandred-fma4.
50578 (CFLAGS-brandred-fma4.c): Remove.
50579 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
50580 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
50582 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
50585 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
50587 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
50588 LLONG_MAX != LONG_MAX.
50589 (_itoa_word): Use _ITOA_WORD_TYPE on value.
50590 (_fitoa_word): Likewise.
50591 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
50592 LLONG_MAX != LONG_MAX.
50593 * stdio-common/_itowa.h: Include <_itoa.h>.
50594 (_itowa_word): Use _ITOA_WORD_TYPE on value.
50595 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
50596 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
50597 only if not defined.
50598 (_ITOA_WORD_TYPE): Likewise.
50599 (_itoa_word): Use _ITOA_WORD_TYPE on value.
50600 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
50602 2012-03-21 David S. Miller <davem@davemloft.net>
50604 * sysdeps/sparc/fpu/libm-test-ulps: Update.
50606 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
50608 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
50609 of x86_64 when setting libc_cv_slibdir, libdir and
50611 * sysdeps/unix/sysv/linux/configure: Regenerated.
50613 2012-03-21 Joseph Myers <joseph@codesourcery.com>
50615 * manual/lang.texi (Old Varargs): Remove section.
50616 (How Variadic): Update menu.
50617 (va_start): Do not mention varargs.h.
50619 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
50620 Joseph Myers <joseph@codesourcery.com>
50622 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
50624 * configure: Regenerated.
50626 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
50628 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
50629 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
50632 2012-03-21 Joseph Myers <joseph@codesourcery.com>
50635 * Makefile (files-for-dist): Remove NOTES.
50636 (NOTES): Remove rule.
50637 * README: Don't refer to NOTES.
50638 * manual/creature.texi: Don't include macros.texi.
50639 * manual/intro.texi (creature.texi): Remove comment referring to
50642 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
50643 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
50644 * configure: Regenerated.
50645 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
50646 LIBC_TRY_CC_OPTION.
50647 (libc_cv_as_i686): Likewise.
50648 (libc_cv_cc_avx): Likewise.
50649 (libc_cv_cc_sse2avx): Likewise.
50650 (libc_cv_cc_fma4): Likewise.
50651 (libc_cv_cc_novzeroupper): Likewise.
50652 * sysdeps/i386/configure: Regenerated.
50655 * sysdeps/i386/fpu/s_cexp.S: Remove.
50656 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
50657 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
50658 * math/libm-test.inc (cexp_test): Add more tests.
50659 * sysdeps/i386/fpu/libm-test-ulps: Update.
50660 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50662 2012-03-21 Allan McRae <allan@archlinux.org>
50664 * timezone/Makefile: Do not install iso3166.tab and zone.tab
50666 2012-03-21 Joseph Myers <joseph@codesourcery.com>
50669 * math/w_exp2.c: Do not include <float.h>.
50670 (o_threshold, u_threshold): Remove.
50671 (__exp2): Calculate result before checking finiteness and calling
50673 * math/w_exp2f.c: Likewise.
50674 * math/w_exp2l.c: Likewise.
50675 * math/libm-test.inc (exp2_test): Require overflow exception for
50679 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
50680 range of signed 64-bit integers before using fistpll. Remove
50681 checks for whether integers fit in mantissa bits.
50682 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
50683 the range of signed 32-bit integers before using fistpl. Remove
50684 checks for whether integers fit in mantissa bits.
50685 * sysdeps/i386/fpu/e_powl.S (p64): New object.
50686 (__ieee754_powl): Test for y outside the range of signed 64-bit
50687 integers before using fistpll. Reduce 64-bit values to 63-bit
50689 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
50690 divide-by-zero is raised for zero to large negative powers.
50691 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
50692 (__ieee754_powl): Test for y outside the range of signed 64-bit
50693 integers before using fistpll. Reduce 64-bit values to 63-bit
50695 * math/libm-test.inc (pow_test): Add more tests.
50697 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
50699 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
50700 <stdio-common/_itoa.h>.
50701 * debug/segfault.c: Likewise.
50702 * elf/dl-cache.c: Likewise.
50703 * elf/dl-minimal.c: Likewise.
50704 * elf/dl-misc.c: Likewise.
50705 * elf/dl-sysdep.c: Likewise.
50706 * elf/dl-version.c: Likewise.
50707 * elf/rtld.c: Likewise.
50708 * hurd/hurdsock.c: Likewise.
50709 * hurd/lookup-retry.c: Likewise.
50710 * malloc/malloc.c: Likewise.
50711 * malloc/mtrace.c: Likewise.
50712 * nscd/nscd_getgr_r.c: Likewise.
50713 * nscd/nscd_getpw_r.c: Likewise.
50714 * nscd/nscd_getserv_r.c: Likewise.
50715 * posix/getopt_init.c: Likewise.
50716 * posix/wordexp.c: Likewise.
50717 * stdio-common/_itoa.c: Likewise.
50718 * stdio-common/printf_fphex.c: Likewise.
50719 * stdio-common/vfprintf.c: Likewise.
50720 * string/_strerror.c: Likewise.
50721 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
50722 * sysdeps/i386/i686/hp-timing.h: Likewise.
50723 * sysdeps/mach/_strerror.c: Likewise.
50724 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
50725 * sysdeps/mach/hurd/sethostid.c: Likewise.
50726 * sysdeps/mach/hurd/xmknodat.c: Likewise.
50727 * sysdeps/mach/xpg-strerror.c: Likewise.
50728 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
50729 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
50730 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
50731 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
50732 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
50733 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
50734 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
50735 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
50736 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
50737 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
50738 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
50739 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
50740 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
50741 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
50742 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
50743 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
50744 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
50745 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
50746 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
50747 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
50748 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
50750 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
50752 * stdio-common/_itoa.h: Moved to ...
50753 * sysdeps/generic/_itoa.h: Here.
50755 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
50757 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
50758 instead of "_itoa.h" and "_itowa.h".
50759 * stdio-common/vfprintf.: Likewise.
50761 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
50763 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
50765 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
50766 (__signbit): Likwise.
50767 (llrintf): Likwise.
50770 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
50772 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
50775 2012-03-20 Joseph Myers <joseph@codesourcery.com>
50777 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
50778 OVERFLOW_EXCEPTION_OK.
50779 * math/libm-test.inc ("Philosophy"): Update comment about
50781 (OVERFLOW_EXCEPTION): Define.
50782 (OVERFLOW_EXCEPTION_OK): Likewise.
50783 (INVALID_EXCEPTION_OK): Renumber.
50784 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
50785 (IGNORE_ZERO_INF_SIGN): Likewise.
50786 (test_exceptions): Handle FE_OVERFLOW.
50787 (exp10_test): Expect overflow exceptions.
50788 (exp2_test): Likewise.
50789 (expm1_test): Likewise.
50790 (nextafter_test): Likewise.
50791 (pow_test): Likewise.
50792 (scalbn_test): Likewise.
50793 (scalbln_test): Likewise.
50795 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
50797 * sysdeps/x86_64/bits/atomic.h
50798 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
50800 (atomic_exchange_acq): Likewise.
50801 (__arch_exchange_and_add_body): Likewise.
50802 (__arch_add_body): Likewise.
50803 (atomic_add_negative): Likewise.
50804 (atomic_add_zero): Likewise.
50806 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
50808 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
50809 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
50811 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
50813 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
50814 Check __x86_64__ instead of __WORDSIZE.
50816 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
50818 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
50820 2012-03-19 David S. Miller <davem@davemloft.net>
50822 * sysdeps/sparc/fpu/libm-test-ulps: Update.
50824 * sysdeps/sparc/fpu/fenv_private.h: New file.
50825 * sysdeps/sparc/fpu/math_private.h: Use it.
50826 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
50828 (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
50829 (libc_feholdexcept_setroundl): Remove.
50830 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
50832 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
50833 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
50835 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
50837 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
50838 int64_t instead of long int.
50839 (INSERT_WORDS64): Likwise.
50841 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
50843 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
50844 _Unwind_GetCFA return to _Unwind_Ptr first.
50846 2012-03-19 Joseph Myers <joseph@codesourcery.com>
50849 * math/s_clog.c: Include <float.h>.
50850 (__clog): Scale large or subnormal inputs.
50851 * math/s_clogf.c: Likewise.
50852 * math/s_clogl.c: Likewise.
50853 * math/s_clog10.c: Include <float.h>.
50854 (M_LOG10_2): Define.
50855 (__clog10): Scale large or subnormal inputs.
50856 * math/s_clog10f.c: Likewise.
50857 * math/s_clog10l.c: Likewise.
50858 * math/libm-test.inc (clog_test): Add more tests.
50859 (clog10_test): Likewise.
50860 * sysdeps/i386/fpu/libm-test-ulps: Update.
50861 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50864 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
50866 * math/libm-test.inc (atan2_test): Add another test.
50868 * Makerules (common-objdir-compile): Remove.
50869 * sysdeps/unix/Makefile (config-generated): Do not add
50870 $(unix-generated) to variable.
50871 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
50872 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
50874 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
50876 [generic bits/local_lim.h] (before-compile): Do not append to
50878 [generic bits/local_lim.h] (common-generated): Likewise.
50879 [generic sys/param.h] (before-compile): Do not append to variable.
50880 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
50881 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
50882 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
50883 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
50885 [generic sys/param.h] (sys/param.h-includes): Remove variable.
50886 [generic sys/param.h] (sys/param.h-includes): Remove rule.
50887 [generic sys/param.h] ($(addprefix
50888 $(common-objpfx),$(sys/param.h-includes))): Likewise.
50889 [generic sys/param.h] (common-generated): Do not append to
50891 [generic sys/param.h] (sysdep_headers): Likewise.
50892 [generic bits/errno.h] (before-compile): Do not append to
50894 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
50896 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
50897 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
50898 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
50899 [generic bits/errno.h] (common-generated): Do not append to
50901 [generic bits/ioctls.h] (before-compile): Do not append to
50903 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
50905 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
50906 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
50907 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
50909 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
50910 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
50911 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
50912 [generic bits/ioctls.h] (common-generated): Do not append to
50914 [generic sys/syscall.h] (syscall.h): Remove variable.
50915 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
50917 [generic sys/syscall.h] (before-compile): Do not append to
50919 [generic sys/syscall.h] (common-generated): Likewise.
50920 * sysdeps/unix/errnos-tmpl.c: Remove file.
50921 * sysdeps/unix/errnos.awk: Likewise.
50922 * sysdeps/unix/ioctls-tmpl.c: Likewise.
50923 * sysdeps/unix/ioctls.awk: Likewise.
50924 * sysdeps/unix/mk-local_lim.c: Likewise.
50925 * sysdeps/unix/snarf-ioctls: Likewise.
50927 2012-03-19 Richard Henderson <rth@twiddle.net>
50929 * sysdeps/i386/fpu/fenv_private.h: New file.
50930 * sysdeps/i386/fpu/math_private.h: Use it.
50931 (math_opt_barrier, math_force_eval): Remove.
50932 (libc_feholdexcept_setround_53bit): Remove.
50933 (libc_feupdateenv_53bit): Remove.
50934 * sysdeps/x86_64/fpu/math_private.h: Likewise.
50935 (math_opt_barrier, math_force_eval): Remove.
50936 (libc_feholdexcept): Remove.
50937 (libc_feholdexcept_setround): Remove.
50938 (libc_fetestexcept, libc_fesetenv): Remove.
50939 (libc_feupdateenv_test): Remove.
50940 (libc_feupdateenv, libc_feholdsetround): Remove.
50941 (libc_feresetround): Remove.
50943 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
50944 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
50946 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
50947 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
50948 (libc_feupdateenv_testl): New.
50949 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
50950 (libc_feupdateenv_testf): New.
50951 (libc_feupdateenv): Use libc_feupdateenv_test.
50952 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
50953 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
50955 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
50956 (libc_feholdsetroundf, libc_feholdsetroundl): New.
50957 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
50958 (libc_feresetround_noex): New.
50959 (libc_feresetround_noexf): New.
50960 (libc_feresetround_noexl): New.
50961 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
50962 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
50963 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
50964 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
50966 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
50967 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
50969 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
50970 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
50971 SET_RESTORE_ROUND_NOEX.
50972 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
50973 SET_RESTORE_ROUND_NOEXF.
50974 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
50975 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
50976 (libc_feholdsetroundf): New.
50977 (libc_feresetround, libc_feresetroundf): New.
50979 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
50980 (libc_feholdexcept_setround_53bit): Convert from macro to function.
50981 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
50983 * sysdeps/generic/math_private.h: Include <fenv.h>.
50984 (default_libc_feholdexcept): New.
50985 (default_libc_feholdexcept_setround): New.
50986 (default_libc_fesetenv, default_libc_feupdateenv): New.
50987 (libc_feholdexcept): Only define if undefined.
50988 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
50989 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
50990 (libc_feholdexcept_setroundl): Likewise.
50991 (libc_feholdexcept_setround_53bit): Likewise.
50992 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
50993 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
50994 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
50995 (libc_feupdateenv_53bit): Likewise.
50996 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
50997 (libc_feholdexcept): Convert from macro to inline function.
50998 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
50999 (libc_fesetenv, libc_feupdateenv): Likewise.
51001 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
51002 not previously defined.
51003 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
51004 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
51005 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
51006 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
51007 * sysdeps/ieee754/flt-32/math_private.h: New file.
51008 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
51009 math_private.h below SET_FLOAT_WORD.
51010 (__isnan, __isinf_ns, __finite): Remove.
51011 (__isnanf, __isinf_nsf, __finitef): Remove.
51013 2012-03-18 Andreas Schwab <schwab@linux-m68k.org>
51015 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
51017 2012-03-17 David S. Miller <davem@davemloft.net>
51020 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
51023 2012-03-16 David S. Miller <davem@davemloft.net>
51025 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
51029 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
51031 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
51032 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
51033 sysdep_routines when subdir is sysvipc.
51034 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
51035 __getshmlba helper.
51037 * sysdeps/sparc/fpu/libm-test/ulps: Update.
51039 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
51041 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
51044 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
51046 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
51047 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
51048 (__lround): Renamed to ...
51049 (__llround): This. Replace long int with long long int.
51050 Define lround functions as aliases of llround functions.
51051 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
51053 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
51055 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
51056 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
51057 adresses to uintptr_t. Replace "long int" and "unsigned long
51058 int" with "greg_t" on va_arg.
51060 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
51062 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
51063 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
51065 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
51066 Move e_machine check before EI_CLASS check. Handle x32
51067 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
51068 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
51069 SKIP_EM_IA_64 and include
51070 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
51072 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
51073 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
51074 (add_system_dir): New macro.
51076 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
51077 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
51079 2012-03-16 Joseph Myers <joseph@codesourcery.com>
51090 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
51092 * math/w_j0f.c (j0f): Likewise.
51094 * math/w_j0l.c (__j0l): Likewise.
51096 * math/w_j1.c (j1): Likewise.
51098 * math/w_j1f.c (j1f): Likewise.
51100 * math/w_j1l.c (__j1l): Likewise.
51102 * math/w_jn.c (jn): Likewise.
51104 * math/w_jnf.c (jnf): Likewise.
51106 * math/w_jnl.c (__jnl): Likewise.
51108 * math/libm-test.inc (j0_test): Add more tests.
51109 (j1_test): Likewise.
51110 (jn_test): Likewise. Add trailing semicolon to existing test.
51111 (y0_test): Likewise.
51112 (y1_test): Likewise.
51113 * sysdeps/i386/fpu/libm-test-ulps: Update.
51114 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51118 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
51119 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
51120 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
51121 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
51122 (__tanl): Set errno for infinite argument.
51123 * sysdeps/i386/fpu/mptan.c: Remove.
51124 * sysdeps/i386/fpu/s_tan.S: Likewise.
51125 * sysdeps/i386/fpu/s_tanl.S: Likewise.
51126 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
51127 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
51128 * math/libm-test.inc (tan_test): Add more tests and enable more
51129 tests for double and long double.
51130 * sysdeps/i386/fpu/libm-test-ulps: Update.
51131 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51133 2012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
51135 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
51136 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
51138 2012-03-16 Roland McGrath <roland@hack.frob.com>
51140 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
51141 * configure.in: Use it for both main tree and add-ons.
51142 * configure: Regenerated.
51144 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
51146 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
51148 2012-03-16 Joseph Myers <joseph@codesourcery.com>
51150 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
51154 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
51155 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
51156 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
51157 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
51158 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
51160 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
51161 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
51162 != 0 for prec == 2.
51163 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
51164 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
51165 * sysdeps/i386/fpu/s_cosl.S: Likewise.
51166 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
51167 * sysdeps/i386/fpu/s_sinl.S: Likewise.
51168 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
51169 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
51170 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
51171 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
51172 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
51173 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
51174 * math/libm-test.inc (cos_test): Add more tests and enable more
51175 tests for long double.
51176 (sin_test): Likewise.
51177 (sincos_test): Likewise.
51178 * sysdeps/i386/fpu/libm-test-ulps: Update.
51179 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51181 2012-03-16 David S. Miller <davem@davemloft.net>
51183 * sysdeps/sparc/fpu/math_private.h: New file.
51185 2012-03-15 David S. Miller <davem@davemloft.net>
51187 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
51189 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
51190 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
51192 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
51193 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
51194 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
51195 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
51196 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
51197 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
51199 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
51201 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
51202 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
51204 * sysdeps/sparc/sparc-ifunc.h: New file.
51205 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
51207 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
51208 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
51210 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
51212 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
51213 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
51214 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
51215 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
51217 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
51218 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
51219 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
51220 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
51221 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
51223 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
51225 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
51226 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
51227 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
51228 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
51229 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
51230 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
51231 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
51232 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
51233 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
51234 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
51235 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
51236 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
51237 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
51238 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
51239 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
51240 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
51241 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
51242 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
51243 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
51244 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
51245 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
51246 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
51247 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
51248 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
51250 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
51252 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
51254 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
51256 2012-03-15 Andreas Jaeger <aj@suse.de>
51259 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
51260 ieee754/flt-32 implementation for sin, cos and sincos.
51261 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
51262 * sysdeps/i386/fpu/s_cosf.S: Likewise.
51263 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
51264 * sysdeps/i386/fpu/s_sinf.S: Likewise.
51265 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
51266 ieee754/flt-32 implementation for tan.
51268 * math/libm-test.inc (cos_test): Enable some large input tests for
51270 (sin_test): Likewise.
51271 (sincos_test): Likewise.
51272 (tan_test): Add tests for large input.
51274 * sysdeps/i386/fpu/libm-test-ulps: Update.
51276 2012-03-15 Andreas Jaeger <aj@suse.de>
51279 * math/libm-test.inc (cos_test): Add more test cases.
51280 (sin_test): Likewise.
51281 (sincos_test): Likewise.
51283 2012-03-15 Andreas Jaeger <aj@suse.de>
51286 * math/libm-test.inc (cos_test): Add a test case for large input
51288 (sin_test): Likewise.
51289 (sincos_test): Likewise.
51291 2012-03-15 Andreas Jaeger <aj@suse.de>
51292 Joseph Myers <joseph@codesourcery.com>
51295 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
51296 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
51297 * sysdeps/i386/fpu/branred.c: Likewise.
51298 * sysdeps/i386/fpu/dosincos.c: Likewise.
51299 * sysdeps/i386/fpu/mpa.c: Likewise.
51300 * sysdeps/i386/fpu/s_cos.S: Likewise.
51301 * sysdeps/i386/fpu/s_sin.S: Likewise.
51302 * sysdeps/i386/fpu/s_sincos.S: Likewise.
51303 * sysdeps/i386/fpu/sincos32.c: Likewise.
51305 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
51307 (libc_feupdateenv_53bit): Define.
51308 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
51310 (libc_feupdateenv_53bit): Define.
51312 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
51313 53 bit (without extend i386 double precision).
51315 * math/libm-test.inc (sincos_test): Add tests for large input.
51319 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
51321 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
51323 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
51325 2012-03-15 David S. Miller <davem@davemloft.net>
51327 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
51328 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
51329 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
51330 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
51331 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
51332 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
51333 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
51334 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
51335 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
51336 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
51337 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
51338 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
51339 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
51340 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
51341 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
51342 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
51344 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
51345 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
51347 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
51348 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
51350 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
51351 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
51353 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
51354 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
51355 fmin/fmax sysdep routines.
51356 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
51358 2012-03-14 David S. Miller <davem@davemloft.net>
51360 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
51361 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
51362 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
51363 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
51364 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
51365 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
51366 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
51367 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
51368 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
51369 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
51370 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
51371 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
51372 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
51373 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
51374 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
51375 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
51376 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
51377 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
51378 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
51379 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
51380 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
51381 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
51382 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
51383 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
51384 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
51385 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
51386 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
51387 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
51388 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
51390 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
51392 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
51393 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
51395 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
51396 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
51398 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
51399 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
51401 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
51402 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
51404 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
51405 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
51407 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
51409 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
51411 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
51413 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
51415 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
51417 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
51419 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
51420 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
51422 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
51423 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
51425 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
51426 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
51428 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
51429 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
51432 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
51435 * sysdeps/sparc/fpu/libm-test-ulps: Update.
51437 * sysdeps/sparc/configure.in: New file.
51438 * sysdeps/sparc/configure: Generate.
51439 * configure.in (libc_cv_sparc_as_vis3): Substitute.
51440 * configure: Regenerate.
51441 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
51442 * config.make.in (have-as-vis3): New.
51443 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
51444 available use -Av9d instead of -Av9a.
51445 * sysdeps/sparc/sparc64/Makefile: Likewise.
51446 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
51447 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
51449 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
51451 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
51453 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
51455 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
51456 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
51457 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
51458 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
51459 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
51461 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
51462 fzeros/fnegs to load 0x80000000 into a float register instead of
51464 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
51466 2012-03-14 Joseph Myers <joseph@codesourcery.com>
51468 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
51470 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
51471 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
51472 ($(inst_includedir)/bits/syscall.h): Remove rule.
51473 ($(objpfx)bits/syscall.d): Include instead of
51474 $(objpfx)syscall-list.d.
51475 (generated): Change syscall-list.h and syscall-list.d to
51476 bits/syscall.h and bits/syscall.d.
51478 2012-03-14 Roland McGrath <roland@hack.frob.com>
51481 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
51483 2012-03-14 Joseph Myers <joseph@codesourcery.com>
51486 * math/s_csqrt.c: Include <float.h>.
51487 (__csqrt): Scale large or subnormal inputs.
51488 * math/s_csqrtf.c: Likewise.
51489 * math/s_csqrtl.c: Likewise.
51490 * math/libm-test.inc (csqrt_test): Add more tests.
51491 * sysdeps/i386/fpu/libm-test-ulps: Update.
51492 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51495 * math/libm-test.inc (hypot_test): Add more tests.
51497 2012-03-13 David S. Miller <davem@davemloft.net>
51500 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
51501 double-precision for the calculation instead of scaling.
51503 2012-03-13 Joseph Myers <joseph@codesourcery.com>
51505 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
51506 manipulate bits before adding and subtracting TWO52[sx].
51507 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
51508 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
51510 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
51512 2012-03-13 David S. Miller <davem@davemloft.net>
51514 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
51515 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
51516 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
51517 rtld-global-offsets.h
51518 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
51520 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
51523 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
51525 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
51526 'err' in the ifdef scope in which it is actually used.
51528 * nss/nss_db/db-init.c: Include string.h
51530 2012-03-12 David S. Miller <davem@davemloft.net>
51532 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
51533 masking out of the most significant byte of random value used.
51534 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
51535 Fix coding style in previous change.
51537 * sysdeps/unix/sysv/linux/kernel-features.h
51538 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
51539 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
51541 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
51544 2012-03-11 David S. Miller <davem@davemloft.net>
51546 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
51547 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
51548 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
51549 for 'resultvar' otherwise things get truncated on 64-bit.
51551 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
51552 Fix masking out of the most significant byte of random value used.
51554 * sysdeps/sparc/fpu/libm-test-ulps: Update.
51556 2012-03-10 Andreas Schwab <schwab@linux-m68k.org>
51558 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
51560 2012-03-09 David S. Miller <davem@davemloft.net>
51562 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
51563 variables with appropriate CPP guards.
51564 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
51565 from the frame pointer, not the stack pointer. Correct layout
51566 comments. Fix test on resulting framesize and the management of
51567 the outregs buffer for pltexit. Preserve floating point return
51568 values across _dl_call_pltexit call.
51569 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
51570 framesize and the management of the outregs buffer for pltexit.
51571 Preserve floating point return values across _dl_call_pltexit
51573 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
51574 (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
51575 (la_sparc64_gnu_pltexit): New functions.
51576 (print_exit): Fix format string for return register value.
51578 2012-03-10 Joseph Myers <joseph@codesourcery.com>
51580 * sunrpc/Makefile (others): Add rpcgen.
51581 ($(objpfx)rpcgen): Remove special build rule and dependency on
51583 * sunrpc/rpcgen.c: New file.
51585 2012-03-09 Paul Eggert <eggert@cs.ucla.edu>
51588 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
51589 * stdio-common/bug-vfprintf-nargs.c: Likewise.
51590 * sysdeps/i386/crti.S: Likewise.
51591 * sysdeps/i386/crtn.S: Likewise.
51592 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
51593 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
51594 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
51595 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
51596 * sysdeps/sh/crti.S: Likewise.
51597 * sysdeps/sh/crtn.S: Likewise.
51598 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
51601 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
51603 * locale/programs/locfile-kw.gperf: Likewise.
51604 * locale/programs/charmap-kw.h: Regenerated.
51605 * locale/programs/locfile-kw.h: Likewise.
51608 * intl/plural.y: Replace FSF snail mail address with URL.
51609 * intl/plural.c: Regenerated.
51611 2012-03-09 Richard Henderson <rth@twiddle.net>
51613 * include/math_private.h: Remove file.
51614 * math/math_private.h: Move file ...
51615 * sysdeps/generic/math_private.h: ... here.
51617 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
51618 * sysdeps/powerpc/fpu/math_private.h: Likewise.
51619 * sysdeps/x86_64/fpu/math_private.h: Likewise.
51621 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
51622 and <math_private.h>.
51623 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
51624 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
51625 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
51626 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
51627 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
51628 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
51629 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
51630 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
51631 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
51632 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
51633 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
51634 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
51635 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
51636 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
51637 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
51638 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
51639 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
51640 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
51641 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
51642 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
51643 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
51644 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
51645 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
51646 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
51647 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
51648 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
51649 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
51650 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
51651 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
51652 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
51653 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
51654 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
51655 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
51656 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
51657 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
51658 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
51659 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
51660 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
51661 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
51662 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
51663 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
51664 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
51665 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
51666 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
51667 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
51668 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
51669 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
51670 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
51671 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
51672 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
51673 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
51674 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
51675 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
51676 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
51677 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
51678 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
51679 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
51680 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
51681 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
51682 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
51683 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
51684 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
51685 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
51686 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
51687 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
51688 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
51689 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
51690 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
51691 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
51692 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
51693 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
51694 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
51695 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
51696 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
51697 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
51698 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
51699 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
51700 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
51701 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
51702 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
51703 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
51704 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
51705 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
51706 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
51707 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
51708 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
51709 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
51710 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
51711 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
51712 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
51713 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
51714 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
51715 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
51716 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
51717 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
51718 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
51719 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
51720 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
51721 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
51722 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
51723 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
51724 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
51725 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
51726 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
51727 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
51728 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
51729 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
51730 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
51731 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
51732 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
51733 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
51734 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
51735 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
51736 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
51737 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
51738 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
51739 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
51740 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
51741 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
51742 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
51743 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
51744 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
51745 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
51746 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
51747 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
51748 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
51749 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
51750 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
51751 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
51752 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
51753 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
51754 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
51755 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
51756 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
51757 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
51758 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
51759 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
51760 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
51761 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
51762 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
51763 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
51764 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
51765 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
51766 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
51767 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
51768 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
51769 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
51770 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
51771 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
51772 * sysdeps/ieee754/k_standard.c: Likewise.
51773 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
51774 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
51775 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
51776 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
51777 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
51778 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
51779 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
51780 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
51781 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
51782 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
51783 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
51784 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
51785 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
51786 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
51787 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
51788 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
51789 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
51790 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
51791 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
51792 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
51793 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
51794 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
51795 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
51796 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
51797 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
51798 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
51799 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
51800 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
51801 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
51802 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
51803 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
51804 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
51805 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
51806 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
51807 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
51808 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
51809 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
51810 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
51811 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
51812 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
51813 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
51814 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
51815 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
51816 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
51817 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
51818 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
51819 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
51820 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
51821 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
51822 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
51823 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
51824 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
51825 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
51826 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
51827 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
51828 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
51829 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
51830 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
51831 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
51832 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
51833 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
51834 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
51835 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
51836 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
51837 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
51838 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
51839 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
51840 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
51841 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
51842 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
51843 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
51844 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
51845 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
51846 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
51847 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
51848 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
51849 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
51850 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
51851 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
51852 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
51853 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
51854 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
51855 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
51856 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
51857 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
51858 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
51859 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
51860 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
51861 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
51862 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
51863 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
51864 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
51865 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
51866 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
51867 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
51868 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
51869 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
51870 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
51871 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
51872 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
51873 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
51874 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
51875 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
51876 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
51877 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
51878 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
51879 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
51880 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
51881 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
51882 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
51883 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
51884 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
51885 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
51886 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
51887 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
51888 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
51889 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
51890 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
51891 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
51892 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
51893 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
51894 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
51895 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
51896 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
51897 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
51898 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
51899 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
51900 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
51901 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
51902 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
51903 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
51904 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
51905 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
51906 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
51907 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
51908 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
51909 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
51910 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
51911 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
51912 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
51913 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
51914 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
51915 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
51916 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
51917 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
51918 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
51919 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
51920 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
51921 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
51922 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
51923 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
51924 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
51925 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
51926 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
51927 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
51928 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
51929 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
51930 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
51931 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
51932 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
51933 * sysdeps/ieee754/s_lib_version.c: Likewise.
51934 * sysdeps/ieee754/s_matherr.c: Likewise.
51935 * sysdeps/ieee754/s_signgam.c: Likewise.
51936 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
51937 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
51938 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
51939 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
51940 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
51941 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
51942 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
51943 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
51944 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
51945 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
51946 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
51947 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
51948 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
51949 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
51950 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
51951 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
51952 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
51953 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
51954 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
51955 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
51956 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
51958 2012-03-09 Joseph Myers <joseph@codesourcery.com>
51960 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
51961 * sunrpc/rpc_main.c: Likewise.
51962 * sunrpc/rpc_svcout.c: Likewise.
51964 2012-03-09 David S. Miller <davem@davemloft.net>
51966 * include/math_private.h: New file.
51968 2012-03-09 Joseph Myers <joseph@codesourcery.com>
51970 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
51971 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
51972 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
51973 from <bits/socket_type.h>.
51974 (enum __socket_type): Don't define here.
51975 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
51976 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
51977 bits/socket_type.h.
51980 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
51981 checking __USE_GNU.
51983 * Makerules ($(inst_includedir)/%.h): New rule.
51984 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
51985 (install-others): Remove variable setting.
51986 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
51988 2012-03-08 Richard Henderson <rth@twiddle.net>
51990 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
51991 from macro to inline function; merge with the
51992 !__LIBC_INTERNAL_MATH_INLINES version.
51993 (__ieee754_sqrtf): Likewise.
51995 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
51996 to inline function.
51997 (__rintf, __floor, __floorf): Likewise.
51999 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
52000 macro to inline function.
52001 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
52003 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
52004 not <math/math_private.h>.
52006 2012-03-08 David S. Miller <davem@davemloft.net>
52008 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
52010 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
52012 2012-03-08 Thomas Schwinge <thomas@codesourcery.com>
52014 * resolv/gai_misc.c (handle_requests): Fix struct timespec
52016 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
52017 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
52019 2012-03-08 Ulrich Drepper <drepper@gmail.com>
52021 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
52022 be defined individually, they must be defined as a block. Define
52023 S for printing a string instead of hidint the different by using a
52024 macro for adding the 'l'.
52025 * stdio-common/tst-fphex-wide.c: Adjust.
52027 2012-03-07 Marek Polacek <polacek@redhat.com>
52029 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
52031 2012-03-08 Marek Polacek <polacek@redhat.com>
52034 * stdio-common/Makefile (tests): Add tst-fphex-wide.
52035 * stdio-common/tst-fphex.c: Define a few macros to make the
52036 test reusable. Use them.
52037 * stdio-common/tst-fphex-wide.c: New file.
52039 2012-03-08 Joseph Myers <joseph@codesourcery.com>
52042 * manual/macros.texi (gnusystems): New macro.
52043 (nongnusystems): Likewise.
52044 (gnulinuxhurdsystems): Likewise.
52045 (gnuhurdsystems): Likewise..
52046 (gnulinuxsystems): Likewise.
52047 * manual/charset.texi: Use new macros or @theglibc{} to refer to
52048 variants of the GNU system, not "GNU system".
52049 * manual/conf.texi: Likewise.
52050 * manual/errno.texi: Likewise. Update example of errno macro
52052 * manual/filesys.texi: Likewise.
52053 (getumask): Document as specific to GNU/Hurd.
52054 * manual/install.texi: Likewise. Reword some references to
52056 * manual/intro.texi: Likewise.
52057 * manual/io.texi: Likewise.
52058 (File Name Portability): Detail which constraints are inapplicable
52059 to all GNU systems and which are only inapplicable to GNU/Hurd.
52060 * manual/job.texi: Likewise.
52061 * manual/llio.texi: Likewise.
52062 (O_NOCTTY): Document as present on GNU/Linux.
52063 * manual/maint.texi: Likewise.
52064 * manual/memory.texi: Likewise.
52065 * manual/pattern.texi: Likewise.
52066 * manual/pipe.texi: Likewise.
52067 * manual/process.texi: Likewise.
52068 * manual/resource.texi: Likewise.
52069 (RUSAGE_CHILDREN): Remove statement about specifying a particular
52071 * manual/setjmp.texi: Likewise.
52072 * manual/signal.texi: Likewise.
52073 * manual/startup.texi: Likewise.
52074 * manual/stdio.texi: Likewise.
52075 * manual/terminal.texi: Likewise.
52076 (ONLCR): Document as POSIX.
52077 (OXTABS): Document availability on GNU/Linux as XTABS.
52078 (ONOEOT): Document availability separately from other bits.
52079 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
52080 * manual/time.texi: Likewise.
52081 * manual/users.texi: Likewise.
52082 * INSTALL: Regenerated.
52083 * sysdeps/gnu/errlist.c: Regenerated.
52085 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
52086 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
52087 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
52089 * configure: Regenerated.
52091 2012-03-07 Joseph Myers <joseph@codesourcery.com>
52093 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
52094 default includes instead of AC_HEADER_CHECK.
52095 * sysdeps/i386/configure: Regenerated.
52098 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
52099 * math/s_cacoshf.c (__cacoshf): Likewise.
52100 * math/s_cacoshl.c (__cacoshl): Likewise.
52101 * math/s_casinh.c (__casinh): Set signs of result from argument.
52102 * math/s_casinhf.c (__casinhf): Likewise.
52103 * math/s_casinhl.c (__casinhl): Likewise.
52104 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
52105 (casinh_test): Add more tests.
52106 * sysdeps/i386/fpu/libm-test-ulps: Update.
52107 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52109 2012-03-07 Ulrich Drepper <drepper@gmail.com>
52111 * po/zh_TW.po: Update from translation team.
52113 * login/Makefile (distribute): Remove variable.
52114 * catgets/Makefile: Likewise.
52115 * mach/Makefile: Likewise.
52116 * malloc/Makefile: Likewise.
52117 * misc/Makefile: Likewise.
52118 * iconv/Makefile: Likewise.
52119 * nscd/Makefile: Likewise.
52120 * hurd/Makefile: Likewise.
52121 * manual/Makefile: Likewise.
52122 * locale/Makefile: Likewise.
52123 * intl/Makefile: Likewise.
52124 * conform/Makefile: Likewise.
52125 * nss/Makefile: Likewise.
52126 * time/Makefile: Likewise.
52127 * soft-fp/Makefile: Likewise.
52128 * dirent/Makefile: Likewise.
52129 * gmon/Makefile: Likewise.
52130 * po/Makefile: Likewise.
52131 * rt/Makefile: Likewise.
52132 * socket/Makefile: Likewise.
52133 * math/Makefile: Likewise.
52134 * signal/Makefile: Likewise.
52135 * debug/Makefile: Likewise.
52136 * elf/Makefile: Likewise.
52137 * timezone/Makefile: Likewise.
52138 * stdlib/Makefile: Likewise.
52139 * iconvdata/Makefile: Likewise.
52140 * sunrpc/Makefile: Likewise.
52141 * io/Makefile: Likewise.
52142 * argp/Makefile: Likewise.
52143 * inet/Makefile: Likewise.
52144 * hesiod/Makefile: Likewise.
52145 * grp/Makefile: Likewise.
52146 * csu/Makefile: Likewise.
52147 * wctype/Makefile: Likewise.
52148 * crypt/Makefile: Likewise.
52149 * libio/Makefile: Likewise.
52150 * string/Makefile: Likewise.
52151 * nis/Makefile: Likewise.
52152 * resolv/Makefile: Likewise.
52153 * stdio-common/Makefile: Likewise.
52154 * wcsmbs/Makefile: Likewise.
52155 * dlfcn/Makefile: Likewise.
52156 * posix/Makefile: Likewise.
52159 * timezone/Makefile: Don't install timezone files, just the programs
52162 2012-03-06 Ulrich Drepper <drepper@gmail.com>
52164 * nss/databases.def: Add missing gshadow entry.
52166 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
52168 2012-03-06 Marek Polacek <polacek@redhat.com>
52171 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
52172 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
52173 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
52174 * stdio-common/tst-long-dbl-fphex.c: New file.
52176 2012-03-06 David S. Miller <davem@davemloft.net>
52178 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
52179 (set_obp_int): New function.
52180 (get_obp_int): New function.
52181 (__get_clockfreq_via_dev_openprom): Likewise.
52182 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
52183 Avoid unused variable warnings on 'val' and use builtin_expect.
52184 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
52186 (INLINE_CLONE_SYSCALL): Likewise.
52188 2012-03-05 David S. Miller <davem@davemloft.net>
52190 * sysdeps/sparc/fpu/libm-test-ulps: Update.
52192 2012-03-05 Andreas Schwab <schwab@linux-m68k.org>
52194 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
52196 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
52197 only for |x| >= 40.
52198 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
52200 2012-03-05 H.J. Lu <hongjiu.lu@intel.com>
52202 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
52203 Replace gettimeofday with __vdso_gettimeofday.
52205 * sysdeps/unix/sysv/linux/x86_64/init-first.c
52206 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
52207 __vdso_clock_gettime and __vdso_getcpu.
52209 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
52210 time with __vdso_time.
52212 2012-03-05 Joseph Myers <joseph@codesourcery.com>
52214 * manual/lang.texi (size_t): Note types to which size_t may be
52215 equivalent with the GNU C Library, but do not describe when
52216 differences between them are significant.
52218 2012-03-05 Andreas Jaeger <aj@suse.de>
52220 * sysdeps/i386/fpu/libm-test-ulps: Update.
52222 2012-03-05 Joseph Myers <joseph@codesourcery.com>
52225 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
52226 (__ieee754_pow): Save and restore rounding mode and use
52227 round-to-nearest for main computations.
52228 * math/libm-test.inc (pow_test_tonearest): New function.
52229 (pow_test_towardzero): Likewise.
52230 (pow_test_downward): Likewise.
52231 (pow_test_upward): Likewise.
52232 (main): Call the new functions.
52233 * sysdeps/i386/fpu/libm-test-ulps: Update.
52234 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52237 * math/libm-test.inc (cosh_test_tonearest): New function.
52238 (cosh_test_towardzero): Likewise.
52239 (cosh_test_downward): Likewise.
52240 (cosh_test_upward): Likewise.
52241 (sinh_test_tonearest): Likewise.
52242 (sinh_test_towardzero): Likewise.
52243 (sinh_test_downward): Likewise.
52244 (sinh_test_upward): Likewise.
52245 (main): Call the new functions.
52246 * sysdeps/i386/fpu/libm-test-ulps: Update.
52247 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52249 2012-03-05 Tom de Vries <tom@codesourcery.com>
52251 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
52252 default stack guard is set in last bytes.
52253 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
52255 2012-03-05 Kees Cook <keescook@chromium.org>
52257 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
52260 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
52261 possibly allocate from heap instead of stack.
52262 * stdio-common/bug-vfprintf-nargs.c: New file.
52263 * stdio-common/Makefile (tests): Add nargs overflow test.
52265 2012-03-03 Andreas Schwab <schwab@linux-m68k.org>
52267 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
52269 2012-03-03 Marek Polacek <polacek@redhat.com>
52271 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
52272 * math/math_private.h: Likewise.
52273 * stdlib/tst-strtod.c: Likewise.
52274 * sysdeps/i386/i486/bits/atomic.h: Likewise.
52275 * sysdeps/x86_64/bits/atomic.h: Likewise.
52277 2012-03-02 David S. Miller <davem@davemloft.net>
52279 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
52280 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
52281 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
52282 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
52283 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
52284 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
52285 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
52286 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
52288 2012-03-02 Roland McGrath <roland@hack.frob.com>
52291 * manual/examples/README: New file, says the example source files
52292 can be used under GPL>=2.
52293 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
52294 line containing just "*/".
52295 * manual/examples/add.c: Add copyright header (GPL>=2).
52296 * manual/examples/argp-ex1.c: Likewise.
52297 * manual/examples/argp-ex2.c: Likewise.
52298 * manual/examples/argp-ex3.c: Likewise.
52299 * manual/examples/argp-ex4.c: Likewise.
52300 * manual/examples/atexit.c: Likewise.
52301 * manual/examples/db.c: Likewise.
52302 * manual/examples/dir.c: Likewise.
52303 * manual/examples/dir2.c: Likewise.
52304 * manual/examples/execinfo.c: Likewise.
52305 * manual/examples/filecli.c: Likewise.
52306 * manual/examples/filesrv.c: Likewise.
52307 * manual/examples/fmtmsgexpl.c: Likewise.
52308 * manual/examples/genpass.c: Likewise.
52309 * manual/examples/inetcli.c: Likewise.
52310 * manual/examples/inetsrv.c: Likewise.
52311 * manual/examples/isockad.c: Likewise.
52312 * manual/examples/longopt.c: Likewise.
52313 * manual/examples/memopen.c: Likewise.
52314 * manual/examples/memstrm.c: Likewise.
52315 * manual/examples/mkfsock.c: Likewise.
52316 * manual/examples/mkisock.c: Likewise.
52317 * manual/examples/mygetpass.c: Likewise.
52318 * manual/examples/pipe.c: Likewise.
52319 * manual/examples/popen.c: Likewise.
52320 * manual/examples/rprintf.c: Likewise.
52321 * manual/examples/search.c: Likewise.
52322 * manual/examples/select.c: Likewise.
52323 * manual/examples/setjmp.c: Likewise.
52324 * manual/examples/sigh1.c: Likewise.
52325 * manual/examples/sigusr.c: Likewise.
52326 * manual/examples/stpcpy.c: Likewise.
52327 * manual/examples/strdupa.c: Likewise.
52328 * manual/examples/strftim.c: Likewise.
52329 * manual/examples/strncat.c: Likewise.
52330 * manual/examples/subopt.c: Likewise.
52331 * manual/examples/swapcontext.c: Likewise.
52332 * manual/examples/termios.c: Likewise.
52333 * manual/examples/testopt.c: Likewise.
52334 * manual/examples/testpass.c: Likewise.
52335 * manual/examples/timeval_subtract.c: Likewise.
52338 * manual/time.texi (Elapsed Time): Move timeval_subtract example
52340 * manual/timeval_subtract.c.texi: ... here, new file.
52342 2012-03-02 David S. Miller <davem@davemloft.net>
52344 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
52346 2012-03-02 Joseph Myers <joseph@codesourcery.com>
52349 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
52350 (__sin): Save and restore rounding mode and use round-to-nearest
52351 for all computations.
52352 (__cos): Save and restore rounding mode and use round-to-nearest
52353 for all computations.
52354 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
52356 (tan): Save and restore rounding mode and use round-to-nearest for
52358 * math/libm-test.inc (cos_test_tonearest): New function.
52359 (cos_test_towardzero): Likewise.
52360 (cos_test_downward): Likewise.
52361 (cos_test_upward): Likewise.
52362 (sin_test_tonearest): Likewise.
52363 (sin_test_towardzero): Likewise.
52364 (sin_test_downward): Likewise.
52365 (sin_test_upward): Likewise.
52366 (tan_test_tonearest): Likewise.
52367 (tan_test_towardzero): Likewise.
52368 (tan_test_downward): Likewise.
52369 (tan_test_upward): Likewise.
52370 (main): Call the new functions.
52371 * sysdeps/i386/fpu/libm-test-ulps: Update.
52372 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52375 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
52376 small n, then large n, before computing and testing k+n.
52377 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
52378 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
52380 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
52382 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
52383 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
52384 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
52385 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
52386 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
52387 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
52388 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
52389 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
52390 * math/libm-test.inc (scalbn_test): Add more tests.
52391 (scalbln_test): Likewise.
52393 * manual/filesys.texi (mode_t): Describe constraints on size and
52394 signedness, not exact equivalence to a particular type.
52396 (ino64_t): Likewise.
52398 (nlink_t): Likewise.
52399 (blkcnt_t): Likewise.
52400 (blkcnt64_t): Likewise.
52401 * manual/llio.texi (off_t): Likewise.
52404 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
52405 (__ieee754_exp): Save and restore rounding mode and use
52406 round-to-nearest for all computations.
52407 * math/libm-test.inc (exp_test_tonearest): New function.
52408 (exp_test_towardzero): Likewise.
52409 (exp_test_downward): Likewise.
52410 (exp_test_upward): Likewise.
52411 (main): Call the new functions.
52412 * sysdeps/i386/fpu/libm-test-ulps: Update.
52413 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52415 2012-03-01 Chris Demetriou <cgd@google.com>
52417 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
52418 have predictable order.
52420 2012-03-01 David S. Miller <davem@davemloft.net>
52422 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
52424 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
52425 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
52426 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
52427 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
52429 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
52430 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
52431 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
52432 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
52433 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
52434 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
52435 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
52436 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
52437 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
52439 * sysdeps/sparc/fpu/libm-test-ulps: Update.
52441 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
52442 * sysdeps/sparc/fpu/libm-test-ulps: to here.
52443 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
52445 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
52446 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
52447 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
52448 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
52449 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
52450 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
52451 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
52452 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
52453 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
52454 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
52455 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
52456 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
52457 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
52458 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
52459 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
52460 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
52461 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
52462 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
52463 * sysdeps/sparc/elf/configure: Regenerated.
52465 2012-03-01 Joseph Myers <joseph@codesourcery.com>
52467 * configure.in (AS, LD): Require binutils 2.20 or later.
52468 * configure: Regenerated.
52469 * manual/install.texi (Tools for Compilation): Give binutils 2.20
52470 as required minimum version.
52471 * INSTALL: Regenerated.
52475 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
52476 before squaring exponent.
52477 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
52478 bottom long double and 27 bits of top long double before squaring
52480 * math/libm-test.inc (erfc_test): Add more tests.
52481 * sysdeps/i386/fpu/libm-test-ulps: Update.
52482 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
52483 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52485 2012-03-01 Kai Tietz <ktietz@redhat.com>
52487 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
52488 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
52489 containing bit-fields.
52490 * soft-fp/extended.h (_FP_UNION_E): Likewise.
52491 * soft-fp/single.h (_FP_UNION_S): Likewise.
52492 * soft-fp/double.h (_FP_UNION_D): Likewise.
52494 2012-02-29 Joseph Myers <joseph@codesourcery.com>
52497 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
52498 not include ../strcmp.S.
52499 [USE_AS_STRNCASECMP_L]: Likewise.
52500 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
52501 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
52502 * sysdeps/i386/i686/multiarch/strncase_l-c.c
52503 (__strncasecmp_l_ia32): Define as alias to
52504 __strncasecmp_l_nonascii.
52507 * math/libm-test.inc (expm1_test): Add test for bug 5794.
52508 * sysdeps/i386/fpu/libm-test-ulps: Update.
52509 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52511 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
52512 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52514 2012-02-29 Jeff Law <law@redhat.com>
52516 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
52517 out of bounds read.
52519 2012-02-29 Marek Polacek <polacek@redhat.com>
52522 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
52523 * elf/Makefile: Add rules to run tst-unused-dep.out.
52525 2012-02-28 David S. Miller <davem@davemloft.net>
52527 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
52528 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
52529 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
52530 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
52531 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
52532 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
52534 2012-02-29 Joseph Myers <joseph@codesourcery.com>
52536 * math/libm-test.inc (llround_test): Move one test from
52537 lround_test. Use TEST_f_L in moved test.
52538 (lround_test): Move misplaced test to llround_test. Add testcase
52541 2012-02-28 Ulrich Drepper <drepper@gmail.com>
52543 * sysdeps/x86_64/fpu/e_expf.S: New file.
52544 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
52546 2012-02-28 Stanislav Brabec <sbrabec@suse.cz>
52549 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
52550 of remain_len that may cause incomplete multi-byte character and
52552 * posix/bug-regex33.c: New file.
52553 * posix/Makefile (tests): Add bug-regex33.
52555 2012-02-28 Joseph Myers <joseph@codesourcery.com>
52557 * manual/macros.texi: New file.
52558 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
52559 * manual/libc.texinfo: Include macros.texi.
52560 * manual/creatute.texi: Likewise.
52561 * manual/install.texi: Likewise.
52562 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
52563 @glibcadj{} in references to the GNU C Library.
52564 * manual/charset.texi: Likewise.
52565 * manual/conf.texi: Likewise.
52566 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
52567 when not using those macros.
52568 * manual/creature.texi: Likewise.
52569 * manual/crypt.texi: Likewise.
52570 * manual/errno.texi: Likewise.
52571 * manual/filesys.texi: Likewise.
52572 * manual/header.texi: Likewise.
52573 * manual/install.texi: Likewise.
52574 * manual/intro.texi: Likewise.
52575 * manual/io.texi: Likewise.
52576 * manual/job.texi: Likewise.
52577 * manual/lang.texi: Likewise.
52578 * manual/libc.texiinfo: Likewise.
52579 * manual/llio.texi: Likewise.
52580 * manual/locale.texi: Likewise.
52581 * manual/maint.texi: Likewise.
52582 * manual/math.texi: Likewise.
52583 * manual/memory.texi: Likewise.
52584 * manual/message.texi: Likewise.
52585 * manual/nss.texi: Likewise.
52586 * manual/pattern.texi: Likewise.
52587 * manual/process.texi: Likewise.
52588 * manual/resource.texi: Likewise.
52589 * manual/search.texi: Likewise.
52590 * manual/setjmp.texi: Likewise.
52591 * manual/signal.texi: Likewise.
52592 * manual/socket.texi: Likewise.
52593 * manual/startup.texi: Likewise.
52594 * manual/stdio.texi: Likewise.
52595 * manual/string.texi: Likewise.
52596 * manual/sysinfo.texi: Likewise.
52597 * manual/syslog.texi: Likewise.
52598 * manual/terminal.texi: Likewise.
52599 * manual/time.texi: Likewise.
52600 * manual/users.texi: Likewise.
52601 * INSTALL: Regenerated.
52602 * NOTES: Regenerated.
52603 * sysdeps/gnu/errlist.c: Regenerated.
52605 2012-02-28 Andreas Schwab <schwab@linux-m68k.org>
52607 * include/dirent.h: Include <dirstream.h> before
52610 2012-02-28 David S. Miller <davem@davemloft.net>
52612 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
52613 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
52614 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
52615 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
52617 2012-02-27 David S. Miller <davem@davemloft.net>
52619 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
52620 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
52621 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
52622 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
52624 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
52625 frame pointer instead of stack pointer relative arg slot.
52626 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
52627 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
52628 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
52630 2012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
52633 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
52635 2012-02-27 David S. Miller <davem@davemloft.net>
52637 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
52638 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
52639 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
52640 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
52641 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
52642 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
52643 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
52644 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
52646 2012-02-27 Joseph Myers <joseph@codesourcery.com>
52648 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
52649 later. Allow versions 5-9.
52650 * configure: Regenerated.
52651 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
52652 required minimum version and 4.6 as recommended version. Do not
52653 mention bugs in GCC 2.7 and 2.8.
52654 * INSTALL: Regenerated.
52656 2012-02-27 David S. Miller <davem@davemloft.net>
52658 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
52659 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
52660 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
52661 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
52662 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
52663 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
52664 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
52665 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
52667 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
52668 manipulate bits before adding and subtracting TWO112[sx].
52669 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
52671 2012-02-27 Roland McGrath <roland@hack.frob.com>
52674 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
52675 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
52676 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
52677 being in POSIX, because they are in 1003.1-2008.
52679 * rt/tst-aio.c: Include <fcntl.h>.
52680 * rt/tst-aio7.c: Likewise.
52681 * rt/tst-aio64.c: Likewise.
52683 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
52685 2012-02-27 Joseph Myers <joseph@codesourcery.com>
52687 * manual/install.texi (--with-headers): Describe headers as
52688 interface headers, not private headers.
52689 (Specific advice for GNU/Linux systems): Describe use of headers
52690 from "make headers_install", not private headers from older
52692 * INSTALL: Regenerated.
52693 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
52695 * sysdeps/unix/sysv/linux/configure: Regenerated.
52697 * manual/llio.texi (fclean): Remove documentation.
52699 * manual/Makefile (libc-texi-generated): New variable. Include
52701 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
52702 $(libc-texi-generated), not duplicated list of files.
52703 (version.texi, stamp-version): New rules.
52704 (realclean): Remove $(libc-texi-generated), not individual files
52705 from that list. Do not remove dir-add.texinfo.
52706 * manual/libc.texinfo: Comment out uses of edition numbers and
52707 references to printed manual. Remove last-updated dates.
52708 (EDITION): Comment out.
52710 (VERSION, UPDATED): Remove.
52711 (version.texi): Include.
52713 2012-02-27 Andreas Schwab <schwab@linux-m68k.org>
52715 * sysdeps/posix/spawni.c: Include <signal.h>.
52716 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
52717 * sysdeps/pthread/aio_fsync.c: Likewise.
52719 2012-02-26 Ulrich Drepper <drepper@gmail.com>
52721 * conform/Makefile (tests): Run only when not cross-compiling and
52722 when fast-check is not defined.
52724 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
52725 * conform/data/limits.h-data: Fixes for POSIX2008.
52726 * conform/run-conformtest.sh: Run all tests.
52727 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
52729 * include/bits/dlfcn.h: Likewise.
52730 * include/langinfo.h: Likewise.
52731 * include/monetary.h: Likewise.
52732 * include/sys/poll.h: Likewise.
52734 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
52736 * posix/spawn.h: Define __need_sigset_t.
52737 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
52738 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
52739 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
52740 to get sigevent_t only.
52741 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
52742 only for __USE_GNU.
52743 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
52744 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
52745 process_vm_writev only for __USE_GNU.
52746 * termios/termios.h: Declare tcgetsid also for POSIX2008.
52748 * conform/Makefile: For now ignore errors from run-conformtest.
52749 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
52750 POSIX to avoid namespace pollution. Don't prepend headers.
52751 * conform/data/aio.h-data: Fixes for POSIX testing.
52752 * conform/data/fcntl.h-data: Likewise.
52753 * conform/data/glob.h-data: Likewise.
52754 * conform/data/grp.h-data: Likewise.
52755 * conform/data/pthread.h-data: Likewise.
52756 * conform/data/pwd.h-data: Likewise.
52757 * conform/data/signal.h-data: Likewise.
52758 * conform/data/spawn.h-data: Likewise.
52759 * conform/data/stdio.h-data: Likewise.
52760 * conform/data/stdlib.h-data: Likewise.
52761 * conform/data/stropts.h-data: Likewise.
52762 * conform/data/sys/mman.h-data: Likewise.
52763 * conform/data/sys/stat.h-data: Likewise.
52764 * conform/data/sys/types.h-data: Likewise.
52765 * conform/data/sys/wait.h-data: Likewise.
52766 * conform/data/time.h-data: Likewise.
52767 * conform/data/unistd.h-data: Likewise.
52768 * conform/data/utime.h-data: Likewise.
52770 * io/sys/stat.h: fchmod was always in POSIX.
52771 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
52772 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
52773 * rt/aio.h: Define __need_timespec before including <time.h>.
52774 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
52775 struct. Add forward declaration of pthread_attr_t and use it in
52777 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
52778 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
52779 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
52780 always remove CLK_TCK definition.
52782 2012-02-26 Andreas Schwab <schwab@linux-m68k.org>
52784 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
52786 2012-02-25 Ulrich Drepper <drepper@gmail.com>
52788 * conform/run-conformtest.sh: New file.
52789 * conform/Makefile: Run run-conformtest for tests.
52790 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
52793 * conform/data/uchar.h-data: New file.
52794 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
52795 * conform/data/arpa/inet.h-data: Likewise.
52796 * conform/data/assert.h-data: Likewise.
52797 * conform/data/complex.h-data: Likewise.
52798 * conform/data/cpio.h-data: Likewise.
52799 * conform/data/ctype.h-data: Likewise.
52800 * conform/data/dirent.h-data: Likewise.
52801 * conform/data/dlfcn.h-data: Likewise.
52802 * conform/data/errno.h-data: Likewise.
52803 * conform/data/fcntl.h-data: Likewise.
52804 * conform/data/float.h-data: Likewise.
52805 * conform/data/fmtmsg.h-data: Likewise.
52806 * conform/data/fnmatch.h-data: Likewise.
52807 * conform/data/ftw.h-data: Likewise.
52808 * conform/data/glob.h-data: Likewise.
52809 * conform/data/grp.h-data: Likewise.
52810 * conform/data/iconv.h-data: Likewise.
52811 * conform/data/inttypes.h-data: Likewise.
52812 * conform/data/langinfo.h-data: Likewise.
52813 * conform/data/libgen.h-data: Likewise.
52814 * conform/data/limits.h-data: Likewise.
52815 * conform/data/locale.h-data: Likewise.
52816 * conform/data/math.h-data: Likewise.
52817 * conform/data/monetary.h-data: Likewise.
52818 * conform/data/mqueue.h-data: Likewise.
52819 * conform/data/ndbm.h-data: Likewise.
52820 * conform/data/net/if.h-data: Likewise.
52821 * conform/data/netdb.h-data: Likewise.
52822 * conform/data/netinet/in.h-data: Likewise.
52823 * conform/data/nl_types.h-data: Likewise.
52824 * conform/data/poll.h-data: Likewise.
52825 * conform/data/pthread.h-data: Likewise.
52826 * conform/data/pwd.h-data: Likewise.
52827 * conform/data/regex.h-data: Likewise.
52828 * conform/data/sched.h-data: Likewise.
52829 * conform/data/search.h-data: Likewise.
52830 * conform/data/semaphore.h-data: Likewise.
52831 * conform/data/setjmp.h-data: Likewise.
52832 * conform/data/signal.h-data: Likewise.
52833 * conform/data/spawn.h-data: Likewise.
52834 * conform/data/stdarg.h-data: Likewise.
52835 * conform/data/stdio.h-data: Likewise.
52836 * conform/data/stdlib.h-data: Likewise.
52837 * conform/data/string.h-data: Likewise.
52838 * conform/data/strings.h-data: Likewise.
52839 * conform/data/stropts.h-data: Likewise.
52840 * conform/data/sys/ipc.h-data: Likewise.
52841 * conform/data/sys/mman.h-data: Likewise.
52842 * conform/data/sys/msg.h-data: Likewise.
52843 * conform/data/sys/resource.h-data: Likewise.
52844 * conform/data/sys/select.h-data: Likewise.
52845 * conform/data/sys/sem.h-data: Likewise.
52846 * conform/data/sys/shm.h-data: Likewise.
52847 * conform/data/sys/socket.h-data: Likewise.
52848 * conform/data/sys/stat.h-data: Likewise.
52849 * conform/data/sys/statvfs.h-data: Likewise.
52850 * conform/data/sys/time.h-data: Likewise.
52851 * conform/data/sys/timeb.h-data: Likewise.
52852 * conform/data/sys/times.h-data: Likewise.
52853 * conform/data/sys/types.h-data: Likewise.
52854 * conform/data/sys/uio.h-data: Likewise.
52855 * conform/data/sys/un.h-data: Likewise.
52856 * conform/data/sys/utsname.h-data: Likewise.
52857 * conform/data/sys/wait.h-data: Likewise.
52858 * conform/data/syslog.h-data: Likewise.
52859 * conform/data/tar.h-data: Likewise.
52860 * conform/data/termios.h-data: Likewise.
52861 * conform/data/utime.h-data: Likewise.
52862 * conform/data/utmpx.h-data: Likewise.
52863 * conform/data/varargs.h-data: Likewise.
52864 * conform/data/wchar.h-data: Likewise.
52865 * conform/data/wctype.h-data: Likewise.
52866 * conform/data/wordexp.h-data: Likewise.
52868 * include/stropts.h: New file.
52869 * include/uchar.h: New file.
52870 * include/aio.h: Changes to allow conformtest.pl to use the headers.
52871 * include/assert.h: Likewise.
52872 * include/ctype.h: Likewise.
52873 * include/dirent.h: Likewise.
52874 * include/dlfcn.h: Likewise.
52875 * include/fcntl.h: Likewise.
52876 * include/fnmatch.h: Likewise.
52877 * include/glob.h: Likewise.
52878 * include/grp.h: Likewise.
52879 * include/libio.h: Likewise.
52880 * include/locale.h: Likewise.
52881 * include/math.h: Likewise.
52882 * include/net/if.h: Likewise.
52883 * include/netdb.h: Likewise.
52884 * include/netinet/in.h: Likewise.
52885 * include/pthread.h: Likewise.
52886 * include/pwd.h: Likewise.
52887 * include/regex.h: Likewise.
52888 * include/sched.h: Likewise.
52889 * include/search.h: Likewise.
52890 * include/setjmp.h: Likewise.
52891 * include/signal.h: Likewise.
52892 * include/stdio.h: Likewise.
52893 * include/stdlib.h: Likewise.
52894 * include/string.h: Likewise.
52895 * include/sys/cdefs.h: Likewise.
52896 * include/sys/mman.h: Likewise.
52897 * include/sys/msg.h: Likewise.
52898 * include/sys/resource.h: Likewise.
52899 * include/sys/select.h: Likewise.
52900 * include/sys/socket.h: Likewise.
52901 * include/sys/stat.h: Likewise.
52902 * include/sys/statvfs.h: Likewise.
52903 * include/sys/time.h: Likewise.
52904 * include/sys/times.h: Likewise.
52905 * include/sys/uio.h: Likewise.
52906 * include/sys/utsname.h: Likewise.
52907 * include/sys/wait.h: Likewise.
52908 * include/termios.h: Likewise.
52909 * include/time.h: Likewise.
52910 * include/ulimit.h: Likewise.
52911 * include/unistd.h: Likewise.
52912 * include/utime.h: Likewise.
52913 * include/wchar.h: Likewise.
52914 * include/wctype.h: Likewise.
52915 * include/wordexp.h: Likewise.
52917 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
52919 * time/time.h: TIME_UTC must be a macro.
52920 Make timespec_get available for ISO C11 only as well.
52922 2012-02-24 Ulrich Drepper <drepper@gmail.com>
52924 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
52925 Reported by Peng Haitao <penght@cn.fujitsu.com>.
52927 2012-02-24 Joseph Myers <joseph@codesourcery.com>
52929 * configure.in: Use -o not -a in test for unsupported multi-arch.
52931 2012-02-24 Joseph Myers <joseph@codesourcery.com>
52933 * manual/texinfo.tex: Update to version 2012-01-19.16.
52935 2012-02-24 Joseph Myers <joseph@codesourcery.com>
52937 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
52939 2012-02-24 Roland McGrath <roland@hack.frob.com>
52942 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
52943 * manual/fdl-1.3.texi: New file.
52944 * manual/fdl-1.1.texi: File removed.
52947 * manual/libc.texinfo (FDL_VERSION): New @set.
52948 Use it for mention of FDL in cover text.
52949 (Documentation License): Use it in @include file name.
52951 2012-02-22 Joseph Myers <joseph@codesourcery.com>
52952 Roland McGrath <roland@hack.frob.com>
52955 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
52956 (not LONG_LONG_MAX and LONG_LONG_MIN.
52957 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
52958 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
52960 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
52962 2012-02-22 Joseph Myers <joseph@codesourcery.com>
52966 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
52967 manipulate bits before adding and subtracting TWO23[sx].
52968 * math/libm-test.inc (nearbyint_test): Add more tests.
52970 2012-02-22 Joseph Myers <joseph@codesourcery.com>
52973 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
52974 bits before adding and subtracting TWO23[sx].
52975 * math/libm-test.inc (rint_test): Add more tests.
52976 (rint_test_tonearest): Likewise.
52977 (rint_test_towardzero): Likewise.
52978 (rint_test_downward): Likewise.
52979 (rint_test_upward: Likewise.
52981 2012-02-22 Joseph Myers <joseph@codesourcery.com>
52984 * include/stdc-predef.h: New file. Extracted from features.h.
52985 * include/features.h: Include stdc-predef.h.
52986 * Makefile (headers): Add stdc-predef.h.
52987 * CONFORMANCE (Compiler limitations): Update.
52989 2012-02-22 Joseph Myers <joseph@codesourcery.com>
52991 * manual/libc.texinfo (VERSION, UPDATED): Revert.
52993 2012-02-21 David S. Miller <davem@davemloft.net>
52995 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
52996 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
52998 2012-02-20 David S. Miller <davem@davemloft.net>
53000 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
53001 using a normal save/restore sequence, rather than allocating a
53002 dummy stack frame just to store a frame pointer and restore.
53003 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
53005 2012-02-21 Joseph Myers <joseph@codesourcery.com>
53007 * manual/install.texi: Fix stray word in line-wrapped comment.
53009 2012-02-20 David S. Miller <davem@davemloft.net>
53011 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
53012 both binutils and gcc support GOTDATA.
53014 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
53015 "rd %pc" in the PIC register setup sequences.
53017 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
53018 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
53019 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
53020 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
53021 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
53022 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
53023 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
53024 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
53025 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
53026 (SYSCALL_ERROR_HANDLER): Likewise.
53027 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
53028 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
53029 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
53030 (SYSCALL_ERROR_HANDLER): Likewise.
53032 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
53033 (HAVE_GCC_GOTDATA): New.
53034 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
53035 relocation support in both binutils and gcc.
53036 * sysdeps/sparc/elf/configure: Regenerate.
53038 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
53039 * sysdeps/sparc/sparc32/elf/configure: Delete.
53040 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
53041 * sysdeps/sparc/sparc64/elf/configure: Delete.
53042 * sysdeps/sparc/elf/configure.in: New file.
53043 * sysdeps/sparc/elf/configure: Generate.
53045 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
53046 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
53047 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
53048 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
53049 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
53051 2012-02-21 Joseph Myers <joseph@codesourcery.com>
53053 * manual/install.texi: Do not mention specific glibc version
53055 * manual/libc.texinfo (VERSION, UPDATED): Update.
53056 (@copying): Use @copyright{} and range of years.
53058 2012-02-21 Joseph Myers <joseph@codesourcery.com>
53061 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
53062 [crti.S not in sysdirs] (generated): Do not append.
53063 [crti.S not in sysdirs] (omit-deps): Likewise.
53064 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
53065 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
53066 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
53067 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
53068 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
53070 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
53071 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
53072 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
53073 * csu/defs.awk: Remove file.
53074 * sysdeps/generic/initfini.c: Likewise.
53075 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
53077 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
53080 2012-02-20 Joseph Myers <joseph@codesourcery.com>
53082 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
53083 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
53084 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
53085 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
53086 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
53087 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
53089 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
53090 (__EPOLL_PACKED): Define to empty if not defined by
53092 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
53093 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
53096 2012-02-20 Joseph Myers <joseph@codesourcery.com>
53098 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
53099 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
53100 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
53101 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
53103 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
53104 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
53107 2012-02-20 Joseph Myers <joseph@codesourcery.com>
53109 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
53111 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
53112 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
53113 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
53114 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53116 2012-02-20 Aurelien Jarno <aurelien@aurel32.net>
53118 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
53119 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
53121 2012-02-19 Andreas Schwab <schwab@linux-m68k.org>
53123 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
53124 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
53126 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
53128 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
53131 2012-02-19 Aurelien Jarno <aurelien@aurel32.net>
53133 * math/w_acos.c: Use non-signaling floating-point comparisons.
53134 * math/w_acosf.c: Likewise.
53135 * math/w_acosh.c: Likewise.
53136 * math/w_acoshf.c: Likewise.
53137 * math/w_acoshl.c: Likewise.
53138 * math/w_acosl.c: Likewise.
53139 * math/w_asin.c: Likewise.
53140 * math/w_asinf.c: Likewise.
53141 * math/w_asinl.c: Likewise.
53142 * math/w_atanh.c: Likewise.
53143 * math/w_atanhf.c: Likewise.
53144 * math/w_atanhl.c: Likewise.
53145 * math/w_exp2.c: Likewise.
53146 * math/w_exp2f.c: Likewise.
53147 * math/w_exp2l.c: Likewise.
53148 * math/w_j0.c: Likewise.
53149 * math/w_j0f.c: Likewise.
53150 * math/w_j0l.c: Likewise.
53151 * math/w_j1.c: Likewise.
53152 * math/w_j1f.c: Likewise.
53153 * math/w_j1l.c: Likewise.
53154 * math/w_jn.c: Likewise.
53155 * math/w_jnf.c: Likewise.
53156 * math/w_log.c: Likewise.
53157 * math/w_log10.c: Likewise.
53158 * math/w_log10f.c: Likewise.
53159 * math/w_log10l.c: Likewise.
53160 * math/w_log2.c: Likewise.
53161 * math/w_log2f.c: Likewise.
53162 * math/w_log2l.c: Likewise.
53163 * math/w_logf.c: Likewise.
53164 * math/w_logl.c: Likewise.
53165 * math/w_sqrt.c: Likewise.
53166 * math/w_sqrtf.c: Likewise.
53167 * math/w_sqrtl.c: Likewise.
53168 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
53169 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
53170 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
53171 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
53172 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
53174 2012-02-19 Joseph Myers <joseph@codesourcery.com>
53177 * manual/string.texi (strnlen): Use correct parameter name in
53178 equivalent expression.
53180 2012-02-19 Joseph Myers <joseph@codesourcery.com>
53183 * manual/users.texi (seteuid): Consistently use neweuid for
53186 2012-02-19 Joseph Myers <joseph@codesourcery.com>
53189 * manual/nss.texi (Services in the NSS configuration): Correct
53190 list of services in example configuration file.
53192 2012-02-19 Nick Bowler <nbowler@draconx.ca>
53195 * manual/arith.texi: Remove statements about negative zero
53196 behaving identically to zero.
53198 2012-02-18 Joseph Myers <joseph@codesourcery.com>
53201 * manual/install.texi: Do not document upgrading from libc5.
53203 2012-02-18 Joseph Myers <joseph@codesourcery.com>
53206 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
53208 2012-02-18 David S. Miller <davem@davemloft.net>
53210 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
53211 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
53212 %o7 across the call.
53213 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
53215 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
53216 SETUP_PIC_REG_LEAF.
53217 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
53218 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
53219 * sysdeps/sparc/crtn.S: Likewise.
53221 2012-02-17 Ulrich Drepper <drepper@gmail.com>
53223 * aout/Makefile: Remove.
53225 2012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
53228 * manual/examples/argp-ex1.c (main): Format definition in GNU
53230 * manual/examples/argp-ex2.c (main): Likewise.
53231 * manual/examples/argp-ex3.c (main): Likewise.
53232 * manual/examples/argp-ex4.c (main): Likewise.
53233 * manual/examples/longopt.c (main): Use new-style prototype
53235 * manual/examples/strncat.c (main): Specify return type and use
53236 (void) for arguments.
53237 * manual/examples/subopt.c (main): Use char **argv argument.
53239 2012-02-17 Joseph Myers <joseph@codesourcery.com>
53242 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
53245 2012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
53248 * manual/string.texi (strchr): Change when strchrnul is
53251 2012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
53254 * manual/locale.texi (setlocale): Document LOCPATH.
53256 2012-02-17 Joseph Myers <joseph@codesourcery.com>
53259 * manual/process.texi (execle): Move @dots{} before last argument.
53261 2012-02-17 Paul Bolle <pebolle@tiscali.nl>
53264 * manual/charset.texi (Generic Charset Conversion): Fix typo
53265 (LC_TYPE -> LC_CTYPE).
53267 2012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
53270 * manual/arith.texi (scalbn): Use @var{} on parameter names.
53271 (scalbnf): Likewise.
53272 (scalbnl): Likewise.
53273 (scalbln): Likewise.
53274 (scalblnf): Likewise.
53275 (scalblnl): Likewise.
53276 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
53277 (vwarnx): Likewise.
53280 * manual/filesys.texi (telldir): Use braces around return type.
53281 * manual/llio.texi (mmap): Add space after comma.
53282 (mmap64): Likewise.
53283 * manual/math.texi (jn): Use @var{} on parameter names.
53289 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
53291 * manual/resource.texi (ulimit): Use @dots{} instead of literal
53293 (sched_get_priority_min): Remove semicolon on @deftypefun line.
53294 (sched_get_priority_max): Likewise.
53295 * manual/signal.texi (sigvec): Add space after comma.
53296 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
53298 (if_indextoname): Likewise.
53299 (if_freenameindex): Likewise.
53300 (sendto): Use ',' instead of '.' in prototype.
53301 * manual/startup.texi (syscall): Use @dots{} instead of literal
53303 * manual/stdio.texi (__fpending): Separate initial words of
53304 paragraph from @deftypefun line.
53305 * manual/syslog.texi (syslog): Use @dots{} instead of literal
53307 (vsyslog): Use @var{} on parameter names.
53308 * manual/terminal.texi (stty): Use @var{} on parameter names.
53309 * manual/users.texi (getutmp): Use @var{} on parameter names.
53310 (getutmpx): Likewise.
53312 2012-02-17 Joseph Myers <joseph@codesourcery.com>
53315 * manual/stdio.texi (fopen): Fix typos in description of
53318 2012-02-17 Aurelien Jarno <aurelien@aurel32.net>
53321 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
53322 get clock_id definition.
53324 2012-02-17 Thomas Schwinge <thomas@schwinge.name>
53327 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
53328 (madvise): Cast every argument to void on its own.
53330 2012-02-17 Joseph Myers <joseph@codesourcery.com>
53333 * manual/startup.texi (Exit Status): Fix typo.
53335 2012-02-17 Joseph Myers <joseph@codesourcery.com>
53338 * manual/examples/argp-ex1.c: Include <stdlib.h>.
53339 * manual/examples/argp-ex2.c: Likewise.
53340 * manual/examples/argp-ex3.c: Likewise.
53342 2012-02-16 Richard Henderson <rth@redhat.com>
53344 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
53345 * sysdeps/s390/s390-32/initfini.c: Remove.
53346 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
53347 * sysdeps/s390/s390-64/initfini.c: Remove.
53349 2012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
53351 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
53352 compiler output for sysdeps/generic/initfini.c.
53353 * sysdeps/sh/elf/initfini.c: Remove file.
53355 2012-02-16 David S. Miller <davem@davemloft.net>
53358 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
53360 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
53361 * sysdeps/sparc/crti.S: New file.
53362 * sysdeps/sparc/crtn.S: New file.
53363 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
53364 * sysdeps/sparc/sparc64/Makefile: Likewise.
53366 2012-02-15 Mike Frysinger <vapier@gentoo.org>
53369 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
53371 2012-02-15 Roland McGrath <roland@hack.frob.com>
53374 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
53376 * mach/devstream.c (cookie_io_functions_t): Macro removed.
53377 (write, read, close): Likewise.
53378 Patch by Aurelien Jarno <aurelien@aurel32.net>.
53380 2012-02-15 Joseph Myers <joseph@codesourcery.com>
53382 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
53383 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
53384 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
53385 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
53387 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
53388 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
53391 2012-02-14 Marek Polacek <polacek@redhat.com>
53393 * sysdeps/x86_64/crti.S: New file.
53394 * sysdeps/x86_64/crtn.S: New file.
53395 * sysdeps/x86_64/elf/initfini.c: Remove file.
53397 2012-02-13 Joseph Myers <joseph@codesourcery.com>
53399 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
53400 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
53401 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
53402 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
53404 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
53405 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
53408 2012-02-13 Joseph Myers <joseph@codesourcery.com>
53410 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
53411 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
53412 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
53413 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
53415 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
53416 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
53419 2012-02-10 Thomas Schwinge <thomas@codesourcery.com>
53421 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
53422 __feraiseexcept instead of feraiseexcept.
53424 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
53425 nanosleep invocations.
53426 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
53427 strings, and add error checking for a nanosleep invocations.
53429 2012-02-09 Paul Eggert <eggert@cs.ucla.edu>
53431 Replace FSF snail mail address with URLs, as per GNU coding standards.
53432 Most of the snail mail addresses were wrong anyway, and omitting
53433 them makes the source code easier to maintain. Almost all of the
53434 changes are to license notices and to locale LC_IDENTIFICATION
53435 addresses, except for this one:
53436 * manual/libc.texinfo: In "Published by", give the FSF's URL,
53437 not its snail mail address.
53439 2012-02-09 Richard Henderson <rth@twiddle.net>
53441 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
53442 of kernel-features.h.
53444 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
53446 2012-02-08 Marek Polacek <polacek@redhat.com>
53448 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
53449 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
53450 * sysdeps/gnu/_G_config.h: Likewise.
53451 * sysdeps/generic/_G_config.h: Likewise.
53453 2012-02-08 Andreas Schwab <schwab@linux-m68k.org>
53455 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
53457 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53459 * sysdeps/powerpc/powerpc32/crti.S: New file.
53460 * sysdeps/powerpc/powerpc32/crtn.S: New file.
53461 * sysdeps/powerpc/powerpc64/crti.S: New file.
53462 * sysdeps/powerpc/powerpc64/crtn.S: New file.
53464 * Makeconfig (have-initfini): Don't set.
53465 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
53466 * configure.in (nopic_initfini): Don't substitute.
53467 * config.h.in (HAVE_INITFINI): Don't #undef.
53468 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
53469 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
53471 2012-02-08 Joseph Myers <joseph@codesourcery.com>
53473 Support crti.S and crtn.S provided directly by architectures.
53474 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
53475 [crti.S in sysdirs] (omit-deps): Likewise.
53476 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
53477 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
53478 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
53479 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
53480 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
53481 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
53482 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
53483 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
53484 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
53485 compiler output for sysdeps/generic/initfini.c.
53486 * sysdeps/i386/elf/Makefile: Remove file.
53487 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
53489 2012-02-07 Marek Polacek <polacek@redhat.com>
53491 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
53492 * sysdeps/gnu/_G_config.h: Likewise.
53493 * sysdeps/mach/hurd/_G_config.h: Likewise.
53495 2012-02-07 Marek Polacek <polacek@redhat.com>
53497 * math/Makefile (tests): Add tst-CMPLX2.
53498 * math/tst-CMPLX2.c: New file.
53500 2012-02-07 Andreas Schwab <schwab@linux-m68k.org>
53502 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
53504 * math/libm-test.inc (jn_test): Add missing L suffix.
53506 2012-02-06 Marek Polacek <polacek@redhat.com>
53508 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
53509 * sysdeps/i386/fpu/e_powf.S: Likewise.
53510 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
53511 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
53512 * sysdeps/i386/fpu/e_acosh.S: Likewise.
53513 * sysdeps/i386/fpu/e_pow.S: Likewise.
53514 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
53515 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
53516 * sysdeps/i386/fpu/s_expm1.S: Likewise.
53517 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
53518 * sysdeps/i386/fpu/e_log2.S: Likewise.
53519 * sysdeps/i386/fpu/e_log2l.S: Likewise.
53520 * sysdeps/i386/fpu/e_scalb.S: Likewise.
53521 * sysdeps/i386/fpu/e_powl.S: Likewise.
53522 * sysdeps/i386/fpu/s_log1p.S: Likewise.
53523 * sysdeps/i386/fpu/e_log10f.S: Likewise.
53524 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
53525 * sysdeps/i386/fpu/e_logl.S: Likewise.
53526 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
53527 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
53528 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
53529 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
53530 * sysdeps/i386/fpu/e_log2f.S: Likewise.
53531 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
53532 * sysdeps/i386/fpu/e_log.S: Likewise.
53533 * sysdeps/i386/fpu/s_cexp.S: Likewise.
53534 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
53535 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
53536 * sysdeps/i386/fpu/e_logf.S: Likewise.
53537 * sysdeps/i386/fpu/e_log10l.S: Likewise.
53538 * sysdeps/i386/fpu/e_atanh.S: Likewise.
53539 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
53540 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
53541 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
53542 * sysdeps/i386/fpu/e_log10.S: Likewise.
53543 * sysdeps/i386/fpu/s_frexp.S: Likewise.
53544 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
53545 * sysdeps/i386/fpu/s_asinh.S: Likewise.
53546 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
53547 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
53548 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
53549 * sysdeps/i386/asm-syntax.h: Likewise.
53550 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
53551 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
53552 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
53553 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
53554 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
53555 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
53556 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
53557 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
53558 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
53559 * sysdeps/powerpc/sysdep.h: Likewise.
53560 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
53561 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
53563 2012-02-06 Joseph Myers <joseph@codesourcery.com>
53566 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
53568 2012-02-06 Joseph Myers <joseph@codesourcery.com>
53570 * sysdeps/i386/sysdep.h: Include <features.h>.
53571 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
53574 2012-02-05 Joseph Myers <joseph@codesourcery.com>
53576 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
53578 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
53581 2012-02-03 Joseph Myers <joseph@codesourcery.com>
53583 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
53584 (SETUP_PIC_REG): Use GET_PC_THUNK.
53585 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
53588 2012-02-03 Joseph Myers <joseph@codesourcery.com>
53590 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
53591 for non-PIC compilation.
53592 (SETUP_PIC_REG): Add .p2align directive.
53593 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
53594 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
53595 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
53596 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
53597 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
53598 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
53599 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
53600 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
53601 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
53602 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
53603 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
53604 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
53605 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
53606 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
53607 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
53608 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
53609 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
53610 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
53611 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
53612 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
53613 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
53614 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
53615 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
53616 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
53617 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
53618 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
53619 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
53620 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
53621 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
53622 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
53623 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
53624 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
53625 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
53626 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
53627 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
53628 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
53629 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
53630 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
53631 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
53632 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
53633 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
53635 2012-02-03 Joseph Myers <joseph@codesourcery.com>
53637 * math/tst-CMPLX.c: Include <stdio.h>.
53639 2012-01-31 Joseph Myers <joseph@codesourcery.com>
53641 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
53643 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
53644 * sysdeps/sparc/bits/mathdef.h: Likewise.
53646 2012-01-31 Marek Polacek <polacek@redhat.com>
53648 * libio/libio.h: Don't define _PARAMS.
53649 * locale/programs/config.h: Don't define PARAMS.
53650 * stdlib/strtol_l.c: Likewise.
53651 (__strtol_l): Remove PARAMS from the prototype.
53653 2012-01-31 Ulrich Drepper <drepper@gmail.com>
53655 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
53656 names. Just use the correct names. Remove unnecessary wrapper
53658 * malloc/arena.c: Likewise.
53659 * malloc/hooks.c: Likewise.
53661 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
53662 ARENA_TEST says not to. Simplify test for creation of a new arena.
53663 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
53665 2012-01-30 Ulrich Drepper <drepper@gmail.com>
53667 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
53669 (update_get_addr): New function.
53670 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
53671 GET_ADDR_MODULE parameter.
53673 2012-01-30 Joseph Myers <joseph@codesourcery.com>
53675 * crypt/cert.c: Remove __STDC__ conditionals.
53676 * crypt/crypt-entry.c: Likewise.
53677 * crypt/crypt_util.c: Likewise.
53678 * libio/filedoalloc.c: Likewise.
53679 * libio/fileops.c: Likewise.
53680 * libio/genops.c: Likewise.
53681 * libio/iofclose.c: Likewise.
53682 * libio/iofdopen.c: Likewise.
53683 * libio/iofopen.c: Likewise.
53684 * libio/iofopen64.c: Likewise.
53685 * libio/iogetdelim.c: Likewise.
53686 * libio/iopopen.c: Likewise.
53687 * libio/obprintf.c: Likewise.
53688 * libio/oldfileops.c: Likewise.
53689 * libio/oldiofclose.c: Likewise.
53690 * libio/oldiofdopen.c: Likewise.
53691 * libio/oldiofopen.c: Likewise.
53692 * libio/oldiopopen.c: Likewise.
53693 * libio/wfiledoalloc.c: Likewise.
53694 * libio/wgenops.c: Likewise.
53695 * locale/programs/xmalloc.c: Likewise.
53696 * misc/syslog.c: Likewise.
53697 * stdio-common/xbug.c: Likewise.
53698 * string/memchr.c: Likewise.
53699 * string/memcmp.c: Likewise.
53700 * string/memrchr.c: Likewise.
53701 * string/rawmemchr.c: Likewise.
53702 * sysdeps/posix/getcwd.c: Likewise.
53703 * time/strftime_l.c: Likewise.
53705 2012-01-30 Joseph Myers <joseph@codesourcery.com>
53707 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
53708 * config.make.in (config-cflags-sse2avx): Define.
53709 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
53712 2012-01-29 Chris Metcalf <cmetcalf@tilera.com>
53714 * scripts/config.guess: Update from upstream config git repository.
53715 * scripts/config.sub: Likewise.
53717 2012-01-28 Chris Metcalf <cmetcalf@tilera.com>
53719 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
53721 (R_TILEPRO_*, R_TILEGX_*): New macros.
53723 * scripts/firstversions.awk: Fix bug in version range handling.
53725 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
53727 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
53729 * include/sys/epoll.h: New file.
53730 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
53733 2012-01-28 Ulrich Drepper <drepper@gmail.com>
53735 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
53736 Avoid unnecessary __WORDSIZE == 64 test.
53737 (fmaxf): Use VEX format if possible.
53742 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
53743 * math/math_private.h: Remove libc_fegetround* and
53745 * sysdeps/i386/configure.in: Check for -msse2avx.
53746 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
53747 also if SSE2AVX is defined.
53748 Remove libc_fegetround* and libc_fesetround*.
53749 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
53750 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
53751 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
53753 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
53754 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
53755 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
53756 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
53757 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
53759 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
53761 2012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
53763 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
53765 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
53767 2012-01-27 Ulrich Drepper <drepper@gmail.com>
53770 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
53772 * Makeconfig (libm): Define.
53773 * elf/Makefile: Add rules to build and run tst-relsort1.
53774 * elf/tst-relsort1.c: New file.
53775 * elf/tst-relsort1mod1.c: New file.
53776 * elf/tst-relsort1mod2.c: New file.
53778 2012-01-27 Joseph Myers <joseph@codesourcery.com>
53780 * math/s_ldexp.c: Remove __STDC__ conditionals.
53781 * math/s_ldexpf.c: Likewise.
53782 * math/s_ldexpl.c: Likewise.
53783 * math/s_nextafter.c: Likewise.
53784 * math/s_nexttowardf.c: Likewise.
53785 * math/s_significand.c: Likewise.
53786 * math/s_significandf.c: Likewise.
53787 * math/s_significandl.c: Likewise.
53788 * math/w_jnl.c: Likewise.
53789 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
53790 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
53791 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
53792 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
53793 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
53794 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
53795 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
53796 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
53797 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
53798 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
53799 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
53800 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
53801 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
53802 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
53803 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
53804 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
53805 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
53806 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
53807 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
53808 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
53809 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
53810 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
53811 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
53812 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
53813 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
53814 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
53815 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
53816 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
53817 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
53818 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
53819 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
53820 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
53821 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
53822 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
53823 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
53824 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
53825 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
53826 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
53827 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
53828 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
53829 * sysdeps/ieee754/k_standard.c: Likewise.
53830 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
53831 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
53832 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
53833 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
53834 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
53835 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
53836 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
53837 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
53838 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
53839 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
53840 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
53841 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
53842 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
53843 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
53844 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
53845 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
53846 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
53847 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
53848 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
53849 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
53850 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
53851 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
53852 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
53853 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
53854 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
53855 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
53856 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
53857 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
53858 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
53859 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
53860 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
53861 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
53862 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
53863 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
53864 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
53865 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
53866 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
53867 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
53868 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
53869 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
53870 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
53871 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
53872 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
53873 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
53874 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
53875 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
53876 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
53877 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
53878 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
53879 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
53880 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
53881 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
53882 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
53883 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
53884 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
53885 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
53886 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
53887 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
53888 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
53889 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
53890 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
53891 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
53892 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
53893 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
53894 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
53895 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
53896 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
53897 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
53898 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
53899 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
53900 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
53901 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
53902 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
53903 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
53904 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
53905 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
53906 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
53907 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
53908 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
53909 * sysdeps/ieee754/s_matherr.c: Likewise.
53910 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
53911 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
53912 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
53913 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
53915 2012-01-26 Joseph Myers <joseph@codesourcery.com>
53917 * crypt/md5.h: Remove __STDC__ conditionals.
53918 * libio/libioP.h: Likewise.
53919 * locale/programs/config.h: Likewise.
53920 * sysdeps/generic/sysdep.h: Likewise.
53921 * sysdeps/i386/asm-syntax.h: Likewise.
53922 * sysdeps/s390/asm-syntax.h: Likewise.
53923 * sysdeps/unix/sysdep.h: Likewise.
53924 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
53925 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
53927 2012-01-26 Joseph Myers <joseph@codesourcery.com>
53929 * libio/libio.h: Remove __STDC__ conditionals.
53930 * malloc/obstack.h: Likewise.
53931 * math/complex.h: Likewise.
53932 * math/math.h: Likewise.
53933 * sysdeps/generic/_G_config.h: Likewise.
53934 * sysdeps/gnu/_G_config.h: Likewise.
53935 * sysdeps/mach/hurd/_G_config.h: Likewise.
53936 * sysdeps/powerpc/bits/mathdef.h: Likewise.
53937 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
53938 * sysdeps/sparc/bits/mathdef.h: Likewise.
53940 2012-01-26 Ulrich Drepper <drepper@gmail.com>
53943 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
53944 Clean up HAS_* macros.
53945 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
53946 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
53948 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
53950 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
53951 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
53952 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
53953 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
53954 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
53956 2012-01-25 Joseph Myers <joseph@codesourcery.com>
53958 * elf/tst-unique3.cc (gets): Remove declaration.
53959 * elf/tst-unique3lib.cc (gets): Likewise.
53960 * elf/tst-unique3lib2.cc (gets): Likewise.
53961 * elf/tst-unique4.cc (gets): Likewise.
53963 2012-01-24 Ulrich Drepper <drepper@gmail.com>
53965 * include/stdio.h: Add C++ protection. Add gets declarations and
53967 * debug/tst-chk1.c: Don't declare gets here.
53968 * stdio-common/tst-gets.c: Likewise.
53970 2012-01-24 Joseph Myers <joseph@codesourcery.com>
53972 * posix/glob: Remove directory.
53974 2012-01-24 Joseph Myers <joseph@codesourcery.com>
53976 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
53978 2012-01-22 Pino Toscano <toscano.pino@tiscali.it>
53980 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
53981 of the non-standard EPFNOSUPPORT.
53983 2011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
53985 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
53986 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
53987 ANYWHERE set to 1 only on KERN_NO_SPACE error.
53989 2012-01-21 Ulrich Drepper <drepper@gmail.com>
53991 * wcsmbs/uchar.h: Test __STDC_VERSION__.
53993 2012-01-20 Ulrich Drepper <drepper@gmail.com>
53995 * nscd/aicache.c (addhstaiX): Do not cache negative results of
53997 * nscd/grpcache.c (cache_addgr): Likewise.
53998 * nscd/hstcache.c (cache_addhst): Likewise.
53999 * nscd/initgrcache.c (addinitgroupsX): Likewise.
54000 * nscd/pwdcache.c (cache_addpw): Likewise.
54001 * nscd/servicescache.c (cache_addserv): Likewise.
54003 2012-01-16 Ulrich Drepper <drepper@gmail.com>
54005 * malloc/malloc.c: Various cleanups.
54006 * malloc/hooks.c: Likewise.
54008 * stdlib/Makefile (tests): Add bug-fmtmsg1.
54009 * stdlib/bug-fmtmsg1.c: New file.
54011 * stdlib/fmtmsg.c (init): Add missing unlock.
54012 Patch by Peng Haitao <penght@cn.fujitsu.com>.
54014 2012-01-12 Marek Polacek <polacek@redhat.com>
54016 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
54019 2012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
54021 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
54022 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
54023 macro to ensure uniqueness of label name.
54024 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
54025 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
54027 2012-01-11 Ulrich Drepper <drepper@gmail.com>
54029 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
54031 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
54032 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
54033 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
54034 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
54036 2012-01-10 Ulrich Drepper <drepper@gmail.com>
54038 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
54040 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
54041 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
54042 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
54044 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
54046 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
54047 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
54048 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
54049 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
54051 * math/bits/math-finite.h: Add ldexp support.
54053 2012-01-10 Marek Polacek <polacek@redhat.com>
54055 * locale/programs/localedef.h (show_archive_content): Add noreturn
54058 2012-01-09 Ulrich Drepper <drepper@gmail.com>
54060 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
54062 2012-01-08 Ulrich Drepper <drepper@gmail.com>
54064 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
54066 * io/Makefile (headers): Add bits/poll2.h.
54068 2011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
54070 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
54071 typo #include statement.
54073 2012-01-08 Ulrich Drepper <drepper@gmail.com>
54075 * include/sys/cdefs.h: Define __attribute_alloc_size.
54076 * catgets/gencat.c: Add alloc_size attribute and apply consistently
54077 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
54078 * elf/pldd.c: Likewise.
54079 * iconv/iconv_charmap.c: Likewise.
54080 * iconv/iconvconfig.c: Likewise.
54081 * iconv/strtab.c: Likewise.
54082 * locale/programs/locale.c: Likewise.
54083 * locale/programs/localedef.h: Likewise.
54084 * locale/programs/simple-hash.c: Likewise.
54085 * nscd/nscd.h: Likewise.
54086 * nss/makedb.c: Likewise.
54087 * sysdeps/generic/ldconfig.h: Likewise.
54088 * locale/programs/localedef.c: Remove xmalloc prototype.
54089 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
54091 2012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
54093 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
54096 2012-01-08 Ulrich Drepper <drepper@gmail.com>
54098 * math/Makefile (tests): Add tst-CMPLX.
54099 * math/tst-CMPLX.c: New file.
54101 * math/complex.h (CMPLXL): Fix typo.
54103 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
54104 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
54106 * debug/tst-chk1.c: Add poll and ppoll tests.
54107 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
54108 * include/sys/poll.h: Add hidden proto for ppoll.
54109 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
54110 * sysdeps/mach/hurd/ppoll.c: Likewise.
54111 * io/ppoll.c: Likewise.
54112 * debug/poll_chk.c: New file.
54113 * debug/ppoll_chk.c: New file.
54114 * include/bits/poll2.h: New file.
54115 * io/bits/poll2.h: New file.
54118 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
54120 * configure.in: static is always set to yes. Remove.
54121 * config.make.in: Don't set build-static.
54122 * Makeconfig: Remove use of build-static.
54123 * dlfcn/Makefile: Likewise.
54124 * elf/Makefile: Likewise.
54125 * math/Makefile: Likewise.
54126 * misc/Makefile: Likewise.
54127 * nptl/Makefile: Likewise.
54128 * sysdeps/mach/hurd/Makefile: Likewise.
54130 * configure.in: PWD_P is not used anymore.
54131 * config.make.in: Remove PWD_P entry.
54133 * configure.in: Remove last remnants of RANLIB.
54134 No need to check for signed size_t anymore.
54135 Don't set libc_commonpagesize and libc_relro_required here for Alpha
54137 Remove __builtin_expect test because we require at least gcc 3.4.
54138 * aclocal.m4: Likewise.
54140 * wcsmbs/mbrtoc16.c: Implement using towc function.
54141 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
54142 * wcsmbs/wcsmbsload.c: Likewise.
54143 * iconv/gconv_simple.c: Likewise.
54144 * iconv/gconv_int.h: Likewise.
54145 * iconv/gconv_builtin.h: Likewise.
54146 * iconv/iconv_prog.c: Remove CHAR16 handling.
54148 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
54150 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
54152 * configure.in: Remove --with-elf and --enable-bounded options.
54153 Dont set base_machine for ia64. More non-ELF conditions removed.
54154 Remove testing and setting of leading underscore information.
54155 * config.make.in (build-bounded): Set to no.
54156 * config.h.in: Remove NO_UNDERSCORES entry.
54157 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
54159 * csu/start.c: Remove !NO_UNDERSCORE code.
54160 * locale/localeinfo.h: Likewise.
54161 * sysdeps/generic/machine-gmon.h: Likewise.
54162 * sysdeps/generic/sysdep.h: Likewise.
54163 * sysdeps/i386/sysdep.h: Likewise.
54164 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
54165 * sysdeps/mach/sysdep.h: Likewise.
54166 * sysdeps/s390/s390-32/sysdep.h: Likewise.
54167 * sysdeps/s390/s390-64/sysdep.h: Likewise.
54168 * sysdeps/sh/sysdep.h: Likewise.
54169 * sysdeps/sparc/sparc32/alloca.S: Likewise.
54170 * sysdeps/unix/i386/sysdep.S: Likewise.
54171 * sysdeps/unix/sparc/start.c: Likewise.
54172 * sysdeps/unix/sparc/sysdep.S: Likewise.
54173 * sysdeps/unix/sparc/sysdep.h: Likewise.
54174 * sysdeps/unix/start.c: Likewise.
54175 * sysdeps/unix/x86_64/sysdep.S: Likewise.
54176 * sysdeps/x86_64/sysdep.h: Likewise.
54178 2012-01-07 Ulrich Drepper <drepper@gmail.com>
54181 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
54183 * argp/argp-fmtstream.h: Use const instead __const.
54184 * argp/argp.h: Likewise.
54185 * assert/assert.h: Likewise.
54186 * bits/fenv.h: Likewise.
54187 * bits/sched.h: Likewise.
54188 * bits/sigset.h: Likewise.
54189 * bits/sigthread.h: Likewise.
54190 * catgets/nl_types.h: Likewise.
54191 * conform/data/pthread.h-data: Likewise.
54192 * crypt/crypt-private.h: Likewise.
54193 * crypt/crypt.h: Likewise.
54194 * crypt/crypt_util.c: Likewise.
54195 * ctype/ctype.h: Likewise.
54196 * debug/execinfo.h: Likewise.
54197 * debug/mbsnrtowcs_chk.c: Likewise.
54198 * debug/mbsrtowcs_chk.c: Likewise.
54199 * debug/wcsnrtombs_chk.c: Likewise.
54200 * debug/wcsrtombs_chk.c: Likewise.
54201 * debug/wcstombs_chk.c: Likewise.
54202 * dirent/dirent.h: Likewise.
54203 * dlfcn/dlfcn.h: Likewise.
54204 * elf/neededtest4.c: Likewise.
54205 * grp/grp.h: Likewise.
54206 * gshadow/gshadow.h: Likewise.
54207 * iconv/gconv.h: Likewise.
54208 * iconv/gconv_int.h: Likewise.
54209 * iconv/gconv_simple.c: Likewise.
54210 * iconv/iconv.h: Likewise.
54211 * iconv/loop.c: Likewise.
54212 * iconv/skeleton.c: Likewise.
54213 * include/aio.h: Likewise.
54214 * include/aliases.h: Likewise.
54215 * include/argz.h: Likewise.
54216 * include/arpa/inet.h: Likewise.
54217 * include/assert.h: Likewise.
54218 * include/dirent.h: Likewise.
54219 * include/dlfcn.h: Likewise.
54220 * include/execinfo.h: Likewise.
54221 * include/fcntl.h: Likewise.
54222 * include/fenv.h: Likewise.
54223 * include/glob.h: Likewise.
54224 * include/grp.h: Likewise.
54225 * include/libintl.h: Likewise.
54226 * include/mntent.h: Likewise.
54227 * include/netdb.h: Likewise.
54228 * include/pwd.h: Likewise.
54229 * include/rpc/netdb.h: Likewise.
54230 * include/sched.h: Likewise.
54231 * include/search.h: Likewise.
54232 * include/shadow.h: Likewise.
54233 * include/signal.h: Likewise.
54234 * include/stdio.h: Likewise.
54235 * include/stdlib.h: Likewise.
54236 * include/string.h: Likewise.
54237 * include/sys/socket.h: Likewise.
54238 * include/sys/stat.h: Likewise.
54239 * include/sys/statfs.h: Likewise.
54240 * include/sys/statvfs.h: Likewise.
54241 * include/sys/syslog.h: Likewise.
54242 * include/sys/time.h: Likewise.
54243 * include/sys/uio.h: Likewise.
54244 * include/time.h: Likewise.
54245 * include/unistd.h: Likewise.
54246 * include/utmp.h: Likewise.
54247 * include/wchar.h: Likewise.
54248 * include/wctype.h: Likewise.
54249 * inet/aliases.h: Likewise.
54250 * inet/arpa/inet.h: Likewise.
54251 * inet/netinet/ether.h: Likewise.
54252 * inet/netinet/in.h: Likewise.
54253 * intl/libintl.h: Likewise.
54254 * io/bits/fcntl2.h: Likewise.
54255 * io/fcntl.h: Likewise.
54256 * io/ftw.h: Likewise.
54257 * io/sys/poll.h: Likewise.
54258 * io/sys/stat.h: Likewise.
54259 * io/sys/statfs.h: Likewise.
54260 * io/sys/statvfs.h: Likewise.
54261 * io/utime.h: Likewise.
54262 * libio/bits/stdio.h: Likewise.
54263 * libio/bits/stdio2.h: Likewise.
54264 * libio/libio.h: Likewise.
54265 * libio/libioP.h: Likewise.
54266 * libio/stdio.h: Likewise.
54267 * locale/lc-ctype.c: Likewise.
54268 * locale/locale.h: Likewise.
54269 * login/utmp.h: Likewise.
54270 * malloc/arena.c: Likewise.
54271 * malloc/malloc.c: Likewise.
54272 * malloc/malloc.h: Likewise.
54273 * malloc/mcheck.c: Likewise.
54274 * malloc/mtrace.c: Likewise.
54275 * math/bits/mathcalls.h: Likewise.
54276 * math/fenv.h: Likewise.
54277 * math/math_private.h: Likewise.
54278 * misc/bits/error.h: Likewise.
54279 * misc/bits/syslog.h: Likewise.
54280 * misc/err.h: Likewise.
54281 * misc/error.h: Likewise.
54282 * misc/fstab.h: Likewise.
54283 * misc/mntent.h: Likewise.
54284 * misc/regexp.h: Likewise.
54285 * misc/search.h: Likewise.
54286 * misc/sgtty.h: Likewise.
54287 * misc/sys/mman.h: Likewise.
54288 * misc/sys/syslog.h: Likewise.
54289 * misc/sys/uio.h: Likewise.
54290 * misc/sys/xattr.h: Likewise.
54291 * misc/ttyent.h: Likewise.
54292 * nis/rpcsvc/ypclnt.h: Likewise.
54293 * nss/nss.h: Likewise.
54294 * posix/bits/unistd.h: Likewise.
54295 * posix/fnmatch.h: Likewise.
54296 * posix/glob.h: Likewise.
54297 * posix/sched.h: Likewise.
54298 * posix/spawn.h: Likewise.
54299 * posix/sys/wait.h: Likewise.
54300 * posix/unistd.h: Likewise.
54301 * posix/wordexp.h: Likewise.
54302 * pwd/pwd.h: Likewise.
54303 * resolv/netdb.h: Likewise.
54304 * resource/sys/resource.h: Likewise.
54305 * rt/aio.h: Likewise.
54306 * rt/bits/mqueue2.h: Likewise.
54307 * rt/mqueue.h: Likewise.
54308 * shadow/shadow.h: Likewise.
54309 * signal/signal.h: Likewise.
54310 * socket/send.c: Likewise.
54311 * socket/sendto.c: Likewise.
54312 * socket/sys/socket.h: Likewise.
54313 * stdio-common/printf.h: Likewise.
54314 * stdlib/bits/stdlib.h: Likewise.
54315 * stdlib/fmtmsg.h: Likewise.
54316 * stdlib/monetary.h: Likewise.
54317 * stdlib/stdlib.h: Likewise.
54318 * stdlib/ucontext.h: Likewise.
54319 * streams/stropts.h: Likewise.
54320 * string/argz.h: Likewise.
54321 * string/bits/string2.h: Likewise.
54322 * string/string.h: Likewise.
54323 * string/strings.h: Likewise.
54324 * sunrpc/rpc/auth.h: Likewise.
54325 * sunrpc/rpc/auth_des.h: Likewise.
54326 * sunrpc/rpc/clnt.h: Likewise.
54327 * sunrpc/rpc/netdb.h: Likewise.
54328 * sunrpc/rpc/pmap_clnt.h: Likewise.
54329 * sunrpc/rpc/xdr.h: Likewise.
54330 * sysdeps/generic/inttypes.h: Likewise.
54331 * sysdeps/generic/net/if.h: Likewise.
54332 * sysdeps/generic/sys/swap.h: Likewise.
54333 * sysdeps/gnu/net/if.h: Likewise.
54334 * sysdeps/gnu/utmpx.h: Likewise.
54335 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
54336 * sysdeps/i386/i486/bits/string.h: Likewise.
54337 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
54338 * sysdeps/s390/bits/string.h: Likewise.
54339 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
54340 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
54341 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
54342 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
54343 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
54344 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
54345 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
54346 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
54347 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
54348 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
54349 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
54350 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
54351 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
54352 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
54353 * sysdeps/unix/sysv/linux/readv.c: Likewise.
54354 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
54355 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
54356 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
54357 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
54358 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
54359 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
54360 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
54361 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
54362 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
54363 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
54364 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
54365 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
54366 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
54367 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
54368 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
54369 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
54370 * sysvipc/sys/ipc.h: Likewise.
54371 * sysvipc/sys/msg.h: Likewise.
54372 * sysvipc/sys/sem.h: Likewise.
54373 * sysvipc/sys/shm.h: Likewise.
54374 * termios/termios.h: Likewise.
54375 * time/sys/time.h: Likewise.
54376 * time/time.h: Likewise.
54377 * wcsmbs/bits/wchar2.h: Likewise.
54378 * wcsmbs/uchar.h: Likewise.
54379 * wcsmbs/wchar.h: Likewise.
54380 * wctype/wctype.h: Likewise.
54383 * Makeconfig: Remove all but ELF support including AIX support.
54384 * Makerules: Likewise.
54385 * config.h.in: Likewise.
54386 * config.make.in: Likewise.
54387 * configure: Likewise.
54388 * configure.in: Likewise.
54389 * csu/Makefile: Likewise.
54390 * csu/version.c: Likewise.
54391 * debug/Makefile: Likewise.
54392 * dlfcn/Makefile: Likewise.
54393 * elf/Makefile: Likewise.
54394 * extra-lib.mk: Likewise.
54395 * iconv/Makefile: Likewise.
54396 * include/libc-symbols.h: Likewise.
54397 * include/shlib-compat.h: Likewise.
54398 * resolv/Makefile: Likewise.
54399 * resolv/res_libc.c: Likewise.
54400 * rt/Makefile: Likewise.
54401 * sysdeps/i386/asm-syntax.h: Likewise.
54402 * sysdeps/i386/sysdep.h: Likewise.
54403 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
54404 * sysdeps/mach/sysdep.h: Likewise.
54405 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
54406 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
54407 * sysdeps/s390/asm-syntax.h: Likewise.
54408 * sysdeps/s390/s390-32/sysdep.h: Likewise.
54409 * sysdeps/s390/s390-64/sysdep.h: Likewise.
54410 * sysdeps/sh/sysdep.h: Likewise.
54411 * sysdeps/unix/sparc/sysdep.h: Likewise.
54412 * sysdeps/wordsize-32/divdi3.c: Likewise.
54413 * sysdeps/x86_64/sysdep.h: Likewise.
54415 * argp/Versions: Remove _argp_unlock_xxx.
54418 * abilist/ld.abilist: Update. Adjust for removal of tls option.
54419 * abilist/libBrokenLocale.abilist: Likewise.
54420 * abilist/libanl.abilist: Likewise.
54421 * abilist/libc.abilist: Likewise.
54422 * abilist/libcrypt.abilist: Likewise.
54423 * abilist/libdl.abilist: Likewise.
54424 * abilist/libm.abilist: Likewise.
54425 * abilist/libnsl.abilist: Likewise.
54426 * abilist/libpthread.abilist: Likewise.
54427 * abilist/libresolv.abilist: Likewise.
54428 * abilist/librt.abilist: Likewise.
54429 * abilist/libthread_db.abilist: Likewise.
54430 * abilist/libutil.abilist: Likewise.
54431 * abilist/libnss_db.abilist: New file.
54433 * scripts/abilist.awk: Add support for indirect functions.
54435 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
54437 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
54439 * shlib-versions: Remove entries for ports architectures.
54441 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
54443 * elf/stackguard-macros.h: Remove support for IA-64.
54444 * elf/tst-auditmod1.c: Likewise.
54445 * sysdeps/generic/ldsodefs.h: Likewise.
54447 * sysdeps/unix/sysv/linux/configure.in: Ports should define
54448 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
54452 * configure.in: Remove --enable-omitfp support.
54454 * config.make.in: Likewise.
54455 * Makeconfig: Likewise.
54456 * manual/install.texi: Likewise.
54458 In case anyone cares, the IA-64 architecture could move to ports.
54459 * sysdeps/ia64/*: Removed.
54460 * sysdeps/unix/sysv/linux/ia64/*: Removed.
54461 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
54464 * configure.in: Remove entries for unsupported architectures.
54467 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
54468 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
54470 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
54471 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
54472 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
54473 fall back to using wcrtomb.
54474 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
54475 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
54477 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
54478 * wcsmbs/tst-c16c32-1.c: New file.
54480 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
54483 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
54485 * elf/tst-unique3.cc: Add explicit declaration of gets.
54486 * elf/tst-unique3lib.cc: Likewise.
54487 * elf/tst-unique3lib2.cc: Likewise.
54488 * elf/tst-unique4.cc: Likewise.
54490 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
54492 2012-01-06 Joseph Myers <joseph@codesourcery.com>
54495 * assert/assert.h (static_assert): Don't define for C++.
54496 * libio/stdio.h (gets): Do declare for C++ <= C++11.
54497 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
54499 2012-01-03 Ulrich Drepper <drepper@gmail.com>
54501 * iconv/loop.c (single loop): Fix assertion in storing of
54504 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
54506 2012-01-01 Ulrich Drepper <drepper@gmail.com>
54508 * posix/getconf.c: Update copyright year.
54509 * nss/getent.c: Likewise.
54510 * nss/makedb.c: Likewise.
54511 * iconv/iconvconfig.c: Likewise.
54512 * iconv/iconv_prog.c: Likewise.
54513 * elf/ldconfig.c: Likewise.
54514 * elf/pldd.c: Likewise.
54515 * elf/sotruss.ksh: Likewise.
54516 * catgets/gencat.c: Likewise.
54517 * csu/version.c: Likewise.
54518 * elf/ldd.bash.in: Likewise.
54519 * elf/sprof.c (print_version): Likewise.
54520 * locale/programs/locale.c: Likewise.
54521 * locale/programs/localedef.c: Likewise.
54522 * login/programs/pt_chown.c: Likewise.
54523 * nscd/nscd.c (print_version): Likewise.
54524 * debug/xtrace.sh: Likewise.
54525 * malloc/memusage.sh: Likewise.
54526 * malloc/mtrace.pl: Likewise.
54527 * debug/catchsegv.sh: Likewise.
54529 2011-12-30 Jakub Jelinek <jakub@redhat.com>
54531 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
54534 2011-12-24 Ulrich Drepper <drepper@gmail.com>
54537 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
54538 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
54540 * iconv/gconv_int.h: Likewise.
54541 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
54542 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
54543 from libc for GLIBC_2.16.
54544 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
54545 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
54546 * wcsmbs/uchar.h: Really define mbstate_t.
54547 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
54548 * wcsmbs/c16rtomb.c: New file.
54549 * wcsmbs/mbrtoc16.c: New file.
54550 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
54551 for C/POSIX locale.
54552 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
54553 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
54555 * wcsmbs/wchar.h: Add missing __restrict.
54557 2011-12-23 Ulrich Drepper <drepper@gmail.com>
54560 * time/Makefile (routines): Add timespec_get.
54561 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
54562 * time/time.h: Define TIME_UTC and declare timespec_get. Define
54563 timespec for ISO C11.
54564 * time/timespec_get.c: New file.
54565 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
54566 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
54569 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
54570 * stdlib/stdlib.h: Declare aligned_alloc.
54571 * Versions.def: Add GLIBC_2.16 for libc.
54572 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
54575 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
54578 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
54582 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
54585 * assert/assert.h (static_assert): Define.
54587 * version.h: Update for 2.16 development version.
54590 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
54593 * version.h (RELEASE): Bump for 2.15 release.
54594 * include/features.h (__GLIBC_MINOR__): Bump to 15.
54596 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
54597 Patch by Marek Polacek <mpolacek@redhat.com>.
54599 * bits/byteswap.h: Protect long long constants with __extension__.
54600 * sysdeps/i386/bits/byteswap.h: Likewise.
54601 * sysdeps/ia64/bits/byteswap.h: Likewise.
54602 * sysdeps/s390/bits/byteswap.h: Likewise.
54603 * sysdeps/x86_64/bits/byteswap.h: Likewise.
54605 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
54608 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
54609 destination buffer.
54610 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
54612 2011-12-23 Marek Polacek <polacek@redhat.com>
54614 * elf/dl-addr.c (determine_info): Add inline keyword.
54615 * elf/tst-auditmod4b.c (check_avx): Likewise.
54616 * elf/tst-auditmod6b.c (check_avx): Likewise.
54617 * elf/tst-auditmod6c.c (check_avx): Likewise.
54618 * elf/tst-auditmod7b.c (check_avx): Likewise.
54620 2011-12-23 Ulrich Drepper <drepper@gmail.com>
54622 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
54625 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
54628 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
54629 processing for last bytes.
54631 2011-08-06 Bruno Haible <bruno@clisp.org>
54634 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
54635 U+0385, not to U+1FEE.
54638 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
54639 entry for U+00A5 U+0301.
54641 2011-12-22 Ulrich Drepper <drepper@gmail.com>
54644 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
54645 buffer for the output is too small.
54647 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
54651 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
54652 SSE flags if possible.
54654 2011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
54657 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
54658 processing for last bytes.
54660 2011-12-22 Joseph Myers <joseph@codesourcery.com>
54662 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
54663 (syscall-list-default-options, syscall-list-default-condition)
54664 (syscall-list-includes): Define.
54665 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
54666 list of ABIs and options and #if conditions for each ABI. Do not
54667 handle common syscalls between ABIs specially.
54668 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
54670 (syscall-list-variants, syscall-list-32bit-options)
54671 (syscall-list-32bit-condition, syscall-list-64bit-options)
54672 (syscall-list-64bit-condition): Define.
54673 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
54674 (syscall-list-variants, syscall-list-32bit-options)
54675 (syscall-list-32bit-condition, syscall-list-64bit-options)
54676 (syscall-list-64bit-condition): Define.
54677 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
54679 (syscall-list-variants, syscall-list-32bit-options)
54680 (syscall-list-32bit-condition, syscall-list-64bit-options)
54681 (syscall-list-64bit-condition): Define.
54682 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
54684 (syscall-list-variants, syscall-list-32bit-options)
54685 (syscall-list-32bit-condition, syscall-list-64bit-options)
54686 (syscall-list-64bit-condition): Define.
54688 2011-12-22 Ulrich Drepper <drepper@gmail.com>
54690 * locale/iso-639.def: Add brx entry.
54693 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
54694 Proposed by Mariusz_Cukr <marcukr@op.pl>.
54696 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
54697 __feraiseexcept_renamed.
54699 2011-12-21 Ulrich Drepper <drepper@gmail.com>
54702 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
54703 EPOLLET with unsigned values.
54704 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
54705 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
54707 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
54708 to large cancellation.
54709 * math/s_cacoshf.c: Likewise.
54710 * math/s_cacoshl.c: Likewise.
54712 2011-11-18 Richard B. Kreckel <kreckel@ginac.de>
54716 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
54717 * math/s_cacoshf.c: Likewise.
54718 * math/s_cacoshl.c: Likewise.
54720 2011-12-21 Ulrich Drepper <drepper@gmail.com>
54723 * iconv/gconv.h: Define __GCONV_SWAP.
54724 * iconvdata/unicode.c: The swap bit must be stored in __flags.
54725 * iconvdata/utf-16.c: Likewise.
54726 * iconvdata/utf-32.c: Likewise.
54728 2011-12-21 Andreas Schwab <schwab@linux-m68k.org>
54731 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
54732 numerator after shifting it by one limb.
54734 2011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
54736 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
54737 under [__USE_EXTERN_INLINES].
54739 2011-12-17 Ulrich Drepper <drepper@gmail.com>
54742 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
54744 2011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
54746 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
54747 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
54749 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
54750 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
54751 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
54752 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
54753 for strncasecmp/strncasecmp_l compilation.
54754 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
54755 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
54757 2011-12-08 Marek Polacek <mpolacek@redhat.com>
54760 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
54763 2011-12-17 Ulrich Drepper <drepper@gmail.com>
54766 * time/tzfile.c (__tzfile_read): Check values from file header.
54768 2011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
54770 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
54771 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
54772 * powerpc/powerpc32/dl-start.S: Likewise.
54773 * powerpc/powerpc32/elf/start.S: Likewise.
54774 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
54775 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
54776 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
54777 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
54778 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
54779 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
54780 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
54781 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
54782 * powerpc/powerpc32/fpu/s_round.S: Likewise.
54783 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
54784 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
54785 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
54786 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
54787 * powerpc/powerpc32/memset.S: Likewise.
54788 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
54789 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
54790 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
54791 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
54792 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
54793 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
54794 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
54795 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
54796 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
54797 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
54798 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
54799 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
54800 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
54802 2011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
54804 * math/libm-test.inc: Added more nearbyint tests.
54805 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
54806 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
54807 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
54808 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
54810 2011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
54812 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
54815 2011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
54817 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
54818 Add wcscpy-ssse3 wcscpy-c.
54819 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
54820 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
54821 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
54822 * sysdeps/x86_64/wcschr.S: New file.
54823 * sysdeps/x86_64/wcsrchr.S: New file.
54824 * string/test-strcmp.c: Remove checking of wcscmp function for
54826 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
54827 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
54828 wcsrchr-sse2 wcsrchr-c.
54829 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
54830 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
54831 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
54832 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
54833 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
54834 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
54835 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
54836 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
54837 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
54838 * wcsmbc/wcschr.c (WCSCHR): New macro.
54840 2011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
54842 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
54843 * wcsmbs/test-wcsrchr.c: New file.
54844 * string/test-strrchr.c: Add wcsrchr support.
54846 * wcsmbs/test-wcscpy.c: New file.
54847 * string/test-strcpy.c: Add wcscpy support.
54850 2011-12-10 Ulrich Drepper <drepper@gmail.com>
54852 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
54855 2011-12-06 Andreas Schwab <schwab@linux-m68k.org>
54858 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
54860 2011-12-04 Ulrich Drepper <drepper@gmail.com>
54862 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
54863 Minor optimizations.
54865 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
54866 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
54867 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
54869 2011-12-03 Ulrich Drepper <drepper@gmail.com>
54871 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
54872 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
54873 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
54874 for gcc to avoid warnings.
54875 * inet/Makefile (tests): Add tst-checks.
54876 * inet/tst-checks.c: New file.
54878 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
54881 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
54884 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
54885 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
54887 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
54889 2011-12-02 Ulrich Drepper <drepper@gmail.com>
54891 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
54894 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
54896 2011-11-29 Joseph Myers <joseph@codesourcery.com>
54898 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
54899 conditional on GCC version.
54900 (__arch_compare_and_exchange_val_8_acq)
54901 (__arch_compare_and_exchange_val_16_acq)
54902 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
54903 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
54904 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
54906 2011-12-02 Joseph Myers <joseph@codesourcery.com>
54908 * sysdeps/sh/backtrace.c: New file.
54910 2011-12-02 Andreas Schwab <schwab@redhat.com>
54912 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
54915 2011-12-01 Andreas Schwab <schwab@redhat.com>
54917 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
54918 falling back to utime.
54920 2011-11-30 Andreas Schwab <schwab@redhat.com>
54922 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
54923 expectations for float.
54925 2011-11-29 Andreas Schwab <schwab@redhat.com>
54927 * locale/weight.h (findidx): Add parameter len.
54928 * locale/weightwc.h (findidx): Likewise.
54929 * posix/fnmatch_loop.c (FCT): Adjust caller.
54930 * posix/regcomp.c (build_equiv_class): Likewise.
54931 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
54932 * posix/regexec.c (check_node_accept_bytes): Likewise.
54933 * string/strcoll_l.c (STRCOLL): Likewise.
54934 * string/strxfrm_l.c (STRXFRM): Likewise.
54936 2011-11-17 Ulrich Drepper <drepper@gmail.com>
54938 * Makefile.in: Remove CVSOPT handling.
54939 * configure.in: Remove use of AC_REVISION.
54940 * iconvdata/Makefile (distribute): No need to filter out CVS.
54941 * scripts/list-sources.sh: Remove CVS, subversion and monotone
54944 2011-11-16 Andreas Schwab <schwab@redhat.com>
54946 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
54947 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
54948 [USE_AS_STRNCASECMP_L]: Likewise.
54949 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
54950 NO_TLS_DIRECT_SEG_REFS.
54951 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
54952 Fix argument offsets for non-PIC.
54953 [USE_AS_STRNCASECMP_L]: Likewise.
54954 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
54955 NO_TLS_DIRECT_SEG_REFS.
54957 2011-11-15 Ulrich Drepper <drepper@gmail.com>
54959 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
54961 * locale/loadlocale.c (_nl_load_locale): Likewise.
54963 2011-11-15 Andreas Schwab <schwab@redhat.com>
54965 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
54966 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
54967 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
54968 (SYSCALL_GETTIME): Set errno on error.
54970 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
54971 count references to noai6ai_cached.
54973 2011-11-15 Ulrich Drepper <drepper@gmail.com>
54975 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
54977 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
54978 FD_CLOEXEC for /proc/self/maps.
54980 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
54981 FD_CLOEXEC for /proc/meminfo.
54983 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
54986 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
54987 FD_CLOEXEC for given file.
54989 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
54991 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
54992 FD_CLOEXEC for /etc/hosts.
54993 (_gethtent): Likewise.
54995 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
54997 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
54998 cancellation and set FD_CLOEXEC for /etc/netgroup.
55000 * nss/nss_files/files-key.c (search): Don't allow cancellation when
55001 reading /etc/publickey.
55003 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
55004 allow cancellation when reading /etc/group.
55006 * nss/nss_files/files-alias.c (internal_setent): Don't allow
55008 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
55010 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
55011 when using data file.
55013 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
55015 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
55016 (write_nis_obj): Use "c" and "e" in fopen.
55018 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
55020 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
55022 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
55024 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
55026 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
55029 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
55031 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
55033 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
55035 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
55036 file parsing and set FD_CLOEXEC.
55038 2011-11-14 Ulrich Drepper <drepper@gmail.com>
55040 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
55042 2011-11-14 Andreas Schwab <schwab@redhat.com>
55044 * malloc/arena.c (arena_get2): Don't call reused_arena when
55045 _int_new_arena failed.
55047 2011-11-14 Ulrich Drepper <drepper@gmail.com>
55049 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
55050 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
55051 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
55052 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
55053 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
55054 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
55055 to compile strcasecmp and strncasecmp.
55056 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
55057 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
55059 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
55061 2011-11-13 Ulrich Drepper <drepper@gmail.com>
55063 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
55064 locale-defines.sym to gen-as-const-headers.
55065 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
55066 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
55067 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
55068 to compile strcasecmp and strncasecmp.
55069 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
55070 strcasecmp_l and strncasecmp_l.
55071 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
55072 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
55073 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
55074 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
55075 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
55076 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
55077 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
55078 * sysdeps/i386/i686/multiarch/strncase.S: New file.
55079 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
55080 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
55081 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
55083 2011-11-12 Ulrich Drepper <drepper@gmail.com>
55085 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
55086 result of SYSDEP_GETTIME_CPU to retval.
55087 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
55088 parameter list to macro. Remove trailing semicolon. Adjust users.
55090 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
55093 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
55095 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
55097 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
55098 from unused variable.
55100 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
55102 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
55105 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
55108 * sunrpc/rpc_prot.c (rejected): Fix case value.
55110 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
55111 unsigned long long int to avoid warnings in shift.
55113 * posix/regex_internal.c (re_string_reconstruct): Actually use result
55115 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
55118 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
55119 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
55120 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
55122 * nis/nis_table.c (nis_list): Use variable of correct type for
55123 result of __follow_path call.
55125 2011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
55127 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
55128 of math functions ceil, trunc, floor, round, and sqrt, when
55129 avaliable on the platform.
55130 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
55132 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
55133 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
55134 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
55136 2011-10-30 Marek Polacek <mpolacek@redhat.com>
55138 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
55139 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
55141 2011-11-11 Roland McGrath <roland@hack.frob.com>
55143 * include/unistd.h: Fix __readlink return type.
55144 Reported by Chris Metcalf <cmetcalf@tilera.com>.
55146 2011-11-11 Ulrich Drepper <drepper@gmail.com>
55148 * stdlib/ucontext.h: Undo last change for makecontext.
55150 2011-11-11 Andreas Schwab <schwab@redhat.com>
55152 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
55154 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
55155 * setjmp/setjmp.h: Mark functions as non-leaf.
55156 * setjmp/bits/setjmp2.h: Likewise.
55157 * stdlib/ucontext.h: Likewise.
55159 2011-11-10 Andreas Schwab <schwab@redhat.com>
55161 * malloc/arena.c (_int_new_arena): Don't increment narenas.
55162 (reused_arena): Don't check arena limit.
55163 (arena_get2): Atomically check arena limit.
55165 2011-11-08 Ulrich Drepper <drepper@gmail.com>
55167 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
55168 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
55170 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
55173 2011-11-07 Andreas Schwab <schwab@redhat.com>
55175 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
55176 handler when locking.
55178 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
55179 Fix size of allocated buffer.
55181 2011-11-04 Andreas Schwab <schwab@redhat.com>
55184 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
55185 declarations for long double functions.
55186 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
55188 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
55190 2011-11-03 Andreas Schwab <schwab@redhat.com>
55192 * nscd/nscd.c (main): Don't start AVC thread until credentials are
55195 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
55198 2011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
55200 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
55202 2011-11-01 Andreas Schwab <schwab@linux-m68k.org>
55204 * include/alloca.h (stackinfo_alloca_round): Define.
55205 (extend_alloca): Use it.
55206 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
55207 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
55210 * scripts/check-local-headers.sh: Ignore libaudit.h.
55212 * nscd/Makefile (extra-objs): Make recursively expanded.
55214 2011-11-01 Ulrich Drepper <drepper@gmail.com>
55216 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
55217 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
55219 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
55220 * posix/tst-rfc3484-2.c: Likewise.
55221 * posix/tst-rfc3484-3.c: Likewise.
55223 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
55225 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
55227 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
55228 process_vm_writev from libc using GLIBC_2.15 version.
55230 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
55232 2011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
55234 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
55237 2011-10-31 Ulrich Drepper <drepper@gmail.com>
55240 * nss/getent.c (initgroups_keys): Show error message in case no group
55243 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
55244 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
55245 __bump_nl_timestamp.
55246 * nscd/connections (nscd_init): When host database is served open
55247 netlink socket and request notification about configuration changes.
55248 (main_loop_poll): Track netlink file descriptor and bump timestamp
55249 in case data becomes available.
55250 (main_loop_epoll): Likewise.
55251 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
55252 (database_pers_head): Add extra_data fileds.
55253 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
55254 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
55255 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
55257 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
55258 in6ai data, call __free_in6ai.
55259 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
55260 Add -DHAVE_NETLINK.
55261 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
55262 interface information. Reuse previous data if netlink timestamp
55264 (__bump_nl_timestamp): New function.
55265 (__free_in6ai): New function.
55267 2011-10-30 Ulrich Drepper <drepper@gmail.com>
55269 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
55270 close_not_cancel_no_status here.
55271 (__check_pf): Reorganize code a bit to not call close twice if OOM.
55273 2011-10-29 Ulrich Drepper <drepper@gmail.com>
55276 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
55279 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
55280 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
55281 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
55283 2011-07-03 Andreas Jaeger <aj@suse.de>
55286 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
55287 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
55288 * math/libm-test.inc (sin_test): Add test case.
55290 2011-10-29 Ulrich Drepper <drepper@gmail.com>
55293 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
55294 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
55296 * elf/chroot_canon.c (chroot_canon): Cleanups.
55298 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
55301 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
55302 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
55304 * string/test-strchr.c: Make usable for strchrnul testing.
55305 * string/test-strchrnul.c: New file.
55306 * string/Makefile (strop-tests): Add strchrnul.
55308 * po/it.po: Update from translation team.
55309 * po/es.po: Likewise.
55311 2011-10-28 Ulrich Drepper <drepper@gmail.com>
55313 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
55314 the three constants needed as parameters. Drop the others.
55315 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
55316 __m128i_strloadu_tolower.
55317 Create and initialize variable zero and use it in all the places
55318 where _mm_setzero_si128 was used.
55320 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
55321 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
55322 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
55323 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
55325 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
55326 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
55327 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
55328 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
55329 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
55330 __mpranred, __mptan.
55331 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
55332 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
55333 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
55334 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
55335 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
55336 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
55337 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
55338 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
55339 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
55341 2011-10-28 Andreas Schwab <schwab@redhat.com>
55343 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
55344 redefine if SHARED.
55345 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
55347 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
55348 wide char related routines to wcsmbs subdir.
55350 2011-10-27 Andreas Schwab <schwab@redhat.com>
55353 * misc/sys/cdefs.h (__THROWNL): Define.
55354 * posix/unistd.h: Use __THREADNL instead of __THREAD
55355 for memory synchronization functions.
55357 2011-10-26 Roland McGrath <roland@hack.frob.com>
55360 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
55362 * manual/stdio.texi (Obstack Streams): Node removed.
55364 2011-10-26 Andreas Schwab <schwab@redhat.com>
55366 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
55367 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
55368 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
55370 * math/math_private.h (math_force_eval): Allow non-addressable
55372 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
55374 2011-10-25 Ulrich Drepper <drepper@gmail.com>
55376 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
55377 file is not needed.
55379 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
55380 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
55381 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
55382 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
55383 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
55384 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
55385 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
55386 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
55388 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
55389 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
55390 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
55391 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
55392 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
55393 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
55394 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
55395 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
55396 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
55397 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
55398 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
55399 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
55400 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
55401 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
55402 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
55403 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
55404 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
55405 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
55406 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
55408 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
55409 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
55411 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
55412 place. Use VEX encoding when compiling for AVX.
55414 2011-10-25 Andreas Schwab <schwab@redhat.com>
55416 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
55417 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
55419 * string/test-strchr.c (do_test): Don't generate NUL bytes.
55421 2011-10-25 Ulrich Drepper <drepper@gmail.com>
55423 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
55424 useless if() expression.
55425 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
55426 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
55427 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
55428 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
55429 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
55430 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
55431 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
55432 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
55433 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
55434 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
55435 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
55436 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
55437 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
55438 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
55439 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
55440 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
55441 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
55442 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
55443 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
55445 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
55447 2011-10-25 Andreas Schwab <schwab@redhat.com>
55449 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
55451 * elf/dl-fini.c (_dl_sort_fini): Likewise.
55453 2011-10-25 Ulrich Drepper <drepper@gmail.com>
55455 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
55456 .text section. Avoid duplicate constants.
55457 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
55458 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
55459 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
55460 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
55461 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
55462 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
55463 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
55464 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
55465 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
55466 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
55467 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
55468 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
55469 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
55470 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
55471 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
55472 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
55473 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
55474 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
55475 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
55476 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
55477 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
55478 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
55479 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
55480 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
55481 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
55482 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
55483 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
55484 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
55485 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
55486 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
55487 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
55488 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
55489 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
55490 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
55491 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
55492 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
55493 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
55494 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
55495 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
55496 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
55497 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
55498 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
55499 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
55500 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
55501 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
55503 2011-10-24 Ulrich Drepper <drepper@gmail.com>
55505 * sysdeps/x86_64/dla.h: Move to ...
55506 * sysdeps/x86_64/fpu/dla.h: ...here.
55507 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
55508 situations. Use __builtin_fma only for gcc 4.6 and up.
55510 * config.make.in: Add have-mfma4 entry.
55511 * configure.in: Substitute libc_cv_cc_fma4.
55512 * math/Makefile (dbl-only-routines): Add sincostab.
55513 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
55514 Use __sincostab not sincos.
55515 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
55517 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
55518 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
55519 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
55520 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
55522 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
55523 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
55524 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
55525 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
55527 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
55528 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
55530 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
55531 define aliases when function name is a macro.
55532 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
55533 sysdeps/ieee754/dbl-64/sincos.tbl.
55534 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
55535 fma4-enabled routines.
55536 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
55537 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
55538 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
55539 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
55540 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
55541 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
55542 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
55543 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
55544 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
55545 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
55546 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
55547 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
55548 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
55549 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
55550 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
55551 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
55552 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
55553 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
55554 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
55555 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
55556 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
55557 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
55558 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
55559 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
55560 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
55561 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
55562 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
55563 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
55564 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
55565 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
55567 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
55569 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
55570 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
55571 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
55572 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
55573 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
55574 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
55575 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
55576 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
55578 2011-10-24 Andreas Schwab <schwab@redhat.com>
55580 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
55582 2011-10-23 Ulrich Drepper <drepper@gmail.com>
55584 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
55586 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
55588 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
55590 * string/strnlen.c: Don't define STRNLEN, reverse logic.
55591 Remove unused variable magic_bits.
55592 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
55594 * string/strnlen.c: Define and use STRNLEN macro.
55595 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
55596 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
55597 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
55598 * wcsmbs/wcslen.c: Define and use WCSLEN.
55599 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
55600 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
55601 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
55602 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
55603 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
55604 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
55605 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
55607 2011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
55609 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
55610 strnlen-sse2-no-bsf.
55611 Rename strlen-no-bsf to strlen-sse2-no-bsf.
55612 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
55613 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
55614 Add strnlen support.
55615 (USE_AS_STRNLEN): New macro.
55616 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
55617 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
55618 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
55619 * sysdeps/x86_64/wcslen.S: New file.
55621 2011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
55623 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
55624 XMM-moves are used for copying on small sizes.
55626 2011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
55628 * wcsmbs/Makefile (strop-tests): Add wcschr.
55629 * wcsmbs/test-wcschr.c: New file.
55630 * string/test-strchr.c: Update.
55631 Add wcschr support.
55634 2011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
55636 * wcsmbs/Makefile (strop-tests): Add wcslen.
55637 * wcsmbs/test-wcslen.c: New file.
55638 * string/test-strlen.c: Update.
55639 Add wcslen support.
55642 2011-10-23 Ulrich Drepper <drepper@gmail.com>
55644 * po/it.po: Update from translation team.
55646 2011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
55648 * sysdeps/x86_64/wcscmp.S: Update.
55649 Fix wrong comparison semantics.
55650 wcscmp shall use signed comparison not unsigned.
55651 Don't use substraction to avoid overflow bug.
55652 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
55653 * wcsmbc/wcscmp.c: Likewise.
55654 * string/test-strcmp.c: Likewise.
55655 Add new tests to check cases with negative values.
55657 2011-10-23 Ulrich Drepper <drepper@gmail.com>
55659 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
55660 * sysdeps/x86_64/dla.h: ...here. New file.
55661 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
55662 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
55663 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
55664 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
55665 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
55666 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
55667 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
55668 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
55669 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
55671 2011-10-23 Andreas Schwab <schwab@linux-m68k.org>
55673 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
55674 __ynl_finite aliases.
55676 2011-10-22 Ulrich Drepper <drepper@gmail.com>
55678 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
55680 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
55682 [DLA_FMA] (EMULV): Use DLA_FMA.
55683 [DLA_FMA] (MUL12): Use EMULV.
55684 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
55685 that are not needed.
55686 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
55687 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
55688 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
55689 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
55690 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
55691 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
55692 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
55694 2011-10-22 Andreas Schwab <schwab@linux-m68k.org>
55696 * math/s_nan.c: Undef __nan.
55697 * math/s_nanf.c: Undef __nanf.
55698 * math/s_nanl.c: Undef __nanl.
55699 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
55702 2011-10-22 Ulrich Drepper <drepper@gmail.com>
55704 * math/s_catan.c: Add branch predictions.
55705 * math/s_catanf.c: Likewise.
55706 * math/s_catanh.c: Likewise.
55707 * math/s_catanhf.c: Likewise.
55708 * math/s_catanhl.c: Likewise.
55709 * math/s_catanl.c: Likewise.
55710 * math/s_cexp.c: Likewise.
55711 * math/s_cexpf.c: Likewise.
55712 * math/s_cexpl.c: Likewise.
55713 * math/s_clog.c: Likewise.
55714 * math/s_clog10.c: Likewise.
55715 * math/s_clog10f.c: Likewise.
55716 * math/s_clog10l.c: Likewise.
55717 * math/s_clogf.c: Likewise.
55718 * math/s_clogl.c: Likewise.
55719 * math/s_csqrt.c: Likewise.
55720 * math/s_csqrtf.c: Likewise.
55721 * math/s_csqrtl.c: Likewise.
55722 * math/s_ctanf.c: Likewise.
55723 * math/s_ctanh.c: Likewise.
55724 * math/s_ctanhf.c: Likewise.
55725 * math/s_ctanhl.c: Likewise.
55726 * math/s_ctanl.c: Likewise.
55728 * math/math_private.h: Define __nan, __nanf, __nanl.
55729 * math/s_cacosh.c: Include <math_private.h>.
55730 * math/s_cacoshl.c: Likewise.
55731 * math/s_casinh.c: Likewise.
55732 * math/s_casinhf.c: Likewise.
55733 * math/s_casinhl.c: Likewise.
55734 * math/s_ccos.c: Rely entire on ccosh.
55735 * math/s_ccosf.c: Rely entire on ccoshf.
55736 * math/s_ccosl.c: Rely entirely on ccoshl.
55737 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
55738 Remove tests for FE_INVALID.
55739 * math/s_ccoshf.c: Likewise.
55740 * math/s_ccoshl.c: Likewise.
55741 * math/s_csin.c: Likewise.
55742 * math/s_csinf.c: Likewise.
55743 * math/s_csinh.c Likewise.
55744 * math/s_csinhf.c: Likewise.
55745 * math/s_csinhl.c: Likewise.
55746 * math/s_csinl.c: Likewise.
55747 * math/s_ctan.c: Likewise.
55748 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
55749 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
55750 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
55752 2011-10-21 Ulrich Drepper <drepper@gmail.com>
55754 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
55755 compilation problems.
55757 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
55760 2011-10-20 Ulrich Drepper <drepper@gmail.com>
55762 * sysdeps/i386/configure.in: Test for -mfma4 option.
55763 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
55764 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
55765 COMMON_CPUID_INDEX_80000001.
55766 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
55767 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
55768 use it if FMA3 is not supported.
55769 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
55771 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
55772 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
55774 2011-10-20 Andreas Schwab <schwab@redhat.com>
55777 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
55778 it would create a cycle with a link time dependency.
55780 2011-10-19 Ulrich Drepper <drepper@gmail.com>
55782 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
55784 * string/Makefile (strop-tests): Add rawmemchr.
55785 * string/test-rawmemchr.c: New file.
55787 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
55788 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
55789 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
55790 when compiling str{,n}casecmp and when AVX is available. Hook up
55791 new optimized code in initializers.
55793 2011-10-19 Andreas Schwab <schwab@redhat.com>
55795 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
55796 __feraiseexcept instead of feraiseexcept.
55798 2011-10-18 Ulrich Drepper <drepper@gmail.com>
55800 * math/math_private.h: Define defaults for libc_fetestexcept and
55802 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
55803 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
55804 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
55805 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
55806 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
55807 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
55808 libc_fetestexcept and libc_feupdateenv.
55810 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
55811 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
55812 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
55813 * sysdeps/x86_64/fpu/math_private.h: Define special version of
55814 libc_feholdexcept_setround.
55816 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
55817 Add s_nearbyint-c and s_nearbyintf-c.
55818 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
55819 nearbyintf inlines.
55820 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
55821 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
55822 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
55823 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
55825 * math/math_private.h: Define defaults for libc_fegetround,
55826 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
55827 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
55828 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
55829 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
55830 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
55831 standard functions.
55832 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
55833 Remove comments and hacks for old compiler versions.
55834 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
55835 libc_fegetround, libc_fesetround, libc_feholdexcept, and
55836 libc_feholdexceptl.
55838 2011-10-18 Andreas Schwab <schwab@redhat.com>
55840 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
55841 (__feraiseexcept_renamed): Add __NTH.
55842 (feraiseexcept): Add __NTH. Rename local variables to fix
55843 namespace violations.
55845 2011-10-17 Ulrich Drepper <drepper@gmail.com>
55847 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
55849 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
55851 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
55852 recently added interfaces.
55853 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
55855 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
55856 about macro parameter expansion.
55858 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
55859 __NO_MATH_INLINES is defined. Cleanups.
55861 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
55862 and __floorf is target has SSE4.1.
55863 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
55864 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
55865 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
55866 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
55868 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
55870 (floorf): Likewise.
55872 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
55874 2011-10-17 Andreas Schwab <schwab@redhat.com>
55876 * misc/sys/cdefs.h: Fix last change.
55878 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
55881 2011-10-16 Ulrich Drepper <drepper@gmail.com>
55883 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
55885 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
55886 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
55887 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
55888 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
55889 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
55890 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
55891 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
55892 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
55893 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
55894 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
55895 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
55896 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
55897 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
55898 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
55899 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
55900 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
55901 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
55902 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
55903 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
55904 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
55905 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
55906 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
55908 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
55909 ceil, ceilf, floor, floorf.
55911 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
55912 Perform IRELATIVE relocations last.
55914 * elf/do-rel.h: Add another parameter nrelative, replacing the
55915 local variable with the same name. Change name of the function
55916 to end in Rel or Rela (uppercase).
55917 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
55918 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
55919 elf_dynamic_do_##reloc function.
55921 2011-10-15 Ulrich Drepper <drepper@gmail.com>
55923 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
55924 is sufficient, at least on modern CPUs.
55926 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
55928 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
55929 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
55931 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
55933 * math/bits/math-finite.h: Add entries for exp.
55934 * math/e_expl.c: Add __*_finite alias.
55935 * sysdeps/i386/fpu/e_exp.S: Likewise.
55936 * sysdeps/i386/fpu/e_expf.S: Likewise.
55937 * sysdeps/i386/fpu/e_expl.c: Likewise.
55938 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
55939 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
55940 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
55941 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
55942 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
55943 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
55944 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
55946 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
55947 is sufficient, at least on modern CPUs.
55949 * ctype/ctype-info.c (__ctype_init): Define.
55950 * include/ctype.h (__ctype_init): Declare.
55951 (__ctype_b_loc): The variable is always initialized.
55952 (__ctype_toupper_loc): Likewise.
55953 (__ctype_tolower_loc): Likewise.
55954 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
55955 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
55957 2011-10-15 Andreas Schwab <schwab@linux-m68k.org>
55959 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
55961 * configure.in: Also look in $cxxmachine/include for C++ system
55964 2011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
55966 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
55967 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
55968 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
55969 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
55970 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
55971 (USE_AS_WMEMCMP): New macro.
55973 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
55974 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
55975 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
55976 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
55977 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
55978 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
55979 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
55980 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
55981 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
55982 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
55983 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
55984 (USE_AS_WMEMCMP): New macro.
55985 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
55986 * sysdeps/string/test-memcmp.c: Update.
55987 Fix simple_wmemcmp.
55989 * wcsmbs/wmemcmp.c: Update.
55990 (WMEMCMP): New macro.
55993 2011-10-12 Andreas Jaeger <aj@suse.de>
55996 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
55998 2011-10-15 Ulrich Drepper <drepper@gmail.com>
56000 * libio/iofwide.c (do_length): Avoid warning.
56002 * ctype/ctype.h (__isctype_f): Add missing __THROW.
56004 2011-10-14 Ulrich Drepper <drepper@gmail.com>
56006 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
56008 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
56009 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
56010 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
56011 * sysdeps/i386/i686/fpu/e_log.S: New file.
56012 * sysdeps/i386/i686/fpu/e_logf.S: New file.
56013 * sysdeps/i386/i686/fpu/e_logl.S: New file.
56015 * ctype/ctype.h: Add support for inlined isXXX functions when
56016 compiling C++ code.
56018 2011-10-14 Andreas Schwab <schwab@redhat.com>
56020 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
56022 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
56024 2011-10-13 Roland McGrath <roland@hack.frob.com>
56027 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
56029 2011-10-13 Andreas Schwab <schwab@redhat.com>
56031 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
56032 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
56035 * sysdeps/x86_64/memrchr.S: Check for zero size.
56037 * string/stratcliff.c: Add memrchr tests.
56039 2011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
56041 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
56042 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
56043 rawmemchr-sse2 rawmemchr-sse2-bsf.
56044 * sysdeps/i386/i686/multiarch/memchr.S: New file.
56045 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
56046 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
56047 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
56048 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
56049 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
56050 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
56051 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
56052 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
56053 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
56054 * string/memrchr.c (MEMRCHR): New macro.
56056 2011-10-12 Ulrich Drepper <drepper@gmail.com>
56058 Add integration with gcc's -ffinite-math-only and optimize wrapper
56060 * Versions.def: Define GLIBC_2.15 version for libm.
56061 * math/Makefile (headers): Add bits/math-finite.h.
56062 * math/bits/math-finite.h: New file.
56063 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
56064 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
56065 * math/e_acoshl.c: Add __*_finite alias.
56066 * math/e_acosl.c: Likewise.
56067 * math/e_asinl.c: Likewise.
56068 * math/e_atan2l.c: Likewise.
56069 * math/e_atanhl.c: Likewise.
56070 * math/e_coshl.c: Likewise.
56071 * math/e_exp10.c: Likewise.
56072 * math/e_exp10f.c: Likewise.
56073 * math/e_exp10l.c: Likewise.
56074 * math/e_exp2l.c: Likewise.
56075 * math/e_fmodl.c: Likewise.
56076 * math/e_gammal_r.c: Likewise.
56077 * math/e_hypotl.c: Likewise.
56078 * math/e_j0l.c: Likewise.
56079 * math/e_j1l.c: Likewise.
56080 * math/e_jnl.c: Likewise.
56081 * math/e_lgammal_r.c: Likewise.
56082 * math/e_log10l.c: Likewise.
56083 * math/e_log2l.c: Likewise.
56084 * math/e_logl.c: Likewise.
56085 * math/e_powl.c: Likewise.
56086 * math/e_sinhl.c: Likewise.
56087 * math/e_sqrtl.c: Likewise.
56088 * math/e_scalb.c: Completely rewritten and optimized.
56089 * math/e_scalbf.c: Likewise.
56090 * math/e_scalbl.c: Likewise.
56091 * math/w_acos.c: Likewise.
56092 * math/w_acosf.c: Likewise.
56093 * math/w_acosl.c: Likewise.
56094 * math/w_acosh.c: Likewise.
56095 * math/w_acoshf.c: Likewise.
56096 * math/w_acoshl.c: Likewise.
56097 * math/w_asin.c: Likewise.
56098 * math/w_asinf.c: Likewise.
56099 * math/w_asinl.c: Likewise.
56100 * math/w_atan2.c: Likewise.
56101 * math/w_atan2f.c: Likewise.
56102 * math/w_atan2l.c: Likewise.
56103 * math/w_atanh.c: Likewise.
56104 * math/w_atanhf.c: Likewise.
56105 * math/w_atanhl.c: Likewise.
56106 * math/w_exp10.c: Likewise.
56107 * math/w_exp10f.c: Likewise.
56108 * math/w_exp10l.c: Likewise.
56109 * math/w_fmod.c: Likewise.
56110 * math/w_fmodf.c: Likewise.
56111 * math/w_fmodl.c: Likewise.
56112 * math/w_j0.c: Likewise.
56113 * math/w_j0f.c: Likewise.
56114 * math/w_j0l.c: Likewise.
56115 * math/w_j1.c: Likewise.
56116 * math/w_j1f.c: Likewise.
56117 * math/w_j1l.c: Likewise.
56118 * math/w_jn.c: Likewise.
56119 * math/w_jnf.c: Likewise.
56120 * math/w_log.c: Likewise.
56121 * math/w_logf.c: Likewise.
56122 * math/w_logl.c: Likewise.
56123 * math/w_log10.c: Likewise.
56124 * math/w_log10f.c: Likewise.
56125 * math/w_log10l.c: Likewise.
56126 * math/w_log2.c: Likewise.
56127 * math/w_log2f.c: Likewise.
56128 * math/w_log2l.c: Likewise.
56129 * math/w_pow.c: Likewise.
56130 * math/w_powf.c: Likewise.
56131 * math/w_powl.c: Likewise.
56132 * math/w_remainder.c: Likewise.
56133 * math/w_remainderf.c: Likewise.
56134 * math/w_remainderl.c: Likewise.
56135 * math/w_scalb.c: Likewise.
56136 * math/w_scalbf.c: Likewise.
56137 * math/w_scalbl.c: Likewise.
56138 * math/w_sqrt.c: Likewise.
56139 * math/w_sqrtf.c: Likewise.
56140 * math/w_sqrtl.c: Likewise.
56141 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
56142 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
56144 * math/math_private.h: Declare __kernel_standard_f.
56145 * math/w_cosh.c: Remove cruft and optimize a bit.
56146 * math/w_coshf.c: Likewise.
56147 * math/w_coshl.c: Likewise.
56148 * math/w_exp2.c: Likewise.
56149 * math/w_exp2f.c: Likewise.
56150 * math/w_exp2l.c: Likewise.
56151 * math/w_hypot.c: Likewise.
56152 * math/w_hypotf.c: Likewise.
56153 * math/w_hypotl.c: Likewise.
56154 * math/w_lgamma.c: Likewise.
56155 * math/w_lgamma_r.c: Likewise.
56156 * math/w_lgammaf.c: Likewise.
56157 * math/w_lgammaf_r.c: Likewise.
56158 * math/w_lgammal.c: Likewise.
56159 * math/w_lgammal_r.c: Likewise.
56160 * math/w_sinh.c: Likewise.
56161 * math/w_sinhf.c: Likewise.
56162 * math/w_sinhl.c: Likewise.
56163 * math/w_tgamma.c: Likewise.
56164 * math/w_tgammaf.c: Likewise.
56165 * math/w_tgammal.c: Likewise.
56166 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
56167 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
56168 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
56169 Minor optimizations. Pretty printing. Remove cruft.
56170 * sysdeps/i386/fpu/e_acosf.S: Likewise.
56171 * sysdeps/i386/fpu/e_acosh.S: Likewise.
56172 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
56173 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
56174 * sysdeps/i386/fpu/e_acosl.c: Likewise.
56175 * sysdeps/i386/fpu/e_asin.S: Likewise.
56176 * sysdeps/i386/fpu/e_asinf.S: Likewise.
56177 * sysdeps/i386/fpu/e_atan2.S: Likewise.
56178 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
56179 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
56180 * sysdeps/i386/fpu/e_atanh.S: Likewise.
56181 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
56182 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
56183 * sysdeps/i386/fpu/e_exp10.S: Likewise.
56184 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
56185 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
56186 * sysdeps/i386/fpu/e_exp2.S: Likewise.
56187 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
56188 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
56189 * sysdeps/i386/fpu/e_fmod.S: Likewise.
56190 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
56191 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
56192 * sysdeps/i386/fpu/e_hypot.S: Likewise.
56193 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
56194 * sysdeps/i386/fpu/e_log.S: Likewise.
56195 * sysdeps/i386/fpu/e_log10.S: Likewise.
56196 * sysdeps/i386/fpu/e_log10f.S: Likewise.
56197 * sysdeps/i386/fpu/e_log10l.S: Likewise.
56198 * sysdeps/i386/fpu/e_log2.S: Likewise.
56199 * sysdeps/i386/fpu/e_log2f.S: Likewise.
56200 * sysdeps/i386/fpu/e_log2l.S: Likewise.
56201 * sysdeps/i386/fpu/e_logf.S: Likewise.
56202 * sysdeps/i386/fpu/e_logl.S: Likewise.
56203 * sysdeps/i386/fpu/e_pow.S: Likewise.
56204 * sysdeps/i386/fpu/e_powf.S: Likewise.
56205 * sysdeps/i386/fpu/e_powl.S: Likewise.
56206 * sysdeps/i386/fpu/e_remainder.S: Likewise.
56207 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
56208 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
56209 * sysdeps/i386/fpu/e_scalb.S: Likewise.
56210 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
56211 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
56212 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
56213 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
56214 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
56215 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
56216 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
56217 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
56218 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
56219 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
56220 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
56221 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
56222 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
56223 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
56224 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
56225 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
56226 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
56227 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
56228 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
56229 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
56230 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
56231 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
56232 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
56233 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
56234 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
56235 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
56236 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
56237 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
56238 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
56239 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
56240 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
56241 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
56242 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
56243 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
56244 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
56245 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
56246 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
56247 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
56248 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
56249 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
56250 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
56251 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
56252 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
56253 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
56254 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
56255 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
56256 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
56257 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
56258 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
56259 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
56260 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
56261 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
56262 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
56263 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
56264 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
56265 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
56266 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
56267 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
56268 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
56269 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
56270 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
56271 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
56272 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
56273 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
56274 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
56275 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
56276 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
56277 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
56278 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
56279 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
56280 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
56281 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
56282 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
56283 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
56284 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
56285 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
56286 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
56287 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
56288 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
56289 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
56290 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
56291 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
56292 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
56293 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
56294 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
56295 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
56296 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
56297 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
56298 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
56299 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
56300 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
56301 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
56302 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
56303 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
56304 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
56305 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
56306 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
56307 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
56308 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
56309 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
56310 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
56311 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
56312 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
56313 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
56314 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
56315 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
56316 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
56317 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
56318 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
56319 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
56320 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
56321 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
56322 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
56323 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
56324 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
56325 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
56326 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
56327 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
56328 (__isnanf): Likewise.
56329 (__isinf_ns): Likewise.
56330 (__isinf_nsf): Likewise.
56331 (__finite): Likewise.
56332 (__finitef): Likewise.
56333 (__ieee754_sqrt): Define as macro.
56334 (__ieee754_sqrtf): Define as macro.
56335 (__ieee754_sqrtl): Define as macro.
56336 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
56338 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
56339 __FINITE_MATH_ONLY__ consistent.
56340 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
56342 2011-10-10 Andreas Schwab <schwab@linux-m68k.org>
56344 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
56347 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
56349 2011-10-09 Ulrich Drepper <drepper@gmail.com>
56351 * po/ja.po: Update from translation team.
56353 2011-10-08 Roland McGrath <roland@hack.frob.com>
56355 * locale/programs/locarchive.c (prepare_address_space): New function.
56356 (create_archive, enlarge_archive, open_archive): Use it.
56358 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
56359 inside [SHARED], where it is used.
56361 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
56363 * nss/getent.c (netgroup_keys): Remove unused variable.
56364 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
56366 2011-10-08 Ulrich Drepper <drepper@gmail.com>
56368 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
56369 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
56370 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
56371 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
56372 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
56373 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
56374 * math/Makefile (libm-calls): Add s_isinf_ns.
56375 * math/divtc3.c: Use __isinf_nsl instead of isinf.
56376 * math/multc3.c: Likewise.
56377 * math/s_casin.c: Likewise.
56378 * math/s_casinf.c: Likewise.
56379 * math/s_casinl.c: Likewise.
56380 * math/s_ccos.c: Likewise.
56381 * math/s_ccosf.c: Likewise.
56382 * math/s_ccosl.c: Likewise.
56383 * math/s_ctan.c: Likewise.
56384 * math/s_ctanf.c: Likewise.
56385 * math/s_ctanh.c: Likewise.
56386 * math/s_ctanhf.c: Likewise.
56387 * math/s_ctanhl.c: Likewise.
56388 * math/s_ctanl.c: Likewise.
56389 * math/w_fmod.c: Likewise.
56390 * math/w_fmodf.c: Likewise.
56391 * math/w_fmodl.c: Likewise.
56392 * math/w_remainder.c: Likewise.
56393 * math/w_remainderf.c: Likewise.
56394 * math/w_remainderl.c: Likewise.
56395 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
56396 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
56397 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
56398 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
56399 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
56400 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
56401 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
56402 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
56404 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
56406 * stdio-common/printf_fphex.c: Likewise.
56407 * stdio-common/printf_size.c: Likewise.
56409 * math/e_exp10.c: Include math_private.h using <...> not "...".
56410 * math/e_exp10f.c: Likewise.
56411 * math/e_exp10l.c: Likewise.
56412 * math/e_exp2l.c: Likewise.
56413 * math/e_j0l.c: Likewise.
56414 * math/e_j1l.c: Likewise.
56415 * math/e_jnl.c: Likewise.
56416 * math/e_lgammal_r.c: Likewise.
56417 * math/e_rem_pio2l.c: Likewise.
56418 * math/e_scalb.c: Likewise.
56419 * math/e_scalbf.c: Likewise.
56420 * math/e_scalbl.c: Likewise.
56421 * math/k_cosl.c: Likewise.
56422 * math/k_sinl.c: Likewise.
56423 * math/k_tanl.c: Likewise.
56424 * math/s_cacoshf.c: Likewise.
56425 * math/s_catan.c: Likewise.
56426 * math/s_catanf.c: Likewise.
56427 * math/s_catanh.c: Likewise.
56428 * math/s_catanhf.c: Likewise.
56429 * math/s_catanhl.c: Likewise.
56430 * math/s_catanl.c: Likewise.
56431 * math/s_ccosh.c: Likewise.
56432 * math/s_ccoshf.c: Likewise.
56433 * math/s_ccoshl.c: Likewise.
56434 * math/s_cexp.c: Likewise.
56435 * math/s_cexpf.c: Likewise.
56436 * math/s_cexpl.c: Likewise.
56437 * math/s_clog.c: Likewise.
56438 * math/s_clog10.c: Likewise.
56439 * math/s_clog10f.c: Likewise.
56440 * math/s_clog10l.c: Likewise.
56441 * math/s_clogf.c: Likewise.
56442 * math/s_clogl.c: Likewise.
56443 * math/s_csin.c: Likewise.
56444 * math/s_csinf.c: Likewise.
56445 * math/s_csinh.c: Likewise.
56446 * math/s_csinhf.c: Likewise.
56447 * math/s_csinhl.c: Likewise.
56448 * math/s_csinl.c: Likewise.
56449 * math/s_csqrt.c: Likewise.
56450 * math/s_csqrtf.c: Likewise.
56451 * math/s_csqrtl.c: Likewise.
56452 * math/s_ctan.c: Likewise.
56453 * math/s_ctanf.c: Likewise.
56454 * math/s_ctanh.c: Likewise.
56455 * math/s_ctanhf.c: Likewise.
56456 * math/s_ctanhl.c: Likewise.
56457 * math/s_ctanl.c: Likewise.
56458 * math/s_ldexp.c: Likewise.
56459 * math/s_ldexpf.c: Likewise.
56460 * math/s_ldexpl.c: Likewise.
56461 * math/s_significand.c: Likewise.
56462 * math/s_significandf.c: Likewise.
56463 * math/s_significandl.c: Likewise.
56464 * math/w_acos.c: Likewise.
56465 * math/w_acosf.c: Likewise.
56466 * math/w_acosh.c: Likewise.
56467 * math/w_acoshf.c: Likewise.
56468 * math/w_acoshl.c: Likewise.
56469 * math/w_acosl.c: Likewise.
56470 * math/w_asin.c: Likewise.
56471 * math/w_asinf.c: Likewise.
56472 * math/w_asinl.c: Likewise.
56473 * math/w_atan2.c: Likewise.
56474 * math/w_atan2f.c: Likewise.
56475 * math/w_atan2l.c: Likewise.
56476 * math/w_atanh.c: Likewise.
56477 * math/w_atanhf.c: Likewise.
56478 * math/w_atanhl.c: Likewise.
56479 * math/w_cosh.c: Likewise.
56480 * math/w_coshf.c: Likewise.
56481 * math/w_coshl.c: Likewise.
56482 * math/w_dremf.c: Likewise.
56483 * math/w_exp10.c: Likewise.
56484 * math/w_exp10f.c: Likewise.
56485 * math/w_exp10l.c: Likewise.
56486 * math/w_exp2.c: Likewise.
56487 * math/w_exp2f.c: Likewise.
56488 * math/w_fmod.c: Likewise.
56489 * math/w_fmodf.c: Likewise.
56490 * math/w_fmodl.c: Likewise.
56491 * math/w_hypot.c: Likewise.
56492 * math/w_hypotf.c: Likewise.
56493 * math/w_hypotl.c: Likewise.
56494 * math/w_j0.c: Likewise.
56495 * math/w_j0f.c: Likewise.
56496 * math/w_j0l.c: Likewise.
56497 * math/w_j1.c: Likewise.
56498 * math/w_j1f.c: Likewise.
56499 * math/w_j1l.c: Likewise.
56500 * math/w_jn.c: Likewise.
56501 * math/w_jnf.c: Likewise.
56502 * math/w_jnl.c: Likewise.
56503 * math/w_lgamma.c: Likewise.
56504 * math/w_lgamma_r.c: Likewise.
56505 * math/w_lgammaf.c: Likewise.
56506 * math/w_lgammaf_r.c: Likewise.
56507 * math/w_lgammal.c: Likewise.
56508 * math/w_lgammal_r.c: Likewise.
56509 * math/w_log.c: Likewise.
56510 * math/w_log10.c: Likewise.
56511 * math/w_log10f.c: Likewise.
56512 * math/w_log10l.c: Likewise.
56513 * math/w_log2.c: Likewise.
56514 * math/w_log2f.c: Likewise.
56515 * math/w_log2l.c: Likewise.
56516 * math/w_logf.c: Likewise.
56517 * math/w_logl.c: Likewise.
56518 * math/w_pow.c: Likewise.
56519 * math/w_powf.c: Likewise.
56520 * math/w_powl.c: Likewise.
56521 * math/w_remainder.c: Likewise.
56522 * math/w_remainderf.c: Likewise.
56523 * math/w_remainderl.c: Likewise.
56524 * math/w_scalb.c: Likewise.
56525 * math/w_scalbf.c: Likewise.
56526 * math/w_scalbl.c: Likewise.
56527 * math/w_sinh.c: Likewise.
56528 * math/w_sinhf.c: Likewise.
56529 * math/w_sinhl.c: Likewise.
56530 * math/w_sqrt.c: Likewise.
56531 * math/w_sqrtf.c: Likewise.
56532 * math/w_sqrtl.c: Likewise.
56533 * math/w_tgamma.c: Likewise.
56534 * math/w_tgammaf.c: Likewise.
56535 * math/w_tgammal.c: Likewise.
56537 * po/ja.po: Update from translation team.
56539 2011-09-29 Andreas Jaeger <aj@suse.de>
56542 * sunrpc/netname.c (netname2host): Fix logic.
56546 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
56548 * math/w_remainder.c (__remainder): Likewise.
56549 * math/w_remainderf.c (__remainderf): Likewise.
56550 * math/libm-test.inc (remainder_test): Add test cases.
56552 2011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
56554 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
56557 2011-10-07 Ulrich Drepper <drepper@gmail.com>
56559 * string/test-memcmp.c: Avoid unncessary #defines.
56560 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
56562 2011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
56564 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
56565 Use new sse2 version for core i3 - i7 as it's faster
56566 than sse42 version.
56567 (bit_Prefer_PMINUB_for_stringop): New.
56568 * sysdeps/x86_64/rawmemchr.S: Update.
56569 Replace with faster SSE2 version.
56570 * sysdeps/x86_64/memrchr.S: New file.
56571 * sysdeps/x86_64/memchr.S: Update.
56572 Replace with faster SSE2 version.
56574 2011-09-12 Marek Polacek <mpolacek@redhat.com>
56576 * elf/dl-load.c (lose): Add cast to avoid warning.
56578 2011-10-07 Ulrich Drepper <drepper@gmail.com>
56580 * po/ca.po: Update from translation team.
56582 * inet/getnetgrent_r.c: Hook up nscd.
56583 * nscd/Makefile (routines): Add nscd_netgroup.
56584 (nscd-modules): Add netgroupcache.
56585 (CFLAGS-netgroupcache.c): Define.
56586 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
56587 (cache_search): Add const to second parameter.
56588 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
56590 (dbs): Add netgrdb entry.
56591 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
56592 (verify_persistent_db): Handle netgrdb.
56593 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
56594 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
56596 (netgroup_response_header): Define.
56597 (innetgroup_response_header): Define.
56598 (datahead): Add netgroup_response_header and innetgroup_response_header
56600 * nscd/nscd.conf: Add entries for netgroup cache.
56601 * nscd/nscd.h (dbtype): Add netgrdb.
56602 (_PATH_NSCD_NETGROUP_DB): Define.
56603 (netgroup_iov_disabled): Declare.
56604 (xmalloc, xcalloc, xrealloc): Move declarations here.
56605 (cache_search): Adjust prototype.
56606 Add netgroup-related prototypes.
56607 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
56608 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
56609 (__nscd_innetgr): Declare.
56610 * nscd/selinux.c (perms): Use access_vector_t as element type and
56611 add netgroup-related initializers.
56612 * nscd/netgroupcache.c: New file.
56613 * nscd/nscd_netgroup.c: New file.
56614 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
56615 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
56616 For four parameters use innetgr.
56617 * nss/nss_files/files-init.c: Add definition and callback for netgr.
56618 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
56619 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
56620 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
56622 * nscd/connections.c (register_traced_file): Don't register file
56623 for disabled databases.
56625 2011-10-06 Ulrich Drepper <drepper@gmail.com>
56627 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
56629 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
56630 from tree and freeing node.
56632 2011-09-25 Jiri Olsa <jolsa@redhat.com>
56634 * nss/nsswitch.c (__nss_database_lookup): Handle
56635 nss_parse_service_list out of memory case.
56637 2011-09-15 Jiri Olsa <jolsa@redhat.com>
56639 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
56640 out of memory case.
56642 2011-10-04 Andreas Schwab <schwab@redhat.com>
56644 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
56645 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
56647 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
56648 elf_machine_rela, elf_machine_lazy_rel.
56649 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
56650 (ELF_DYNAMIC_DO_REL): Likewise.
56651 (ELF_DYNAMIC_DO_RELA): Likewise.
56652 (ELF_DYNAMIC_RELOCATE): Likewise.
56653 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
56654 to ELF_DYNAMIC_DO_REL.
56655 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
56656 (dl_main): In trace mode always set __RTLD_NOIFUNC.
56657 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
56659 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
56660 skip_ifunc, don't call ifunc function if non-zero.
56661 (elf_machine_rela): Likewise.
56662 (elf_machine_lazy_rel): Likewise.
56663 (elf_machine_lazy_rela): Likewise.
56664 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
56665 (elf_machine_lazy_rel): Likewise.
56666 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
56668 (elf_machine_lazy_rel): Likewise.
56669 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
56671 (elf_machine_lazy_rel): Likewise.
56672 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
56673 (elf_machine_lazy_rel): Likewise.
56674 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
56675 (elf_machine_lazy_rel): Likewise.
56676 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
56677 (elf_machine_lazy_rel): Likewise.
56678 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
56679 (elf_machine_lazy_rel): Likewise.
56680 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
56681 (elf_machine_lazy_rel): Likewise.
56682 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
56683 (elf_machine_lazy_rel): Likewise.
56685 2011-09-28 Ulrich Drepper <drepper@gmail.com>
56687 * nss/nss_files/files-init.c (_nss_files_init): Use static
56688 initialization for all the *_traced_file variables.
56690 2011-09-28 Andreas Schwab <schwab@redhat.com>
56692 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
56694 2011-09-27 Roland McGrath <roland@hack.frob.com>
56697 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
56699 2011-09-27 Andreas Schwab <schwab@redhat.com>
56701 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
56702 Reread the line before reparsing it.
56704 2011-09-26 Andreas Schwab <schwab@redhat.com>
56706 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
56708 2011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
56709 Maxim Kuvyrkov <maxim@codesourcery.com>
56710 Joseph Myers <joseph@codesourcery.com>
56712 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
56713 if needed for __stack_chk_guard.
56715 2011-09-19 Roland McGrath <roland@hack.frob.com>
56717 * sysdeps/posix/spawni.c (script_execute): Always define it.
56718 It will be optimized away if unused.
56719 (maybe_script_execute): New function.
56720 (__spawni): Call it.
56722 * Makerules: Don't include tls.make.
56723 (config-tls): Always set to thread.
56724 * tls.make.c: File removed.
56726 2011-09-19 Mike Frysinger <vapier@gentoo.org>
56728 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
56729 * config.make.in (CPPFLAGS-config): New substituted variable.
56731 2011-09-15 Ulrich Drepper <drepper@gmail.com>
56733 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
56736 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
56737 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
56739 2011-09-15 Roland McGrath <roland@hack.frob.com>
56741 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
56742 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
56743 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
56744 (CALL_FAIL): Likewise.
56745 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
56746 (CALL_FAIL): Macro removed.
56747 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
56749 2011-09-15 Ulrich Drepper <drepper@gmail.com>
56751 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
56752 for __FINITE_MATH_ONLY__ == 1.
56754 2011-09-15 Andreas Schwab <schwab@redhat.com>
56756 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
56757 __ieee754_sqrt instead of sqrt.
56758 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
56759 __ieee754_sqrtf instead of sqrtf.
56760 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
56761 __floorf instead of floorf.
56762 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
56763 __floorf, __truncf instead of floorf, truncf.
56765 2011-09-14 Ulrich Drepper <drepper@gmail.com>
56767 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
56769 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
56770 __extern_always_inline.
56771 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
56774 2011-09-14 Andreas Schwab <schwab@redhat.com>
56776 * elf/rtld.c (dl_main): Also relocate in dependency order when
56777 doing symbol dependency testing.
56779 2011-09-13 Andreas Schwab <schwab@linux-m68k.org>
56781 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
56782 Always define `refsym'.
56784 2011-09-13 Andreas Schwab <schwab@redhat.com>
56786 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
56787 (__FD_ELT): Renamed from __FDELT.
56788 * misc/bits/select2.h (__FD_ELT): Likewise.
56789 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
56790 __FD_MASK instead of __FDELT, __FDMASK.
56791 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
56793 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
56796 * elf/Makefile (gen-ldd): Fix pattern.
56798 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
56799 (init_tls): Likewise.
56801 2011-09-12 Ulrich Drepper <drepper@gmail.com>
56803 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
56805 2011-09-12 Andreas Schwab <schwab@redhat.com>
56807 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
56808 `struct cmsghdr *' instead of `void *'.
56809 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
56812 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
56814 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
56816 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
56817 ldd_rewrite_script.
56819 2011-09-11 Ulrich Drepper <drepper@gmail.com>
56821 * configure.in: Remove --with-tls option.
56822 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
56823 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
56824 out in case it is missing.
56825 * sysdeps/ia64/elf/configure.in: Likewise.
56826 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
56827 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
56828 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
56829 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
56830 * sysdeps/sh/elf/configure.in: Likewise.
56831 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
56832 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
56833 * sysdeps/x86_64/elf/configure.in: Likewise.
56834 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
56835 * sysdeps/mach/hurd/tls.h: Likewise.
56838 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
56841 * configure.in: Fix use of AC_INIT.
56843 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
56845 2011-09-10 Ulrich Drepper <drepper@gmail.com>
56847 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
56849 * malloc/hooks.c: Likewise.
56852 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
56853 variables statically.
56854 (narenas): Initialize.
56855 (list_lock): Initialize.
56856 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
56857 initializtion of main_arena and list_lock. Small cleanups.
56858 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
56859 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
56860 Add initializers to main_arena and mp_.
56861 (malloc_state): Remove pagesize member. Change all users to use
56864 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
56865 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
56866 is always initialized.
56868 * malloc/malloc.c: Removed unused configurations and dead code.
56869 * malloc/arena.c: Likewise.
56870 * malloc/hooks.c: Likewise.
56871 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
56873 * include/tls.h: Removed. USE___THREAD must always be defined.
56874 * bits/libc-tsd.h: Don't handle !USE___THREAD.
56875 * elf/dl-libc.c: Likewise.
56876 * elf/dl-tsd.c: Likewise.
56877 * include/errno.h: Likewise.
56878 * include/netdb.h: Likewise.
56879 * include/resolv.h: Likewise.
56880 * inet/herrno-loc.c: Likewise.
56881 * inet/herrno.c: Likewise.
56882 * malloc/arena.c: Likewise.
56883 * malloc/hooks.c: Likewise.
56884 * malloc/malloc.c: Likewise.
56885 * resolv/res-state.c: Likewise.
56886 * resolv/res_libc.c: Likewise.
56887 * sysdeps/i386/dl-machine.h: Likewise.
56888 * sysdeps/ia64/dl-machine.h: Likewise.
56889 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
56890 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
56891 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
56892 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
56893 * sysdeps/sh/dl-machine.h: Likewise.
56894 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
56895 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
56896 * sysdeps/unix/i386/sysdep.S: Likewise.
56897 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
56898 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
56899 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
56900 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
56901 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
56902 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
56903 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
56904 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
56905 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
56906 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
56907 * sysdeps/unix/x86_64/sysdep.S: Likewise.
56908 * sysdeps/x86_64/dl-machine.h: Likewise.
56909 * tls.make.c: Likewise.
56911 * configure.in: Remove --with-__thread option. Make tests for
56912 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
56913 tls_model attribute fail if no support is available. Remove
56915 * Makeconfig: Adjust for dropped configure option. All features are
56917 * Makerules: Likewise.
56918 * Versions.def: Likewise.
56919 * argp/argp-fmtstream.c: Likewise.
56920 * argp/argp-fmtstream.h: Likewise.
56921 * argp/argp-help.c: Likewise.
56922 * assert/assert.c: Likewise.
56923 * config.h.in: Likewise.
56924 * config.make.in: Likewise.
56925 * configure: Likewise.
56926 * configure.in: Likewise.
56927 * csu/Versions: Likewise.
56928 * csu/init.c: Likewise.
56929 * elf/tst-audit2.c: Likewise.
56930 * elf/tst-tls10.c: Likewise.
56931 * elf/tst-tls10.h: Likewise.
56932 * elf/tst-tls11.c: Likewise.
56933 * elf/tst-tls12.c: Likewise.
56934 * elf/tst-tls14.c: Likewise.
56935 * elf/tst-tlsmod11.c: Likewise.
56936 * elf/tst-tlsmod12.c: Likewise.
56937 * elf/tst-tlsmod13.c: Likewise.
56938 * elf/tst-tlsmod13a.c: Likewise.
56939 * elf/tst-tlsmod14a.c: Likewise.
56940 * elf/tst-tlsmod15b.c: Likewise.
56941 * elf/tst-tlsmod16a.c: Likewise.
56942 * elf/tst-tlsmod16b.c: Likewise.
56943 * elf/tst-tlsmod7.c: Likewise.
56944 * elf/tst-tlsmod8.c: Likewise.
56945 * elf/tst-tlsmod9.c: Likewise.
56946 * gmon/gmon.c: Likewise.
56947 * grp/fgetgrent_r.c: Likewise.
56948 * grp/putgrent.c: Likewise.
56949 * hurd/fopenport.c: Likewise.
56950 * include/libc-symbols.h: Likewise.
56951 * include/tls.h: Likewise.
56952 * intl/gettextP.h: Likewise.
56953 * intl/loadinfo.h: Likewise.
56954 * locale/global-locale.c: Likewise.
56955 * locale/localeinfo.h: Likewise.
56956 * mach/devstream.c: Likewise.
56957 * malloc/arena.c: Likewise.
56958 * malloc/set-freeres.c: Likewise.
56959 * misc/err.c: Likewise.
56960 * misc/getttyent.c: Likewise.
56961 * misc/mntent_r.c: Likewise.
56962 * posix/getopt.c: Likewise.
56963 * posix/wordexp.c: Likewise.
56964 * pwd/fgetpwent_r.c: Likewise.
56965 * resolv/Versions: Likewise.
56966 * resolv/res_hconf.c: Likewise.
56967 * shadow/fgetspent_r.c: Likewise.
56968 * shadow/putspent.c: Likewise.
56969 * stdio-common/printf_fphex.c: Likewise.
56970 * stdio-common/tmpfile.c: Likewise.
56971 * stdlib/abort.c: Likewise.
56972 * stdlib/fmtmsg.c: Likewise.
56973 * sunrpc/auth_unix.c: Likewise.
56974 * sunrpc/clnt_perr.c: Likewise.
56975 * sunrpc/clnt_tcp.c: Likewise.
56976 * sunrpc/clnt_udp.c: Likewise.
56977 * sunrpc/clnt_unix.c: Likewise.
56978 * sunrpc/openchild.c: Likewise.
56979 * sunrpc/svc_simple.c: Likewise.
56980 * sunrpc/svc_tcp.c: Likewise.
56981 * sunrpc/svc_udp.c: Likewise.
56982 * sunrpc/svc_unix.c: Likewise.
56983 * sunrpc/xdr.c: Likewise.
56984 * sunrpc/xdr_array.c: Likewise.
56985 * sunrpc/xdr_rec.c: Likewise.
56986 * sunrpc/xdr_ref.c: Likewise.
56987 * sunrpc/xdr_stdio.c: Likewise.
56989 2011-09-09 Ulrich Drepper <drepper@gmail.com>
56991 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
56993 2011-07-03 Andreas Jaeger <aj@suse.de>
56995 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
56996 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
56997 regenerate with gen-libm-tests.pl.
56999 2010-05-12 Petr Baudis <pasky@suse.cz>
57002 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
57003 around j0() zero points by switching to j1().
57004 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
57005 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
57006 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
57007 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
57009 2011-09-09 Ulrich Drepper <drepper@gmail.com>
57011 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
57013 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
57015 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
57016 Patch in part by Pavel Roskin <proski@gnu.org>.
57019 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
57021 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
57022 Free memory block if necessary.
57025 * libio/genops.c (INTDEF): For string streams the _lock pointer can
57026 be NULL. Don't lock in this case.
57028 2011-09-09 Roland McGrath <roland@hack.frob.com>
57030 * elf/elf.h (ELFOSABI_GNU): New macro.
57031 (ELFOSABI_LINUX): Define to that.
57033 2011-07-29 Denis Zaitceff <zaitceff@gmail.com>
57035 * string/strncat.c (strncat): Undef the symbol in case it has been
57036 defined in bits/string.h.
57038 2011-09-09 Ulrich Drepper <drepper@gmail.com>
57040 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
57042 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
57045 2011-08-17 Andreas Jaeger <aj@suse.de>
57047 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
57049 2011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
57050 Ian Lance Taylor <iant@google.com>
57052 * math/libm-test.inc (lround_test): New testcase.
57053 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
57055 2011-09-08 Ulrich Drepper <drepper@gmail.com>
57057 * Makefile: Remove support for automatic cvs check-ins.
57058 * Makerules: Likewise.
57059 * config.make.in: Likewise.
57060 * configure.in: Likewise.
57061 * intl/Makefile: Likewise.
57062 * locale/Makefile: Likewise.
57063 * po/Makefile: Likewise.
57064 * posix/Makefile: Likewise.
57065 * sysdeps/gnu/Makefile: Likewise.
57066 * sysdeps/mach/hurd/Makefile: Likewise.
57067 * sysdeps/sparc/sparc32/Makefile: Likewise.
57070 * posix/Makefile (bug-regex32-ENV): Define.
57071 Patch by John Stanley <jpsinthemix@verizon.net>.
57073 * misc/Makefile (headers): Add bits/select2.h.
57074 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
57075 * misc/bits/select2.h: New file.
57076 * include/bits/select2.h: New file.
57077 * debug/Makefile (routines): Add fdelt_chk.
57078 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
57079 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
57081 * debug/fdelt_chk.c: New file.
57083 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
57084 * wcsmbs/test-wmemcmp.c: Likewise.
57085 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
57086 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
57088 2011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
57090 * string/Makefile (strop-tests): Add memcmp.
57091 * string/test-wmemcmp.c: New file.
57092 * string/test-memcmp.c: Add wmemcmp support.
57094 2011-09-08 Roland McGrath <roland@hack.frob.com>
57097 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
57100 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
57101 garbage value in a __mach_port_mod_refs call in the cases of the
57102 task-self and thread-self ports.
57104 2011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
57106 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
57108 2011-09-08 Andreas Schwab <schwab@redhat.com>
57110 * elf/dl-load.c (lose): Check for non-null L.
57112 2011-09-07 Ulrich Drepper <drepper@gmail.com>
57114 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
57116 * elf/dl-libc.c (dlerror_run): Pass back error code from
57120 * elf/dl-load.c (lose): Free l_origin if it is valid.
57122 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
57124 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
57125 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
57126 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
57127 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
57128 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
57129 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
57131 2011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
57133 * sysdeps/powerpc/fpu/e_hypot.c: New file.
57134 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
57135 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
57136 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
57137 * sysdeps/powerpc/fpu/k_cosf.c: New file.
57138 * sysdeps/powerpc/fpu/k_sinf.c: New file.
57139 * sysdeps/powerpc/fpu/s_cosf.c: New file.
57140 * sysdeps/powerpc/fpu/s_sinf.c: New file.
57141 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
57142 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
57144 2011-08-15 Alan Modra <amodra@gmail.com>
57147 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
57148 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
57149 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
57150 ppc_mcount to static-only-routines.
57151 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
57153 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
57154 __mcount_internal with usual JUMPTARGET. Remove useless nop.
57156 2011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
57158 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
57159 for finite and infinity parameters.
57161 2011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
57163 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
57164 and add nop instructions for throughput optimization.
57165 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
57167 2011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
57169 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
57170 aligned copy for power7 with vector-scalar instructions.
57171 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
57173 2011-07-24 H.J. Lu <hongjiu.lu@intel.com>
57175 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
57178 2011-09-07 Andreas Schwab <schwab@redhat.com>
57181 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
57184 2011-09-07 Ulrich Drepper <drepper@gmail.com>
57186 * sysdeps/unix/sysv/linux/x86_64/init-first.c
57187 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
57188 syscall wrapper around clock_gettime in __vdso_clock_gettime.
57189 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
57192 2011-09-06 Ulrich Drepper <drepper@gmail.com>
57194 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
57195 Forgot to demangle the pointer.
57197 * sysdeps/i386/sysdep.h: Define atom_text_section.
57198 * sysdeps/x86_64/sysdep.h: Likewise.
57199 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
57200 section with atom_text_section.
57201 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
57202 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
57203 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
57204 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
57205 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
57207 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
57208 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
57209 already be defined. Change to take two parameters and don't assign
57210 result to variable. Adjust all users.
57211 Define INTERNAL_GETTIME if not already defined.
57212 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
57214 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
57215 HAVE_CLOCK_GETTIME_VSYSCALL.
57216 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
57218 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
57219 gettimeofday vsyscall, just use time.
57221 2011-09-06 Andreas Schwab <schwab@redhat.com>
57223 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
57226 2011-09-06 Ulrich Drepper <drepper@gmail.com>
57228 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
57230 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
57232 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
57233 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
57234 syscall if possible.
57236 2011-09-05 Ulrich Drepper <drepper@gmail.com>
57238 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
57239 e_ident. Don't pass to find_mapsXX.
57240 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
57242 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
57244 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
57245 strchr-sse2-no-bsf strrchr-sse2-no-bsf
57246 * sysdeps/x86_64/multiarch/strchr.S: Update.
57247 Check bit_slow_BSF bit.
57248 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
57249 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
57250 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
57252 2011-09-05 Ulrich Drepper <drepper@gmail.com>
57255 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
57257 (tryshell): Define.
57258 (__spawni): Change last parameter to be flag. Test
57259 SPAWN_XFLAGS_USE_PATH flag to use path or not.
57260 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
57261 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
57262 * posix/spawni.c: Likewise.
57263 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
57264 * posix/spawnp.c: Likewise. Change normal version to use
57265 SPAWN_XFLAGS_USE_PATH.
57266 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
57267 SPAWN_XFLAGS_TRY_SHELL.
57270 * posix/glob.h: Remove gcc 1.x support.
57273 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
57275 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
57277 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
57278 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
57280 * sysdeps/i386/i686/multiarch/strchr.S: New file.
57281 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
57282 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
57283 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
57284 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
57285 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
57287 2011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
57289 * sysdeps/x86_64/wcscmp.S: New file.
57291 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
57292 wcscmp-c wcscmp-sse2
57293 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
57294 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
57295 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
57296 * wcsmbs/wcscmp.c: Allow renaming.
57298 2011-09-05 David S. Miller <davem@davemloft.net>
57300 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
57301 stack slot, rather than the struct return pointer slot.
57302 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
57303 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
57304 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
57305 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
57307 2011-09-05 Ulrich Drepper <drepper@gmail.com>
57309 * po/ja.po: Update from translation team.
57312 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
57313 kernel in 64-bit binaries.
57315 2011-09-01 David S. Miller <davem@davemloft.net>
57317 * elf/elf.h (HWCAP_SPARC_*): Move to..
57318 * sysdeps/sparc/sysdep.h: this new file and add new values.
57319 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
57320 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
57321 _DL_HWCAP_COUNT to 24.
57322 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
57324 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
57325 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
57326 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
57327 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
57328 instead of magic constants.
57329 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
57331 2011-08-31 David S. Miller <davem@davemloft.net>
57333 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
57334 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
57335 Reimplement to do errno handling inline.
57336 (SYSCALL_ERROR_HANDLER): New macro.
57337 (__SYSCALL_STRING): Do not do errno handling in asm.
57338 (__CLONE_SYSCALL_STRING): Delete.
57339 (__INTERNAL_SYSCALL_STRING): Delete.
57340 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
57341 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
57342 (PSEUDO): Reimplement to do errno handling inline.
57343 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
57344 (SYSCALL_ERROR_HANDLER): New macro.
57345 (__SYSCALL_STRING): Do not do errno handling in asm.
57346 (__CLONE_SYSCALL_STRING): Delete.
57347 (__INTERNAL_SYSCALL_STRING): Delete.
57348 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
57349 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
57351 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
57352 (inline_syscall*): Add 'err' argument.
57353 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
57354 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
57355 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
57356 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
57358 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
57359 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
57361 2011-08-30 Andreas Schwab <schwab@redhat.com>
57363 * elf/rtld.c (dl_main): Relocate objects in dependency order.
57365 2011-08-29 Jiri Olsa <jolsa@redhat.com>
57367 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
57370 2011-08-24 David S. Miller <davem@davemloft.net>
57372 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
57374 2011-08-24 Andreas Schwab <schwab@redhat.com>
57376 * elf/Makefile: Add rules to build and run unload8 test.
57377 * elf/unload8.c: New file.
57378 * elf/unload8mod1.c: New file.
57379 * elf/unload8mod1x.c: New file.
57380 * elf/unload8mod2.c: New file.
57381 * elf/unload8mod3.c: New file.
57383 * elf/dl-close.c (_dl_close_worker): Reset private search list if
57386 2011-08-23 David S. Miller <davem@davemloft.net>
57388 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
57389 subtract stack bias.
57390 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
57391 %sp not %fp in calculations.
57392 (_JMPBUF_UNWINDS_ADJ): Likewise.
57394 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
57395 (aio_suspend): Call it to force an exception region around the
57396 AIO_MISC_WAIT() invocation.
57398 2011-08-23 Andreas Schwab <schwab@redhat.com>
57400 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
57403 2011-07-04 Aurelien Jarno <aurelien@aurel32.net>
57405 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
57407 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
57408 and <dl-machine.h>.
57409 (Elf64_FuncDesc): Remove.
57411 2011-08-22 David S. Miller <davem@davemloft.net>
57413 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
57414 sigaltstack check, add missing cfi directives.
57415 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
57416 missing cfi directives, and sigaltstack handling.
57418 2011-08-16 Andreas Schwab <schwab@redhat.com>
57421 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
57422 object is seen twice.
57423 * elf/dl-fini.c (_dl_sort_fini): Likewise.
57425 * elf/Makefile (distribute): Add tst-initorder2.c.
57426 (tests): Add tst-initorder2.
57427 (modules-names): Add tst-initorder2a tst-initorder2b
57428 tst-initorder2c tst-initorder2d. Add rules to build them.
57429 ($(objpfx)tst-initorder2.out): New rule.
57430 * elf/tst-initorder2.c: New file.
57431 * elf/tst-initorder2.exp: New file.
57433 2011-08-22 Andreas Schwab <schwab@redhat.com>
57435 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
57437 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
57438 dependencies back to end of function.
57440 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
57441 $(elfobjdir)/ld.so.
57443 2011-08-21 Ulrich Drepper <drepper@gmail.com>
57445 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
57446 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
57447 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
57448 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
57449 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
57450 of __vdso_gettimeofday.
57451 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
57452 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
57454 (_libc_vdso_platform_setup): Remove initialization of
57455 __vdso_gettimeofday and __vdso_time.
57457 2011-08-20 Ulrich Drepper <drepper@gmail.com>
57459 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
57460 and fgetc_unlocked.
57461 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
57464 * elf/dl-open.c (add_to_global): Report additions to the global scope
57465 for LD_DEBUG=scopes.
57466 (dl_open_worker): Also print scope of newly loaded dependencies.
57467 (_dl_show_scope): Indicate if there is no scope.
57470 * stdio-common/Makefile (tests): Add bug24.
57471 * stdio-common/bug24.c: New file.
57473 2011-08-19 Andreas Jaeger <aj@suse.de>
57476 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
57477 non-existant file when using close-on-exec mode.
57479 2011-08-20 Ulrich Drepper <drepper@gmail.com>
57481 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
57482 the very first instruction.
57484 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
57485 the CFI state in the end.
57486 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
57487 inclusion of dl-trampoline.h.
57488 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
57490 2011-08-19 Andreas Schwab <schwab@redhat.com>
57492 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
57493 expectations for long double.
57495 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
57496 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
57498 2011-08-14 David S. Miller <davem@davemloft.net>
57500 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
57501 artificual limit depends upon the system page size.
57503 2011-08-17 Ulrich Drepper <drepper@gmail.com>
57505 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
57506 * resolv/Makefile: Define CFLAGS-libresolv.
57508 2011-08-17 Andreas Schwab <schwab@redhat.com>
57510 * nss/makedb.c (compute_tables): Make variables used in nested
57513 2011-08-17 Ulrich Drepper <drepper@gmail.com>
57515 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
57516 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
57517 if buffer was too small.
57519 * elf/pldd.c (main): Attach to all threads in the process.
57520 Rewrite /proc handling to use *at functions.
57522 2011-08-16 Ulrich Drepper <drepper@gmail.com>
57524 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
57525 specifies first scope to show.
57526 (dl_open_worker): Update callers. Move printing scope of new
57527 object to before the relocation.
57528 * elf/rtld.c (dl_main): Update _dl_show_scope call.
57529 * sysdeps/generic/ldsodefs.h: Update declaration.
57531 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
57532 string for the scope number.
57534 2011-08-14 Ulrich Drepper <drepper@gmail.com>
57536 * nscd/servicescache.c (cache_addserv): Make sure written is always
57539 2011-08-14 Roland McGrath <roland@hack.frob.com>
57541 * sysdeps/i386/i486/bits/atomic.h
57542 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
57543 statement expression, so as to suppress "set but not used" warning.
57544 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
57546 * string/strncat.c (STRNCAT): Use prototype definition.
57548 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
57549 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
57551 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
57552 (localedef-modules): Add localedef.
57553 (locale-modules): Add locale.
57555 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
57556 * elf/rtld.c (dl_main): Invert order of assignment in last change,
57557 to avoid a warning.
57559 2011-08-14 David S. Miller <davem@davemloft.net>
57561 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
57562 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
57564 2011-08-13 Ulrich Drepper <drepper@gmail.com>
57566 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
57567 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
57568 * elf/rtld.c (dl_main): Set l_name of vDSO.
57569 Call _dl_show_scope when DL_DEBUG_SCOPES.
57570 (process_dl_debug): Recognize scopes flag and also set it for all.
57571 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
57572 Declare _dl_show_scope.
57574 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
57575 (do_dlopen): Pass caller_dlopen to dl_open.
57576 (__libc_dlopen_mode): Initialize caller_dlopen.
57578 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
57579 of libc. Make tolower call locale-independent. Optimize a bit by
57580 using isdigit instead of isalnum.
57581 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
57583 2011-08-12 Ulrich Drepper <drepper@gmail.com>
57585 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
57586 was a dependency or dynamically loaded.
57588 2011-08-11 Ulrich Drepper <drepper@gmail.com>
57590 * intl/l10nflist.c: Allow architecture-specific pop function.
57591 * sysdeps/x86_64/l10nflist.c: New file.
57593 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
57596 2011-08-10 Andreas Schwab <schwab@redhat.com>
57598 * include/dirent.h: Add libc_hidden_proto for scandirat and
57599 scandirat64. Don't declare __scandirat64.
57600 * dirent/scandirat.c: Add libc_hidden_def.
57601 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
57602 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
57604 2011-08-10 David S. Miller <davem@davemloft.net>
57606 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
57608 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
57609 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
57610 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
57612 2011-08-09 Ulrich Drepper <drepper@gmail.com>
57614 * Versions.def [libc]: Add GLIBC_2.15.
57615 * dirent/Makefile (routines): Add scandirat and scandirat64.
57616 * dirent/Versions [libc]: Export scandirat and scandirat64 for
57618 * dirent/dirent.h: Declare scandirat and scandirat64.
57619 * dirent/scandirat.c: New file.
57620 * dirent/scandirat64.c: New file.
57621 * sysdeps/wordsize-64/scandirat.c: New file.
57622 * sysdeps/wordsize-64/scandirat64.c: New file.
57623 * dirent/opendir.c: Define opendirat.
57624 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
57626 * dirent/scandir64.c: Adjust for scandir.c change.
57627 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
57628 __scandirat64, and __scandir_cancel_handler.
57629 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
57630 additional parameter and use openat instead of open (outside of ld.so).
57631 Add new __opendir as wrapper around __opendirat.
57632 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
57633 here without requiring old scandirat implementation.
57635 2011-08-08 Ulrich Drepper <drepper@gmail.com>
57637 * dirent/scandir.c (cancel_handler): Renamed to
57638 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
57639 defined. Adjust users.
57640 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
57641 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
57643 2011-08-04 Ulrich Drepper <drepper@gmail.com>
57645 * string/test-string.h (IMPL): Use __STRING to expand name and then
57648 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
57651 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
57653 * string/Makefile: Update.
57654 (strop-tests): Append strncat.
57655 * string/test-wcscmp.c: New file.
57656 New comprehensive test for wcscmp.
57657 * string/test-strcmp.c: Update.
57658 (WIDE): New define.
57660 2011-07-22 Andreas Schwab <schwab@redhat.com>
57662 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
57665 2011-07-26 Andreas Schwab <schwab@redhat.com>
57667 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
57668 encoding to ACE if AI_IDN.
57670 2011-08-01 Jakub Jelinek <jakub@redhat.com>
57672 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
57673 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
57675 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
57677 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
57678 Fix overflow bug in strncat.
57679 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
57681 * string/test-strncat.c: Update.
57682 Add new tests for checking overflow bugs.
57684 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
57686 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
57687 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
57688 * sysdeps/i386/i686/multiarch/strcat.S: New file.
57689 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
57690 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
57691 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
57692 * sysdeps/i386/i686/multiarch/strncat.S: New file.
57693 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
57694 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
57696 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
57697 (USE_AS_STRCAT): Define.
57698 Add strcat and strncat support.
57699 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
57701 2011-07-25 Andreas Schwab <schwab@redhat.com>
57703 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
57704 __n bigger than INT_MAX+1.
57705 (__strncmp_g): Likewise.
57707 2011-07-23 Ulrich Drepper <drepper@gmail.com>
57709 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
57710 * libio/stido.h: Likewise.
57712 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
57714 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
57717 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
57718 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
57719 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
57720 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
57721 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
57724 * scripts/test-installation.pl: Don't expect libnss_test1 to be
57727 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
57729 (_dl_x86_64_save_sse): Likewise.
57731 2011-07-22 Ulrich Drepper <drepper@gmail.com>
57733 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
57735 (_dl_x86_64_save_sse): Likewise.
57737 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
57739 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
57741 2011-07-21 Andreas Schwab <schwab@redhat.com>
57743 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
57745 (_dl_x86_64_save_sse): Use correct AVX check.
57747 2011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
57749 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
57750 bug in strncpy/strncat.
57751 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
57753 2011-07-21 Ulrich Drepper <drepper@gmail.com>
57755 * string/tester.c (test_strcat): Add tests for different alignments
57756 of source and destination.
57757 (test_strncat): Likewise.
57759 2011-07-20 Ulrich Drepper <drepper@gmail.com>
57762 * posix/glob.c (glob): Check passed in values before using them in
57763 expressions to avoid some overflows.
57764 (glob_in_dir): Likewise.
57767 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
57768 check for AVX enablement so that we don't crash with old kernels and
57770 * elf/tst-audit4.c: Add same checks here.
57771 * elf/tst-audit6.c: Likewise.
57773 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
57775 2011-07-09 Andreas Schwab <schwab@linux-m68k.org>
57777 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
57779 2011-07-20 Ulrich Drepper <drepper@gmail.com>
57781 * po/cs.po: Update from translation team.
57782 * po/bg.po: Likewise.
57784 2011-07-12 Marek Polacek <mpolacek@redhat.com>
57786 * misc/sys/cdefs.h: Add support for const attribute.
57787 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
57788 to gnu_dev_{major,minor,makedev} functions.
57790 2011-07-20 Marek Polacek <mpolacek@redhat.com>
57792 * intl/dcigettext.c (get_output_charset): Add missing bracket.
57794 2011-07-20 Andreas Schwab <schwab@redhat.com>
57796 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
57799 2011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
57801 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
57802 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
57803 register in order to avoid conflicts with the soft frame pointer
57804 being held in r11 when necessary.
57805 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
57806 (INTERNAL_VSYSCALL_NCS): Likewise.
57808 2011-07-14 Marek Polacek <mpolacek@redhat.com>
57810 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
57811 * elf/dl-fini.c (_dl_fini): Adjust caller.
57812 * elf/dl-close.c (_dl_close_worker): Likewise.
57813 * sysdeps/generic/ldsodefs.h: Adjust declaration.
57815 2011-07-15 Marek Polacek <mpolacek@redhat.com>
57817 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
57818 "aux_cache->nlibs < 0".
57820 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
57821 in the reload-count case.
57823 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
57825 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
57826 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
57827 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
57828 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
57829 * sysdeps/x86_64/multiarch/strcat.S: New file.
57830 * sysdeps/x86_64/multiarch/strncat.S: New file.
57831 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
57832 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
57833 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
57834 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
57835 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
57836 (USE_AS_STRCAT): Define.
57837 Add strcat and strncat support.
57838 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
57839 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
57840 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
57841 * string/strncat.c: Update.
57842 (USE_AS_STRNCAT): Define.
57843 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
57844 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
57846 * sysdeps/x86_64/multiarch/init-arch.h
57847 (bit_Prefer_PMINUB_for_stringop): New.
57848 (index_Prefer_PMINUB_for_stringop): Likewise.
57849 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
57850 bit_Prefer_PMINUB_for_stringop.
57852 2011-07-19 Ulrich Drepper <drepper@gmail.com>
57854 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
57856 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
57857 of casting of buffer.
57858 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
57859 buffer32 and buffer64.
57860 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
57861 writes instead of casting of buffer.
57862 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
57864 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
57867 2011-07-19 Andreas Schwab <schwab@redhat.com>
57869 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
57871 2011-07-19 Ulrich Drepper <drepper@gmail.com>
57873 * nscd/nscd.c (termination_handler): Don't do anything for a database
57874 if it has not yet been initialized.
57876 2011-07-18 Ulrich Drepper <drepper@gmail.com>
57878 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
57880 2011-07-15 Marek Polacek <mpolacek@redhat.com>
57882 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
57884 2011-07-18 Ulrich Drepper <drepper@gmail.com>
57886 * po/nl.po: Update from translation team.
57887 * po/sv.po: Likewise.
57889 2011-07-16 Roland McGrath <roland@hack.frob.com>
57891 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
57892 now disallowed by GCC.
57894 * configure.in (use-default-link): Default to yes if a test -shared
57895 link meets our qualifications.
57896 * configure: Regenerated.
57898 * config.make.in (output-format): New variable.
57899 * configure.in: Check for ld --print-output-format support.
57900 * configure: Regenerated.
57901 * Makerules ($(common-objpfx)format.lds)
57902 [$(output-format) != unknown]: Just use $(output-format),
57903 instead of the linker-script munging.
57905 2011-07-14 Roland McGrath <roland@hack.frob.com>
57907 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
57908 of $(common-objpfx)shlib.lds.
57909 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
57911 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
57912 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
57914 * configure.in (-z relro check): Adjust test code to add a large
57915 writable data section after it.
57916 * configure: Regenerated.
57918 2011-07-11 Roland McGrath <roland@hack.frob.com>
57920 * configure.in (-z relro check): Fix test code to make the variable
57922 * configure: Regenerated.
57924 2011-07-11 Ulrich Drepper <drepper@gmail.com>
57926 * nscd/nscd.h (struct traced_file): Define.
57927 (struct database_dyn): Remove inotify_descr, reset_res, and filename
57928 elements. Add traced_files.
57929 (inotify_fd): Declare.
57930 (register_traced_file): Declare.
57931 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
57932 (inotify_fd): Export.
57933 (resolv_conf_descr): Remove.
57934 (nscd_init): Move inotify descriptor creation to main.
57935 Don't register files for notification here.
57936 (register_traced_file): New function.
57937 (invalidate_cache): Don't use reset_res to determine whether to call
57938 res_init, go through the list of registered files.
57939 (main_loop_poll): The inotify descriptors are now stored in the
57940 structures for the traced files.
57941 (main_loop_epoll): Likewise
57942 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
57943 to __nss_disable_nscd.
57944 * nscd/cache.c (prune_cache): There is no single inotify descriptor
57945 for a database anymore. Check the records for all the registered
57947 * nss/Makefile (libnss_files-routines): Add files-init.
57948 (libnss_db-routines): Add db-init.
57949 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
57950 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
57951 * nss/nss_db/db-init.c: New file.
57952 * nss/nss_files/files-init.c: New file.
57953 * nss/nsswitch.c (nss_load_library): New function. Broken out of
57954 __nss_lookup_function.
57955 (__nss_lookup_function): Call nss_load_library.
57956 (nss_load_all_libraries): New function.
57957 (__nss_disable_nscd): Take parameter with callback function for files
57958 to register. Set is_nscd. Load all the DSOs for the NSS modules
57959 used for the cached services.
57960 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
57961 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
57962 options for features to all the files in nscd.
57964 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
57966 2011-07-10 Roland McGrath <roland@hack.frob.com>
57968 * csu/elf-init.c (__libc_csu_init): Comment typo.
57970 2011-07-09 Ulrich Drepper <drepper@gmail.com>
57972 * po/pl.po: Update from translation team.
57973 * po/ja.po: Likewise.
57974 * po/ru.po: Likewise.
57975 * po/ko.po: Likewise.
57976 * po/fr.po: Likewise.
57978 2011-07-09 Roland McGrath <roland@hack.frob.com>
57980 * configure.in (.ctors/.dtors header and trailer check):
57981 Use an empirical test on a built program.
57982 * configure: Regenerated.
57984 * configure.in (-z relro check): Use an empirical test on a built DSO.
57985 Detect, but do not require, on ia64.
57986 * configure: Regenerated.
57988 * configure.in (READELF): Find it with AC_CHECK_TOOL.
57989 Update tests that use readelf to use $READELF instead.
57990 * configure: Regenerated.
57992 2011-07-08 Ulrich Drepper <drepper@gmail.com>
57994 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
57995 if the result is not used.
57997 2011-07-05 Andreas Jaeger <aj@suse.de>
58000 * stdlib/tst-strtod.c: Add testcase.
58002 2011-07-07 Ulrich Drepper <drepper@gmail.com>
58004 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
58005 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
58006 The latter has a higher limit. Take additional parameter to pass to
58008 (__pathconf): Pass file to __statfs_link_max.
58009 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
58011 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
58015 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
58016 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
58018 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
58019 (__statfs_filesize_max): Likewise.
58020 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
58022 2011-07-05 Andreas Jaeger <aj@suse.de>
58024 * resolv/res_comp.c (dn_skipname): Remove unused variable.
58026 2011-07-06 Marek Polacek <mpolacek@redhat.com>
58028 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
58030 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
58033 2011-07-04 H.J. Lu <hongjiu.lu@intel.com>
58035 * Makefile (strop-tests): Add strncat.
58036 * string/test-strncat.c: New file.
58038 2011-06-30 Marek Polacek <mpolacek@redhat.com>
58040 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
58042 2011-06-21 Andreas Jaeger <aj@suse.de>
58044 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
58045 Copy rule from iconvdata/Makefile.
58047 2011-07-06 Ulrich Drepper <drepper@gmail.com>
58050 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
58051 but no long options are defined, just return 'W'.
58053 2011-06-22 Marek Polacek <mpolacek@redhat.com>
58056 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
58058 2011-07-06 Ulrich Drepper <drepper@gmail.com>
58060 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
58062 (innetgr): Likewise.
58064 2011-07-05 Roland McGrath <roland@hack.frob.com>
58066 * config.make.in (install_root): Default to $(DESTDIR).
58068 2011-07-05 Ulrich Drepper <drepper@gmail.com>
58070 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
58072 2011-07-02 Roland McGrath <roland@hack.frob.com>
58074 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
58076 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
58077 containing directory rather than embedding absolute directory names.
58079 * scripts/check-local-headers.sh: Rewritten using awk.
58080 Match by word, not by line. Print error messages for matches.
58081 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
58083 * Makerules [shlib-lds-flags empty]:
58084 ($(common-objpfx)libc_pic.opts): New target.
58085 ($(common-objpfx)libc_pic.os.clean): New target.
58086 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
58088 * config.make.in (OBJCOPY): New variable.
58089 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
58090 * configure: Regenerated.
58092 * config.make.in (use-default-link): New variable.
58093 * configure.in (use_default_link): Grok --with-default-link to set it.
58094 * configure: Regenerated.
58095 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
58096 (shlib-lds, shlib-lds-flags): Define to empty.
58098 * Makerules (shlib-lds): New variable.
58099 (shlib-lds-flags): New variable.
58100 (build-shlib, build-moduile, build-module-asneeded): Use it.
58101 ($(common-objpfx)libc.so): Use $(shlib-lds).
58102 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
58103 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
58105 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
58106 DT_FLAGS/DT_FLAGS_1 with zero flags.
58108 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
58109 linker script munging.
58111 2011-07-02 Ulrich Drepper <drepper@gmail.com>
58113 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
58115 * crypt/sha512.c (sha512_process_block): Perform total addition using
58116 128-bit if possible.
58117 (__sha512_finish_ctx): Likewise.
58118 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
58120 * crypt/sha256.c (SWAP64): Define.
58121 (sha256_process_block): Perform total addition using 64-bit if
58123 (__sha256_finish_ctx): Likewise.
58125 2011-07-01 Ulrich Drepper <drepper@gmail.com>
58127 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
58128 * nscd/initgrcache.c (addinitgroupsX): Likewise.
58129 * nscd/hstcache.c (cache_addhst): Likewise.
58130 * nscd/grpcache.c (cache_addgr): Likewise.
58131 * nscd/aicache.c (addhstaiX): Likewise
58132 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
58134 2011-07-01 Thorsten Kukuk <kukuk@suse.de>
58136 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
58137 * nscd/initgrcache.c (addinitgroupsX): Likewise.
58138 * nscd/hstcache.c (cache_addhst): Likewise.
58139 * nscd/grpcache.c (cache_addgr): Likewise.
58140 * nscd/aicache.c (addhstaiX): Likewise
58142 2011-07-01 Andreas Schwab <schwab@redhat.com>
58144 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
58145 domain only when needed.
58147 2011-06-30 Andreas Schwab <schwab@redhat.com>
58149 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
58150 is always restored.
58152 2011-06-29 Ulrich Drepper <drepper@gmail.com>
58154 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
58155 are re-adding the entry.
58156 * nscd/servicescache.c (cache_addserv): Likewise.
58158 2011-06-30 Aurelien Jarno <aurelien@aurel32.net>
58160 * sysdeps/generic/dl-irel.h: fix protection against multiple
58162 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
58164 2011-06-28 Ulrich Drepper <drepper@gmail.com>
58167 * malloc/memusage.sh: Fix quoting in message.
58168 * debug/xtrace.sh: Likewise.
58170 * configure.in: Remove support for --experimental-malloc option, make
58172 * config.make.in: Likewise.
58173 * malloc/Makefile: Likewise.
58175 2011-06-27 Andreas Schwab <schwab@redhat.com>
58177 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
58178 two-byte characters.
58180 2011-06-27 Roland McGrath <roland@hack.frob.com>
58182 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
58183 AC_CACHE_CHECK invocation.
58184 * configure: Regenerated.
58186 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
58188 2011-06-27 Ulrich Drepper <drepper@gmail.com>
58191 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
58192 bit from old_res_options.
58194 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
58196 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
58197 value type for setfct.
58199 2011-06-23 H.J. Lu <hongjiu.lu@intel.com>
58201 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
58202 __gettimeofday instead of gettimeofday.
58204 2011-06-26 Ulrich Drepper <drepper@gmail.com>
58206 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
58208 2011-06-24 H.J. Lu <hongjiu.lu@intel.com>
58210 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
58212 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
58215 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
58217 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
58218 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
58219 strcpy-sse2-unaligned strncpy-sse2-unaligned
58220 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
58221 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
58222 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
58223 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
58224 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
58225 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
58226 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
58227 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
58228 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
58229 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
58230 (STRCPY): Support SSE2 and SSSE3 versions.
58232 2011-06-24 Ulrich Drepper <drepper@gmail.com>
58235 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
58236 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
58237 kernels which artificially limit size of requests.
58239 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
58241 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
58242 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
58243 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
58244 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
58245 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
58246 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
58247 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
58248 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
58249 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
58250 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
58251 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
58252 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
58253 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
58254 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
58255 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
58256 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
58257 Enable unaligned load optimization for Intel Core i3, i5 and i7
58259 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
58261 (index_Fast_Unaligned_Load): Define.
58262 (HAS_FAST_UNALIGNED_LOAD): Define.
58264 2011-06-23 Marek Polacek <mpolacek@redhat.com>
58266 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
58268 2011-06-22 Ulrich Drepper <drepper@gmail.com>
58271 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
58272 until it is clear that the information is realy needed.
58273 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
58275 2011-06-22 Andreas Schwab <schwab@redhat.com>
58277 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
58279 2011-06-22 Ulrich Drepper <drepper@gmail.com>
58281 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
58282 /sys/devices/system/cpu/online if it is usable.
58284 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
58285 reading the information from the /proc filesystem to once a second.
58287 2011-06-21 Andreas Jaeger <aj@suse.de>
58289 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
58290 NULL after inclusion of kernel headers.
58292 2011-06-21 Ulrich Drepper <drepper@gmail.com>
58294 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
58295 calls to internal_setent.
58298 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
58299 addresses using gethostbyname4_r ignore IPv4 addresses.
58301 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
58302 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
58304 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
58306 2011-06-20 David S. Miller <davem@davemloft.net>
58308 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
58310 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
58312 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
58313 (elf_irel): Use it.
58314 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
58315 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
58316 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
58317 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
58318 * sysdeps/x86_64/dl-irel.h: Likewise.
58320 * elf/dl-runtime.c: Use elf_ifunc_invoke.
58321 * elf/dl-sym.c: Likewise.
58323 2011-06-15 Ulrich Drepper <drepper@gmail.com>
58325 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
58326 need to dereference resplen2.
58328 2011-06-14 Andreas Schwab <schwab@redhat.com>
58330 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
58332 2011-06-15 Ulrich Drepper <drepper@gmail.com>
58334 * Makeconfig: Define vardbdir and inst_vardbdir.
58335 * nss/Makefile: Add rules to install db-Makefile.
58337 * nss/nss_db/db-XXX.c: Cleanup.
58339 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
58340 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
58342 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
58343 * nss/makedb.c: Implement -g option to specify that value strings
58344 are generated and should not be added to table iterated over for
58346 * nss/nss_db/db-initgroups.c: New file.
58348 * nss/getent.c: Add support for initgroups lookups through getgrouplist
58351 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
58352 (internal_getgrouplist): Adjust to name change.
58353 Update use_initgroups_entry if this is not the first call.
58354 * nss/databases.def: Add initgroups entry.
58356 * nss/makedb.c (compute_tables): Check result of multiple hash table
58357 sizes to minimize maximum chain length.
58359 2011-06-14 Ulrich Drepper <drepper@gmail.com>
58361 * Versions.def: Add entry for libnss_db.
58362 * shlib-versions: Likewise.
58363 * nss/Makefile: Add rules to build libnss_db.
58364 * nss/Versions: Add libnss_db information. Organize libnss_files
58366 * nss/db-Makefile: Add gshadow support. Change rules for the new
58367 makedb progra. Some minor improvements to generate smaller files.
58368 * nss/nss_db/nss_db.h: Move NSS database header data structures to
58370 * nss/makedb.c: ...here.
58371 Improve database format to be smaller and require less memory at
58373 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
58375 * nss/nss_db/db-netgrp.c: Likewise.
58376 * nss/nss_db/db-open.c: Likewise.
58377 * nss/nss_files/flies-XXX.x: Adjust comments.
58378 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
58379 * nss/nss_files/files-grp.c: Likewise.
58380 * nss/nss_files/files-hosts.c: Likewise.
58381 * nss/nss_files/files-network.c: Likewise.
58382 * nss/nss_files/files-proto.c: Likewise.
58383 * nss/nss_files/files-pwd.c: Likewise.
58384 * nss/nss_files/files-rpc.c: Likewise.
58385 * nss/nss_files/files-service.c: Likewise.
58386 * nss/nss_files/files-sgrp.c: Likewise.
58387 * nss/nss_files/files-spwd.c: Likewise.
58388 * nss/nss_db/db-alias.c: Removed.
58389 * nss/nss_db/dummy-db.h: Removed.
58391 2011-06-02 Ulrich Drepper <drepper@gmail.com>
58393 * nss/makedb.c: Rewritten to not use database library.
58394 * nss/Makefile: Update to build new makedb program.
58396 2011-06-14 Andreas Jaeger <aj@suse.de>
58398 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
58399 memset declaration.
58401 2011-06-10 Andreas Schwab <schwab@redhat.com>
58403 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
58406 2011-06-10 Roland McGrath <roland@hack.frob.com>
58408 * Makerules (shlib.lds): Fail if the linker script comes out empty.
58409 * elf/Makefile ($(objpfx)ld.so): Likewise.
58411 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
58412 Don't list ld.so twice in dependencies.
58414 * posix/bug-regex31.c: Include <stdlib.h>.
58416 * nscd/hstcache.c (cache_addhst): Remove unused variable.
58418 * nis/nss_compat/compat-spwd.c
58419 (getspent_next_nss_netgr): Remove unused variable.
58420 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
58422 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
58423 nonmembers" output to use the right array.
58425 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
58427 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
58429 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
58430 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
58431 * catgets/gencat.c (read_input_file): Likewise.
58432 * locale/programs/locarchive.c (enlarge_archive): Likewise.
58434 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
58435 variable definition inside #if's controlling its use.
58437 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
58439 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
58441 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
58443 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
58446 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
58448 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
58449 * configure: Regenerated.
58451 * Makerules: Revert last change.
58452 * elf/Makefile: Likewise.
58454 2011-06-09 Roland McGrath <roland@hack.frob.com>
58456 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
58457 * elf/Makefile ($(objpfx)librtld.os): Likewise.
58458 (reloc-link): Likewise.
58460 2011-06-09 Ulrich Drepper <drepper@gmail.com>
58462 * elf/Makefile: Add rules to build pldd.
58463 * elf/pldd.c: New file.
58464 * elf/pldd-xx.c: New file.
58466 2011-06-07 Ulrich Drepper <drepper@gmail.com>
58468 * version.h: Update for 2.15 development version.
58470 2011-06-07 David S. Miller <davem@davemloft.net>
58472 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
58474 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
58475 elf_machine_lazy_rel): Likewise.
58476 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
58477 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
58478 elf_machine_lazy_rel): Likewise.
58479 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
58480 dl_hwcap via passed in argument.
58481 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
58484 2011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
58486 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
58488 2011-06-06 Roland McGrath <roland@hack.frob.com>
58491 * manual/fdl-1.1.texi: New file, verbatim from:
58492 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
58493 * manual/lgpl-2.1.texi: New file, verbatim from:
58494 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
58495 * manual/Makefile (licenses): New variable, list those new file names.
58497 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
58499 * manual/fdl.texi: File removed.
58500 * manual/lesser.texi: File removed.
58501 * manual/libc.texinfo (Copying, Documentation License):
58502 Use new @include file names, put @appendix directive before @include.
58504 2011-06-04 Jakub Jelinek <jakub@redhat.com>
58507 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
58508 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
58509 (mq_open): Add __NTH.
58511 2011-06-02 H.J. Lu <hongjiu.lu@intel.com>
58513 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
58514 Assume Intel Core i3/i5/i7 processor if AVX is available.
58516 2011-05-31 Ulrich Drepper <drepper@gmail.com>
58518 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
58521 2011-05-31 Andreas Schwab <schwab@redhat.com>
58523 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
58524 memory. Use alloca_account. Fix memory leak when retrying.
58526 2011-05-31 Ulrich Drepper <drepper@gmail.com>
58528 * version.h (RELEASE): Bump for 2.14 release.
58529 * include/features.h (__GLIBC_MINOR__): Bump to 14.
58531 * config.make.in (RANLIB): Remove entry.
58533 2011-05-30 Ulrich Drepper <drepper@gmail.com>
58535 * po/Makefile (po-sed-cmd): Add ksh to extensions.
58536 (libc.pot): Work around missing support for .ksh extension in xgettext.
58539 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
58540 if both request failed.
58541 (send_dg): In case of server errors clear resplen or *resplen2.
58544 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
58545 when there are multiple maps.
58546 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
58547 (_dl_fini): Remove test here.
58549 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
58551 2011-05-29 Ulrich Drepper <drepper@gmail.com>
58554 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
58555 bit from old_res_options.
58556 (gaih_inet): Likewise.
58559 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
58562 * resolv/res_init.c (res_setoptions): Make the code more compact.
58565 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
58569 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
58571 * malloc/malloc.h: Mark malloc hook variables as deprecated.
58574 * malloc/malloc.h: Declare malloc hook variables as volatile.
58576 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
58580 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
58581 raise in the comment.
58582 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
58583 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
58584 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
58586 2011-05-28 Ulrich Drepper <drepper@gmail.com>
58589 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
58590 grow the buffers more if it already has to be sufficient.
58591 (build_wcs_upper_buffer): Likewise.
58592 * posix/regexec.c (check_matching): Likewise.
58593 (clean_state_log_if_needed): Likewise.
58594 (extend_buffers): Don't enlarge buffers beyond size of the input
58596 Patches mostly by Emil Wojak <emil@wojak.eu>.
58597 * posix/bug-regex32.c: New file.
58598 * posix/Makefile (tests): Add bug-regex32.
58600 * locale/findlocale.c (_nl_find_locale): Return right away if
58601 _nl_explode_name failed.
58602 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
58604 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
58606 * debug/xtrace.sh: Unify messages.
58607 * malloc/memusage.sh: Likewise.
58610 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
58611 time symbol from vDSO. Substitute with vsyscall if not available.
58612 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
58615 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
58616 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
58617 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
58618 Add sendmmsg and internal_sendmmsg.
58619 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
58620 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
58621 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
58623 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
58624 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
58625 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
58627 2011-05-27 Ulrich Drepper <drepper@gmail.com>
58630 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
58631 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
58633 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
58637 * iconvdata/Makefile (tests): Add bug-iconv9.
58638 * iconvdata/bug-iconv9.c: New file.
58640 2011-05-27 Andreas Schwab <schwab@redhat.com>
58643 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
58645 2011-05-25 Jakub Jelinek <jakub@redhat.com>
58647 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
58648 (struct user_regs_struct): Change intcs field back to cs.
58650 2011-05-25 Ulrich Drepper <drepper@gmail.com>
58652 * po/ja.po: Update from translation team.
58654 2011-05-23 Ulrich Drepper <drepper@gmail.com>
58657 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
58658 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
58660 2011-05-20 Andreas Schwab <schwab@redhat.com>
58662 * stdlib/longlong.h: Update from GCC.
58664 2011-05-23 Andreas Schwab <schwab@redhat.com>
58666 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
58668 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
58669 Add parameter name.
58670 (__sysconf): Pass it down.
58672 2011-05-22 Ulrich Drepper <drepper@gmail.com>
58675 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
58677 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
58678 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
58679 add in in __libc_use_alloca calls. Adjust callers.
58680 (glob): Use malloc in some situations.
58682 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
58683 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
58686 2011-05-21 Ulrich Drepper <drepper@gmail.com>
58688 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
58689 and CLOCK_BOOTTIME_ALARM.
58692 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
58695 * string/_strerror.c (__strerror_r): Print negative errors as signed
58699 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
58700 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
58701 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
58703 * configure.in: Fix typo in redirection and correct removal of test
58704 files in two cases.
58707 * locale/setlocale.c (new_composite_name): Fix test to check for
58708 identical name of all categories.
58711 * libio/filedoalloc.c (local_isatty): New function.
58712 (_IO_file_doallocate): Use local_isatty.
58713 * stdio-common/perror.c (perror): In case a new stream is used
58714 forward the stream error.
58715 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
58718 2011-05-20 Ulrich Drepper <drepper@gmail.com>
58721 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
58723 * include/alloca.h (extend_alloca_account): Define.
58726 * posix/regex.h: Fix comments with documentation of user-accessible
58727 fields after compilation and describe correct free'ing of pattern
58728 after re_compile_pattern.
58729 Patch by Reuben Thomas <rrt@sc3d.org>.
58731 2011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
58733 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
58734 and -mno-altivec to prevent the compiler from using Altivec and/or
58735 VSX instructions when the corresponding registers are not available.
58737 2011-05-19 Andreas Schwab <schwab@redhat.com>
58739 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
58741 2011-05-19 Ulrich Drepper <drepper@gmail.com>
58743 * libio/freopen.c (freopen): Use __dup2, not dup2.
58744 * libio/freopen64.c (freopen64): Likewise.
58746 2011-05-17 H.J. Lu <hongjiu.lu@intel.com>
58749 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
58750 * math/Makefile (tests): Add test-powl.
58751 (CFLAGS-test-powl.c): Define.
58752 * math/test-powl.c: New file.
58754 2011-05-16 H.J. Lu <hongjiu.lu@intel.com>
58756 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
58758 2011-05-17 Ulrich Drepper <drepper@gmail.com>
58761 * iconvdata/gb18030.c: Update to GB18020-2005.
58763 2011-05-16 Ulrich Drepper <drepper@gmail.com>
58765 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
58766 RE_SYNTAX_POSIX_AWK): Update to match recent development.
58767 Patch by Aharon Robbins <arnold@skeeve.com>.
58770 * stdlib/putenv.c (putenv): Don't always create copy of the variable
58774 * misc/pselect.c (__pselect): Handle timeout value errors hidden
58775 through underflows.
58778 * misc/error.c (error_at_line): Ensure file_name and old_file_name
58779 point to strings before performing equality test for error_one_per_line
58783 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
58786 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
58787 (struct user_fpregs_struct): Avoid __uint*_t types.
58790 * malloc/mtrace.c (tr_where): Add additional parameter to point to
58791 symbol info. Use it instead of calling _dl_addr locally.
58792 (lock_and_info): New function.
58793 (tr_freehook): Call lock_and_info and pass symbol info as additional
58794 parameter to tr_where.
58795 (tr_mallochook): Likewise.
58796 (tr_reallochook): Likewise.
58797 (tr_memalignhook): Likewise.
58799 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
58800 used and couldn't be at all thread-safe.
58802 2011-05-15 Ulrich Drepper <drepper@gmail.com>
58804 * libio/freopen.c (freopen): Don't close old file descriptor
58805 before the new one is opened. Instead dup the new file descriptor
58806 to the old one after the new stream is created.
58807 * libio/freopen64.c (freopen64): Likewise.
58808 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
58809 * libio/fileops.c (_IO_new_file_close_it): Handle new
58810 _IO_FLAGS2_NOCLOSE flag.
58811 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
58812 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
58813 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
58814 _IO_FLAGS2_NOCLOSE flag.
58815 * include/unistd.h: Add hidden_proto for dup3.
58816 Define __have_dup3.
58817 * io/dup3.c: Define hidden symbol.
58818 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
58821 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
58822 when an incomplete long option is used.
58823 * posix/tst-getopt_long1.c: New file.
58824 * posix/Makefile (tests): Add tst-getopt_long1.
58827 * scripts/config.guess: Update from autoconf-2.68.
58828 * scripts/config.sub: Likewise.
58831 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
58833 (has_cpuclock): ...this. New function.
58834 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
58835 macro here based on has_cpuclock code.
58838 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
58839 First byte (not low byte) is now always NUL.
58840 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
58842 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
58843 Use non-cancelable interfaces.
58846 * locale/iso-639.def: Add entry for Sorani.
58849 * include/stdlib.h: Move include protection to the right place.
58850 Define abort_msg_s. Declare __abort_msg with it.
58851 * stdlib/abort.c (__abort_msg): Adjust type.
58852 * assert/assert.c (__assert_fail_base): New function. Majority
58853 of code from __assert_fail. Allocate memory for __abort_msg with
58855 (__assert_fail): Now call __assert_fail_base.
58856 * assert/assert-perr.c: Remove bulk of implementation. Use
58857 __assert_fail_base.
58858 * include/assert.hL Declare __assert_fail_base.
58859 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
58861 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
58863 2011-05-14 Ulrich Drepper <drepper@gmail.com>
58867 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
58868 until all modules are registered in the DTV.
58869 * elf/Makefile: Add rules to build and run tst-tls19.
58870 * elf/tst-tls19.c: New file.
58871 * elf/tst-tls19mod1.c: New file.
58872 * elf/tst-tls19mod2.c: New file.
58873 * elf/tst-tls19mod3.c: New file.
58874 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
58877 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
58881 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
58882 two-byte sequence errors.
58883 * iconvdata/Makefile (tests): Add bug-iconv8.
58884 * iconvdata/bug-iconv8.c: New file.
58887 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
58890 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
58893 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
58894 (dummy_getcfa): New function.
58895 (init): Get _Unwind_GetCFA address, use dummy if not found.
58896 (backtrace_helper): In recursion check, also check whether CFA changes.
58897 (__backtrace): Completely initialize arg.
58899 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
58900 storing incomplete byte sequence in state object. Avoid testing for
58901 guaranteed too small input if we know there is enough data available.
58903 2011-05-11 Andreas Schwab <schwab@redhat.com>
58905 * Makeconfig (+link-pie): Indent.
58906 * Rules (binaries-pie): Define if $(have-fpie) and
58908 (binaries-shared): Also filter out $(binaries-pie).
58909 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
58910 * nscd/Makefile (others-pie): Add nscd.
58911 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
58912 ($(objpfx)nscd): Remove command override.
58913 * login/Makefile (others-pie): Add pt_chown.
58914 ($(objpfx)pt_chown): Remove command override.
58915 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
58916 remove command overrides.
58918 2011-05-13 Ulrich Drepper <drepper@gmail.com>
58920 * libio/tst_putwc.c: Fix error messages.
58923 * libio/fileops.c (_IO_new_file_close_it): Always flush when
58924 currently writing and seek to current position when not.
58925 * libio/Makefile (tests): Add bug-fclose1.
58926 * libio/bug-fclose1.c: New file.
58928 2011-05-12 Ulrich Drepper <drepper@gmail.com>
58931 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
58932 don't set DF_1_NODELETE here.
58933 (do_lookup_x): When entering new entry test for copy relocation
58934 and if necessary set DF_1_NODELETE flag.
58935 * elf/tst-unique4.cc: New file.
58936 * elf/tst-unique4.h: New file.
58937 * elf/tst-unique4lib.cc: New file.
58938 * elf/Makefile: Add rules to build and run tst-unique4.
58939 Patch by Piotr Bury <pbury@goahead.com>.
58941 2011-05-11 Ulrich Drepper <drepper@gmail.com>
58944 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
58947 * misc/mntent_r.c (addmntent): Flush the stream after the output
58950 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
58951 (is_trusted_path_normalize): Skip initial colon. Append slash
58952 to empty buffer. Duplicate is_trusted_path code but allow
58953 constructed patch to be prefix.
58954 (is_dst): Allow $ORIGIN followed by /.
58955 (_dl_dst_substitute): Correct clearing of check_for_trusted.
58956 Correct testing of result of is_trusted_path_normalize
58957 (decompose_rpath): Fix warning.
58959 2011-05-10 Ulrich Drepper <drepper@gmail.com>
58962 * grp/initgroups.c (internal_getgrouplist): When we found the service
58963 list through the initgroups entry in nsswitch.conf do not always
58964 continue on a successful lookup. Don't always use the
58965 __nss_group_database value if it is set.
58966 * nss/nsswitch.conf (initgroups): Change action for successful db
58967 lookup to continue for compatibility.
58969 2011-05-09 Ulrich Drepper <drepper@gmail.com>
58972 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
58974 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
58976 * iconvdata/tst-tables.sh: Likewise.
58977 * iconvdata/cp770.c: New file.
58978 * iconvdata/cp771.c: New file.
58979 * iconvdata/cp772.c: New file.
58980 * iconvdata/cp773.c: New file.
58981 * iconvdata/cp774.c: New file.
58982 * iconvdata/testdata/CP770: New file.
58983 * iconvdata/testdata/CP770..UTF8: New file.
58984 * iconvdata/testdata/CP771: New file.
58985 * iconvdata/testdata/CP771..UTF8: New file.
58986 * iconvdata/testdata/CP772: New file.
58987 * iconvdata/testdata/CP772..UTF8: New file.
58988 * iconvdata/testdata/CP773: New file.
58989 * iconvdata/testdata/CP773..UTF8: New file.
58990 * iconvdata/testdata/CP774: New file.
58991 * iconvdata/testdata/CP774..UTF8: New file.
58993 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
58995 * iconvdata/gen-8bit-gap.sh: Likewise.
58996 * iconvdata/gen-8bit.sh: Likewise.
58998 * locale/iso-639.def: Add ary entry.
59001 * locale/C-translit.h.in: Add U20A1 transliteration.
59004 * locale/iso-639.def: Add wae entry.
59005 Patch by Kevin Bortis <bortis@translate-wae.ch>.
59008 * locale/programs/localedef.c (construct_output_path): Use ssize_t
59012 * locale/C-translit.h.in: Add entry for U20B9.
59013 Patch by pravin.d.s@gmail.com.
59015 2011-05-08 Ulrich Drepper <drepper@gmail.com>
59018 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
59019 ENAMETOOLONG use generic getcwd.
59020 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
59021 in rtld. Use *stat64.
59022 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
59023 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
59024 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
59025 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
59026 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
59027 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
59028 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
59029 __fstatat64 macros.
59030 * include/dirent.h: Add libc_hidden_proto for rewinddir.
59031 * dirent/rewinddir.c: Add libc_hidden_def.
59032 * sysdeps/mach/hurd/rewinddir.c: Likewise.
59033 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
59035 * include/dirent.h (__alloc_dir): Add flags parameter.
59036 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
59037 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
59039 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
59040 from fdopendir if O_CLOEXEC is already set.
59042 2011-03-15 Alan Modra <amodra@gmail.com>
59044 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
59045 l_tls_firstbyte_offset non-zero. Save padding offset in
59046 l_tls_firstbyte_offset for later use.
59047 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
59048 freeing static tls block.
59050 2011-03-05 Jonathan Nieder <jrnieder@gmail.com>
59052 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
59053 where #ifdef was intended. The intent is to prevent ARG_MAX from
59054 being defined by the kernel headers.
59056 2011-05-07 Ulrich Drepper <drepper@gmail.com>
59059 * resolv/resolv.h: Define RES_NOTLDQUERY.
59060 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
59061 no-tld-query and set RES_NOTLDQUERY.
59062 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
59063 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
59064 modern BIND to search name as TLD unless forbidden.
59066 2011-05-07 Petr Baudis <pasky@suse.cz>
59067 Ulrich Drepper <drepper@gmail.com>
59070 * elf/dl-load.c (fillin_rpath): Move trusted path check...
59071 (is_trusted_path): ...to here.
59072 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
59073 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
59074 using is_trusted_path_normalize() in setuid scripts.
59076 2011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
59078 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
59079 __BEGIN/__END_DECLS.
59081 2011-05-06 Ulrich Drepper <drepper@gmail.com>
59083 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
59084 NSS_STATUS_NOTFOUND if no record was found.
59086 2011-05-05 Andreas Schwab <schwab@redhat.com>
59088 * sunrpc/Makefile (headers): Add rpc/netdb.h.
59089 (headers-not-in-tirpc): Remove rpc/netdb.h
59090 * resolv/netdb.h: Revert last change.
59092 2011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
59094 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
59095 circular dependency between libgcc.a and libc.a.
59097 2011-05-05 Andreas Schwab <schwab@redhat.com>
59099 * resolv/netdb.h: Don't include <rpc/netdb.h>.
59100 * nis/Makefile: Don't install rpcsvc/*.
59101 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
59102 instead of <rpc/types.h>.
59103 (MAXHOSTNAMELEN): Define.
59105 2011-05-03 Andreas Schwab <schwab@redhat.com>
59107 * elf/ldconfig.c (add_dir): Don't crash on empty path.
59109 2011-04-28 Maciej Babinski <mbabinski@google.com>
59112 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
59113 gethostbyname4_r when IPv6 results are possible.
59115 2011-05-02 Ulrich Drepper <drepper@gmail.com>
59118 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
59119 _PC_PIPE_BUF handling.
59121 2011-04-30 Bruno Haible <bruno@clisp.org>
59124 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
59125 * resolv/netdb.h (getnameinfo): Change type of flags parameter
59127 * inet/getnameinfo.c (getnameinfo): Likewise.
59129 2011-04-29 Ulrich Drepper <drepper@gmail.com>
59131 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
59132 to groups setting in database lookup.
59133 * nss/nsswitch.conf: Add initgroups entry.
59135 2011-04-22 Ulrich Drepper <drepper@gmail.com>
59138 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
59140 Patch by Eric Blake <eblake@redhat.com>.
59142 2011-04-20 H.J. Lu <hongjiu.lu@intel.com>
59144 * sunrpc/Makefile (need-export-routines): Add svc_run.
59145 (routines): Remove svc_run.
59146 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
59147 * sunrpc/clnt_perr.c (clnt_perrno): Export.
59148 * sunrpc/svc_run.c (svc_run): Likewise.
59149 * sunrpc/svc_udp.c (svcudp_create): Likewise.
59151 2011-04-21 Ulrich Drepper <drepper@gmail.com>
59153 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
59154 problem in reallocation in last patch.
59156 2011-04-20 Ulrich Drepper <drepper@gmail.com>
59158 * sunrpc/Makefile: Move inclusion of Rules.
59160 2011-04-19 Ulrich Drepper <drepper@gmail.com>
59162 * nss/nss_files/files-initgroups.c: New file.
59163 * nss/Makefile (libnss_files-routines): Add files-initgroups.
59164 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
59165 _nss_files_initgroups_dyn.
59167 2011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
59169 * elf/elf.h (R_ARM_IRELATIVE): Define.
59171 2011-04-19 Ulrich Drepper <drepper@gmail.com>
59173 * po/ru.po: Update from translation team.
59175 2011-04-17 Ulrich Drepper <drepper@gmail.com>
59177 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
59180 2011-02-06 Mike Frysinger <vapier@gentoo.org>
59183 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
59184 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
59185 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
59186 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
59187 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
59189 2011-03-28 Andreas Schwab <schwab@linux-m68k.org>
59191 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
59193 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
59194 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
59195 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
59197 2011-04-17 Ulrich Drepper <drepper@gmail.com>
59200 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
59202 * stdlib/bug-getcontext.c: New file.
59203 * stdlib/Makefile: Add rules to build and run bug-getcontext.
59205 2011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
59207 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
59208 instructions into .machine "z9-109".
59209 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
59210 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
59212 2011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
59214 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
59215 between environment variables and auxiliary vector.
59217 2011-04-16 Ulrich Drepper <drepper@gmail.com>
59219 * Makefile: Add rules to build linkobj/libc.so.
59220 * include/libc-symbols.h: Define libc_hidden_nolink.
59221 * include/rpc/auth.h: Mark functions which are to be hidden.
59222 * include/rpc/auth_des.h: Likewise.
59223 * include/rpc/auth_unix.h: Likewise.
59224 * include/rpc/clnt.h: Likewise.
59225 * include/rpc/des_crypt.h: Likewise.
59226 * include/rpc/key_prot.h: Likewise.
59227 * include/rpc/pmap_clnt.h: Likewise.
59228 * include/rpc/pmap_prot.h: Likewise.
59229 * include/rpc/pmap_rmt.h: Likewise.
59230 * include/rpc/rpc_msg.h: Likewise.
59231 * include/rpc/svc.h: Likewise.
59232 * include/rpc/svc_auth.h: Likewise.
59233 * include/rpc/xdr.h: Likewise.
59234 * nis/Makefile: Link all DSOs against linkobj/libc.so.
59235 * nss/Makefile: Likewise.
59236 * sunrpc/Makefile: Don't install headers. Build library with normal
59237 entry points. Don't build rpcinfo. Link RPC tests appropriately.
59238 * sunrpc/auth_des.c: Hide exported symbols by default, export some
59239 for the compat linking library. Remove use of INTDEF/INTUSE.
59240 * sunrpc/auth_none.c: Likewise.
59241 * sunrpc/auth_unix.c: Likewise.
59242 * sunrpc/authdes_prot.c: Likewise.
59243 * sunrpc/authuxprot.c: Likewise.
59244 * sunrpc/clnt_gen.c: Likewise.
59245 * sunrpc/clnt_perr.c: Likewise.
59246 * sunrpc/clnt_raw.c: Likewise.
59247 * sunrpc/clnt_simp.c: Likewise.
59248 * sunrpc/clnt_tcp.c: Likewise.
59249 * sunrpc/clnt_udp.c: Likewise.
59250 * sunrpc/clnt_unix.c: Likewise.
59251 * sunrpc/des_crypt.c: Likewise.
59252 * sunrpc/des_soft.c: Likewise.
59253 * sunrpc/get_myaddr.c: Likewise.
59254 * sunrpc/key_call.c: Likewise.
59255 * sunrpc/key_prot.c: Likewise.
59256 * sunrpc/netname.c: Likewise.
59257 * sunrpc/pm_getmaps.c: Likewise.
59258 * sunrpc/pm_getport.c: Likewise.
59259 * sunrpc/pmap_clnt.c: Likewise.
59260 * sunrpc/pmap_prot.c: Likewise.
59261 * sunrpc/pmap_prot2.c: Likewise.
59262 * sunrpc/pmap_rmt.c: Likewise.
59263 * sunrpc/publickey.c: Likewise.
59264 * sunrpc/rpc_cmsg.c: Likewise.
59265 * sunrpc/rpc_common.c: Likewise.
59266 * sunrpc/rpc_dtable.c: Likewise.
59267 * sunrpc/rpc_prot.c: Likewise.
59268 * sunrpc/rpc_thread.c: Likewise.
59269 * sunrpc/rtime.c: Likewise.
59270 * sunrpc/svc.c: Likewise.
59271 * sunrpc/svc_auth.c: Likewise.
59272 * sunrpc/svc_authux.c: Likewise.
59273 * sunrpc/svc_raw.c: Likewise.
59274 * sunrpc/svc_run.c: Likewise.
59275 * sunrpc/svc_simple.c: Likewise.
59276 * sunrpc/svc_tcp.c: Likewise.
59277 * sunrpc/svc_udp.c: Likewise.
59278 * sunrpc/svc_unix.c: Likewise.
59279 * sunrpc/svcauth_des.c: Likewise.
59280 * sunrpc/xcrypt.c: Likewise.
59281 * sunrpc/xdr.c: Likewise.
59282 * sunrpc/xdr_array.c: Likewise.
59283 * sunrpc/xdr_float.c: Likewise.
59284 * sunrpc/xdr_intXX_t.c: Likewise.
59285 * sunrpc/xdr_mem.c: Likewise.
59286 * sunrpc/xdr_rec.c: Likewise.
59287 * sunrpc/xdr_ref.c: Likewise.
59288 * sunrpc/xdr_sizeof.c: Likewise.
59289 * sunrpc/xdr_stdio.c: Likewise.
59291 2011-04-10 Ulrich Drepper <drepper@gmail.com>
59294 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
59295 * sysdeps/ia64/dl-tls.h: Likewise.
59296 * sysdeps/powerpc/dl-tls.h: Likewise.
59297 * sysdeps/s390/dl-tls.h: Likewise.
59298 * sysdeps/sh/dl-tls.h: Likewise.
59299 * sysdeps/sparc/dl-tls.h: Likewise.
59300 * sysdeps/x86_64/dl-tls.h: Likewise.
59301 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
59303 2011-03-14 Andreas Schwab <schwab@redhat.com>
59305 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
59306 rpath element also skip the following colon.
59307 (expand_dynamic_string_token): Add is_path parameter and pass
59308 down to DL_DST_REQUIRED and _dl_dst_substitute.
59309 (decompose_rpath): Call expand_dynamic_string_token with
59310 non-zero is_path. Ignore empty rpaths.
59311 (_dl_map_object_from_fd): Call expand_dynamic_string_token
59314 2011-04-08 Andreas Schwab <schwab@linux-m68k.org>
59316 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
59319 2011-04-09 Ulrich Drepper <drepper@gmail.com>
59322 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
59323 Patch by Filipe David Manana <fdmanana@apache.org>.
59325 2011-04-07 Andreas Schwab <schwab@redhat.com>
59327 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
59328 Maintain aligned stack.
59329 (CHECK_RSP): Remove unused macro.
59331 2011-04-03 Ulrich Drepper <drepper@gmail.com>
59333 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
59334 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
59336 2011-04-02 Ulrich Drepper <drepper@gmail.com>
59338 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
59340 * include/features.h: Mention __USE_XOPEN2K8 in comment.
59342 2011-03-26 H.J. Lu <hongjiu.lu@intel.com>
59345 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
59346 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
59347 * sysdeps/x86_64/memmove.c: New file.
59348 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
59349 (memcpy): Renamed to ...
59350 (__new_memcpy): This.
59351 (memcpy): Provide GLIBC_2_14 memcpy.
59352 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
59353 (memcpy): Provide GLIBC_2_2_5 memcpy.
59355 2011-04-01 Ulrich Drepper <drepper@gmail.com>
59358 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
59360 2011-03-30 Andreas Schwab <schwab@redhat.com>
59362 * misc/syncfs.c: New file.
59363 * misc/Makefile (routines): Add syncfs.
59364 * posix/unistd.h: Declare syncfs.
59365 * sysdeps/unix/syscalls.list: Add syncfs.
59367 2011-04-01 Andreas Schwab <schwab@redhat.com>
59369 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
59371 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
59372 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
59373 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
59374 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
59375 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
59376 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
59377 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
59379 2011-04-01 Ulrich Drepper <drepper@gmail.com>
59381 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
59382 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
59383 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
59384 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
59385 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
59386 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
59387 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
59389 * io/Makefile: Compile fallocate.c, fallocate64.c, and
59390 sync_file_range.c with -fexceptions.
59391 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
59392 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
59393 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
59394 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
59395 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
59396 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
59397 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
59398 sync_file_range as cancellation point
59399 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
59400 now a wrapper around __call_sync_file_range with cancellation handling.
59401 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
59402 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
59403 function name to __call_sync_file_range.
59404 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
59405 Add call_sync_file_range.
59407 2011-04-01 Andreas Schwab <schwab@redhat.com>
59409 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
59412 2011-04-01 Ulrich Drepper <drepper@gmail.com>
59414 * iconv/iconv.h: Fix typo in comment.
59415 * io/fcntl.h: Likewise.
59416 * libio/stdio.h: Likewise.
59417 * posix/spawn.h: Likewise.
59418 * posix/unistd.h: Likewise.
59419 * stdlib/stdlib.h: Likewise.
59420 * time/time.h: Likewise.
59421 * wcsmbs/wchar.h: Likewise.
59423 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
59424 open_by_handle): Add.
59425 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
59426 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
59427 Augment a few comments.
59428 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
59429 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
59430 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
59431 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
59432 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
59433 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
59436 * io/fcntl.h (AT_EMPTY_PATH): Define.
59438 2011-03-30 Ulrich Drepper <drepper@gmail.com>
59440 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
59441 * sysdeps/unix/sysv/linux/bits/time.h: New file.
59442 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
59444 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
59445 * Versions.def: Add GLIBC_2.14.
59446 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
59449 2011-03-22 Ulrich Drepper <drepper@gmail.com>
59451 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
59453 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
59455 2011-03-20 H.J. Lu <hongjiu.lu@intel.com>
59458 * string/test-strncmp.c (do_page_test): New function.
59459 (check2): Likewise.
59460 (test_main): Call check2.
59461 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
59463 2011-03-20 Ulrich Drepper <drepper@gmail.com>
59466 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
59467 Handle cache information in CPU leaf 4.
59468 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
59470 2011-03-18 Ulrich Drepper <drepper@gmail.com>
59473 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
59474 character representation.
59475 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
59477 2011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
59479 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
59480 END(__isnan) to END(__isnanf) to match function entry point/label
59481 EALIGN(__isnanf,...).
59483 2011-03-10 Jakub Jelinek <jakub@redhat.com>
59485 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
59487 2011-03-10 Ulrich Drepper <drepper@gmail.com>
59490 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
59491 copy from the symbol referenced in the relocation to initialize the
59493 Patch by Piotr Bury <pbury@goahead.com>.
59494 * elf/Makefile: Add rules to build and tst-unique3.
59495 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
59496 * elf/tst-unique3.cc: New file.
59497 * elf/tst-unique3.h: New file.
59498 * elf/tst-unique3lib.cc: New file.
59499 * elf/tst-unique3lib2.cc: New file.
59501 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
59503 2011-03-10 Mike Frysinger <vapier@gentoo.org>
59505 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
59506 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
59509 2011-03-06 Ulrich Drepper <drepper@gmail.com>
59511 * elf/dl-load.c (_dl_map_object): If we are looking for the first
59512 to-be-loaded object along a path to loader is ld.so.
59514 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
59515 Ulrich Drepper <drepper@gmail.com>
59517 * sysdeps/x86_64/memset.S: After aligning destination, code
59518 branches to different locations depending on the value of
59519 misalignment, when multiarch is enabled. Fix this.
59521 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
59523 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
59524 Set _x86_64_preferred_memory_instruction for AMD processsors.
59525 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
59526 Set bit_Prefer_SSE_for_memop for AMD processors.
59528 2011-03-04 Ulrich Drepper <drepper@gmail.com>
59530 * libio/fmemopen.c (fmemopen): Optimize a bit.
59532 2011-03-03 Andreas Schwab <schwab@redhat.com>
59534 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
59536 2011-03-03 Roland McGrath <roland@redhat.com>
59538 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
59540 2011-02-28 Aurelien Jarno <aurelien@aurel32.net>
59542 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
59543 __bzero_ultra1 instead of __memset_ultra1.
59545 2011-02-23 Andreas Schwab <schwab@redhat.com>
59546 Ulrich Drepper <drepper@gmail.com>
59549 * include/link.h (struct link_map): Add l_orig_initfini.
59550 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
59551 returning unsuccessfully.
59552 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
59553 close of a file loaded at startup, restore the original l_initfini
59555 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
59556 list, store the pointer.
59557 * elf/Makefile ($(objpfx)noload-mem): New rule.
59558 (noload-ENV): Define.
59559 (tests): Add $(objpfx)noload-mem.
59560 * elf/noload.c: Include <memcheck.h>.
59561 (main): Call mtrace. Close all opened handles.
59563 2011-02-17 Andreas Schwab <schwab@redhat.com>
59566 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
59567 dependencies are missing.
59569 2011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
59571 Fix __if_freereq crash: Unlike the generic version which uses free,
59573 * sysdeps/mach/hurd/ifreq.h: New file.
59575 2011-01-27 Petr Baudis <pasky@suse.cz>
59576 Ulrich Drepper <drepper@gmail.com>
59579 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
59580 to extend_alloca().
59581 * stdio-common/bug23.c: New file.
59582 * stdio-common/Makefile (tests): Add bug23.
59584 2010-09-28 Andreas Schwab <schwab@redhat.com>
59585 Ulrich Drepper <drepper@gmail.com>
59588 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
59589 before performing relro protection. At old place add assertion
59590 to make sure nothing changed.
59592 2011-02-17 Nathan Sidwell <nathan@codesourcery.com>
59593 Glauber de Oliveira Costa <glommer@gmail.com>
59595 * elf/elf.h: Add new ARM TLS relocs.
59597 2011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
59599 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
59600 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
59602 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
59604 * sysdeps/wordsize-64/tst-writev.c: New file.
59606 2011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
59608 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
59609 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
59610 insns in _dl_start to prevent a TOC reference before relocs are
59613 2011-02-15 Ulrich Drepper <drepper@gmail.com>
59616 * Makeconfig: Remove RANLIB definition.
59617 * Makerules: Don't use RANLIB.
59618 * aclocal.m4: Remove ranlib test.
59619 * configure.in: No need to check for ranlib.
59620 * elf/rtld-Rules: Don't use RANLIB.
59622 2011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
59624 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
59626 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
59627 inclusion protection macro.
59629 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
59630 SIGRTMIN and SIGRTMAX and print information in that case only when
59631 SIGRTMIN is defined.
59633 2011-02-11 Jakub Jelinek <jakub@redhat.com>
59635 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
59636 arginfo fn returning -1.
59638 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
59639 and thousands string is zero terminated.
59641 2011-02-03 Andreas Schwab <schwab@redhat.com>
59643 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
59644 sysdeps/unix/sysv/linux/bits/socket.h.
59646 2011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
59648 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
59649 (__CPU_COUNT): Remove old macros.
59650 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
59651 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
59652 (__CPU_ALLOC, __CPU_FREE): Add macros.
59653 (__sched_cpualloc, __sched_cpufree): Add declarations.
59655 2011-02-05 Ulrich Drepper <drepper@gmail.com>
59657 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
59658 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
59659 * nscd/aicache.c (addhstaiX): Return timeout of added value.
59660 (readdhstai): Return value of addhstaiX call.
59661 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
59662 (addgrbyX): Return value returned by cache_addgr.
59663 (readdgrbyname): Return value returned by addgrbyX.
59664 (readdgrbygid): Likewise.
59665 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
59666 (addpwbyX): Return value returned by cache_addpw.
59667 (readdpwbyname): Return value returned by addhstbyX.
59668 (readdpwbyuid): Likewise.
59669 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
59670 (addservbyX): Return value returned by cache_addserv.
59671 (readdservbyname): Return value returned by addservbyX:
59672 (readdservbyport): Likewise.
59673 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
59674 (addhstbyX): Return value returned by cache_addhst.
59675 (readdhstbyname): Return value returned by addhstbyX.
59676 (readdhstbyaddr): Likewise.
59677 (readdhstbynamev6): Likewise.
59678 (readdhstbyaddrv6): Likewise.
59679 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
59680 (readdinitgroups): Return value returned by addinitgroupsX.
59681 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
59682 (prune_cache): Keep track of timeout value of re-added entries.
59683 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
59684 * nscd/nscd.h: Adjust prototypes of readd* functions.
59686 2011-02-04 Roland McGrath <roland@redhat.com>
59688 * nis/nis_server.c (nis_servstate): Use the right name for 0.
59689 (nis_stats): Likewise.
59690 * nis/nis_modify.c (nis_modify): Likewise.
59691 * nis/nis_remove.c (nis_remove): Likewise.
59692 * nis/nis_add.c (nis_add): Likewise.
59694 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
59696 * posix/fnmatch_loop.c: Add some consts.
59698 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
59700 2011-02-02 H.J. Lu <hongjiu.lu@intel.com>
59703 * config.make.in (config-cflags-novzeroupper): Define.
59704 * configure.in: Substitute libc_cv_cc_novzeroupper.
59705 * elf/Makefile (AVX-CFLAGS): Define.
59706 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
59707 (CFLAGS-tst-auditmod4a.c): Likewise.
59708 (CFLAGS-tst-auditmod4b.c): Likewise.
59709 (CFLAGS-tst-auditmod6b.c): Likewise.
59710 (CFLAGS-tst-auditmod6c.c): Likewise.
59711 (CFLAGS-tst-auditmod7b.c): Likewise.
59712 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
59714 2011-02-02 Ulrich Drepper <drepper@gmail.com>
59716 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
59717 function to the callback.
59718 Patch partly by Jiri Olsa <jolsa@redhat.com>.
59720 2011-02-02 Andreas Schwab <schwab@redhat.com>
59722 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
59725 2011-01-19 Ulrich Drepper <drepper@gmail.com>
59728 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
59730 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
59732 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
59735 * elf/Makefile: Add rules to build and run new test.
59736 * elf/tst-initorder.c: New file.
59737 * elf/tst-initorder.exp: New file.
59738 * elf/tst-initordera1.c: New file.
59739 * elf/tst-initordera2.c: New file.
59740 * elf/tst-initordera3.c: New file.
59741 * elf/tst-initordera4.c: New file.
59742 * elf/tst-initorderb1.c: New file.
59743 * elf/tst-initorderb2.c: New file.
59744 * elf/tst-order-a1.c: New file.
59745 * elf/tst-order-a2.c: New file.
59746 * elf/tst-order-a3.c: New file.
59747 * elf/tst-order-a4.c: New file.
59748 * elf/tst-order-b1.c: New file.
59749 * elf/tst-order-b2.c: New file.
59750 * elf/tst-order-main.c: New file.
59751 New test case by George Gensure <werkt0@gmail.com>.
59753 2010-10-01 Andreas Schwab <schwab@redhat.com>
59755 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
59756 decoding ACE if AI_CANONIDN.
59758 2011-01-18 Ulrich Drepper <drepper@gmail.com>
59760 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
59762 2011-01-17 Ulrich Drepper <drepper@gmail.com>
59764 * version.h (RELEASE): Bump for 2.13 release.
59765 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
59767 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
59769 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
59771 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
59772 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
59773 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
59774 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
59775 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
59776 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
59778 * posix/getconf.c: Update copyright year.
59779 * catgets/gencat.c: Likewise.
59780 * csu/version.c: Likewise.
59781 * debug/catchsegv.sh: Likewise.
59782 * debug/xtrace.sh: Likewise.
59783 * elf/ldconfig.c: Likewise.
59784 * elf/ldd.bash.in: Likewise.
59785 * elf/sprof.c (print_version): Likewise.
59786 * iconv/iconv_prog.c: Likewise.
59787 * iconv/iconvconfig.c: Likewise.
59788 * locale/programs/locale.c: Likewise.
59789 * locale/programs/localedef.c: Likewise.
59790 * malloc/memusage.sh: Likewise.
59791 * malloc/mtrace.pl: Likewise.
59792 * nscd/nscd.c (print_version): Likewise.
59793 * nss/getent.c: Likewise.
59795 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
59796 PF_CAIF, and PF_ALG.
59797 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
59799 2011-01-16 Andreas Schwab <schwab@linux-m68k.org>
59801 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
59802 (modules-names): Use them.
59803 (ifunc-test-modules, ifunc-pie-tests): Define.
59804 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
59805 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
59806 (test-extras): Likewise.
59807 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
59808 $(compile-command.c).
59809 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
59810 (all-built-dso): Define.
59811 (check-textrel.out, check-execstack.out): Depend on it.
59813 * configure.in: Don't override --enable-multi-arch.
59815 2011-01-15 Ulrich Drepper <drepper@gmail.com>
59818 * nscd/hstcache.c (tryagain): Define.
59819 (cache_addhst): Return tryagain not notfound for temporary errors.
59820 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
59823 2011-01-14 Ulrich Drepper <drepper@gmail.com>
59826 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
59827 to make the syscall.
59828 * sysdeps/unix/sysv/linux/setgroups.c: New file.
59831 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
59832 and fall back to matching as normal character if the string ends before
59833 the matching ']' is found. This is what POSIX requires.
59834 * posix/testfnm.c: Adjust test result.
59835 * posix/globtest.sh: Adjust test result. Add new test.
59836 * posix/tst-fnmatch.input: Likewise.
59837 * posix/tst-fnmatch2.c: Add new test.
59839 2010-12-28 Andreas Schwab <schwab@linux-m68k.org>
59841 * elf/Makefile (check-execstack): Revert last change. Depend on
59843 (check-execstack.h): New target.
59844 (generated): Add check-execstack.h.
59845 * elf/check-execstack.c: Include "check-execstack.h".
59846 (main): Revert last change.
59847 (handle_file): Return zero if GNU_STACK is absent and
59848 DEFAULT_STACK_PERMS doesn't include PF_X.
59850 2011-01-13 Ulrich Drepper <drepper@gmail.com>
59852 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
59853 in child fails because the descriptor is already closed.
59854 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
59855 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
59856 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
59859 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
59863 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
59864 temporary buffer used to handle multi lookups locally.
59865 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
59867 2011-01-12 Ulrich Drepper <drepper@gmail.com>
59869 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
59872 2011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
59874 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
59875 alignment for SSE2.
59877 2011-01-12 Ulrich Drepper <drepper@gmail.com>
59880 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
59881 characters. When rounding increased number of integer digits recompute
59883 * stdio-common/tst-grouping.c: New file.
59884 * stdio-common/Makefile: Add rules to build and run tst-grouping.
59886 2011-01-09 Ulrich Drepper <drepper@gmail.com>
59888 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
59889 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
59891 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
59893 * bits/select.h: Likewise.
59895 2011-01-08 Ulrich Drepper <drepper@gmail.com>
59897 * po/ja.po: Update from translation team.
59899 2011-01-04 David S. Miller <davem@sunset.davemloft.net>
59902 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
59903 implementation just like for lxstat, fxstatat, et al.
59905 2010-12-27 Jim Meyering <meyering@redhat.com>
59908 * posix/regexec.c (build_trtable): Return failure indication upon
59909 calloc failure. Otherwise, re_search_internal could infloop on OOM.
59911 2010-12-25 Ulrich Drepper <drepper@gmail.com>
59914 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
59915 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
59916 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
59917 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
59920 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
59923 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
59924 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
59926 2010-12-15 H.J. Lu <hongjiu.lu@intel.com>
59928 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
59929 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
59930 script has SORT_BY_INIT_PRIORITY.
59931 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
59932 NO_CTORS_DTORS_SECTIONS is defined.
59933 * elf/soinit.c: Likewise.
59934 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
59935 NO_CTORS_DTORS_SECTIONS is defined.
59936 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
59937 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
59938 * sysdeps/sh/init-first.c: Likewise.
59939 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
59941 2010-12-24 Ulrich Drepper <drepper@gmail.com>
59943 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
59944 always use the slow path.
59946 2010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
59948 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
59949 similar rule which adds the sysdep directories to the header search in
59950 order to pick up the correct platform stackinfo.h.
59951 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
59952 perform test if it is, otherwise return successfully without testing.
59953 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
59954 DEFAULT_STACK_PERMS define in stackinfo.h.
59955 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
59956 defined in stackinfo.h.
59957 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
59958 DEFAULT_STACK_PERMS defined in stackinfo.h.
59959 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
59960 * sysdeps/ia64/stackinfo.h: Likewise.
59961 * sysdeps/s390/stackinfo.h: Likewise.
59962 * sysdeps/sh/stackinfo.h: Likewise.
59963 * sysdeps/sparc/stackinfo.h: Likewise.
59964 * sysdeps/x86_64/stackinfo.h: Likewise.
59965 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
59966 PF_X for powerpc64. Retain PF_X for powerpc32.
59968 2010-12-19 Ulrich Drepper <drepper@gmail.com>
59970 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
59972 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
59973 GETDENTS_64BIT_ALIGNED.
59975 2010-12-14 Ulrich Drepper <dreper@gmail.com>
59977 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
59979 2010-12-10 Andreas Schwab <schwab@redhat.com>
59981 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
59984 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
59985 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
59987 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
59988 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
59990 2010-12-09 Ulrich Drepper <drepper@gmail.com>
59993 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
59996 2010-12-09 Jakub Jelinek <jakub@redhat.com>
59998 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
60000 2010-12-03 Ulrich Drepper <drepper@gmail.com>
60002 * po/it.po: Update from translation team.
60004 2010-12-01 H.J. Lu <hongjiu.lu@intel.com>
60006 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
60009 2010-11-30 Ulrich Drepper <drepper@gmail.com>
60011 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
60013 2010-11-24 Andreas Schwab <schwab@redhat.com>
60015 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
60017 (gaih_getanswer_slice): Likewise.
60019 2010-10-20 Jakub Jelinek <jakub@redhat.com>
60021 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
60023 2010-05-31 Petr Baudis <pasky@suse.cz>
60026 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
60027 silently even in the chroot mode.
60029 2010-11-22 Ulrich Drepper <drepper@gmail.com>
60031 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
60032 last patch a bit. Pretty printing
60034 2010-05-31 Petr Baudis <pasky@suse.cz>
60037 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
60038 initialization of skip_initgroups_dyn.
60040 2010-11-19 Ulrich Drepper <drepper@gmail.com>
60042 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
60043 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
60045 2010-11-16 Ulrich Drepper <drepper@gmail.com>
60047 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
60049 2010-11-11 Andreas Schwab <schwab@redhat.com>
60051 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
60052 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
60053 (tst-fnmatch-ENV): Set MALLOC_TRACE.
60054 ($(objpfx)tst-fnmatch-mem): New rule.
60055 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
60056 * posix/tst-fnmatch.c (main): Call mtrace.
60058 2010-11-11 H.J. Lu <hongjiu.lu@intel.com>
60060 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
60061 Support Intel processor model 6 and model 0x2c.
60063 2010-11-10 Luis Machado <luisgpm@br.ibm.com>
60065 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
60068 2010-11-09 H.J. Lu <hongjiu.lu@intel.com>
60071 * string/test-strncasecmp.c (check_result): New function.
60072 (do_one_test): Use it.
60073 (check1): New function.
60074 (test_main): Use it.
60075 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
60076 Support strcasecmp and strncasecmp.
60078 2010-11-08 Ulrich Drepper <drepper@gmail.com>
60081 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
60082 * sysdeps/x86_64/bits/byteswap.h: Likewise.
60084 2010-11-07 H.J. Lu <hongjiu.lu@intel.com>
60086 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
60088 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
60090 * sysdeps/x86_64/multiarch/bzero.S: New file.
60091 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
60092 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
60093 * sysdeps/x86_64/multiarch/memset.S: New file.
60094 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
60095 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
60096 Set bit_Prefer_SSE_for_memop for Intel processors.
60097 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
60099 (index_Prefer_SSE_for_memop): Define.
60100 (HAS_PREFER_SSE_FOR_MEMOP): Define.
60102 2010-11-04 Luis Machado <luisgpm@br.ibm.com>
60104 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
60105 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
60107 2010-11-03 H.J. Lu <hongjiu.lu@intel.com>
60110 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
60111 (__x86_64_raw_data_cache_size_half): Likewise.
60112 (__x86_64_raw_shared_cache_size): Likewise.
60113 (__x86_64_raw_shared_cache_size_half): Likewise.
60115 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
60116 (__x86_64_raw_data_cache_size_half): Likewise.
60117 (__x86_64_raw_shared_cache_size): Likewise.
60118 (__x86_64_raw_shared_cache_size_half): Likewise.
60119 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
60120 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
60121 and __x86_64_raw_shared_cache_size_half. Round
60122 __x86_64_data_cache_size_half, __x86_64_data_cache_size
60123 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
60124 to multiple of 256 bytes.
60126 2010-11-03 Ulrich Drepper <drepper@gmail.com>
60129 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
60130 of inacessible symlinks. Verify result of symlink before returning it.
60131 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
60132 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
60134 2010-10-28 Erich Ritz <erichritz@gmail.com>
60136 * math/math.h (isinf): Fix typo in comment.
60138 2010-11-01 Ulrich Drepper <drepper@gmail.com>
60140 * po/da.po: Update from translation team.
60142 2010-10-26 Ulrich Drepper <drepper@gmail.com>
60144 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
60145 is added to the list.
60147 2010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
60148 Ulrich Drepper <drepper@gmail.com>
60150 * elf/dl-object.c (_dl_new_object): Don't append the new object to
60151 the global list here. Move code to...
60152 (_dl_add_to_namespace_list): ...here. New function.
60153 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
60154 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
60155 * elf/dl-load.c (lose): Don't remove the element from the list.
60156 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
60157 (_dl_map_object): Likewise.
60159 2010-10-25 Ulrich Drepper <drepper@gmail.com>
60162 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
60163 into all bytes of SSE register.
60164 Patch by Richard Li <richardpku@gmail.com>.
60166 2010-10-24 Ulrich Drepper <drepper@gmail.com>
60169 * malloc/malloc.c (_int_free): Fill correct number of bytes when
60172 2010-10-20 Michael B. Brutman <brutman@us.ibm.com>
60174 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
60175 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
60176 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
60177 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
60178 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
60180 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
60182 2010-10-22 Andreas Schwab <schwab@redhat.com>
60184 * include/dlfcn.h (__RTLD_SECURE): Define.
60185 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
60186 mode & __RTLD_SECURE instead.
60187 (open_path): Rename preloaded parameter to secure.
60188 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
60189 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
60190 * elf/dl-deps.c (openaux): Likewise.
60191 * elf/rtld.c (struct map_args): Remove is_preloaded.
60192 (map_doit): Don't use it.
60193 (dl_main): Likewise.
60194 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
60195 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
60197 2010-09-09 Andreas Schwab <schwab@redhat.com>
60199 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
60200 (sysd-rules-targets): Remove duplicates.
60201 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
60202 rtld-%.$o dependency.
60204 2010-10-18 Andreas Schwab <schwab@redhat.com>
60206 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
60207 _dl_map_object do it.
60209 2010-10-19 Ulrich Drepper <drepper@gmail.com>
60211 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
60212 fast fma builtins, define the macros in the C99 standard.
60213 (FP_FAST_FMAF): Likewise.
60214 (FP_FAST_FMAL): Likewise.
60215 * sysdeps/x86_64/bits/mathdef.h: Likewise.
60217 * bits/mathdef.h: Update copyright year.
60218 * sysdeps/powerpc/bits/mathdef.h: Likewise.
60220 2010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
60222 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
60223 builtins, define the macros in the C99 standard.
60224 (FP_FAST_FMAF): Likewise.
60225 (FP_FAST_FMAL): Likewise.
60226 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
60228 (FP_FAST_FMAF): Likewise.
60230 2010-10-15 Jakub Jelinek <jakub@redhat.com>
60233 * math/libm-test.inc (fma_test): Some new testcases.
60234 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
60235 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
60236 y and infinite z. Do multiplication by C already in long double.
60237 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
60238 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
60239 y and infinite z. Do bitwise or of inexact bit into u.d.
60240 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
60241 * sysdeps/i386/fpu/s_fmaf.S: Removed.
60242 * sysdeps/i386/fpu/s_fma.S: Removed.
60243 * sysdeps/i386/fpu/s_fmal.S: Removed.
60245 2010-10-16 Jakub Jelinek <jakub@redhat.com>
60248 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
60249 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
60250 computation is not scheduled after fetestexcept. Fix value
60251 of minimum denormal long double.
60253 2010-10-14 Jakub Jelinek <jakub@redhat.com>
60256 * math/libm-test.inc (fma_test): Add some more tests.
60257 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
60260 2010-10-15 Andreas Schwab <schwab@redhat.com>
60262 * scripts/data/localplt-s390-linux-gnu.data: New file.
60263 * scripts/data/localplt-s390x-linux-gnu.data: New file.
60265 2010-10-13 Jakub Jelinek <jakub@redhat.com>
60268 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
60269 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
60271 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
60273 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
60274 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
60275 if one of x and y is very large and the other is subnormal.
60276 * sysdeps/s390/fpu/s_fmaf.c: New file.
60277 * sysdeps/s390/fpu/s_fma.c: New file.
60278 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
60279 * sysdeps/powerpc/fpu/s_fma.S: New file.
60280 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
60281 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
60282 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
60284 2010-10-12 Jakub Jelinek <jakub@redhat.com>
60287 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
60289 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
60290 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
60291 * sysdeps/i386/i686/multiarch/s_fma.c: Include
60292 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
60293 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
60294 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
60295 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
60297 2010-10-12 Ulrich Drepper <drepper@redhat.com>
60300 * posix/regcomp.c (parse_branch): One more memory leak plugged.
60301 * posix/bug-regex31.input: Add test case.
60303 2010-10-11 Ulrich Drepper <drepper@gmail.com>
60305 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
60306 * posix/bug-regex31.input: New file.
60309 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
60310 (parse_sub_exp): Fix last change, use postorder.
60312 * posix/bug-regex31.c: New file.
60313 * posix/Makefile: Add rules to build and run bug-regex31.
60315 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
60318 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
60321 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
60322 to have entries in sys_siglist.
60325 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
60328 2010-10-07 Jakub Jelinek <jakub@redhat.com>
60331 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
60332 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
60333 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
60334 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
60335 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
60336 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
60337 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
60338 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
60339 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
60340 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
60341 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
60342 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
60343 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
60344 * math/ftestexcept.c (fetestexcept): Likewise.
60345 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
60346 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
60347 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
60348 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
60349 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
60350 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
60351 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
60353 2010-10-11 Ulrich Drepper <drepper@gmail.com>
60356 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
60359 2010-10-06 Ulrich Drepper <drepper@gmail.com>
60361 * string/bug-strstr1.c: New file.
60362 * string/Makefile: Add rules to build and run bug-strstr1.
60364 2010-10-05 Eric Blake <eblake@redhat.com>
60367 * string/str-two-way.h (two_way_long_needle): Always clear memory
60368 when skipping input due to the shift table.
60370 2010-10-03 Ulrich Drepper <drepper@gmail.com>
60373 * malloc/mcheck.c: Handle large requests.
60376 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
60377 for strncmp and strncasecmp.
60378 * string/stratcliff.c: Add tests for strcmp and strncmp.
60379 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
60381 2010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
60383 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
60386 2010-09-30 Andreas Jaeger <aj@suse.de>
60388 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
60389 (CGROUP_SUPER_MAGIC): Define.
60390 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
60391 Handle btrfs and cgroup file systems.
60392 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
60395 2010-09-27 Luis Machado <luisgpm@br.ibm.com>
60397 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
60398 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
60400 2010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
60403 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
60404 trying to locate the ELF header.
60406 2010-09-27 Andreas Schwab <schwab@redhat.com>
60409 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
60410 Mask out sign-bit copies when constructing f_fsid.
60412 2010-09-24 Petr Baudis <pasky@suse.cz>
60414 * debug/stack_chk_fail_local.c: Add missing licence exception.
60415 * debug/warning-nop.c: Likewise.
60417 2010-09-15 Joseph Myers <joseph@codesourcery.com>
60419 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
60420 implementing getdents64 using getdents syscall, set d_type if
60421 __ASSUME_GETDENTS32_D_TYPE.
60423 2010-09-16 Andreas Schwab <schwab@redhat.com>
60425 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
60426 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
60428 2010-09-21 Ulrich Drepper <drepper@redhat.com>
60431 * posix/unistd.h: Undo change of feature selection for ftruncate from
60434 2010-09-20 Ulrich Drepper <drepper@redhat.com>
60436 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
60439 2010-09-20 Andreas Schwab <schwab@redhat.com>
60441 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
60443 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
60445 2010-09-14 Andreas Schwab <schwab@redhat.com>
60447 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
60448 variables after CHECK_SP call.
60449 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
60451 2010-09-13 Andreas Schwab <schwab@redhat.com>
60452 Ulrich Drepper <drepper@redhat.com>
60454 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
60455 re-relocationg ld.so.
60456 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
60457 _dl_init_paths call.
60458 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
60461 2010-09-14 Ulrich Drepper <drepper@redhat.com>
60463 * resolv/res_init.c (__res_vinit): Count the default server we added.
60465 2010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
60466 Ulrich Drepper <drepper@redhat.com>
60469 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
60470 (____longjmp_chk): Use %ebx for saving value across system call.
60473 2010-09-06 Andreas Schwab <schwab@redhat.com>
60475 * manual/Makefile: Don't mix pattern rules with normal rules.
60477 2010-09-05 Andreas Schwab <schwab@linux-m68k.org>
60479 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
60481 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
60482 * libio/iofopncook.c (_IO_cookie_init): Likewise.
60483 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
60484 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
60485 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
60488 2010-09-04 Ulrich Drepper <drepper@redhat.com>
60491 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
60492 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
60494 2010-09-02 Ulrich Drepper <drepper@redhat.com>
60496 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
60497 * sysdeps/x86_64/addmul_1.S: Likewise.
60498 * sysdeps/x86_64/lshift.S: Likewise.
60499 * sysdeps/x86_64/mul_1.S: Likewise.
60500 * sysdeps/x86_64/rshift.S: Likewise.
60501 * sysdeps/x86_64/sub_n.S: Likewise.
60502 * sysdeps/x86_64/submul_1.S: Likewise.
60504 2010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
60506 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
60507 Define __sched_param instead of SCHED_* and sched_param when
60508 <bits/sched.h> is included with __need_schedparam defined.
60509 * bits/sched.h [__need_schedparam]
60510 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
60511 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
60512 (__defined_schedparam): Define to 1.
60513 (__sched_param): New structure, identical to sched_param.
60514 (__need_schedparam): Undefine.
60516 2010-08-31 Mike Frysinger <vapier@gentoo.org>
60518 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
60519 (epoll_create1): Declare.
60521 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
60523 2010-08-31 Andreas Schwab <schwab@redhat.com>
60526 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
60527 shifting retval into place.
60529 2010-09-01 Ulrich Drepper <drepper@redhat.com>
60531 * nis/rpcsvc/nis.h: Update copyright notice.
60532 * nis/rpcsvc/nis.x: Likewise.
60533 * nis/rpcsvc/nis_callback.h: Likewise.
60534 * nis/rpcsvc/nis_callback.x: Likewise.
60535 * nis/rpcsvc/nis_object.x: Likewise.
60536 * nis/rpcsvc/nis_tags.h: Likewise.
60537 * nis/rpcsvc/yp.h: Likewise.
60538 * nis/rpcsvc/yp.x: Likewise.
60539 * nis/rpcsvc/ypupd.h: Likewise.
60540 * nis/yp_xdr.c: Likewise.
60541 * nis/ypupdate_xdr.c: Likewise.
60543 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
60544 mainly the body of pmap_getport. Add parameters to specify timeouts.
60545 (pmap_getport): Use __libc_rpc_getport.
60546 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
60547 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
60548 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
60550 2010-08-31 Andreas Schwab <schwab@linux-m68k.org>
60552 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
60555 2010-08-27 Roland McGrath <roland@redhat.com>
60557 * sysdeps/i386/i686/multiarch/Makefile
60558 (CFLAGS-varshift.c): New variable.
60560 2010-08-27 Ulrich Drepper <drepper@redhat.com>
60562 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
60563 * sysdeps/i386/i686/multiarch/varshift.c: New file.
60565 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
60567 * sysdeps/x86_64/strlen.S: Minimal code improvement.
60569 2010-08-26 H.J. Lu <hongjiu.lu@intel.com>
60571 * sysdeps/x86_64/strlen.S: Unroll the loop.
60572 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
60573 strlen-sse2 strlen-sse2-bsf.
60574 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
60575 __strlen_no_bsf if bit_Slow_BSF is set.
60576 (__strlen_sse42): Removed.
60577 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
60578 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
60580 2010-08-25 Roland McGrath <roland@redhat.com>
60582 * sysdeps/x86_64/multiarch/varshift.S: File removed.
60583 * sysdeps/x86_64/multiarch/varshift.c: New file.
60584 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
60585 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
60586 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
60587 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
60589 2010-08-25 H.J. Lu <hongjiu.lu@intel.com>
60591 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
60592 strlen-sse2 strlen-sse2-bsf.
60593 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
60594 __strlen_sse2_bsf if bit_Slow_BSF is unset.
60595 (__strlen_sse2): Removed.
60596 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
60597 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
60598 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
60599 bit_Slow_BSF for Atom.
60600 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
60601 (index_Slow_BSF): Define.
60602 (HAS_SLOW_BSF): Define.
60604 2010-08-25 Ulrich Drepper <drepper@redhat.com>
60607 * resolv/res_init.c (__res_vinit): When no server address at all
60608 is given default to loopback.
60610 2010-08-24 Roland McGrath <roland@redhat.com>
60612 * configure.in: Remove config-name.h generation.
60613 * configure: Regenerated.
60614 * config-name.in: File removed.
60615 * scripts/config-uname.sh: New file.
60616 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
60617 ($(objdir)config-name.h): New target.
60619 * sunrpc/rpc_parse.h: Avoid nested comment.
60621 2010-08-24 Richard Henderson <rth@redhat.com>
60622 Ulrich Drepper <drepper@redhat.com>
60623 H.J. Lu <hongjiu.lu@intel.com>
60625 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
60626 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
60627 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
60628 Replace _mm_srli_si128 with __m128i_shift_right. Replace
60629 _mm_alignr_epi8 with _mm_loadu_si128.
60630 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
60631 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
60632 (__m128i_shift_right): Removed.
60633 * sysdeps/i386/i686/multiarch/varshift.h: New file.
60634 * sysdeps/i386/i686/multiarch/varshift.S: New file.
60635 * sysdeps/x86_64/multiarch/varshift.h: New file.
60636 * sysdeps/x86_64/multiarch/varshift.S: New file.
60638 2010-08-21 Mike Frysinger <vapier@gentoo.org>
60640 * configure.in: Move assembler checks to before sysdep dir checking.
60642 2010-08-20 Petr Baudis <pasky@suse.cz>
60644 * LICENSES: Sync the sunrpc license.
60646 2010-08-19 Ulrich Drepper <drepper@redhat.com>
60648 * sunrpc/auth_des.c: Update copyright notice once again.
60649 * sunrpc/auth_none.c: Likewise.
60650 * sunrpc/auth_unix.c: Likewise.
60651 * sunrpc/authdes_prot.c: Likewise.
60652 * sunrpc/authuxprot.c: Likewise.
60653 * sunrpc/bindrsvprt.c: Likewise.
60654 * sunrpc/clnt_gen.c: Likewise.
60655 * sunrpc/clnt_perr.c: Likewise.
60656 * sunrpc/clnt_raw.c: Likewise.
60657 * sunrpc/clnt_simp.c: Likewise.
60658 * sunrpc/clnt_tcp.c: Likewise.
60659 * sunrpc/clnt_udp.c: Likewise.
60660 * sunrpc/clnt_unix.c: Likewise.
60661 * sunrpc/des_crypt.c: Likewise.
60662 * sunrpc/des_soft.c: Likewise.
60663 * sunrpc/get_myaddr.c: Likewise.
60664 * sunrpc/getrpcport.c: Likewise.
60665 * sunrpc/key_call.c: Likewise.
60666 * sunrpc/key_prot.c: Likewise.
60667 * sunrpc/openchild.c: Likewise.
60668 * sunrpc/pm_getmaps.c: Likewise.
60669 * sunrpc/pm_getport.c: Likewise.
60670 * sunrpc/pmap_clnt.c: Likewise.
60671 * sunrpc/pmap_prot.c: Likewise.
60672 * sunrpc/pmap_prot2.c: Likewise.
60673 * sunrpc/pmap_rmt.c: Likewise.
60674 * sunrpc/rpc/auth.h: Likewise.
60675 * sunrpc/rpc/auth_unix.h: Likewise.
60676 * sunrpc/rpc/clnt.h: Likewise.
60677 * sunrpc/rpc/des_crypt.h: Likewise.
60678 * sunrpc/rpc/key_prot.h: Likewise.
60679 * sunrpc/rpc/netdb.h: Likewise.
60680 * sunrpc/rpc/pmap_clnt.h: Likewise.
60681 * sunrpc/rpc/pmap_prot.h: Likewise.
60682 * sunrpc/rpc/pmap_rmt.h: Likewise.
60683 * sunrpc/rpc/rpc.h: Likewise.
60684 * sunrpc/rpc/rpc_des.h: Likewise.
60685 * sunrpc/rpc/rpc_msg.h: Likewise.
60686 * sunrpc/rpc/svc.h: Likewise.
60687 * sunrpc/rpc/svc_auth.h: Likewise.
60688 * sunrpc/rpc/types.h: Likewise.
60689 * sunrpc/rpc/xdr.h: Likewise.
60690 * sunrpc/rpc_clntout.c: Likewise.
60691 * sunrpc/rpc_cmsg.c: Likewise.
60692 * sunrpc/rpc_common.c: Likewise.
60693 * sunrpc/rpc_cout.c: Likewise.
60694 * sunrpc/rpc_dtable.c: Likewise.
60695 * sunrpc/rpc_hout.c: Likewise.
60696 * sunrpc/rpc_main.c: Likewise.
60697 * sunrpc/rpc_parse.c: Likewise.
60698 * sunrpc/rpc_parse.h: Likewise.
60699 * sunrpc/rpc_prot.c: Likewise.
60700 * sunrpc/rpc_sample.c: Likewise.
60701 * sunrpc/rpc_scan.c: Likewise.
60702 * sunrpc/rpc_scan.h: Likewise.
60703 * sunrpc/rpc_svcout.c: Likewise.
60704 * sunrpc/rpc_tblout.c: Likewise.
60705 * sunrpc/rpc_util.c: Likewise.
60706 * sunrpc/rpc_util.h: Likewise.
60707 * sunrpc/rpcinfo.c: Likewise.
60708 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
60709 * sunrpc/rpcsvc/key_prot.x: Likewise.
60710 * sunrpc/rpcsvc/klm_prot.x: Likewise.
60711 * sunrpc/rpcsvc/mount.x: Likewise.
60712 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
60713 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
60714 * sunrpc/rpcsvc/rex.x: Likewise.
60715 * sunrpc/rpcsvc/rstat.x: Likewise.
60716 * sunrpc/rpcsvc/rusers.x: Likewise.
60717 * sunrpc/rpcsvc/sm_inter.x: Likewise.
60718 * sunrpc/rpcsvc/spray.x: Likewise.
60719 * sunrpc/rpcsvc/yppasswd.x: Likewise.
60720 * sunrpc/rtime.c: Likewise.
60721 * sunrpc/svc.c: Likewise.
60722 * sunrpc/svc_auth.c: Likewise.
60723 * sunrpc/svc_authux.c: Likewise.
60724 * sunrpc/svc_raw.c: Likewise.
60725 * sunrpc/svc_run.c: Likewise.
60726 * sunrpc/svc_simple.c: Likewise.
60727 * sunrpc/svc_tcp.c: Likewise.
60728 * sunrpc/svc_udp.c: Likewise.
60729 * sunrpc/svc_unix.c: Likewise.
60730 * sunrpc/svcauth_des.c: Likewise.
60731 * sunrpc/xcrypt.c: Likewise.
60732 * sunrpc/xdr.c: Likewise.
60733 * sunrpc/xdr_array.c: Likewise.
60734 * sunrpc/xdr_float.c: Likewise.
60735 * sunrpc/xdr_mem.c: Likewise.
60736 * sunrpc/xdr_rec.c: Likewise.
60737 * sunrpc/xdr_ref.c: Likewise.
60738 * sunrpc/xdr_sizeof.c: Likewise.
60739 * sunrpc/xdr_stdio.c: Likewise.
60741 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
60744 2010-08-19 Andreas Schwab <schwab@redhat.com>
60746 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
60748 2010-08-19 Luis Machado <luisgpm@br.ibm.com>
60750 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
60751 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
60752 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
60753 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
60754 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
60755 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
60756 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
60757 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
60758 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
60759 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
60760 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
60761 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
60762 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
60763 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
60765 2010-07-26 Anton Blanchard <anton@samba.org>
60767 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
60768 * malloc/arena.c (heap_trim): Likewise.
60770 2010-08-16 Ulrich Drepper <drepper@redhat.com>
60772 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
60774 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
60775 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
60777 2010-08-12 H.J. Lu <hongjiu.lu@intel.com>
60779 * sysdeps/i386/elf/Makefile: New file.
60781 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
60783 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
60784 from fanotify_init.
60785 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
60786 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
60788 2010-08-15 Ulrich Drepper <drepper@redhat.com>
60790 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
60792 * sysdeps/multiarch/strcmp.S: Likewise.
60794 2010-08-14 Ulrich Drepper <drepper@redhat.com>
60796 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
60797 strncase_l-nonascii.
60798 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
60799 Add strncase_l-ssse3.
60800 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
60801 * sysdeps/x86_64/strcmp.S: Likewise.
60802 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
60803 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
60804 * sysdeps/x86_64/strncase.S: New file.
60805 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
60806 * sysdeps/x86_64/strncase_l.S: New file.
60807 * string/Makefile (strop-tests): Add strncasecmp.
60808 * string/test-strncasecmp.c: New file.
60810 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
60813 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
60814 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
60816 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
60818 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
60820 2010-08-12 Ulrich Drepper <drepper@redhat.com>
60822 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
60823 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
60824 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
60826 2010-05-01 Alan Modra <amodra@gmail.com>
60828 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
60829 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
60830 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
60831 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
60832 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
60833 tidying. Don't tail-call __sigjmp_save for static lib.
60834 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
60836 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
60837 (CALL_MCOUNT): Add eh info, and nop after bl.
60838 (TAIL_CALL_SYSCALL_ERROR): New macro.
60839 (PSEUDO_RET): Use it.
60840 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
60841 Correct save location of integer regs and cr.
60842 (_dl_profile_resolve): Correct cr save location. Delete nops
60843 after bl when SHARED. Reduce cfi size a little by better
60844 placement of cfi directives.
60845 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
60846 make a stack frame. Instead use parm save area as a temp.
60847 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
60848 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
60849 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
60850 Don't make a stack frame for parent, use parm save area.
60851 Increase child stack frame to 112 bytes. Don't save unused reg,
60852 and adjust reg usage. Set up cfi on error recovery and
60853 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
60854 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
60855 (__makecontext): Add dummy nop after jump to exit.
60856 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
60857 Use correct parm save area and cr save, reduce stack frame.
60858 Correct cfi for possible PSEUDO_RET frame setup.
60859 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
60860 Branch to local label emitted by PSEUDO_RET rather than
60863 2010-08-12 Andreas Schwab <schwab@redhat.com>
60866 * locale/programs/locale.c (print_assignment): New function.
60867 (show_locale_vars): Use it.
60869 2010-08-11 Ulrich Drepper <drepper@redhat.com>
60871 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
60873 (struct statfs64): Likewise.
60874 (_STATFS_F_FLAGS): Define.
60875 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
60876 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
60877 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
60878 (ST_VALID): Define locally.
60879 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
60880 __statvfs_getflags, use the provided value.
60881 * sysdeps/unix/sysv/linux/kernel-features.h: Define
60882 __ASSUME_STATFS_F_FLAGS.
60884 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
60886 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
60887 Add sys/fanotify.h.
60888 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
60889 fanotify_mask for GLIBC_2.13.
60890 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
60891 fanotify_init and fanotify_mark.
60892 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
60893 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
60895 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
60897 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
60898 prlimit64 for GLIBC_2.13.
60899 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
60901 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
60903 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
60904 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
60905 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
60906 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
60907 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
60909 * sysdeps/unix/sysv/linux/prlimit.c: New file.
60912 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
60913 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
60915 * nss/Makefile: Add rules to build and run tst-nss-test1.
60916 * shlib-versions: Add entry for libnss_test1.
60917 * nss/nss_test1.c: New file.
60918 * nss/tst-nss-test1.c: New file.
60920 * nss/nsswitch.c (__nss_database_custom): Define new variable.
60921 (__nss_configure_lookup): Set appropriate entry in
60922 __nss_configure_lookup to true.
60923 * nss/nsswitch.h: Define enum with indeces of databases in
60924 databases and __nss_database_custom arrays. Declare
60925 __nss_database_custom.
60926 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
60927 to avoid using nscd when custom rules are installed.
60928 * nss/getXXbyYY_r.c: Likewise.
60929 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
60931 * nss/nss_files/files-parse.c: Whitespace fixes.
60933 2010-08-09 Ulrich Drepper <drepper@redhat.com>
60936 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
60937 * posix/fnmatch_loop.c: Likewise.
60939 2010-07-17 Andi Kleen <ak@linux.intel.com>
60941 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
60942 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
60943 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
60944 * Versions.def [GLIBC_2.13]: Add.
60946 2010-08-06 Ulrich Drepper <drepper@redhat.com>
60948 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
60949 Also fail if tpwd after pwuid call is NULL.
60951 2010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
60953 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
60954 when converting to ms.
60956 2010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
60958 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
60959 EOPNOTSUPP errors with ENOTTY.
60960 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
60961 EOPNOTSUPP errors with ENOTTY.
60963 2010-07-31 Ulrich Drepper <drepper@redhat.com>
60965 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
60966 Add strcasecmp_l-ssse3.
60967 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
60969 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
60970 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
60971 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
60973 2010-07-30 Ulrich Drepper <drepper@redhat.com>
60975 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
60977 * string/Makefile (strop-tests): Add strcasecmp.
60978 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
60979 strcasecmp_l-nonascii.
60980 (gen-as-const-headers): Add locale-defines.sym.
60981 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
60982 * sysdeps/x86_64/strcasecmp.S: New file.
60983 * sysdeps/x86_64/strcasecmp_l.S: New file.
60984 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
60985 * sysdeps/x86_64/locale-defines.sym: New file.
60986 * string/test-strcasecmp.c: New file.
60988 * string/test-strcasestr.c: Test both ends of the range of characters.
60989 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
60991 2010-07-29 Roland McGrath <roland@redhat.com>
60994 * manual/locale.texi (Yes-or-No Questions): Fix example code.
60996 2010-07-27 Ulrich Drepper <drepper@redhat.com>
60998 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
61001 2010-07-27 Andreas Schwab <schwab@redhat.com>
61003 * manual/memory.texi (Malloc Tunable Parameters): Document
61006 2010-07-26 Roland McGrath <roland@redhat.com>
61009 * configure.in (-fgnu89-inline check): Set and substitute
61010 gnu89_inline, not libc_cv_gnu89_inline.
61011 * configure: Regenerated.
61012 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
61014 2010-07-26 Ulrich Drepper <drepper@redhat.com>
61016 * string/test-strnlen.c: New file.
61017 * string/Makefile (strop-tests): Add strnlen.
61018 * string/tester.c (test_strnlen): Add a few more test cases.
61019 * string/tst-strlen.c: Better error reporting.
61021 * sysdeps/x86_64/strnlen.S: New file.
61023 2010-07-24 Ulrich Drepper <drepper@redhat.com>
61025 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
61026 lower-latency instructions.
61028 2010-07-23 Ulrich Drepper <drepper@redhat.com>
61030 * string/test-strcasestr.c: New file.
61031 * string/test-strstr.c: New file.
61032 * string/Makefile (strop-tests): Add strstr and strcasestr.
61033 * string/str-two-way.h: Don't undefine MAX.
61034 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
61036 2010-07-21 Andreas Schwab <schwab@redhat.com>
61038 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
61039 strcasestr-nonascii.
61040 (CFLAGS-strcasestr-nonascii.c): Define.
61041 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
61042 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
61043 Remove unused attribute.
61045 2010-07-20 Roland McGrath <roland@redhat.com>
61047 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
61048 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
61049 ld.so.cache was broken. With it, there is no way to disable dsocaps
61050 like LD_HWCAP_MASK can disable hwcaps.
61052 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
61054 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
61056 2010-07-16 Ulrich Drepper <drepper@redhat.com>
61058 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
61059 call in strcasestr.
61060 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
61061 __strcasestr_sse42_nonascii.
61062 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
61063 strcasestr-nonascii.c.
61064 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
61066 2010-06-15 Luis Machado <luisgpm@br.ibm.com>
61068 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
61069 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
61070 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
61071 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
61073 2010-07-09 Ulrich Drepper <drepper@redhat.com>
61075 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
61078 2010-07-06 Andreas Schwab <schwab@redhat.com>
61081 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
61084 2010-07-06 Ulrich Drepper <drepper@redhat.com>
61086 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
61087 _PC_PIPE_BUF using F_GETPIPE_SZ.
61089 2010-07-05 Roland McGrath <roland@redhat.com>
61091 * manual/arith.texi (Rounding Functions): Fix rint description
61092 implicit in round description.
61094 2010-07-02 Ulrich Drepper <drepper@redhat.com>
61096 * elf/Makefile: Fix linking for a few tests to make recent linker
61099 2010-06-30 Andreas Schwab <schwab@redhat.com>
61101 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
61102 $(common-objpfx)libc_nonshared.a.
61104 2010-06-21 Luis Machado <luisgpm@br.ibm.com>
61106 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
61107 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
61108 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
61109 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
61110 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
61111 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
61112 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
61113 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
61114 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
61115 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
61116 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
61117 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
61118 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
61119 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
61120 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
61121 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
61122 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
61123 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
61124 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
61125 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
61126 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
61127 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
61128 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
61129 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
61130 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
61131 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
61132 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
61133 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
61134 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
61135 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
61136 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
61137 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
61138 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
61139 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
61140 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
61141 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
61142 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
61143 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
61144 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
61145 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
61146 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
61147 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
61148 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
61149 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
61150 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
61151 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
61152 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
61153 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
61155 2010-06-25 H.J. Lu <hongjiu.lu@intel.com>
61157 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
61158 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
61159 * string/memmove.c (memmove): Renamed to ...
61160 (MEMMOVE): ...this. Default to memmove.
61161 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
61162 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
61164 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
61165 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
61166 mempcpy-ssse3-back memmove-ssse3-back.
61167 * sysdeps/x86_64/multiarch/bcopy.S: New file .
61168 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
61169 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
61170 * sysdeps/x86_64/multiarch/memcpy.S: New file.
61171 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
61172 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
61173 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
61174 * sysdeps/x86_64/multiarch/memmove.c: New file.
61175 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
61176 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
61177 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
61178 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
61179 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
61180 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
61182 (index_Fast_Copy_Backward): Define.
61183 (HAS_ARCH_FEATURE): Define.
61184 (HAS_FAST_REP_STRING): Define.
61185 (HAS_FAST_COPY_BACKWARD): Define.
61187 2010-06-21 Andreas Schwab <schwab@redhat.com>
61189 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
61190 Restore proper fallback handling.
61192 2010-06-19 Ulrich Drepper <drepper@redhat.com>
61195 * posix/group_member.c (__group_member): Correct checking loop.
61197 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
61198 OOM in getpwuid_r correctly. Return error number when the caller
61199 should return, otherwise -1.
61200 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
61201 call returning > 0 value.
61202 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
61204 2010-06-07 Andreas Schwab <schwab@redhat.com>
61206 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
61207 libc_nonshared.a from targets in modules-names.
61209 2010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
61211 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
61214 2010-06-10 Luis Machado <luisgpm@br.ibm.com>
61216 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
61217 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
61218 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
61219 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
61221 2010-06-02 Andreas Schwab <schwab@redhat.com>
61223 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
61225 2010-06-14 Ulrich Drepper <drepper@redhat.com>
61227 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
61229 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
61230 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
61231 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
61232 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
61233 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
61234 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
61236 2010-06-14 Roland McGrath <roland@redhat.com>
61238 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
61240 2010-06-07 Jakub Jelinek <jakub@redhat.com>
61242 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
61243 __REDIRECT followed by __THROW.
61244 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
61245 * posix/getopt.h (getopt): Likewise.
61247 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
61249 * hurd/lookup-at.c (__file_name_lookup_at): Accept
61250 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
61251 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
61253 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
61254 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
61256 2010-05-28 Luis Machado <luisgpm@br.ibm.com>
61258 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
61260 2010-05-26 H.J. Lu <hongjiu.lu@intel.com>
61263 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
61264 Properly check family and model.
61266 2010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
61268 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
61270 2010-05-24 Luis Machado <luisgpm@br.ibm.com>
61272 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
61274 2010-05-21 Ulrich Drepper <drepper@redhat.com>
61276 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
61279 2010-05-19 Andreas Schwab <schwab@redhat.com>
61281 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
61284 2010-05-21 Andreas Schwab <schwab@redhat.com>
61286 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
61287 and internal_recvmmsg.
61288 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
61289 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
61290 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
61291 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
61293 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
61294 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
61295 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
61297 2010-05-20 Andreas Schwab <schwab@redhat.com>
61299 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
61301 2010-05-17 Luis Machado <luisgpm@br.ibm.com>
61303 POWER7 optimizations.
61304 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
61305 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
61307 2010-05-19 Ulrich Drepper <drepper@redhat.com>
61309 * version.h: Update for 2.13 development version.
61311 2010-05-12 Andrew Stubbs <ams@codesourcery.com>
61313 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
61314 exceptions. Return 0.
61316 2010-05-07 Roland McGrath <roland@redhat.com>
61318 * elf/ldconfig.c (main): Add a const.
61320 2010-05-06 Ulrich Drepper <drepper@redhat.com>
61322 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
61323 (args_options): Add no-idn option.
61324 (ahosts_keys_int): Add idn_flags to ai_flags.
61325 (parse_option): Handle 'i' option to clear idn_flags.
61327 * malloc/malloc.c (_int_free): Possible race in the most recently
61328 added check. Only act on the data if no current modification
61331 See ChangeLog.17 for earlier changes.