1 2015-06-26 Mel Gorman <mgorman@suse.de>
4 * malloc/arena.c (heap_trim): Don't try to shrink a heap that is
7 2015-06-26 Matthew Fortune <matthew.fortune@imgtec.com>
9 * elf/elf.h (DT_MIPS_RLD_MAP_REL): New macro.
10 (DT_MIPS_NUM): Update.
11 * sysdeps/mips/dl-machine.h (ELF_MACHINE_DEBUG_SETUP): Handle
14 2015-06-25 Joseph Myers <joseph@codesourcery.com>
18 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Set
19 round-to-nearest internally then recompute results that
20 underflowed to zero in the original rounding mode.
21 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
22 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
23 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
24 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise
25 * math/libm-test.inc (jn_test): Use ALL_RM_TEST.
26 * sysdeps/i386/fpu/libm-test-ulps: Update.
27 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29 2015-06-25 Andrew Senkevich <andrew.senkevich@intel.com>
31 * NEWS: Fixed description of link with vector math library.
33 2015-06-25 Andreas Schwab <schwab@suse.de>
36 * libio/fmemopen.c (fmemopen_write): Fix bounds check for ENOSPC.
37 * libio/test-fmemopen.c (do_test): Add test for it.
39 2015-06-25 H.J. Lu <hongjiu.lu@intel.com>
42 * Makeconfig (no-pie-ldflag): New.
43 (+link): Set to $(+link-pie) if default to PIE.
44 (+link-tests): Set to $(+link-pie-tests) if default to PIE.
45 * config.make.in (build-pie-default): New.
46 * configure.ac (libc_cv_pie_default): New. Set to yes if -fPIE
48 * configure: Regenerated.
49 * elf/Makefile (LDFLAGS-tst-dlopen-aout): New.
51 2015-06-24 Roland McGrath <roland@hack.frob.com>
53 * nptl/descr.h (struct pthread): Change type of field setxid_futex
56 * resolv/gai_misc.h (struct waitlist): Change type of field
57 counterp to 'volatile unsigned int *'.
58 * sysdeps/nptl/gai_misc.h (GAI_MISC_WAIT): Use unsigned types for
60 * resolv/getaddrinfo_a.c (getaddrinfo_a):
61 Give local variable TOTAL type 'volatile unsigned int'.
62 (struct async_waitlist): Change type of field counter to 'unsigned int'.
63 * resolv/gai_suspend.c (gai_suspend):
64 Give local variable CNTR type 'unsigned int'.
66 * sysdeps/pthread/aio_misc.h (struct waitlist): Change type of field
67 counterp to 'volatile unsigned int *'.
68 * sysdeps/pthread/aio_suspend.c [DONT_NEED_AIO_MISC_COND]
69 (do_aio_misc_wait): Give argument CNTR type 'unsigned int *'.
70 (aio_suspend): Give local variable CNTR type 'unsigned int'.
71 * sysdeps/pthread/lio_listio.c (lio_listio_internal):
72 Give local variable TOTAL type 'volatile unsigned int'.
73 (struct async_waitlist): Change type of field counter to 'unsigned int'.
75 2015-06-24 H.J. Lu <hongjiu.lu@intel.com>
78 * csu/libc-tls.c (__libc_setup_tls) [TLS_TCB_AT_TP]: Align
79 TCB_OFFSET to MAX_ALIGN, not just TCBALIGN. Add comment.
80 * elf/Makefile (test-xfail-tst-tlsalign{,-static}): Remove
81 comment for i386/x86-64.
82 (test-xfail-tst-tlsalign-extern-static): Removed.
84 2015-06-24 Joseph Myers <joseph@codesourcery.com>
86 * math/test-double.h: New file.
87 * math/test-float.h: Likewise.
88 * math/test-ldouble.h: Likewise.
89 * math/test-math-inline.h: Likewise.
90 * math/test-math-no-inline.h: Likewise.
91 * math/test-math-scalar.h: Likewise.
92 * math/test-math-vector.h: Likewise.
93 * math/test-vec-loop.h: Remove file. Contents moved into
95 * math/libm-test.inc (MATHCONST): Do not document macro.
96 * math/test-double.c: Include test-double.h, test-math-no-inline.h
97 and test-math-scalar.h.
99 (FUNC_TEST): Likewise.
101 (MATHCONST): Likewise.
102 (PRINTF_EXPR): Likewise.
103 (PRINTF_XEXPR): Likewise.
104 (PRINTF_NEXPR): Likewise.
105 (TEST_DOUBLE): Likewise.
106 (TEST_MATHVEC): Likewise.
107 (__NO_MATH_INLINES): Likewise.
108 * math/test-float.c: Include test-float.h, test-math-no-inline.h
109 and test-math-scalar.h.
110 (FUNC): Remove macro.
111 (FUNC_TEST): Likewise.
113 (MATHCONST): Likewise.
114 (PRINTF_EXPR): Likewise.
115 (PRINTF_XEXPR): Likewise.
116 (PRINTF_NEXPR): Likewise.
117 (TEST_FLOAT): Likewise.
118 (TEST_MATHVEC): Likewise.
119 (__NO_MATH_INLINES): Likewise.
120 * math/test-idouble.c: Include test-double.h, test-math-inline.h
121 and test-math-scalar.h.
122 (FUNC): Remove macro.
123 (FUNC_TEST): Likewise.
125 (MATHCONST): Likewise.
126 (PRINTF_EXPR): Likewise.
127 (PRINTF_XEXPR): Likewise.
128 (PRINTF_NEXPR): Likewise.
129 (TEST_DOUBLE): Likewise.
130 (TEST_MATHVEC): Likewise.
131 (TEST_INLINE): Likewise.
132 (__NO_MATH_INLINES): Likewise.
133 * math/test-ifloat.c: Include test-float.h, test-math-inline.h and
135 (FUNC): Remove macro.
136 (FUNC_TEST): Likewise.
138 (MATHCONST): Likewise.
139 (PRINTF_EXPR): Likewise.
140 (PRINTF_XEXPR): Likewise.
141 (PRINTF_NEXPR): Likewise.
142 (TEST_FLOAT): Likewise.
143 (TEST_MATHVEC): Likewise.
144 (TEST_INLINE): Likewise.
145 (__NO_MATH_INLINES): Likewise.
146 * math/test-ildoubl.c: Include test-ldouble.h, test-math-inline.h
147 and test-math-scalar.h.
148 (FUNC): Remove macro.
149 (FUNC_TEST): Likewise.
151 (MATHCONST): Likewise.
152 (PRINTF_EXPR): Likewise.
153 (PRINTF_XEXPR): Likewise.
154 (PRINTF_NEXPR): Likewise.
155 (TEST_LDOUBLE): Likewise.
156 (TEST_MATHVEC): Likewise.
157 (TEST_INLINE): Likewise.
158 (__NO_MATH_INLINES): Likewise.
159 * math/test-ldouble.c: Include test-ldouble.h,
160 test-math-no-inline.h and test-math-scalar.h.
161 (FUNC): Remove macro.
162 (FUNC_TEST): Likewise.
164 (MATHCONST): Likewise.
165 (PRINTF_EXPR): Likewise.
166 (PRINTF_XEXPR): Likewise.
167 (PRINTF_NEXPR): Likewise.
168 (TEST_LDOUBLE): Likewise.
169 (TEST_MATHVEC): Likewise.
170 (__NO_MATH_INLINES): Likewise.
171 * math/test-double-vlen2.h: Include test-double.h,
172 test-math-no-inline.h and test-math-vector.h.
173 (FLOAT): Remove macro.
175 (MATHCONST): Likewise.
176 (PRINTF_EXPR): Likewise.
177 (PRINTF_XEXPR): Likewise.
178 (PRINTF_NEXPR): Likewise.
179 (TEST_DOUBLE): Likewise.
180 (TEST_MATHVEC): Likewise.
181 (__NO_MATH_INLINES): Likewise.
184 (WRAPPER_NAME): Likewise.
185 (WRAPPER_DECL): Likewise.
186 (WRAPPER_DECL_ff): Likewise.
187 (WRAPPER_DECL_fFF): Likewise.
188 (VECTOR_WRAPPER): Likewise.
189 (VECTOR_WRAPPER_ff): Likewise.
190 (VECTOR_WRAPPER_fFF): Likewise.
191 (VEC_LEN): New macro.
192 * math/test-double-vlen4.h: Include test-double.h,
193 test-math-no-inline.h and test-math-vector.h.
194 (FLOAT): Remove macro.
196 (MATHCONST): Likewise.
197 (PRINTF_EXPR): Likewise.
198 (PRINTF_XEXPR): Likewise.
199 (PRINTF_NEXPR): Likewise.
200 (TEST_DOUBLE): Likewise.
201 (TEST_MATHVEC): Likewise.
202 (__NO_MATH_INLINES): Likewise.
205 (WRAPPER_NAME): Likewise.
206 (WRAPPER_DECL): Likewise.
207 (WRAPPER_DECL_ff): Likewise.
208 (WRAPPER_DECL_fFF): Likewise.
209 (VECTOR_WRAPPER): Likewise.
210 (VECTOR_WRAPPER_ff): Likewise.
211 (VECTOR_WRAPPER_fFF): Likewise.
212 (VEC_LEN): New macro.
213 * math/test-double-vlen8.h: Include test-double.h,
214 test-math-no-inline.h and test-math-vector.h.
215 (FLOAT): Remove macro.
217 (MATHCONST): Likewise.
218 (PRINTF_EXPR): Likewise.
219 (PRINTF_XEXPR): Likewise.
220 (PRINTF_NEXPR): Likewise.
221 (TEST_DOUBLE): Likewise.
222 (TEST_MATHVEC): Likewise.
223 (__NO_MATH_INLINES): Likewise.
226 (WRAPPER_NAME): Likewise.
227 (WRAPPER_DECL): Likewise.
228 (WRAPPER_DECL_ff): Likewise.
229 (WRAPPER_DECL_fFF): Likewise.
230 (VECTOR_WRAPPER): Likewise.
231 (VECTOR_WRAPPER_ff): Likewise.
232 (VECTOR_WRAPPER_fFF): Likewise.
233 (VEC_LEN): New macro.
234 * math/test-float-vlen4.h: Include test-float.h,
235 test-math-no-inline.h and test-math-vector.h.
236 (FLOAT): Remove macro.
238 (MATHCONST): Likewise.
239 (PRINTF_EXPR): Likewise.
240 (PRINTF_XEXPR): Likewise.
241 (PRINTF_NEXPR): Likewise.
242 (TEST_FLOAT): Likewise.
243 (TEST_MATHVEC): Likewise.
244 (__NO_MATH_INLINES): Likewise.
247 (WRAPPER_NAME): Likewise.
248 (WRAPPER_DECL): Likewise.
249 (WRAPPER_DECL_ff): Likewise.
250 (WRAPPER_DECL_fFF): Likewise.
251 (VECTOR_WRAPPER): Likewise.
252 (VECTOR_WRAPPER_ff): Likewise.
253 (VECTOR_WRAPPER_fFF): Likewise.
254 (VEC_LEN): New macro.
255 * math/test-float-vlen8.h: Include test-float.h,
256 test-math-no-inline.h and test-math-vector.h.
257 (FLOAT): Remove macro.
259 (MATHCONST): Likewise.
260 (PRINTF_EXPR): Likewise.
261 (PRINTF_XEXPR): Likewise.
262 (PRINTF_NEXPR): Likewise.
263 (TEST_FLOAT): Likewise.
264 (TEST_MATHVEC): Likewise.
265 (__NO_MATH_INLINES): Likewise.
268 (WRAPPER_NAME): Likewise.
269 (WRAPPER_DECL): Likewise.
270 (WRAPPER_DECL_ff): Likewise.
271 (WRAPPER_DECL_fFF): Likewise.
272 (VECTOR_WRAPPER): Likewise.
273 (VECTOR_WRAPPER_ff): Likewise.
274 (VECTOR_WRAPPER_fFF): Likewise.
275 (VEC_LEN): New macro.
276 * math/test-float-vlen16.h: Include test-float.h,
277 test-math-no-inline.h and test-math-vector.h.
278 (FLOAT): Remove macro.
280 (MATHCONST): Likewise.
281 (PRINTF_EXPR): Likewise.
282 (PRINTF_XEXPR): Likewise.
283 (PRINTF_NEXPR): Likewise.
284 (TEST_FLOAT): Likewise.
285 (TEST_MATHVEC): Likewise.
286 (__NO_MATH_INLINES): Likewise.
289 (WRAPPER_NAME): Likewise.
290 (WRAPPER_DECL): Likewise.
291 (WRAPPER_DECL_ff): Likewise.
292 (WRAPPER_DECL_fFF): Likewise.
293 (VECTOR_WRAPPER): Likewise.
294 (VECTOR_WRAPPER_ff): Likewise.
295 (VECTOR_WRAPPER_fFF): Likewise.
296 (VEC_LEN): New macro.
297 * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Do not include
299 * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
300 * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
301 * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
302 * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
303 * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
304 * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
305 * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
307 2015-06-24 Roland McGrath <roland@hack.frob.com>
309 * sysdeps/nacl/glob.c (getlogin_r): Macro renamed to ...
310 (__getlogin_r): ... this.
312 2015-06-24 Joseph Myers <joseph@codesourcery.com>
315 * math/s_ccosh.c (__ccosh): Compare with least normal value
316 instead of comparing class with FP_SUBNORMAL.
317 * math/s_ccoshf.c (__ccoshf): Likewise.
318 * math/s_ccoshl.c (__ccoshl): Likewise.
319 * math/s_cexp.c (__cexp): Likewise.
320 * math/s_cexpf.c (__cexpf): Likewise.
321 * math/s_cexpl.c (__cexpl): Likewise.
322 * math/s_csin.c (__csin): Likewise.
323 * math/s_csinf.c (__csinf): Likewise.
324 * math/s_csinh.c (__csinh): Likewise.
325 * math/s_csinhf.c (__csinhf): Likewise.
326 * math/s_csinhl.c (__csinhl): Likewise.
327 * math/s_csinl.c (__csinl): Likewise.
328 * math/s_ctan.c (__ctan): Likewise.
329 * math/s_ctanf.c (__ctanf): Likewise.
330 * math/s_ctanh.c (__ctanh): Likewise.
331 * math/s_ctanhf.c (__ctanhf): Likewise.
332 * math/s_ctanhl.c (__ctanhl): Likewise.
333 * math/s_ctanl.c (__ctanl): Likewise.
334 * math/auto-libm-test-in: Add more tests of ccos, ccosh, cexp,
335 csin, csinh, ctan and ctanh.
336 * math/auto-libm-test-out: Regenerated.
337 * math/libm-test.inc (cexp_test): Use ALL_RM_TEST.
338 * sysdeps/i386/fpu/libm-test-ulps: Update.
339 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
341 2015-06-24 Roland McGrath <roland@hack.frob.com>
343 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): When sched_getcpu
344 return value is wrong, print the expected value too.
346 2015-06-24 H.J. Lu <hongjiu.lu@intel.com>
349 * elf/readlib.c (is_gdb_python_file): New.
350 (process_file): Don't issue errors on filenames with -gdb.py
353 2015-06-24 Joseph Myers <joseph@codesourcery.com>
355 * math/auto-libm-test-in: Add more tests of csin and csinh.
356 * math/auto-libm-test-out: Regenerated.
357 * math/libm-test.inc (csin_test_data): Remove tests moved to
359 (csinh_test_data): Likewise.
362 * math/s_csin.c (__csin): Negate before rather than after possibly
363 overflowing multiplication.
364 * math/s_csinf.c (__csinf): Likewise.
365 * math/s_csinh.c (__csinh): Likewise.
366 * math/s_csinhf.c (__csinhf): Likewise.
367 * math/s_csinhl.c (__csinhl): Likewise.
368 * math/s_csinl.c (__csinl): Likewise.
369 * math/auto-libm-test-in: Add some tests of csin and csinh.
370 * math/auto-libm-test-out: Regenerated.
371 * math/libm-test.inc (csin_test_data): Use AUTO_TESTS_c_c.
372 (csinh_test_data): Likewise.
373 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
376 * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Force
377 underflow exception for small results.
379 2015-06-24 Andrew Senkevich <andrew.senkevich@intel.com>
381 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Fixed files list.
382 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S: Renamed
383 variable and included header.
384 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S: Likewise.
385 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S: Likewise.
386 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S: Likewise.
387 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S: Likewise.
388 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S: Likewise.
389 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S: Likewise.
390 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S: Likewise.
391 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S: Likewise.
392 * sysdeps/x86_64/fpu/svml_s_trig_data.S: New file.
393 * sysdeps/x86_64/fpu/svml_s_trig_data.h: Likewise.
394 * sysdeps/x86_64/fpu/svml_s_cosf_data.S: Removed file.
395 * sysdeps/x86_64/fpu/svml_s_cosf_data.h: Likewise.
396 * sysdeps/x86_64/fpu/svml_s_sinf_data.S: Likewise.
397 * sysdeps/x86_64/fpu/svml_s_sinf_data.h: Likewise.
398 * sysdeps/x86_64/fpu/svml_s_sincosf_data.S: Likewise.
399 * sysdeps/x86_64/fpu/svml_s_sincosf_data.h: Likewise.
401 2015-06-23 Joseph Myers <joseph@codesourcery.com>
405 * sysdeps/ieee754/dbl-64/s_sin.c: Include <float.h>.
406 (__sin): Force underflow exception for arguments with small
408 * sysdeps/ieee754/flt-32/k_sinf.c: Include <float.h>.
409 (__kernel_sinf): Force underflow exception for arguments with
410 small absolute value.
411 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Include <float.h>.
412 (__kernel_sincosl): Force underflow exception for arguments with
413 small absolute value.
414 * sysdeps/ieee754/ldbl-128/k_sinl.c: Include <float.h>.
415 (__kernel_sinl): Force underflow exception for arguments with
416 small absolute value.
417 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Include <float.h>.
418 (__kernel_sincosl): Force underflow exception for arguments with
419 small absolute value.
420 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Include <float.h>.
421 (__kernel_sinl): Force underflow exception for arguments with
422 small absolute value.
423 * sysdeps/ieee754/ldbl-96/k_sinl.c: Include <float.h>.
424 (__kernel_sinl): Force underflow exception for arguments with
425 small absolute value.
426 * sysdeps/powerpc/fpu/k_sinf.c: Include <float.h>.
427 (__kernel_sinf): Force underflow exception for arguments with
428 small absolute value.
429 * math/auto-libm-test-in: Add more tests of sin and sincos.
430 * math/auto-libm-test-out: Regenerated.
434 * sysdeps/ieee754/k_standardl.c: Include <fenv.h>.
435 (__kernel_standard_l): Use feholdexcept and fesetenv around
436 conversion to double instead of special-casing overflow and
438 * math/libm-test.inc (fmod_test_data): Add more tests.
439 (remainder_test_data): Likewise.
440 (sqrt_test_data): Likewise.
442 2015-06-23 Torvald Riegel <triegel@redhat.com>
445 * sysdeps/x86_64/bits/atomic.h: (atomic_full_barrier,
446 atomic_read_barrier, atomic_write_barrier): Define.
447 * sysdeps/i386/i486/bits/atomic.h (atomic_full_barrier,
448 atomic_read_barrier, atomic_write_barrier): Define.
450 2015-06-23 Joseph Myers <joseph@codesourcery.com>
452 * math/Makefile [$(PERL) != no]
453 ($(addprefix $(objpfx), $(addsuffix .o, $(libm-vec-tests)))): Move
454 dependency on libm-test.stmp below the inclusion of Rules.
456 2015-06-23 Andrew Senkevich <andrew.senkevich@intel.com>
458 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Fixed files list.
459 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S: Renamed variable
461 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S: Likewise.
462 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: Likewise.
463 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S: Likewise.
464 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S: Likewise.
465 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S: Likewise.
466 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: Likewise.
467 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: Likewise.
468 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: Likewise.
469 * sysdeps/x86_64/fpu/svml_d_trig_data.S: New file.
470 * sysdeps/x86_64/fpu/svml_d_trig_data.h: Likewise.
471 * sysdeps/x86_64/fpu/svml_d_cos2_core.S: Removed unneeded include.
472 * sysdeps/x86_64/fpu/svml_d_cos4_core.S: Likewise.
473 * sysdeps/x86_64/fpu/svml_d_cos8_core.S: Likewise.
474 * sysdeps/x86_64/fpu/svml_d_cos_data.S: Removed file.
475 * sysdeps/x86_64/fpu/svml_d_cos_data.h: Likewise.
476 * sysdeps/x86_64/fpu/svml_d_sin_data.S: Likewise.
477 * sysdeps/x86_64/fpu/svml_d_sin_data.h: Likewise.
478 * sysdeps/x86_64/fpu/svml_d_sincos_data.S: Likewise.
479 * sysdeps/x86_64/fpu/svml_d_sincos_data.h: Likewise.
481 2015-06-23 Joseph Myers <joseph@codesourcery.com>
484 * math/s_csqrt.c (__csqrt): Avoid multiplication by 0.5 where
485 intermediate but not final result might underflow.
486 * math/s_csqrtf.c (__csqrtf): Likewise.
487 * math/s_csqrtl.c (__csqrtl): Likewise.
488 * math/auto-libm-test-in: Add more tests of csqrt.
489 * math/auto-libm-test-out: Regenerated.
490 * sysdeps/i386/fpu/libm-test-ulps: Update.
493 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Reduce
494 threshold on absolute value of exponent for which scaling is used.
495 * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
496 * math/auto-libm-test-in: Add more tests of exp2.
497 * math/auto-libm-test-out: Regenerated.
499 2015-06-23 Dmitry V. Levin <ldv@altlinux.org>
502 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix unlocking
503 when initializing interface list, based on the bug analysis
504 and the patch proposed by Eric Newton.
505 * resolv/tst-res_hconf_reorder.c: New test.
506 * resolv/Makefile [$(have-thread-library) = yes] (tests): Add
507 tst-res_hconf_reorder.
508 ($(objpfx)tst-res_hconf_reorder): Depend on $(libdl)
509 and $(shared-thread-library).
510 (tst-res_hconf_reorder-ENV): New variable.
512 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix typo
515 2015-06-22 Joseph Myers <joseph@codesourcery.com>
518 * sysdeps/i386/fpu/s_expm1.S (dbl_min): New object.
519 (__expm1): Force underflow exception for arguments with small
521 * sysdeps/i386/fpu/s_expm1f.S (flt_min): New object.
522 (__expm1f): Force underflow exception for arguments with small
524 * sysdeps/ieee754/dbl-64/s_expm1.c: Include <float.h>.
525 (__expm1): Force underflow exception for arguments with small
527 * sysdeps/ieee754/flt-32/s_expm1f.c: Include <float.h>.
528 (__expm1f): Force underflow exception for arguments with small
530 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
531 Check for small arguments before calling __expm1.
532 * math/auto-libm-test-in: Do not mark underflow exceptions as
533 possibly missing for bug 16353.
534 * math/auto-libm-test-out: Regenerated.
536 2015-06-22 Andreas Schwab <schwab@suse.de>
539 * resolv/nss_dns/dns-host.c (getanswer_r): Record TTL also for
542 2015-06-22 Leonhard Holz <leonhard.holz@web.de>
544 * string/strcoll_l.c (STRCOLL): Remove unnecessary memset.
546 * string/strcoll_l.c: Remove unused struct element idxnow.
548 2015-06-21 Joseph Myers <joseph@codesourcery.com>
551 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Force
552 underflow and return argument in case of subnormal argument.
553 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
555 * math/auto-libm-test-in: Add more tests of expm1.
556 * math/auto-libm-test-out: Regenerated.
559 * sysdeps/i386/fpu/e_expl.S [!USE_AS_EXPM1L] (cmin): New object.
560 (IEEE754_EXPL) [!USE_AS_EXPM1L]: Force underflow exception for
562 * sysdeps/x86_64/fpu/e_expl.S [!USE_AS_EXPM1L] (cmin): New object.
563 (IEEE754_EXPL) [!USE_AS_EXPM1L]: Force underflow exception for
565 * math/auto-libm-test-in: Add more tests of exp and exp10. Do not
566 mark underflow exceptions as possibly missing for bug 16361.
567 * math/auto-libm-test-out: Regenerated.
569 2015-06-19 Joseph Myers <joseph@codesourcery.com>
571 * conform/data/sys/select.h-data [XOPEN2K8] (pselect): Expect.
572 * conform/Makefile (test-xfail-XOPEN2K8/sys/select.h/conform):
574 (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
575 (test-xfail-XOPEN2K8/utmpx.h/conform).
577 * conform/conformtest.pl ($xerrors): New variable.
578 (note_error): New function.
579 (compiletest): New argument $xfail. Use not_error.
581 (top level): Handle xfail- lines. Update calls to compiletest and
582 runtest. Handle xfail- and optional- in headers listed with
584 * conform/data/fcntl.h-data (O_TTY_INIT): Use xfail-.
586 (O_SEARCH): Likewise.
587 * conform/data/stropts.h-data (ioctl): Likewise.
588 * conform/data/sys/ipc.h-data (ipc_perm.mode): Likewise.
589 * conform/data/sys/sem.h-data (semid_ds.sem_nsems): Likewise.
590 * conform/data/sys/socket.h-data (msghdr.msg_iovlen): Likewise.
591 (msghdr.msg_controllen): Likewise.
592 (cmsghdr.cmsg_len): Likewise.
593 * conform/data/utmpx.h-data (utmpx.ut_tv): Likewise.
594 * conform/Makefile (test-xfail-XPG3/sys/ipc.h/conform): Remove
596 (test-xfail-XPG3/sys/sem.h/conform): Likewise.
597 (test-xfail-XPG4/stropts.h/conform): Likewise.
598 (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
599 (test-xfail-XPG4/sys/sem.h/conform): Likewise.
600 (test-xfail-XPG4/sys/socket.h/conform): Likewise.
601 (test-xfail-UNIX98/stropts.h/conform): Likewise.
602 (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
603 (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
604 (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
605 (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
606 (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
607 (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
608 (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
609 (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
610 (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
611 (test-xfail-POSIX2008/stropts.h/conform): Likewise.
612 (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
613 (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
614 (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
615 (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
616 (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
618 2015-06-19 Andrew Senkevich <andrew.senkevich@intel.com>
620 * sysdeps/ieee754/ldbl-opt/s_sin.c (__DECL_SIMD_sincos_disable,
621 __DECL_SIMD_sincos_disablef, __DECL_SIMD_sincos_disablel): Added empty
622 definitions for proper unfolding of __MATHDECL_VEC.
624 2015-06-19 Stefan Liebler <stli@linux.vnet.ibm.com>
626 * benchtests/bench-strcoll.c:
628 (main): Remove unused variable res.
630 2015-06-19 Stefan Liebler <stli@linux.vnet.ibm.com>
632 * timezone/Makefile (%/UTC %/Universal):
633 Generate test-result files for UTC and Universal.
635 2015-06-19 Stefan Liebler <stli@linux.vnet.ibm.com>
637 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
639 2015-06-18 Joseph Myers <joseph@codesourcery.com>
642 * sysdeps/i386/fpu/s_asinh.S (__asinh): Force underflow exception
643 for arguments with small absolute value.
644 * sysdeps/i386/fpu/s_asinhf.S (__asinhf): Likewise.
645 * sysdeps/i386/fpu/s_asinhl.S (__asinhl): Likewise.
646 * sysdeps/ieee754/dbl-64/s_asinh.c: Include <float.h>.
647 (__asinh): Force underflow exception for arguments with small
649 * sysdeps/ieee754/flt-32/s_asinhf.c: Include <float.h>.
650 (__asinhf): Force underflow exception for arguments with small
652 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Include <float.h>.
653 (__asinhl): Force underflow exception for arguments with small
655 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Include <float.h>.
656 (__asinhl): Force underflow exception for arguments with small
658 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Include <float.h>.
659 (__asinhl): Force underflow exception for arguments with small
661 * math/auto-libm-test-in: Do not mark underflow exceptions as
662 possibly missing for bug 16350.
663 * math/auto-libm-test-out: Regenerated.
665 * include/bits/ipc.h: Remove file.
666 * conform/Makefile (test-xfail-XPG3/sys/msg.h/conform): Remove
668 (test-xfail-XPG3/sys/shm.h/conform): Likewise.
669 (test-xfail-XPG4/sys/msg.h/conform): Likewise.
670 (test-xfail-XPG4/sys/shm.h/conform): Likewise.
671 (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
672 (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
673 (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
674 (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
675 (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
676 (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
678 * math/auto-libm-test-in: Remove spurious underflow allowance for
680 * math/auto-libm-test-out: Regenerated.
683 * sysdeps/unix/sysv/linux/bits/in.h (MCAST_JOIN_GROUP): Remove
684 unconditional definition.
685 (MCAST_BLOCK_SOURCE): Likewise.
686 (MCAST_UNBLOCK_SOURCE): Likewise.
687 (MCAST_LEAVE_GROUP): Likewise.
688 (MCAST_JOIN_SOURCE_GROUP): Likewise.
689 (MCAST_LEAVE_SOURCE_GROUP): Likewise.
690 (MCAST_MSFILTER): Likewise.
691 * conform/Makefile (test-xfail-XOPEN2K/arpa/inet.h/conform):
693 (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
694 (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
695 (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
696 (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
697 (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
699 2015-06-18 Andrew Senkevich <andrew.senkevich@intel.com>
701 * NEWS: Mention addition of x86_64 vector sincosf.
702 * math/test-float-vlen16.h: Added wrapper for sincosf tests.
703 * math/test-float-vlen4.h: Likewise.
704 * math/test-float-vlen8.h: Likewise.
705 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
706 * sysdeps/x86/fpu/bits/math-vector.h: Added sincosf SIMD declaration.
707 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
708 * sysdeps/x86_64/fpu/Versions: New versions added.
709 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
710 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
711 Added build of SSE, AVX2 and AVX512 IFUNC versions.
712 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S
713 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S
714 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core.S
715 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S
716 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core.S
717 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S
718 * sysdeps/x86_64/fpu/svml_s_sincosf16_core.S
719 * sysdeps/x86_64/fpu/svml_s_sincosf4_core.S
720 * sysdeps/x86_64/fpu/svml_s_sincosf8_core.S
721 * sysdeps/x86_64/fpu/svml_s_sincosf8_core_avx.S
722 * sysdeps/x86_64/fpu/svml_s_sincosf_data.S: New file.
723 * sysdeps/x86_64/fpu/svml_s_sincosf_data.h: New file.
724 * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Added 3 argument wrappers.
725 * sysdeps/x86_64/fpu/test-float-vlen16.c: : Vector sincosf tests.
726 * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
727 * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
728 * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
729 * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
730 * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
731 * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
732 * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
734 * NEWS: Mention addition of x86_64 vector sincos.
735 * bits/libm-simd-decl-stubs.h: Added stubs for sincos.
736 * math/math.h (__MATHDECL_VEC): New macro.
737 * math/bits/mathcalls.h: Added sincos declaration with __MATHDECL_VEC.
738 * math/gen-libm-have-vector-test.sh: Added generation of sincos wrapper
739 declaration under condition.
740 * math/test-vec-loop.h (TEST_VEC_LOOP): Refactored.
741 * math/test-double-vlen2.h: Added wrapper for sincos tests, reflected
742 TEST_VEC_LOOP change.
743 * math/test-double-vlen4.h: Likewise.
744 * math/test-double-vlen8.h: Likewise.
745 * math/test-float-vlen16.h: Reflected TEST_VEC_LOOP change.
746 * math/test-float-vlen4.h: Likewise.
747 * math/test-float-vlen8.h: Likewise.
748 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
749 * sysdeps/x86/fpu/bits/math-vector.h: Added sincos SIMD declaration.
750 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
751 * sysdeps/x86_64/fpu/Versions: New versions added.
752 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
753 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
754 Added build of SSE, AVX2 and AVX512 IFUNC versions.
755 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: New file.
756 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: New file.
757 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: New file.
758 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: New file.
759 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: New file.
760 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: New file.
761 * sysdeps/x86_64/fpu/svml_d_sincos2_core.S: New file.
762 * sysdeps/x86_64/fpu/svml_d_sincos4_core.S: New file.
763 * sysdeps/x86_64/fpu/svml_d_sincos4_core_avx.S: New file.
764 * sysdeps/x86_64/fpu/svml_d_sincos8_core.S: New file.
765 * sysdeps/x86_64/fpu/svml_d_sincos_data.S: New file.
766 * sysdeps/x86_64/fpu/svml_d_sincos_data.h: New file.
767 * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Added wrappers for sincos.
768 * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Vector sincos tests.
769 * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
770 * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
771 * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
772 * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
773 * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
774 * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
775 * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
777 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
778 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
779 redirections for powf.
780 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
781 * sysdeps/x86_64/fpu/Versions: New versions added.
782 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
783 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
784 Added build of SSE, AVX2 and AVX512 IFUNC versions.
785 * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Added 2 argument wrappers.
786 * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: New file.
787 * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S: New file.
788 * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core.S: New file.
789 * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S: New file.
790 * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core.S: New file.
791 * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S: New file.
792 * sysdeps/x86_64/fpu/svml_s_powf16_core.S: New file.
793 * sysdeps/x86_64/fpu/svml_s_powf4_core.S: New file.
794 * sysdeps/x86_64/fpu/svml_s_powf8_core.S: New file.
795 * sysdeps/x86_64/fpu/svml_s_powf8_core_avx.S: New file.
796 * sysdeps/x86_64/fpu/svml_s_powf_data.S: New file.
797 * sysdeps/x86_64/fpu/svml_s_powf_data.h: New file.
798 * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector powf tests.
799 * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
800 * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
801 * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
802 * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
803 * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
804 * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
805 * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
806 * math/test-float-vlen16.h: Fixed 2 argument macro.
807 * math/test-float-vlen4.h: Likewise.
808 * math/test-float-vlen8.h: Likewise.
809 * NEWS: Mention addition of x86_64 vector powf.
811 2015-06-17 Joseph Myers <joseph@codesourcery.com>
813 * math/s_ctanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
815 * math/s_ctanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
817 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c: Remove file.
818 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
819 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
822 * resource/getpriority.c (getpriority): Rename to __getpriority
823 and define as weak alias of __getpriority.
824 * resource/setpriority.c (setpriority): Rename to __setpriority
825 and define as weak alias of __setpriority.
826 * sysdeps/mach/hurd/getpriority.c (getpriority): Rename to
827 __getpriority and define as weak alias of __getpriority.
828 * sysdeps/mach/hurd/setpriority.c (setpriority): Rename to
829 __setpriority and define as weak alias of __setpriority.
830 * sysdeps/unix/syscalls.list (getpriority): Use __getpriority as
832 (setpriority): Use __setpriority as strong name.
833 * sysdeps/unix/sysv/linux/getpriority.c (getpriority): Rename to
834 __getpriority and define as weak alias of __getpriority.
835 * include/sys/resource.h (__getpriority): Declare. Use
837 (__setpriority): Likewise.
838 (getpriority): Don't use libc_hidden_proto.
839 (setpriority): Likewise.
840 * sysdeps/posix/nice.c (nice): Call __getpriority instead of
841 getpriority. Call __setpriority instead of setpriority.
842 * conform/Makefile (test-xfail-XPG3/unistd.h/linknamespace):
846 * misc/getttyent.c (getttynam): Rename to __getttynam and define
847 as weak alias of __getttynam. Use prototype function definition.
848 Call __setttyent, __getttyent and __endttyent instead of
849 setttyent, getttyent and endttyent.
850 (getttyent): Rename to __getttyent and define as weak alias of
851 __getttyent. Call __setttyent instead of setttyent. Call
852 __fgets_unlocked instead of fgets_unlocked.
853 (setttyent): Rename to __setttyent and define as weak alias of
855 (endttyent): Rename to __endttyent and define as weak alias of
857 * include/ttyent.h (__getttyent): Declare. Use libc_hidden_proto.
858 (__setttyent): Likewise.
859 (__endttyent): Likewise.
860 (getttyent): Don't use libc_hidden_proto.
861 (setttyent): Likewise.
862 (endttyent): Likewise.
863 * misc/ttyslot.c (ttyslot): Call __setttyent, __getttyent and
864 __endttyent instead of setttyent, getttyent and endttyent.
865 * conform/Makefile (test-xfail-XPG4/unistd.h/linknamespace):
869 * socket/recv.c (__recv): Use libc_hidden_def.
870 * socket/socket.c (__socket): Likewise.
871 * sysdeps/mach/hurd/recv.c (__recv): Likewise.
872 * sysdeps/mach/hurd/socket.c (__socket): Likewise.
873 * sysdeps/unix/sysv/linux/generic/recv.c (__recv): Likewise.
874 * sysdeps/unix/sysv/linux/recv.c (__recv): Use libc_hidden_weak.
875 * sysdeps/unix/sysv/linux/socket.c (__socket): Use
877 * sysdeps/unix/sysv/linux/x86_64/recv.c (__recv): Use
879 * include/sys/socket.h (__socket): Do not use attribute_hidden.
880 Use libc_hidden_proto.
882 * socket/Versions (libc): Export __recv and __socket at version
884 * sysdeps/unix/sysv/linux/mq_notify.c (helper_thread): Call __recv
886 (init_mq_netlink): Call __socket instead of socket.
887 * conform/Makefile (test-xfail-POSIX/mqueue.h/linknamespace):
891 * rt/mq_timedreceive.c (mq_timedreceive): Rename to
892 __mq_timedreceive and define as alias of __mq_timedreceive. Use
894 * rt/mq_timedsend.c (mq_timedsend): Rename to __mq_timedsend and
895 define as alias of __mq_timedsend. Use hidden_weak.
896 * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Use
897 __mq_timedsend as strong name.
898 (mq_timedreceive): Use __mq_timedreceive as strong name.
899 * include/mqueue.h (__mq_timedsend): Declare. Use hidden_proto.
900 (__mq_timedreceive): Likewise.
901 * sysdeps/unix/sysv/linux/mq_receive.c (mq_receive): Call
902 __mq_timedreceive instead of mq_timedreceive.
903 * sysdeps/unix/sysv/linux/mq_send.c (mq_send): Call __mq_timedsend
904 instead of mq_timedsend.
905 * conform/Makefile (test-xfail-UNIX98/mqueue.h/linknamespace):
908 * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Use
909 hidden_def and hidden_weak instead of libc_hidden_def and
911 (top level): Refer to hidden_def in comment.
912 * sysdeps/unix/syscall-template.S (syscall_hidden_def): New
913 macro. Use it instead of libc_hidden_def.
914 * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Do not
915 specify __GI_* name explicitly.
916 (mq_timedreceive): Likewise.
917 (mq_setattr): Likewise.
920 * nptl/pthread_barrier_init.c (pthread_barrier_init): Rename to
921 __pthread_barrier_init and define as weak alias of
922 __pthread_barrier_init.
923 * sysdeps/sparc/nptl/pthread_barrier_init.c
924 (pthread_barrier_init): Likewise.
925 * nptl/pthread_barrier_wait.c (pthread_barrier_wait): Rename to
926 __pthread_barrier_wait and define as weak alias of
927 __pthread_barrier_wait.
928 * sysdeps/sparc/nptl/pthread_barrier_wait.c
929 (pthread_barrier_wait): Likewise.
930 * sysdeps/sparc/sparc32/pthread_barrier_wait.c
931 (pthread_barrier_wait): Likewise.
932 * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S
933 (pthread_barrier_wait): Likewise.
934 * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S
935 (pthread_barrier_wait): Likewise.
936 * nptl/Versions (libpthread): Export __pthread_barrier_init and
937 __pthread_barrier_wait at version GLIBC_PRIVATE.
938 * include/pthread.h (__pthread_barrier_init): Declare.
939 (__pthread_barrier_wait): Likewise.
940 * sysdeps/unix/sysv/linux/mq_notify.c (notification_function):
941 Call __pthread_barrier_wait instead of pthread_barrier_wait.
942 (helper_thread): Likewise.
943 (init_mq_netlink): Call __pthread_barrier_init instead of
944 pthread_barrier_init.
947 * libio/iovswscanf.c (__vswscanf): Use libc_hidden_def.
948 (vswscanf): Use ldbl_weak_alias instead of ldbl_strong_alias
949 * include/wchar.h (__vswscanf): Declare. Use libc_hidden_proto.
950 * libio/swscanf.c (__swscanf): Call __vswscanf instead of
952 * conform/Makefile (test-xfail-UNIX98/wchar.h/linknamespace):
956 * libio/iofflush.c [!_IO_MTSAFE_IO] (__fflush_unlocked): Define as
957 strong alias of _IO_fflush. Use libc_hidden_def.
958 * libio/iofflush_u.c (fflush_unlocked): Rename to
959 __fflush_unlocked and define as weak alias of __fflush_unlocked.
960 Use libc_hidden_weak.
961 * include/stdio.h (__fflush_unlocked): Declare. Use
963 * misc/getpass.c (getpass): Call __fflush_unlocked instead of
965 * conform/Makefile (test-xfail-UNIX98/unistd.h/linknamespace):
969 * stdlib/fmtmsg.c (addseverity): Rename to __addseverity and
970 define as weak alias of __addseverity.
971 * conform/Makefile (test-xfail-XPG4/fmtmsg.h/linknamespace):
973 (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
974 (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
975 (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
978 * misc/tsearch.c (__tsearch): Use libc_hidden_def.
980 (__tdelete): Likewise.
982 * misc/Versions (libc): Add __tdelete, __tfind, __tsearch and
983 __twalk to GLIBC_PRIVATE.
984 * include/search.h (__tsearch): Use libc_hidden_proto.
986 (__tdelete): Likewise.
988 * nptl/sem_close.c (sem_close): Call __twalk instead of twalk.
989 Call __tdelete instead of tdelete.
990 * nptl/sem_open.c (check_add_mapping): Call __tfind instead of
991 tfind. Call __tsearch instead of tsearch.
992 * sysdeps/sparc/sparc32/sem_open.c (check_add_mapping): Likewise.
993 * conform/Makefile (test-xfail-POSIX/semaphore.h/linknamespace):
995 (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
998 * stdio-common/dprintf.c (__dprintf): Use libc_hidden_def.
999 (dprintf): Define as a weak alias of __dprintf, not a strong
1001 * include/stdio.h (__dprintf): Declare. Use libc_hidden_proto.
1002 * misc/syslog.c (__vsyslog_chk): Call __dprintf instead of
1004 * conform/Makefile (test-xfail-XPG4/syslog.h/linknamespace):
1006 (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
1007 (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
1010 * misc/syslog.c (vsyslog): Define as a weak alias of __vsyslog,
1012 * conform/Makefile (test-xfail-XOPEN2K8/syslog.h/linknamespace):
1016 * inet/in6_addr.c (in6addr_any): Rename to __in6addr_any and
1017 define as weak alias of __in6addr_any. Use libc_hidden_data_weak.
1018 (in6addr_loopback): Rename to __in6addr_loopback and define as
1019 weak alias of __in6addr_loopback. Use libc_hidden_data_weak.
1020 * include/netinet/in.h (__in6addr_loopback): Declare. Use
1022 (__in6addr_any): Likewise.
1023 * inet/gethstbyad_r.c (PREPROCESS): Use __in6addr_any instead of
1025 * conform/Makefile (test-xfail-XPG4/netdb.h/linknamespace): Remove
1027 (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
1029 2015-06-17 Andrew Senkevich <andrew.senkevich@intel.com>
1031 * bits/libm-simd-decl-stubs.h: Added stubs for pow.
1032 * math/bits/mathcalls.h: Added pow declaration with __MATHCALL_VEC.
1033 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
1034 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
1035 redirections for pow.
1036 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
1037 * sysdeps/x86_64/fpu/Versions: New versions added.
1038 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
1039 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
1040 build of SSE, AVX2 and AVX512 IFUNC versions.
1041 * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Added 2 argument wrappers.
1042 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: New file.
1043 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S: New file.
1044 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: New file.
1045 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S: New file.
1046 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: New file.
1047 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S: New file.
1048 * sysdeps/x86_64/fpu/svml_d_pow2_core.S: New file.
1049 * sysdeps/x86_64/fpu/svml_d_pow4_core.S: New file.
1050 * sysdeps/x86_64/fpu/svml_d_pow4_core_avx.S: New file.
1051 * sysdeps/x86_64/fpu/svml_d_pow8_core.S: New file.
1052 * sysdeps/x86_64/fpu/svml_d_pow_data.S: New file.
1053 * sysdeps/x86_64/fpu/svml_d_pow_data.h: New file.
1054 * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector pow test.
1055 * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
1056 * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
1057 * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
1058 * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
1059 * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
1060 * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
1061 * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
1062 * NEWS: Mention addition of x86_64 vector pow.
1064 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
1065 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
1066 redirections for expf.
1067 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
1068 * sysdeps/x86_64/fpu/Versions: New versions added.
1069 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
1070 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
1071 build of SSE, AVX2 and AVX512 IFUNC versions.
1072 * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: New file.
1073 * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: New file.
1074 * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core.S: New file.
1075 * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S: New file.
1076 * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core.S: New file.
1077 * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S: New file.
1078 * sysdeps/x86_64/fpu/svml_s_expf16_core.S: New file.
1079 * sysdeps/x86_64/fpu/svml_s_expf4_core.S: New file.
1080 * sysdeps/x86_64/fpu/svml_s_expf8_core.S: New file.
1081 * sysdeps/x86_64/fpu/svml_s_expf8_core_avx.S: New file.
1082 * sysdeps/x86_64/fpu/svml_s_expf_data.S: New file.
1083 * sysdeps/x86_64/fpu/svml_s_expf_data.h: New file.
1084 * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector expf tests.
1085 * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
1086 * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
1087 * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
1088 * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
1089 * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
1090 * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
1091 * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
1092 * NEWS: Mention addition of x86_64 vector expf.
1094 * bits/libm-simd-decl-stubs.h: Added stubs for exp.
1095 * math/bits/mathcalls.h: Added exp declaration with __MATHCALL_VEC.
1096 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
1097 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
1098 redirections for exp.
1099 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
1100 * sysdeps/x86_64/fpu/Versions: New versions added.
1101 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
1102 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
1103 build of SSE, AVX2 and AVX512 IFUNC versions.
1104 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: New file.
1105 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S: New file.
1106 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: New file.
1107 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S: New file.
1108 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: New file.
1109 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S: New file.
1110 * sysdeps/x86_64/fpu/svml_d_exp2_core.S: New file.
1111 * sysdeps/x86_64/fpu/svml_d_exp4_core.S: New file.
1112 * sysdeps/x86_64/fpu/svml_d_exp4_core_avx.S: New file.
1113 * sysdeps/x86_64/fpu/svml_d_exp8_core.S: New file.
1114 * sysdeps/x86_64/fpu/svml_d_exp_data.S: New file.
1115 * sysdeps/x86_64/fpu/svml_d_exp_data.h: New file.
1116 * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector exp test.
1117 * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
1118 * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
1119 * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
1120 * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
1121 * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
1122 * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
1123 * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
1124 * NEWS: Mention addition of x86_64 vector exp.
1126 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
1127 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
1128 redirections for logf.
1129 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
1130 * sysdeps/x86_64/fpu/Versions: New versions added.
1131 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
1132 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
1133 build of SSE, AVX2 and AVX512 IFUNC versions.
1134 * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: New file.
1135 * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S: New file.
1136 * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core.S: New file.
1137 * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S: New file.
1138 * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core.S: New file.
1139 * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S: New file.
1140 * sysdeps/x86_64/fpu/svml_s_logf16_core.S: New file.
1141 * sysdeps/x86_64/fpu/svml_s_logf4_core.S: New file.
1142 * sysdeps/x86_64/fpu/svml_s_logf8_core.S: New file.
1143 * sysdeps/x86_64/fpu/svml_s_logf8_core_avx.S: New file.
1144 * sysdeps/x86_64/fpu/svml_s_logf_data.S: New file.
1145 * sysdeps/x86_64/fpu/svml_s_logf_data.h: New file.
1146 * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector logf tests.
1147 * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
1148 * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
1149 * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
1150 * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
1151 * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
1152 * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
1153 * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
1154 * NEWS: Mention addition of x86_64 vector logf.
1156 * bits/libm-simd-decl-stubs.h: Added stubs for log.
1157 * math/bits/mathcalls.h: Added log declaration with __MATHCALL_VEC.
1158 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
1159 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
1160 redirections for log.
1161 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
1162 * sysdeps/x86_64/fpu/Versions: New versions added.
1163 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
1164 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
1165 build of SSE, AVX2 and AVX512 IFUNC versions.
1166 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: New file.
1167 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S: New file.
1168 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: New file.
1169 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S: New file.
1170 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: New file.
1171 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S: New file.
1172 * sysdeps/x86_64/fpu/svml_d_log2_core.S: New file.
1173 * sysdeps/x86_64/fpu/svml_d_log4_core.S: New file.
1174 * sysdeps/x86_64/fpu/svml_d_log4_core_avx.S: New file.
1175 * sysdeps/x86_64/fpu/svml_d_log8_core.S: New file.
1176 * sysdeps/x86_64/fpu/svml_d_log_data.S: New file.
1177 * sysdeps/x86_64/fpu/svml_d_log_data.h: New file.
1178 * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector log
1180 * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
1181 * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
1182 * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
1183 * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
1184 * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
1185 * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
1186 * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
1187 * NEWS: Mention addition of x86_64 vector log.
1189 2015-06-17 Szabolcs Nagy <szabolcs.nagy@arm.com>
1191 * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Fix
1192 cfi_adjust_cfa_offset argument.
1193 (_dl_tlsdesc_undefweak, _dl_tlsdesc_dynamic): Likewise.
1194 (_dl_tlsdesc_resolve_rela, _dl_tlsdesc_resolve_hold): Likewise.
1197 * sysdeps/aarch64/dl-tlsdesc.h (_dl_tlsdesc_return_lazy): Declare.
1198 * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Define.
1199 (_dl_tlsdesc_undefweak): Guarantee TLSDESC entry and argument load-load
1200 ordering using ldar.
1201 (_dl_tlsdesc_dynamic): Likewise.
1202 (_dl_tlsdesc_return_lazy): Likewise.
1203 * sysdeps/aarch64/tlsdesc.c (_dl_tlsdesc_resolve_rela_fixup): Use
1204 relaxed atomics instead of volatile and synchronize with release store.
1205 (_dl_tlsdesc_resolve_hold_fixup): Use relaxed atomics instead of
1207 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
1209 2015-06-15 Andrew Senkevich <andrew.senkevich@intel.com>
1211 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
1212 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for sinf.
1213 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
1214 * sysdeps/x86_64/fpu/Versions: New versions added.
1215 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
1216 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
1217 build of SSE, AVX2 and AVX512 IFUNC versions.
1218 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: New file.
1219 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S: New file.
1220 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core.S: New file.
1221 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S: New file.
1222 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core.S: New file.
1223 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S: New file.
1224 * sysdeps/x86_64/fpu/svml_s_sinf16_core.S: New file.
1225 * sysdeps/x86_64/fpu/svml_s_sinf4_core.S: New file.
1226 * sysdeps/x86_64/fpu/svml_s_sinf8_core.S: New file.
1227 * sysdeps/x86_64/fpu/svml_s_sinf8_core_avx.S: New file.
1228 * sysdeps/x86_64/fpu/svml_s_sinf_data.S: New file.
1229 * sysdeps/x86_64/fpu/svml_s_sinf_data.h: New file.
1230 * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector sinf tests.
1231 * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
1232 * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
1233 * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
1234 * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
1235 * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
1236 * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
1237 * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
1238 * NEWS: Mention addition of x86_64 vector sinf.
1240 2015-06-14 Joseph Myers <joseph@codesourcery.com>
1242 * conform/list-header-symbols.pl (%extra_syms): Add in6addr_any
1243 and in6addr_loopback for XOPEN2K, XOPEN2K8 and POSIX2008.
1244 * conform/Makefile (test-xfail-XOPEN2K/netdb.h/linknamespace):
1246 (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
1247 (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
1249 2015-06-12 Joseph Myers <joseph@codesourcery.com>
1252 * libio/iofputs.c [!_IO_MTSAFE_IO] (__fputs_unlocked): Define as
1253 strong alias of _IO_fputs. Use libc_hidden_def.
1254 * libio/iofputs_u.c (fputs_unlocked): Rename to __fputs_unlocked
1255 and define as weak alias of __fputs_unlocked. Use
1257 * include/stdio.h (__fputs_unlocked): Declare. Use
1259 * misc/syslog.c (__vsyslog_chk): Call __fputs_unlocked instead of
1263 * resolv/netdb.h [__USE_POSIX]: Change condition to
1265 * conform/data/netdb.h-data [XPG4 || UNIX98] (struct addrinfo): Do
1267 [XPG4 || UNIX98] (AI_PASSIVE): Likewise.
1268 [XPG4 || UNIX98] (AI_CANONNAME): Likewise.
1269 [XPG4 || UNIX98] (AI_NUMERICHOST): Likewise.
1270 [XPG4 || UNIX98] (AI_V4MAPPED): Likewise.
1271 [XPG4 || UNIX98] (AI_ALL): Likewise.
1272 [XPG4 || UNIX98] (AI_ADDRCONFIG): Likewise.
1273 [XPG4 || UNIX98] (AI_NUMERICSERV): Likewise.
1274 [XPG4 || UNIX98] (NI_NOFQDN): Likewise.
1275 [XPG4 || UNIX98] (NI_NUMERICHOST): Likewise.
1276 [XPG4 || UNIX98] (NI_NAMEREQD): Likewise.
1277 [XPG4 || UNIX98] (NI_NUMERICSERV): Likewise.
1278 [XPG4 || UNIX98] (NI_DGRAM): Likewise.
1279 [XPG4 || UNIX98] (EAI_AGAIN): Likewise.
1280 [XPG4 || UNIX98] (EAI_BADFLAGS): Likewise.
1281 [XPG4 || UNIX98] (EAI_FAIL): Likewise.
1282 [XPG4 || UNIX98] (EAI_FAMILY): Likewise.
1283 [XPG4 || UNIX98] (EAI_MEMORY): Likewise.
1284 [XPG4 || UNIX98] (EAI_NONAME): Likewise.
1285 [XPG4 || UNIX98] (EAI_SERVICE): Likewise.
1286 [XPG4 || UNIX98] (EAI_SOCKTYPE): Likewise.
1287 [XPG4 || UNIX98] (EAI_SYSTEM): Likewise.
1288 [XPG4 || UNIX98] (EAI_SYSTEM): Likewise.
1289 [XPG4 || UNIX98] (freeaddrinfo): Likewise.
1290 [XPG4 || UNIX98] (gai_strerror): Likewise.
1291 [XPG4 || UNIX98] (getaddrinfo): Likewise.
1292 [XPG4 || UNIX98] (getnameinfo): Likewise.
1295 * grp/grp.h (endgrent): Condition on [__USE_MISC ||
1296 __USE_XOPEN_EXTENDED], not [__USE_XOPEN_EXTENDED ||
1298 (getgrent): Likewise.
1299 * conform/data/grp.h-data [XPG3 || POSIX2008] (getgrent): Do not
1301 [XPG3 || POSIX2008] (endgrent): Likewise.
1302 [XPG3] (setgrent): Likewise.
1303 * conform/Makefile (test-xfail-XPG3/grp.h/conform): Remove
1305 (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
1308 * login/getlogin_r.c (getlogin_r): Rename to __getlogin_r and
1309 define as weak alias of __getlogin_r. Use libc_hidden_weak.
1310 * sysdeps/mach/hurd/getlogin_r.c (getlogin_r): Likewise.
1311 * sysdeps/unix/getlogin_r.c (getlogin_r): Likewise.
1312 * sysdeps/unix/sysv/linux/getlogin_r.c (getlogin_r): Likewise.
1313 * include/unistd.h (__getlogin_r): Declare. Use
1315 * posix/glob.c (glob): Call __getlogin_r instead of getlogin_r.
1316 * conform/Makefile (test-xfail-XPG3/glob.h/linknamespace): Remove
1318 (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
1319 (test-xfail-XPG4/glob.h/linknamespace): Likewise.
1320 (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
1322 2015-06-12 Martin Sebor <msebor@redhat.com>
1325 * Makerules (check-install-supported): New target.
1326 (install): Add check-install-supported as a dependency.
1327 * manual/install.texi (Installing the C Library): Document
1328 that overriding prefix and exec_prefix is not supported.
1330 * INSTALL: Regenerate from the above.
1332 2015-06-12 Joseph Myers <joseph@codesourcery.com>
1335 * posix/Versions (libc): Export __libc_pread at version
1337 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Call __libc_pread
1339 * conform/Makefile (test-xfail-POSIX/aio.h/linknamespace): Remove
1344 [LONG_DOUBLE_COMPAT (libc, GLIBC_2_0) && !LONG_DOUBLE_CVT]
1345 (cvt_symbol): Use weak_alias instead of strong_alias.
1346 [LONG_DOUBLE_COMPAT (libc, GLIBC_2_0)] (cvt_symbol): Likewise.
1347 * conform/Makefile (test-xfail-XPG4/stdlib.h/linknamespace):
1349 (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
1350 (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
1353 * inet/herrno.c (h_errno): Rename to __h_errno.
1354 (__libc_h_errno): Define as alias of __h_errno not h_errno.
1355 * include/netdb.h [IS_IN_LIB && !IS_IN (libc)] (h_errno): Define
1356 to __h_errno instead of h_errno.
1357 * nptl/herrno.c (h_errno): Rename to __h_errno.
1358 (__h_errno_location): Refer to __h_errno not h_errno.
1359 * resolv/Versions (h_errno): Rename to __h_errno.
1360 * conform/Makefile (test-xfail-XOPEN2K8/grp.h/linknamespace):
1362 (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
1364 2015-06-11 Andrew Senkevich <andrew.senkevich@intel.com>
1366 * configure.ac: More strict check for AVX512 assembler support.
1367 * configure: Regenerated.
1369 * bits/libm-simd-decl-stubs.h: Added stubs for sin.
1370 * math/bits/mathcalls.h: Added sin declaration with __MATHCALL_VEC.
1371 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
1372 * sysdeps/x86/fpu/bits/math-vector.h: SIMD declaration for sin.
1373 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
1374 * sysdeps/x86_64/fpu/Versions: New versions added.
1375 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
1376 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
1377 Added build of SSE, AVX2 and AVX512 IFUNC versions.
1378 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: New file.
1379 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S: New file.
1380 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: New file.
1381 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S: New file.
1382 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: New file.
1383 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S: New file.
1384 * sysdeps/x86_64/fpu/svml_d_sin2_core.S: New file.
1385 * sysdeps/x86_64/fpu/svml_d_sin4_core.S: New file.
1386 * sysdeps/x86_64/fpu/svml_d_sin4_core_avx.S: New file.
1387 * sysdeps/x86_64/fpu/svml_d_sin8_core.S: New file.
1388 * sysdeps/x86_64/fpu/svml_d_sin_data.S: New file.
1389 * sysdeps/x86_64/fpu/svml_d_sin_data.h: New file.
1390 * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector sin
1392 * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
1393 * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
1394 * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
1395 * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
1396 * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
1397 * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
1398 * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
1399 * NEWS: Mention addition of x86_64 vector sin.
1401 2015-06-11 Florian Weimer <fweimer@redhat.com>
1403 * nptl/pthread_key_create.c (__pthread_key_create): Fix typo in
1406 2015-06-10 Gleb Fotengauer-Malinovskiy <glebfm@altlinux.org>
1409 * nptl/pt-interp.c: New file.
1410 * nptl/Makefile (libpthread-routines, libpthread-shared-only-routines):
1412 [[$(build-shared) = yes] ($(objpfx)pt-interp.os): Depend on
1413 $(common-objpfx)runtime-linker.h.
1415 2015-06-10 Dmitry V. Levin <ldv@altlinux.org>
1417 * Makeconfig (+interp): Remove unused variable.
1418 * elf/Makefile ($(objpfx)interp.os): Define for [$(build-shared) = yes]
1419 only. Depend on $(common-objpfx)runtime-linker.h instead of
1420 $(elf-objpfx)runtime-linker.h.
1421 ($(elf-objpfx)runtime-linker.h): Rename to
1422 $(common-objpfx)runtime-linker.h and move ...
1423 * Makerules [$(build-shared) = yes]: ... here.
1424 * elf/interp.c: Include <runtime-linker.h> instead of
1425 <elf/runtime-linker.h>.
1427 2015-06-09 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1429 * sysdeps/unix/sysv/linux/i386/gettimeofday.c
1430 (__gettimeofday_syscall): Remove vsyscall fallback.
1431 * sysdeps/unix/sysv/linux/i386/time.c (__time_syscall): Likewise.
1432 * sysdeps/unix/sysv/linux/x86/gettimeofday.c (__gettimeofday_syscall):
1433 Add syscall fallback function.
1434 (gettimeofday_ifunc): Use __gettimeofday_syscall as fallback mechanism
1435 if vDSO is not present.
1436 * sysdeps/unix/sysv/linux/x86/time.c (__time_syscall): Add syscall
1438 (time_ifunc): Use __time_syscall as fallback mechanism if vDSO is not
1440 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Remove file.
1441 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
1443 2015-06-09 Joseph Myers <joseph@codesourcery.com>
1446 * wcsmbs/wcscmp.c [!WCSCMP] (WCSCMP): Define as __wcscmp instead
1448 (wcscmp): Define as weak alias of WCSCMP.
1449 * wcsmbs/wcscoll.c (STRCOLL): Define as __wcscoll instead of
1451 (USE_HIDDEN_DEF): Define.
1452 [!USE_IN_EXTENDED_LOCALE_MODEL] (wcscoll): Define as weak alias of
1453 __wcscoll. Don't use libc_hidden_weak.
1454 * wcsmbs/wcscoll_l.c (STRCMP): Define as __wcscmp instead of
1456 * sysdeps/i386/i686/multiarch/wcscmp-c.c
1457 [SHARED] (libc_hidden_def): Define __GI___wcscmp instead of
1459 (weak_alias): Undefine and redefine.
1460 * sysdeps/i386/i686/multiarch/wcscmp.S (wcscmp): Rename to
1461 __wcscmp and define as weak alias of __wcscmp.
1462 * sysdeps/x86_64/wcscmp.S (wcscmp): Likewise.
1463 * include/wchar.h (__wcscmp): Declare. Use libc_hidden_proto.
1464 (__wcscoll): Likewise.
1465 (wcscmp): Don't use libc_hidden_proto.
1466 (wcscoll): Likewise.
1467 * posix/regcomp.c (build_range_exp): Call __wcscoll instead of
1469 * posix/regexec.c (check_node_accept_bytes): Likewise.
1470 * conform/Makefile (test-xfail-XPG3/regex.h/linknamespace): Remove
1472 (test-xfail-XPG4/regex.h/linknamespace): Likewise.
1473 (test-xfail-POSIX/regex.h/linknamespace): Likewise.
1476 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs): Rename to
1477 __fstatvfs and define as weak alias of __fstatvfs. Use
1479 * sysdeps/unix/sysv/linux/statvfs.c (statvs): Rename to __statvfs
1480 and define as weak alias of __statvfs. Use libc_hidden_weak.
1481 * sysdeps/unix/sysv/linux/wordsize-64/fstatvfs.c (__fstatvfs64):
1482 Define as alias of __fstatvfs, not fstatvfs.
1483 (fstatvfs64): Likewise.
1484 * sysdeps/unix/sysv/linux/wordsize-64/statvfs.c (__statvfs64):
1485 Define as alias of __statvfs, not statvfs.
1486 (statvfs64): Likewise.
1487 * conform/Makefile (test-xfail-POSIX/unistd.h/linknamespace):
1490 2015-06-09 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1492 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
1493 (HAVE_GETCPU_VSYSCALL): Define.
1494 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
1495 (HAVE_GETCPU_VSYSCALL): Likewise.
1496 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Remove file.
1497 * sysdeps/unix/sysv/linux/sched_getcpu.c
1498 (HAVE_VSYSCALL) [HAVE_GETCPU_VSYSCALL]: Define.
1499 (sched_getcpu): Use INLINE_VSYSCALL instead of INLINE_SYSCALL.
1500 * sysdeps/unix/sysv/linux/x86/libc-vdso.h (getcpu): Add vDSO
1502 * sysdeps/unix/sysv/linux/x86_64/init-first.c
1503 (__vdso_platform_setup): Remove vsyscall getcpu fallback.
1504 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Remove file.
1505 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (HAVE_GETCPU_VSYSCALL):
1507 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: Remove file.
1508 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
1509 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c: Likewise.
1510 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
1512 2015-06-09 Andrew Senkevich <andrew.senkevich@intel.com>
1514 * sysdeps/x86_64/fpu/Makefile: New file.
1515 * sysdeps/x86_64/fpu/Versions: New file.
1516 * sysdeps/x86_64/fpu/svml_d_cos_data.S: New file.
1517 * sysdeps/x86_64/fpu/svml_d_cos_data.h: New file.
1518 * sysdeps/x86_64/fpu/svml_d_cos2_core.S: New file.
1519 * sysdeps/x86_64/fpu/svml_d_cos4_core.S: New file.
1520 * sysdeps/x86_64/fpu/svml_d_cos4_core_avx.S: New file.
1521 * sysdeps/x86_64/fpu/svml_d_cos8_core.S: New file.
1522 * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: New file.
1523 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: New file.
1524 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S: New file.
1525 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: New file.
1526 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S: New file.
1527 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: New file.
1528 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: New file.
1529 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
1530 Added build of SSE, AVX2 and AVX512 IFUNC versions.
1531 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for cos.
1532 * math/bits/mathcalls.h: Added cos declaration with __MATHCALL_VEC.
1533 * sysdeps/x86_64/configure.ac: Options for libmvec build.
1534 * sysdeps/x86_64/configure: Regenerated.
1535 * sysdeps/x86_64/sysdep.h (cfi_offset_rel_rsp): New macro.
1536 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New file.
1537 * manual/install.texi (Configuring and compiling): Document
1539 * INSTALL: Regenerated.
1540 * NEWS: Mention addition of libmvec and x86_64 vector cos.
1542 * math/Makefile: Added rules for vector tests.
1543 * math/gen-libm-have-vector-test.sh: Added generation of wrapper
1544 declaration under condition.
1545 * math/test-double-vlen2.h: New file.
1546 * math/test-double-vlen4.h: New file.
1547 * math/test-double-vlen8.h: New file.
1548 * math/test-vec-loop.h: Added initialization macro.
1549 * sysdeps/x86_64/fpu/Makefile: Added variables for vector tests.
1550 * sysdeps/x86_64/fpu/libm-test-ulps: Regenarated.
1551 * sysdeps/x86_64/fpu/math-tests-arch.h: New file.
1552 * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: New file.
1553 * sysdeps/x86_64/fpu/test-double-vlen2.c: New file.
1554 * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: New file.
1555 * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: New file.
1556 * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: New file.
1557 * sysdeps/x86_64/fpu/test-double-vlen4.c: New file.
1558 * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: New file.
1559 * sysdeps/x86_64/fpu/test-double-vlen8.c: New file.
1561 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
1562 * sysdeps/x86_64/fpu/Versions: New versions added.
1563 * sysdeps/x86_64/fpu/svml_s_cosf4_core.S: New file.
1564 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core.S: New file.
1565 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S: New file.
1566 * sysdeps/x86_64/fpu/svml_s_cosf8_core_avx.S: New file.
1567 * sysdeps/x86_64/fpu/svml_s_cosf8_core.S: New file.
1568 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core.S: New file.
1569 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S: New file.
1570 * sysdeps/x86_64/fpu/svml_s_cosf16_core.S: New file.
1571 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: New file.
1572 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S: New file.
1573 * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: New file.
1574 * sysdeps/x86_64/fpu/svml_s_cosf_data.S: New file.
1575 * sysdeps/x86_64/fpu/svml_s_cosf_data.h: New file.
1576 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
1577 Added build of SSE, AVX2 and AVX512 IFUNC versions.
1578 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
1579 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for cosf.
1580 * NEWS: Mention addition of x86_64 vector cosf.
1582 * math/Makefile: Added CFLAGS for new tests.
1583 * math/test-float-vlen16.h: New file.
1584 * math/test-float-vlen4.h: New file.
1585 * math/test-float-vlen8.h: New file.
1586 * math/test-double-vlen2.h: Fixed 2 argument macro and comment.
1587 * sysdeps/x86_64/fpu/Makefile: Added new tests and variables.
1588 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
1589 * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: New file.
1590 * sysdeps/x86_64/fpu/test-float-vlen16.c: New file.
1591 * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: New file.
1592 * sysdeps/x86_64/fpu/test-float-vlen4.c: New file.
1593 * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: New file.
1594 * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: New file.
1595 * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: New file.
1596 * sysdeps/x86_64/fpu/test-float-vlen8.c: New file.
1598 2015-06-09 Marko Myllynen <myllynen@redhat.com>
1600 * locale/C-ctype.c (PREDEFINED_CLASSES): Remove.
1601 * locale/programs/ld-ctype.c: Likewise.
1603 2015-06-08 Andrew Senkevich <andrew.senkevich@intel.com>
1605 * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX512F_Usable,
1606 bit_AVX512DQ_Usable, bit_Opmask_state, bit_ZMM0_15_state,
1607 bit_ZMM16_31_state): New macro.
1608 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
1609 Check and set bit_AVX512F_Usable, bit_AVX512DQ_Usable.
1611 2015-06-08 Joseph Myers <joseph@codesourcery.com>
1613 * include/stdio.h (__open_memstream): Say "C++ tests" in comment.
1615 2015-06-06 Justus Winter <4winter@informatik.uni-hamburg.de>
1617 * mach/mach/mach_traps.h (thread_switch): Fix typo in comment.
1619 2015-06-05 Joseph Myers <joseph@codesourcery.com>
1622 * libio/memstream.c (open_memstream): Rename to __open_memstream
1623 and define as weak alias of __open_memstream.
1624 * include/stdio.h (__open_memstream): Declare. Use
1626 (open_memstream): Don't use libc_hidden_proto.
1627 * misc/syslog.c (__vsyslog_chk): Call __open_memstream instead of
1629 * posix/getopt.c (_getopt_internal_r): Likewise.
1630 * conform/Makefile (test-xfail-XPG3/stdio.h/linknamespace): Remove
1632 (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
1633 (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
1634 (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
1637 * posix/regex_internal.c (build_wcs_upper_buffer): Call __wcrtomb
1641 * signal/signal.h [__USE_XOPEN2K] (psignal): Change condition to
1642 [__USE_XOPEN2K8]. Remove redundant #endif.
1643 [__USE_XOPEN2K] (psiginfo): Change condition to [__USE_XOPEN2K8].
1644 Remove redundant #if.
1645 * conform/Makefile (test-xfail-XOPEN2K/signal.h/linknamespace):
1647 (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
1648 (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
1651 * wctype/wcfuncs.c (__iswalnum): Use libc_hidden_def.
1652 (__iswlower): Likewise.
1653 * include/wctype.h (__iswalnum): Declare. Use libc_hidden_proto.
1654 (__iswlower): Likewise.
1655 * posix/regcomp.c (re_compile_fastmap_iter): Call __towlower
1656 instead of towlower.
1657 * posix/regex_internal.c (build_wcs_upper_buffer): Call __iswlower
1658 instead of iswlower. Call __towupper instead of towupper.
1659 * posix/regex_internal.h (IS_WIDE_WORD_CHAR): Call __iswalnum
1660 instead of iswalnum.
1662 2015-06-05 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
1664 * malloc/tst-malloc-backtrace.c (do_test): Redirect libc fatal
1667 2015-06-05 Florian Weimer <fweimer@redhat.com>
1671 * sysdeps/posix/posix_fallocate64.c (__posix_fallocate64_l64):
1672 Check for overflow properly. Check for O_APPEND. Ignore large
1673 file system block sizes. Add comments about problems.
1674 * sysdeps/posix/posix_fallocate.c (posix_fallocate): Likewise.
1675 * manual/filesys.texi (Storage Allocation): New node.
1677 2015-06-04 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1679 * sysdeps/unix/sysdep.h [SYSCALL_CANCEL]: New macro: define
1680 cancellable syscalls.
1681 (SYS_ify): Add guard to no redefine it.
1682 (INLINE_SYSCALL): Likewise.
1683 * sysdeps/unix/sysv/linux/accept4.c (accept4): Remove
1684 LIBC_CANCEL_ASYNC/INLINE_SYSCALL/LIBC_CANCEL_RESET and use
1685 SYSCALL_CANCEL instead.
1686 * sysdeps/unix/sysv/linux/alpha/fdatasync.c (__fdatasync): Likewise.
1687 * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
1688 * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
1689 * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
1690 * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
1691 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Likewise.
1692 * sysdeps/unix/sysv/linux/fallocate.c (fallocate): Likewise.
1693 * sysdeps/unix/sysv/linux/fallocate64.c (fallocate64): Likewise.
1694 * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
1695 * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
1696 * sysdeps/unix/sysv/linux/generic/pause.c (__libc_pause): Likewise.
1697 * sysdeps/unix/sysv/linux/generic/poll.c (__poll): Likewise.
1698 * sysdeps/unix/sysv/linux/generic/recv.c (__libc_recv): Likewise.
1699 * sysdeps/unix/sysv/linux/generic/select.c (__select): Likewise.
1700 * sysdeps/unix/sysv/linux/generic/send.c (__libc_send): Likewise.
1701 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
1703 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
1704 (__libc_pread64): Likewise.
1705 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c
1706 (__libc_preadv): Likewise.
1707 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c
1708 (__libc_readv64): Likewise.
1709 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
1710 (__libc_pwrite): Likewise.
1711 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
1712 (__libc_pwrite64): Likewise.
1713 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c
1714 (__libc_pwritev): Likewise.
1715 * sysdeps/sysv/linux/generic/wordsize-32/pwritev64.c
1716 (__libc_pwritev64): Likewise.
1717 * sysdeps/unix/sysv/linux/i386/fcntl.c (__libc_fcntl): Likewise.
1718 * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c
1719 (sync_file_range): Likewise.
1720 * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate.c (fallocate):
1722 * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate64.c (fallocate64):
1724 * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
1725 * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
1726 * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
1727 * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
1728 * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
1729 * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
1730 * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
1731 * sysdeps/unix/sysv/linux/openat.c (__libc_openat): Likewise.
1732 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
1734 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
1735 (__libc_read64): Likewise.
1736 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_write):
1738 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c (__libc_write64):
1740 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fcntl.c (__libc_fcntl):
1742 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c (__libc_pread):
1744 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
1745 (__libc_pread64): Likewise.
1746 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c (__libc_pwrite):
1748 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
1749 (__libc_pwrite64): Likewise.
1750 * sysdeps/sysv/linux/powerpc/powerpc64/sync_file_range.c
1751 (sync_file_range): Likewise.
1752 * sysdeps/unix/sysv/linux/ppoll.c (ppoll): Likewise.
1753 * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
1754 * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
1755 * sysdeps/unix/sysv/linux/preadv.c (__libc_preadv): Likewise.
1756 * sysdeps/unix/sysv/linux/pselect.c (__pselect): Likewise.
1757 * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
1758 * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
1759 * sysdeps/unix/sysv/linux/pwritev.c (PWRITEV): Likewise.
1760 * sysdeps/unix/sysv/linux/readv.c (__libc_readv): Likewise.
1761 * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
1762 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
1763 * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
1764 * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
1765 * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
1766 * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_pwrite64): Likewise.
1767 * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
1768 * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
1769 * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
1770 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
1772 * sysdeps/unix/sysv/linux/sync_file_range.c (sync_file_range):
1774 * sysdeps/unix/sysv/linux/tcdrain.c (__libc_tcdrain): Likewise.
1775 * sysdeps/unix/sysv/linux/timer_routines.c (timer_helper_thread):
1777 * sysdeps/unix/sysv/linux/wait.c (__libc_wait): Likewise.
1778 * sysdeps/unix/sysv/linux/waitid.c (__waitid): Likewise.
1779 * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Likewise.
1780 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c (fallocate):
1782 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c (preadv): Likewise.
1783 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c (pwritev): Likewise.
1784 * sysdeps/unix/sysv/linux/writev.c (__libc_writev): Likewise.
1785 * sysdeps/unix/sysv/linux/x86_64/recv.c (__libc_recv): Likewise.
1786 * sysdeps/unix/sysv/linux/x86_64/send.c (__libc_send): Likewise.
1788 2015-06-04 Nathan Lynch <nathan_lynch@codesourcery.com>
1790 * sysdeps/unix/sysv/linux/arm/Makefile: (sysdep_routines):
1792 * sysdeps/unix/sysv/linux/arm/init-first.c: New file:
1793 Use VDSO routines for gettimeofday, clock_gettime if
1795 * sysdeps/unix/sysv/linux/arm/libc-vdso.h: New file:
1796 Declare VDSO symbols.
1797 * sysdeps/unix/sysv/linux/arm/sysdep.h:
1798 [HAVE_GETTIMEOFDAY_VSYSCALL]: Define.
1799 [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
1800 * sysdeps/unix/sysv/linux/arm/Versions: Add
1801 __vdso_clock_gettime.
1803 2015-06-04 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1805 * sysdeps/unix/sysv/linux/not-cancel.h (open_not_cancel): Rewrite to
1806 be an inline implementation regardless of library is built within.
1807 (open_not_cancel_2): Likewise.
1808 (__read_nocancel): Likewise.
1809 (__write_nocancel): Likewise.
1810 (openat_not_cancel): Likewise.
1811 (openat_not_cancel_3): Likewise.
1812 (openat64_not_cancel): Likewise.
1813 (openat64_not_cancel_3): Likewise.
1814 (__close_nocancel): Likewise.
1815 (pause_not_cancel): Likewise.
1816 (nanosleep_not_cancel): Likewise.
1817 (sigsuspend_not_cancel): Likewise.
1819 2015-06-04 Torvald Riegel <triegel@redhat.com>
1822 * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock): Add missing
1824 (__pthread_rwlock_rdlock_slow): Likewise.
1825 * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
1827 * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
1829 * nptl/pthread_rwlock_unlock.c (__pthread_rwlock_unlock): Add comments.
1830 * nptl/tst-rwlock16.c: New file.
1831 * nptl/Makefile (tests): Add new test.
1833 2015-06-04 Torvald Riegel <triegel@redhat.com>
1836 * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock): Add
1837 missing wake-up of readers.
1838 * nptl/tst-rwlock15.c: New file.
1839 * nptl/Makefile (tests): Add new test.
1841 2015-06-03 Roland McGrath <roland@hack.frob.com>
1843 * sysdeps/nacl/nacl-interfaces.c (try_supply): New static function.
1844 (PASTE_NAME (__nacl_supply_interface_, MODULE_NAME)): New function.
1845 * sysdeps/nacl/nacl-interfaces.h: Declare __nacl_supply_interface_libc
1846 and __nacl_supply_interface_rtld.
1847 * sysdeps/nacl/nacl_interface_ext_supply.c: New file.
1848 * sysdeps/nacl/Makefile [$(subdir) = csu] (sysdep_routines): Add it.
1849 * sysdeps/nacl/Versions (ld: GLIBC_PRIVATE):
1850 Add __nacl_supply_interface_rtld.
1851 (libc: GLIBC_2.22): Add nacl_interface_ext_supply.
1853 2015-06-03 Wilco Dijkstra <wdijkstr@arm.com>
1855 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Replace finite with
1857 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
1858 * sysdeps/ieee754/ldbl-opt/nldbl-finite.c (__finitel): Likewise.
1860 2015-06-03 Wilco Dijkstra <wdijkstr@arm.com>
1862 * math/e_exp10.c: Replace __isinf*, __isnan*, __finite* and
1863 __signbit* with standard C99 macros.
1864 * math/e_exp10l.c: Likewise.
1865 * math/e_exp2l.c: Likewise.
1866 * math/e_scalb.c: Likewise.
1867 * math/e_scalbf.c: Likewise.
1868 * math/e_scalbl.c: Likewise.
1869 * math/s_ldexp.c: Likewise.
1870 * math/s_ldexpf.c: Likewise.
1871 * math/s_ldexpl.c: Likewise.
1872 * math/w_atan2.c: Likewise.
1873 * math/w_atan2f.c: Likewise.
1874 * math/w_atan2l.c: Likewise.
1875 * math/w_cosh.c: Likewise.
1876 * math/w_coshf.c: Likewise.
1877 * math/w_coshl.c: Likewise.
1878 * math/w_exp10.c: Likewise.
1879 * math/w_exp10f.c: Likewise.
1880 * math/w_exp10l.c: Likewise.
1881 * math/w_exp2.c: Likewise.
1882 * math/w_exp2f.c: Likewise.
1883 * math/w_exp2l.c: Likewise.
1884 * math/w_fmod.c: Likewise.
1885 * math/w_fmodf.c: Likewise.
1886 * math/w_fmodl.c: Likewise.
1887 * math/w_hypot.c: Likewise.
1888 * math/w_hypotf.c: Likewise.
1889 * math/w_hypotl.c: Likewise.
1890 * math/w_jnl.c: Likewise.
1891 * math/w_lgamma.c: Likewise.
1892 * math/w_lgamma_r.c: Likewise.
1893 * math/w_lgammaf.c: Likewise.
1894 * math/w_lgammaf_r.c: Likewise.
1895 * math/w_lgammal.c: Likewise.
1896 * math/w_lgammal_r.c: Likewise.
1897 * math/w_pow.c: Likewise.
1898 * math/w_powf.c: Likewise.
1899 * math/w_powl.c: Likewise.
1900 * math/w_remainder.c: Likewise.
1901 * math/w_remainderf.c: Likewise.
1902 * math/w_remainderl.c: Likewise.
1903 * math/w_scalb.c: Likewise.
1904 * math/w_scalbf.c: Likewise.
1905 * math/w_scalbl.c: Likewise.
1906 * math/w_scalbln.c: Likewise.
1907 * math/w_scalblnf.c: Likewise.
1908 * math/w_scalblnl.c: Likewise.
1909 * math/w_sinh.c: Likewise.
1910 * math/w_sinhf.c: Likewise.
1911 * math/w_sinhl.c: Likewise.
1912 * math/w_tgamma.c: Likewise.
1913 * math/w_tgammaf.c: Likewise.
1914 * math/w_tgammal.c: Likewise.
1915 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
1916 * sysdeps/ieee754/dbl-64/e_exp10.c: Likewise.
1917 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
1918 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
1919 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
1920 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
1921 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
1922 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
1923 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
1924 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
1925 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
1926 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
1927 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
1928 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
1929 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
1930 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
1931 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
1932 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
1933 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
1934 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
1935 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
1936 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
1937 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
1938 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
1939 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
1940 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
1941 * sysdeps/ieee754/ldbl-128ibm/w_expl.c: Likewise.
1942 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
1943 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
1944 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
1945 * sysdeps/ieee754/ldbl-opt/nldbl-finite.c: Likewise.
1946 * sysdeps/ieee754/ldbl-opt/nldbl-isinf.c: Likewise.
1947 * sysdeps/ieee754/ldbl-opt/nldbl-isnan.c: Likewise.
1948 * sysdeps/ieee754/ldbl-opt/nldbl-signbit.c: Likewise.
1949 * stdio-common/printf_fp.c: Likewise.
1950 * stdio-common/printf_fphex.c: Likewise.
1951 * stdio-common/printf_size.c: Likewise.
1953 2015-06-03 Joseph Myers <joseph@codesourcery.com>
1956 * posix/fnmatch.c (fnmatch) [_LIBC]: Call __strnlen instead of
1958 * conform/Makefile (test-xfail-XPG3/fnmatch.h/linknamespace):
1960 (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
1961 (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
1962 (test-xfail-POSIX/glob.h/linknamespace): Likewise.
1963 (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
1964 (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
1965 (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
1966 (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
1967 (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
1968 (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
1969 (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
1972 * wcsmbs/wmemchr.c (wmemchr): Rename to __wmemchr and define as
1973 weak alias of __wmemchr. Use libc_hidden_weak.
1974 * include/wchar.h (__wmemchr): Declare. Use libc_hidden_proto.
1975 * posix/fnmatch.c [HANDLE_MULTIBYTE] (MEMCHR): Use __wmemchr
1978 2015-06-02 Roland McGrath <roland@hack.frob.com>
1981 * elf/tst-tlsalign-extern.c: New file.
1982 * elf/tst-tlsalign-extern-static.c: New file.
1983 * elf/tst-tlsalign-vars.c: New file.
1984 * elf/Makefile (tests-static): Add tst-tlsalign-extern-static.
1985 [$(build-shared) = yes] (tests): Add tst-tlsalign-extern.
1986 ($(objpfx)tst-tlsalign-extern): Depend on tst-tlsalign-vars.o.
1987 ($(objpfx)tst-tlsalign-extern-static): Likewise.
1988 (test-xfail-tst-tlsalign-extern-static): New variable.
1990 2015-06-02 Joseph Myers <joseph@codesourcery.com>
1992 * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h (INLINE_SYSCALL):
1993 Use variable name _sc_err instead of err.
1994 [__mips16] (INTERNAL_SYSCALL_NCS): Use variable name _sc_ret
1996 * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h
1997 (INLINE_SYSCALL): Use variable name _sc_err instead of err.
1998 * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h
1999 (INLINE_SYSCALL): Likewise.
2001 * string/strnlen.c [!STRNLEN] (__strnlen): Use libc_hidden_def.
2002 * include/string.h (__strnlen): Use libc_hidden_proto.
2003 * sysdeps/aarch64/strnlen.S (__strnlen): Use libc_hidden_def.
2004 * sysdeps/i386/i686/multiarch/strnlen-c.c [SHARED]
2005 (libc_hidden_def): Define __GI___strnlen as well as __GI_strnlen.
2006 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-power7.S
2007 (libc_hidden_def): Undefine and redefine.
2008 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c
2009 [SHARED] (libc_hidden_def): Define __GI___strnlen as well as
2011 * sysdeps/powerpc/powerpc32/power7/strnlen.S (__strnlen): Use
2013 * sysdeps/tile/tilegx/strnlen.c (__strnlen): Likewise.
2016 * wctype/wcfuncs.c (towlower): Rename to __towlower and define as
2017 weak alias of __towlower. Use libc_hidden_weak.
2018 (towupper): Rename to __towupper and define as weak alias of
2019 __towupper. Use libc_hidden_weak.
2020 * include/wctype.h (__towlower): Declare. Use libc_hidden_proto.
2021 (__towupper): Likewise.
2022 * posix/fnmatch.c [HANDLE_MULTIBYTE && _LIBC] (FOLD): Use
2023 __towlower instead of towlower.
2025 2015-06-02 Roland McGrath <roland@hack.frob.com>
2027 * stdlib/setenv.c [__GNUC__,__GNUC_MINOR__ < 4,7]: Use
2028 "-Wuninitialized" rather than "-Wmaybe-uninitialized" in pragma.
2030 2015-06-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
2032 * sysdeps/aarch64/libm-test-ulps: Update.
2034 2015-06-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2036 * sysdeps/unix/sysv/linux/i386/sysdep.h (HAVE_CLOCK_GETTIME_VSYSCALL):
2038 (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
2039 * sysdeps/unix/sysv/linux/x86_64/sysdep.h
2040 (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
2041 (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
2042 * sysdeps/unix/sysv/linux/timespec_get.c: Include errno.h.
2043 * sysdeps/unix/sysv/linux/x86/clock_gettime.c: Remove file.
2044 * sysdeps/unix/sysv/linux/x86/timespec_get.c: Likewise.
2046 2015-06-01 Martin Sebor <msebor@redhat.com>
2049 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
2050 (__setcontext): Use extended four-operand version of mtsf whenever
2052 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
2053 (__novec_swapcontext): Likewise.
2055 2015-06-01 Siddhesh Poyarekar <siddhesh@redhat.com>
2057 * benchtests/scripts/compare_bench.py: New file.
2058 * benchtests/scripts/import_bench.py (mean): New function.
2059 (split_list): Likewise.
2060 (do_for_all_timings): Likewise.
2061 (compress_timings): Likewise.
2063 * benchtests/scripts/import_bench.py: New file.
2064 * benchtests/scripts/validate_benchout.py: Import import_bench
2065 instead of jsonschema.
2066 (validate_bench): Remove function.
2067 (main): Use import_bench.
2069 2015-06-01 Steve Ellcey <sellcey@imgtec.com>
2071 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Use a union to
2072 copy data from cur_ifr->ifr_addr and cur_ifr->ifr_netmask.
2074 2015-05-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2076 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2078 2015-05-28 Roland McGrath <roland@hack.frob.com>
2080 * sysdeps/nacl/exit-thread.h (__exit_thread): If not detached,
2081 set THREAD_SELF->tid to a magic value and futex-wake it.
2082 Pass its address to the thread_exit system call.
2083 * sysdeps/nacl/pthread-pids.h (__nacl_get_tid): Assert that TID's low
2085 * sysdeps/nacl/lowlevellock.h: New file.
2086 * sysdeps/nacl/lll_timedwait_tid.c: New file.
2088 * sysdeps/nacl/lowlevellock-futex.h (lll_futex_timed_wait):
2089 Add TIMEOUT to current time, don't subtract it.
2091 2015-05-28 H.J. Lu <hongjiu.lu@intel.com>
2094 * Makefile ($(objpfx)tst-audit2): Depend on $(libdl).
2095 ($(objpfx)tst-audit2.out): Also depend on
2096 $(objpfx)tst-auditmod9b.so.
2097 * elf/tst-audit2.c: Include <dlfcn.h>.
2098 (calloc_called): New.
2099 (calloc): Allow to be called more than once.
2100 (do_test): dllopen/dlclose $ORIGIN/tst-auditmod9b.so.
2102 2015-05-28 Wilco Dijkstra <wdijkstr@arm.com>
2104 * sysdeps/ieee754/dbl-64/s_fabs.c: (__fabs): Call __builtin_fabs.
2105 * sysdeps/ieee754/flt-32/s_fabsf.c: (__fabsf): Likewise.
2107 2015-05-27 Marko Myllynen <myllynen@redhat.com>
2109 * stdlib/monetary.h: Fix comment.
2111 2015-05-26 Chris Metcalf <cmetcalf@ezchip.com>
2113 * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_SYSCALL):
2114 Avoid using variables in #defines that might cause shadowing.
2115 (INTERNAL_VSYSCALL_CALL): Likewise.
2117 2015-05-26 Roland McGrath <roland@hack.frob.com>
2119 * sysdeps/nacl/lll_timedlock_wait.c: New file.
2121 * nptl/lowlevellock.c (__lll_timedlock_wait): Moved ...
2122 * nptl/lll_timedlock_wait.c: ... to this new file.
2123 * nptl/Makefile (libpthread-routines): Add it.
2124 * nptl/lowlevellock.c (__lll_timedwait_tid): Moved ...
2125 * nptl/lll_timedwait_tid.c: ... to this new file.
2126 * nptl/Makefile (libpthread-routines): Add it.
2127 * sysdeps/sparc/sparc32/lll_timedlock_wait.c: New file.
2128 * sysdeps/sparc/sparc32/lll_timedwait_tid.c: New file.
2129 * sysdeps/unix/sysv/linux/i386/i486/lll_timedlock_wait.c: New file.
2130 * sysdeps/unix/sysv/linux/i386/i586/lll_timedlock_wait.c: New file.
2131 * sysdeps/unix/sysv/linux/i386/i686/lll_timedlock_wait.c: New file.
2132 * sysdeps/unix/sysv/linux/i386/i486/lll_timedwait_tid.c: New file.
2133 * sysdeps/unix/sysv/linux/i386/i586/lll_timedwait_tid.c: New file.
2134 * sysdeps/unix/sysv/linux/i386/i686/lll_timedwait_tid.c: New file.
2135 * sysdeps/unix/sysv/linux/x86_64/lll_timedlock_wait.c: New file.
2136 * sysdeps/unix/sysv/linux/x86_64/lll_timedwait_tid.c: New file.
2138 2015-05-26 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2140 * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c: Remove file.
2141 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
2142 * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
2143 * sysdeps/unix/sysv/linux/aarch64/sysdep.h
2144 (HAVE_GETTIMEOFDAY_VSYSCALL): Define.
2145 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
2146 (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
2147 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
2148 (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
2149 * sysdeps/unix/sysv/linux/tile/sysdep.h
2150 (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
2151 * sysdeps/unix/sysv/linux/gettimeofday.c: New file: gettimeofday
2152 using vDSO syscall macro.
2154 2015-05-26 Andriy Rysin <arysin@gmail.com>
2157 * uk_UA: Fix sorting order for Ukrainian locale
2159 2015-05-26 Marko Myllynen <myllynen@redhat.com>
2161 * stdlib/monetary.h: Fix comment.
2163 2015-05-26 Szabolcs Nagy <szabolcs.nagy@arm.com>
2166 * conform/data/sys/stat.h-data (struct stat): Add tests for st_atim,
2167 st_mtim and st_ctim members.
2168 * sysdeps/nacl/bits/stat.h (struct stat, struct stat64): Make
2169 st_atim, st_ctim, st_mtim visible under __USE_XOPEN2K8 only.
2170 * sysdeps/unix/sysv/linux/generic/bits/stat.h (struct stat,):
2171 (struct stat64): Likewise.
2172 * sysdeps/unix/sysv/linux/ia64/bits/stat.h (struct stat,):
2173 (struct stat64): Likewise.
2174 * sysdeps/unix/sysv/linux/microblaze/bits/stat.h (struct stat,):
2175 (struct stat64): Likewise.
2177 2015-05-26 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2179 * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c (HAVE_VSYSCALL):
2180 Define and include sysdep-vdso.h.
2181 * sysdeps/unix/sysv/linux/s390/gettimeofday.c (HAVE_VSYSCALL):
2183 * sysdeps/unix/sysv/linux/tile/gettimeofday.c (HAVE_VSYSCALL):
2185 * sysdeps/unix/sysv/linux/aarch64/init-first.c (__vdso_gettimeofday):
2186 Define with VDSO_SYMBOL and use PTR_MANGLE.
2187 (__vdso_clock_gettime): Likewise.
2188 (__vdso_clock_getres): Likewise.
2189 (_libc_vdso_platform_setup): Likewise.
2190 * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
2192 (_libc_vdso_platform_setup): Likewise.
2193 * sysdeps/unix/sysv/linux/powerpc/init-first.c (__vdso_gettimeofday):
2195 (__vdso_clock_gettime): Likewise.
2196 (__vdso_clock_getres): Likewise.
2197 (__vdso_get_tbfreq): Likewise.
2198 (__vdso_getcpu): Likewise.
2199 (__vdso_time): Likewise.
2200 (__vdso_sigtramp_rt64): Likewise.
2201 (__vdso_signtramp32): Likewise.
2202 (__vdso_sigtramp_rt32): Likewise.
2203 (_libc_vdso_platform_setup): Likewise.
2204 * sysdeps/unix/sysv/linux/s390/init-first.c (__vdso_gettimeofay):
2206 (__vdso_clock_gettime): Likewise.
2207 (__vdso_clock_getres): Likewise.
2208 (_libc_vdso_platform_setup): Likewise.
2209 * sysdeps/unix/sysv/linux/tile/init-first.c (__vdso_gettimeofday):
2211 (__vdso_clock_gettime): Likewise.
2212 (_libc_vdso_platform_setup): Likewise.
2213 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
2215 (__vdso_getcpu): Likewise.
2216 * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h (__vdso_gettimeoday):
2217 Use VDSO_SYMBOL macro to define.
2218 (__vdso_clock_gettime): Likewise.
2219 (__vdso_clock_getres): Likewise.
2220 * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h (__vdso_gettimeofday):
2222 (__vdso_clock_gettime): Likewise.
2223 (__vdso_clock_getres): Likewise.
2224 (__vdso_get_tbfreq): Likewise.
2225 (__vdso_getcpu): Likewise.
2226 (__vdso_time): Likewise.
2227 (__vdso_sigtramp_rt64): Likewise.
2228 (__vdso_signtramp32): Likewise.
2229 (__vdso_sigtramp_rt32): Likewise.
2230 * sysdeps/unix/sysv/linux/s390/libc-vdso.h (__vdso_gettimeofday):
2232 (__vdso_clock_gettime): Likewise.
2233 (__vdso_clock_getres): Likewise.
2234 * sysdeps/unix/sysv/linux/tile/libc-vdso.h (__vdso_gettimeofday):
2236 (__vdso_clock_gettime): Likewise.
2237 * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
2239 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INLINE_VSYSCALL): Remove
2241 (INTERNAL_VSYSCALL): Likewise.
2242 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h (INLINE_VSYSCALL):
2244 (INTERNAL_VSYSCALL): Likewise.
2245 (INTERNAL_VSYSCALL_NCS): Likewise.
2246 (INTERNAL_VSYSCALL_CALL): New macro.
2247 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
2248 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h (INLINE_VSYSCALL):
2250 (INTERNAL_VSYSCALL): Likewise.
2251 (INTERNAL_VSYSCALL_NCS): Likewise.
2252 (INTERNAL_VSYSCALL_CALL): New macro.
2253 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
2254 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
2255 (INLINE_VSYSCALL): Remove macro.
2256 (INTERNAL_VSYSCALL): Remove macro.
2257 (INTERNAL_VSYSCALL_NCS): Remove macro.
2258 (INTERNAL_VSYSCALL_CALL): New macro.
2259 (INTERNAL_VSYSCALL_CALL_TYPE): New macro.
2260 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL.
2261 (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
2262 (HAVE_CLOCK_GETRES_VSYSCALL): New define.
2263 (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
2264 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
2265 (INLINE_VSYSCALL): Remove macro.
2266 (INTERNAL_VSYSCALL): Likewise.
2267 (INTERNAL_VSYSCALL_NCS): Likewise.
2268 (INTERNAL_VSYSCALL_CALL): New macro.
2269 (INTERNAL_VSYSCALL_CALL_TYPE): Likewise.
2270 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL and
2271 PTR_DEMANGLE on vDSO pointer.
2272 (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
2273 * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Remove
2275 (INTERNAL_SYSCALL): Likewise.
2276 (INTERNAL_VSYSCALL_NCS): Remove macro.
2277 (INTERNAL_VSYSCALL_CALL): New macro.
2278 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_VSYSCALL):
2280 (INTERNAL_VSYSCALL): Likewise.
2281 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Include
2282 sysdep-vdso.h instead of libc-vdso.h.
2283 * sysdeps/unix/sysv/linux/clock_getres.c (INTERNAL_VSYSCALL): Remove
2285 (INLINE_VSYSCALL): Likewise.
2286 (HAVE_VSYSCALL) [HAVE_CLOCK_GETRES_VSYSCALL]: Define.
2287 * sysdeps/unix/sysv/linux/clock_gettime.c (INTERNAL_VSYSCALL): Remove
2289 (INLINE_VSYSCALL): Likewise.
2290 (INTERNAL_VSYSCALL): Likewise.
2291 (HAVE_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
2292 * sysdeps/unix/sysv/linux/timespec_get.c
2293 (INTERNAL_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
2294 (timespec_get): Use ANSI prototype.
2295 * sysdeps/unix/sysv/linux/sysdep-vdso.h: New file: default vDSO macros
2296 and definition for Linux.
2298 2015-05-25 Andrew Senkevich <andrew.senkevich@intel.com>
2300 * elf/Makefile (localplt-built-dso): libmvec added to localplt test.
2301 * include/libc-symbols.h: libmvec_hidden_* macro series added.
2303 2015-05-22 H.J. Lu <hongjiu.lu@intel.com>
2306 * elf/dl-reloc.c (_dl_relocate_object): Don't issue an error
2307 for missing DT_PLTRELSZ.
2309 2015-05-22 Paul Eggert <eggert@cs.ucla.edu>
2311 Remove obsolete aliases that broke 'locale -a'
2313 * intl/locale.alias: Remove obsolete aliases "bokmål" and "français"
2314 which caused 'locale -a' to output Latin-1 data in UTF-8 locales,
2315 breaking some applications that use 'locale -a' output.
2316 Change the encoding of this file from Latin-1 to ASCII to avoid
2317 other potential problems with people grepping this file.
2319 2015-05-22 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2321 * nptl/Makefile (CFLAGS-accept.c): Add -fexceptions and
2322 -fasynchronous-unwind-tables.
2323 (CFLAGS-sendto.c): Likewise.
2324 (CFLAGS-sendmsg.c): Likewise.
2325 (CFLAGS-connect.c): Likewise.
2326 (CFLAGS-recvmsg.c): Likewise.
2327 (CFLAGS-recvfrom.c): Likewise.
2328 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_invalid): Define.
2329 (SOCKETCALL): New macro: non-cancellable socketcall.
2330 (SOCKETCALL_CANCEL): New macro: cancellable socketcall.
2331 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = socket]: Remove
2332 internal_accept4, internal_recvmmsg, and internal_sendmmsg rules.
2333 * sysdeps/unix/sysv/linux/accept.c: New file.
2334 * sysdeps/unix/sysv/linux/bind.c: Likewise.
2335 * sysdeps/unix/sysv/linux/connect.c: Likewise.
2336 * sysdeps/unix/sysv/linux/getpeername.c: Likewise.
2337 * sysdeps/unix/sysv/linux/getsockname.c: Likewise.
2338 * sysdeps/unix/sysv/linux/getsockopt.c: Likewise.
2339 * sysdeps/unix/sysv/linux/listen.c: Likewise.
2340 * sysdeps/unix/sysv/linux/recv.c: Likewise.
2341 * sysdeps/unix/sysv/linux/recvfrom.c: Likewise.
2342 * sysdeps/unix/sysv/linux/recvmsg.c: Likewise.
2343 * sysdeps/unix/sysv/linux/send.c: Likewise.
2344 * sysdeps/unix/sysv/linux/sendmsg.c: Likewise.
2345 * sysdeps/unix/sysv/linux/sendto.c: Likewise.
2346 * sysdeps/unix/sysv/linux/setsockopt.c: Likewise.
2347 * sysdeps/unix/sysv/linux/shutdown.c: Likewise.
2348 * sysdeps/unix/sysv/linux/socket.c: Likewise.
2349 * sysdeps/unix/sysv/linux/socketpair.c: Likewise.
2350 * sysdeps/unix/sysv/linux/recvmmsg.c (__internal_recvmmsg): Remove
2352 (recvmmsg) [__ASSUME_RECVMMSG_SOCKETCALL]: Add C based implementation.
2353 (recvmmsg) [!__ASSUME_RECVMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
2354 instead of __internal_xxx function.
2355 * sysdeps/unix/sysv/linux/accept4.c (__internal_accept4): Remove
2357 (accept4) [__ASSUME_ACCEPT4_SOCKETCALL]: Add C based implementation.
2358 (accept4) [!__ASSUME_ACCEPT4_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
2359 instead of __internal_xxx function.
2360 * sysdeps/unix/sysv/linux/sendmmsg.c (__internal_sendmmsg): Remove
2362 (sendmmsg) [__ASSUME_SENDMMSG_SOCKETCALL]: Add C based implementation.
2363 (sendmmsg) [!__ASSUME_SENDMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
2364 instead of __internal_xxx function.
2365 * sysdeps/unix/sysv/linux/accept.S: Remove file.
2366 * sysdeps/unix/sysv/linux/bind.S: Likewise.
2367 * sysdeps/unix/sysv/linux/connect.S: Likewise.
2368 * sysdeps/unix/sysv/linux/getpeername.S: Likewise.
2369 * sysdeps/unix/sysv/linux/getsockname.S: Likewise.
2370 * sysdeps/unix/sysv/linux/getsockopt.S: Likewise.
2371 * sysdeps/unix/sysv/linux/arm/internal_accept4.S: Likewise.
2372 * sysdeps/unix/sysv/linux/arm/internal_recvmmsg.S: Likewise.
2373 * sysdeps/unix/sysv/linux/arm/internal_sendmmsg.S: Likewise.
2374 * sysdeps/unix/sysv/linux/i386/accept4.S: Likewise.
2375 * sysdeps/unix/sysv/linux/i386/internal_accept4.S: Likewise.
2376 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
2377 * sysdeps/unix/sysv/linux/internal_accept4.S: Likewise.
2378 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: Likewise.
2379 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: Likewise.
2380 * sysdeps/unix/sysv/linux/listen.S: Likewise.
2381 * sysdeps/unix/sysv/linux/microblaze/socket.S: Likewise.
2382 * sysdeps/unix/sysv/linux/mips/mips32/internal_accept4.S: Likewise.
2383 * sysdeps/unix/sysv/linux/mips/mips32/internal_recvmmsg.S: Likewise.
2384 * sysdeps/unix/sysv/linux/mips/mips32/internal_sendmmsg.S: Likewise.
2385 * sysdeps/unix/sysv/linux/powerpc/powerpc32/socket.S: Likewise.
2386 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S: Likewise.
2387 * sysdeps/unix/sysv/linux/recv.S: Likewise.
2388 * sysdeps/unix/sysv/linux/recvfrom.S: Likewise.
2389 * sysdeps/unix/sysv/linux/recvmsg.S: Likewise.
2390 * sysdeps/unix/sysv/linux/s390/s390-32/socket.S: Likewise.
2391 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
2392 * sysdeps/unix/sysv/linux/send.S: Likewise.
2393 * sysdeps/unix/sysv/linux/sendmsg.S: Likewise.
2394 * sysdeps/unix/sysv/linux/sendto.S: Likewise.
2395 * sysdeps/unix/sysv/linux/setsockopt.S: Likewise.
2396 * sysdeps/unix/sysv/linux/sh/socket.S: Likewise.
2397 * sysdeps/unix/sysv/linux/shutdown.S: Likewise.
2398 * sysdeps/unix/sysv/linux/socketpair.S: Likewise.
2399 * sysdeps/unix/sysv/linux/sparc/sparc32/socket.S: Likewise.
2400 * sysdeps/unix/sysv/linux/sparc/sparc64/socket.S: Likewise.
2401 * sysdeps/unix/sysv/linux/m68k/socket.S: Likewise.
2402 * sysdeps/unix/sysv/linux/hppa/socket.S: Likewise.
2403 * sysdeps/unix/sysv/linux/kernel-features.h: Adjust comment on how
2404 socketcall is implemented in GLIBC.
2406 2015-05-22 Joseph Myers <joseph@codesourcery.com>
2408 * soft-fp/fmadf4.c: Include <libc-internal.h>.
2409 (__fma): Ignore uninitialized warnings around packing.
2410 * soft-fp/fmasf4.c: Include <libc-internal.h>.
2411 (__fmaf): Ignore uninitialized warnings around packing.
2412 * soft-fp/fmatf4.c: Include <libc-internal.h>.
2413 (__fmal): Ignore uninitialized warnings around packing.
2415 * sysdeps/ieee754/ldbl-128/k_tanl.c: Include <libc-internal.h>.
2416 (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
2417 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Include <libc-internal.h>.
2418 (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
2420 * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfcl): Make case 9 in
2421 switch statement into default case.
2422 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Likewise.
2424 * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Don't use
2425 a conditional in forcing "inexact".
2426 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
2429 2015-05-22 Roland McGrath <roland@hack.frob.com>
2431 * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
2432 Use a separate INTERNAL_SYSCALL_DECL (err); in a local scope
2433 for each INTERNAL_SYSCALL use.
2435 2015-05-22 Joseph Myers <joseph@codesourcery.com>
2438 * posix/unistd.h (_POSIX2_C_VERSION): New macro.
2439 * conform/Makefile (test-xfail-POSIX/unistd.h/conform): Remove
2443 * string/basename.c (basename): Rename to __basename and define as
2444 weak alias of __basename. Use libc_hidden_weak.
2445 * include/string.h (__basename): Declare. Use libc_hidden_proto.
2446 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): Call
2447 __basename instead of basename.
2448 * conform/Makefile (test-xfail-POSIX2008/unistd.h/linknamespace):
2450 (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
2452 2015-05-18 Florian Weimer <fweimer@redhat.com>
2454 * libio/libioP.h (_IO_MEMBER_TYPE, _IO_CAST_FIELD_ACCESS)
2455 (_IO_JUMPS_FILE_plus): New.
2456 (_IO_WIDE_JUMPS, _IO_CHECK_WIDE, _IO_JUMPS_FUNC): Use
2457 _IO_CAST_FIELD_ACCESS.
2458 * libio/fileops.c (libc_hidden_def, _IO_file_setbuf_mmap,
2459 mmap_remap_check, decide_maybe_mmap): Use _IO_JUMPS_FILE_plus.
2460 * libio/freopen.c (freopen): Likewise.
2461 * libio/freopen64.c (freopen64): Likewise.
2462 * libio/iofopen.c (__fopen_maybe_mmap): Likewise.
2463 * libio/iofopncook.c (_IO_old_fopencookie): Likewise.
2464 * libio/iofwide.c (_IO_fwide): Likewise.
2465 * libio/memstream.c (open_memstream): Likewise.
2466 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
2467 * libio/oldiofopen.c (_IO_old_fopen): Likewise.
2468 * libio/oldiopopen.c (_IO_old_popen): Likewise.
2470 2015-05-21 Joseph Myers <joseph@codesourcery.com>
2472 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Include <libc-internal.h>.
2473 (__ieee754_lgamma_r): Ignore uninitialized warnings around use of
2475 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Include <libc-internal.h>.
2476 (__ieee754_lgammaf_r): Ignore uninitialized warnings around use of
2478 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Include <libc-internal.h>.
2479 (__ieee754_lgammal_r): Ignore uninitialized warnings around use of
2482 * sysdeps/ieee754/dbl-64/mpa.c (norm): Remove if condition on
2485 * conform/linknamespace.pl (@whitelist): Add re_syntax_options.
2486 * conform/Makefile (test-xfail-UNIX98/regex.h/linknamespace):
2488 (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
2489 (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
2490 (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
2492 2015-05-21 Florian Weimer <fweimer@redhat.com>
2494 * stdio-common/vfprintf.c (LABEL, JUMP_TABLE_BASE_LABEL, REF):
2495 Adjust jump table label generation macros.
2497 2015-05-21 Florian Weimer <fweimer@redhat.com>
2499 * stdio-common/vfprintf.c (vfprintf): Move local variables
2500 args_malloced, specs, specs_malloced, and the code after
2501 do_positional to the printf_positional function.
2502 (printf_positional): New function.
2504 2015-05-21 Florian Weimer <fweimer@redhat.com>
2506 * stdio-common/vfprintf.c (jump_table): Move out of the vfprintf
2508 (NOT_IN_JUMP_RANGE, CHAR_CLASS, LABEL, REF, JUMP, STEP0_3_TABLE,
2509 STEP4_TABLE, process_arg): Move macro definitions
2510 out of the vfprintf function. (Cosmetic change only.)
2512 2015-05-21 Carlos O'Donell <carlos@redhat.com>
2514 * benchtests/Makefile (stdio-common-bench): Define.
2515 (benchset): Add stdio-common-bench.
2516 * sprintf-inputs: New file.
2517 * sprintf-source.c: New file.
2519 2015-05-21 Andreas Schwab <schwab@suse.de>
2523 * resolv/res_init.c (__res_vinit): Remove use of ext.nsmap member
2524 of struct __res_state.
2525 * resolv/res_send.c (__libc_res_nsend): Likewise.
2526 (get_nsaddr): New function.
2527 (res_ourserver_p, send_vc, reopen): Use it instead of accessing
2530 2015-05-20 Joseph Myers <joseph@codesourcery.com>
2532 * conform/GlibcConform.pm ($CFLAGS{"POSIX"}): Use
2533 -D_POSIX_C_SOURCE=199506L.
2535 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Require.
2537 * conform/data/unistd.h-data (_POSIX_VERSION): Require.
2538 (_POSIX2_C_VERSION): Require if [POSIX || XPG3 || XPG4 || UNIX98].
2539 Do not mention otherwise.
2540 [POSIX] (_XOPEN_VERSION): Do not expect.
2541 [POSIX] (_XOPEN_XCU_VERSION): Likewise.
2542 [POSIX] (_POSIX2_C_BIND): Likewise.
2543 [POSIX] (_POSIX2_VERSION): Likewise.
2544 [POSIX] (_XOPEN_XPG2): Likewise.
2545 [POSIX] (_XOPEN_XPG3): Likewise.
2546 [POSIX] (_XOPEN_XPG4): Likewise.
2547 [POSIX] (_XOPEN_UNIX): Likewise.
2548 [POSIX] (_POSIX_ADVISORY_INFO): Likewise.
2549 [POSIX] (_POSIX_BARRIERS): Likewise.
2550 [POSIX] (_POSIX_CLOCK_SELECTION): Likewise.
2551 [POSIX] (_POSIX_CPUTIME): Likewise.
2552 [POSIX] (_POSIX_MONOTONIC_CLOCK): Likewise.
2553 [POSIX] (_POSIX_READER_WRITER_LOCKS): Likewise.
2554 [POSIX] (_POSIX_SHELL): Likewise.
2555 [POSIX] (_POSIX_SPAWN): Likewise.
2556 [POSIX] (_POSIX_SPIN_LOCKS): Likewise.
2557 [POSIX] (_POSIX_SPORADIC_SERVER): Likewise.
2558 [POSIX] (_POSIX_THREAD_CPUTIME): Likewise.
2559 [POSIX] (_POSIX_TYPED_MEMORY_OBJECTS): Likewise.
2560 [POSIX] (_POSIX_THREAD_SPORADIC_SERVER): Likewise.
2561 [POSIX] (_XBS5_ILP32_OFF32): Likewise.
2562 [POSIX] (_XBS5_ILP32_OFBIG): Likewise.
2563 [POSIX] (_XBS5_LP64_OFF64): Likewise.
2564 [POSIX] (_XBS5_LPBIG_OFFBIG): Likewise.
2565 [POSIX] (_POSIX_TIMEOUTS): Likewise.
2566 [POSIX] (_POSIX2_PBS): Likewise.
2567 [POSIX] (_POSIX2_PBS_ACCOUNTING): Likewise.
2568 [POSIX] (_POSIX2_PBS_CHECKPOINT): Likewise.
2569 [POSIX] (_POSIX2_PBS_LOCATE): Likewise.
2570 [POSIX] (_POSIX2_PBS_MESSAGE): Likewise.
2571 [POSIX] (_POSIX2_PBS_TRACK): Likewise.
2572 [POSIX] (_POSIX_TIMESTAMP_RESOLUTION): Likewise.
2573 [POSIX] (_CS_XBS5_ILP32_OFF32_CFLAGS): Likewise.
2574 [POSIX] (_CS_XBS5_ILP32_OFF32_LDFLAGS): Likewise.
2575 [POSIX] (_CS_XBS5_ILP32_OFF32_LIBS): Likewise.
2576 [POSIX] (_CS_XBS5_ILP32_OFF32_LINTFLAGS): Likewise.
2577 [POSIX] (_CS_XBS5_ILP32_OFFBIG_CFLAGS): Likewise.
2578 [POSIX] (_CS_XBS5_ILP32_OFFBIG_LDFLAGS): Likewise.
2579 [POSIX] (_CS_XBS5_ILP32_OFFBIG_LIBS): Likewise.
2580 [POSIX] (_CS_XBS5_ILP32_OFFBIG_LINTFLAGS): Likewise.
2581 [POSIX] (_CS_XBS5_LP64_OFF64_CFLAGS): Likewise.
2582 [POSIX] (_CS_XBS5_LP64_OFF64_LDFLAGS): Likewise.
2583 [POSIX] (_CS_XBS5_LP64_OFF64_LIBS): Likewise.
2584 [POSIX] (_CS_XBS5_LP64_OFF64_LINTFLAGS): Likewise.
2585 [POSIX] (_CS_XBS5_LPBIG_OFFBIG_CFLAGS): Likewise.
2586 [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LDFLAGS): Likewise.
2587 [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LIBS): Likewise.
2588 [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LINTFLAGS): Likewise.
2589 [POSIX] (_SC_2_C_BIND): Likewise.
2590 [POSIX] (_SC_2_C_VERSION): Likewise.
2591 [POSIX] (_SC_2_PBS): Likewise.
2592 [POSIX] (_SC_2_PBS_ACCOUNTING): Likewise.
2593 [POSIX] (_SC_2_PBS_CHECKPOINT): Likewise.
2594 [POSIX] (_SC_2_PBS_LOCATE): Likewise.
2595 [POSIX] (_SC_2_PBS_MESSAGE): Likewise.
2596 [POSIX] (_SC_2_PBS_TRACK): Likewise.
2597 [POSIX] (_SC_ATEXIT_MAX): Likewise.
2598 [POSIX] (_SC_BARRIERS): Likewise.
2599 [POSIX] (_SC_BASE): Likewise.
2600 [POSIX] (_SC_CLOCK_SELECTION): Likewise.
2601 [POSIX] (_SC_DEVICE_IO): Likewise.
2602 [POSIX] (_SC_DEVICE_SPECIFIC): Likewise.
2603 [POSIX] (_SC_DEVICE_SPECIFIC_R): Likewise.
2604 [POSIX] (_SC_FD_MGMT): Likewise.
2605 [POSIX] (_SC_FIFO): Likewise.
2606 [POSIX] (_SC_FILE_ATTRIBUTES): Likewise.
2607 [POSIX] (_SC_FILE_LOCKING): Likewise.
2608 [POSIX] (_SC_FILE_SYSTEM): Likewise.
2609 [POSIX] (_SC_IOV_MAX): Likewise.
2610 [POSIX] (_SC_MONOTONIC_CLOCK): Likewise.
2611 [POSIX] (_SC_NETWORKING): Likewise.
2612 [POSIX] (_SC_PAGE_SIZE): Likewise.
2613 [POSIX] (_SC_PASS_MAX): Likewise.
2614 [POSIX] (_SC_PIPE): Likewise.
2615 [POSIX] (_SC_READER_WRITER_LOCKS): Likewise.
2616 [POSIX] (_SC_REGEXP): Likewise.
2617 [POSIX] (_SC_SHELL): Likewise.
2618 [POSIX] (_SC_SIGNALS): Likewise.
2619 [POSIX] (_SC_SINGLE_PROCESS): Likewise.
2620 [POSIX] (_SC_SPIN_LOCKS): Likewise.
2621 [POSIX] (_SC_TYPED_MEMORY_OBJECTS): Likewise.
2622 [POSIX] (_SC_USER_GROUPS): Likewise.
2623 [POSIX] (_SC_USER_GROUPS_R): Likewise.
2624 [POSIX] (_SC_STREAMS): Likewise.
2625 [POSIX] (_SC_XBS5_ILP32_OFF32): Likewise.
2626 [POSIX] (_SC_XBS5_ILP32_OFFBIG): Likewise.
2627 [POSIX] (_SC_XBS5_LP64_OFF64): Likewise.
2628 [POSIX] (_SC_XBS5_LPBIG_OFFBIG): Likewise.
2629 [POSIX] (_SC_THREAD_ROBUST_PRIO_INHERIT): Likewise.
2630 [POSIX] (_SC_THREAD_ROBUST_PRIO_PROTECT): Likewise.
2631 [POSIX] (_PC_FILESIZEBITS): Likewise.
2632 [POSIX] (_PC_REC_INCR_XFER_SIZE): Likewise.
2633 [POSIX] (_PC_REC_MAX_XFER_SIZE): Likewise.
2634 [POSIX] (_PC_REC_MIN_XFER_SIZE): Likewise.
2635 [POSIX] (_PC_REC_XFER_ALIGN): Likewise.
2636 [POSIX] (uid_t): Likewise.
2637 [POSIX] (gid_t): Likewise.
2638 [POSIX] (off_t): Likewise.
2639 [POSIX] (pid_t): Likewise.
2640 [POSIX] (cuserid): Allow.
2641 (_SC_2_CHAR_TERM): Require constant.
2642 (_POSIX_ASYNCHRONOUS_IO): Remove duplicate optional-constant.
2643 * conform/Makefile (test-xfail-POSIX/unistd.h/conform): New
2646 2015-05-20 Roland McGrath <roland@hack.frob.com>
2648 * sysdeps/nacl/pthread-pids.h: New file.
2649 * sysdeps/nacl/createthread.c: Include <pthread-pids.h>.
2650 (create_thread): Use __nacl_get_tid to initialize PD->tid.
2652 * nptl/pthread-pids.h: New file.
2653 * sysdeps/unix/sysv/linux/pthread-pids.h: New file.
2654 * nptl/nptl-init.c: Include <pthread-pids.h>.
2655 (__pthread_initialize_minimal_internal):
2656 Call __pthread_initialize_pids instead of set_tid_address syscall.
2658 * sysdeps/unix/sysv/linux/usleep.c: Moved to ...
2659 * sysdeps/posix/usleep.c: ... here.
2661 2015-05-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2663 * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = misc)]: Remove
2664 call_pselect6 object.
2665 [$(subdir) = io]: Remove call_sync_file_range object.
2666 * sysdeps/unix/sysv/linux/i386/call_pselect6.S: Remove file.
2667 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Remove file.
2668 * sysdeps/unix/sysv/linux/i386/pselect.c: Remove file.
2669 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: Remove file.
2671 2015-05-20 Wilco Dijkstra <wdijkstr@arm.com>
2673 * math/s_cproj.c: Add include "math_private.h".
2674 * math/s_cprojf.c: Likewise.
2675 * math/s_cprojl.c: Likewise.
2677 2015-05-19 Joseph Myers <joseph@codesourcery.com>
2680 * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Ignore explicit
2681 high mantissa bit when testing whether P is a NaN.
2682 * math/libm-test.inc (remainder_test_data): Add more tests.
2683 (remquo_test_data): Likewise.
2686 * sysdeps/i386/fpu/e_atanhl.S (__ieee754_atanhl): For exponents
2687 below -32, return the argument, with underflow if subnormal.
2688 * math/auto-libm-test-in: Add more tests of atanh.
2689 * math/auto-libm-test-out: Regenerated.
2691 2015-05-19 Roland McGrath <roland@hack.frob.com>
2694 * nptl/tst-sem15.c: New file.
2695 * nptl/Makefile (tests): Add it.
2696 * nptl/sem_post.c (__new_sem_post) [!__HAVE_64B_ATOMICS]:
2697 s/<</>>/ to fix typo in EOVERFLOW check.
2698 * sysdeps/sparc/sparc32/sem_post.c (__new_sem_post): Likewise.
2700 2015-05-19 Siddhesh Poyarekar <siddhesh@redhat.com>
2702 * manual/strings.texi (envz_remove): Fix typo in safety
2705 2015-05-19 Paul Eggert <eggert@cs.ucla.edu>
2706 Steve Ellcey <sellcey@imgtec.com>
2708 * inet/rcmd.c (rresvport_af): Change ss to anonymous union
2709 in order to avoid strict alias warnings.
2710 (iruserok_af): Ditto for ra.
2712 2015-05-19 James Lemke <jwlemke@codesourcery.com>
2716 (magicbyte): Convert to a function and avoid returning 0x01.
2717 (mem2mem_check): Avoid using a length byte equal to the magic byte.
2718 (mem2chunk_check): Fix unsigned comparisons to zero.
2719 Hoist defs of sz and magic.
2721 2015-05-19 Richard Henderson <rth@redhat.com>
2723 * soft-fp/op-common.h (_FP_FROM_INT): Don't write to R.
2725 * sysdeps/alpha/fpu/libm-test-ulps: Update.
2727 2015-05-19 Siddhesh Poyarekar <siddhesh@redhat.com>
2730 * malloc/Makefile (tests): New test case tst-malloc-backtrace.
2731 * malloc/arena.c (arena_lock): Check if arena is corrupt.
2732 (reused_arena): Find a non-corrupt arena.
2733 (heap_trim): Pass arena to unlink.
2734 * malloc/hooks.c (malloc_check_get_size): Pass arena to
2736 (top_check): Likewise.
2737 (free_check): Likewise.
2738 (realloc_check): Likewise.
2739 * malloc/malloc.c (malloc_printerr): Add arena argument.
2741 (munmap_chunk): Adjust.
2742 (ARENA_CORRUPTION_BIT): New macro.
2743 (arena_is_corrupt): Likewise.
2744 (set_arena_corrupt): Likewise.
2745 (sysmalloc): Use mmap if there are no usable arenas.
2746 (_int_malloc): Likewise.
2747 (__libc_malloc): Don't fail if arena_get returns NULL.
2748 (_mid_memalign): Likewise.
2749 (__libc_calloc): Likewise.
2750 (__libc_realloc): Adjust for additional argument to
2752 (_int_free): Likewise.
2753 (malloc_consolidate): Likewise.
2754 (_int_realloc): Likewise.
2755 (_int_memalign): Don't touch corrupt arenas.
2756 * malloc/tst-malloc-backtrace.c: New test case.
2758 * Makefile (summarize-tests): Fix return value on success.
2760 * manual/string.texi (Envz Functions): Add envz_remove.
2762 2015-05-18 Roland McGrath <roland@hack.frob.com>
2764 * sysdeps/posix/opendir.c: Include <stdbool.h>.
2765 (invalid_name): New function, broken out of ...
2766 (__opendirat): ... here. Call it.
2767 (need_isdir_precheck): New function, broken out of ...
2768 (__opendirat): ... here. Call it.
2769 Use __fxstatat64, not __xstatat64.
2770 (opendir_oflags): New function, broken out of ...
2771 (__opendirat): ... here. Call it.
2772 (opendir_tail): New function, broken out of ...
2773 (__opendirat): ... here. Call it.
2774 (__opendir): Call invalid_name, need_isdir_precheck, __xstat64, and
2775 opendir_tail, rather than punting to __opendirat.
2776 (__opendirat): Conditionalize function definition on [IS_IN (libc)].
2778 2015-05-18 Siddhesh Poyarekar <siddhesh@redhat.com>
2780 * .gitignore: Ignore generated *.pyc.
2782 2015-05-18 Arjun Shankar <arjun.is@lostca.se>
2784 * include/stdio.h: Define __need_wint_t.
2785 * test-skeleton.c: Avoid `for' loop initial declaration.
2786 * nptl/tst-initializers1.c: Use test-skeleton.c.
2788 2015-05-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2791 * stdlib/tst-setcontext3.sh: Remove non-portable array use.
2793 2015-05-15 Joseph Myers <joseph@codesourcery.com>
2796 * sysdeps/i386/fpu/e_atanh.S (dbl_min): New object.
2797 (__ieee754_atanh): Force underflow exception for results with
2798 small absolute value.
2799 * sysdeps/i386/fpu/e_atanhf.S (flt_min): New object.
2800 (__ieee754_atanhf): Force underflow exception for results with
2801 small absolute value.
2802 * sysdeps/ieee754/dbl-64/e_atanh.c: Include <float.h>.
2803 (__ieee754_atanh): Force underflow exception for results with
2804 small absolute value.
2805 * sysdeps/ieee754/flt-32/e_atanhf.c: Include <float.h>.
2806 (__ieee754_atanhf): Force underflow exception for results with
2807 small absolute value.
2808 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Include <float.h>.
2809 (__ieee754_atanhl): Force underflow exception for results with
2810 small absolute value.
2811 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Include <float.h>.
2812 (__ieee754_atanhl): Force underflow exception for results with
2813 small absolute value.
2814 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Include <float.h>.
2815 (__ieee754_atanhl): Force underflow exception for results with
2816 small absolute value.
2817 * math/auto-libm-test-in: Do not allow missing underflow
2818 exceptions from atanh.
2819 * math/auto-libm-test-out: Regenerated.
2822 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use 2**-13 not
2823 2**-28 as threshold for returning x or +/- 1/x.
2824 * math/auto-libm-test-in: Add more tests of tan.
2825 * math/auto-libm-test-out: Regenerated.
2828 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
2829 2**26 not 2**58 as threshold for returning x * (log (x) - 1).
2830 * math/auto-libm-test-in: Add another test of lgamma.
2831 * math/auto-libm-test-out: Regenerated.
2833 2015-05-15 Wilco Dijkstra <wdijkstr@arm.com>
2835 * stdio-common/printf_fp.c (___printf_fp): Use abs.
2836 * stdlib/gmp-impl.h (ABS): Remove define. (ABSIZ): Remove.
2837 * sysdeps/ieee754/dbl-64/branred.c (__branred): Use fabs.
2838 * sysdeps/ieee754/dbl-64/dla.h (EADD): Use fabs.
2839 (ESUB): Use fabs. (ADD2): Use fabs. (SUB2): Use fabs.
2840 (ADD2A): Use fabs. (SUB2A): Use fabs.
2841 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Use fabs.
2842 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Use fabs.
2843 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use fabs.
2844 (log1): Use fabs. (my_log2): Use fabs.
2845 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): Use fabs.
2846 * sysdeps/ieee754/dbl-64/mpa.h (ABS): Remove define.
2847 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use fabs.
2848 * sysdeps/ieee754/dbl-64/mydefs.h (ABS): Remove define.
2849 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use fabs.
2850 (__cos): Use fabs. (slow): Use fabs. (slow2): Use fabs.
2851 (sloww): Use fabs. (sloww1): Use fabs. (sloww2): Use fabs.
2852 (bslow1): Use fabs. (bslow2): Use fabs. (cslow2): Use fabs.
2853 (csloww): Use fabs. (csloww1): Use fabs. (csloww2): Use fabs.
2854 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Use fabs.
2855 * sysdeps/x86_64/fpu/multiarch/e_log.c: add math.h include.
2857 2015-05-15 Joseph Myers <joseph@codesourcery.com>
2860 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Use 2**-26 not 2**-56
2861 as threshold for returning 1 - x.
2862 * math/auto-libm-test-in: Add more tests of erfc.
2863 * math/auto-libm-test-out: Regenerated.
2865 2015-05-14 Joseph Myers <joseph@codesourcery.com>
2868 * sysdeps/ieee754/flt-32/s_atanf.c (__atanf): Use 2^25 not 2^34 as
2869 threshold for large arguments.
2870 * math/auto-libm-test-in: Add another test of atan.
2871 * math/auto-libm-test-out: Regenerated.
2874 * sysdeps/i386/fpu/s_log1p.S (dbl_min): New object.
2875 (__log1p): Force underflow exception for results with small
2877 * sysdeps/i386/fpu/s_log1pf.S (flt_min): New object.
2878 (__log1pf): Force underflow exception for results with small
2880 * sysdeps/ieee754/dbl-64/s_log1p.c: Include <float.h>.
2881 (__log1p): Force underflow exception for results with small
2883 * sysdeps/ieee754/flt-32/s_log1pf.c: Include <float.h>.
2884 (__log1pf): Force underflow exception for results with small
2886 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Include <float.h>.
2887 (__log1pl): Force underflow exception for results with small
2889 * math/auto-libm-test-in: Do not allow missing underflow
2890 exceptions from log1p.
2891 * math/auto-libm-test-out: Regenerated.
2893 2015-05-14 Jakub Bogusz <qboosh@pld-linux.org>
2894 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2897 * sysdeps/unix/make-syscalls.sh: Remove non-portable echo usage.
2899 2015-05-14 Andrew Senkevich <andrew.senkevich@intel.com>
2901 * Makeconfig (rpath-dirs, all-subdirs): Added mathvec folder.
2902 (libmvec): New variable.
2903 * configure.ac: Added option for mathvec build.
2904 * configure: Regenerated.
2905 * mathvec/Depend: New file.
2906 * mathvec/Makefile: New file.
2907 * shlib-versions: Added libmvec.
2908 * math/Makefile: Added rule for libm.so installation.
2910 * bits/math-vector.h: New file.
2911 * bits/libm-simd-decl-stubs.h: New header.
2912 * math/Makefile (headers): Added new header
2913 libm-simd-decl-stubs.h.
2914 * math/math.h (__MATHCALL_VEC): New macro.
2916 * math/gen-libm-have-vector-test.sh: Script generates series of macros
2917 for conditions in testing functions.
2918 * math/Makefile: Added call of libm-have-vector-test.sh.
2919 * math/libm-test.inc (HAVE_VECTOR): New macros.
2921 * math/libm-test.inc: START refactored.
2922 * math/test-double.c (TEST_MATHVEC): Add define.
2923 * math/test-float.c: Likewise.
2924 * math/test-idouble.c: Likewise.
2925 * math/test-ifloat.c: Likewise.
2926 * math/test-ildoubl.c: Likewise.
2927 * math/test-ldouble.c: Likewise.
2928 * sysdeps/generic/math-tests-arch.h
2929 (INIT_ARCH_EXT, CHECK_ARCH_EXT): New helper macros for runtime
2932 * math/test-double.c (FUNC_TEST): New macro.
2933 * math/test-float.c: Likewise.
2934 * math/test-idouble.c: Likewise.
2935 * math/test-ifloat.c: Likewise.
2936 * math/test-ildoubl.c: Likewise.
2937 * math/test-ldouble.c: Likewise.
2938 * math/libm-test.inc: Use FUNC_TEST for name of tested functions.
2940 2015-05-13 Roland McGrath <roland@hack.frob.com>
2942 * sysdeps/nacl/fdopendir.c: New file.
2944 * dirent/scandir-tail.c: New file.
2945 * dirent/scandir64-tail.c: New file.
2946 * dirent/Makefile (routines): Add them.
2947 (CFLAGS-scandir-tail.c, CFLAGS-scandir64-tail.c): New variables.
2948 * include/dirent.h (__scandir_tail, __scandir64_tail): Declare them.
2949 * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Macro removed.
2950 [!SCANDIR] (SCANDIR_TAIL): New macro.
2951 (SCANDIR): Call __opendir and __scandir_tail, not __scandirat.
2952 * dirent/scandir64.c [!_DIRENT_MATCHES_DIRENT64]
2953 (SCANDIRAT): Macro removed.
2954 (SCANDIR_TAIL): New macro.
2955 * dirent/scandirat.c [!SCANDIRAT] (READDIR): Macro removed.
2956 [!SCANDIRAT] (SCANDIR_TAIL): New macro.
2957 (SCANDIRAT): Just call __opendirat and __scandir_tail.
2958 * dirent/scandirat64.c [!_DIRENT_MATCHES_DIRENT64]
2959 (READDIR): Macro removed.
2960 (SCANDIR_TAIL): New macro.
2961 * sysdeps/unix/sysv/linux/i386/scandir64.c (READDIR): Macro removed.
2962 (SCANDIR_TAIL): New macro.
2964 * dirent/scandirat.c (__scandir_cancel_handler): Function moved ...
2965 * dirent/scandir-cancel.c: ... to this new file.
2966 * dirent/Makefile (routines): Add it.
2967 * dirent/scandirat64.c (SKIP_SCANDIR_CANCEL): Macro removed.
2968 * sysdeps/unix/sysv/linux/i386/scandir64.c
2969 (SKIP_SCANDIR_CANCEL): Macro removed.
2970 * include/dirent.h (__scandir_cancel_handler): Add attribute_hidden.
2972 * dirent/tst-scandir.c: New file.
2973 * dirent/tst-scandir64.c: New file.
2974 * dirent/Makefile (tests): Add them.
2976 2015-05-13 H.J. Lu <hongjiu.lu@intel.com>
2979 * sysdeps/unix/make-syscalls.sh: Remove a trailing `\'.
2981 2015-05-13 Szabolcs Nagy <szabolcs.nagy@arm.com>
2983 * sysdeps/aarch64/tls-macros.h (TLS_GD): Add "cc" to the clobber
2986 2015-05-13 Leonhard Holz <leonhard.holz@web.de>
2988 * benchtests/bench-strcoll.c: New benchmark.
2989 * benchtests/Makefile: Generate locales and run benchmark.
2990 * benchtests/strcoll-inputs/filelist#C: New benchmark input file.
2991 * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Likewise.
2992 * benchtests/strcoll-inputs/lorem_ipsum#ar_SA.UTF-8: Likewise.
2993 * benchtests/strcoll-inputs/lorem_ipsum#cs_CZ.UTF-8: Likewise.
2994 * benchtests/strcoll-inputs/lorem_ipsum#da_DK.UTF-8: Likewise.
2995 * benchtests/strcoll-inputs/lorem_ipsum#el_GR.UTF-8: Likewise.
2996 * benchtests/strcoll-inputs/lorem_ipsum#en_GB.UTF-8: Likewise.
2997 * benchtests/strcoll-inputs/lorem_ipsum#en_US.UTF-8: Likewise.
2998 * benchtests/strcoll-inputs/lorem_ipsum#es_ES.UTF-8: Likewise.
2999 * benchtests/strcoll-inputs/lorem_ipsum#fr_FR.UTF-8: Likewise.
3000 * benchtests/strcoll-inputs/lorem_ipsum#hi_IN.UTF-8: Likewise.
3001 * benchtests/strcoll-inputs/lorem_ipsum#hu_HU.UTF-8: Likewise.
3002 * benchtests/strcoll-inputs/lorem_ipsum#is_IS.UTF-8: Likewise.
3003 * benchtests/strcoll-inputs/lorem_ipsum#it_IT.UTF-8: Likewise.
3004 * benchtests/strcoll-inputs/lorem_ipsum#iw_IL.UTF-8: Likewise.
3005 * benchtests/strcoll-inputs/lorem_ipsum#ja_JP.UTF-8: Likewise.
3006 * benchtests/strcoll-inputs/lorem_ipsum#pl_PL.UTF-8: Likewise.
3007 * benchtests/strcoll-inputs/lorem_ipsum#pt_PT.UTF-8: Likewise.
3008 * benchtests/strcoll-inputs/lorem_ipsum#ru_RU.UTF-8: Likewise.
3009 * benchtests/strcoll-inputs/lorem_ipsum#sr_RS.UTF-8: Likewise.
3010 * benchtests/strcoll-inputs/lorem_ipsum#sv_SE.UTF-8: Likewise.
3011 * benchtests/strcoll-inputs/lorem_ipsum#tr_TR.UTF-8: Likewise.
3012 * benchtests/strcoll-inputs/lorem_ipsum#vi_VN.UTF-8: Likewise.
3013 * benchtests/strcoll-inputs/lorem_ipsum#zh_CN.UTF-8: Likewise.
3015 2015-05-12 Ondřej Bílka <neleai@seznam.cz>
3017 * sysdeps/x86_64/multiarch/strcspn.S: Remove plt indirection.
3018 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
3020 2015-05-12 Roland McGrath <roland@hack.frob.com>
3022 * posix/uname-values.h: New file.
3023 * posix/uname.c: Include that instead of <config-name.h>.
3024 * sysdeps/nacl/uname-values.h: New file.
3025 * sysdeps/arm/nacl/uname-values.h: New file.
3027 2015-05-12 Joseph Myers <joseph@codesourcery.com>
3029 * conform/linknamespace.pl (list_syms): Remove \[.*?\] before
3030 splitting into fields.
3032 2015-05-12 Leonhard Holz <leonhard.holz@web.de>
3034 * locale/categories.def: Define _NL_COLLATE_ENCODING_TYPE.
3035 * locale/langinfo.h: Add _NL_COLLATE_ENCODING_TYPE to attribute list.
3036 * locale/localeinfo.h: Add enum collation_encoding_type.
3037 * locale/C-collate.c: Set _NL_COLLATE_ENCODING_TYPE to 8bit.
3038 * programs/ld-collate.c (collate_output): Add encoding type info.
3039 * string/strcoll_l.c (STRDIFF): New function.
3040 * (STRCOLL): Use STRDIFF to skip over equal prefix.
3041 * wcsmbs/wcscoll_l.c: Define STRDIFF.
3043 2015-05-11 Joseph Myers <joseph@codesourcery.com>
3046 * sysdeps/mips/mips32/fpu/fpu_control.c: Move to ....
3047 * sysdeps/mips/mips32/fpu/fpucw-helpers.c: ... here. Include
3048 <fpu_control.h> instead of <math/fpu_control.c>.
3049 * sysdeps/mips/mips32/fpu/Makefile: New file.
3051 2015-05-11 Andreas Schwab <schwab@suse.de>
3054 * nis/nss_compat/compat-grp.c (internal_endgrent): Don't call
3056 (_nss_compat_endgrent): Call nss_endgrent.
3057 * nis/nss_compat/compat-pwd.c (internal_endpwent): Don't call
3059 (_nss_compat_endpwent): Call nss_endpwent.
3060 * nis/nss_compat/compat-spwd.c (internal_setspent): Add parameter
3061 needent, call nss_setspent only if non-zero.
3062 (_nss_compat_setspent, _nss_compat_getspent_r): Pass non-zero.
3063 (internal_endspent): Don't call nss_endspent.
3064 (_nss_compat_endspent): Call nss_endspent.
3065 * nss/nss_files/files-XXX.c (position, last_use, keep_stream):
3066 Remove. All uses removed.
3067 (internal_setent): Remove parameter stayopen, add parameter
3068 stream. Use it instead of global variable.
3069 (CONCAT(_nss_files_set,ENTNAME)): Pass global stream.
3070 (internal_endent, internal_getent): Add parameter stream. Use it
3071 instead of global variable.
3072 (CONCAT(_nss_files_end,ENTNAME))
3073 (CONCAT(_nss_files_get,ENTNAME_r)): Pass global stream.
3074 (_nss_files_get##name##_r): Pass local stream. Remove locking.
3075 * nss/nss_files/files-alias.c (position, last_use): Remove. All
3077 (internal_setent, internal_endent): Add parameter stream. Use it
3078 instead of global variable.
3079 (_nss_files_setaliasent, _nss_files_endaliasent): Pass global
3081 (get_next_alias): Add parameter stream.
3082 (_nss_files_getaliasent_r): Pass global stream.
3083 (_nss_files_getaliasbyname_r): Pass local stream. Remove locking.
3084 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r)
3085 (_nss_files_gethostbyname4_r): Pass local stream to
3086 internal_setent, internal_getent and internal_endent. Remove
3089 2015-05-11 Stefan Liebler <stli@linux.vnet.ibm.com>
3091 * tst-strfmon1.c (tests): Update expected currency symbol.
3093 2015-05-08 Roland McGrath <roland@hack.frob.com>
3095 * sysdeps/nacl/gethostname.c: New file.
3097 2015-05-08 Joseph Myers <joseph@codesourcery.com>
3099 * math/auto-libm-test-in: Add more tests of csqrt, lgamma, log10
3101 * math/auto-libm-test-out: Regenerated.
3102 * sysdeps/i386/fpu/libm-test-ulps: Update.
3103 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3105 2015-05-08 Carlos O'Donell <carlos@redhat.com>
3108 * stdlib/tst-setcontext3.c: New file.
3109 * stdlib/tst-setcontext3.sh: New file.
3110 * stdlib/Makefile (tests): Add tst-setcontext3.
3111 (tst-setcontext3.out): Custom rule to run tst-setcontext3.sh
3112 to verify test program created output file.
3113 * sysdeps/unix/sysv/linux/aarch64/setcontext.S: Call exit.
3114 * sysdeps/unix/sysv/linux/arm/setcontext.S: Likewise.
3115 * sysdeps/unix/sysv/linux/hppa/setcontext.S: Likewise.
3116 * sysdeps/unix/sysv/linux/nios2/setcontext.S: Likewise.
3118 2015-05-06 Roland McGrath <roland@hack.frob.com>
3121 * elf/tst-tlsalign.c: New file.
3122 * elf/tst-tlsalign-static.c: New file.
3123 * elf/tst-tlsalign-lib.c: New file.
3124 * elf/Makefile [$(build-shared) = yes] (tests): Add tst-tlsalign.
3125 (tests-static): Add tst-tlsalign-static.
3126 (modules-names): Add tst-tlsalign-lib.
3127 (test-xfail-tst-tlsalign): New variable.
3128 (test-xfail-tst-tlsalign-static): New variable.
3130 * sysdeps/nacl/nacl-test-wrapper.sh (NACL_LOADER):
3131 Use elf_loader_${arch}.nexe rather than loader_${arch}.nexe.
3133 2015-05-06 Joseph Myers <joseph@codesourcery.com>
3135 * math/auto-libm-test-in: Add more tests of acosh, atanh, cos,
3136 csqrt, erfc, sin and sincos.
3137 * math/auto-libm-test-out: Regenerated.
3138 * sysdeps/i386/fpu/libm-test-ulps: Update.
3139 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3141 2015-05-06 Szabolcs Nagy <szabolcs.nagy@arm.com>
3143 * sysdeps/aarch64/libm-test-ulps: Update.
3145 2015-05-05 Joseph Myers <joseph@codesourcery.com>
3147 * math/auto-libm-test-in: Add more tests of acosh, atanh, clog,
3148 clog10, csqrt, erfc, exp2, expm1, log10, log2 and sinh.
3149 * math/auto-libm-test-out: Regenerated.
3150 * sysdeps/i386/fpu/libm-test-ulps: Update.
3151 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3153 2015-04-30 Daniel Marjamäki <daniel.marjamaki@evidente.se>
3156 * wcsmbs/wchar.h (wcscpy): Add __nonnull attribute.
3157 (wcsncpy): Likewise.
3159 2015-05-05 Florian Weimer <fweimer@redhat.com>
3161 * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
3162 Assume __ASSUME_FALLOCATE is always true.
3163 * sysdeps/unix/sysv/linux/posix_fallocate64.c
3164 (__posix_fallocate64_l64): Likweise.
3165 * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate.c
3166 (posix_fallocate): Likewise.
3167 * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate64.c
3168 (__posix_fallocate64_l64): Likewise.
3169 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
3170 [!__ASSUME_FALLOCATE]: Add comment.
3172 2015-05-05 Florian Weimer <fweimer@redhat.com>
3174 * sysdeps/unix/sysv/linux/i386/Makefile
3175 (sysdep_routines) [$(subdir) = misc]: Remove call_fallocate.
3176 (sysdep_routines) [$(subdir) = io]: Add libc-do-syscall.
3177 * sysdeps/unix/sysv/linux/i386/call_fallocate.S: Remove.
3178 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
3179 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
3180 * sysdeps/unix/sysv/linux/i386/posix_fallocate.c: Likewise.
3181 * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c: Likewise.
3183 2015-05-02 Joseph Myers <joseph@codesourcery.com>
3185 * math/auto-libm-test-in: Add more tests of atan, clog, clog10,
3186 cos, csqrt, erf, erfc, exp2, lgamma, log1p, sin, sincos, tanh and
3188 * math/auto-libm-test-out: Regenerated.
3189 * sysdeps/i386/fpu/libm-test-ulps: Update.
3190 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3192 2015-05-01 Joseph Myers <joseph@codesourcery.com>
3194 * math/auto-libm-test-in: Add more tests of tgamma.
3195 * math/auto-libm-test-out: Regenerated.
3196 * sysdeps/i386/fpu/libm-test-ulps: Update.
3197 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3199 * math/auto-libm-test-in: Add more tests of tanh.
3200 * math/auto-libm-test-out: Regenerated.
3201 * sysdeps/i386/fpu/libm-test-ulps: Update.
3202 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3204 * math/auto-libm-test-in: Add more tests of tan.
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 cos, sin and sincos.
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 * math/auto-libm-test-in: Add another test of pow.
3215 * math/auto-libm-test-out: Regenerated.
3216 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
3218 * math/auto-libm-test-in: Add more tests of lgamma.
3219 * math/auto-libm-test-out: Regenerated.
3220 * sysdeps/i386/fpu/libm-test-ulps: Update.
3221 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3223 * math/auto-libm-test-in: Add more tests of log, log10, log2 and
3225 * math/auto-libm-test-out: Regenerated.
3226 * sysdeps/i386/fpu/libm-test-ulps: Update.
3227 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3229 2015-05-01 Mark Wielaard <mjw@redhat.com>
3231 * elf/elf.h: Add SHF_COMPRESSED section flag, Elf32_Chdr and
3232 Elf64_Chdr structs and ELFCOMPRESS constants.
3234 2015-05-01 Joseph Myers <joseph@codesourcery.com>
3236 * math/auto-libm-test-in: Add more tests of exp, exp10, exp2 and
3238 * math/auto-libm-test-out: Regenerated.
3239 * sysdeps/i386/fpu/libm-test-ulps: Update.
3240 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3242 * math/auto-libm-test-in: Add more tests of erf and erfc.
3243 * math/auto-libm-test-out: Regenerated.
3244 * sysdeps/i386/fpu/libm-test-ulps: Update.
3245 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3247 2015-05-01 Szabolcs Nagy <szabolcs.nagy@arm.com>
3249 * config.h.in (HAVE_AARCH64_BE): Add.
3251 2015-04-30 Joseph Myers <joseph@codesourcery.com>
3253 * math/auto-libm-test-in: Add more tests of csqrt.
3254 * math/auto-libm-test-out: Regenerated.
3255 * sysdeps/i386/fpu/libm-test-ulps: Update.
3256 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3258 * math/auto-libm-test-in: Add more tests of cosh and sinh.
3259 * math/auto-libm-test-out: Regenerated.
3260 * sysdeps/i386/fpu/libm-test-ulps: Update.
3261 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3263 * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: Remove file.
3265 2015-04-29 Roland McGrath <roland@hack.frob.com>
3267 * sysdeps/nacl/bits/typesizes.h (__CLOCK_T_TYPE): Use __SLONGWORD_TYPE.
3268 * sysdeps/nacl/nacl-interfaces.h (nacl_abi_clock_t): Use clock_t.
3270 * sysdeps/nacl/euidaccess.c (euidaccess): Renamed to __euidaccess.
3271 (euidaccess, eaccess): Define as weak aliases.
3273 * sysdeps/nacl/bits/typesizes.h (__SUSECONDS_T_TYPE): Use
3274 __SLONGWORD_TYPE rather than __S32_TYPE. They are the same size,
3275 but __suseconds_t is often 'long int' so some sources assume that
3276 type is being used (e.g. they use %ld to print tv_usec).
3278 2015-04-29 Florian Weimer <fweimer@redhat.com>
3281 * nss/nss_files/files-XXX.c (CONCAT): Always enable stayopen.
3283 * nss/tst-nss-getpwent.c: New file.
3284 * nss/Makefile (tests): Add new test.
3286 2015-04-28 Joseph Myers <joseph@codesourcery.com>
3289 * sysdeps/ieee754/ldbl-128/s_roundl.c (__roundl): Handle all
3290 exponents less than 48 as cases where high part of mantissa needs
3291 examining to determine whether argument is integral.
3292 * math/libm-test.inc (round_test_data): Add more tests.
3294 2015-04-28 Mark Wielaard <mjw@redhat.com>
3296 * elf/elf.h (SHF_EXCLUDE): Use unsigned 1 for shift.
3298 2015-04-27 David S. Miller <davem@davemloft.net>
3300 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Remove
3302 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
3304 2015-04-27 H.J. Lu <hongjiu.lu@intel.com>
3307 * time/tzset.c (__tzfile_read): Check tzspec_len == 0.
3309 2015-04-27 Florian Weimer <fweimer@redhat.com>
3312 * time/tzset.c (parse_tzname): Return error on memory allocation
3314 * test-skeleton.c (struct temp_name_list): Change type of name
3315 member to non-const.
3316 (add_temp_file): Create a copy of the file name.
3317 (delete_temp_files): Deallocate memory.
3318 (create_temp_file): Add comment.
3320 2015-04-24 Florian Weimer <fweimer@redhat.com>
3322 * io/posix_fallocate.c (posix_fallocate): Do not set errno.
3323 * io/posix_fallocate64.c (posix_fallocate64): Likewise.
3325 2015-04-24 Roland McGrath <roland@hack.frob.com>
3327 * sysdeps/arm/configure.ac (PI_STATIC_AND_HIDDEN): Define it.
3328 * sysdeps/arm/configure: Regenerated.
3330 2015-04-24 Florian Weimer <fweimer@redhat.com>
3333 * time/tzfile.c (__tzfile_read): Check for large values of
3334 tzh_ttisstdcnt and tzh_ttisgmtcnt. Use malloc instead of alloca.
3335 * time/tzset.c (__tzstring_len): New function, based on the old
3336 __tzstring function.
3337 (__tzstring): Call __tzstring_len.
3338 (parse_tzname): New helper function extracted from
3339 __tzset_parse_tz. Call __tzstring_len, without making a copy of
3341 (parse_offset): New helper function extracted from
3342 __tzset_parse_tz. Replace switch with fallthrough with
3343 initialization before sscanf.
3344 (parse_rule): Likewise.
3345 (__tzset_parse_tz): Rewrite using the new helper functions. Use
3346 new-style function definition.
3347 * timezone/Makefile (tests): Add tst-tzset.
3348 (tst-tzset.out): Dependencies on time zone files.
3349 (tst-tzset-ENV): Set TZDIR.
3350 (testdata/XT%): Copy crafted time zone files.
3351 * timezone/README: Mention crafted time zone files.
3352 * timezone/testdata/XT1, timezone/testdata/XT2,
3353 timezone/testdata/XT3, timezone/testdata/XT4: New time zone test
3355 * timezone/tst-tzset.c: New test.
3357 2015-04-24 Florian Weimer <fweimer@redhat.com>
3359 * Makeconfig (+gccwarn): Remove -Winline.
3361 2015-04-24 Stefan Liebler <stli@linux.vnet.ibm.com>
3363 * sysdeps/s390/fpu/libm-test-upls: Regenerate.
3365 2015-04-24 Stefan Liebler <stli@linux.vnet.ibm.com>
3367 * NEWS: Mention sysconf() cache information support for s390.
3368 * sysdeps/unix/sysv/linux/s390/sysconf.c: New File.
3370 2015-04-22 Wilco Dijkstra <wdijkstr@arm.com>
3372 * math/k_casinh.c (__kernel_casinh): Use __copysign.
3373 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c
3374 (__nearbyint): Likewise.
3375 * sysdeps/ieee754/ldbl-opt/nldbl-copysign.c
3376 (copysignl): Likewise.
3378 2015-04-21 Arjun Shankar <arjun.is@lostca.se>
3381 * resolv/nss_dns/dns-host.c (getanswer_r): Adjust buffer length
3382 based on padding. (CVE-2015-1781)
3384 2015-04-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3386 * nptl/pthread_cond_timedwait.c: Change include bits/libc-vdso.h to just
3388 * sysdeps/powerpc/powerpc32/backtrace.c: Likewise.
3389 * sysdeps/powerpc/powerpc64/backtrace.c: Likewise.
3390 * sysdeps/unix/sysv/linux/aarch64/init-first.c: Likewise.
3391 * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
3392 * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
3393 * sysdeps/unix/sysv/linux/gettimeofday.c: Likewise.
3394 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Likewise.
3395 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
3396 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
3397 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Likewise.
3398 * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
3399 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
3400 * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
3401 * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise.
3402 * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
3403 * sysdeps/unix/sysv/linux/aarch64/bits/libc-vdso.h: Move to ...
3404 * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h: ... here.
3405 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Move to ...
3406 * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h: ... here.
3407 * sysdeps/unix/sysv/linux/s390/bits/libc-vdso.h: Move to ...
3408 * sysdeps/unix/sysv/linux/s390/libc-vdso.h: ... here.
3409 * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Move to ...
3410 * sysdeps/unix/sysv/linux/tile/libc-vdso.h: ... here.
3412 2015-04-19 Paul Eggert <eggert@cs.ucla.edu>
3414 * stdlib/setenv.c (__add_to_environ):
3415 Dump core quickly if setenv (..., NULL, ...) is called.
3416 This time, do it the right way, and pacify GCC with a pragma.
3418 2015-04-17 Roland McGrath <roland@hack.frob.com>
3420 * elf/dl-close.c (_dl_close_worker) [DL_NNS == 1]: Just assert that
3421 IMAP->l_prev cannot be null, and #if out the code for the contrary
3422 case, avoiding 'assert (nsid != LM_ID_BASE)' making the compiler
3423 believe that NS (&_dl_ns[NSID]) could point outside the array.
3425 * elf/dl-open.c (_dl_open): Use __glibc_unlikely in invalid namespace
3426 check. Reject NSID < 0 and NSID >= dl_nns, and check for DL_NNS==1,
3427 before using NSID as an index.
3429 2015-04-17 Il'ya Malakhov <ilmalakhov@yandex.ru>
3432 * sysdeps/sparc/sparc64/memchr.S: Fix signedness handling of length.
3433 * sysdeps/sparc/sparc64/memcmp.S: Likewise.
3434 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
3436 2015-04-17 Roland McGrath <roland@hack.frob.com>
3438 Add preliminary port to Google Native Client on ARM.
3439 * abi-tags (.*-.*-nacl.*): New entry.
3440 * sysdeps/arm/nacl: New directory.
3441 * sysdeps/nacl: New directory.
3443 2015-04-16 David S. Miller <davem@davemloft.net>
3445 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Make use of
3446 lowlevellock-futex.h
3448 2015-04-16 Chris Metcalf <cmetcalf@ezchip.com>
3450 * sysdeps/tile/configure.ac: New file.
3451 * sysdeps/tile/configure: Regenerated.
3453 2015-04-15 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3455 * wcsmbs/wcschr.c [WCSCHR] (wcschr): Define as __wcschr. Remove
3456 conditionals for weak_alias and libc_hidden_weak.
3457 * sysdeps/i386/i686/multiarch/wcschr-c.c [libc]: Undefine
3458 libc_hidden_weak and weak_alias.
3459 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c [libc]:
3460 Undefine libc_hidden_weak. Define libc_hidden_def for SHARED builds
3461 and weak_alias for static one.
3463 2015-04-15 David S. Miller <davem@davemloft.net>
3465 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
3467 2015-04-13 Stefan Liebler <stli@linux.vnet.ibm.com>
3470 * wcsmbs/wcsncmp.c (wcsncmp): Compare as wchar_t, not wint_t.
3471 Use signed comparision instead of substraction to avoid
3473 * localedata/tests-mbwc/tst_wcsncmp.c (tst_wcsncmp):
3474 Take the sign of ret.
3475 * localedata/tests-mbwc/dat_wcsncmp.c (tst_wcsncmp_loc):
3476 Do not expect precise return values. Only the sign matters.
3477 * wcsmbs/Makefile (strop-tests): Add wcsncmp.
3478 * wcsmbs/test-wcsncmp.c: New File.
3479 * string/test-strncmp.c: Add wcsncmp support.
3481 2015-04-13 Stefan Liebler <stli@linux.vnet.ibm.com>
3484 * math/w_log1p.c: New file.
3485 * math/w_log1pf.c: Likewise.
3486 * math/w_log1pl.c: Likewise.
3487 * math/Makefile (libm-calls): Add w_log1p.
3488 * math/s_log1pl.c (log1pl): Remove weak_alias.
3489 * sysdeps/i386/fpu/s_log1p.S (log1p): Likewise.
3490 * sysdeps/i386/fpu/s_log1pf.S (log1pf): Likewise.
3491 * sysdeps/i386/fpu/s_log1pl.S (log1pl): Likewise.
3492 * sysdeps/x86_64/fpu/s_log1pl.S (log1pl): Likewise.
3493 * sysdeps/ieee754/dbl-64/s_log1p.c (log1p): Likewise.
3494 [NO_LONG_DOUBLE] (log1pl): Likewise.
3495 * sysdeps/ieee754/flt-32/s_log1pf.c (log1pf): Likewise.
3496 * sysdeps/ieee754/ldbl-128/s_log1pl.c (log1pl): Likewise.
3497 * sysdeps/ieee754/ldbl-64-128/s_log1pl.c
3498 (log1p): Remove long_double_symbol.
3499 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (log1pl): Likewise.
3500 * sysdeps/ieee754/ldbl-64-128/w_log1pl.c: New file.
3501 * sysdeps/ieee754/ldbl-128ibm/w_log1pl.c: Likewise.
3502 * sysdeps/m68k/m680x0/fpu/s_log1p.c: Define empty weak_alias to
3503 remove weak_alias for corresponding log1p function.
3504 * sysdeps/m68k/m680x0/fpu/s_log1pf.c: Likewise.
3505 * sysdeps/m68k/m680x0/fpu/s_log1pl.c: Likewise.
3506 * sysdeps/ia64/fpu/w_log1p.c: New file.
3507 * sysdeps/ia64/fpu/w_log1pf.c: Likewise.
3508 * sysdeps/ia64/fpu/w_log1pl.c: Likewise.
3509 * math/libm-test.inc (log1p_test_data): Add errno expectations.
3511 2015-04-10 Joseph Myers <joseph@codesourcery.com>
3514 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Decrease minimum
3515 decimal exponent by 1.
3516 * stdlib/tst-strtod-round-data: Add more tests.
3517 * stdlib/tst-strtod-round.c (tests): Regenerated.
3519 2015-04-09 Joseph Myers <joseph@codesourcery.com>
3521 * math/auto-libm-test-in: Add more tests of clog and clog10.
3522 * math/auto-libm-test-out: Regenerated.
3523 * sysdeps/i386/fpu/libm-test-ulps: Update.
3524 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3526 2015-04-09 Roland McGrath <roland@hack.frob.com>
3528 * Makeconfig (module-cppflags): Exclude all .v.i files.
3529 (skip-module-cppflags): Variable removed.
3531 * configure.ac (libc_config_ok): Initialize before reading
3532 preconfigure scripts, not after.
3533 * configure: Regenerated.
3535 * test-skeleton.c (TIMEOUT): Move #define to top level.
3536 (main): Grok environment variable TEST_DIRECT. If set, print
3537 test expectation details into that file and then behave as if
3540 2015-04-09 Florian Weimer <fweimer@redhat.com>
3542 * malloc/tst-scratch_buffer.c (do_test): Suppress truncation
3545 2015-04-08 David S. Miller <davem@davemloft.net>
3547 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3549 2015-04-08 Joseph Myers <joseph@codesourcery.com>
3551 * math/auto-libm-test-in: Add more tests of atanh.
3552 * math/auto-libm-test-out: Regenerated.
3553 * sysdeps/i386/fpu/libm-test-ulps: Update.
3554 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3556 * math/auto-libm-test-in: Add more tests of atan.
3557 * math/auto-libm-test-out: Regenerated.
3558 * sysdeps/i386/fpu/libm-test-ulps: Update.
3559 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3561 2015-04-08 Florian Weimer <fweimer@redhat.com>
3563 * elf/pldd.c (main): Rewrite to use struct
3564 scratch_buffer instead of extend_alloca.
3565 * elf/pldd-xx.c (find_maps): Likewise.
3566 * grp/initgroups.c: Include <scratch_buffer.h> instead of
3568 * grp/compat-initgroups.c (compat_call): Rewrite to use struct
3569 scratch_buffer instead of extend_alloca.
3570 * nscd/initgrcache.c: Include <scratch_buffer.h>, now needed by
3571 grp/compat-initgroups.c.
3572 * nis/nss_compat/compat-initgroups.c (_nss_compat_initgroups_dyn):
3573 Rewrite to use struct scratch_buffer instead of extend_alloca.
3574 * inet/getnameinfo.c (nrl_domainname, getnameinfo): Likewise.
3575 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
3577 2015-04-08 Joseph Myers <joseph@codesourcery.com>
3579 * math/auto-libm-test-in: Add more tests of cbrt.
3580 * math/auto-libm-test-out: Regenerated.
3581 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
3583 * math/auto-libm-test-in: Add more tests of cabs.
3584 * math/auto-libm-test-out: Regenerated.
3585 * sysdeps/i386/fpu/libm-test-ulps: Update.
3586 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3590 * sysdeps/ieee754/dbl-64/e_atan2.c: Include <fenv.h>.
3591 (__ieee754_atan2): Set FE_TONEAREST mode for internal
3593 * math/auto-libm-test-in: Add more tests of atan2, carg, clog and
3595 * math/auto-libm-test-out: Regenerated.
3596 * sysdeps/i386/fpu/libm-test-ulps: Update.
3597 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3600 * sysdeps/ieee754/dbl-64/s_atan.c: Include <fenv.h>.
3601 (atan): Set FE_TONEAREST mode for internal computations.
3602 * math/auto-libm-test-in: Add more tests of atan.
3603 * math/auto-libm-test-out: Regenerated.
3605 2015-04-07 James Cowgill <james410@cowgill.org.uk>
3608 * sysdeps/unix/sysv/linux/mips/bits/shm.h (SHM_NORESERVE): Define.
3610 2015-04-07 Florian Weimer <fweimer@redhat.com>
3612 * malloc/scratch_buffer_grow_preserve.c: Include <string.h>
3614 2015-04-07 Florian Weimer <fweimer@redhat.com>
3616 * include/scratch_buffer.h: New file.
3617 * malloc/scratch_buffer_grow.c: Likewise.
3618 * malloc/scratch_buffer_grow_preserve.c: Likewise.
3619 * malloc/scratch_buffer_set_array_size.c: Likewise.
3620 * malloc/tst-scratch_buffer.c: Likewise.
3621 * malloc/Makefile (routines): Add scratch_buffer_grow.
3622 (tests): Add test case.
3623 * malloc/Versions (GLIBC_PRIVATE): Export
3624 __libc_scratch_buffer_grow, __libc_scratch_buffer_grow_preserve,
3625 __libc_scratch_buffer_set_array_size.
3627 2015-04-06 Richard Henderson <rth@redhat.com>
3629 * sysdeps/unix/alpha/sysdep.h: Unconditionally include dl-sysdep.h.
3630 * sysdeps/alpha/fpu/libm-test-ulps: Update.
3632 * math/test-fenvinline.c (feenable_test): Cast fe_exc to
3633 unsigned int before printing.
3635 2015-04-03 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
3638 * wcsmbs/mbrtowc.c (__mbrtowc): Add check for n=0.
3639 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
3641 2015-04-02 Florian Weimer <fweimer@redhat.com>
3643 * include/libc-internal.h (libc_max_align_t): Define.
3645 2015-04-02 Andreas Schwab <schwab@suse.de>
3648 * sysdeps/unix/sysv/linux/aarch64/bits/sigstack.h: New file.
3650 2015-04-02 Mel Gorman <mgorman@suse.de>
3653 * malloc/arena.c (free): Apply trim threshold to per-thread heaps
3654 as well as the main arena.
3656 2015-03-31 H.J. Lu <hongjiu.lu@intel.com>
3659 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo): Limit threads
3660 sharing L2 cache to 2 for Silvermont/Knights Landing.
3662 2015-03-31 H.J. Lu <hongjiu.lu@intel.com>
3665 * config.make.in (have-protected-data): New.
3666 * configure.ac: Check linker support for protected data symbol.
3667 * configure: Regenerated.
3668 * elf/Makefile (modules-names): Add tst-protected1moda and
3669 tst-protected1modb if $(have-protected-data) is yes.
3670 (tests): Add tst-protected1a and tst-protected1b if
3671 $(have-protected-data) is yes.
3672 ($(objpfx)tst-protected1a): New.
3673 ($(objpfx)tst-protected1b): Likewise.
3674 (tst-protected1modb.so-no-z-defs): Likewise.
3675 * elf/tst-protected1a.c: New file.
3676 * elf/tst-protected1b.c: Likewise.
3677 * elf/tst-protected1mod.h: Likewise.
3678 * elf/tst-protected1moda.c: Likewise.
3679 * elf/tst-protected1modb.c: Likewise.
3681 2015-03-31 H.J. Lu <hongjiu.lu@intel.com>
3684 * elf/dl-lookup.c (do_lookup_x): When UNDEF_MAP is NULL, which
3685 indicates it is called from do_lookup_x on relocation against
3686 protected data, skip the data definion in the executable from
3688 (_dl_lookup_symbol_x): Pass ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA,
3689 instead of ELF_RTYPE_CLASS_PLT, to do_lookup_x for
3690 EXTERN_PROTECTED_DATA relocation against STT_OBJECT symbol.
3691 * sysdeps/generic/ldsodefs.h * (ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA):
3692 New. Defined to 4 if DL_EXTERN_PROTECTED_DATA is defined,
3694 * sysdeps/i386/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
3695 * sysdeps/i386/dl-machine.h (elf_machine_type_class): Set class
3696 to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_386_GLOB_DAT.
3697 * sysdeps/x86_64/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
3698 * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Set class
3699 to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_X86_64_GLOB_DAT.
3701 2015-03-28 Martin Galvan <martin.galvan@tallertechnologies.com>
3703 * sysdeps/nptl/pthread.h: Remove duplicate definition of
3704 PTHREAD_ADAPTIVE_MUTEX_INITIALIZER_NP.
3706 2015-03-27 Martin Galvan <martin.galvan@tallertechnologies.com>
3708 * sysdeps/i386/nptl/tls.h: Swap comments between THREAD_SETMEM and
3710 * sysdeps/x86_64/nptl/tls.h: Ditto.
3712 2015-03-27 Roland McGrath <roland@hack.frob.com>
3714 * dlfcn/tststatic.c (main): Converted to ...
3715 (do_test): ... this.
3716 (TEST_FUNCTION): New macro.
3717 Include test-skeleton.c.
3719 2015-03-26 Alan Modra <amodra@gmail.com>
3721 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_fixup_plt):
3722 Don't segfault if ifunc resolver returns a NULL. Do set plt to
3723 zero for undefined weak.
3724 (elf_machine_plt_conflict): Similarly.
3726 2015-03-25 Joseph Myers <joseph@codesourcery.com>
3728 * math/auto-libm-test-in: Add more tests of acosh, asinh and
3730 * math/auto-libm-test-out: Regenerated.
3731 * sysdeps/i386/fpu/libm-test-ulps: Update.
3732 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3734 * math/auto-libm-test-in: Add another test of asin.
3735 * math/auto-libm-test-out: Regenerated.
3736 * sysdeps/i386/fpu/libm-test-ulps: Update.
3737 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3739 * sysdeps/unix/sysv/linux/i386/lowlevellock.h (LLL_EBX_LOAD):
3741 (LLL_EBX_REG): Likewise.
3742 (LLL_ENTER_KERNEL): Likewise.
3744 * math/auto-libm-test-in: Add more tests of asin.
3745 * math/auto-libm-test-out: Regenerated.
3746 * sysdeps/i386/fpu/libm-test-ulps: Update.
3747 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3750 * sysdeps/unix/sysv/linux/i386/sysdep.h (struct
3751 libc_do_syscall_args): New structure.
3752 (INTERNAL_SYSCALL_MAIN_0): New macro.
3753 (INTERNAL_SYSCALL_MAIN_1): Likewise.
3754 (INTERNAL_SYSCALL_MAIN_2): Likewise.
3755 (INTERNAL_SYSCALL_MAIN_3): Likewise.
3756 (INTERNAL_SYSCALL_MAIN_4): Likewise.
3757 (INTERNAL_SYSCALL_MAIN_5): Likewise.
3758 (INTERNAL_SYSCALL_MAIN_6): Likewise. Call __libc_do_syscall.
3759 (INTERNAL_SYSCALL): Define to use INTERNAL_SYSCALL_MAIN_##nr.
3760 Replace conditional definitions by conditional definitions of ....
3761 (INTERNAL_SYSCALL_MAIN_INLINE): ... this. New macro.
3762 * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S: New file.
3763 * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = nptl]
3764 (libpthread-sysdep_routines): Add libc-do-syscall.
3765 * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: Remove file.
3766 * sysdeps/unix/sysv/linux/i386/lowlevellock.h (SYS_futex): Define
3767 to __NR_futex not 240.
3769 2015-03-25 Alan Modra <amodra@gmail.com>
3771 * NEWS: Advertise TLS optimization.
3772 * elf/elf.h (R_PPC_TLSGD, R_PPC_TLSLD, DT_PPC_OPT, PPC_OPT_TLS): Define.
3773 (DT_PPC_NUM): Increment.
3774 * elf/dynamic-link.h (HAVE_STATIC_TLS): Define.
3775 (CHECK_STATIC_TLS): Use here.
3776 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Optimize
3778 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
3779 * sysdeps/powerpc/dl-tls.c: New file.
3780 * sysdeps/powerpc/Versions: Add __tls_get_addr_opt.
3781 * sysdeps/powerpc/tst-tlsopt-powerpc.c: New tls test.
3782 * sysdeps/unix/sysv/linux/powerpc/Makefile: Add new test.
3783 Build tst-tlsmod2.so with --no-tls-get-addr-optimize.
3784 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: Update.
3785 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: Likewise.
3786 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: Likewise.
3788 2015-03-25 Alan Modra <amodra@gmail.com>
3790 * sysdeps/powerpc/powerpc64/configure.ac: Correct "linker support
3791 for overlapping .opd entries" to "support...".
3792 * sysdeps/powerpc/powerpc64/configure: Regenerate
3794 2015-03-25 Joseph Myers <joseph@codesourcery.com>
3796 * math/auto-libm-test-in: Add more tests of acos.
3797 * math/auto-libm-test-out: Regenerated.
3798 * sysdeps/i386/fpu/libm-test-ulps: Update.
3799 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3801 * math/auto-libm-test-in: Add more tests of expm1.
3802 * math/auto-libm-test-out: Regenerated.
3803 * sysdeps/i386/fpu/libm-test-ulps: Update.
3804 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3806 2015-03-24 Joseph Myers <joseph@codesourcery.com>
3808 * math/auto-libm-test-in: Add more tests of cosh and sinh.
3809 * math/auto-libm-test-out: Regenerated.
3810 * sysdeps/i386/fpu/libm-test-ulps: Update.
3811 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3813 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
3814 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3816 * math/auto-libm-test-in: Add more tests of log2.
3817 * math/auto-libm-test-out: Regenerated.
3818 * sysdeps/i386/fpu/libm-test-ulps: Update.
3819 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3821 2015-03-23 Roland McGrath <roland@hack.frob.com>
3823 * libio/iofdopen.c: Move FD_FLAGS declaration into its first use,
3824 inside [F_GETFL]. Remove POSIX_MODE local variable, just test the
3825 _IO_IS_APPENDING bit in READ_WRITE instead.
3827 2015-03-23 Florian Weimer <fweimer@redhat.com>
3829 * sysdeps/unix/sysv/linux/pthread_setaffinity.c
3830 (__determine_cpumask_size): Replace extend_alloca with a
3831 variable-length array. Do not treat res == 0 as an error.
3833 2015-03-23 Florian Weimer <fweimer@redhat.com>
3836 * posix/wordexp.c (eval_expr_multdiv): Check for division by zero
3837 and integer overflow.
3838 * posix/wordexp-test.c (test_case): Add divide-by-zero test.
3839 (main): Add integer overflow tests.
3840 * manual/pattern.texi (Calling Wordexp): Document additional use
3843 2015-03-23 Alan Modra <amodra@gmail.com>
3845 * config.h.in: Remove HAVE_ASM_PPC_REL16.
3846 * sysdeps/powerpc/powerpc32/tls-macros.h: Remove HAVE_ASM_PPC_REL16
3847 and false branch of conditional.
3848 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
3851 2015-03-21 Samuel Thibault <samuel.thibault@ens-lyon.org
3853 * sysdeps/mach/hurd/Makefile ($(common-objpfx)errnos.d): Depend on
3855 * sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler): Remove
3856 unused declaration of _hurd_intr_rpc_msg_in_trap.
3857 * mach/mach_init.c (__mach_init): Test whether HAVE_HOST_PAGE_SIZE is
3858 defined instead of whether it is non-zero.
3859 * sysdeps/mach/hurd/i386/intr-msg.h (INTR_MSG_TRAP): Use "+m"
3860 input constraint instead of both input and output constraint. Use ecx
3861 clobber instead of %ecx.
3862 * sysdeps/mach/hurd/malloc-machine.h (mutex_init, mutex_lock,
3863 mutex_unlock): Use a statement expression instead of an expression list.
3864 * sysdeps/mach/hurd/setitimer.c (_hurd_itimer_thread_stack_size): Set
3865 type to vm_size_t instead of vm_address_t.
3866 * sysdeps/mach/hurd/fork.c (__fork): Test whether STACK_GROWTH_UP is
3867 defined instead of whether it is non-zero.
3868 * hurd/hurd/ioctl.h (_hurd_locked_install_cttyid): New declaration.
3869 * sysdeps/mach/hurd/setsid.c: Include <hurd/ioctl.h>.
3870 * sysdeps/mach/hurd/mmap.c (__mmap): Use 0 instead of NULL for
3871 comparisons with mapaddr.
3872 * nscd/nscd-client.h: Include <time.h>.
3873 * sysdeps/mach/hurd/dl-sysdep.c (fmh): Pass vm_offset_t dummy
3874 9th parameter to __vm_region instead of int.
3875 * bits/termios.h [!__USE_MISC] (EXTPROC): Do not define.
3876 * scripts/check-local-headers.sh (exclude): Add device/,
3877 hurd/hurd_types.h, hurd/ioctl_types.h, hurd/paths.h, hurd/ioctls.defs,
3880 2015-03-19 Roland McGrath <roland@hack.frob.com>
3882 * sysdeps/arm/memcpy.S [ARM_ALWAYS_BX]: Fix computed-jump calculations
3883 to account for alignment padding.
3884 * sysdeps/arm/memmove.S: Likewise.
3886 2015-03-19 Chris Metcalf <cmetcalf@ezchip.com>
3888 * sysdeps/unix/sysv/linux/generic/README: New file.
3890 2015-03-18 Joseph Myers <joseph@codesourcery.com>
3893 * nptl/sem_waitcommon.c: Include <kernel-features.h>.
3894 (futex_abstimed_wait)
3895 [__ASSUME_FUTEX_CLOCK_REALTIME && lll_futex_timed_wait_bitset]:
3896 Use lll_futex_timed_wait_bitset with FUTEX_CLOCK_REALTIME instead
3897 of lll_futex_timed_wait.
3899 2015-03-18 Brad Hubbard <bhubbard@redhat.com>
3902 * sunrpc/svc.c (xprt_register): Use calloc to allocate xports.
3904 2015-03-17 Alexandre Oliva <aoliva@redhat.com>
3911 * elf/dl-tls.c (_dl_update_slotinfo): Clean up outdated DTV
3912 entries with Static TLS too. Skip entries past the end of the
3913 allocated DTV, from Alan Modra.
3914 (tls_get_addr_tail): Update to glibc_likely/unlikely. Move
3915 Static TLS DTV entry set up from...
3916 (_dl_allocate_tls_init): ... here (fix modid assertion), ...
3917 * elf/dl-reloc.c (_dl_nothread_init_static_tls): ... here...
3918 * nptl/allocatestack.c (init_one_static_tls): ... and here...
3919 * elf/dlopen.c (dl_open_worker): Drop l_tls_modid upper bound
3921 * elf/tlsdeschtab.h (map_generation): Return size_t. Check
3922 that the slot we find is associated with the given map before
3923 using its generation count.
3924 * nptl_db/db_info.c: Include ldsodefs.h.
3925 (rtld_global, dtv_slotinfo_list, dtv_slotinfo): New typedefs.
3926 * nptl_db/structs.def (DB_RTLD_VARIABLE): New macro.
3927 (DB_MAIN_VARIABLE, DB_RTLD_GLOBAL_FIELD): Likewise.
3928 (link_map::l_tls_offset): New struct field.
3929 (dtv_t::counter): Likewise.
3930 (rtld_global): New struct.
3931 (_rtld_global): New rtld variable.
3932 (dl_tls_dtv_slotinfo_list): New rtld global field.
3933 (dtv_slotinfo_list): New struct.
3934 (dtv_slotinfo): Likewise.
3935 * nptl_db/td_symbol_list.c: Drop gnu/lib-names.h include.
3936 (td_lookup): Rename to...
3937 (td_mod_lookup): ... this. Use new mod parameter instead of
3939 * nptl_db/td_thr_tlsbase.c: Include link.h.
3940 (dtv_slotinfo_list, dtv_slotinfo): New functions.
3941 (td_thr_tlsbase): Check DTV generation. Compute Static TLS
3942 addresses even if the DTV is out of date or missing them.
3943 * nptl_db/fetch-value.c (_td_locate_field): Do not refuse to
3944 index zero-length arrays.
3945 * nptl_db/thread_dbP.h: Include gnu/lib-names.h.
3946 (td_lookup): Make it a macro implemented in terms of...
3947 (td_mod_lookup): ... this declaration.
3948 * nptl_db/db-symbols.awk (DB_RTLD_VARIABLE): Override.
3949 (DB_MAIN_VARIABLE): Likewise.
3951 2015-03-16 H.J. Lu <hongjiu.lu@intel.com>
3954 * sysdeps/x86_64/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
3956 2015-03-15 Paul Eggert <eggert@cs.ucla.edu>
3958 * stdlib/setenv.c (__add_to_environ): Revert previous change.
3960 2015-03-14 Andreas Schwab <schwab@linux-m68k.org>
3963 * sysdeps/m68k/m680x0/m68020/bits/atomic.h (atomic_exchange_and_add)
3964 (atomic_add, atomic_increment_and_test)
3965 (atomic_decrement_and_test): Fix 64-bit arithmetic.
3967 2015-03-13 Paul Eggert <eggert@cs.ucla.edu>
3969 * stdlib/setenv.c (__add_to_environ):
3970 Dump core quickly if setenv (..., NULL, ...) is called.
3972 2015-03-13 Roland McGrath <roland@hack.frob.com>
3974 * sysdeps/arm/tls-macros.h: Include <sysdep.h>.
3975 (GET_SPECIAL_RELOC, GET_SPECIAL_PCREL): New macros to encapsulate
3976 all the necessary asm magic in one place.
3977 (TLS_LE, TLS_IE, TLS_LD, TLS_GD): Rewritten as C expressions
3980 2015-03-13 Carlos O'Donell <carlos@redhat.com>
3983 * nscd/cache.c (prune_cache): Use TRACED_FILE. Compare and update
3984 traced file mtime. Use consistent log message.
3985 * nscd/connections.c [HAVE_INOTIFY] (install_watches): New function.
3986 (register_traced_file): Call install_watches. Always set mtime.
3987 (invalidate_cache): Iterate over all trace files. Call install_watches.
3988 (inotify_check_files): Don't inline. Handle watching parent
3989 directories and configuration file movement in and out.
3990 (handle_inotify_events): New function.
3991 (main_loop_poll): Call handle_inotify_events.
3992 (main_loop_epoll): Likewise.
3993 * nscd/nscd.h: Define TRACED_FILE, TRACED_DIR, and PATH_MAX.
3994 (struct traced_file): Use array of inotify fds. Add parent directory,
3996 (struct database_dyn): Remove unused file_mtime.
3997 (init_traced_file): New inline function.
3998 (define_traced_file): New macro.
3999 * nss/nss_db/db-init.c: Use define_traced_file.
4000 (_nss_db_init): Use init_traced_file.
4001 * nss/nss_files/files-init.c: Use define_traced_file.
4002 (_nss_files_init): Use init_traced_file.
4004 2015-03-12 Joseph Myers <joseph@codesourcery.com>
4006 * soft-fp/soft-fp.h (_FP_STATIC_ASSERT): New macro.
4007 [_LIBC]: Do not include <stdlib.h>.
4008 [!_LIBC] (abort): Remove declaration.
4009 * soft-fp/op-2.h (_FP_MUL_MEAT_2_120_240_double): Use
4010 _FP_STATIC_ASSERT instead of conditionally calling abort.
4011 * soft-fp/op-common.h (_FP_FROM_INT): Likewise.
4012 (_FP_EXTEND_CNAN): Likewise.
4013 (FP_TRUNC): Likewise.
4014 (__FP_CLZ): Likewise.
4015 * sysdeps/powerpc/nofpu/flt-rounds.c: Include <stdlib.h>.
4017 2015-03-12 Yaakov Selkowitz <yselkowi@redhat.com>
4019 * manual/string.texi (XPG basename): Fix prototype.
4021 2015-03-12 Stefan Liebler <stli@linux.vnet.ibm.com>
4024 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S
4025 (__setcontext): Use SIG_SETMASK instead of SIG_BLOCK.
4026 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S
4027 (__setcontext): Likewise.
4028 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S
4029 (__swapcontext): Use SIG_SETMASK instead of SIG_BLOCK.
4030 Call rt_sigprocmask syscall one time to set new signal mask
4031 and retrieve the current signal mask instead of two calls.
4032 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S
4033 (__swapcontext): Likewise.
4034 * stdlib/Makefile (tests): Add new testcase tst-setcontext2.
4035 * stdlib/tst-setcontext2.c: New file.
4037 2015-03-12 Stefan Liebler <stli@linux.vnet.ibm.com>
4039 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
4041 2015-03-11 Aurelien Jarno <aurelien@aurel32.net>
4044 * elf/cache.c (load_aux_cache): Regenerate the cache if it has
4047 2015-03-11 Paul Pluzhnikov <ppluzhnikov@google.com>
4050 * posix/wordexp.c (parse_param): Don't call setenv(..., NULL, 1).
4052 2015-03-11 Adhemerval Zanellla <azanella@linux.vnet.ibm.com>
4054 * config.h.in [HAVE_ASM_GLOBAL_DOT_NAME]: Remove define.
4055 * include/libc-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (strong_alias):
4057 [HAVE_ASM_GLOBAL_DOT_NAME] (strong_data_alias): Likewise.
4058 [HAVE_ASM_GLOBAL_DOT_NAME] (weak_alias): Likewise.
4059 [HAVE_ASM_GLOBAL_DOT_NAME] (_symbol_version): Likewise.
4060 [HAVE_ASM_GLOBAL_DOT_NAME] (_default_symbol_version): Likewise.
4061 [HAVE_ASM_GLOBAL_DOT_NAME] (HIDDEN_JUMPTARGET): Likewise.
4062 * nptl_db/db-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (DOT): Remove
4064 * nptl_db/td_symbol_list.c (td_lookup): Remove
4065 HAVE_ASM_GLOBAL_DOT_NAME code.
4066 * sysdeps/powerpc/powerpc64/configure.ac: Remove
4067 HAVE_ASM_GLOBAL_DOT_NAME check.
4068 * sysdeps/powerpc/powerpc64/configure: Regenerate.
4069 * sysdeps/powerpc/powerpc64/sysdep.h [HAVE_ASM_GLOBAL_DOT_NAME]
4070 (DOT_LABEL): Remove define.
4071 [HAVE_ASM_GLOBAL_DOT_NAME] (BODY_LABEL): Likewise.
4072 [HAVE_ASM_GLOBAL_DOT_NAME] (ENTRY_2): Likewise.
4073 [HAVE_ASM_GLOBAL_DOT_NAME] (END_2): Likewise.
4074 * sysdeps/powerpc/powerpc64/tls-macros.h [HAVE_ASM_GLOBAL_DOT_NAME]
4075 (__TLS_GET_ADDR): Likewise.
4076 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h
4077 [HAVE_ASM_GLOBAL_DOT_NAME] (DASHDASHPFX): Likewise.
4079 2015-03-11 Carlos O'Donell <carlos@redhat.com>
4082 * sysdeps/hppa/fpu/fpu_control.h (_FPU_HPPA_SHIFT_FLAGS): Define.
4083 (_FPU_SETCW): Initialize cw from fpsr before storing.
4084 * sysdeps/hppa/fpu/fsetexcptflg.c: Include fpu_control.h
4085 (fesetexceptflag): Rewrite using fpu_control.h.
4086 * sysdeps/hppa/fpu/feupdateenv.c: Handle FE_DFL_ENV, and FE_NOMASK_ENV.
4088 2015-03-11 John David Anglin <danglin@gcc.gnu.org>
4091 * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Don't modify bufptr in
4093 * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
4095 2015-03-11 Joseph Myers <joseph@codesourcery.com>
4097 * soft-fp/soft-fp.h (_FP_UNREACHABLE): New macro.
4098 * soft-fp/op-common.h (_FP_MUL): Use _FP_UNREACHABLE instead of
4100 (_FP_FMA): Likewise.
4101 (_FP_DIV): Likewise.
4103 2015-03-10 Roland McGrath <roland@hack.frob.com>
4105 * scripts/evaluate-test.sh: Grok exit code 77 as UNSUPPORTED and exit
4106 with 0 in that case.
4107 * Makefile (summarize-tests): New canned sequence, factored out of
4108 commands for targets tests and xtests. Display summary lines that
4109 don't start with PASS: or XFAIL: rather than ones that do start with
4110 ERROR: or FAIL:. Make the commands fail if any summary lines fail
4111 to start with X?PASS: or XFAIL: or UNSUPPORTED: rather than if any
4112 do start with ERROR: or FAIL:.
4113 * dlfcn/Makefile (tests): Add bug-atexit3 back here unconditionally
4114 (except for [$(build-shared) = yes]).
4115 (tests-unsupported) [$(CXX) empty]: Add bug-atexit3.
4116 (LDLIBS-bug-atexit3-lib.so): Conditionalize on [$(CXX) nonempty].
4117 ($(objpfx)bug-atexit3, $(objpfx)bug-atexit3.out): Likewise.
4118 * nptl/Makefile: Revert 2015-03-04 changes.
4119 [$(CXX) empty] (tests-unsupported): New variable.
4120 * debug/Makefile: Likewise.
4122 * posix/regcomp.c: Fix comment typos and formatting to harmonize with
4123 gnulib file. Replace __attribute with __attribute__ throughout.
4125 2015-03-10 Carlos O'Donell <carlos@redhat.com>
4127 * sysdeps/hppa/fpu/libm-test-ulps: Update.
4129 2015-03-10 Joseph Myers <joseph@codesourcery.com>
4132 * math/auto-libm-test-in: Add another test of pow.
4133 * math/auto-libm-test-out: Regenerated.
4135 2015-03-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4137 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_pow.c): Add
4138 $(config-cflags-nofma).
4140 2015-03-10 Joseph Myers <joseph@codesourcery.com>
4142 * soft-fp/double.h [SOFT_FP_DOUBLE_H]: New multiple-include guard.
4143 * soft-fp/extended.h [SOFT_FP_EXTENDED_H]: Likewise.
4144 * soft-fp/op-1.h [SOFT_FP_OP_1_H]: Likewise.
4145 * soft-fp/op-2.h [SOFT_FP_OP_2_H]: Likewise.
4146 * soft-fp/op-4.h [SOFT_FP_OP_4_H]: Likewise.
4147 * soft-fp/op-8.h [SOFT_FP_OP_8_H]: Likewise.
4148 * soft-fp/op-common.h [SOFT_FP_OP_COMMON_H]: Likewise.
4149 * soft-fp/quad.h [SOFT_FP_QUAD_H]: Likewise.
4150 * soft-fp/single.h [SOFT_FP_SINGLE_H]: Likewise.
4151 * soft-fp/soft-fp.h (SOFT_FP_H): Define to 1 rather than empty.
4152 Add comment on closing #endif.
4154 2015-03-09 Paul Pluzhnikov <ppluzhnikov@google.com>
4156 * posix/wordexp.c (CHAR_IN_SET): New macro.
4157 (parse_param): Use it.
4159 2015-03-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4161 * sysdeps/powerpc/fpu/libm-test-ulps: update.
4163 2015-03-09 Paul Pluzhnikov <ppluzhnikov@google.com>
4166 * posix/wordexp.c (parse_param): Fix buffer overflow.
4167 * posix/wordexp-test.c (test_case): Add test case.
4169 2015-03-09 Paul Pluzhnikov <ppluzhnikov@google.com>
4172 * posix/wordexp.c (parse_backtick): Fix off-by-one.
4173 * posix/wordexp-test.c (test_case): Add test for BZ #18042.
4175 2015-03-09 Paul Pluzhnikov <ppluzhnikov@google.com>
4178 * posix/wordexp-test.c (test_case): Add test for BZ #18043
4179 (do_bz18043): Delete.
4181 (testit): Refactor to have words at the edge of unreadable page.
4183 2015-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
4186 * libio/genops.c (_IO_unbuffer_all): Renamed from _IO_unbuffer_write.
4187 Cleanup read-only streams as well.
4188 (_IO_cleanup): Call _IO_unbuffer_all instead of _IO_unbuffer_write.
4190 2015-03-08 Samuel Thibault <samuel.thibault@ens-lyon.org>
4192 * sysdeps/mach/hurd/bits/libc-lock.h [_LIBC]: Include
4195 2015-03-07 Joseph Myers <joseph@codesourcery.com>
4197 * soft-fp/soft-fp.h (_FP_ZERO_INIT): New macro. Define depending
4199 * soft-fp/op-1.h (_FP_FRAC_DECL_1): Use _FP_ZERO_INIT.
4200 * soft-fp/op-2.h (_FP_FRAC_DECL_2): Likewise.
4201 * soft-fp/op-common.h (_FP_DECL): Likewise.
4203 2015-03-06 H.J. Lu <hongjiu.lu@intel.com>
4205 * elf/ifuncdep2.c (global): Replace
4206 __attribute__((visibility("protected"))) with
4207 asm (".protected global").
4208 * elf/ifuncmod1.c (global): Likewise.
4209 * elf/ifuncmod5.c (global): Likewise.
4211 2015-03-06 Joseph Myers <joseph@codesourcery.com>
4213 * soft-fp/soft-fp.h [!_LIBC && __KERNEL__]: Include
4214 <asm/sfp-machine.h> instead of <sfp-machine.h>.
4216 2015-03-06 Roland McGrath <roland@hack.frob.com>
4218 * manual/install.texi (Configuring and compiling):
4219 Document test-wrapper-env-only.
4220 * INSTALL: Regenerated.
4222 2015-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
4225 * posix/wordexp.c (parse_param): Fix buffer overflow.
4226 * posix/wordexp-test.c (do_bz18043): Add test case.
4228 2015-03-06 Vincent Bernat <vincent@bernat.im>
4230 * time/tst-strptime2.c (do_test): Ensure failing tests are
4232 * time/tst-strptime3.c (do_test): Likewise.
4234 2015-03-06 Samuel Thibault <samuel.thibault@inria.fr>
4236 Fix aio_error thread-safety.
4237 * sysdeps/pthread/aio_error.c: New file
4238 * sysdeps/pthread/aio_misc.c: Remove optimistic comment about
4241 2015-03-06 Florian Weimer <fweimer@redhat.com>
4243 * stdio-common/vfprintf.c (THOUSANDS_SEP_T): New typedef.
4244 (group_number, vfprintf): Use it.
4245 (JUMP_TABLE_BASE_LABEL): New preprocessor macro.
4246 (JUMP, REF): Use it.
4247 (WORK_BUFFER_SIZE): New enum constant.
4248 (process_arg, vfprintf): Use it.
4250 2015-03-06 Rical Jasan <ricaljasan@pacific.net>
4252 * manual/errno.texi (Error Messages): Complete example function
4253 by adding missing #define.
4254 (program_invocation_name): Add statement indicating GNU
4255 extension and reference which header file declares the variable.
4256 (program_invocation_short_name): Likewise.
4258 2015-03-06 Mike Frysinger <vapier@gentoo.org>
4260 * manual/errno.texi (Error Messages): Delete strerror ISO C89
4263 2015-03-05 Roland McGrath <roland@hack.frob.com>
4265 * Makeconfig (test-wrapper-env-only): New variable.
4266 * Rules (make-test-out): If variable $*-ENV-only is nonempty,
4267 then use that with $(test-wrapper-env-only) rather than using
4268 $(test-wrapper-env) $(run-program-env) $($*-ENV).
4270 2015-03-05 H.J. Lu <hongjiu.lu@intel.com>
4273 * sysdeps/alpha/dl-machine.h (elf_machine_type_class): Replace
4274 ELF_RTYPE_CLASS_NOCOPY with ELF_RTYPE_CLASS_COPY in comments.
4275 * sysdeps/arm/dl-machine.h (elf_machine_type_class): Likewise.
4276 * sysdeps/hppa/dl-machine.h (elf_machine_type_class): Likewise.
4277 * sysdeps/i386/dl-machine.h (elf_machine_type_class): Likewise.
4278 * sysdeps/ia64/dl-machine.h (elf_machine_type_class): Likewise.
4279 * sysdeps/m68k/dl-machine.h (elf_machine_type_class): Likewise.
4280 * sysdeps/microblaze/dl-machine.h (elf_machine_type_class):
4282 * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Likewise.
4283 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_type_class):
4285 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_type_class):
4287 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_type_class):
4289 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_type_class):
4291 * sysdeps/sh/dl-machine.h (elf_machine_type_class): Likewise.
4292 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_type_class):
4294 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_type_class):
4296 * sysdeps/tile/dl-machine.h (elf_machine_type_class): Likewise.
4297 * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Likewise.
4299 2015-03-04 Roland McGrath <roland@hack.frob.com>
4301 * sysdeps/generic/netinet/if_ether.h: Don't #include <features.h>.
4302 (ETH_ALEN): New macro.
4303 (struct ether_addr): Use it for length of ether_addr_octet.
4305 * nss/test-netdb.c: Don't #include <rpc/netdb.h>.
4306 (setdb): Don't call __nss_configure_lookup for "rpc".
4307 (do_test): Don't call test_rpc.
4308 (output_rpcent, test_rpc): Functions moved ...
4309 * sunrpc/test-rpcent.c: ... to this new file.
4310 * sunrpc/Makefile (tests): Add it.
4312 * nptl/tst-cancel4.c (tf_sigpause) [!SIGCANCEL]: Call pause instead of
4314 * nptl/tst-signal3.c: Conditionalize body on [SIGRTMIN].
4315 * nptl/tst-signal6.c: Likewise.
4316 * rt/tst-mqueue5.c: Conditionalize body on [SIGRTMIN && SA_SIGINFO].
4317 * rt/tst-timer4.c: Conditionalize body on [SA_SIGINFO].
4319 * configure.ac (libc_cv_cxx_link_ok): New check.
4320 Reset CXX to empty if it fails to link.
4321 * configure: Regenerated.
4322 * dlfcn/Makefile (tests, modules-names): Add bug-atexit3 and
4323 bug-atexit3-lib only if $(CXX) is nonempty.
4324 * nptl/Makefile (tests): Likewise for tst-cancel24.
4325 (tests, tests-static): Likewise for tst-cancel24-static.
4326 * debug/Makefile (tests): Likewise for tst-chk4, tst-chk5, tst-chk6,
4327 tst-lfschk4, tst-lfschk5, and tst-lfschk6.
4328 * elf/Makefile (tests, modules-names): Likewise for tst-unique3,
4329 tst-unique3lib, tst-unique3lib2, tst-unique4, and tst-unique4lib.
4331 2015-03-04 Andreas Schwab <schwab@suse.de>
4334 * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Don't define
4335 for non-GCC compilers.
4336 * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
4339 2015-03-03 Adhemerval Zanellla <azanella@linux.vnet.ibm.com>
4342 * sysdeps/powerpc/bits/fenvinline.h (feraiseexcept): Convert input to
4343 integer before bitwise and assembly operations.
4344 (feclearexcept): Likewise.
4345 * math/test-fenvinline.c: New file.
4346 * math/Makefile: Add test-fenvinline test.
4348 2015-03-03 Alan Modra <amodra@gmail.com>
4351 * scripts/localplt.awk: Strip off symbol version.
4352 * NEWS: Mention bug fix.
4354 2015-03-02 Roland McGrath <roland@hack.frob.com>
4356 * sysdeps/pthread/timer_routines.c
4357 (timer_free_list, thread_free_list, thread_active_list): Make static.
4359 2015-03-02 Joseph Myers <joseph@codesourcery.com>
4362 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
4363 [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
4365 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
4366 [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
4368 * sysdeps/unix/sysv/linux/sh/kernel-features.h
4369 [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
4372 2015-03-02 Paul Pluzhnikov <ppluzhnikov@google.com>
4375 * posix/fnmatch_loop.c (END): Detect invalid pattern.
4376 * posix/tst-fnmatch3.c (do_bz18036): Add test case.
4378 2015-03-02 Andreas Schwab <schwab@suse.de>
4380 * elf/Makefile ($(elf-objpfx)runtime-linker.st): Fix typo in
4383 2015-03-02 Florian Weimer <fweimer@redhat.com>
4385 * nis/nss_nis/nis-initgroups.c (_nss_nis_initgroups_dyn):
4386 Return error status.
4388 2015-02-27 Alexandre Oliva <aoliva@redhat.com>
4391 * locale/findlocale.c (_nl_find_locale): Introduce const
4392 version of loc_name and drop unsafe type casts.
4394 2015-02-27 Roland McGrath <roland@hack.frob.com>
4396 * dlfcn/tststatic2.c (main): Converted to ...
4397 (do_test): ... this.
4398 (TEST_FUNCTION): New macro.
4399 Include test-skeleton.c.
4401 2015-02-27 H.J. Lu <hongjiu.lu@intel.com>
4404 * elf/Makefile (tests): Add vismain only if PIE is enabled.
4405 (tests-pie): Add vismain.
4406 (CFLAGS-vismain.c): New.
4407 * elf/vismain.c: Add comments for PIE requirement.
4409 2015-02-27 Joseph Myers <joseph@codesourcery.com>
4413 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Use
4414 0x1p-56L as threshold for just returning the argument.
4415 * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Use
4416 0x1p-32L as threshold for just returning the argument.
4417 * math/auto-libm-test-in: Add more tests of atanh.
4418 * math/auto-libm-test-out: Regenerated.
4419 * sysdeps/i386/fpu/libm-test-ulps: Update.
4420 * sysdeps/x86_64/fpu/libm-test-ulp: Likewise.
4422 2015-02-27 Wilco Dijkstra wdijkstr@arm.com
4424 * string/bcopy.c (bcopy): Call memmove for performance.
4426 2015-02-27 Wilco Dijkstra wdijkstr@arm.com
4428 * string/bzero.c (__bzero): Call memset for performance.
4430 2015-02-27 John David Anglin <dave.anglin@bell.net>
4433 * sysdeps/unix/sysv/linux/hppa/bits/fcntl.h (__O_SYNC): Change
4436 2015-02-27 Joseph Myers <joseph@codesourcery.com>
4438 * sysdeps/ieee754/k_standard.c (CSTR): Add comment.
4440 2015-02-26 Joseph Myers <joseph@codesourcery.com>
4442 * sysdeps/ieee754/k_standard.c (CSTR): New macro.
4443 (__kernel_standard): Use CSTR macro when setting exc.name.
4444 * sysdeps/ieee754/Makefile [$(subdir) = math]
4445 (CFLAGS-k_standard.c): Remove variable.
4447 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Change last case for
4448 setting p and q from "else if" to "else".
4450 * sysdeps/ieee754/dbl-64/e_j1.c (pone): Likewise.
4452 * sysdeps/ieee754/flt-32/e_j0f.c (pzerof): Likewise.
4454 * sysdeps/ieee754/flt-32/e_j1f.c (ponef): Likewise.
4456 * sysdeps/ieee754/ldbl-96/e_j0l.c (pzero): Likewise.
4458 * sysdeps/ieee754/ldbl-96/e_j1l.c (pone): Likewise.
4463 * sysdeps/ieee754/ldbl-128/e_acosl.c (__ieee754_acosl): Only
4464 return pi/2 for arguments below 0x1p-113L.
4465 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Only
4466 return pi/2 for arguments below 0x1p-106L.
4467 * math/auto-libm-test-in: Add more tests of acos.
4468 * math/auto-libm-test-out: Regenerated.
4471 * sysdeps/i386/fpu/e_asin.S (dbl_min): New object.
4473 (__ieee754_asin): Force underflow exception for results with small
4475 * sysdeps/i386/fpu/e_asinf.S (flt_min): New object.
4477 (__ieee754_asinf): Force underflow exception for results with
4478 small absolute value.
4479 * sysdeps/ieee754/dbl-64/e_asin.c: Include <float.h> and <math.h>.
4480 (__ieee754_asin): Force underflow exception for results with small
4482 * sysdeps/ieee754/flt-32/e_asinf.c: Include <float.h>.
4483 (__ieee754_asinf): Force underflow exception for results with
4484 small absolute value.
4485 * sysdeps/ieee754/ldbl-128/e_asinl.c: Include <float.h>.
4486 (__ieee754_asinl): Force underflow exception for results with
4487 small absolute value.
4488 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Include <float.h>.
4489 (__ieee754_asinl): Force underflow exception for results with
4490 small absolute value.
4491 * sysdeps/ieee754/ldbl-96/e_asinl.c: Include <float.h>.
4492 (__ieee754_asinl): Force underflow exception for results with
4493 small absolute value.
4494 * sysdeps/x86_64/fpu/multiarch/e_asin.c [HAVE_FMA4_SUPPORT]:
4496 * math/auto-libm-test-in: Do not mark underflow exceptions as
4497 possibly missing for bug 16351.
4498 * math/auto-libm-test-out: Regenerated.
4501 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Adjust exponent
4502 of power of 2 down when low part has opposite sign.
4503 * math/libm-test.inc (logb_test_data): Add more tests.
4505 2015-02-26 Andreas Schwab <schwab@suse.de>
4508 * posix/fnmatch_loop.c (FCT): Remove extra increment when skipping
4509 over collating symbol inside a bracket expression. Minor cleanup.
4510 * posix/tst-fnmatch3.c (do_test): Add test case.
4512 2015-02-26 Joseph Myers <joseph@codesourcery.com>
4515 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl):
4516 Adjust exponent of power of 2 down when low part has opposite
4518 * math/libm-test.inc (ilogb_test_data): Add more tests.
4520 2015-02-26 Alexandre Oliva <aoliva@redhat.com>
4523 * locale/findlocale.c (_nl_find_locale): Fix constness error in
4524 the previous change.
4527 * locale/findlocale.c (_nl_find_locale): Retry archive search
4528 after alias expansion.
4530 2015-02-25 Roland McGrath <roland@hack.frob.com>
4532 * iconv/tst-iconv3.c (main): Converted to ...
4533 (do_test): ... this.
4534 (TEST_FUNCTION): New macro.
4535 Include test-skeleton.c.
4537 * iconv/tst-iconv5.c (testcode, number): Make variables static const.
4538 (convert): Make function static.
4539 (test_unalign): Likewise. Add const to argument pointee types.
4540 (main): Replace with static function do_test.
4541 Print "Succeeded." only if RET is zero.
4542 (TEST_FUNCTION): New macro.
4543 Include test-skeleton.c.
4545 * iconv/gconv_conf.c (__gconv_get_path): Don't crash if __getcwd
4546 returns a null pointer.
4548 2015-02-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4550 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Define memcpy
4551 to __memcpy_ppc only for static builds.
4553 2015-02-25 Joseph Myers <joseph@codesourcery.com>
4556 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use 2**56 and
4557 2**-56 not 2**28 and 2**-29 as thresholds for simpler formulas.
4558 * math/auto-libm-test-in: Add more tests of asinh.
4559 * math/auto-libm-test-out: Regenerated.
4560 * sysdeps/i386/fpu/libm-test-ulps: Update.
4561 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4563 2015-02-25 Cong Wang <xiyou.wangcong@gmail.com>
4566 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Put in6_pktinfo
4567 and ip6_mtuinfo definitions here.
4568 * sysdeps/unix/sysv/linux/bits/in.h [_UAPI_IPV6_H]: Wrap code
4569 in this define too. Update comment.
4571 2015-02-24 Benno Schulenberg <bensberg@justemail.net>
4573 * elf/sprof.c (load_shobj): Tweak error message to match others.
4575 2015-02-24 Kevin Easton <kevin@guarana.org>
4577 [BZ #16145] (partial fix)
4578 * time/tzset.c (__tz_convert): Unlock tzset_lock earlier
4579 to reduce lock contention.
4581 2015-02-24 Miroslav Lichvar <mlichvar@redhat.com>
4583 * sysdeps/unix/sysv/linux/bits/timex.h: Update version.
4584 (struct timex): Update time comment.
4585 (ADJ_SETOFFSET): Define.
4587 2015-02-24 Joseph Myers <joseph@codesourcery.com>
4590 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
4591 2**56 not 2**28 as threshold for log (2x) formula.
4592 * math/auto-libm-test-in: Add more tests of acosh.
4593 * math/auto-libm-test-out: Regenerated.
4594 * sysdeps/i386/fpu/libm-test-ulps: Update.
4595 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4597 2015-02-24 Mike Frysinger <vapier@gentoo.org>
4599 * include/alloca.h [_STACK_GROWS_DOWN] (extend_alloca): Add
4600 parenthesis around the buf assignment.
4601 [_STACK_GROWS_UP] (extend_alloca): Add a char* cast.
4603 2015-02-24 Joseph Myers <joseph@codesourcery.com>
4606 * sysdeps/i386/fpu/e_scalb.S (__ieee754_scalb): Do not handle
4607 arguments (NaN, -Inf) the same as (+/-Inf, -Inf).
4608 * sysdeps/i386/fpu/e_scalbf.S (__ieee754_scalbf): Likewise.
4609 * sysdeps/i386/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
4610 * sysdeps/x86_64/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
4611 * math/libm-test.inc (scalb_test_data): Add more tests.
4613 2015-02-24 Paul Pluzhnikov <ppluzhnikov@google.com>
4616 * libio/fileops.c (_IO_new_file_fopen): Limit stack use
4617 * libio/tst-fopenloc.c (do_test, do_bz17916): Add a large ccs= test
4619 2015-02-24 Eric Rannaud <e@nanocritical.com>
4622 * io/fcntl.h (__OPEN_NEEDS_MODE): New macro.
4623 * io/bits/fcntl2.h (open): Use it.
4625 * io/open.c (__libc_open): Likewise.
4626 * io/open64.c (__libc_open64): Likewise.
4627 * io/open64_2.c (__open64_2): Likewise.
4628 * io/open_2.c (__open_2): Likewise.
4629 * io/openat.c (__openat): Likewise.
4630 * io/openat64.c (__openat64): Likewise.
4631 * io/openat64_2.c (__openat64_2): Likewise.
4632 * io/openat_2.c (__openat_2): Likewise.
4633 * sysdeps/mach/hurd/open.c (__libc_open): Likewise.
4634 * sysdeps/mach/hurd/openat.c (__openat): Likewise.
4635 * sysdeps/posix/open64.c (__libc_open64): Likewise.
4636 * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
4637 * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
4638 (__open_nocancel): Likewise.
4639 * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
4640 * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
4641 * sysdeps/unix/sysv/linux/openat.c (__OPENAT): Likewise.
4643 2015-02-24 Siddhesh Poyarekar <siddhesh@redhat.com>
4646 * resolv/gethnamaddr.c (getanswer): Skip logging if
4647 RES_USE_DNSSEC is set.
4648 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
4650 2015-02-24 Mike Frysinger <vapier@gentoo.org>
4652 * sysdeps/unix/sysv/linux/hppa/sysdep.h: Include dl-sysdep.h.
4654 2015-02-23 Alexandre Oliva <aoliva@redhat.com>
4656 * include/stdc-predef.h (__STDC_ISO_10646__): Update to
4657 201304L, for Unicode 7.
4659 2015-02-23 H.J. Lu <hongjiu.lu@intel.com>
4662 * csu/Makefile (extra-objs): Add gmon-start.o if not builing
4663 shared library. Add gmon-start.os otherwise.
4664 ($(objpfx)g$(start-installed-name)): Use $(objpfx)S%
4665 $(objpfx)gmon-start.os if builing shared library.
4666 ($(objpfx)g$(static-start-installed-name)): Likewise.
4668 2015-02-23 Andreas Schwab <schwab@suse.de>
4670 * elf/Makefile (CFLAGS-tst-audit2.c): Define.
4672 2015-02-22 Paul Pluzhnikov <ppluzhnikov@google.com>
4675 * libio/wstrops.c (_IO_wstr_overflow): Guard against integer overflow
4676 (enlarge_userbuf): Likewise.
4678 2015-02-22 Chung-Lin Tang <cltang@codesourcery.com>
4680 * libio/tst-memstream2.c (TIMEOUT): Define as 100.
4681 * math/atest-exp.c (TIMEOUT): Adjust to 200.
4682 * math/atest-exp2.c (TIMEOUT): Adjust to 300.
4683 * math/atest-sincos.c (TIMEOUT): Adjust to 600.
4685 2015-02-20 Joseph Myers <joseph@codesourcery.com>
4687 * soft-fp/op-common.h (_FP_FROM_INT): Wrap call to abort in
4688 expression inside statement expression.
4690 2015-02-20 Stefan Liebler <stli@linux.vnet.ibm.com>
4692 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Include
4693 <sysdeps/nptl/lowlevellock.h> and remove macros and
4694 functions that are now defined there.
4695 (SYS_futex): Remove.
4696 (lll_compare_and_swap): Remove.
4697 * sysdeps/s390/bits/atomic.h (atomic_exchange_acq): Define.
4699 2015-02-19 Joseph Myers <joseph@codesourcery.com>
4702 * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Define to __scandirat
4703 instead of scandirat.
4704 * dirent/scandirat.c [!SCANDIRAT] (SCANDIRAT): Likewise.
4705 [!SCANDIRAT] (SCANDIRAT_WEAK_ALIAS): Define.
4706 [SCANDIRAT_WEAK_ALIAS] (scandirat): Define as weak alias of
4708 * include/dirent.h (scandirat): Do not use libc_hidden_proto.
4709 (__scandirat): Declare. Use libc_hidden_proto.
4710 * conform/Makefile (test-xfail-POSIX2008/dirent.h/linknamespace):
4712 (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
4714 2015-02-18 Joseph Myers <joseph@codesourcery.com>
4717 * sysdeps/i386/fpu/e_atan2.S (dbl_min): New object.
4719 (__ieee754_atan2): For results with small absolute value, force
4720 underflow exception and remove excess range and precision from
4722 * sysdeps/i386/fpu/e_atan2f.S (flt_min): New object.
4724 (__ieee754_atan2f): For results with small absolute value, force
4725 underflow exception and remove excess range and precision from
4727 * sysdeps/i386/fpu/s_atan.S (dbl_min): New object.
4729 (__atan): For results with small absolute value, force underflow
4730 exception and remove excess range and precision from return value.
4731 * sysdeps/i386/fpu/s_atanf.S (flt_min): New object.
4733 (__atanf): For results with small absolute value, force underflow
4734 exception and remove excess range and precision from return value.
4735 * sysdeps/ieee754/dbl-64/e_atan2.c: Include <float.h> and
4737 (__ieee754_atan2): Force underflow exception for results with
4738 small absolute value.
4739 * sysdeps/ieee754/dbl-64/s_atan.c: Include <float.h> and
4741 (atan): Force underflow exception for results with small absolute
4743 * sysdeps/ieee754/flt-32/s_atanf.c: Include <float.h>.
4744 (__atanf): Force underflow exception for results with small
4746 * sysdeps/ieee754/ldbl-128/s_atanl.c: Include <float.h> and
4748 (__atanl): Force underflow exception for results with small
4750 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <float.h>.
4751 (__atanl): Force underflow exception for results with small
4753 * sysdeps/x86/fpu/bits/mathinline.h
4754 [!__SSE2_MATH__ && !__x86_64__ && __LIBC_INTERNAL_MATH_INLINES]
4755 (__ieee754_atan2): Only define inline for long double.
4756 * sysdeps/x86_64/fpu/multiarch/e_atan2.c
4757 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Include <math.h>.
4758 * math/auto-libm-test-in: Do not mark underflow exceptions as
4759 possibly missing for bug 15319. Add more tests of atan2.
4760 * math/auto-libm-test-out: Regenerated.
4761 * math/libm-test.inc (casin_test_data): Do not mark underflow
4762 exceptions as possibly missing for bug 15319.
4763 (casinh_test_data): Likewise.
4764 * sysdeps/i386/fpu/libm-test-ulps: Update.
4766 2015-02-18 Steve Ellcey <sellcey@imgtec.com>
4768 * sysdeps/unix/sysv/linux/mips/bits/endian.h: Remove.
4769 * sysdeps/mips/bits/endian.h: Fix comments.
4771 2015-02-18 Joseph Myers <joseph@codesourcery.com>
4774 * include/search.h (hcreate_r): Don't use libc_hidden_proto.
4775 (hdestroy_r): Likewise.
4776 (hsearch_r): Likewise.
4777 (__hcreate_r): Declare and use libc_hidden_proto.
4778 (__hdestroy_r): Likewise.
4779 (__hsearch_r): Likewise.
4780 * misc/hsearch.c (hsearch): Call __hsearch_r instead of hsearch_r.
4781 (hcreate): Call __hcreate_r instead of hcreate_r.
4782 (__hdestroy): Call __hdestroy_r instead of hdestroy_r.
4783 * misc/hsearch_r.c (hcreate_r): Rename to __hcreate_r and define
4784 as weak alias of __hcreate_r.
4785 (hdestroy_r): Rename to __hdestroy_r and define as weak alias of
4787 (hsearch_r): Rename to __hsearch_r and define as weak alias of
4789 * conform/Makefile (test-xfail-XPG3/search.h/linknamespace):
4791 (test-xfail-XPG4/search.h/linknamespace): Likewise.
4792 (test-xfail-UNIX98/search.h/linknamespace): Likewise.
4793 (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
4794 (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
4796 2015-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
4798 * malloc/malloc.c (__libc_malloc): Consolidate arena_lookup and
4799 arena_lock into a single arena_get.
4801 2015-02-17 Carlos O'Donell <carlos@redhat.com>
4803 * dl-reloc.c: Inlucde libc-internal.h.
4804 (_dl_try_allocate_static_tls): Call ALIGN_UP.
4805 (_dl_relocate_object): Call ALIGN_UP, ALIGN_DOWN, and PTR_ALIGN_DOWN.
4806 (_dl_protect_relro): Call ALIGN_UP and ALIGN_DOWN.
4807 * malloc/arena.c (new_heap): Use pagesize. Call ALIGN_UP.
4808 (grow_heap): Likewise.
4809 * malloc/malloc.c: Include libc-internal.h.
4810 (do_check_malloc): Call powerof2.
4811 (sysmalloc): Use pagesize. Call ALIGN_UP.
4812 (systrim): Use pagesize.
4813 (mremap_chunk): Use pagesize. Call ALIGN_UP.
4814 (__libc_valloc): Use pagesize.
4815 (__libc_pvalloc): Use pagesize. Call ALIGN_UP.
4817 2015-02-17 Joseph Myers <joseph@codesourcery.com>
4820 * include/sys/resource.h (__getrlimit64): Declare. Use
4822 * resource/getrlimit64.c (getrlimit64): Rename to __getrlimit64
4823 and define as weak alias of __getrlimit64. Use libc_hidden_weak.
4824 * sysdeps/posix/spawni.c (__spawni): Call __getrlimit64 instead of
4826 * sysdeps/unix/sysv/linux/getrlimit64.c (getrlimit64): Rename to
4828 [!getrlimit64] (getrlimit64): Define as weak alias of
4829 __getrlimit64. Use libc_hidden_weak.
4830 * sysdeps/unix/sysv/linux/i386/getrlimit64.c (getrlimit64): Define
4831 using __getrlimit64 not __new_getrlimit64.
4832 (__GI_getrlimit64): Likewise.
4833 * sysdeps/unix/sysv/linux/mips/getrlimit64.c (getrlimit64):
4835 (__GI_getrlimit64): Likewise.
4836 (__old_getrlimit64): Use __getrlimit64 not __new_getrlimit64.
4837 * sysdeps/unix/sysv/linux/powerpc/powerpc64/syscalls.list
4838 (getrlimit): Add __getrlimit64 alias.
4839 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (getrlimit):
4841 * conform/Makefile (test-xfail-XOPEN2K/spawn.h/linknamespace):
4843 (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
4844 (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
4846 2015-02-17 Paul Pluzhnikov <ppluzhnikov@google.com>
4848 * libio/fileops.c: Add missing sys/mman.h
4849 * libio/iopopen.c: Add missing fcntl.h, remove redundant unistd.h
4851 2015-02-17 Joseph Myers <joseph@codesourcery.com>
4853 * manual/math.texi (Errors in Math Functions): Clarify goals
4854 regarding inexact and underflow exceptions.
4856 2015-02-17 Steve Ellcey <sellcey@imgtec.com>
4858 * sysdeps/mips/memcpy.S: Move R6 PREFETCH_STORE_HINT check.
4859 * sysdeps/mips/memset.S: Ditto.
4861 2015-02-17 Steve Ellcey <sellcey@imgtec.com>
4863 * sysdeps/mips/bits/endian.h (__MIPSEL): Use #ifdef instead of #if.
4865 2015-02-17 Stefan Liebler <stli@linux.vnet.ibm.com>
4867 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c
4868 (__v1longjmp): Remove versioned symbol.
4869 (__v1siglongjmp): Remove alias and versioned symbol.
4870 (__v2longjmp): Use DEFINE_LONGJMP instead of alias.
4871 (__v2siglongjmp): Likewise.
4873 2015-02-16 Torvald Riegel <triegel@redhat.com>
4875 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Remove file.
4877 2015-02-16 Mike Frysinger <vapier@gentoo.org>
4879 * sysdeps/unix/sysv/linux/ia64/getpagesize.c: Delete.
4881 2015-02-16 Joseph Myers <joseph@codesourcery.com>
4884 * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Ensure sign of
4885 zero result does not depend on the sign resulting from
4887 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
4889 * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
4890 * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
4891 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
4892 * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
4893 * math/libm-test.inc (remquo_test_data): Add more tests.
4895 2015-02-16 Paul Eggert <eggert@cs.ucla.edu>
4897 * manual/time.texi (TZ Variable): glibc no longer comes with tzdata.
4898 Problem reported by J William Piggott.
4900 2015-02-16 Joseph Myers <joseph@codesourcery.com>
4903 * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Do not form
4904 products 4 * y and 2 * y where those would overflow.
4905 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
4907 * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
4908 * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
4909 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
4910 * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
4911 * math/libm-test.inc (remquo_test_data): Add more tests.
4913 * sysdeps/mips/sgidefs.h [!_ABIO64] (_ABIO64): New macro.
4915 * sysdeps/mips/memcpy.S [_COMPILING_NEWLIB]: Change condition to
4916 [defined _COMPILING_NEWLIB].
4917 * sysdeps/mips/memset.S [_COMPILING_NEWLIB]: Likewise.
4918 * sysdeps/mips/strcmp.S [_COMPILING_NEWLIB]: Likewise.
4920 * sysdeps/mips/sys/asm.h [__mips_isa_rev < 6]: Change condition to
4921 [!defined __mips_isa_rev || __mips_isa_rev < 6].
4923 2015-02-16 Torvald Riegel <triegel@redhat.com>
4925 * nptl/tst-cond25.c (cleanup): Explicitly check that the mutex is
4928 2015-02-15 Matthew Fortune <Matthew.Fortune@imgtec.com>
4931 * sysdeps/unix/sysv/linux/ia64/sys/user.h (NBPG): Remove.
4932 (UPAGES, HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR,
4933 HOST_STACK_END_ADDR): Likewise.
4935 2015-02-13 Steve Ellcey <sellcey@imgtec.com>
4937 * sysdeps/mips/bits/endian.h (__MIPSEB): Use #ifdef instead of #if.
4938 * sysdeps/mips/memcpy.S (__MIPSEB): Ditto.
4939 * sysdeps/mips/memset.S (__MIPSEB): Ditto.
4941 2015-02-13 Roland McGrath <roland@hack.frob.com>
4943 * sysdeps/generic/c++-types.data: New file.
4944 * sysdeps/generic/ld.abilist: New file.
4945 * sysdeps/generic/libBrokenLocale.abilist: New file.
4946 * sysdeps/generic/libanl.abilist: New file.
4947 * sysdeps/generic/libc.abilist: New file.
4948 * sysdeps/generic/libcrypt.abilist: New file.
4949 * sysdeps/generic/libdl.abilist: New file.
4950 * sysdeps/generic/libm.abilist: New file.
4951 * sysdeps/generic/libpthread.abilist: New file.
4952 * sysdeps/generic/libresolv.abilist: New file.
4953 * sysdeps/generic/librt.abilist: New file.
4955 2015-02-13 Joseph Myers <joseph@codesourcery.com>
4958 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
4959 Compute absolute value of x as modified by fmod, not original
4961 * math/libm-test.inc (RUN_TEST_ffI_f1): Rename to
4962 RUN_TEST_ffI_f1_mod8. Check extra return value mod 8.
4963 (RUN_TEST_LOOP_ffI_f1): Rename to RUN_TEST_LOOP_ffI_f1_mod8. Call
4964 RUN_TEST_ffI_f1_mod8.
4965 (remquo_test_data): Add more tests.
4967 2015-02-13 Roland McGrath <roland@hack.frob.com>
4969 * sysdeps/init_array/pt-crti.S: New file.
4971 2015-02-13 Joseph Myers <joseph@codesourcery.com>
4974 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Use
4975 __builtin_fmaf instead of relying on contraction of a * b + c.
4977 2015-02-12 J William Piggott <elseifthen@gmx.com>
4980 * manual/time.texi: correct the zoneinfo path in the TZ Variable
4983 2015-02-12 Joseph Myers <joseph@codesourcery.com>
4986 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Use
4987 __builtin_fma instead of relying on contraction of a * b + c.
4989 2015-02-12 Roland McGrath <roland@hack.frob.com>
4991 * Makeconfig (ASFLAGS): Add -Werror=undef.
4992 * sysdeps/arm/Versions (libc: GLIBC_2.19): New (empty) version set.
4993 * sysdeps/unix/make-syscalls.sh: Always emit #define's for
4994 SYSCALL_CANCELLABLE, SYSCALL_NOERRNO, SYSCALL_ERRVAL, to 1 or 0.
4996 * Makeconfig (after-link): New variable.
4997 (+link-pie, +link-pie-tests): Use it.
4998 (+link-static, +link-static-tests): Likewise.
4999 (+link, +link-tests): Likewise.
5000 * Makerules (build-module, build-module-asneeded): Likewise.
5001 (lib%.so, $(common-objpfx)libc.so, $(common-objpfx)linkobj/libc.so):
5003 * elf/Makefile ($(objpfx)ld.so): Likewise.
5005 2015-02-12 Rüdiger Sonderfeld <ruediger@c-plusplus.net>
5008 * manual/time.texi (Elapsed Time): tv_sec is of type time_t in
5009 both struct timeval and struct timespec.
5011 2015-02-12 Joseph Myers <joseph@codesourcery.com>
5014 * math/e_exp2l.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
5016 (__ieee754_exp2l): Do not multiply small fractional parts by
5018 * sysdeps/i386/fpu/e_exp2l.S (__ieee754_exp2l): Just add 1 to
5020 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
5021 * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
5022 * sysdeps/x86_64/fpu/e_exp2l.S (__ieee754_exp2l): Likewise.
5023 * math/auto-libm-test-in: Add more tests of exp2.
5024 * math/auto-libm-test-out: Regenerated.
5026 2015-02-12 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
5028 * sysdeps/powerpc/powerpc64/power7/strncpy.S (strncpy): Optimize
5031 2015-02-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5033 * sysdeps/unix/sysv/linux/powerpc/htm.h [TABORT]: Fix encoding for
5036 2015-02-12 Andreas Schwab <schwab@suse.de>
5039 * nptl/pthread_mutexattr_gettype.c (pthread_mutexattr_gettype):
5040 Filter out elision flags from value returned in kind.
5041 * nptl/Makefile (tests): Add tst-pthread-mutexattr.
5042 * nptl/tst-pthread-mutexattr.c: New file.
5044 2015-02-11 Samuel Thibault <samuel.thibault@ens-lyon.org>
5046 * abi-tags: Revert ae20c9a: rename back gnu into gnu-gnu.
5047 * configure.ac, configure: Revert ba90e05: modify gnu-* host_os back
5048 into gnu-gnu, and update comment to refer to abi-tags.
5050 2015-02-11 Joseph Myers <joseph@codesourcery.com>
5053 * sysdeps/ieee754/dbl-64/s_sincos.c: Include <errno.h>.
5054 (__sincos): Set errno to EDOM for infinite argument.
5055 * sysdeps/ieee754/flt-32/s_sincosf.c: Include <errno.h>.
5056 (SINCOSF_FUNC): Set errno to EDOM for infinite argument.
5057 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Include <errno.h>.
5058 (__sincosl): Set errno to EDOM for infinite argument.
5059 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Include <errno.h>.
5060 (__sincosl): Set errno to EDOM for infinite argument.
5061 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Include <errno.h>.
5062 (__sincosl): Set errno to EDOM for infinite argument.
5063 * math/libm-test.inc (sincos_test_data): Test errno setting.
5065 2015-02-11 Leonhard Holz <leonhard.holz@web.de>
5067 * string/strxfrm_l.c: Remove #define STRCMP.
5068 * string/strcoll_l.c: Remove #define STRLEN.
5069 * wcsmbs/wcsxfrm_l.c: Remove #define STRCMP.
5070 * wcsmbs/wcscoll_l.c: Remove #define STRLEN.
5072 2015-02-10 Joseph Myers <joseph@codesourcery.com>
5074 * sysdeps/mips/soft-fp/sfp-machine.h: Move to ....
5075 * sysdeps/mips/mips32/sfp-machine.h: ... here.
5076 * sysdeps/mips/mips64/soft-fp/Makefile: Move to ....
5077 * sysdeps/mips/mips64/Makefile: ... here.
5078 * sysdeps/mips/mips64/soft-fp/e_sqrtl.c: Move to ....
5079 * sysdeps/mips/mips64/e_sqrtl.c: ... here.
5080 * sysdeps/mips/mips64/soft-fp/sfp-machine.h: Move to ....
5081 * sysdeps/mips/mips64/sfp-machine.h: ... here.
5082 * sysdeps/mips/mips32/Implies: Remove mips/soft-fp.
5083 * sysdeps/mips/mips64/n32/Implies: Remove mips/mips64/soft-fp.
5084 * sysdeps/mips/mips64/n64/Implies: Likewise.
5086 2015-02-10 Roland McGrath <roland@hack.frob.com>
5088 * math/test-snan.c: Drop unnecessary #include's of <stdlib.h>,
5089 <sys/time.h>, <string.h>, and <errno.h>.
5090 (dest_offset, dest_address, value, zero): Remove unused variables.
5091 (ldouble): Remove typedef.
5092 (myFPsighandler): Use simple handler signature, not SA_SIGINFO
5093 signature. Pass 1 to siglongjmp rather than 0 (which is converted to
5095 (set_sigaction_FP, remove_sigaction_FP): Functions removed.
5096 (check): Function removed.
5098 (TEST_FUNC): Fix code style. Use CHECK macro rather than repeating
5099 boilerplate feclearexcept + feenableexcept + sigsetjmp code.
5100 Don't call set_sigaction_FP and remove_sigaction_FP here.
5101 (ldouble_test): Just use 'long double' as macro argument, no need for
5102 the 'ldouble' typedef.
5103 (do_test): Set up SIGFPE handler at start, using plain signal rather
5104 than sigaction. Fix code style.
5106 2015-02-10 Evangelos Foutras <evangelos@foutrelis.com>
5109 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Fix position of
5112 2015-02-09 Adhemerval Zanellla <azanella@linux.vnet.ibm.com>
5114 * sysdeps/powerpc/powerpc32/configure.ac: Remove R_PPC_REL16 check.
5115 * sysdeps/powerpc/powerpc32/configure: Regenerated.
5117 * sysdeps/powerpc/configure.ac: Remove file.
5118 * sysdeps/powerpc/configure: Likewise.
5120 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
5121 [sysdep_routines]: Remove wordcopy-power6 object.
5122 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
5123 (__memmove_power7): Use local call for wordcopy and memcpy symbols.
5124 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c
5125 (__memmove_ppc32): Likewise.
5126 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: Remove
5128 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Remove file.
5129 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c [IS_IN (libc)]:
5130 Remove preprocessor.
5132 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
5133 [sysdep_routines]: Remove wide chars objects.
5134 [wcsmbs]: New rule for wide char objects.
5136 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
5137 Remove wordcopy-power6 obejct.
5138 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c (__memmove_ppc):
5139 Use local call for wordcopy and memcpy symbols.
5140 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: Remove file.
5141 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: Add default
5142 implementation for loader.
5143 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Remove file.
5145 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
5146 Remove wordcopy-power7 object.
5147 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: Remove file.
5148 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c
5149 (_wordcopy_fwd_aligned): Remove POWER7 specialization.
5150 (_wordcopy_fwd_dest_aligned): Likewise.
5151 (_wordcopy_bwd_aligned): Likewise.
5152 (_wordcopy_bwd_dest_aligned): Likewise.
5154 * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c (__bcopy_ppc):
5155 Rewrite to call __memmove_ppc instead of include default
5158 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
5159 Remove wide chars objects.
5160 [wcsmbs]: New rule for wide char objects.
5162 2015-02-09 Andreas Schwab <schwab@suse.de>
5165 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
5166 in terms of __O_DIRECTORY.
5168 2015-02-08 Samuel Thibault <samuel.thibault@ens-lyon.org>
5170 * time/getdate.c: Include <stdbool.h>.
5171 * sysdeps/gnu/unwind-resume.c [!PTR_MANGLE] (__libgcc_s_init): Do not
5173 [!PTR_DEMANGLE] (_Unwind_Resume, __gcc_personality_v0): Do not call
5176 2015-02-07 Paul Eggert <eggert@cs.ucla.edu>
5178 Add ersatz _Static_assert on older C hosts
5179 * misc/sys/cdefs.h (_Static_assert): Define a substitute, if on a
5180 pre-C11 C platform that is not known to support _Static_assert.
5182 2015-02-07 Richard Braun <rbraun@sceen.net>
5184 * hurd/hurd/signal.h (_hurd_critical_section_lock): Don't unlock
5186 * sysdeps/mach/hurd/mmap.c (__mmap): Also handle PROT_NONE case.
5188 2015-02-07 Samuel Thibault <samuel.thibault@ens-lyon.org>
5190 * sysdeps/pthread/aio_misc.c [!AIO_PRIO_DELTA_MAX]: Do not check
5191 priority against unexistent AIO_PRIO_DELTA_MAX.
5192 * misc/chflags.c (chflags): Set flags parameter type to unsigned long
5194 * misc/fchflags.c (fchflags): Likewise.
5195 * sysdeps/mach/hurd/chflags.c (chflags): Likewise.
5196 * sysdeps/mach/hurd/fchflags.c (fchflags): Likewise.
5197 * sysdeps/mach/hurd/bits/stat.h [__USE_MISC] (UF_SETTABLE, UF_NODUMP,
5198 UF_IMMUTABLE, UF_APPEND, UF_OPAQUE, UF_NOUNLINK, SF_SETTABLE,
5199 SF_ARCHIVED, SF_IMMUTABLE, SF_APPEND, SF_NOUNLINK, SF_SNAPSHOT):
5201 [__USE_MISC] (chflags, fchflags): Declare functions.
5202 * hurd/hurdselect.c (_hurd_select): In the poll case, do not return
5203 EINVAL when nfds is greater than FD_SETSIZE.
5204 * hurd/hurd/resource.h (MACH_PRIORITY_TO_NICE,
5205 NICE_TO_MACH_PRIORITY): Align nice levels on Mach priorities from 5 to
5207 * hurd/hurdselect.c (_hurd_select): Pass MACH_RCV_INTERRUPT to
5208 __mach_msg. If that returns MACH_RCV_INTERRUPTED, set ERR to EINTR.
5209 * hurd/hurdselect.c (_hurd_select): Remove unreachable check for
5211 * hurd/hurd/signal.h (_hurd_self_sigstate,
5212 _hurd_critical_section_lock, _hurd_critical_section_unlock):
5213 Explicit casts from void *.
5214 * sysdeps/mach/hurd/tls.h: Include <stdint.h> and <sysdep.h>.
5215 * abi-tags: Rename gnu-gnu os into gnu.
5218 * sysdeps/mach/hurd/bits/ioctls.h (_IOT__IOTBASE_long, _IOT_char,
5219 _IOT_short, _IOT_int, _IOT_long, _IOT__IOTBASE_int8_t,
5220 _IOT__IOTBASE_uint8_t, _IOT__IOTBASE_int16_t, _IOT__IOTBASE_uint16_t,
5221 _IOT__IOTBASE_int32_t, _IOT__IOTBASE_uint32_t, _IOT__IOTBASE_int64_t,
5222 _IOT__IOTBASE_uint64_t, _IOT__IOTBASE_size_t, _IOT__IOTBASE_ssize_t,
5223 _IOTBASE_unsigned, _IOTBASE_signed): Define macros.
5226 * hurd/hurdsocket.h: New file, defines _hurd_sun_path_dupa which
5227 duplicates ADDR->sun_path with sockaddr LEN limitation.
5228 * sysdeps/mach/hurd/connect.c: Include <string.h>
5229 (__connect): Give result of _hurd_sun_path_dupa to name lookup.
5230 * sysdeps/mach/hurd/sendmsg.c: Likewise.
5231 * sysdeps/mach/hurd/sendto.c: Likewise.
5232 * sysdeps/mach/hurd/bind.c: Call _hurd_sun_path_dupa instead of
5233 implementing it by hand.
5235 2015-02-06 Roland McGrath <roland@hack.frob.com>
5237 * sysdeps/arm/sysdep.h [!PROF] [ARCH_HAS_T2 && !PIC] (LDR_GLOBAL):
5238 Use sfi_breg on ldr.
5239 [!PROF] [ARCH_HAS_T2 && PIC && ARM_PCREL_MOVW_OK] (LDR_GLOBAL):
5242 * nptl/tst-cancel25.c (tf2): Test for SIGCANCEL being blocked only if
5244 * nptl/tst-signal7.c (do_test): Test SIGCANCEL only if it's defined.
5245 Test SIGSETXID only if it's defined.
5247 * nptl/tst-locale1.c (useless): Use SIGRTMIN only if it's defined.
5249 * rt/tst-timer2.c (do_test): Don't initialize SIGEV.sigev_signo, which
5250 will not be used. Use NULL rather than 0 for .sigev_notify_attributes.
5252 * nptl/tst-align2.c: Moved ...
5253 * sysdeps/unix/sysv/linux/tst-align-clone.c: ... here.
5254 * nptl/Makefile (tests): Remove tst-align2.
5255 * sysdeps/unix/sysv/linux/Makefile
5256 [$(subdir) = nptl] (tests): Add tst-align-clone.
5257 * nptl/tst-getpid1.c: Moved ...
5258 * sysdeps/unix/sysv/linux/tst-getpid1.c: ... here.
5259 * nptl/tst-getpid2.c: Moved ...
5260 * sysdeps/unix/sysv/linux/tst-getpid2.c: ... here.
5261 * nptl/Makefile (tests): Move tst-getpid1 and tst-getpid2 ...
5262 * sysdeps/unix/sysv/linux/Makefile
5263 [$(subdir) = nptl] (tests): ... here.
5264 * nptl/Makefile (tst-getpid2-ENV): Move variable ...
5265 * sysdeps/unix/sysv/linux/Makefile
5266 [$(subdir) = nptl] (tst-getpid2-ENV): ... here.
5268 * nptl/tst-cleanup2.c (do_test): Use signal rather than sigaction.
5269 Drop trailing \n from perror argument. Use return rather than exit.
5271 * nptl/tst-cancel20.c (do_test): Conditionalize SA_SIGINFO-using tests
5273 * nptl/tst-cancel21.c (do_test): Likewise.
5274 * debug/tst-backtrace6.c: Include <signal.h> first thing.
5275 Conditionalize inclusion of tst-backtrace5.c on [SA_SIGINFO].
5276 [!SA_SIGINFO]: Make it a stub test.
5278 * misc/tst-pselect.c (do_test): Don't set SA_NOCLDWAIT in sa_flags for
5279 SIGCHLD; it's redundant with SIG_IGN as sa_handler.
5281 * posix/tst-getlogin.c: Move to ...
5282 * login/tst-getlogin.c: ... here.
5283 * posix/Makefile (tests): Move tst-getlogin to ...
5284 * login/Makefile (tests): ... here.
5286 * libio/tst-atime.c (do_test): Move local variables SV and E
5287 inside [ST_NOATIME] conditional.
5289 * dirent/tst-fdopendir.c (O_NOATIME): If not defined, #define to 0.
5291 * nptl/tst-kill5.c (do_test): Use INT_MAX rather than SIGRTMAX + 10.
5293 * nptl/tst-join5.c: Drop #include <sys/syscall.h>.
5294 (wait_code): New function replaces macro.
5295 Call nanosleep rather than syscall.
5297 * nptl/pt-system.c: Rewritten. Put everything under
5298 [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
5299 Use IFUNC to redirect when possible.
5301 * nptl/pt-longjmp.c: Rewritten. Put everything under
5302 [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
5303 Use IFUNC to redirect when possible.
5305 * nptl/pt-fork.c: Rewritten. Put everything under
5306 [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
5307 Use IFUNC to redirect when possible.
5308 * nptl/Versions (libpthread: GLIBC_2.22): New (empty) version set.
5310 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: Remove all
5311 code under [!__ASSUME_FUTEX_CLOCK_REALTIME], since that is defined
5312 unconditionally nowadays. This included the only reference to
5313 __vdso_clock_gettime that appears outside libc proper.
5314 * sysdeps/unix/sysv/linux/x86_64/Versions (libc: GLIBC_PRIVATE):
5315 Remove version set (containing only __vdso_clock_gettime).
5316 * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
5317 Add attribute_hidden.
5318 * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
5319 Likewise. Drop __attribute__ ((nocommon)), libc_hidden_proto, and
5320 libc_hidden_data_def.
5321 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
5322 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
5324 * inet/Versions (libc: GLIBC_2.0): Move getrpcbyname, getrpcbyname_r,
5325 getrpcbynumber, getrpcbynumber_r, getrpcent, getrpcent_r, endrpcent,
5326 setrpcent, and getrpcport to ...
5327 * sunrpc/Versions (libc: GLIBC_2.0): ... here.
5328 * inet/Versions (libc: GLIBC_2.1.2): Move getrpcbyname_r,
5329 getrpcbynumber_r, and getrpcent_r to ...
5330 * sunrpc/Versions (libc: GLIBC_2.1.2): ... this new set.
5331 * inet/getrpcbyname.c: Moved ...
5332 * sunrpc/getrpcbyname.c: ... here.
5333 * inet/getrpcbyname_r.c: Moved ...
5334 * sunrpc/getrpcbyname_r.c: ... here.
5335 * inet/getrpcbynumber.c: Moved ...
5336 * sunrpc/getrpcbynumber.c: ... here.
5337 * inet/getrpcbynumber_r.c: Moved ...
5338 * sunrpc/getrpcbynumber_r.c: ... here.
5339 * inet/getrpcent.c: Moved ...
5340 * sunrpc/getrpcent.c: ... here.
5341 * inet/getrpcent_r.c: Moved ...
5342 * sunrpc/getrpcent_r.c: ... here.
5343 * inet/Makefile (routines): Move those to ...
5344 * sunrpc/Makefile (routines): ... here.
5345 * nss/Makefile (databases): Add key and rpc only if sunrpc appears in
5346 the $(subdirs) list.
5347 (CPPFLAGS-getent.c): New variable. Pass -D option to set HAVE_SUNRPC
5348 to 0 or 1, indicating whether sunrpc appears in the $(subdirs) list.
5349 * nss/getent.c (print_rpc, rpc_keys): Conditionalize on [HAVE_SUNRPC].
5350 (databases): Conditionalize rpc entry on [HAVE_SUNRPC].
5352 * elf/Makefile (routines): Include $(all-dl-routines), not just
5354 (rtld-routines): Likewise. Use = rather than :=.
5355 * sysdeps/aarch64/Makefile [$(subdir) = elf]
5356 (sysdep_routines, sysdep-rtld-routines): Don't add tlsdesc and
5357 dl-tlsdesc to these; sysdep-dl-routines alone is enough.
5358 * sysdeps/arm/Makefile: Likewise.
5359 * sysdeps/i386/Makefile: Likewise.
5360 * sysdeps/x86_64/Makefile: Likewise.
5361 * sysdeps/hppa/Makefile [$(subdir) = elf]
5362 (sysdep_routines, sysdep-rtld-routines): Don't add
5363 $(sysdep-dl-routines) to these.
5364 * sysdeps/ia64/Makefile: Likewise.
5365 * sysdeps/unix/sysv/linux/ia64/Makefile: Likewise.
5366 * sysdeps/unix/sysv/linux/aarch64/Makefile [$(subdir) = elf]
5367 [$(build-shared) = yes] (sysdep_routines, sysdep-rtld-routines):
5368 Don't add dl-static to these; sysdep-dl-routines alone is enough.
5369 * sysdeps/unix/sysv/linux/m68k/Makefile: Likewise.
5370 * sysdeps/unix/sysv/linux/mips/Makefile: Likewise.
5371 * sysdeps/unix/sysv/linux/powerpc/Makefile: Likewise.
5372 * sysdeps/unix/sysv/linux/tile/Makefile: Likewise.
5373 * sysdeps/powerpc/Makefile [$(subdir) = elf]
5374 (sysdep_routines, sysdep-rtld-routines): Don't add dl-machine to
5375 these; sysdep-dl-routines alone is enough.
5377 2015-02-06 Joseph Myers <joseph@codesourcery.com>
5380 * soft-fp/op-common.h (_FP_FMA): Set exponent of result in case
5381 where multiplication results in zero and third argument is finite
5383 * math/auto-libm-test-in: Add more tests of fma.
5384 * math/auto-libm-test-out: Regenerated.
5386 * soft-fp/op-common.h (_FP_CMP_CHECK_DENORM): New macro.
5387 (_FP_CMP_CHECK_FLUSH_ZERO): Likewise.
5388 (_FP_CMP): Use_FP_CMP_CHECK_DENORM and _FP_CMP_CHECK_FLUSH_ZERO.
5389 (_FP_CMP_EQ): Likewise.
5390 (_FP_CMP_UNORD): Use _FP_CMP_CHECK_DENORM.
5392 * soft-fp/op-common.h (FP_EXTEND): Rename to _FP_EXTEND_CNAN with
5393 extra argument CHECK_NAN. Redefine as wrapper around
5396 2015-02-06 Carlos O'Donell <carlos@systemhalted.org>
5398 * version.h (RELEASE): Set to "stable".
5399 (VERSION): Set to "2.21"
5400 * include/features.h (__GLIBC_MINOR__): Set to 21.
5402 * sysdeps/unix/sysv/linux/hppa/pthread.h: Sync with pthread.h.
5404 2015-02-05 Paul Pluzhnikov <ppluzhnikov@google.com>
5405 Paul Eggert <eggert@cs.ucla.edu>
5408 * stdio-common/tst-sscanf.c (main): Test for buffer overflow.
5409 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Compute needed
5410 size in bytes. Store needed elements in wpmax. Use needed size
5411 in bytes for extend_alloca.
5413 2015-02-05 Carlos O'Donell <carlos@systemhalted.org>
5415 * manual/install.texi: Latest tested versions are GCC 4.9.2,
5416 binutls 2.25, and texinfo 5.2.
5417 * INSTALL: Regenerate.
5418 * sysdeps/nios2/configure: Regenerate.
5419 * sysdeps/unix/sysv/linux/nios2/configure: Regenerate.
5420 * manual/contrib.texi: Update.
5444 * po/pt_BR.po: Update.
5453 * po/zh_CN.po: Update.
5454 * po/zh_TW.po: Update.
5456 * sysdeps/hppa/Makefile (CFLAGS-dl-fptr.c): Add -Wno-error.
5457 * sysdeps/hppa/bits/setjmp.h: Union is named __jmp_buf_internal_tag.
5458 * sysdeps/hppa/dl-irel.h: Remove #warning.
5459 * sysdeps/hppa/entry.h: Provide prototype for
5460 __canonicalize_funcptr_for_compare and cast argument.
5461 * sysdeps/hppa/fpu/fegetexcept.c (fegetexcept): Add semicolon.
5462 * sysdeps/hppa/fpu/ftestexcept.c (fetestexcept): Likewise.
5463 * sysdeps/hppa/sotruss-lib.c: New file.
5464 * sysdeps/unix/sysv/linux/hppa/bits/atomic.h
5465 (atomic_compare_and_exchange_val_acq): Use __typeof__.
5466 (atomic_compare_and_exchange_bool_acq): Likewise.
5467 * sysdeps/unix/sysv/linux/hppa/mmap.c: Use weak alias.
5468 * sysdeps/unix/sysv/linux/hppa/pthread.h: Include pthread.h.
5470 * sysdeps/unix/sysv/linux/hppa/syscall.S: Delete file.
5471 * sysdeps/unix/sysv/linux/hppa/sysdep.c: Move syscall from here...
5472 * sysdeps/unix/sysv/linux/hppa/syscall.c: ... to here.
5474 2015-02-05 Chung-Lin Tang <cltang@codesourcery.com>
5476 * sysdeps/nios2/machine-gmon.h (NIOS2_MCOUNT_CALL): Correct name of
5477 called function in non-PIC case.
5479 2015-01-31 David S. Miller <davem@davemloft.net>
5481 * sysdeps/sparc/sparc32/bits/atomic.h
5482 (__sparc32_atomic_do_unlock24): Put the memory barrier before the
5483 unlock not after it.
5484 (__v9_compare_and_exchange_val_32_acq): Use unions to avoid getting
5485 volatile register usage warnings from the compiler.
5487 * sysdeps/sparc/nptl/sem_init.c: Delete.
5488 * sysdeps/sparc/nptl/sem_post.c: Delete.
5489 * sysdeps/sparc/nptl/sem_timedwait.c: Delete.
5490 * sysdeps/sparc/nptl/sem_wait.c: Delete.
5491 * sysdeps/sparc/sparc32/sem_init.c: New file.
5492 * sysdeps/sparc/sparc32/sem_waitcommon.c: New file.
5493 * sysdeps/sparc/sparc32/sem_open.c: Generic nptl version with
5494 padding explicitly initialized.
5495 * sysdeps/sparc/sparc32/sem_post.c: Generic nptl version using
5496 padding for in-semaphore spinlock.
5497 * sysdeps/sparc/sparc32/sem_wait.c: Likewise.
5498 * sysdeps/sparc/sparc32/sem_trywait.c: Delete.
5499 * sysdeps/sparc/sparc32/sem_timedwait.c: Delete.
5500 * sysdeps/sparc/sparc32/sparcv9/sem_init.c: New file.
5501 * sysdeps/sparc/sparc32/sparcv9/sem_open.c: New file.
5502 * sysdeps/sparc/sparc32/sparcv9/sem_post.c: New file.
5503 * sysdeps/sparc/sparc32/sparcv9/sem_waitcommon.c: New file.
5504 * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: Redirect to nptl
5506 * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: Delete.
5507 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Delete.
5509 2015-01-30 H.J. Lu <hongjiu.lu@intel.com>
5512 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
5513 Set the bit_AVX_Fast_Unaligned_Load bit for AVX2.
5514 * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX_Fast_Unaligned_Load):
5516 (index_AVX_Fast_Unaligned_Load): Likewise.
5517 (HAS_AVX_FAST_UNALIGNED_LOAD): Likewise.
5518 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Check the
5519 bit_AVX_Fast_Unaligned_Load bit instead of the bit_AVX_Usable bit.
5520 * sysdeps/x86_64/multiarch/memcpy_chk.S (__memcpy_chk): Likewise.
5521 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Likewise.
5522 * sysdeps/x86_64/multiarch/mempcpy_chk.S (__mempcpy_chk): Likewise.
5523 * sysdeps/x86_64/multiarch/memmove.c (__libc_memmove): Replace
5524 HAS_AVX with HAS_AVX_FAST_UNALIGNED_LOAD.
5525 * sysdeps/x86_64/multiarch/memmove_chk.c (__memmove_chk): Likewise.
5527 2015-01-29 Andreas Schwab <schwab@suse.de>
5529 * sysdeps/nptl/allocrtsig.c: Include <signal.h>.
5531 2015-01-29 Siddhesh Poyarekar <siddhesh@redhat.com>
5534 * nscd/nscd_stat.c (send_stats): Initialize DATA.
5536 2015-01-28 Martin Sebor <msebor@redhat.com>
5538 * math/README.libm-test: Clarify. Add "How to read the test output."
5540 2015-01-28 Chris Metcalf <cmetcalf@ezchip.com>
5542 * sysdeps/tile/tilegx/bits/atomic.h [!_LP64] (__HAVE_64B_ATOMICS):
5545 2015-01-28 Joseph Myers <joseph@codesourcery.com>
5547 * sysdeps/mips/bits/atomic.h [_MIPS_SIM == _ABIN32]
5548 (__HAVE_64B_ATOMICS): Define to 0.
5550 2015-01-28 Adhemerval Zanellla <azanella@linux.vnet.ibm.com>
5553 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Fix correct
5554 value to set as new flag.
5557 * sysdeps/powerpc/fpu/math_private.h [__CPU_HAS_FSQRT]: Remove define
5558 and use _ARCH_PPCSQ instead.
5559 (__ieee754_sqrt): Likewise.
5560 (__ieee754_sqrtf): Likewise.
5561 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Build only if
5562 _ARCH_PPCSQ is defined.
5563 (__ieee754_sqrt): Use _ARCH_PPCSQ to select wheter to use hardware
5565 * sysdeps/powerpc/fpu/e_sqrtf.c (__ieee754_sqrtf): Build only if
5566 _ARCH_PPCSQ is defined.
5567 (__ieee754_sqrtf): Use _ARCH_PPCSQ to select wheter to use hardware
5569 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Remove file.
5571 2015-01-27 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5573 * iconv/loop.c: Suppress array out of bound warning caused by GCC
5574 bug (GCC BZ #64739).
5576 2015-01-25 Andreas Schwab <schwab@linux-m68k.org>
5578 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h (lll_futex_requeue):
5579 Mark _retval as used.
5580 (lll_futex_wake_unlock): Likewise.
5581 (lll_futex_timed_wait_requeue_pi): Likewise.
5583 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
5584 (atomic_compare_and_exchange_val_acq): Use uint32_t for the
5587 * sysdeps/m68k/m680x0/fpu/fraiseexcpt.c (__feraiseexcept): Use
5590 * sysdeps/m68k/bits/byteswap.h (__bswap_16, __bswap_32)
5591 (__bswap_64): Mark as __always_inline.
5593 2015-01-25 Bram <bug_rh@spam.wizbit.be>
5596 * elf/dl-load.c (open_path): Avoid writing to 'env_path_list'
5597 when none of the search directories exist.
5599 2015-01-24 Adhemerval Zanellla <azanella@linux.vnet.ibm.com>
5602 * sysdeps/powerpc/powerpc64/power8/memset.S: Use power7 instead of
5603 power8 in .machine directive.
5606 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Force value
5607 set dependency from opd value.
5609 2015-01-23 H.J. Lu <hongjiu.lu@intel.com>
5611 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
5612 Treat model numbers 0x4a/0x4d/0x5a/0x5d as Intel Silvermont
5615 2015-01-23 H.J. Lu <hongjiu.lu@intel.com>
5618 * nptl/sem_post.c (__new_sem_post): Replace unsigned long int
5620 * nptl/sem_waitcommon.c (__sem_wait_cleanup): Replace 1UL with
5622 (__new_sem_wait_fast): Replace unsigned long with uint64_t.
5623 (__new_sem_wait_slow): Replace unsigned long int with uint64_t.
5624 Replace 1UL with (uint64_t) 1.
5625 * sysdeps/nptl/internaltypes.h (new_sem): Replace unsigned long
5628 2015-01-23 Roland McGrath <roland@hack.frob.com>
5630 * inet/if_index.c (if_nameindex): Add missing libc_hidden_weak.
5631 (if_freenameindex): Likewise.
5633 * resource/getrlimit64.c: Add missing libc_hidden_def.
5635 2015-01-22 Joseph Myers <joseph@codesourcery.com>
5637 * soft-fp/op-common.h (_FP_ADD_INTERNAL): Declare labels with
5639 (_FP_FMA): Likewise.
5640 (_FP_TO_INT_ROUND): Likewise.
5641 (_FP_FROM_INT): Likewise.
5643 2015-01-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5646 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c (__get_clockfreq):
5647 Make code racy and cancel safe.
5649 2015-01-21 Carlos O'Donell <carlos@redhat.com>
5651 * sysdeps/arm/unwind-resume.h: Fix copyright year.
5652 * dlfcn/tst-rec-dlopen.c: Fix incorrect copyright year and
5655 * pwd/tst-getpw.c: Rewrite.
5658 * dlfcn/Makefile (tests): Add tst-rec-dlopen.
5659 (modules-names): Add moddummy1 and moddummy2.
5660 ($(objpfx)tst-rec-dlopen): Define.
5661 * dlfcn/moddummy1.c: New file.
5662 * dlfcn/moddummy2.c: New file.
5663 * dlfcn/tst-rec-dlopen.c: New file.
5664 * elf/dl-cache.c (_dl_load_cache_lookup):
5665 Return char*. Copy result with alloca/strcpy/strdup.
5666 * elf/dl-load.c (_dl_map_object): _dl_load_cached_lookup
5667 returns char*. Free cached. If not saving realname
5669 * elf/dl-open.c (dl_open_worker): Do not assert that
5670 _r_debug->r_state is RT_CONSISTENT.
5671 * sysdeps/generic/ldsodefs.h: _dl_load_cache_lookup
5674 2015-01-21 Torvald Riegel <triegel@redhat.com>
5675 Carlos O'Donell <carlos@redhat.com>
5678 * nptl/sem_waitcommon.c: New file.
5679 * nptl/sem_wait.c: Include sem_waitcommon.c.
5680 (__sem_wait_cleanup, do_futex_wait): Remove.
5681 (__new_sem_wait): Adapt.
5682 (__new_sem_trywait): New function.
5683 (__old_sem_trywait): Moved here from nptl/sem_trywait.c.
5684 * nptl/sem_timedwait.c: Include sem_waitcommon.c.
5685 (__sem_wait_cleanup, do_futex_timed_wait): Remove.
5686 (sem_timedwait): Adapt.
5687 * nptl/sem_post.c (__new_sem_post): Adapt.
5688 (futex_wake): New function.
5689 (__old_sem_post): Add release MO fence.
5690 * nptl/sem_open.c (sem_open): Adapt.
5691 * nptl/sem_init.c (__new_sem_init): Adapt.
5692 (futex_private_if_supported): New function.
5693 * nptl/sem_getvalue.c (__new_sem_getvalue): Adapt.
5694 (__old_sem_getvalue): Add using previous code.
5695 * sysdeps/nptl/internaltypes.h: Adapt.
5696 * nptl/tst-sem13.c (do_test): Adapt.
5697 * nptl/tst-sem11.c (main): Adapt.
5698 * nptl/sem_trywait.c: Remove.
5699 * nptl/DESIGN-sem.txt: Remove.
5700 * nptl/Makefile (libpthread-routines): Remove sem_trywait.
5701 (gen-as-const-headers): Remove structsem.sym.
5702 * nptl/structsem.sym: Remove.
5703 * sysdeps/unix/sysv/linux/alpha/sem_post.c: Remove.
5704 * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Remove.
5705 * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Remove.
5706 * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Remove.
5707 * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Remove.
5708 * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Remove.
5709 * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Remove.
5710 * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Remove.
5711 * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Remove.
5712 * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Remove.
5713 * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Remove.
5714 * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Remove.
5715 * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Remove.
5716 * sysdeps/unix/sysv/linux/powerpc/sem_post.c: Remove.
5717 * sysdeps/unix/sysv/linux/sh/sem_post.S: Remove.
5718 * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Remove.
5719 * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Remove.
5720 * sysdeps/unix/sysv/linux/sh/sem_wait.S: Remove.
5721 * sysdeps/unix/sysv/linux/x86_64/sem_post.S: Remove.
5722 * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Remove.
5723 * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Remove.
5724 * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Remove.
5726 2015-01-20 Carlos O'Donell <carlos@redhat.com>
5728 * INSTALL: Regenerated.
5730 * po/libc.pot: Regenerated.
5732 2015-01-18 Chung-Lin Tang <cltang@codesourcery.com>
5733 Sandra Loosemore <sandra@codesourcery.com>
5734 Andrew Jenner <andrew@codesourcery.com>
5735 Joseph Myers <joseph@codesourcery.com>
5736 Nathan Sidwell <nathan@codesourcery.com>
5738 * NEWS: Mention new Nios II port.
5739 * sysdeps/nios2/Implies: New file.
5740 * sysdeps/nios2/Makefile: New file.
5741 * sysdeps/nios2/Subdirs: New file.
5742 * sysdeps/nios2/Versions: New file.
5743 * sysdeps/nios2/__longjmp.S: New file.
5744 * sysdeps/nios2/abort-instr.h: New file.
5745 * sysdeps/nios2/backtrace.c: New file.
5746 * sysdeps/nios2/bits/endian.h: New file.
5747 * sysdeps/nios2/bits/fenv.h: New file.
5748 * sysdeps/nios2/bits/link.h: New file.
5749 * sysdeps/nios2/bits/setjmp.h: New file.
5750 * sysdeps/nios2/bsd-_setjmp.S: New file.
5751 * sysdeps/nios2/bsd-setjmp.S: New file.
5752 * sysdeps/nios2/configure: New generated file.
5753 * sysdeps/nios2/configure.ac: New file.
5754 * sysdeps/nios2/crti.S: New file.
5755 * sysdeps/nios2/crtn.S: New file.
5756 * sysdeps/nios2/dl-init.c: New file.
5757 * sysdeps/nios2/dl-machine.h: New file.
5758 * sysdeps/nios2/dl-sysdep.h: New file.
5759 * sysdeps/nios2/dl-tls.h: New file.
5760 * sysdeps/nios2/dl-trampoline.S: New file.
5761 * sysdeps/nios2/gccframe.h: New file.
5762 * sysdeps/nios2/gmp-mparam.h: New file.
5763 * sysdeps/nios2/jmpbuf-offsets.h: New file.
5764 * sysdeps/nios2/jmpbuf-unwind.h: New file.
5765 * sysdeps/nios2/ldsodefs.h: New file.
5766 * sysdeps/nios2/libc-tls.c: New file.
5767 * sysdeps/nios2/libm-test-ulps: New file.
5768 * sysdeps/nios2/machine-gmon.h: New file.
5769 * sysdeps/nios2/math-tests.h: New file.
5770 * sysdeps/nios2/math_private.h: New file.
5771 * sysdeps/nios2/memusage.h: New file.
5772 * sysdeps/nios2/nptl/Makefile: New file.
5773 * sysdeps/nios2/nptl/bits/pthreadtypes.h: New file.
5774 * sysdeps/nios2/nptl/bits/semaphore.h: New file.
5775 * sysdeps/nios2/nptl/pthread_spin_lock.c: New file.
5776 * sysdeps/nios2/nptl/pthreaddef.h: New file.
5777 * sysdeps/nios2/nptl/tcb-offsets.sym: New file.
5778 * sysdeps/nios2/nptl/tls.h: New file.
5779 * sysdeps/nios2/preconfigure: New file.
5780 * sysdeps/nios2/s_fma.c: New file.
5781 * sysdeps/nios2/s_fmaf.c: New file.
5782 * sysdeps/nios2/setjmp.S: New file.
5783 * sysdeps/nios2/sfp-machine.h: New file.
5784 * sysdeps/nios2/sotruss-lib.c: New file.
5785 * sysdeps/nios2/stackguard-macros.h: New file.
5786 * sysdeps/nios2/stackinfo.h: New file.
5787 * sysdeps/nios2/start.S: New file.
5788 * sysdeps/nios2/sysdep.h: New file.
5789 * sysdeps/nios2/tls-macros.h: New file.
5790 * sysdeps/nios2/tst-audit.h: New file.
5791 * sysdeps/unix/sysv/linux/nios2/Implies: New file.
5792 * sysdeps/unix/sysv/linux/nios2/Makefile: New file.
5793 * sysdeps/unix/sysv/linux/nios2/Versions: New file.
5794 * sysdeps/unix/sysv/linux/nios2/arch-fork.h: New file.
5795 * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: New file.
5796 * sysdeps/unix/sysv/linux/nios2/bits/mman.h: New file.
5797 * sysdeps/unix/sysv/linux/nios2/cacheflush.c: New file.
5798 * sysdeps/unix/sysv/linux/nios2/clone.S: New file.
5799 * sysdeps/unix/sysv/linux/nios2/configure: New generated file.
5800 * sysdeps/unix/sysv/linux/nios2/configure.ac: New file.
5801 * sysdeps/unix/sysv/linux/nios2/getcontext.S: New file.
5802 * sysdeps/unix/sysv/linux/nios2/kernel-features.h: New file.
5803 * sysdeps/unix/sysv/linux/nios2/kernel_rt_sigframe.h: New file.
5804 * sysdeps/unix/sysv/linux/nios2/makecontext.c: New file.
5805 * sysdeps/unix/sysv/linux/nios2/profil-counter.h: New file.
5806 * sysdeps/unix/sysv/linux/nios2/setcontext.S: New file.
5807 * sysdeps/unix/sysv/linux/nios2/shlib-versions: New file.
5808 * sysdeps/unix/sysv/linux/nios2/sigcontextinfo.h: New file.
5809 * sysdeps/unix/sysv/linux/nios2/swapcontext.S: New file.
5810 * sysdeps/unix/sysv/linux/nios2/sys/cachectl.h: New file.
5811 * sysdeps/unix/sysv/linux/nios2/sys/procfs.h: New file.
5812 * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h: New file.
5813 * sysdeps/unix/sysv/linux/nios2/sys/user.h: New file.
5814 * sysdeps/unix/sysv/linux/nios2/syscall.S: New file.
5815 * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h: New file.
5816 * sysdeps/unix/sysv/linux/nios2/sysdep.S: New file.
5817 * sysdeps/unix/sysv/linux/nios2/sysdep.h: New file.
5818 * sysdeps/unix/sysv/linux/nios2/ucontext_i.sym: New file.
5819 * sysdeps/unix/sysv/linux/nios2/vfork.S: New file.
5820 * sysdeps/unix/sysv/linux/nios2/c++-types.data: New file.
5821 * sysdeps/unix/sysv/linux/nios2/ld.abilist: New file.
5822 * sysdeps/unix/sysv/linux/nios2/libBrokenLocale.abilist: New file.
5823 * sysdeps/unix/sysv/linux/nios2/libanl.abilist: New file.
5824 * sysdeps/unix/sysv/linux/nios2/libc.abilist: New file.
5825 * sysdeps/unix/sysv/linux/nios2/libcrypt.abilist: New file.
5826 * sysdeps/unix/sysv/linux/nios2/libdl.abilist: New file.
5827 * sysdeps/unix/sysv/linux/nios2/libm.abilist: New file.
5828 * sysdeps/unix/sysv/linux/nios2/libnsl.abilist: New file.
5829 * sysdeps/unix/sysv/linux/nios2/libpthread.abilist: New file.
5830 * sysdeps/unix/sysv/linux/nios2/libresolv.abilist: New file.
5831 * sysdeps/unix/sysv/linux/nios2/librt.abilist: New file.
5832 * sysdeps/unix/sysv/linux/nios2/libthread_db.abilist: New file.
5833 * sysdeps/unix/sysv/linux/nios2/libutil.abilist: New file.
5834 * sysdeps/unix/sysv/linux/nios2/localplt.data: New file.
5836 2015-01-16 Stefan Liebler <stli@linux.vnet.ibm.com>
5839 * sysdeps/unix/sysv/linux/s390/s390-32/getutent.c
5840 (getutent): Use weak_alias in non SHARED case
5841 and default_symbol_version in SHARED case.
5842 * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c
5843 (getutent_r, pututline): Likewise.
5844 * sysdeps/unix/sysv/linux/s390/s390-32/getutid.c
5845 (getutid): Likewise.
5846 * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c
5847 (getutid_r): Likewise.
5848 * sysdeps/unix/sysv/linux/s390/s390-32/getutline.c
5849 (getutline): Likewise.
5850 * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c
5851 (getutline_r): Likewise.
5852 * sysdeps/unix/sysv/linux/s390/s390-32/updwtmp.c
5853 (updwtmp): Likewise.
5855 2015-01-16 Stefan Liebler <stli@linux.vnet.ibm.com>
5858 * sysdeps/s390/s390-32/memcmp.S
5859 (memcmp_g5): Rename to __memcmp_g5.
5860 * sysdeps/s390/s390-32/memcpy.S
5861 (memcpy_g5): Rename to __memcpy_g5.
5862 Jump to __memcpy_mvcle instead of memcpy_mvcle.
5863 (memcpy_mvcle) Rename to __memcpy_mvcle.
5864 * sysdeps/s390/s390-32/memset.S
5865 (memset_g5): Rename to __memset_g5.
5866 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
5867 (IFUNC_RESOLVE): Prefix ifunc-resolve function
5868 and use prefixed functions.
5869 * sysdeps/s390/s390-32/multiarch/memcmp.S
5870 (memcmp_z196): Rename to __memcmp_z196.
5871 (memcmp_z10): Rename to __memcmp_z10.
5872 (memcmp): Set alias to __memcmp_g5.
5873 (bcmp): Set alias to __memcmp_g5.
5874 * sysdeps/s390/s390-32/multiarch/memcpy.S
5875 (memcpy_z196): Rename to __memcpy_z196.
5876 Jump to __memcpy_mvcle instead of memcpy_mvcle.
5877 (memcpy_z10): Rename to __memcpy_z10.
5878 Jump to __memcpy_mvcle instead of memcpy_mvcle.
5879 (memcpy): Set alias to __memcpy_g5.
5880 * sysdeps/s390/s390-32/multiarch/memset.S
5881 (memset_z196): Rename to __memset_z196.
5882 Jump to __memset_mvcle instead of memset_mvcle.
5883 (memset_z10): Rename to __memset_z10.
5884 Jump to __memset_mvcle instead of memset_mvcle.
5885 (memset_mvcle) Rename to __memset_mvcle.
5886 (memset): Set alias to __memset_g5.
5887 * sysdeps/s390/s390-64/memcmp.S
5888 (memcmp_z900): Rename to __memcmp_z900.
5889 * sysdeps/s390/s390-64/memcpy.S
5890 (memcpy_z900): Rename to __memcpy_z900.
5891 Jump to __memcpy_mvcle instead of memcpy_mvcle.
5892 (memcpy_mvcle) Rename to __memcpy_mvcle.
5893 * sysdeps/s390/s390-64/memset.S
5894 (memset_z900): Rename to __memset_z900.
5895 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c
5896 (IFUNC_RESOLVE): Prefix ifunc-resolve function
5897 and use prefixed functions.
5898 * sysdeps/s390/s390-64/multiarch/memcmp.S
5899 (memcmp_z196): Rename to __memcmp_z196.
5900 (memcmp_z10): Rename to __memcmp_z10.
5901 (memcmp): Set alias to __memcmp_z900.
5902 (bcmp): Set alias to __memcmp_z900.
5903 * sysdeps/s390/s390-64/multiarch/memcpy.S
5904 (memcpy_z196): Rename to __memcpy_z196.
5905 Jump to __memcpy_mvcle instead of memcpy_mvcle.
5906 (memcpy_z10): Rename to __memcpy_z10.
5907 Jump to __memcpy_mvcle instead of memcpy_mvcle.
5908 (memcpy): Set alias to __memcpy_z900.
5909 * sysdeps/s390/s390-64/multiarch/memset.S
5910 (memset_z196): Rename to __memset_z196.
5911 Jump to __memset_mvcle instead of memset_mvcle.
5912 (memset_z10): Rename to __memset_z10.
5913 Jump to __memset_mvcle instead of memset_mvcle.
5914 (memset_mvcle) Rename to __memset_mvcle.
5915 (memset): Set alias to __memset_z900.
5917 2015-01-14 Joseph Myers <joseph@codesourcery.com>
5920 * sysdeps/powerpc/nofpu/feholdexcpt.c (__feholdexcept): Call
5921 __fesetenv instead of fesetenv.
5923 2015-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
5925 * sysdeps/s390/dl-tls.h [IS_IN (rtld)]: Define __tls_get_addr
5928 2015-01-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5930 * sysdeps/powerpc/powerpc64/power7/memcmp.S (memcmp): Fix performance
5933 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: New file.
5934 * sysdeps/powerpc/powerpc64/power8/strncmp.S: New file.
5935 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
5936 strncmp-power8 object.
5937 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
5938 (__libc_ifunc_impl_list): Add __strncmp_power8 implementation.
5939 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c (strncmp): Likewise.
5942 2015-01-13 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
5943 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5945 * sysdeps/powerpc/powerpc64/power7/strcmp.S (strcmp): Optimize
5946 trailing byte check.
5948 2015-01-13 David S. Miller <davem@davemloft.net>
5950 * include/signal.h (__sigreturn): Guard with __USE_MISC.
5952 2015-01-13 Roland McGrath <roland@hack.frob.com>
5954 * login/logout.c (logout): Use memset rather than bzero.
5955 * nis/nss_compat/compat-pwd.c (getpwent_next_file): Likewise.
5956 * nis/nss_compat/compat-spwd.c (getspent_next_file): Likewise.
5957 * resolv/gethnamaddr.c (gethostbyaddr): Use memcmp rather than bcmp.
5958 (_gethtbyaddr): Likewise.
5959 * locale/programs/simple-hash.c (bcopy): Macro removed.
5961 2015-01-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5963 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
5964 Add strcmp-power8 object.
5965 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
5966 (__libc_ifunc_impl_list): Add __strcmp_power8 implementation.
5967 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: New file.
5968 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c (strcmp): Add
5969 __strcmp_power8 implementation.
5970 * sysdeps/powerpc/powerpc64/power8/strcmp.S: New file.
5973 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
5974 Add strncpy-power8 and stpncpy-power8 objects.
5975 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
5976 (__libc_ifunc_impl_list): Add __strncpy_power8 and stpncpy_power8
5978 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: New file.
5979 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c (__stpncpy): Add
5980 __stpncpy_power8 implementation.
5981 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: New file.
5982 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c (strncpy): Add
5983 __strncpy_power8 implementation.
5984 * sysdeps/powerpc/powerpc64/power8/stpncpy.S: New file.
5985 * sysdeps/powerpc/powerpc64/power8/strncpy.S: New file.
5988 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.c: New file.
5989 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: Remove file.
5990 * sysdeps/powerpc/powerpc64/power7/strncat.S: Likewise.
5992 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
5993 strncat-power8 object.
5994 * sysdeps/powerpc/powerpc64/multiarch/strcat.c (strcat): Add
5995 __strcat_power8 implementation.
5996 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
5997 (__libc_ifunc_impl_list): Add __strcat_power8 implementation.
5998 * sysdeps/powerpc/powerpc64/multiarch/strcat-power8.c: New file:
5999 optimized strcat for power8.
6001 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
6002 strcpy-power8 and stpcpy-power8 objects.
6003 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6004 (__libc_ifunc_impl_list): Add __strcpy_power8 and __stpcpy_power8
6006 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power8.S: New file:
6007 multiarch stpcpy implementation for POWER8.
6008 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power8.S: New file;
6009 multiarch strcpy implementation for POWER8.
6010 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c (strcpy): Add
6011 __strcpy_power8 function.
6012 * sysdeps/powerpc/powerpc64/power8/stpcpy.S: New file: optimized
6014 * sysdeps/powerpc/powerpc64/power8/strcpy.S: New file: optimized
6018 2015-01-13 Leonhard Holz <leonhard.holz@web.de>
6021 * string/strxfrm_l.c (STRXFRM): Allocate fixed size cache for
6022 weights and rules. Use do_xfrm_cached if data fits in cache,
6023 do_xfrm otherwise. Moved former main loop to...
6024 * (do_xfrm_cached): New function.
6025 * (do_xfrm): Non-caching version of do_xfrm_cached. Uses
6026 find_idx, find_position and stack_push.
6027 * (find_idx): New function.
6028 * (find_position): Likewise.
6029 * localedata/sort-test.sh: Added test run for do_xfrm.
6030 * localedata/xfrm-test.c (main): Added command line option
6031 -nocache to run the test with strings that are too large for
6034 2015-01-13 Torvald Riegel <triegel@redhat.com>
6036 * sysdeps/nptl/fork.c (__libc_fork): Provide address of futex
6037 variable to lll_futex_wake call, not the value itself.
6039 2015-01-12 Joseph Myers <joseph@codesourcery.com>
6042 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (twom63): Rename to
6043 twom64. Adjust value to 0x1p-64L.
6044 (__scalblnl): Only return standard underflowing result for K <=
6045 -64 not K <= -63; adjust exponent for underflowing result by 64
6047 * math/libm-test.inc (scalbn_test_data): Add more tests.
6048 (scalbln_test_data): Likewise.
6051 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (two63): Change value to
6053 (__scalblnl): Get new exponent of adjusted subnormal value from ES
6055 * math/libm-test.inc (scalbn_test_data): Add more tests.
6056 (scalbln_test_data): Likewise.
6058 2015-01-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6059 Stefani Seibold <stefani@seibold.net>
6061 * sysdeps/unix/sysv/linux/x86_64/Makefile [$(subdir) = elf]
6062 (sysdep_routines): Add dl-vdso here, ...
6063 * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = elf]
6064 (sysdep_routines): ... not here.
6065 * sysdeps/unix/sysv/linux/i386/gettimeofday.c: New file: set syscall
6066 fallback when vDSO is not presented.
6067 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
6068 Define with libc_hidden_proto/libc_hidden_data_def definitions.
6069 (_libc_vdso_platform_setup): Rename to __vdso_platform_setup.
6070 * sysdeps/unix/sysv/linux/i386/init-first.c: New file: likewise.
6071 * sysdeps/unix/sysv/linux/i386/time.c: New file: likewise.
6072 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Moved to ...
6073 * sysdeps/unix/sysv/linux/x86/libc-vdso.h: ... here.
6074 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: Move to ...
6075 * sysdeps/unix/sysv/linux/x86/clock_gettime.c: ... here.
6076 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Move to ...
6077 * sysdeps/unix/sysv/linux/x86/gettimeofday.c: ... here. Also added
6078 fallback configurable symbol when vDSO is not available.
6079 * sysdeps/unix/sysv/linux/x86_64/time.c: Move to ...
6080 * sysdeps/unix/sysv/linux/x86/time.c: ... here. Also refactored to
6081 be able to redefine fallback symbol when vDSO is not available.
6082 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: Move to ...
6083 * sysdeps/unix/sysv/linux/x86/timespec_get.c: ... here.
6085 2015-01-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6087 * sysdeps/powerpc/nptl/tls.h (tcbhead_t): Add tm_capable field.
6088 (TLS_INIT_TP): Add tm_capable initialization.
6089 (TLS_DEFINE_INIT_TP): Likewise.
6090 (THREAD_GET_TM_CAPABLE): New file: get tm_capable field value from
6092 (THREAD_SET_TM_CAPABLE): New file: set tm_capable field value in TCB.
6093 * sysdeps/powerpc/nptl/tcb-offsets.sym (TM_CAPABLE): Add field offset
6095 * sysdeps/powerpc/powerpc32/sysdep.h (DO_CALL): Abort hardware
6096 transactoion is lock elision is built and TCB tm_capable is set.
6097 * sysdeps/powerpc/powerpc64/sysdep.h (DO_CALL): Likewise.
6098 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
6099 (INTERNAL_SYSCALL_NCS): Likewise.
6100 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
6101 (INTERNAL_SYSCALL_NCS): Likewise.
6102 * sysdeps/powerpc/sysdep.h (ABORT_TRANSACTION): New define.
6104 * sysdeps/powerpc/nptl/elide.h: New file: generic lock elision support
6106 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
6107 [pthread_rwlock_t] (__pad1): Change size to 7 bytes in 64 bits case
6108 and remove it for 32 bits case.
6109 [pthread_rwlock_t] (__rwelision): New field for lock elision.
6110 (__PTHREAD_RWLOCK_ELISION_EXTRA): Adjust for new lock elision field
6112 * sysdeps/unix/sysv/linux/powerpc/elision-conf.c (elision_init):
6113 Disable lock elision with rdlocks if elision is not available.
6115 * sysdeps/unix/sysv/linux/powerpc/Makefile [nptl]
6116 (sysdep_routines): Add lock elision objects.
6117 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
6118 [pthread_mutex_t] (__spins): Rework to add lock elision field.
6119 [pthread_mutex_t] (__elision): Add field.
6120 [__PTHREAD_SPINS]: Adjust to init lock elision field.
6121 * sysdeps/unix/sysv/linux/powerpc/elision-conf.c: New file: lock
6122 elision definitions for powerpc.
6123 * sysdeps/unix/sysv/linux/powerpc/elision-lock.c: New file:
6124 implementation of lock elision for powerpc.
6125 * sysdeps/unix/sysv/linux/powerpc/elision-timed.c: New file:
6126 implementation of timed lock elision for powerpc.
6127 * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c: New file:
6128 implementation of trylock with lock elision for powerpc.
6129 * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c: New file:
6130 implementaion of unlock for lock elision for powerpc.
6131 * sysdeps/unix/sysv/linux/powerpc/force-elision.h: New file:
6132 automatic enable lock elision for mutexes.
6133 * sysdeps/unix/sysv/linux/powerpc/htm.h: New file: hardware
6134 transaction execution definitions for powerpc.
6135 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: New file: add TLE
6137 * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_cond_lock.c: New file.
6138 * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_lock.c: Likewise.
6139 * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_timedlock.c: Likewise.
6140 * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_trylock.c: Likewise.
6143 2015-01-09 Roland McGrath <roland@hack.frob.com>
6145 * sysdeps/posix/shm-directory.c: Use <> rather than ""
6146 for #include of <shm-directory.h>.
6148 2015-01-09 Chung-Lin Tang <cltang@codesourcery.com>
6150 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Remove MIN() and
6151 assign raw DT_REL[A]COUNT value to ranges[0].nrelative.
6153 2015-01-09 Matthew Fortune <matthew.fortune@imgtec.com>
6156 * NEWS: Mention bug fix.
6157 * sysdepsysdeps/unix/sysv/linux/microblaze/sys/user.h
6158 (PAGE_SHIFT, PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Remove.
6159 (HOST_TEXT_START_ADDR, HOST_STACK_END_ADDR): Remove.
6161 2015-01-09 Torvald Riegel <triegel@redhat.com>
6163 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Delete file.
6165 2015-01-09 Torvald Riegel <triegel@redhat.com>
6167 * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: Delete file.
6169 2015-01-09 David Holsgrove <david.holsgrove@xilinx.com>
6171 * sysdeps/microblaze/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as void
6172 pointer and cast to uintptr_t.
6174 2015-01-09 David Holsgrove <david.holsgrove@xilinx.com>
6176 * sysdeps/microblaze/nptl/tls.h (__microblaze_get_thread_area): Function
6178 (READ_THREAD_POINTER): Use __microblaze_thread_area instead.
6180 2015-01-09 David Holsgrove <david.holsgrove@xilinx.com>
6182 * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Use NULL instead
6185 2015-01-08 Roland McGrath <roland@hack.frob.com>
6187 * sysdeps/pthread/timer_routines.c: Fix <pthreadP.h> include to use
6188 <nptl/pthreadP.h> instead.
6189 * sysdeps/pthread/aio_notify.c: Include <signal.h> for raise decl.
6191 * signal/allocrtsig.c (RESERVED_SIGRT): New macro, defined to 0 if not
6193 [__SIGRTMIN] (init): Function removed.
6194 [__SIGRTMIN] (initialized): Variable removed.
6195 [!__SIGRTMIN] (current_rtmin, current_rtmax): Variables removed.
6196 [__SIGRTMIN] (current_rtmin, current_rtmax): Initialize to
6197 __SIGRTMIN + RESERVED_SIGRT and __SIGRTMAX, respectively.
6198 (__libc_current_sigrtmin) [__SIGRTMIN]: Don't call init.
6199 (__libc_current_sigrtmin) [!__SIGRTMIN]: Just return -1.
6200 (__libc_current_sigrtmin): Add __libc_current_sigrtmin_private alias.
6201 (__libc_current_sigrtmax) [__SIGRTMIN]: Don't call init.
6202 (__libc_current_sigrtmax) [!__SIGRTMIN]: Just return -1.
6203 (__libc_current_sigrtmax): Add __libc_current_sigrtmax_private alias.
6204 (__libc_allocate_rtsig) [__SIGRTMIN]: Don't call init.
6205 (__libc_allocate_rtsig): Add __libc_allocate_rtsig_private alias.
6206 * sysdeps/nptl/allocrtsig.c: New file.
6207 * sysdeps/unix/sysv/linux/allocrtsig.c: File removed.
6208 * sysdeps/unix/sysv/linux/testrtsig.h: File removed.
6209 * sysdeps/generic/testrtsig.h: File removed.
6211 * nptl/pthread_sigmask.c [SIGCANCEL || SIGTIMER || SIGSETXID]: #error.
6212 (pthread_sigmask): Call sigprocmask, not __sigprocmask.
6214 * nptl/nptl-init.c (pthread_functions): Conditionalize
6215 .ptr__nptl_setxid initialization on [SIGSETXID].
6217 * sysdeps/nptl/sys/procfs.h: New file.
6218 * nptl_db/Makefile (headers): Add it.
6219 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Don't add it.
6221 * nptl/pthreadP.h (check_cpuset_attr): Moved ...
6222 * sysdeps/unix/sysv/linux/check-cpuset.h: ... to this new file.
6223 * nptl/pthread_attr_setaffinity.c: Include it.
6224 * nptl/pthread_setattr_default_np.c: Likewise.
6225 * nptl/check-cpuset.h: New file.
6227 2015-01-08 Richard Henderson <rth@redhat.com>
6229 * elf/Makefile (CFLAGS-tst-execstack-mod.c): Add -Wno-trampolines
6230 (CFLAGS-tst-execstack-prog.c): Likewise.
6231 * nptl/Makefile (CFLAGS-tst-execstack-mod.c): Likewise.
6233 2015-01-08 Chung-Lin Tang <cltang@codesourcery.com>
6234 Sandra Loosemore <sandra@codesourcery.com>
6235 Andrew Jenner <andrew@codesourcery.com>
6236 Joseph Myers <joseph@codesourcery.com>
6237 Nathan Sidwell <nathan@codesourcery.com>
6239 * elf/elf.h (EM_ALTERA_NIOS2): New machine number for Altera Nios II.
6240 (DT_NIOS2_GP): New dynamic entry type for Nios II _gp address.
6241 (R_NIOS2_NONE,R_NIOS2_S16,R_NIOS2_U16): Define Nios II relocations.
6242 (R_NIOS2_PCREL16,R_NIOS2_CALL26,R_NIOS2_IMM5): Likewise.
6243 (R_NIOS2_CACHE_OPX,R_NIOS2_IMM6,R_NIOS2_IMM8,R_NIOS2_HI16): Likewise.
6244 (R_NIOS2_LO16,R_NIOS2_HIADJ16,R_NIOS2_BFD_RELOC_32): Likewise.
6245 (R_NIOS2_BFD_RELOC_16,R_NIOS2_BFD_RELOC_8,R_NIOS2_GPREL): Likewise.
6246 (R_NIOS2_GNU_VTINHERIT,R_NIOS2_GNU_VTENTRY,R_NIOS2_UJMP): Likewise.
6247 (R_NIOS2_CJMP,R_NIOS2_CALLR,R_NIOS2_ALIGN,R_NIOS2_GOT16): Likewise.
6248 (R_NIOS2_CALL16,R_NIOS2_GOTOFF_LO,R_NIOS2_GOTOFF_HA): Likewise.
6249 (R_NIOS2_PCREL_LO,R_NIOS2_PCREL_HA,R_NIOS2_TLS_GD16): Likewise.
6250 (R_NIOS2_TLS_LDM16,R_NIOS2_TLS_LDO16,R_NIOS2_TLS_IE16): Likewise.
6251 (R_NIOS2_TLS_LE16,R_NIOS2_TLS_DTPMOD,R_NIOS2_TLS_DTPREL): Likewise.
6252 (R_NIOS2_TLS_TPREL,R_NIOS2_COPY,R_NIOS2_GLOB_DAT): Likewise.
6253 (R_NIOS2_JUMP_SLOT,R_NIOS2_RELATIVE,R_NIOS2_GOTOFF): Likewise.
6254 (R_NIOS2_CALL26_NOAT,R_NIOS2_GOT_LO,R_NIOS2_GOT_HA): Likewise.
6255 (R_NIOS2_CALL_LO,R_NIOS2_CALL_HA): Likewise.
6257 2015-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6259 * sysdeps/unix/sysv/linux/futimens.c (futimens): Use address of first
6260 timespec struct member in syscall macro.
6261 * sysdeps/unix/sysv/linux/utimensat.c (utimensat): Likewise.
6262 * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Use address of
6263 first timeval struct member in syscall macro.
6264 * sysdeps/unix/sysv/linux/utimes.c (__utimeS): Likewise.
6266 2015-01-07 Joseph Myers <joseph@codesourcery.com>
6269 * include/fenv.h (__feupdateenv): Use libm_hidden_proto.
6270 * math/feupdateenv.c (__feupdateenv): Use libm_hidden_def.
6271 * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Rename to
6272 __feupdateenv and define as weak alias of __feupdateenv. Use
6274 * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Use
6276 * sysdeps/arm/feupdateenv.c (feupdateenv): Rename to __feupdateenv
6277 and define as weak alias of __feupdateenv. Use libm_hidden_weak.
6278 * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
6279 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Use
6281 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Rename to
6282 __feupdateenv and define as weak alias of __feupdateenv. Use
6284 * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Use
6286 * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Rename to
6287 __feupdateenv and define as weak alias of __feupdateenv. Use
6289 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Use
6291 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
6292 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
6293 (__feupdateenv): Likewise.
6294 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Rename to
6295 __feupdateenv and define as weak alias of __feupdateenv. Use
6297 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
6298 * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Use
6300 * sysdeps/tile/math_private.h (__feupdateenv): New inline
6302 * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Use
6304 * sysdeps/generic/math_private.h (default_libc_feupdateenv): Call
6305 __feupdateenv instead of feupdateenv.
6306 (default_libc_feupdateenv_test): Likewise.
6307 (libc_feresetround_ctx): Likewise.
6309 2015-01-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6311 * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Fix function
6314 2015-01-07 Chris Metcalf <cmetcalf@ezchip.com>
6316 * posix/regcomp.c (parse_bracket_exp): Initialize type to
6317 COLL_SYM in a couple of places to avoid uninitialized variable
6318 wanings on tilegx gcc 4.8.2.
6320 2015-01-07 Richard Earnshaw <rearnsha@arm.com>
6322 * sysdeps/aarch64/strcpy.S: New file.
6323 * sysdeps/aarch64/stpcpy.S: New file.
6326 2015-01-07 Richard Earnshaw <rearnsha@arm.com>
6328 * sysdeps/aarch64/strrchr.S: New file.
6331 2015-01-07 Eric Biggers <ebiggers3@gmail.com>
6334 * stdlib/setenv.c: Fix memory leak when setting large,
6337 2015-01-06 Vladimir A. Nazarenko <naszar@ya.ru>
6340 * misc/mntent_r.c (__getmntent_r): Cut off trailing spaces
6341 and tabs from buffer before parsing fstab entry.
6342 * misc/tst-mntent.c (main): Add test for mount entry with
6343 trailing spaces and tabs.
6345 2015-01-06 Joseph Myers <joseph@codesourcery.com>
6348 * include/fenv.h (__fesetround): Declare. Use libm_hidden_proto.
6349 * math/fesetround.c (fesetround): Rename to __fesetround and
6350 define as weak alias of __fesetround. Use libm_hidden_weak.
6351 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Likewise.
6352 * sysdeps/alpha/fpu/fesetround.c (fesetround): Likewise.
6353 * sysdeps/arm/fesetround.c (fesetround): Likewise.
6354 * sysdeps/hppa/fpu/fesetround.c (fesetround): Likewise.
6355 * sysdeps/i386/fpu/fesetround.c (fesetround): Likewise.
6356 * sysdeps/ia64/fpu/fesetround.c (fesetround): Likewise.
6357 * sysdeps/m68k/fpu/fesetround.c (fesetround): Likewise.
6358 * sysdeps/mips/fpu/fesetround.c (fesetround): Likewise.
6359 * sysdeps/powerpc/fpu/fenv_libc.h (__fesetround): Rename to
6360 __fesetround_inline.
6361 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetround_ppc): Call
6362 __fesetround_inline instead of __fesetround.
6363 * sysdeps/powerpc/fpu/fesetround.c (fesetround): Rename to
6364 __fesetround and define as weak alias of __fesetround. Use
6365 libm_hidden_weak. Call __fesetround_inline instead of
6367 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Rename to
6368 __fesetround and define as weak alias of __fesetround. Use
6370 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c (fesetround):
6372 * sysdeps/s390/fpu/fesetround.c (fesetround): Likewise.
6373 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
6374 * sysdeps/sparc/fpu/fesetround.c (fesetround): Likewise.
6375 * sysdeps/tile/math_private.h (__fesetround): New inline function.
6376 * sysdeps/x86_64/fpu/fesetround.c (fesetround): Rename to
6377 __fesetround and define as weak alias of __fesetround. Use
6379 * sysdeps/generic/math_private.h (default_libc_fesetround): Call
6380 __fesetround instead of fesetround.
6381 (default_libc_feholdexcept_setround): Likewise.
6382 (libc_feholdsetround_ctx): Likewise.
6383 (libc_feholdsetround_noex_ctx): Likewise.
6386 * include/fenv.h (__fesetenv): Use libm_hidden_proto.
6387 * math/fesetenv.c (__fesetenv): Use libm_hidden_def.
6388 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
6389 and define as weak alias of __fesetenv. Use libm_hidden_weak.
6390 * sysdeps/alpha/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
6391 * sysdeps/arm/fesetenv.c (fesetenv): Rename to __fesetenv and
6392 define as weak alias of __fesetenv. Use libm_hidden_weak.
6393 * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
6394 * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
6395 * sysdeps/ia64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
6396 define as weak alias of __fesetenv. Use libm_hidden_weak.
6397 * sysdeps/m68k/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
6398 * sysdeps/mips/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
6399 define as weak alias of __fesetenv. Use libm_hidden_weak.
6400 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Use
6402 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Likewise.
6403 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c (__fesetenv):
6405 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
6406 define as weak alias of __fesetenv. Use libm_hidden_weak.
6407 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
6408 * sysdeps/sparc/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
6409 * sysdeps/tile/math_private.h (__fesetenv): New inline function.
6410 * sysdeps/x86_64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
6411 and define as weak alias of __fesetenv. Use libm_hidden_weak.
6412 * sysdeps/generic/math_private.h (default_libc_fesetenv): Use
6413 __fesetenv instead of fesetenv.
6414 (libc_feresetround_noex_ctx): Likewise.
6415 * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
6416 * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
6417 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Likewise.
6418 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
6419 * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
6420 * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
6421 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
6422 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
6423 (__feupdateenv): Likewise.
6424 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
6425 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
6426 * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
6427 * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Likewise.
6429 2015-01-06 Aurelien Jarno <aurelien@aurel32.net>
6432 * resolv/res_init.c (__res_iclose): Only clear nsinit if the
6433 addresses have been freed.
6435 2015-01-06 Aurelien Jarno <aurelien@aurel32.net>
6437 * resolv/res_init.c (__res_vinit): Improve comments about nserv
6440 2015-01-06 Ondřej Bílka <neleai@seznam.cz>
6442 * sysdeps/unix/sysv/linux/check_pf.c (make_request):
6443 Clean up check_pf allocation pattern. addresses
6445 2015-01-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6447 * nptl/pthread_cancel.c (pthread_cancel): Use ANSI prototype.
6448 * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Likewise.
6449 * nptl/pthread_cond_wait.c (__pthread_cond_wait): Likewise.
6450 * nptl/pthread_exit.c (__pthread_exit): Likewise.
6451 * nptl/pthread_join.c (pthread_join): Likewise.
6452 * nptl/pthread_timedjoin.c (pthread_timedjoin_np): Likewise.
6453 * sysdeps/posix/waitid.c (__waitid): Likewise.
6454 * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
6455 * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
6456 * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
6457 * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
6458 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
6460 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
6461 (__libc_pread64): Likewise.
6462 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
6463 (__libc_pwrite): Likewise.
6464 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
6465 (__libc_pwrite64): Likewsie.
6466 * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
6467 * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
6468 * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
6469 * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
6470 * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
6471 * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
6472 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
6473 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
6475 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
6476 (__libc_pread64): Likewise.
6477 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_pwrite):
6479 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
6480 (__libc_pwrite64): Likewise.
6481 * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
6482 * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
6483 * sysdeps/unix/sysv/linux/preadv.c (PREADV): Likewise.
6484 * sysdeps/unix/sysv/linux/pthread_kill.c (__pthread_kill): Likewise.
6485 * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
6486 * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
6487 * sysdeps/unix/sysv/linux/pwritev.c (__libc_pwritev): Likewise.
6488 * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
6489 * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
6490 * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
6491 * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_write64): Likewise.
6492 * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
6493 * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
6494 * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Likewise.
6495 * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
6496 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
6499 2015-01-06 Andrew Senkevich <andrew.n.senkevich@gmail.com>
6501 * math/Makefile (CFLAGS-test-float.c): Remove -frounding-math.
6502 (CFLAGS-test-double.c): Likewise.
6503 (CFLAGS-test-ldouble.c): Likewise.
6504 (CPPFLAGS-test-ifloat.c): Likewise.
6505 (CPPFLAGS-test-idouble.c): Likewise.
6506 (CPPFLAGS-test-ildoubl.c): Likewise.
6507 (CFLAGS-test-test-fenv.c): Remove variable.
6508 (CFLAGS-test-misc.c): Likewise.
6510 2015-01-06 H.J. Lu <hongjiu.lu@intel.com>
6513 * bits/time.h (CLOCKS_PER_SEC): Changed to ((clock_t) 1000000).
6514 * sysdeps/unix/sysv/linux/bits/time.h (CLOCKS_PER_SEC): Likewise.
6515 * sysdeps/unix/sysv/linux/clock.c (clock): _Static_assert
6516 CLOCKS_PER_SEC == 1000000.
6517 * time/clocktest.c (main): Replace %ld with %jd and cast to
6520 2015-01-05 Roland McGrath <roland@hack.frob.com>
6522 * sysdeps/generic/unwind-resume.h: New file.
6523 * sysdeps/gnu/unwind-resume.c: Include it.
6524 (libgcc_s_personality): Use PERSONALITY_PROTO macro for the prototype.
6525 (__gcc_personality_v0): Likewise, and PERSONALITY_ARGS for the callee
6527 (libgcc_s_resume): Variable renamed to __libgcc_s_resume, made hidden
6528 global rather than static.
6529 (_Unwind_Resume): Update user.
6530 Conditionalize definition on [!HAVE_ARCH_UNWIND_RESUME].
6531 (init): Likewise. Renamed to __libgcc_s_init, made hidden global
6532 rather than static. Add __attribute__ ((cold)).
6533 (_Unwind_Resume, __gcc_personality_v0): Update callers.
6534 * sysdeps/nptl/unwind-forcedunwind.c: Likewise.
6535 * sysdeps/arm/arm-unwind-resume.S: New file.
6536 * sysdeps/arm/rt-arm-unwind-resume.S: New file.
6537 * sysdeps/arm/pt-arm-unwind-resume.S: New file.
6538 * sysdeps/arm/Makefile [$(subdir) = csu]
6539 (sysdep_routines, shared-only-routines): Add arm-unwind-resume.
6540 [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
6541 Add rt-arm-unwind-resume.
6543 (libpthread-sysdep_routines, libpthread-shared-only-routines):
6544 Add pt-arm-unwind-resume.
6545 * sysdeps/unix/sysv/linux/arm/unwind-resume.c: File removed.
6546 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: File removed.
6548 2015-01-05 Joseph Myers <joseph@codesourcery.com>
6551 * include/fenv.h (__feholdexcept): Declare. Use
6553 * math/feholdexcpt.c (feholdexcept): Rename to __feholdexcept and
6554 define as weak alias of __feholdexcept. Use libm_hidden_weak.
6555 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Likewise.
6556 * sysdeps/alpha/fpu/feholdexcpt.c (feholdexcept): Likewise.
6557 * sysdeps/arm/feholdexcpt.c (feholdexcept): Likewise.
6558 * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Likewise.
6559 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Likewise.
6560 * sysdeps/ia64/fpu/feholdexcpt.c (feholdexcept): Likewise.
6561 * sysdeps/m68k/fpu/feholdexcpt.c (feholdexcept): Likewise.
6562 * sysdeps/mips/fpu/feholdexcpt.c (feholdexcept): Likewise.
6563 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
6564 * sysdeps/powerpc/nofpu/feholdexcpt.c (feholdexcept): Likewise.
6565 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c
6566 (feholdexcept): Likewise.
6567 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
6568 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
6569 * sysdeps/sparc/fpu/feholdexcpt.c (feholdexcept): Likewise.
6570 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
6571 * sysdeps/generic/math_private.h (default_libc_feholdexcept): Use
6572 __feholdexcept instead of feholdexcept.
6573 (default_libc_feholdexcept_setround): Likewise.
6575 2015-01-05 Steve Ellcey <sellcey@imgtec.com>
6577 * sysdeps/mips/memset.S (memset): Modify for mips32r6/mips64r6
6578 to avoid using stl/str to align destination.
6580 2015-01-05 Steve Ellcey <sellcey@imgtec.com>
6582 * sysdeps/mips/memcpy.S: Add support for mips32r6/mips64r6.
6584 2015-01-05 Joseph Myers <joseph@codesourcery.com>
6587 * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise.c
6588 [!SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)] (posix_fadvise64):
6589 Define as weak alias not strong alias.
6591 2015-01-05 Steve Ellcey <sellcey@imgtec.com>
6593 * sysdeps/mips/dl-machine.h (elf_machine_load_address): Replace
6594 bltzal with addiupc.
6595 (RTLD_START): Ditto.
6597 2015-01-05 Chris Metcalf <cmetcalf@ezchip.com>
6599 * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Fix return type
6600 for __vdso_* functions in declarations.
6601 * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise for
6603 * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL,
6604 INTERNAL_VSYSCALL): Use struct return types to check for error.
6606 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c [!defined _LP64
6607 && REGISTER_CAST_INT32_TO_INT64]: Provide explicit lround()
6608 function with cast from llround().
6609 * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Define.
6610 * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
6613 2015-01-05 Joseph Myers <joseph@codesourcery.com>
6616 * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c (posix_fadvise64):
6617 Define as weak alias not strong alias.
6620 * ctype/ctype-c99.c: New file. isblank implementation moved from
6622 * ctype/ctype-extn.c: ... here.
6623 (__isblank_l): Move to ...
6624 * ctype/ctype-c99_l.c: ... here. New file.
6625 * ctype/Makefile (routines): Add ctype-c99 and ctype-c99_l.
6626 * conform/Makefile (test-xfail-ISO99/ctype.h/linknamespace):
6628 (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
6629 (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
6630 (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
6631 (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
6632 (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
6635 * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise.c
6636 (posix_fadvise64): Define as weak alias not strong alias.
6637 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
6638 (posix_fallocate64): Likewise.
6639 * conform/Makefile (test-xfail-XOPEN2K/fcntl.h/linknamespace):
6641 (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
6642 (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
6643 (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
6644 (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
6645 (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
6647 2015-01-05 Matthew Fortune <matthew.fortune@imgtec.com>
6650 * NEWS: Mention bug fix.
6651 * sysdeps/unix/sysv/linux/mips/sys/user.h (PAGE_SHIFT): Remove.
6652 (PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Likewise.
6653 (HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR): Likewise.
6654 (HOST_STACK_END_ADDR): Likewise.
6656 2015-01-02 Joseph Myers <joseph@codesourcery.com>
6659 * include/fenv.h (__fegetround): Declare. Use libm_hidden_proto.
6660 * math/fegetround.c (fegetround): Rename to __fegetround and
6661 define as weak alias of __fegetround. Use libm_hidden_weak.
6662 * sysdeps/aarch64/fpu/fegetround.c (fegetround): Likewise.
6663 * sysdeps/alpha/fpu/fegetround.c (fegetround): Likewise.
6664 * sysdeps/arm/fegetround.c (fegetround): Likewise.
6665 * sysdeps/hppa/fpu/fegetround.c (fegetround): Likewise.
6666 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
6667 * sysdeps/ia64/fpu/fegetround.c (fegetround): Likewise.
6668 * sysdeps/m68k/fpu/fegetround.c (fegetround): Likewise.
6669 * sysdeps/mips/fpu/fegetround.c (fegetround): Likewise.
6670 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
6671 Undefine after rather than before function definition; use
6672 parentheses around function name in definition.
6673 (__fegetround): Also undefine macro after function definition.
6674 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Rename to
6675 __fegetround and define as weak alias of __fegetround. Use
6676 libm_hidden_weak. Do not undefine as macro.
6677 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
6679 * sysdeps/s390/fpu/fegetround.c (fegetround): Rename to
6680 __fegetround and define as weak alias of __fegetround. Use
6682 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
6683 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
6684 * sysdeps/tile/math_private.h (__fegetround): New inline function.
6685 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Rename to
6686 __fegetround and define as weak alias of __fegetround. Use
6688 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Use
6689 __fegetround instead of fegetround.
6692 * sysdeps/unix/sysv/linux/mips/bits/termios.h (TIOCSER_TEMT):
6693 Condition macro definition on [__USE_MISC].
6696 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h
6697 (struct sigaction): Change type of sa_flags field to int.
6700 * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (struct flock)
6701 [!__USE_FILE_OFFSET64 && _MIPS_SIM != _ABI64]: Rename pad field to
6704 * nptl/version.c (banner): Use single year in copyright notice.
6706 * NEWS: Update copyright dates.
6707 * catgets/gencat.c (print_version): Likewise.
6708 * csu/version.c (banner): Likewise.
6709 * debug/catchsegv.sh: Likewise.
6710 * debug/pcprofiledump.c (print_version): Likewise.
6711 * debug/xtrace.sh (do_version): Likewise.
6712 * elf/ldconfig.c (print_version): Likewise.
6713 * elf/ldd.bash.in: Likewise.
6714 * elf/pldd.c (print_version): Likewise.
6715 * elf/sotruss.sh: Likewise.
6716 * elf/sprof.c (print_version): Likewise.
6717 * iconv/iconv_prog.c (print_version): Likewise.
6718 * iconv/iconvconfig.c (print_version): Likewise.
6719 * locale/programs/locale.c (print_version): Likewise.
6720 * locale/programs/localedef.c (print_version): Likewise.
6721 * login/programs/pt_chown.c (print_version): Likewise.
6722 * malloc/memusage.sh (do_version): Likewise.
6723 * malloc/memusagestat.c (print_version): Likewise.
6724 * malloc/mtrace.pl: Likewise.
6725 * manual/libc.texinfo: Likewise.
6726 * nptl/version.c (banner): Likewise.
6727 * nscd/nscd.c (print_version): Likewise.
6728 * nss/getent.c (print_version): Likewise.
6729 * nss/makedb.c (print_version): Likewise.
6730 * posix/getconf.c (main): Likewise.
6731 * scripts/test-installation.pl: Likewise.
6732 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
6734 2015-01-02 Will Newton <will.newton@linaro.org>
6736 * sysdeps/arm/armv7/configure: Removed.
6737 * sysdeps/arm/armv7/configure.ac: Likewise.
6739 2015-01-02 Joseph Myers <joseph@codesourcery.com>
6741 * All files with FSF copyright notices: Update copyright dates
6742 using scripts/update-copyrights.
6743 * intl/plural.c: Regenerated.
6744 * locale/programs/charmap-kw.h: Likewise.
6745 * locale/programs/locfile-kw.h: Likewise.
6747 2015-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
6749 * scripts/gen-posix-conf-vars.awk (END): Don't use sprintf.
6751 2014-12-31 Joseph Myers <joseph@codesourcery.com>
6754 * include/fenv.h (__fegetenv): Use libm_hidden_proto.
6755 * math/fegetenv.c (__fegetenv): Use libm_hidden_def.
6756 * sysdeps/aarch64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
6757 and define as weak alias of __fegetenv. Use libm_hidden_weak.
6758 * sysdeps/alpha/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
6759 * sysdeps/arm/fegetenv.c (fegetenv): Rename to __fegetenv and
6760 define as weak alias of __fegetenv. Use libm_hidden_weak.
6761 * sysdeps/hppa/fpu/fegetenv.c (fegetenv): Likewise.
6762 * sysdeps/i386/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
6763 * sysdeps/ia64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
6764 define as weak alias of __fegetenv. Use libm_hidden_weak.
6765 * sysdeps/m68k/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
6766 * sysdeps/mips/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
6767 define as weak alias of __fegetenv. Use libm_hidden_weak.
6768 * sysdeps/powerpc/fpu/fegetenv.c (__fegetenv): Use
6770 * sysdeps/powerpc/nofpu/fegetenv.c (__fegetenv): Likewise.
6771 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (__fegetenv):
6773 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
6774 define as weak alias of __fegetenv. Use libm_hidden_weak.
6775 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
6776 * sysdeps/sparc/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
6777 * sysdeps/tile/math_private.h (__fegetenv): New inline function.
6778 * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
6779 and define as weak alias of __fegetenv. Use libm_hidden_weak.
6780 * sysdeps/generic/math_private.h (libc_feholdsetround_ctx): Use
6781 __fegetenv instead of fegetenv.
6782 (libc_feholdsetround_noex_ctx): Likewise.
6784 2014-12-31 Matthew Fortune <matthew.fortune@imgtec.com>
6786 * elf/elf.h (PT_MIPS_ABIFLAGS): Define.
6787 (Elf_MIPS_ABIFlags_v0): New structure.
6788 (EF_MIPS_FP64): Define.
6789 (MIPS_AFL_REG_NONE, MIPS_AFL_REG_32, MIPS_AFL_REG_64): Likewise.
6790 (MIPS_AFL_REG_128, MIPS_AFL_ASE_DSP, MIPS_AFL_ASE_DSP64): Likewise.
6791 (MIPS_AFL_ASE_DSPR2, MIPS_AFL_ASE_EVA, MIPS_AFL_ASE_MCU): Likewise.
6792 (MIPS_AFL_ASE_MDMX, MIPS_AFL_ASE_MIPS3D, MIPS_AFL_ASE_MT): Likewise.
6793 (MIPS_AFL_ASE_SMARTMIPS, MIPS_AFL_ASE_VIRT): Likewise.
6794 (MIPS_AFL_ASE_VIRT64, MIPS_AFL_ASE_MSA, MIPS_AFL_ASE_MSA64): Likewise.
6795 (MIPS_AFL_ASE_MIPS16, MIPS_AFL_ASE_MICROMIPS): Likewise.
6796 (MIPS_AFL_ASE_XPA, MIPS_AFL_EXT_XLR, MIPS_AFL_EXT_OCTEON2): Likewise.
6797 (MIPS_AFL_EXT_OCTEONP, MIPS_AFL_EXT_LOONGSON_3A): Likewise.
6798 (MIPS_AFL_EXT_OCTEON, MIPS_AFL_EXT_5900, MIPS_AFL_EXT_4010): Likewise.
6799 (MIPS_AFL_EXT_4100, MIPS_AFL_EXT_3900, MIPS_AFL_EXT_10000): Likewise.
6800 (MIPS_AFL_EXT_SB1, MIPS_AFL_EXT_4111, MIPS_AFL_EXT_4120): Likewise.
6801 (MIPS_AFL_EXT_5400, MIPS_AFL_EXT_5500): Likewise.
6802 (MIPS_AFL_EXT_LOONGSON_2E, MIPS_AFL_EXT_LOONGSON_2F): Likewise.
6803 (Val_GNU_MIPS_ABI_FP_ANY, Val_GNU_MIPS_ABI_FP_DOUBLE): New enum values.
6804 (Val_GNU_MIPS_ABI_FP_SINGLE, Val_GNU_MIPS_ABI_FP_SOFT): Likewise.
6805 (Val_GNU_MIPS_ABI_FP_OLD_64, Val_GNU_MIPS_ABI_FP_XX): Likewise.
6806 (Val_GNU_MIPS_ABI_FP_64, Val_GNU_MIPS_ABI_FP_64A): Likewise.
6807 (Val_GNU_MIPS_ABI_FP_MAX): Likewise.
6808 * sysdeps/mips/Makefile [subdir=elf]: Add tst-abi-interlink,
6809 tst-mode-switch-1, tst-mode-switch-2, tst-mode-switch-3 tests.
6810 * sysdeps/mips/bits/linkmap.h (struct link_map_machine): Add fpmode
6812 * sysdeps/mips/dl-machine.h (elf_machine_matches_host): Reject
6814 * sysdeps/mips/dl-machine-reject-phdr.h: New file.
6815 * sysdeps/mips/tst-abi-fp32mod.c: Likewise.
6816 * sysdeps/mips/tst-abi-fpxxmod.c: Likewise.
6817 * sysdeps/mips/tst-abi-fpxxomod.c: Likewise.
6818 * sysdeps/mips/tst-abi-fp64mod.c: Likewise.
6819 * sysdeps/mips/tst-abi-fp64amod.c: Likewise.
6820 * sysdeps/mips/tst-abi-interlink.c: Likewise.
6821 * sysdeps/mips/tst-mode-switch-1.c: Likewise.
6822 * sysdeps/mips/tst-mode-switch-2.c: Likewise.
6823 * sysdeps/mips/tst-mode-switch-3.c: Likewise.
6824 * sysdeps/unix/sysv/linux/mips/configure.ac (o32-fpabi): Define to
6825 record the current FP ABI extension.
6826 (mips-mode-switch): Define to show if kernel headers support mode
6828 * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
6829 * sysdeps/unix/sysv/linux/mips/ldsodefs.h: Increase maximum
6830 supported SYSV ABI version to 3.
6831 * sysdeps/unix/sysv/linux/mips/libc-abis: Add new MIPS_O32_FP64
6834 2014-12-31 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
6835 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6837 * sysdeps/powerpc/powerpc64/power7/strcpy.S (strcpy): Optimize unaligned
6839 * benchtests/bench-strcpy.c (test_main): Add more unaligned inputs.
6841 2014-12-31 Joseph Myers <joseph@codesourcery.com>
6843 * sysdeps/powerpc/bits/fenvinline.h (fegetround): Rename macro to
6844 __fegetround and redefine to call __fegetround. Remove condition
6845 on [!__NO_MATH_INLINES].
6846 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove inline
6848 * sysdeps/powerpc/nofpu/fenv_libc.h: Remove file.
6849 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
6851 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Include <fenv.h>
6852 instead of <fenv_libc.h>.
6853 (__llrintl): Call fegetround instead of __fegetround.
6854 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Include <fenv.h>
6855 instead of <fenv_libc.h>.
6856 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
6857 (__lrintl): Call fegetround instead of __fegetround.
6858 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Include <fenv.h>
6859 instead of <fenv_libc.h>.
6860 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
6861 (__rintl): Call fegetround instead of __fegetround.
6863 2014-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
6865 * scripts/gen-posix-conf-vars.awk: Don't use multi-dimensional
6868 2014-12-30 H.J. Lu <hongjiu.lu@intel.com>
6871 * sysdeps/i386/dl-machine.h (PI_STATIC_AND_HIDDEN): Removed.
6872 (elf_machine_dynamic) [!PI_STATIC_AND_HIDDEN]: Likewise.
6873 (elf_machine_load_address) [!PI_STATIC_AND_HIDDEN]: Likewise.
6875 2014-12-30 Andrew Senkevich <andrew.senkevich@intel.com>
6877 * sysdeps/i386/tls-macros.h: Include <features.h>.
6878 (TLS_LE): Use non-PIC version for GCC >= 5.0.
6882 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Don't
6883 define for GCC >= 5.0.
6885 2014-12-30 Chris Metcalf <cmetcalf@ezchip.com>
6887 * math/test-fenv.c (test_single_exception, set_single_exc,
6888 feenv_nomask_test, feenv_mask_test, feexcp_nomask_test,
6889 feexcp_mask_test, feenable_test, fe_single_test): Add
6890 [!FE_ALL_EXCEPT] test so these routines are not compiled in the
6891 case where they are not used.
6892 * math/libm-test.inc: Likewise.
6893 * setjmp/test-setjmp-fp.c: Mark attribute ((unused)) on variable
6894 unused in the absence of FP rounding/exception support.
6895 * stdio-common/tst-printf-round.c: Likewise.
6896 * stdlib/tst-strtod-round.c: Likewise.
6897 * stdlib/tst-strtod-underflow.c: Likewise.
6899 2014-12-30 Joseph Myers <joseph@codesourcery.com>
6902 * include/fenv.h (__feraiseexcept): Use libm_hidden_proto.
6903 * math/fraiseexcpt.c (__feraiseexcept): Use libm_hidden_def.
6904 * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
6905 __feraiseexcept and define as weak alias of __feraiseexcept. Use
6907 * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Likewise.
6908 * sysdeps/hppa/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
6909 * sysdeps/i386/fpu/fraiseexcpt.c (__feraiseexcept): Use
6911 * sysdeps/ia64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
6912 __feraiseexcept and define as weak alias of __feraiseexcept. Use
6914 * sysdeps/m68k/coldfire/fpu/fraiseexcpt.c (feraiseexcept):
6916 * sysdeps/microblaze/math_private.h (__feraiseexcept): New macro.
6917 * sysdeps/mips/fpu/fraiseexcpt.c (feraiseexcept): Rename to
6918 __feraiseexcept and define as weak alias of __feraiseexcept. Use
6920 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Use
6922 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
6923 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c
6924 (__feraiseexcept): Likewise.
6925 * sysdeps/s390/fpu/fraiseexcpt.c (feraiseexcept): Rename to
6926 __feraiseexcept and define as weak alias of __feraiseexcept. Use
6928 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
6929 * sysdeps/sparc/fpu/fraiseexcpt.c (__feraiseexcept): Use
6931 * sysdeps/tile/math_private.h (__feraiseexcept): New macro.
6932 * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (__feraiseexcept):
6933 Use libm_hidden_def.
6934 * sysdeps/x86_64/fpu/fraiseexcpt.c (__feraiseexcept): Use
6936 (feraiseexcept): Define as weak not strong alias. Use
6938 * sysdeps/x86/fpu/bits/fenv.h (__feraiseexcept_invalid_divbyzero):
6939 New inline function. Factored out of ...
6940 (feraiseexcept): ... here. Use __feraiseexcept_invalid_divbyzero.
6941 * sysdeps/x86/fpu/include/bits/fenv.h: New file.
6942 * math/e_scalb.c (invalid_fn): Call __feraiseexcept instead of
6944 * math/w_acos.c (__acos): Likewise.
6945 * math/w_asin.c (__asin): Likewise.
6946 * math/w_ilogb.c (__ilogb): Likewise.
6947 * math/w_j0.c (y0): Likewise.
6948 * math/w_j1.c (y1): Likewise.
6949 * math/w_jn.c (yn): Likewise.
6950 * math/w_log.c (__log): Likewise.
6951 * math/w_log10.c (__log10): Likewise.
6952 * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Likewise.
6953 * sysdeps/aarch64/fpu/math_private.h
6954 (libc_feupdateenv_test_aarch64): Likewise.
6955 * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
6956 * sysdeps/arm/fenv_private.h (libc_feupdateenv_test_vfp): Likewise.
6957 * sysdeps/arm/feupdateenv.c (feupdateenv): Likewise.
6958 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
6959 * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
6960 * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
6961 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Likewise.
6962 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
6963 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
6964 * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
6966 2014-12-30 H.J. Lu <hongjiu.lu@intel.com>
6969 * io/test-utime.c (main): Replace %ld with %jd and cast to
6971 * libio/tst-ftell-active-handler.c (do_append_test): Likewise.
6972 * nptl/tst-mutex5.c: Include <stdint.h>.
6973 (do_test): Replace %ld with %jd and cast to intmax_t.
6974 * posix/tst-regex.c (run_test): Likewise.
6975 (run_test_backwards): Likewise.
6976 * rt/tst-clock.c: Include <stdint.h>.
6977 (clock_test): Replace %ld with %jd and cast to intmax_t.
6978 * rt/tst-cpuclock1.c: Include <stdint.h>.
6979 (do_test): Replace %lu with %ju and cast to uintmax_t.
6980 * rt/tst-cpuclock2.c: Include <stdint.h>.
6981 (do_test): Replace %lu with %ju and cast to uintmax_t.
6982 * rt/tst-mqueue1.c: Include <stdint.h>.
6983 (check_attrs): Replace %ld with %jd and cast to intmax_t.
6984 * rt/tst-mqueue3.c (fct): Replace %ld with %jd and cast to
6986 * rt/tst-mqueue4.c (do_test): Likewise.
6987 * rt/tst-timer4.c: Include <stdint.h>.
6988 (check_ts): Replace %ld with %jd and cast to intmax_t.
6989 (do_test): Likewise.
6990 * stdio-common/tst-fmemopen2.c (do_test): Replace %ld with %jd
6991 and cast to intmax_t.
6992 * sysdeps/pthread/tst-timer.c (main): Likewise.
6993 * time/clocktest.c (main): Likewise.
6994 * time/tst-posixtz.c (do_test): Likewise.
6995 * timezone/tst-timezone.c (main): Likewise.
6997 2014-12-30 Andrew Senkevich <andrew.senkevich@intel.com>
6998 H.J. Lu <hongjiu.lu@intel.com>
7000 * sysdeps/i386/i686/multiarch/bcopy-sse2-unaligned.S: New file.
7001 * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Likewise.
7002 * sysdeps/i386/i686/multiarch/memmove-sse2-unaligned.S: Likewise.
7003 * sysdeps/i386/i686/multiarch/mempcpy-sse2-unaligned.S: Likewise.
7004 * sysdeps/i386/i686/multiarch/bcopy.S: Select the sse2_unaligned
7005 version if bit_Fast_Unaligned_Load is set.
7006 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
7007 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
7008 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
7009 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
7010 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
7011 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
7012 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
7013 bcopy-sse2-unaligned, memcpy-sse2-unaligned,
7014 memmove-sse2-unaligned and mempcpy-sse2-unaligned.
7015 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c (MAX_IFUNC): Set
7017 (__libc_ifunc_impl_list): Test __bcopy_sse2_unaligned,
7018 __memmove_chk_sse2_unaligned, __memmove_sse2_unaligned,
7019 __memcpy_chk_sse2_unaligned, __memcpy_sse2_unaligned,
7020 __mempcpy_chk_sse2_unaligned, and __mempcpy_sse2_unaligned.
7022 2014-12-29 Chris Metcalf <cmetcalf@ezchip.com>
7024 * sysdeps/unix/sysv/linux/tst-setgetname.c (do_test): Use #ifndef
7025 instead of #if to avoid a Wundef warning.
7026 * stdlib/tst-limits.c (do_test): Likewise.
7028 * sysdeps/tile/math_private.h (fetestexcept): Add macro to
7029 parallel other exception macros.
7030 (fegetenv): Convert from macro to extern inline so that it applies
7031 retroactively to inline functions already seen by the compiler.
7032 (fesetenv, feupdateenv, fegetround, fesetround): Likewise.
7034 * posix/Makefile (before-compile): Use $(objpfx) for
7035 posix-conf-vars-def.h.
7037 2014-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
7039 * posix/getconf.c (main): Use size_t for type of I.
7040 * scripts-gen-posix-conf-vars.awk (END): Use size_t for type of
7043 * posix/posix-conf-vars.list (SPEC:XBS5): Add sysconf prefix.
7044 * posix/confstr.c: Define NEED_SPEC_ARRAY to 0.
7045 * posix/posix-envs.def: Likewise.
7046 * sysdeps/posix/sysconf.c: Likewise.
7047 * posix/getconf.c: Define NEED_SPEC_ARRAY to 1.
7048 (specs): Remove array.
7049 * scripts/gen-posix-conf-vars.awk: Support generation of specs
7052 * posix/posix-conf-vars.list: Add _POSIX sysconf namespace.
7053 * sysdeps/posix/sysconf.c: Include posix-conf-vars.h.
7054 (__sysconf): Use CONF_IS_* macros.
7056 * posix/Makefile (before-compile): Add posix-conf-vars-def.h.
7057 ($(objpfx)posix-conf-vars-def.h): New target.
7058 * posix/posix-conf-vars.list: New file.
7059 * posix/posix-conf-vars.h: New file.
7060 * posix/confstr.c: Include posix-conf-vars.h.
7061 (confstr): Use CONF_IS_* macros.
7062 * posix/posix-envs.def: Include posix-conf-vars.h. Use
7064 * scripts/gen-posix-conf-vars.awk: New file.
7066 2014-12-26 Chris Metcalf <cmetcalf@ezchip.com>
7068 * sysdeps/tile/math_private.h (fegetenv, fesetenv, feupdateenv,
7069 fegetround): Add no-op macros to avoid linknamespace issues.
7071 * sysdeps/unix/sysv/linux/clock_settime.c (SYSDEP_SETTIME): Remove
7072 definitions of INTERNAL_VSYSCALL and INLINE_VSYSCALL.
7074 * sysdeps/unix/sysv/linux/tile/sysdep.h
7075 (HAVE_CLOCK_GETTIME_VSYSCALL): Move definition out of
7076 assembly-specific section to avoid a redefinition warning.
7078 * sysdeps/tile/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast to
7079 long before casting to pointer to avoid a cast warning.
7081 2014-12-23 Chris Metcalf <cmetcalf@ezchip.com>
7083 * sysdeps/tile/tilegx/Implies: New file.
7085 2014-12-23 Richard Earnshaw <rearnsha@arm.com>
7087 * string/stpcpy.c (__stpcpy): Rewrite using strlen and memcpy.
7089 2014-12-23 Florian Weimer <fweimer@redhat.com>
7091 * iconvdata/run-iconv-test.sh: Actually test iconv modules.
7093 2014-12-22 Joseph Myers <joseph@codesourcery.com>
7095 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES): Do
7097 * sysdeps/unix/sysv/linux/utimes.c: Do not include
7098 <kernel-features.h>.
7099 (__utimes) [__NR_utimes]: Make code unconditional.
7100 (__utimes) [!__ASSUME_UTIMES]: Remove conditional code.
7101 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
7102 (__ASSUME_UTIMES): Do not undefine.
7103 * sysdeps/unix/sysv/linux/tile/kernel-features.h
7104 (__ASSUME_UTIMES): Likewise.
7105 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
7106 (__ASSUME_UTIMES): Define for [__LINUX_KERNEL_VERSION >= 0x030e00]
7107 instead of undefining for [__LINUX_KERNEL_VERSION < 0x030e00].
7108 * sysdeps/unix/sysv/linux/hppa/utimes.c: New file.
7110 2014-12-22 Steve Ellcey <sellcey@imgtec.com>
7112 * sysdeps/mips/memcpy.S: Fix preprocessor indentation.
7114 2014-12-22 Chris Metcalf <cmetcalf@ezchip.com>
7117 * math/w_j0.c [defined NO_LONG_DOUBLE] (j0, y0): Convert strong
7118 alias to weak alias for j0l, y0l.
7119 * math/w_j1.c [defined NO_LONG_DOUBLE] (j1, y1): Likewise.
7120 * math/w_jn.c [defined NO_LONG_DOUBLE] (jn, yn): Likewise.
7123 * sysdeps/tile/tilegx/strstr.c (STRSTR2): Remove implicit boolean
7126 2014-12-22 Steve Ellcey <sellcey@imgtec.com>
7128 * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Set
7129 to zero if not already defined.
7131 2014-12-22 Joseph Myers <joseph@codesourcery.com>
7134 * sysdeps/ieee754/k_standard.c: Don't include <float.h>.
7135 (__kernel_standard_f): Remove. Moved to k_standardf.c.
7136 (__kernel_standard_l): Remove. Moved to k_standardl.c with
7137 (char *) casts added.
7138 * sysdeps/ieee754/k_standardf.c: New file.
7139 * sysdeps/ieee754/k_standardl.c: Likewise.
7140 * math/Makefile (libm-support): Remove k_standard.
7141 (libm-calls): Add k_standard.
7143 2014-12-22 Wilco Dijkstra <wdijkstr@arm.com>
7145 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
7146 Optimize to avoid an unnecessary FPCR read.
7148 2014-12-22 Wilco Dijkstra <wdijkstr@arm.com>
7150 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
7151 Optimize to reduce FPCR/FPSR accesses.
7153 2014-12-22 Wilco Dijkstra <wdijkstr@arm.com>
7155 * sysdeps/aarch64/fpu/ftestexcept.c (fetestexcept):
7156 Call libc_fetestexcept_aarch64.
7158 2014-12-22 Wilco Dijkstra <wdijkstr@arm.com>
7160 * sysdeps/aarch64/fpu/fesetround.c (fesetround):
7161 Call libc_fesetround_aarch64.
7163 2014-12-22 Joseph Myers <joseph@codesourcery.com>
7166 * sysdeps/unix/sysv/linux/bind.S (NO_WEAK_ALIAS): Do not define.
7167 (__bind): Do not define as weak alias.
7168 * sysdeps/unix/sysv/linux/getsockname.S (NO_WEAK_ALIAS): Do not
7170 (__getsockname): Do not define as weak alias.
7172 2014-12-22 Will Newton <will.newton@linaro.org>
7174 * manual/install.texi: Document that we require bison 2.7
7176 * INSTALL: Regenerate.
7177 * configure.ac: Use AC_CHECK_PROG_VER instead of
7178 AC_PATH_PROG when checking for bison and check for
7179 version 2.7 or above.
7180 * configure: Regenerate.
7182 2014-12-21 Chris Metcalf <cmetcalf@ezchip.com>
7185 * sysdeps/tile/ffs.c (__ffs): Moved ffsll definition...
7186 * sysdeps/tile/ffsll.c (ffsll): To here.
7188 * sysdeps/unix/sysv/linux/tile/localplt.data: Removed.
7190 2014-12-21 H.J. Lu <hongjiu.lu@intel.com>
7192 * elf/dl-tls.c (__tls_get_addr): Provide the hidden definition
7194 * sysdeps/i386/dl-tls.h (___tls_get_addr): Provide the hidden
7196 * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
7197 hidden ___tls_get_addr.
7198 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
7199 hidden __tls_get_addr.
7200 * sysdeps/generic/localplt.data (__tls_get_addr): Removed.
7201 * sysdeps/unix/sysv/linux/i386/localplt.data (___tls_get_addr):
7204 2014-12-21 Andreas Schwab <schwab@linux-m68k.org>
7206 * sysdeps/m68k/dl-machine.h (RTLD_START): Remove @PLTPC from
7209 2014-12-21 H.J. Lu <hongjiu.lu@intel.com>
7211 * sysdeps/i386/dl-machine.h (_dl_start_user): Remove @PLT
7212 from "call _dl_init@PLT".
7213 * sysdeps/x86_64/dl-machine.h (_dl_start_user): Likewise.
7215 2014-12-21 Anders Kaseorg <andersk@mit.edu>
7217 * manual/search.texi: (Array Sort Function): Clarify stable sorting
7220 2014-12-20 Chris Metcalf <cmetcalf@ezchip.com>
7222 * sysdeps/unix/sysv/linux/tile/localplt.data: New file.
7224 2014-12-19 Chris Metcalf <cmetcalf@ezchip.com>
7227 * sysdeps/tile/tilegx/strstr.c (STRSTR): Call __strnlen, not
7230 2014-12-19 Steve Ellcey <sellcey@imgtec.com>
7232 * sysdeps/mips/addmul_1.S (__mpn_addmul_1): Use mulu/muhu instead
7234 * sysdeps/mips/mul_1.S (__mpn_mul_1): Ditto.
7235 * sysdeps/mips/submul_1.S (__mpn_submul_1): Ditto.
7236 * sysdeps/mips/mips64/addmul_1.S (__mpn_addmul_1): Ditto.
7237 * sysdeps/mips/mips64/mul_1.S (__mpn_mul_1): Ditto.
7238 * sysdeps/mips/mips64/submul_1.S (__mpn_submul_1): Ditto.
7240 2014-12-19 Steve Ellcey <sellcey@imgtec.com>
7242 * sysdeps/mips/sys/asm.h (PTR_ADDU): Use addu on mips32r6/mips64r6.
7243 (PTR_ADDIU): Use addiu for mips32r6/mips64r6.
7244 (PTR_SUBU): Use subu for mips32r6/mips64r6.
7245 (PTR_SUBIU): Use subu for mips32r6/mips64r6 (subiu does not exist).
7246 * sysdeps/mips/machine-gmon.h (PTR_ADDU_STRING) Use addu for
7248 (PTR_SUBU_STRING) Use subu for mips32r6/mips64r6.
7250 2014-12-19 Ondřej Bílka <neleai@seznam.cz>
7252 * string/strncat.c (STRNCAT): Simplify implementation.
7254 2014-12-19 David S. Miller <davem@davemloft.net>
7256 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Use a union to
7257 access the quad as both a long double and as a series of 4 words.
7259 * get-dynamic-info.h (elf_get_dynamic_info): Ignore -Warray-bounds for a
7260 link_map->l_info array access.
7262 2014-12-19 Chris Metcalf <cmetcalf@ezchip.com>
7264 * iconvdata/tst-loading.c (TIMEOUT): Increase timeout 10 sec.
7266 * math/atest-exp.c (TIMEOUT): Increase timeout to 10 sec.
7267 * math/atest-exp2.c (TIMEOUT): Likewise.
7268 * math/atest-sincos.c (TIMEOUT): Likewise.
7270 2014-12-19 H.J. Lu <hongjiu.lu@intel.com>
7272 * sysdeps/x86_64/x32/Makefile (CFLAGS-s_llround.c): Replace
7273 -Wno-error with -fno-builtin-lround.
7275 2014-12-19 Torvald Riegel <triegel@redhat.com>
7277 * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: New file.
7278 Contains futex constants and functions moved over from ...
7279 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here. Include
7280 <lowlevellock-futex.h>.
7281 (lll_wait_tid): Use lll_futex_wait instead of assembly code.
7282 (lll_timedwait_tid): Add comments and parentheses around macro
7285 2014-12-19 Torvald Riegel <triegel@redhat.com>
7287 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Include
7288 <lowlevellock-futex.h>. Remove FUTEX_* constants defined there.
7289 (__lll_private_flag): Remove.
7290 (lll_futex_wait): Likewise.
7291 (lll_futex_timed_wait): Likewise.
7292 (lll_futex_wake): Likewise.
7293 (lll_futex_requeue): Likewise.
7294 (lll_wait_tid): Use lll_futex_wait instead of assembly code.
7295 (__lll_timedwait_tid): Spell out argument names.
7296 (lll_timedwait_tid): Add comments and parentheses around macro
7298 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Make FUTEX_* constants,
7299 LLL_SHARED and LLL_PRIVATE usable from assembly code.
7301 2014-12-19 Torvald Riegel <triegel@redhat.com>
7303 * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Remove file.
7304 * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
7305 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
7306 * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Likewise.
7307 * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Likewise.
7308 * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Likewise.
7309 * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Likewise.
7310 * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Likewise.
7311 * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Likewise.
7312 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: Likewise.
7313 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: Likewise.
7314 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Likewise.
7315 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Likewise.
7316 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Likewise.
7317 * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Likewise.
7318 * sysdeps/unix/sysv/linux/sh/sem_post.S: Likewise.
7319 * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Likewise.
7320 * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Likewise.
7321 * sysdeps/unix/sysv/linux/sh/sem_wait.S: Likewise.
7323 2014-12-19 H.J. Lu <hongjiu.lu@intel.com>
7325 * sysdeps/x86_64/x32/Makefile: New file.
7327 2014-12-19 H.J. Lu <hongjiu.lu@intel.com>
7329 * sysdeps/i386/ldbl2mpn.c (__mpn_extract_long_double): Replace
7330 1L with (mp_limb_t) 1.
7332 2014-12-17 Roland McGrath <roland@hack.frob.com>
7334 * sysdeps/nptl/fork.c (__fork_generation_pointer): Variable moved ...
7335 * nptl/libc_pthread_init.c: ... here.
7336 * sysdeps/nptl/fork.c (__fork_handlers): Variable moved ...
7337 * nptl/register-atfork.c: ... here.
7339 * sysdeps/nptl/gai_misc.h (__gai_start_notify_thread):
7340 Use pthread_sigmask rather than INTERNAL_SYSCALL.
7341 Use assert_perror to check its return value.
7342 (__gai_create_helper_thread): Likewise.
7344 * inet/if_index.c (__if_freenameindex): Add libc_hidden_def.
7346 * malloc/malloc.c (alloc_perturb, free_perturb): Remove inline keyword.
7348 2014-12-17 Joseph Myers <joseph@codesourcery.com>
7351 * sysdeps/generic/profil-counter.h (profil_counter): Rename to
7353 * sysdeps/unix/sysv/linux/hppa/profil-counter.h (profil_counter):
7355 * sysdeps/unix/sysv/linux/i386/profil-counter.h (profil_counter):
7357 * sysdeps/unix/sysv/linux/ia64/profil-counter.h (profil_counter):
7359 * sysdeps/unix/sysv/linux/s390/s390-32/profil-counter.h
7360 (profil_counter): Likewise.
7361 * sysdeps/unix/sysv/linux/s390/s390-64/profil-counter.h
7362 (profil_counter): Likewise.
7363 * sysdeps/unix/sysv/linux/sh/profil-counter.h (profil_counter):
7365 * sysdeps/unix/sysv/linux/tile/profil-counter.h (profil_counter):
7367 * sysdeps/unix/sysv/linux/x86_64/profil-counter.h
7368 (profil_counter): Likewise.
7369 * sysdeps/unix/sysv/linux/arm/profil-counter.h (profil_counter):
7371 [!__profil_counter] (profil_counter): Define as weak alias of
7373 * sysdeps/unix/sysv/linux/sparc/sparc32/profil-counter.h
7374 (profil_counter): Rename to __profil_counter.
7375 [!__profil_counter] (profil_counter): Define as weak alias of
7377 * sysdeps/unix/sysv/linux/sparc/sparc64/profil-counter.h
7378 (profil_counter): Rename to __profil_counter.
7379 [!__profil_counter] (profil_counter): Define as weak alias of
7381 * sysdeps/posix/profil.c: Update comment referring to
7383 (__profil): Use __profil_counter instead of profil_counter.
7384 * sysdeps/posix/sprofil.c (profil_counter): Rename to
7385 __profil_counter. Use __profil_counter_ushort and
7386 __profil_counter_uint in definitions.
7387 (__sprofil): Use __profil_counter_uint and __profil_counter_ushort
7388 instead of profil_counter_uint and profil_counter_ushort.
7391 * inet/inet_mkadr.c (inet_makeaddr): Rename to __inet_makeaddr and
7392 define as weak alias of __inet_makeaddr.
7393 * resolv/inet_addr.c (inet_addr): Rename to __inet_addr and define
7394 as weak alias of __inet_addr.
7395 * resolv/inet_pton.c (inet_pton): Rename to __inet_pton and define
7396 as weak alias of __inet_pton. Use libc_hidden_weak.
7397 * include/arpa/inet.h (__inet_pton): Declare. Use
7399 (inet_makeaddr): Don't use libc_hidden_proto.
7400 (__inet_makeaddr): Declare. Use libc_hidden_proto.
7401 * resolv/res_init.c (__res_vinit): Use __inet_pton instead of
7402 inet_pton. Use __inet_makeaddr instead of inet_makeaddr.
7403 * conform/Makefile (test-xfail-POSIX/pthread.h/linknamespace):
7405 (test-xfail-POSIX/sched.h/linknamespace): Likewise.
7406 (test-xfail-POSIX/time.h/linknamespace): Likewise.
7408 2014-12-17 Steve Ellcey <sellcey@imgtec.com>
7410 * inet/getnetgrent_r.c: Move while loop to be inside if statement.
7412 2014-12-17 Stefan Liebler <stli@linux.vnet.ibm.com>
7414 * stdio-common/bug-vfprintf-nargs.c (do_test):
7415 Cast value to intptr_t to avoid format warning
7416 for usage with PRIdPTR printing macro.
7418 2014-12-17 Stefan Liebler <stli@linux.vnet.ibm.com>
7420 * libio/tst-widetext.c (do_test):
7421 Use format type %td instead of %Zd for ptrdiff_t
7422 in order to avoid format warning.
7424 2014-12-17 Andreas Schwab <schwab@suse.de>
7426 * nscd/mem.c (gc): Add size_t cast to match printf format.
7428 2014-12-16 Roland McGrath <roland@hack.frob.com>
7430 * sysdeps/gnu/unwind-resume.c: #include <sysdep.h>.
7431 (init): Apply PTR_MANGLE to pointers before storing them.
7432 (_Unwind_Resume, __gcc_personality_v0): Apply PTR_DEMANGLE to pointers
7435 2014-12-16 Joseph Myers <joseph@codesourcery.com>
7438 * sysdeps/x86_64/memrchr.S (memrchr): Rename to __memrchr and
7439 define as weak alias of __memrchr.
7440 (__memrchr): Do not define as strong alias of memrchr.
7441 * conform/Makefile (test-xfail-XPG4/libgen.h/linknamespace):
7443 (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
7444 (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
7445 (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
7448 * inet/if_index.c (if_nametoindex): Rename to __if_nametoindex and
7449 define as weak alias of __if_nametoindex. Use libc_hidden_weak.
7450 (if_indextoname): Rename to __if_indextoname and define as weak
7451 alias of __if_indextoname. Use libc_hidden_weak.
7452 (if_freenameindex): Rename to __if_freenameindex and define as
7453 weak alias of __if_freenameindex.
7454 (if_nameindex): Rename to __if_nameindex and define as weak alias
7456 * sysdeps/mach/hurd/if_index.c (if_nametoindex): Rename to
7457 __if_nametoindex and define as weak alias of __if_nametoindex.
7458 Use libc_hidden_weak.
7459 (if_freenameindex): Rename to __if_freenameindex and define as
7460 weak alias of __if_freenameindex.
7461 (if_nameindex): Rename to __if_nameindex and define as weak alias
7463 (if_indextoname): Rename to __if_indextoname and define as weak
7464 alias of __if_indextoname. Use libc_hidden_weak.
7465 * sysdeps/unix/sysv/linux/if_index.c (if_nametoindex): Rename to
7466 __if_nametoindex and define as weak alias of __if_nametoindex.
7467 Use libc_hidden_weak.
7468 (if_freenameindex): Rename to __if_freenameindex and define as
7469 weak alias of __if_freenameindex. Use libc_hidden_weak.
7470 (if_nameindex_netlink): Use __if_freenameindex instead of
7472 (if_nameindex): Rename to __if_nameindex and define as weak alias
7473 of __if_nameindex. Use libc_hidden_weak.
7474 (if_indextoname): Rename to __if_indextoname and define as weak
7475 alias of __if_indextoname. Use libc_hidden_weak.
7476 * include/net/if.h [!_ISOMAC] (__if_nametoindex): Declare and use
7478 [!_ISOMAC] (__if_freenameindex): Likewise.
7479 * resolv/res_init.c (__res_vinit): Use __if_nametoindex instead of
7481 * conform/Makefile (test-xfail-XPG4/grp.h/linknamespace): Remove
7483 (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
7484 (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
7485 (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
7486 (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
7487 (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
7488 (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
7489 (test-xfail-UNIX98/time.h/linknamespace): Likewise.
7491 * conform/Makefile (test-xfail-UNIX98/semaphore.h/linknamespace):
7493 (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
7494 (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
7496 2014-12-16 Siddhesh Poyarekar <siddhesh@redhat.com>
7498 * resolv/res_send.c (__libc_res_nsend): Disable warning 'array
7499 subscript above bounds'
7501 * resolv/res_send.c (__libc_res_nsend): Fix check for nsmap
7504 2014-12-16 Arjun Shankar <arjun.is@lostca.se>
7506 * libio/tst-fopenloc.c: Use test-skeleton.c.
7508 * stdlib/tst-bsearch.c: Use test-skeleton.c.
7509 (entry): Rename to ITEM.
7510 (do_test, comp): Adjust.
7512 * stdio-common/tst-fseek.c: Use test-skeleton.c.
7514 2014-12-16 Torvald Riegel <triegel@redhat.com>
7516 * string/tester.c: Include <libc-internal.h>.
7517 (test_memset): Ignore -Wmemset-transposed-args.
7519 2014-12-16 Torvald Riegel <triegel@redhat.com>
7521 * misc/tst-mntent2.c (do_test): Fix warning.
7523 2014-12-16 Torvald Riegel <triegel@redhat.com>
7525 * elf/tst-unique4lib.cc(a): Mark as used.
7527 2014-12-16 Florian Weimer <fweimer@redhat.com>
7530 * resolv/nss_dns/dns-network.c (getanswer_r): Iterate over alias
7533 2014-12-16 Allan McRae <allan@archlinux.org>
7535 * stdio-common/Makefile (tests): Re-add bug26.
7537 2014-12-15 Ondřej Bílka <neleai@seznam.cz>
7540 * locale/programs/ld-ctype.c (find_translit2, read_widestring): Return
7543 2014-12-15 Bernard Ogden <bernie.ogden@linaro.org>
7545 * nptl/lowlevellock.c (__lll_lock_wait_private): Add comments.
7546 (__lll_lock_wait): Likewise.
7547 (__lll_timedlock_wait): Likewise.
7548 (__lll_timedwait_tid): Likewise.
7549 * nptl/lowlevelrobustlock.c (__lll_robust_lock_wait): Likewise.
7550 (__lll_robust_timedlock_wait): Likewise.
7551 * sysdeps/nptl/lowlevellock.h (lll_trylock): Likewise.
7552 (lll_cond_trylock): Likewise.
7553 (__lll_lock): Likewise.
7554 (__lll_robust_lock): Likewise.
7555 (__lll_cond_lock): Likewise.
7556 (lll_robust_cond_lock): Likewise.
7557 (__lll_timedlock): Likewise.
7558 (__lll_robust_timedlock): Likewise.
7559 (__lll_unlock): Likewise.
7560 (__lll_robust_unlock): Likewise.
7561 (lll_wait_tid): Likewise.
7562 (lll_timedwait_tid): Likewise.
7564 2014-12-15 Torvald Riegel <triegel@redhat.com>
7566 * nptl/tst-sem4.c (do_test): Start with a fresh semaphore state.
7568 2014-12-15 Torvald Riegel <triegel@redhat.com>
7570 * nptl/tst-mutex5.c (do_test): Do not skip tests if elision is enabled.
7572 2014-12-15 Adhemerval Zanella <Azanella@linux.vnet.ibm.com>
7574 * stdio-common/test-vfprintf.c: Include <libc-internal.h>.
7575 * stdio-common/tst-sprintf.c: Likewise.
7577 2014-12-15 Torvald Riegel <triegel@redhat.com>
7579 * sysdeps/unix/sysv/linux/s390/pthread_once.c: Remove file.
7581 2014-12-15 Jeff Law <law@redhat.com>
7584 * stdio-common/vfprintf.c (vfprintf): Allocate large specs array
7585 on the heap. (CVE-2012-3406)
7586 * stdio-common/bug23-2.c, stdio-common/bug23-3.c: New file.
7587 * stdio-common/bug23-4.c: New file. Test case by Joseph Myers.
7588 * stdio-common/Makefile (tests): Add bug23-2, bug23-3, bug23-4.
7590 2014-12-15 Will Newton <will.newton@linaro.org>
7592 * manual/install.texi: Bump required version of texinfo
7594 * INSTALL: Regenerated.
7595 * configure.ac: Check for makeinfo version 4.7 and above.
7596 * configure: Regenerated.
7598 2014-12-12 Roland McGrath <roland@hack.frob.com>
7600 * sysdeps/posix/shm-directory.h (SHM_GET_NAME): Take new argument
7601 PREFIX, string constant to insert between directory and name.
7602 * sysdeps/posix/shm_open.c: Update caller.
7603 * sysdeps/posix/shm_unlink.c: Likewise.
7604 * nptl/semaphoreP.h (struct mountpoint_info): Type removed.
7605 (__where_is_shmfs, mountpoint, __namedsem_once): Declarations removed.
7606 (SEM_SHM_PREFIX): New macro.
7607 * sysdeps/posix/Makefile (librt-routines): Add shm-directory only if
7608 [$(have-thread-library) = no].
7609 * nptl/Makefile (libpthread-routines): Add shm-directory.
7610 * nptl/Versions (GLIBC_PRIVATE): Add __shm_directory.
7611 * sysdeps/nptl/shm-directory.h: New file.
7612 * sysdeps/posix/shm-directory.c
7613 [IS_IN (libpthread)] (__shm_directory): Add hidden_def.
7614 * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
7615 * nptl/sem_open.c (check_add_mapping): Use munmap function rather than
7617 (__where_is_shmfs): Function removed.
7618 (mountpoint, defaultmount, defaultdir, __namedsem_once):
7620 (sem_open): Use __libc_close function rather than INTERNAL_SYSCALL.
7622 * nptl/sem_unlink.c: Prototypify. Use SHM_GET_NAME.
7624 * sysdeps/nptl/bits/libc-lockP.h [IS_IN (libpthread)]
7625 (PTFAVAIL, __libc_ptf_call, __libc_ptf_call_always): Define as
7626 unconditional for use inside libpthread.
7627 [IS_IN (libpthread)]: Include <nptl/pthreadP.h>.
7629 2014-12-12 Roland McGrath <roland@hack.frob.com>
7631 * nptl/pthread_getaffinity.c: New file.
7632 * nptl/pthread_setaffinity.c: New file.
7633 * nptl/pthread_getname.c: New file.
7634 * nptl/pthread_setname.c: New file.
7636 * nptl/pthread_create.c (START_THREAD_DEFN)
7637 [! __ASSUME_SET_ROBUST_LIST]: Add missing & in lll_futex_wake argument.
7639 2014-12-12 Stefan Liebler <stli@linux.vnet.ibm.com>
7640 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7642 * resolv/res_send.c (send_vc): Disable warning resplen may
7643 be used uninitialized.
7645 2014-12-12 Stefan Liebler <stli@linux.vnet.ibm.com>
7648 (ATTR_NULL): New define checks ATTR against NULL.
7649 (do_test): Use !ATTR_NULL instead of ATTR != NULL.
7650 * nptl/tst-mutexpp6.c (ATTR_NULL): New define.
7652 2014-12-11 James Lemke <jwlemke@codesourcery.com>
7656 (mem2mem_check): Revert my previous change.
7657 (malloc_check_get_size): Revert my previous change.
7658 (mem2chunk_check): Revert my previous change.
7660 2014-12-11 Roland McGrath <roland@hack.frob.com>
7662 * sysdeps/posix/shm-directory.c: New file.
7663 * sysdeps/posix/shm-directory.h: New file.
7664 * sysdeps/posix/Makefile [($(subdir) = rt] (librt-routines): Add it.
7665 * sysdeps/posix/shm_open.c: Use SHM_GET_NAME.
7666 Use O_NOFOLLOW and O_CLOEXEC if available. Transmute EISDIR to EINVAL.
7667 * sysdeps/posix/shm_unlink.c: Use SHM_GET_NAME.
7668 Transmute EPERM to EACCES.
7669 * sysdeps/unix/sysv/linux/shm-directory.c: New file, most code taken
7671 * sysdeps/unix/sysv/linux/shm_open.c: ... here. File removed.
7672 * sysdeps/unix/sysv/linux/shm_unlink.c: File removed.
7674 2014-12-11 Kaz Kojima <kkojima@rr.iij4u.or.jp>
7676 * sysdeps/sh/jmpbuf_unwind.h (_jmpbuf_sp): Declare SP as void
7677 pointer and cast to uintptr_t.
7678 * sysdeps/sh/nptl/tls.h (TLS_INIT_TP): Use NULL instead of 0.
7679 * sysdeps/unix/sysv/linux/sh/lowlevellock.h (lll_futex_timed_wait):
7680 Add cast to avoid warning.
7681 * sysdeps/unix/sysv/linux/sh/register-dump.h: Use 0 instead of NULL.
7683 2014-12-11 Joseph Myers <joseph@codesourcery.com>
7685 * nptl/semaphore.h: Move to ...
7686 * sysdeps/pthread/semaphore.h: ... here.
7687 * Makefile (installed-headers): Change nptl/semaphore.h to
7688 sysdeps/pthread/semaphore.h.
7690 2014-12-11 Roland McGrath <roland@hack.frob.com>
7692 * misc/tst-error1.c (do_test): Ignore -Wformat-security for
7693 generated error format strings.
7695 * stdio-common/tstdiomisc.c (t2): Ignore -Wformat and
7696 -Wformat-extra-args warnings for scanf formats.
7697 * stdio-common/scanf4.c (main): Ignore -Wformat-zero-length around
7698 test of zero-length format (duh).
7699 * stdio-common/scanf7.c (main): Ignore -Wformat warnings for
7700 corner-case scanf format test.
7701 * stdio-common/test-vfprintf.c (do_test): Ignore -Wformat-security for
7702 generated fprintf format string.
7703 * stdio-common/tst-sprintf.c (do_test): Ignore -Wformat warnings for
7704 corner-case sprintf format tests.
7705 * stdio-common/tst-printf.c: Ignore -Wformat throughout.
7706 * stdio-common/tst-printfsz.c (main): Ignore -Wformat and
7707 -Wformat-extra-args warnings throughout.
7708 * stdio-common/Makefile (CFLAGS-tstdiomisc.c): Variable removed.
7709 (CFLAGS-scanf4.c): Likewise.
7710 (CFLAGS-scanf7.c): Likewise.
7711 (CFLAGS-tst-sprintf.c): Likewise.
7712 (CFLAGS-tst-printf.c): Likewise.
7713 (CFLAGS-tst-printfsz.c): Likewise.
7715 2014-12-11 Joseph Myers <joseph@codesourcery.com>
7717 * include/cpio.h: New file.
7718 * include/fmtmsg.h: Likewise.
7720 * tst-mbswcs1.c (show): Use %zu format instead of %Zd. Cast
7721 corresponding format argument to size_t.
7722 * tst-mbswcs2.c (show): Likewise. Use %td format for ptrdiff_t
7724 * tst-mbswcs3.c (show): Use %zu format instead of %Zd. Cast
7725 corresponding format argument to size_t.
7726 * tst-mbswcs4.c (show): Likewise. Use %td format for ptrdiff_t
7728 * tst-mbswcs5.c (show): Use %zu format instead of %Zd. Cast
7729 corresponding format argument to size_t.
7730 * tst-trans.c (do_test): Use %lc format for wint_t arguments.
7731 * Makefile (CFLAGS-tst-mbswcs1.c): Remove variable.
7732 (CFLAGS-tst-mbswcs2.c): Likewise.
7733 (CFLAGS-tst-mbswcs3.c): Likewise.
7734 (CFLAGS-tst-mbswcs4.c): Likewise.
7735 (CFLAGS-tst-mbswcs5.c): Likewise.
7736 (CFLAGS-tst-trans.c): Likewise
7738 2014-12-11 Roland McGrath <roland@hack.frob.com>
7740 * posix/regexbug1.c (main): Use "%s" format with regerror results,
7741 rather than assuming they won't contain any '%'s.
7743 2014-12-11 Chris Metcalf <cmetcalf@ezchip.com>
7745 * sysdeps/tile/tilegx/memset.c (__memcpy): Add
7746 inhibit_loop_to_libcall to avoid recursive calls.
7747 * sysdeps/tile/tilegx/memcpy.c (__memcpy): Likewise.
7748 * sysdeps/tile/tilepro/memcpy.c (__memcpy): Likewise.
7750 2014-12-11 Adhemerval Zanella <Azanella@linux.vnet.ibm.com>
7752 * include/sys/socket.h (__sendmmsg): Add __USE_GNU guards on function
7755 2014-12-11 Steve Ellcey <sellcey@imgtec.com>
7757 * sysdeps/mips/dl-trampoline.c: Modify switch expression to have
7758 integer value instead of boolean.
7760 2014-12-11 Steve Ellcey <sellcey@imgtec.com>
7762 * malloc/malloc.c: Fix powerof2 check.
7764 2014-12-11 Stefan Liebler <stli@linux.vnet.ibm.com>
7766 * locale/programs/locfile.h (maybe_swap_uint32):
7767 Remove inline and add unused attribute.
7769 2014-12-11 Stefan Liebler <stli@linux.vnet.ibm.com>
7771 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
7772 Truncating assembler expression to a .long expression.
7774 2014-12-11 Andreas Schwab <schwab@suse.de>
7776 * elf/rtld.c (struct map_args): Constify str member.
7777 (do_preload): Constify fname argument.
7779 2014-12-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7781 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Remove overflow warnings for
7782 constants definition.
7784 2014-12-11 Andreas Schwab <schwab@suse.de>
7787 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Use
7788 FORCE_ELISION instead of DO_ELISION.
7789 * sysdeps/unix/sysv/linux/x86/force-elision.h (DO_ELISION):
7791 * sysdeps/unix/sysv/linux/s390/force-elision.h (DO_ELISION):
7794 * iconvdata/gconv-modules: Remove duplicate entry.
7796 2014-12-11 Will Newton <will.newton@linaro.org>
7798 Merge gettext 0.19.3 into intl/.
7800 This involves a number of cosmetic changes to comments
7801 and ANSI function definitions and prototypes throughout
7802 all the files. The gettext copyright header is used but
7803 with the date ranges taken from the glibc copy.
7805 * NEWS: Add gettext merge to 2.21.
7806 * intl/bindtextdom.c: Switch to gettext copyright.
7807 Use ANSI definitions and prototypes.
7808 Use gl_* locking primitives rather than __libc_* ones.
7809 Use __builtin_expect rather than __glibc_likely/unlikely.
7810 * intl/dcgettext.c: Switch to gettext copyright.
7811 Use ANSI definitions and prototypes.
7812 * intl/dcigettext.c: Switch to gettext copyright.
7813 Use ANSI definitions and prototypes.
7814 (INTDIV0_RAISES_SIGFPE): New define.
7815 Use gl_* locking primitives rather than __libc_* ones.
7816 Include eval-plural.h instead of plural-eval.c.
7817 Use __builtin_expect rather than __glibc_likely/unlikely.
7818 * intl/dcngettext.c: Switch to gettext copyright.
7819 Use ANSI definitions and prototypes.
7820 * intl/dgettext.c: Likewise.
7821 * intl/dngettext.c: Likewise.
7822 * intl/plural-eval.c: Renamed to...
7823 * intl/eval-plural.h: ...this.
7824 * intl/explodename.c: Switch to gettext copyright.
7825 Use ANSI definitions and prototypes.
7826 (_nl_explode_name): Use strchr instead of __rawmemchr.
7827 * intl/finddomain.c: Switch to gettext copyright.
7828 Use ANSI definitions and prototypes.
7829 Use gl_* locking primitives rather than __libc_* ones.
7830 (_nl_find_domain): Use malloc rather than alloca for
7831 allocation of temporary locale name.
7832 * intl/gettext.c: Switch to gettext copyright.
7833 Use ANSI definitions and prototypes.
7834 * intl/gettextP.h: Switch to gettext copyright.
7835 Use ANSI definitions and prototypes.
7836 Use gl_* locking primitives rather than __libc_* ones.
7837 * intl/gmo.h: Switch to gettext copyright.
7838 (struct sysdep_string): Move struct segment_pair outside of
7840 * intl/hash-string.c: Use ANSI definitions and prototypes.
7841 * intl/hash-string.h: Switch to gettext copyright.
7842 Use ANSI definitions and prototypes.
7843 * intl/l10nflist.c: Switch to gettext copyright.
7844 Use ANSI definitions and prototypes.
7845 (_nl_normalize_codeset): Avoid integer overflow.
7846 * intl/loadinfo.h: Switch to gettext copyright.
7847 Use ANSI definitions and prototypes.
7848 (LIBINTL_DLL_EXPORTED): New define.
7849 (PATH_SEPARATOR): New define.
7850 * intl/loadmsgcat.c: Switch to gettext copyright.
7851 * intl/localealias.c: Switch to gettext copyright.
7852 Use ANSI definitions and prototypes.
7853 (_nl_expand_alias): Use PATH_SEPARATOR.
7854 * intl/ngettext.c: Switch to gettext copyright.
7855 Use ANSI definitions and prototypes.
7856 * intl/plural-exp.c: Likewise.
7857 * intl/plural-exp.h: Switch to gettext copyright.
7858 Use ANSI definitions and prototypes.
7859 (struct expression): Move definition of enum operator outside
7860 of struct definition.
7861 * intl/plural.c: Regenerate.
7862 * intl/plural.y: Switch to gettext copyright.
7863 Use ANSI definitions and prototypes.
7865 * intl/textdomain.c: Switch to gettext copyright.
7866 Use ANSI definitions and prototypes.
7867 Use gl_* locking primitives rather than __libc_* ones.
7869 2014-12-10 Steve Ellcey <sellcey@imgtec.com>
7871 * debug/warning-nop.c: Add used atrribute.
7873 2014-12-10 Joseph Myers <joseph@codesourcery.com>
7875 * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: New file.
7877 * sysdeps/unix/sysv/linux/mips/mips64/Makefile
7878 [$(subdir) == signal] (CFLAGS-sigaction.c): New variable.
7879 [$(subdir) == nptl] (CFLAGS-sigaction.c): Likewise.
7881 2014-12-10 Joseph Myers <joseph@codesourcery.com>
7882 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7885 * wcsmbs/wcschr.c [!WCSCHR] (wcschr): Define as __wcschr.
7886 Undefine after defining function. Define as weak alias of
7887 __wcschr. Use libc_hidden_weak.
7888 * include/wchar.h (__wcschr): Declare. Use libc_hidden_proto.
7889 * sysdeps/i386/i686/multiarch/wcschr-c.c [IS_IN (libc) && SHARED]
7890 (libc_hidden_def): Also define __GI___wcschr alias.
7891 * sysdeps/i386/i686/multiarch/wcschr.S (wcschr): Rename to
7892 __wcschr and define as weak alias of __wcschr.
7893 * sysdeps/powerpc/power6/wcschr.c [!WCSCHR] (WCSCHR): Define as
7895 [!WCSCHR] (DEFAULT_WCSCHR): Define.
7896 [DEFAULT_WCSCHR] (__wcschr): Use libc_hidden_def.
7897 [DEFAULT_WCSCHR] (wcschr): Define as weak alias of __wcschr. Use
7898 libc_hidden_weak. Do not use libc_hidden_def.
7899 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c
7900 [IS_IN (libc) && SHARED] (libc_hidden_def): Also define
7901 __GI___wcschr alias.
7902 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c
7903 [IS_IN (libc)] (wcschr): Define as macro expanding to
7905 [IS_IN (libc)] (__wcschr_ppc): Use __redirect_wcschr in typeof.
7906 [IS_IN (libc)] (__wcschr_power6): Likewise.
7907 [IS_IN (libc)] (__wcschr_power7): Likewise.
7908 [IS_IN (libc)] (__libc_wcschr): New. Define with libc_ifunc
7910 [IS_IN (libc)] (wcschr): Undefine and define as weak alias of
7912 [!IS_IN (libc)] (libc_hidden_def): Do not undefine and redefine.
7913 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c (wcschr): Rename to
7914 __wcschr and define as weak alias of __wcschr. Use
7915 libc_hidden_builtin_def.
7916 * sysdeps/x86_64/wcschr.S (wcschr): Rename to __wcschr and define
7917 as weak alias of __wcschr. Use libc_hidden_weak.
7918 * time/alt_digit.c (_nl_get_walt_digit): Use __wcschr instead of
7920 * time/era.c (_nl_init_era_entries): Likewise.
7921 * conform/Makefile (test-xfail-ISO/time.h/linknamespace): Remove
7923 (test-xfail-XPG3/time.h/linknamespace): Likewise.
7924 (test-xfail-XPG4/time.h/linknamespace): Likewise.
7926 2014-12-10 Joseph Myers <joseph@codesourcery.com>
7928 * libio/tst-ftell-active-handler.c (do_ftruncate_test): Use %ld
7929 format for long int variable.
7931 2014-12-10 Anders Kaseorg <andersk@MIT.EDU>
7934 * manual/search.texi: (Array Sort Function): Remove claim how to make
7937 2014-12-10 Andreas Schwab <schwab@suse.de>
7940 * sysdeps/nptl/fork.c (fresetlockfiles): Skip files with
7941 user-controlled locks.
7943 2014-12-10 Richard Earnshaw <rearnsha@arm.com>
7945 * sysdeps/aarch64/strchrnul.S (vrepmask): Use a call-clobbered
7948 2014-12-10 Joseph Myers <joseph@codesourcery.com>
7950 * configure.ac (--disable-werror): New configure option.
7951 (enable_werror): New AC_SUBST.
7952 * configure: Regenerated.
7953 * config.make.in (enable-werror): New variable.
7954 * Makeconfig [$(enable-werror) = yes] (+gccwarn): Add -Werror
7956 (+gccwarn-c): Do not use -Werror=implicit-function-declaration.
7957 * manual/install.texi (Configuring and compiling): Document
7959 * INSTALL: Regenerated.
7960 * debug/Makefile (CFLAGS-tst-chk1.c): Add -Wno-error.
7961 (CFLAGS-tst-chk2.c): Likewise.
7962 (CFLAGS-tst-chk3.c): Likewise.
7963 (CFLAGS-tst-chk4.cc): Likewise.
7964 (CFLAGS-tst-chk5.cc): Likewise.
7965 (CFLAGS-tst-chk6.cc): Likewise.
7966 (CFLAGS-tst-lfschk1.c): Likewise.
7967 (CFLAGS-tst-lfschk2.c): Likewise.
7968 (CFLAGS-tst-lfschk3.c): Likewise.
7969 (CFLAGS-tst-lfschk4.cc): Likewise.
7970 (CFLAGS-tst-lfschk5.cc): Likewise.
7971 (CFLAGS-tst-lfschk6.cc): Likewise.
7973 * stdio-common/tst-printfsz.c: Include <libc-internal.h>.
7974 (main): Disable -Wdeprecated-declarations around calls to
7975 register_printf_function.
7977 * stdio-common/tst-unlockedio.c: Include <libc-internal.h>.
7978 (do_test): Disable -Wdiv-by-zero around some calls to
7979 fwrite_unlocked and fread_unlocked.
7981 * include/libc-internal.h (DIAG_PUSH_NEEDS_COMMENT): New macro.
7982 (DIAG_POP_NEEDS_COMMENT): Likewise.
7983 (_DIAG_STR1): Likewise.
7984 (_DIAG_STR): Likewise.
7985 (DIAG_IGNORE_NEEDS_COMMENT): Likewise.
7986 * stdio-common/bug21.c: Include <libc-internal.h>.
7987 (do_test): Disable -Wformat around call to sscanf.
7988 * stdio-common/scanf14.c: Include <libc-internal.h>.
7989 (main): Disable -Wformat around some calls to scanf functions.
7991 2014-12-09 Torvald Riegel <triegel@redhat.com>
7993 * sysdeps/unix/sysv/linux/sh/pthread_once.S: Remove file.
7995 2014-12-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7997 * libio/tst-ftell-active-handler.c (do_ftell_test): Fix wide-character
7998 stack variable alignment.
8000 2014-12-06 Joseph Myers <joseph@codesourcery.com>
8003 * resource/Versions (libc): Add __getrlimit at GLIBC_PRIVATE.
8004 * resource/getrlimit.c (__getrlimit): Use libc_hidden_def.
8005 * sysdeps/mach/hurd/getrlimit.c (__getrlimit): Likewise.
8006 * include/sys/resource.h (__getrlimit): Use libc_hidden_proto.
8007 * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Use
8008 __getrlimit instead of getrlimit.
8009 * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Use
8010 __gettimeofday instead of gettimeofday.
8011 * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
8013 * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
8015 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
8016 * conform/Makefile (test-xfail-POSIX2008/aio.h/linknamespace):
8018 (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
8019 (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
8021 2014-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8023 * libio/tst-ftell-active-handler.c (do_ftell_test): Fix buffer overrun
8024 for wide-character tests.
8026 2014-12-04 Roland McGrath <roland@hack.frob.com>
8028 * io/openat64.c: #include <libc-internal.h>
8029 (__openat64): Prototypify. Use ignore_value on MODE.
8030 * io/openat.c: Likewise.
8031 * misc/reboot.c: #include <libc-internal.h>
8032 (reboot): Prototypify. Use ignore_value on HOWTO.
8033 * misc/ptrace.c: #include <libc-internal.h>
8034 (ptrace): Prototypify. Use ignore_value for va_arg'd parameters.
8036 2014-12-04 Joseph Myers <joseph@codesourcery.com>
8038 * conform/list-header-symbols.pl (%extra_syms): Add h_errno for
8039 XPG4, UNIX98 and XOPEN2K.
8040 * conform/Makefile (test-xfail-XOPEN2K/grp.h/linknamespace):
8042 (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
8044 2014-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
8046 * libio/fileops.c: Use ISO C style for function definitions.
8047 * libio/iofopen.c: Likewise.
8048 * libio/wfileops.c: Likewise.
8051 * libio/fileops.c (_IO_new_file_underflow): Unset cached
8053 * libio/wfileops.c (_IO_wfile_underflow): Likewise.
8054 * libio/tst-ftell-active-handler.c (fgets_func_t): New type.
8055 (fgets_func): Function pointer to fgets and fgetws.
8056 (do_ftell_test): Add test to verify ftell value after read
8058 (do_test): Set fgets_func.
8060 * libio/tst-ftell-active-handler.c (do_ftruncate_test): Add
8061 O_TRUNC flag for w and w+ modes.
8062 (do_rewind_test): Likewise.
8063 (do_ftell_test): Likewise.
8064 (do_write_test): Likewise.
8067 * libio/fileops.c (do_ftell): Seek only when there are
8069 * libio/wfileops.c (do_ftell_wide): Likewise.
8070 * libio/tst-ftell-active-handler.c (do_ftruncate_test): New
8072 (do_one_test): Call it.
8074 2014-12-03 Joseph Myers <joseph@codesourcery.com>
8076 * conform/list-header-symbols.pl (%extra_syms): Add getdate_err
8077 for XPG4, UNIX98, XOPEN2K and XOPEN2K8.
8078 * conform/Makefile (test-xfail-XOPEN2K/pthread.h/linknamespace):
8080 (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
8081 (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
8082 (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
8084 2014-12-02 Joseph Myers <joseph@codesourcery.com>
8086 * conform/Makefile (test-xfail-XOPEN2K/aio.h/linknamespace):
8088 (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
8091 * inet/ifaddrs.c (getifaddrs): Rename to __getifaddrs and define
8092 as weak alias of __getifaddrs. Use libc_hidden_weak.
8093 (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
8094 __freeifaddrs. Use libc_hidden_weak.
8095 * sysdeps/gnu/ifaddrs.c (getifaddrs): Rename to __getifaddrs and
8096 define as weak alias of __getifaddrs. Use libc_hidden_weak.
8097 (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
8098 __freeifaddrs. Use libc_hidden_weak.
8099 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs): Rename to
8100 __getifaddrs and define as weak alias of __getifaddrs. Use
8102 (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
8103 __freeifaddrs. Use libc_hidden_weak.
8104 * conform/Makefile (test-xfail-XOPEN2K/net/if.h/linknamespace):
8106 (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
8107 (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
8109 2014-12-02 Petar Jovanovic <petar.jovanovic@rt-rk.com>
8112 * sysdeps/mips/start.S (__start): Use indirect jump to call
8115 2014-12-02 Joseph Myers <joseph@codesourcery.com>
8117 * nptl/tst-stack4.c (dso_process): Use int not uintptr_t for t.
8119 * nptl/tst-mutex1.c: Include <stdbool.h>.
8120 [!ATTR] (ATTR_NULL): New macro.
8121 (do_test): Test !ATTR_NULL instead of ATTR != NULL.
8122 * nptl/tst-mutexpi1.c (ATTR_NULL): New macro.
8123 * nptl/tst-mutexpp1.c (ATTR_NULL): New macro.
8125 * posix/tst-getopt_long1.c (do_test): Cast elements of argv array
8129 * posix/unistd.h [__USE_MISC || (__USE_XOPEN && !__USE_UNIX98)]:
8130 Change conditional to [__USE_MISC].
8133 * misc/mntent_r.c (__getmntent_r): Use __fgets_unlocked instead of
8135 * resolv/res_hconf.c [IS_IN (libc)] (fgets_unlocked): Define to
8137 * resolv/res_init.c (__res_vinit): Use __fgets_unlocked instead of
8139 * conform/Makefile (test-xfail-XPG4/sys/statvfs.h/linknamespace):
8141 (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
8142 (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
8143 (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
8144 (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
8145 (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
8146 (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
8147 (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
8148 (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
8149 (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
8151 * elf/tst-unique4lib.cc (b): Mark with __attribute__ ((used)).
8153 2014-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8155 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
8156 Remove strpbrk objects.
8157 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8158 (__libc_ifunc_impl_list): Remove strpbrk implementation.
8159 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: Remove file.
8160 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Remove file.
8161 * sysdeps/powerpc/powerpc64/power7/strpbrk.S: Remove file.
8162 * sysdeps/powerpc/powerpc64/strpbrk.S: New file.
8164 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
8165 Remove strcspn objects.
8166 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8167 (__libc_ifunc_impl_list): Remove strcspn implementation.
8168 * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: Remove file.
8169 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Remove file.
8170 * sysdeps/powerpc/powerpc64/power7/strcspn.S: Remove file.
8171 * sysdeps/powerpc/powerpc64/strcspn.S: New file.
8173 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
8174 Remove strspn objetcs.
8175 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8176 (__libc_ifunc_impl_list): Remove strspn implementation.
8177 * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: Remove file.
8178 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
8179 * sysdeps/powerpc/powerpc64/power7/strspn.S: Remove file.
8180 * sysdeps/powerpc/powerpc64/strspn.S: New file.
8182 2014-12-01 James Lemke <jwlemke@codesourcery.com>
8186 (mem2mem_check): Add a terminator to the chain of checking blocks.
8187 (malloc_check_get_size): Use it here.
8188 (mem2chunk_check): Ditto.
8190 2014-12-01 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
8192 * sysdeps/powerpc/powerpc64/strtok.S: New file.
8193 * sysdeps/powerpc/powerpc64/strtok_r.S: New file.
8195 2014-11-29 Carlos O'Donell <carlos@redhat.com>
8197 * bits/ioctl-types.h: Indent preprocessor directives correctly.
8199 * nptl/nptl-init.c: Include libc-internal.h.
8200 (__pthread_initialize_minimal_internal): Use ROUND_UP.
8202 * elf/ldconfig.c (search_dir): Expand comment.
8204 2014-11-29 Joseph Myers <joseph@codesourcery.com>
8206 * conform/Makefile (linknamespace-symlist-stdlibs-base): New
8208 (linknamespace-symlist-stdlibs-tests): Likewise.
8209 (tests-special): Append $(linknamespace-symlist-stdlibs-tests)
8210 instead of $(objpfx)symlist-stdlibs.
8211 (linknamespace-libs-isoc): New variable.
8212 (linknamespace-libs): Use $(linknamespace-libs-isoc).
8213 (linknamespace-libs-ISO): New variable.
8214 (linknamespace-libs-ISO99): Likewise.
8215 (linknamespace-libs-ISO11): Likewise.
8216 (linknamespace-libs-XPG3): Likewise.
8217 (linknamespace-libs-XPG4): Likewise.
8218 (linknamespace-libs-POSIX): Likewise.
8219 (linknamespace-libs-UNIX98): Likewise.
8220 (linknamespace-libs-XOPEN2K): Likewise.
8221 (linknamespace-libs-POSIX2008): Likewise.
8222 (linknamespace-libs-XOPEN2K8): Likewise.
8223 ($(objpfx)symlist-stdlibs): Replace by
8224 $(linknamespace-symlist-stdlibs-tests). Use
8225 $(linknamespace-libs-$*) as set of libraries.
8226 ($(linknamespace-header-tests)): Update dependencies. Use
8227 $(objpfx)symlist-stdlibs-$$std for --libsyms argument.
8228 (test-xfail-XPG4/sys/mman.h/linknamespace): Remove.
8229 * conform/linknamespace.pl: Remove comment about considering
8230 definitions of symbols from irrelevant libraries.
8232 2014-11-28 H.J. Lu <hongjiu.lu@intel.com>
8235 * elf/dl-tls.c: Include <atomic.h>.
8236 (oom): Remove #ifdef SHARED/#endif.
8237 (_dl_static_dtv, _dl_initial_dtv): Moved before ...
8238 (_dl_resize_dtv): This. Extracted from _dl_update_slotinfo.
8239 (_dl_allocate_tls_init): Resize DTV if the current DTV isn't
8241 (_dl_update_slotinfo): Call _dl_resize_dtv to resize DTV.
8242 * nptl/Makefile (tests): Add tst-stack4.
8243 (modules-names): Add tst-stack4mod.
8244 ($(objpfx)tst-stack4): New.
8245 (tst-stack4mod.sos): Likewise.
8246 ($(objpfx)tst-stack4.out): Likewise.
8247 ($(tst-stack4mod.sos)): Likewise.
8249 * nptl/tst-stack4.c: New file.
8250 * nptl/tst-stack4mod.c: Likewise.
8252 2014-11-27 J. Brown <jb999@gmx.de>
8254 * sysdeps/x86/bits/string.h: Add recent CPUs.
8256 2014-11-27 Joseph Myers <joseph@codesourcery.com>
8258 * misc/tst-pselect.c (do_test): Use sigprocmask instead of
8261 * libio/bug-ungetwc1.c (do_test): Verify results of getwc and
8264 * dlfcn/failtestmod.c (constr): Do not store result of dlsym in a
8267 2014-11-27 Stefan Liebler <stli@linux.vnet.ibm.com>
8269 * nscd/connections.c: Include libc-internal.h because of macro
8272 2014-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
8274 * string/bits/string3.h (__warn_memset_zero_len): Don't
8275 declare for gcc newer than 5.0.
8276 (memset): Don't test for zero-length __LEN for gcc newer than
8279 2014-11-27 Joseph Myers <joseph@codesourcery.com>
8281 * stdio-common/tst-fmemopen.c (do_test): Cast st_size values to
8282 size_t for %zu format.
8284 * nss/tst-nss-test1.c (do_test): Use %td printf format for pointer
8285 difference, not %ju.
8287 2014-11-26 Joseph Myers <joseph@codesourcery.com>
8289 * include/libc-internal.h (ignore_value): New macro.
8290 * nscd/connections.c (restart): Wrap calls to setuid and setgid
8293 * sysdeps/mips/__longjmp.c (____longjmp): Use prototype
8296 * nptl/tst-cancel-self-cancelstate.c (do_test): Cast argument of
8297 pthread_cleanup_push to void *.
8299 * sysdeps/unix/sysv/linux/arm/libc-do-syscall.S (_FORTIFY_SOURCE):
8304 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Use 1LL << 52
8305 instead of 1L << 52.
8307 * libio/bug-rewind.c (do_test): Check fwscanf return values.
8308 * libio/bug-rewind2.c (do_test): Likewise.
8310 * debug/test-stpcpy_chk-ifunc.c: Remove file.
8311 * debug/test-strcpy_chk-ifunc.c: Likewise.
8312 * wcsmbs/test-wcschr-ifunc.c: Likewise.
8313 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
8314 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
8315 * wcsmbs/test-wcslen-ifunc.c: Likewise.
8316 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
8317 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
8318 * Rules [$(multi-arch) = no] (tests): Do not filter out
8320 [$(multi-arch) = no] (xtests): Do not filter out $(xtests-ifunc).
8321 * debug/Makefile (tests-ifunc): Remove variable.
8322 (tests): Do not add $(tests-ifunc).
8323 * wcsmbs/Makefile (tests-ifunc): Remove variable.
8324 (tests): Do not add $(tests-ifunc).
8325 * benchtests/bench-string.h (TEST_IFUNC): Remove macro.
8326 [TEST_IFUNC]: Remove conditionals.
8327 * string/test-string.h (TEST_IFUNC): Remove macro.
8328 [TEST_IFUNC]: Remove conditionals.
8330 * string/test-strchr.c [!WIDE] (L): New macro.
8331 [WIDE] (L): Likewise.
8332 (check1): Use CHAR instead of char. Use L on string and character
8335 2014-11-26 Adhemerval Zanella <azanella@linux.ibm.com>
8337 * csu/tst-atomic.c (do_test): Add atomic_exchange_and_add_{acq,rel}
8339 * sysdeps/powerpc/bits/atomic.h
8340 (__arch_atomic_exchange_and_add_32_acq): Add definition.
8341 (__arch_atomic_exchange_and_add_32_rel): Likewise.
8342 (atomic_exchange_and_add_acq): Likewise.
8343 (atomic_exchange_and_add_rel): Likewise.
8344 * sysdeps/powerpc/powerpc32/bits/atomic.h
8345 (__arch_atomic_exchange_and_add_64_acq): Add definition.
8346 (__arch_atomic_exchange_and_add_64_rel): Likewise.
8347 * sysdeps/powerpc/powerpc64/bits/atomic.h
8348 (__arch_atomic_exchange_and_add_64_acq): Add definition.
8349 (__arch_atomic_exchange_and_add_64_rel): Likewise.
8351 2014-11-26 Torvald Riegel <triegel@redhat.com>
8353 * nptl/tpp.c (__init_sched_fifo_prio, __pthread_tpp_change_priority):
8354 Change synchronization of __sched_fifo_min_prio and
8355 __sched_fifo_max_prio.
8356 * nptl/pthread_mutexattr_getprioceiling.c
8357 (pthread_mutexattr_getprioceiling): Likewise.
8358 * nptl/pthread_mutexattr_setprioceiling.c
8359 (pthread_mutexattr_setprioceiling): Likewise.
8360 * nptl/pthread_mutex_init.c (__pthread_mutex_init): Likewise.
8361 * nptl/pthread_mutex_setprioceiling.c (pthread_mutex_setprioceiling):
8364 2014-11-26 Joseph Myers <joseph@codesourcery.com>
8366 * setjmp/jmpbug.c (test): Make foo volatile and cast it to
8369 2014-11-25 Joseph Myers <joseph@codesourcery.com>
8371 * stdio-common/tst-printf-round.c (test_hex_in_one_mode): Make
8372 third argument const.
8374 2014-11-25 Paul Eggert <eggert@cs.ucla.edu>
8376 fnmatch: work around GCC compiler warning bug with uninit var
8377 * posix/fnmatch_loop.c (FCT): Use a scalar not a one-item array.
8378 This works around a bug with x86-64 GCC 4.9.2 and earlier
8379 where 'gcc -O2 -Wmaybe-uninitialized' incorrectly complains
8380 "../locale/weightwc.h:93:7: warning: '*((void *)&str+4)' may be
8381 used uninitialized in this function [-Wmaybe-uninitialized]".
8383 2014-11-25 Joseph Myers <joseph@codesourcery.com>
8385 * posix/bug-regex31.c (main): Return RES not 0.
8387 2014-11-25 Anton Blanchard <anton@samba.org>
8389 * sysdeps/powerpc/bits/atomic.h
8390 (__arch_compare_and_exchange_bool_64_rel): Load from mem.
8392 2014-11-24 Sterling Augustine <saugustine@google.com>
8394 * sysdeps/x86_64/start.S (_start): Use ENTRY and END macros.
8396 2014-11-24 Ryan Cumming <etaoins@gmail.com>
8399 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_TAI.
8401 2014-11-24 Joseph Myers <joseph@codesourcery.com>
8404 * stdio-common/perror.c (perror): Call __fileno instead of fileno.
8405 * conform/Makefile (test-xfail-ISO/stdio.h/linknamespace): Remove
8407 (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
8408 (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
8410 2014-11-24 Wilco Dijkstra <wdijkstr@arm.com>
8412 * string/strncpy.c (strncpy): Improve performance by using memset.
8414 2014-11-24 Wilco Dijkstra <wdijkstr@arm.com>
8416 * string/strcpy.c (strcpy):
8417 Improve performance by using strlen and memcpy.
8419 2014-11-24 Leonhard Holz <leonhard.holz@web.de>
8421 * string/strcoll_l.c (get_next_seq): __always_inline.
8422 * string/strcoll_l.c (do_compare): __always_inline.
8424 2014-11-24 Siddhesh Poyarekar <siddhesh@redhat.com>
8426 * include/bits/stdlib-float.h: Use IS_IN only if _ISOMAC is
8428 * include/mqueue.h: Likewise.
8429 * include/stdlib.h: Likewise.
8431 * stdlib/isomac.c (fmt): Replace NOT_IN_libc with IN_MODULE.
8432 (get_null_defines): Adjust.
8433 * sunrpc/Makefile: Adjust comment.
8434 * Makerules (CPPFLAGS-nonlib): Remove NOT_IN_libc.
8435 * elf/Makefile (CPPFLAGS-sotruss-lib): Likewise.
8436 (CFLAGS-interp.c): Likewise.
8437 (CFLAGS-ldconfig.c): Likewise.
8438 (CPPFLAGS-.os): Likewise.
8439 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
8440 * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
8441 * extra-modules.mk (extra-modules.mk): Likewise.
8442 * iconv/Makefile (CPPFLAGS-iconvprogs): Likewise.
8443 * locale/Makefile (CPPFLAGS-locale_programs): Likewise.
8444 * malloc/Makefile (CPPFLAGS-memusagestat): Likewise.
8445 * nscd/Makefile (CPPFLAGS-nscd): Likewise.
8446 * nss/Makefile (CPPFLAGS-nss_test1): Likewise.
8447 * stdlib/Makefile (CFLAGS-tst-putenvmod.c): Likewise.
8448 * sysdeps/gnu/Makefile ($(objpfx)errlist-compat.c): Likewise.
8449 * sysdeps/unix/sysv/linux/Makefile (CPPFLAGS-lddlibc4): Likewise.
8450 * iconvdata/Makefile (CPPFLAGS): Likewise.
8451 (cpp-srcs-left): Add libof for all iconvdata routines.
8452 * bits/stdio-lock.h: Replace NOT_IN_libc with IS_IN.
8453 * include/assert.h: Likewise.
8454 * include/ctype.h: Likewise.
8455 * include/errno.h: Likewise.
8456 * include/libc-symbols.h: Likewise.
8457 * include/math.h: Likewise.
8458 * include/netdb.h: Likewise.
8459 * include/resolv.h: Likewise.
8460 * include/stdio.h: Likewise.
8461 * include/stdlib.h: Likewise.
8462 * include/string.h: Likewise.
8463 * include/sys/stat.h: Likewise.
8464 * include/wctype.h: Likewise.
8465 * intl/l10nflist.c: Likewise.
8466 * libidn/idn-stub.c: Likewise.
8467 * libio/libioP.h: Likewise.
8468 * nptl/libc_multiple_threads.c: Likewise.
8469 * nptl/pthreadP.h: Likewise.
8470 * posix/regex_internal.h: Likewise.
8471 * resolv/res_hconf.c: Likewise.
8472 * sysdeps/arm/armv7/multiarch/memcpy.S: Likewise.
8473 * sysdeps/arm/memmove.S: Likewise.
8474 * sysdeps/arm/sysdep.h: Likewise.
8475 * sysdeps/generic/_itoa.h: Likewise.
8476 * sysdeps/generic/symbol-hacks.h: Likewise.
8477 * sysdeps/gnu/errlist.awk: Likewise.
8478 * sysdeps/gnu/errlist.c: Likewise.
8479 * sysdeps/i386/i586/memcpy.S: Likewise.
8480 * sysdeps/i386/i586/memset.S: Likewise.
8481 * sysdeps/i386/i686/memcpy.S: Likewise.
8482 * sysdeps/i386/i686/memmove.S: Likewise.
8483 * sysdeps/i386/i686/mempcpy.S: Likewise.
8484 * sysdeps/i386/i686/memset.S: Likewise.
8485 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
8486 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
8487 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: Likewise.
8488 * sysdeps/i386/i686/multiarch/memchr-sse2.S: Likewise.
8489 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
8490 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
8491 * sysdeps/i386/i686/multiarch/memcmp-ssse3.S: Likewise.
8492 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
8493 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
8494 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
8495 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
8496 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
8497 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
8498 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
8499 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
8500 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
8501 * sysdeps/i386/i686/multiarch/memrchr-c.c: Likewise.
8502 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: Likewise.
8503 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: Likewise.
8504 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
8505 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
8506 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
8507 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
8508 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
8509 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
8510 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
8511 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: Likewise.
8512 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
8513 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Likewise.
8514 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
8515 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
8516 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
8517 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
8518 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
8519 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
8520 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
8521 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
8522 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
8523 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
8524 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
8525 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
8526 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
8527 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
8528 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
8529 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
8530 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
8531 * sysdeps/i386/i686/multiarch/wcschr-c.c: Likewise.
8532 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: Likewise.
8533 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
8534 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
8535 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
8536 * sysdeps/i386/i686/multiarch/wcscpy-c.c: Likewise.
8537 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Likewise.
8538 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
8539 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
8540 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: Likewise.
8541 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
8542 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: Likewise.
8543 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: Likewise.
8544 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
8545 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
8546 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
8547 * sysdeps/ia64/fpu/libm-symbols.h: Likewise.
8548 * sysdeps/nptl/bits/libc-lock.h: Likewise.
8549 * sysdeps/nptl/bits/libc-lockP.h: Likewise.
8550 * sysdeps/nptl/bits/stdio-lock.h: Likewise.
8551 * sysdeps/posix/closedir.c: Likewise.
8552 * sysdeps/posix/opendir.c: Likewise.
8553 * sysdeps/posix/readdir.c: Likewise.
8554 * sysdeps/posix/rewinddir.c: Likewise.
8555 * sysdeps/powerpc/novmx-sigjmp.c: Likewise.
8556 * sysdeps/powerpc/powerpc32/__longjmp.S: Likewise.
8557 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
8558 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
8559 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
8560 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Likewise.
8561 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Likewise.
8562 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: Likewise.
8563 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: Likewise.
8564 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: Likewise.
8565 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: Likewise.
8566 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: Likewise.
8567 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: Likewise.
8568 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: Likewise.
8569 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: Likewise.
8570 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: Likewise.
8571 * sysdeps/powerpc/powerpc32/power4/multiarch/memset.c: Likewise.
8572 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: Likewise.
8573 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: Likewise.
8574 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: Likewise.
8575 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr.c: Likewise.
8576 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: Likewise.
8577 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: Likewise.
8578 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: Likewise.
8579 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: Likewise.
8580 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: Likewise.
8581 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: Likewise.
8582 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: Likewise.
8583 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: Likewise.
8584 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: Likewise.
8585 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: Likewise.
8586 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: Likewise.
8587 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: Likewise.
8588 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: Likewise.
8589 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: Likewise.
8590 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Likewise.
8591 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
8592 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
8593 * sysdeps/powerpc/powerpc64/__longjmp.S: Likewise.
8594 * sysdeps/powerpc/powerpc64/multiarch/bzero.c: Likewise.
8595 * sysdeps/powerpc/powerpc64/multiarch/memchr.c: Likewise.
8596 * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: Likewise.
8597 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: Likewise.
8598 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: Likewise.
8599 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: Likewise.
8600 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Likewise.
8601 * sysdeps/powerpc/powerpc64/multiarch/memmove.c: Likewise.
8602 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: Likewise.
8603 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: Likewise.
8604 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: Likewise.
8605 * sysdeps/powerpc/powerpc64/multiarch/memset.c: Likewise.
8606 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: Likewise.
8607 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
8608 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Likewise.
8609 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: Likewise.
8610 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: Likewise.
8611 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: Likewise.
8612 * sysdeps/powerpc/powerpc64/multiarch/strcat.c: Likewise.
8613 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: Likewise.
8614 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: Likewise.
8615 * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: Likewise.
8616 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: Likewise.
8617 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
8618 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c: Likewise.
8619 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Likewise.
8620 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: Likewise.
8621 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: Likewise.
8622 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: Likewise.
8623 * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: Likewise.
8624 * sysdeps/powerpc/powerpc64/multiarch/strncat.c: Likewise.
8625 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: Likewise.
8626 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Likewise.
8627 * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: Likewise.
8628 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: Likewise.
8629 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: Likewise.
8630 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Likewise.
8631 * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: Likewise.
8632 * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: Likewise.
8633 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
8634 * sysdeps/powerpc/powerpc64/multiarch/strspn.c: Likewise.
8635 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c: Likewise.
8636 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
8637 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c: Likewise.
8638 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Likewise.
8639 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
8640 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Likewise.
8641 * sysdeps/s390/s390-32/multiarch/memcmp.S: Likewise.
8642 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
8643 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
8644 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
8645 * sysdeps/s390/s390-64/multiarch/memcmp.S: Likewise.
8646 * sysdeps/s390/s390-64/multiarch/memcpy.S: Likewise.
8647 * sysdeps/s390/s390-64/multiarch/memset.S: Likewise.
8648 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
8649 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
8650 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: Likewise.
8651 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
8652 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
8653 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Likewise.
8654 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: Likewise.
8655 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
8656 * sysdeps/unix/alpha/sysdep.S: Likewise.
8657 * sysdeps/unix/alpha/sysdep.h: Likewise.
8658 * sysdeps/unix/make-syscalls.sh: Likewise.
8659 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
8660 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
8661 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
8662 * sysdeps/unix/sysv/linux/alpha/vfork.S: Likewise.
8663 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
8664 * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
8665 * sysdeps/unix/sysv/linux/getpid.c: Likewise.
8666 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
8667 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
8668 * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Likewise.
8669 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
8670 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
8671 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
8672 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
8673 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
8674 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
8675 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
8676 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
8677 * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
8678 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
8679 * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
8680 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
8681 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
8682 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
8683 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
8684 * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
8685 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
8686 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
8687 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
8688 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: Likewise.
8689 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
8690 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
8691 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
8692 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
8693 * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
8694 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
8695 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
8696 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
8697 * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
8698 * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
8699 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
8700 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
8701 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
8702 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
8703 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
8704 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
8705 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
8706 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
8707 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
8708 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
8709 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
8710 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
8711 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
8712 * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
8713 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
8714 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
8715 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
8716 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
8717 * sysdeps/wordsize-32/symbol-hacks.h: Likewise.
8718 * sysdeps/x86_64/memcpy.S: Likewise.
8719 * sysdeps/x86_64/memmove.c: Likewise.
8720 * sysdeps/x86_64/memset.S: Likewise.
8721 * sysdeps/x86_64/multiarch/init-arch.h: Likewise.
8722 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
8723 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
8724 * sysdeps/x86_64/multiarch/memcmp.S: Likewise.
8725 * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: Likewise.
8726 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
8727 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
8728 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
8729 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
8730 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
8731 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
8732 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
8733 * sysdeps/x86_64/multiarch/memset-avx2.S: Likewise.
8734 * sysdeps/x86_64/multiarch/memset.S: Likewise.
8735 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
8736 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Likewise.
8737 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
8738 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
8739 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
8740 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
8741 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Likewise.
8742 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
8743 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
8744 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
8745 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
8746 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
8747 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
8748 * sysdeps/x86_64/multiarch/wcscpy-c.c: Likewise.
8749 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
8750 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
8751 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Likewise.
8752 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
8753 * sysdeps/x86_64/strcmp.S: Likewise.
8755 * extra-lib.mk (CPPFLAGS-$(lib)): Remove IS_IN_$(lib).
8757 * elf/Makefile (CPPFLAGS-.os): Remove IS_IN_rtld.
8758 * elf/dl-open.c: Use IS_IN (rtld) instead if IS_IN_rtld.
8759 * elf/rtld-Rules: Likewise.
8760 * elf/setup-vdso.h: Likewise.
8761 * include/assert.h: Likewise.
8762 * include/bits/stdlib-float.h: Likewise.
8763 * include/errno.h: Likewise.
8764 * include/sys/stat.h: Likewise.
8765 * include/unistd.h: Likewise.
8766 * sysdeps/aarch64/setjmp.S: Likewise.
8767 * sysdeps/alpha/setjmp.S: Likewise.
8768 * sysdeps/arm/__longjmp.S: Likewise.
8769 * sysdeps/arm/aeabi_unwind_cpp_pr1.c: Likewise.
8770 * sysdeps/arm/setjmp.S: Likewise.
8771 * sysdeps/arm/sysdep.h: Likewise.
8772 * sysdeps/generic/_itoa.h: Likewise.
8773 * sysdeps/generic/dl-sysdep.h: Likewise.
8774 * sysdeps/generic/ldsodefs.h: Likewise.
8775 * sysdeps/i386/dl-tls.h: Likewise.
8776 * sysdeps/i386/setjmp.S: Likewise.
8777 * sysdeps/m68k/setjmp.c: Likewise.
8778 * sysdeps/mach/hurd/dl-execstack.c: Likewise.
8779 * sysdeps/mach/hurd/opendir.c: Likewise.
8780 * sysdeps/posix/getcwd.c: Likewise.
8781 * sysdeps/posix/opendir.c: Likewise.
8782 * sysdeps/posix/profil.c: Likewise.
8783 * sysdeps/powerpc/dl-procinfo.h: Likewise.
8784 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
8785 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
8786 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
8787 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
8788 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Likewise.
8789 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
8790 * sysdeps/s390/dl-tls.h: Likewise.
8791 * sysdeps/s390/s390-32/setjmp.S: Likewise.
8792 * sysdeps/s390/s390-64/setjmp.S: Likewise.
8793 * sysdeps/sh/sh3/setjmp.S: Likewise.
8794 * sysdeps/sh/sh4/setjmp.S: Likewise.
8795 * sysdeps/unix/alpha/sysdep.h: Likewise.
8796 * sysdeps/unix/arm/sysdep.S: Likewise.
8797 * sysdeps/unix/i386/sysdep.S: Likewise.
8798 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
8799 * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
8800 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
8801 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
8802 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
8803 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
8804 * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
8805 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
8806 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
8807 * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
8808 * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
8809 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
8810 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
8811 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
8812 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
8813 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
8814 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
8815 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
8816 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
8817 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
8818 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
8819 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
8820 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
8821 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
8822 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
8823 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
8824 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
8825 * sysdeps/unix/x86_64/sysdep.S: Likewise.
8826 * sysdeps/x86_64/setjmp.S: Likewise.
8828 * include/math.h: Use IS_IN instead of IS_IN_libm.
8829 * sysdeps/alpha/fpu/s_copysign.c: Likewise.
8830 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
8831 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
8832 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
8833 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
8834 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
8835 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
8836 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
8837 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
8838 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
8839 * sysdeps/ieee754/ldbl-64-128/s_copysignl.c: Likewise.
8840 * sysdeps/ieee754/ldbl-64-128/s_finitel.c: Likewise.
8841 * sysdeps/ieee754/ldbl-64-128/s_frexpl.c: Likewise.
8842 * sysdeps/ieee754/ldbl-64-128/s_isinfl.c: Likewise.
8843 * sysdeps/ieee754/ldbl-64-128/s_isnanl.c: Likewise.
8844 * sysdeps/ieee754/ldbl-64-128/s_modfl.c: Likewise.
8845 * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c: Likewise.
8846 * sysdeps/ieee754/ldbl-64-128/s_signbitl.c: Likewise.
8847 * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Likewise.
8848 * sysdeps/ieee754/ldbl-opt/s_copysign.c: Likewise.
8849 * sysdeps/ieee754/ldbl-opt/s_finite.c: Likewise.
8850 * sysdeps/ieee754/ldbl-opt/s_frexp.c: Likewise.
8851 * sysdeps/ieee754/ldbl-opt/s_isinf.c: Likewise.
8852 * sysdeps/ieee754/ldbl-opt/s_isnan.c: Likewise.
8853 * sysdeps/ieee754/ldbl-opt/s_ldexp.c: Likewise.
8854 * sysdeps/ieee754/ldbl-opt/s_ldexpl.c: Likewise.
8855 * sysdeps/ieee754/ldbl-opt/s_modf.c: Likewise.
8856 * sysdeps/ieee754/ldbl-opt/s_scalbln.c: Likewise.
8857 * sysdeps/ieee754/ldbl-opt/s_scalbn.c: Likewise.
8858 * sysdeps/powerpc/power5+/fpu/s_modf.c: Likewise.
8859 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Likewise.
8860 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
8861 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
8862 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
8864 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c:
8866 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c:
8868 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c:
8870 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c:
8872 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
8873 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Likewise.
8874 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
8875 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
8876 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
8877 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
8878 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Likewise.
8879 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: Likewise.
8880 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: Likewise.
8881 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: Likewise.
8882 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: Likewise.
8883 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Likewise.
8884 * sysdeps/powerpc/powerpc64/fpu/s_copysignl.S: Likewise.
8885 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
8886 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
8887 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
8888 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
8889 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
8890 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
8891 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
8892 * sysdeps/powerpc/powerpc64/power7/fpu/s_isnan.S: Likewise.
8893 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: Likewise.
8894 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: Likewise.
8895 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: Likewise.
8896 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: Likewise.
8897 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
8898 * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S: Likewise.
8900 * nptl/lowlevellock.c: Use IS_IN instead of IS_IN_libpthread.
8901 * nptl/pthreadP.h: Likewise.
8902 * nptl_db/structs.def: Likewise.
8903 * sysdeps/arm/sysdep.h: Likewise.
8904 * sysdeps/nptl/bits/libc-lock.h: Likewise.
8905 * sysdeps/nptl/bits/libc-lockP.h: Likewise.
8906 * sysdeps/sparc/sparc32/lowlevellock.c: Likewise.
8907 * sysdeps/unix/alpha/sysdep.h: Likewise.
8908 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
8909 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
8910 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
8911 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
8912 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
8913 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
8914 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
8915 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
8916 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
8917 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
8918 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
8919 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
8920 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
8921 * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
8922 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
8923 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
8924 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
8925 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
8926 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
8927 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
8928 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
8929 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
8930 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
8931 * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
8932 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: Likewise.
8933 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
8935 * include/mqueue.h: Use IS_IN instead of IS_IN_librt.
8936 * nptl/pthreadP.h: Likewise.
8937 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
8938 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
8939 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
8940 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
8941 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
8942 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
8943 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
8944 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
8945 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
8946 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
8947 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
8948 * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
8949 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
8951 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
8953 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
8954 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
8955 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
8956 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
8957 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
8958 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
8959 * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
8960 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
8962 * dlfcn/dladdr.c: Use IS_IN.
8963 * dlfcn/dladdr1.c: Likewise.
8964 * dlfcn/dlclose.c: Likewise.
8965 * dlfcn/dlerror.c: Likewise.
8966 * dlfcn/dlinfo.c: Likewise.
8967 * dlfcn/dlmopen.c: Likewise.
8968 * dlfcn/dlopen.c: Likewise.
8969 * dlfcn/dlsym.c: Likewise.
8970 * dlfcn/dlvsym.c: Likewise.
8972 * include/ifaddrs.h: Use IS_IN.
8973 * inet/check_pf.c: Likewise.
8974 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
8975 * nscd/Makefile (CPPFLAGS-nscd): Remove IS_IN_nscd.
8977 * elf/Makefile (CFLAGS-ldconfig.c): Remove definition of
8979 * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Use IS_IN.
8980 * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.h: Likewise.
8982 * include/shlib-compat.h [!NOT_IN_libc]: Remove.
8983 * nss/nss_files/files-parse.c (IS_IN_libc): Replace with
8986 * elf/Makefile (libof-sotruss-lib): Set as extramodules.
8988 * elf/Makefile (CPPFLAGS-.os): Remove IN_LIB.
8989 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
8990 * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
8991 * include/libc-symbols.h (IS_IN_LIB): New macro.
8992 * include/errno.h: Use IS_IN_LIB instead of IN_LIB.
8993 * include/netdb.h: Likewise.
8994 * include/stap-probe.h: Remove all uses of IN_LIB.
8996 * Makeconfig (module-cppflags-real): Define MODULE_NAME
8997 instead of IN_MODULE.
8998 * include/libc-symbols.h (IN_MODULE): Define using
9000 (PASTE_NAME, PASTE_NAME1): New macros.
9001 * include/stap-probe.h (LIBC_PROBE_1): Use MODULE_NAME instead
9003 (STAP_PROBE_ASM): Likewise.
9005 2014-11-23 Samuel Thibault <samuel.thibault@ens-lyon.org>
9007 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Call
9008 __mach_init in dlopened libc.
9010 2014-11-22 Mike Frysinger <vapier@gentoo.org>
9012 * sysdeps/arm/preconfigure.ac: Delete EABI check.
9013 * sysdeps/arm/preconfigure: Regenerate.
9015 2014-11-21 Roland McGrath <roland@hack.frob.com>
9017 * nptl/pthread_create.c (__pthread_create_2_1): Set
9018 ATTR_FLAG_POLICY_SET and/or ATTR_FLAG_SCHED_SET in PD->flags
9019 when copying values from IATTR into PD.
9021 2014-11-21 Will Newton <will.newton@linaro.org>
9022 Andrew Pinski <andrew.pinski@caviumnetworks.com>
9024 * sysdeps/aarch64/dl-machine.h (elf_machine_load_address):
9025 Refactor inline-asm. Also add comment.
9027 * sysdeps/aarch64/bits/link.h (la_aarch64_gnu_pltenter): Use
9028 ElfW macro instead of hardcoded Elf64 types.
9029 (la_aarch64_gnu_pltenter): Likewise.
9030 * sysdeps/aarch64/dl-machine.h
9031 (elf_machine_runtime_setup): Use ElfW(Addr).
9033 * elf/elf.h (R_AARCH64_P32_ABS32, R_AARCH64_P32_COPY,
9034 R_AARCH64_P32_GLOB_DAT, R_AARCH64_P32_JUMP_SLOT,
9035 R_AARCH64_P32_RELATIVE, R_AARCH64_P32_TLS_DTPMOD,
9036 R_AARCH64_P32_TLS_DTPREL, R_AARCH64_P32_TLS_TPREL,
9037 R_AARCH64_P32_TLSDESC, R_AARCH64_P32_IRELATIVE): Define.
9038 (R_AARCH64_TLS_DTPMOD64): Rename to ..
9039 (R_AARCH64_TLS_DTPMOD): This.
9040 (R_AARCH64_TLS_DTPREL64): Rename to ...
9041 (R_AARCH64_TLS_DTPREL): This.
9042 (R_AARCH64_TLS_TPREL64): Rename to ...
9043 (R_AARCH64_TLS_TPREL): This.
9044 * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Update
9045 R_AARCH64_TLS_DTPMOD64, R_AARCH64_TLS_DTPREL64, and
9046 R_AARCH64_TLS_TPREL64.
9047 (elf_machine_rela): Likewise.
9049 2014-11-21 Torvald Riegel <triegel@redhat.com>
9051 * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS): Fix value
9052 by setting it to 0. 64b atomics are not supported currently.
9054 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
9057 * resolv/res_query.c (__libc_res_nsearch): Skip leading dot in
9058 search domain names.
9060 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
9064 * resolv/res_query.c (__libc_res_nquerydomain): Retain
9066 * posix/tst-getaddrinfo5.c: New.
9067 * posix/Makefile (tests): Add it.
9069 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
9073 * nss/nss_db/db-XXX.c (_nss_db_get##name##_r): Update hidx
9074 after parsing line but before break_if_match.
9075 * nss/nss_files/files-service (DB_LOOKUP): Don't "continue;"
9076 if there is a protocol mismatch.
9078 2014-11-21 Ma Shimiao <mashimiao.fnst@cn.fujitsu.com>
9080 * manual/sysinfo.texi (addmntent): It is actually MT-Safe,
9081 because the potential race is on the user-supplied stream.
9083 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
9085 * sysdeps/posix/ctermid.c (ctermid): Return a pointer to a
9086 string literal if not passed a buffer.
9087 * manual/job.texi (ctermid): Update reasoning, note deviation
9088 from posix, suggest mtasurace when not passed a buffer, for
9089 future non-preliminary safety notes.
9091 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
9093 * manual/users.texi (cuserid): Fix MT-Safety note for the case
9094 of not passing it a buffer.
9095 Reported by Peng Haitao.
9097 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
9099 * manual/Makefile ($(objpfx)stamp-summary): Require
9100 check-safety.sh to pass.
9101 * manual/check-safety.sh: Wish for verification that every
9102 @deftypefn and @deftypefun is followed by a @safety remark.
9104 2014-11-20 Roland McGrath <roland@hack.frob.com>
9106 * nptl/unwind.c (unwind_cleanup): Use __libc_fatal.
9108 * nptl/pthread_setcanceltype.c [!SIGCANCEL]: Return ENOTSUP early for
9109 PTHREAD_CANCEL_ASYNCHRONOUS.
9110 * nptl/pthread_cancel.c [!SIGCANCEL]: Just abort rather than trying to
9113 * nptl/default-sched.h: New file.
9114 * sysdeps/unix/sysv/linux/default-sched.h: New file.
9115 * nptl/pthread_create.c: Include it.
9116 (__pthread_create_2_1): Use collect_default_sched instead of making
9117 Linux syscalls here directly.
9119 2014-11-20 Torvald Riegel <triegel@redhat.com>
9121 * nptl/pthread_once.c (clear_once_control, __pthread_once_slow,
9122 __pthread_once): Use C11 atomics.
9124 2014-11-20 Torvald Riegel <triegel@redhat.com>
9126 * csu/tst-atomic.c (do_test): Add tests for C11-like atomics.
9128 2014-11-20 Torvald Riegel <triegel@redhat.com>
9130 * include/atomic.h (__atomic_link_error, __atomic_check_size,
9131 atomic_thread_fence_acquire, atomic_thread_fence_release,
9132 atomic_thread_fence_seq_cst, atomic_load_relaxed,
9133 atomic_load_acquire, atomic_store_relaxed, atomic_store_release,
9134 atomic_compare_exchange_weak_relaxed,
9135 atomic_compare_exchange_weak_acquire,
9136 atomic_compare_exchange_weak_release,
9137 atomic_exchange_acquire, atomic_exchange_release,
9138 atomic_fetch_add_relaxed, atomic_fetch_add_acquire,
9139 atomic_fetch_add_release, atomic_fetch_add_acq_rel,
9140 atomic_fetch_and_acquire,
9141 atomic_fetch_or_relaxed, atomic_fetch_or_acquire): New.
9143 2014-11-20 Torvald Riegel <triegel@redhat.com>
9145 * sysdeps/aarch64/bits/atomic.h (__HAVE_64B_ATOMICS,
9146 USE_ATOMIC_COMPILER_BUILTINS): Define.
9147 * sysdeps/alpha/bits/atomic.h (__HAVE_64B_ATOMICS,
9148 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
9149 * sysdeps/arm/bits/atomic.h (__HAVE_64B_ATOMICS,
9150 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
9151 * sysdeps/i386/i486/bits/atomic.h (__HAVE_64B_ATOMICS,
9152 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
9153 * sysdeps/ia64/bits/atomic.h (__HAVE_64B_ATOMICS,
9154 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
9155 * sysdeps/m68k/coldfire/bits/atomic.h (__HAVE_64B_ATOMICS,
9156 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
9157 * sysdeps/m68k/m680x0/m68020/bits/atomic.h (__HAVE_64B_ATOMICS,
9158 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
9159 * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS,
9160 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
9161 * sysdeps/mips/bits/atomic.h (__HAVE_64B_ATOMICS,
9162 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
9163 * sysdeps/powerpc/powerpc32/bits/atomic.h (__HAVE_64B_ATOMICS,
9164 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
9165 * sysdeps/powerpc/powerpc64/bits/atomic.h (__HAVE_64B_ATOMICS,
9166 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
9167 * sysdeps/s390/bits/atomic.h (__HAVE_64B_ATOMICS,
9168 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
9169 * sysdeps/sparc/sparc32/bits/atomic.h (__HAVE_64B_ATOMICS,
9170 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
9171 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (__HAVE_64B_ATOMICS,
9172 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
9173 * sysdeps/sparc/sparc64/bits/atomic.h (__HAVE_64B_ATOMICS,
9174 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
9175 * sysdeps/tile/tilegx/bits/atomic.h (__HAVE_64B_ATOMICS,
9176 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
9177 * sysdeps/tile/tilepro/bits/atomic.h (__HAVE_64B_ATOMICS,
9178 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
9179 * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (__HAVE_64B_ATOMICS,
9180 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
9181 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
9182 (__HAVE_64B_ATOMICS, USE_ATOMIC_COMPILER_BUILTINS): Likewise.
9183 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (__HAVE_64B_ATOMICS,
9184 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
9185 * sysdeps/x86_64/bits/atomic.h (__HAVE_64B_ATOMICS,
9186 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
9188 2014-11-19 Roland McGrath <roland@hack.frob.com>
9190 * nptl/pthread_create.c (__pthread_create_2_1): Don't try to validate
9191 the sched_priority value here. It was already checked when the user
9192 called pthread_attr_setschedparam.
9194 * nptl/tst-bad-schedattr.c: New file.
9195 * nptl/Makefile (tests): Add it.
9197 2014-11-19 Carlos O'Donell <carlos@redhat.com>
9198 Florian Weimer <fweimer@redhat.com>
9199 Joseph Myers <joseph@codesourcery.com>
9200 Adam Conrad <adconrad@0c3.net>
9201 Andreas Schwab <schwab@suse.de>
9202 Brooks <bmoses@google.com>
9205 * wordexp-test.c (__dso_handle): Add prototype.
9206 (__register_atfork): Likewise.
9207 (__app_register_atfork): New function.
9208 (registered_forks): New global.
9209 (register_fork): New function.
9210 (test_case): Add 3 new tests for WRDE_CMDSUB.
9211 (main): Call __app_register_atfork.
9212 (testit): If WRDE_NOCMD set registered_forks to zero, run test, and if
9213 fork count is non-zero fail the test.
9214 * posix/wordexp.c (exec_comm): Return WRDE_CMDSUB if WRDE_NOCMD flag
9216 (parse_dollars): Remove check for WRDE_NOCMD.
9217 (parse_dquote): Likewise.
9219 2014-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
9221 * Makeconfig (built-modules): List non-library modules to be
9223 (module-cppflags): Include libc-modules.h for
9224 everything except shlib-versions.v.i.
9226 (before-compile): Add libc-modules.h.
9227 ($(common-objpfx)libc-modules.h,
9228 $(common-objpfx)libc-modules.stmp): New targets.
9229 (common-generated): Add libc-modules.h and libc-modules.stmp.
9230 ($(common-objpfx)Versions.v.i): Depend on libc-modules.h.
9231 * include/libc-symbols.h: Don't include libc-modules.h.
9232 * include/libc-modules.h: Remove file.
9233 * scripts/gen-libc-modules.awk: New script to generate
9235 * sysdeps/unix/Makefile ($(common-objpfx)sysd-syscalls):
9236 Depend on libc-modules.stmp.
9238 * include/shlib-compat.h (_SHLIB_COMPAT): Use IS_IN.
9240 * Makeconfig (in-module): Get value of libof set for the
9242 (CPPFLAGS): Use $(in-module).
9243 * Makerules: Don't suffix routine names for nonlib.
9244 * include/libc-modules.h: New file.
9245 * include/libc-symbols.h: Include libc-modules.h
9246 (IS_IN): New macro to replace IS_IN_* macros.
9247 * elf/Makefile: Set libof-* for each routine.
9248 * elf/rtld-Rules: Likewise.
9249 * extra-modules.mk: Likewise.
9250 * iconv/Makefile: Likewise.
9251 * iconvdata/Makefile: Likewise.
9252 * locale/Makefile: Likewise.
9253 * malloc/Makefile: Likewise.
9254 * nss/Makefile: Likewise.
9255 * sysdeps/gnu/Makefile: Likewise.
9256 * sysdeps/ieee754/ldbl-opt/Makefile: Likewise.
9257 * sysdeps/unix/sysv/linux/Makefile: Likewise.
9258 * sysdeps/s390/s390-64/Makefile: Likewise.
9259 * nscd/Makefile: Set libof-* for each routine. Set CFLAGS and
9260 CPPFLAGS for nscd instead of nonlib.
9262 2014-11-18 Roland McGrath <roland@hack.frob.com>
9264 * nptl/createthread.c: New file.
9266 * nptl/createthread.c: Moved ...
9267 * sysdeps/unix/sysv/linux/createthread.c: ... here.
9269 * nptl/createthread.c: Add proper top-line comment.
9270 (do_clone): Folded into ...
9271 (create_thread): ... here. Take new arguments STOPPED_START and
9272 THREAD_RAN. Always set PD->stopped_start to something here. Don't
9273 increment __nptl_threads, do event-reporting logic, do
9274 CHECK_THREAD_SYSINFO, or set THREAD_SELF->header.multiple_threads
9275 here. Set *THREAD_RAN after ARCH_CLONE call succeeds. Don't do any
9276 resource cleanup if sched_setaffinity or sched_setscheduler fails,
9277 just send SIGCANCEL.
9278 * nptl/pthread_create.c: Forward-declare create_thread before
9279 including createthread.c.
9280 (start_thread): Use new macro START_THREAD_DEFN to replace defining
9281 declaration, and new macro START_THREAD_SELF to replace argument.
9282 Remove return statement.
9283 (report_thread_creation): New function.
9284 (__pthread_create_2_1): Use it. Do TD_CREATE reporting,
9285 synchronization logic, and __nptl_nthreads increment here, around
9286 calling create_thread. Do CHECK_THREAD_SYSINFO and initialize
9287 PD->parent_cancelhandling here, before create_thread. When
9288 create_thread fails, do __nptl_nthreads decrement, setxid_futex wake,
9289 __deallocate_stack, and ENOMEM translation here.
9291 2014-11-18 Joseph Myers <joseph@codesourcery.com>
9294 * sysdeps/ieee754/dbl-64/mpa.c (mpone): Rename to __mpone.
9295 (mptwo): Rename to __mptwo.
9296 (__inv): Use __mptwo instead of mptwo.
9297 * sysdeps/ieee754/dbl-64/mpa.h (mpone): Rename to __mpone.
9298 (mptwo): Rename to __mptwo.
9299 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __mpone instead
9300 of mpone and __mptwo instead of mptwo.
9301 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Use __mpone
9303 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
9304 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Likewise.
9305 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use __mpone instead
9306 of mpone and __mptwo instead of mptwo.
9307 (__mpranred): Use __mpone instead of mpone.
9308 * conform/Makefile (test-xfail-ISO/math.h/linknamespace): Remove
9310 (test-xfail-ISO99/complex.h/linknamespace): Likewise.
9311 (test-xfail-ISO99/math.h/linknamespace): Likewise.
9312 (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
9313 (test-xfail-ISO11/complex.h/linknamespace): Likewise.
9314 (test-xfail-ISO11/math.h/linknamespace): Likewise.
9315 (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
9316 (test-xfail-XPG3/math.h/linknamespace): Likewise.
9317 (test-xfail-XPG4/math.h/linknamespace): Likewise.
9318 (test-xfail-POSIX/math.h/linknamespace): Likewise.
9319 (test-xfail-UNIX98/math.h/linknamespace): Likewise.
9320 (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
9321 (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
9322 (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
9323 (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
9324 (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
9325 (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
9326 (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
9327 (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
9328 (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
9330 2014-11-18 Tom de Vries <tom@codesoucery.com>
9332 * manual/signal.texi (Primitives Interrupted by Signals): In section,
9333 replace BSD Handler xref with BSD Signal Handling.
9335 2014-11-17 Richard Henderson <rth@redhat.com>
9337 * sysdeps/alpha/soft-fp/local-soft-fp.h (_FP_UNPACK_RAW_2): Remove.
9338 (_FP_PACK_RAW_2): Remove.
9339 (AXP_DECL_RETURN_Q): Rename from FP_DECL_RETURN, use _FP_UNION_Q.
9340 (AXP_RETURN_Q): Rename from FP_RETURN, use _FP_UNION_Q.
9341 (AXP_UNPACK_RAW_Q, AXP_UNPACK_SEMIRAW_Q, AXP_UNPACK_Q): New.
9342 (AXP_PACK_RAW_Q, AXP_PACK_SEMIRAW_Q, AXP_PACK_Q): New.
9343 * sysdeps/alpha/soft-fp/ots_add.c (_OtsAddX): Update to match.
9344 * sysdeps/alpha/soft-fp/ots_cmp.c (internal_equality): Likewise.
9345 * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Likewise.
9346 * sysdeps/alpha/soft-fp/ots_cvtqux.c (_OtsCvtQUX): Likewise.
9347 * sysdeps/alpha/soft-fp/ots_cvtqx.c (_OtsCvtQX): Likewise.
9348 * sysdeps/alpha/soft-fp/ots_cvttx.c (_OtsConvertFloatTX): Likewise.
9349 * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Likewise.
9350 * sysdeps/alpha/soft-fp/ots_cvtxt.c (_OtsConvertFloatXT): Likewise.
9351 * sysdeps/alpha/soft-fp/ots_div.c (_OtsDivX): Likewise.
9352 * sysdeps/alpha/soft-fp/ots_mul.c (_OtsMulX): Likewise.
9353 * sysdeps/alpha/soft-fp/ots_nintxq.c (_OtsNintXQ): Likewise.
9354 * sysdeps/alpha/soft-fp/ots_sub.c (_OtsSubX): Likewise.
9356 2014-11-14 Roland McGrath <roland@hack.frob.com>
9358 * signal/signal.h [__USE_MISC]
9359 (struct sigvec): Remove type.
9360 (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): Remove macros.
9361 (sigvec): Remove declaration.
9362 * sysdeps/posix/sigvec.c: Moved ...
9363 * signal/sigvec.c: ... here, replacing old file.
9364 (struct sigvec): New type, copied from old signal.h definition.
9365 (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): New macros, likewise copied.
9366 (__sigvec): Convert definition to prototype.
9367 (sigvec): Replace weak_alias with compat_symbol.
9368 * signal/Versions (libc: GLIBC_2.21): New version set.
9369 * include/signal.h: Remove __sigvec declaration.
9370 * sysdeps/unix/bsd/sigvec.c: Remove file.
9371 * sysdeps/unix/bsd/syscalls.list: Remove sigvec.
9372 * manual/signal.texi (BSD Handler): Remove subsection.
9373 Move siginterrupt up to ...
9374 (BSD Signal Handling): ... here. Mark it as XPG rather than BSD.
9375 (Blocking in BSD): Fold subsection into its parent.
9376 * NEWS: Mention sigvec removal.
9378 2014-11-14 Joseph Myers <joseph@codesourcery.com>
9380 * sysdeps/x86_64/fpu/dla.h [__FMA4__ && __GNUC_PREREQ (4, 6)]
9381 (DLA_FMS): Make definition conditional only on [__FMA4__].
9382 [__FMA4__ && !__GNUC_PREREQ (4, 6)] (DLA_FMS): Remove conditional
9385 * sysdeps/arm/sysdep.h [PROF && __GNUC_PREREQ(4,4)] (CALL_MCOUNT):
9386 Make definition conditional only on [PROF].
9387 [PROF && !__GNUC_PREREQ(4,4)] (CALL_MCOUNT): Remove conditional
9389 [__GNUC_PREREQ(4,4)] (mcount): Make definition unconditional.
9390 [!__GNUC_PREREQ(4,4)] (mcount): Remove conditional definition.
9392 * signal/signal.h (__sigpause): Only declare if [__USE_XOPEN &&
9394 * include/signal.h (__sigpause): Move declaration above call to
9396 * conform/Makefile (test-xfail-ISO/signal.h/linknamespace): Remove
9398 (test-xfail-ISO99/signal.h/linknamespace): Likewise.
9399 (test-xfail-ISO11/signal.h/linknamespace): Likewise.
9401 2014-11-14 David S. Miller <davem@davemloft.net>
9403 * sysdeps/sparc/sparc64/rtld-memcpy.c (NO_MEMPCPY_STPCPY_REDIRECT):
9404 Define before including <string/memcpy.c> and <string/mempcpy.c>.
9406 2014-11-14 Joseph Myers <joseph@codesourcery.com>
9408 * configure.ac (libc_cv_compiler_ok): Require GCC 4.6 or later.
9409 * configure: Regenerated.
9410 * manual/install.texi (Tools for Compilation): Document a
9411 requirement of GCC 4.6 or later and that GCC 4.9 is the newest
9412 compiler verified to work.
9413 * INSTALL: Regenerated.
9415 * include/string.h [NO_MEMPCPY_STPCPY_REDIRECT] (mempcpy): Do not
9416 redeclare with asm name.
9417 [NO_MEMPCPY_STPCPY_REDIRECT] (stpcpy): Likewise.
9418 * string/mempcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Define before
9419 including <string.h>.
9420 * string/stpcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
9421 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c
9422 [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
9423 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c
9424 [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
9425 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
9426 [SHARED && !NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
9428 2014-11-13 Joseph Myers <joseph@codesourcery.com>
9430 * stdlib/strtol.c (__strtol): Use prototype definition.
9433 * stdlib/strtol.c (SYM__): New macro.
9435 (__strtol): Likewise.
9436 (strtol): Rename to __strtol and define as weak alias of
9437 __strtol. Use libc_hidden_weak.
9439 2014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
9441 * sysdeps/s390/s390-32/dl-machine.h (RTLD_START):
9442 Use numbered labels in inline assembly.
9444 2014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
9446 * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp):
9447 Add setjmp LIBC_PROBE.
9448 * sysdeps/s390/s390-64/setjmp.S (__sigsetjmp):
9450 * sysdeps/s390/s390-32/__longjmp.c (__longjmp):
9451 Add longjmp, longjmp_target LIBC_PROBE.
9452 * sysdeps/s390/s390-64/__longjmp.c (__longjmp):
9455 2014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
9457 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
9458 Gate the definition of refsym additionally with !RTLD_BOOTSTRAP
9459 to get rid of unused variable warning.
9461 2014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
9463 * sysdeps/s390/s390-32/backtrace.c (__backtrace):
9464 Check for unwind_backtrace == NULL only in SHARED case.
9465 (__backchain_backtrace): Compile only in SHARED case.
9466 * sysdeps/s390/s390-64/backtrace.c (__backtrace):
9468 (__backchain_backtrace): Declare as static.
9470 2014-11-12 Roland McGrath <roland@hack.frob.com>
9472 * nptl/createthread.c [!TLS_MULTIPLE_THREADS_IN_TCB]
9473 (__libc_multiple_threads_ptr): Variable moved ...
9474 * nptl/nptl-init.c [!TLS_MULTIPLE_THREADS_IN_TCB]: ... here.
9476 2014-11-12 Joseph Myers <joseph@codesourcery.com>
9478 * conform/GlibcConform.pm: New file.
9479 * conform/conformtest.pl: Use GlibcConform module.
9480 * conform/linknamespace.pl: New file.
9481 * conform/list-header-symbols.pl: Likewise.
9482 * conform/Makefile (linknamespace-symlists-base): New variable.
9483 (linknamespace-symlists-tests): Likewise.
9484 (linknamespace-header-base): Likewise.
9485 (linknamespace-header-tests): Likewise.
9486 (tests-special): Add new tests.
9487 ($(linknamespace-symlists-tests)): New rule.
9488 (linknamespace-libs): New variable.
9489 ($(objpfx)symlist-stdlibs): New rule.
9490 ($(linknamespace-header-tests)): Likewise.
9491 (test-xfail-XPG3/varargs.h/linknamespace): New variable.
9492 (test-xfail-XPG4/varargs.h/linknamespace): Likewise.
9493 (test-xfail-UNIX98/varargs.h/linknamespace): Likewise.
9494 (test-xfail-XPG4/ndbm.h/linknamespace): Likewise.
9495 (test-xfail-UNIX98/ndbm.h/linknamespace): Likewise.
9496 (test-xfail-XOPEN2K/ndbm.h/linknamespace): Likewise.
9497 (test-xfail-XOPEN2K8/ndbm.h/linknamespace): Likewise.
9498 (test-xfail-ISO/math.h/linknamespace): Likewise.
9499 (test-xfail-ISO/signal.h/linknamespace): Likewise.
9500 (test-xfail-ISO/stdio.h/linknamespace): Likewise.
9501 (test-xfail-ISO/time.h/linknamespace): Likewise.
9502 (test-xfail-ISO99/complex.h/linknamespace): Likewise.
9503 (test-xfail-ISO99/ctype.h/linknamespace): Likewise.
9504 (test-xfail-ISO99/math.h/linknamespace): Likewise.
9505 (test-xfail-ISO99/signal.h/linknamespace): Likewise.
9506 (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
9507 (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
9508 (test-xfail-ISO11/complex.h/linknamespace): Likewise.
9509 (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
9510 (test-xfail-ISO11/math.h/linknamespace): Likewise.
9511 (test-xfail-ISO11/signal.h/linknamespace): Likewise.
9512 (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
9513 (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
9514 (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
9515 (test-xfail-XPG3/fnmatch.h/linknamespace): Likewise.
9516 (test-xfail-XPG3/glob.h/linknamespace): Likewise.
9517 (test-xfail-XPG3/math.h/linknamespace): Likewise.
9518 (test-xfail-XPG3/regex.h/linknamespace): Likewise.
9519 (test-xfail-XPG3/search.h/linknamespace): Likewise.
9520 (test-xfail-XPG3/stdio.h/linknamespace): Likewise.
9521 (test-xfail-XPG3/time.h/linknamespace): Likewise.
9522 (test-xfail-XPG3/unistd.h/linknamespace): Likewise.
9523 (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
9524 (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
9525 (test-xfail-XPG4/fmtmsg.h/linknamespace): Likewise.
9526 (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
9527 (test-xfail-XPG4/glob.h/linknamespace): Likewise.
9528 (test-xfail-XPG4/grp.h/linknamespace): Likewise.
9529 (test-xfail-XPG4/libgen.h/linknamespace): Likewise.
9530 (test-xfail-XPG4/math.h/linknamespace): Likewise.
9531 (test-xfail-XPG4/netdb.h/linknamespace): Likewise.
9532 (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
9533 (test-xfail-XPG4/regex.h/linknamespace): Likewise.
9534 (test-xfail-XPG4/search.h/linknamespace): Likewise.
9535 (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
9536 (test-xfail-XPG4/stdlib.h/linknamespace): Likewise.
9537 (test-xfail-XPG4/sys/mman.h/linknamespace): Likewise.
9538 (test-xfail-XPG4/sys/statvfs.h/linknamespace): Likewise.
9539 (test-xfail-XPG4/syslog.h/linknamespace): Likewise.
9540 (test-xfail-XPG4/time.h/linknamespace): Likewise.
9541 (test-xfail-XPG4/unistd.h/linknamespace): Likewise.
9542 (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
9543 (test-xfail-POSIX/aio.h/linknamespace): Likewise.
9544 (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
9545 (test-xfail-POSIX/glob.h/linknamespace): Likewise.
9546 (test-xfail-POSIX/math.h/linknamespace): Likewise.
9547 (test-xfail-POSIX/mqueue.h/linknamespace): Likewise.
9548 (test-xfail-POSIX/pthread.h/linknamespace): Likewise.
9549 (test-xfail-POSIX/regex.h/linknamespace): Likewise.
9550 (test-xfail-POSIX/sched.h/linknamespace): Likewise.
9551 (test-xfail-POSIX/semaphore.h/linknamespace): Likewise.
9552 (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
9553 (test-xfail-POSIX/time.h/linknamespace): Likewise.
9554 (test-xfail-POSIX/unistd.h/linknamespace): Likewise.
9555 (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
9556 (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
9557 (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
9558 (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
9559 (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
9560 (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
9561 (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
9562 (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
9563 (test-xfail-UNIX98/math.h/linknamespace): Likewise.
9564 (test-xfail-UNIX98/mqueue.h/linknamespace): Likewise.
9565 (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
9566 (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
9567 (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
9568 (test-xfail-UNIX98/regex.h/linknamespace): Likewise.
9569 (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
9570 (test-xfail-UNIX98/search.h/linknamespace): Likewise.
9571 (test-xfail-UNIX98/semaphore.h/linknamespace): Likewise.
9572 (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
9573 (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
9574 (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
9575 (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
9576 (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
9577 (test-xfail-UNIX98/time.h/linknamespace): Likewise.
9578 (test-xfail-UNIX98/unistd.h/linknamespace): Likewise.
9579 (test-xfail-UNIX98/wchar.h/linknamespace): Likewise.
9580 (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
9581 (test-xfail-XOPEN2K/aio.h/linknamespace): Likewise.
9582 (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
9583 (test-xfail-XOPEN2K/fcntl.h/linknamespace): Likewise.
9584 (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
9585 (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
9586 (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
9587 (test-xfail-XOPEN2K/grp.h/linknamespace): Likewise.
9588 (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
9589 (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
9590 (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
9591 (test-xfail-XOPEN2K/net/if.h/linknamespace): Likewise.
9592 (test-xfail-XOPEN2K/netdb.h/linknamespace): Likewise.
9593 (test-xfail-XOPEN2K/pthread.h/linknamespace): Likewise.
9594 (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
9595 (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
9596 (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
9597 (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
9598 (test-xfail-XOPEN2K/signal.h/linknamespace): Likewise.
9599 (test-xfail-XOPEN2K/spawn.h/linknamespace): Likewise.
9600 (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
9601 (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
9602 (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
9603 (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
9604 (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
9605 (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
9606 (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
9607 (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
9608 (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
9609 (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
9610 (test-xfail-POSIX2008/aio.h/linknamespace): Likewise.
9611 (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
9612 (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
9613 (test-xfail-POSIX2008/dirent.h/linknamespace): Likewise.
9614 (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
9615 (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
9616 (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
9617 (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
9618 (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
9619 (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
9620 (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
9621 (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
9622 (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
9623 (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
9624 (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
9625 (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
9626 (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
9627 (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
9628 (test-xfail-POSIX2008/unistd.h/linknamespace): Likewise.
9629 (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
9630 (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
9631 (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
9632 (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
9633 (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
9634 (test-xfail-XOPEN2K8/grp.h/linknamespace): Likewise.
9635 (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
9636 (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
9637 (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
9638 (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
9639 (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
9640 (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
9641 (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
9642 (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
9643 (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
9644 (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
9645 (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
9646 (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
9647 (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
9648 (test-xfail-XOPEN2K8/syslog.h/linknamespace): Likewise.
9649 (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
9650 (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
9651 (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
9654 * intl/localealias.c [_LIBC] (FGETS): Use __fgets_unlocked instead
9658 * string/memmem.c [!_LIBC] (__memmem): Define to memmem.
9659 (memmem): Rename to __memmem and define as weak alias of
9660 __memmem. Use libc_hidden_weak.
9661 (__memmem): Use libc_hidden_def.
9662 * include/string.h (__memmem): Declare. Use libc_hidden_proto.
9663 * locale/findlocale.c (valid_locale_name): Use __memmem instead of
9667 * libio/iofgets.c [weak_alias && !_IO_MTSAFE_IO]
9668 (__fgets_unlocked): Add alias of _IO_fgets. Use libc_hidden_def.
9669 * libio/iofgets_u.c (fgets_unlocked): Rename to __fgets_unlocked
9670 and define as weak alias of __fgets_unlocked. Use
9672 (__fgets_unlocked): Use libc_hidden_def.
9673 * include/stdio.h (__fgets_unlocked): Declare. Use
9675 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Use
9676 __fgets_unlocked instead of fgets_unlocked.
9677 * sysdeps/unix/sysv/linux/alpha/getsysstats.c
9678 (GET_NPROCS_CONF_PARSER): Likewise.
9679 * sysdeps/unix/sysv/linux/sparc/getsysstats.c
9680 (GET_NPROCS_CONF_PARSER): Likewise.
9683 * wcsmbs/wmemset.c (wmemset): Rename to __wmemset and define as
9684 weak alias of __wmemset. Use libc_hidden_weak.
9685 (__wmemset): Use libc_hidden_def.
9686 * include/wchar.h (__wmemset): Declare. Use libc_hidden_proto.
9687 * stdio-common/printf_fp.c (___printf_fp): Call __wmemset instead
9691 * include/string.h [NOT_IN_libc || !SHARED] (mempcpy): Declare
9692 with asm name __mempcpy.
9693 [NOT_IN_libc || !SHARED] (stpcpy): Declare with asm name __stpcpy.
9696 * sysdeps/x86_64/rawmemchr.S (rawmemchr): Rename to __rawmemchr
9697 and define as weak alias of __rawmemchr.
9698 (__rawmemchr): Do not define as strong alias of rawmemchr.
9701 * stdlib/msort.c (qsort_r): Rename to __qsort_r and define as weak
9703 (qsort): Call __qsort_r instead of qsort_r.
9704 * include/stdlib.h (qsort_r): Do not call libc_hidden_proto.
9705 (__qsort_r): Declare. Call libc_hidden_proto.
9706 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Call __qsort_r
9708 * nscd/gai.c (__qsort_r): Define to qsort_r.
9709 * posix/tst-rfc3484.c (__qsort_r): Likewise.
9710 * posix/tst-rfc3484-2.c (__qsort_r): Likewise.
9711 * posix/tst-rfc3484-3.c (__qsort_r): Likewise.
9714 * malloc/malloc.c (malloc_info): Rename to __malloc_info and
9715 define as weak alias of __malloc_info.
9718 * dirent/rewinddir.c (rewinddir): Rename to __rewinddir and define
9719 as weak alias of __rewinddir. Don't use libc_hidden_def.
9720 (__rewinddir): Use libc_hidden_def.
9721 * sysdeps/mach/hurd/rewinddir.c: Rename to __rewinddir and define
9722 as weak alias of __rewinddir. Don't use libc_hidden_def.
9723 (__rewinddir): Use libc_hidden_def.
9724 * sysdeps/posix/rewinddir.c: Rename to __rewinddir and define as
9725 weak alias of __rewinddir. Don't use libc_hidden_def.
9726 (__rewinddir): Use libc_hidden_def.
9727 * include/dirent.h (rewinddir): Don't use libc_hidden_proto.
9728 (__rewinddir): Use libc_hidden_proto.
9729 * sysdeps/posix/getcwd.c [!_LIBC] (__rewinddir): Define to
9731 (__getcwd): Use __rewinddir instead of rewinddir.
9734 * libio/fileno.c (fileno): Rename to __fileno and define as weak
9735 alias of __fileno. Use libc_hidden_weak.
9736 (__fileno): Use libc_hidden_def.
9737 [weak_alias] (fileno_unlocked): Define as weak alias of __fileno.
9738 * libio/ftello.c (ftello): Rename to __ftello and define as weak
9740 [__OFF_T_MATCHES_OFF64_T] (ftello64): Define as weak alias of
9742 * libio/iofread.c [weak_alias && !_IO_MTSAFE_IO]
9743 (__fread_unlocked): Define as strong alias of _IO_fread. Use
9745 (fread_unlocked): Don't use libc_hidden_ver.
9746 * libio/iofread_u.c (fread_unlocked): Rename to __fread_unlocked
9747 and define as weak alias of __fread_unlocked. Don't use
9749 (__fread_unlocked): Use libc_hidden_def.
9750 * include/stdio.h (__fileno): Declare. Use libc_hidden_proto.
9751 (ftello): Don't use libc_hidden_proto.
9752 (__ftello): Declare. Use libc_hidden_proto.
9753 (fread_unlocked): Don't use libc_hidden_proto.
9754 (__fread_unlocked): Declare. Use libc_hidden_proto.
9755 * time/tzfile.c (__tzfile_read): Use __fileno, __fread_unlocked
9756 and __ftello instead of fileno, fread_unlocked and ftello.
9758 2012-11-12 Siddhesh Poyarekar <siddhesh@redhat.com>
9760 * sysdeps/s390/s390-32/bcopy.S (__bcopy): Use GOT instead of
9762 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
9764 (_dl_start_user): Likewise.
9765 * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp): Likewise.
9767 2014-11-12 Carlos O'Donell <carlos@redhat.com>
9768 Siddhesh Poyarekar <siddhesh@redhat.com>
9770 * sysdeps/s390/s390-32/dl-machine.h (_dl_start_user):
9771 Move argv and envp down instead of moving argc up.
9772 * sysdeps/s390/s390-32/dl-sysdep.h: New file.
9774 2014-11-12 Leonhard Holz <leonhard.holz@web.de>
9777 * test-skeleton.c (main): Return successful if one of
9778 EXPECTED_SIGNAL or EXPECTED_STATUS is met when both given.
9779 * string/tst-strcoll-overflow.c: Define expected status.
9781 2014-11-12 Tatiana Udalova <t.udalova@samsung.com>
9784 * locale/iso-639.def: Define Bhili and Tulu language codes.
9786 2014-11-11 Alan Hayward <alan.hayward@arm.com>
9788 * sysdeps/unix/sysv/linux/aarch64/bits/ipc.h: New file.
9790 2014-11-10 Renlin Li <Renlin.Li@arm.com>
9793 * sysdeps/aarch64/start.S (_start): Delete x29 overwritten assignment.
9795 2014-11-10 Andrew Senkevich <andrew.n.senkevich@gmail.com>
9797 * configure.ac: Updated check of minimal required version to
9799 * manual/install.texi (Tools for Compilation): Updated version
9801 * configure: Regenerated.
9802 * INSTALL: Likewise.
9804 2014-11-07 Andreas Schwab <schwab@linux-m68k.org>
9806 * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Remove
9809 2014-11-07 Joseph Myers <joseph@codesourcery.com>
9811 * include/sys/wait.h (__libc_waitpid): Remove declaration.
9812 * posix/waitpid.c (__libc_waitpid): Rename to __waitpid.
9813 (__waitpid): Don't define as alias. Use libc_hidden_def not
9815 (waitpid): Define as alias of __waitpid.
9816 * sysdeps/unix/bsd/waitpid.c (__libc_waitpid): Rename to
9818 (__waitpid): Don't define as alias. Use libc_hidden_def not
9820 (waitpid): Define as alias of __waitpid.
9821 * sysdeps/unix/sysv/linux/i386/syscalls.list (waitpid): Remove
9822 __libc_waitpid alias.
9823 * sysdeps/unix/sysv/linux/m68k/syscalls.list (waitpid): Likewise.
9824 * sysdeps/unix/sysv/linux/powerpc/syscalls.list (waitpid):
9826 * sysdeps/unix/sysv/linux/sh/syscalls.list (waitpid): Likewise.
9827 * sysdeps/unix/sysv/linux/sparc/syscalls.list (waitpid): Likewise.
9828 * sysdeps/unix/sysv/linux/tile/waitpid.S (__libc_waitpid): Remove
9830 * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Rename to
9832 (__waitpid): Don't define as alias. Use libc_hidden_def not
9834 (waitpid): Define as alias of __waitpid.
9836 2014-11-06 Carlos O'Donell <carlos@redhat.com>
9838 * manual/llio.texi: Add comment that write safety has been
9841 * elf/Makefile (all-built-dso): Add $(common-objpfx)elf/ld.so.
9842 (localplt-build-dso): Add elf/ld.so.
9843 * sysdeps/unix/sysv/linux/i386/localplt.data: Add ___tls_get_addr
9844 i.e. 3 underscore version, __libc_memalign, malloc, calloc, realloc,
9846 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: Add
9847 __libc_memalign, malloc, calloc, realloc, and free for ld.so.
9848 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data:
9850 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
9852 * sysdeps/unix/sysv/linux/s390/localplt.data: Likewise.
9853 * sysdeps/generic/localplt.data: Add __tls_get_addr i.e. 2 underscore
9854 version, __libc_memalign, malloc, calloc, realloc and free for ld.so.
9855 * sysdeps/unix/sysv/linux/aarch64/localplt.data: Likewise.
9856 * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
9857 * sysdeps/unix/sysv/linux/alpha/localplt.data: Likewise.
9858 * sysdeps/unix/sysv/linux/ia64/localplt.data: Likewise.
9859 * sysdeps/unix/sysv/linux/m68k/localplt.data: Likewise.
9860 * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
9861 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Likewise.
9862 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
9864 2014-11-05 Joseph Myers <joseph@codesourcery.com>
9867 * include/libc-symbols.h (INTUSE): Remove macro.
9869 (INTVARDEF): Likewise.
9870 (_INTVARDEF): Likewise.
9871 (INTDEF2): Likewise.
9872 (INTVARDEF2): Likewise.
9873 * elf/rtld.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Use
9874 rtld_hidden_def instead of INTVARDEF.
9875 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]
9876 (_dl_starting_up_internal): Remove declaration.
9877 (_dl_starting_up): Use rtld_hidden_proto.
9878 * elf/dl-init.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Remove
9880 [!HAVE_INLINED_SYSCALLS] (_dl_starting_up_internal): Likewise.
9881 (_dl_init) [!HAVE_INLINED_SYSCALLS]: Don't use INTUSE with
9883 * elf/dl-writev.h (_dl_writev): Likewise.
9884 * sysdeps/powerpc/powerpc64/dl-machine.h [!HAVE_INLINED_SYSCALLS]
9885 (DL_STARTING_UP_DEF): Use __GI__dl_starting_up instead of
9886 _dl_starting_up_internal.
9888 2014-11-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9890 * stdio-common/tst-fmemopen.c (do_test): Refactor to use
9893 2014-11-05 Will Newton <will.newton@linaro.org>
9895 * benchtests/Makefile: (bench-malloc): Add malloc thread
9896 scalability benchmark.
9897 * benchtests/bench-malloc-threads.c: New file.
9899 2014-11-05 Richard Earnshaw <rearnsha@arm.com>
9901 * sysdeps/aarch64/strchrnul.S: New file.
9903 2014-11-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9905 * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Simplify
9907 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
9909 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
9911 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
9913 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
9915 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
9918 2014-11-05 Arjun Shankar <arjun.is@lostca.se>
9920 * catgets/test-gencat.c: Use test-skeleton.c.
9921 * catgets/tst-catgets.c: Likewise.
9922 * csu/tst-empty.c: Likewise.
9923 * elf/tst-audit2.c: Likewise.
9924 * elf/tst-global1.c: Likewise.
9925 * elf/tst-pathopt.c: Likewise.
9926 * elf/tst-piemod1.c: Likewise.
9927 * elf/tst-tls10.c: Likewise.
9928 * elf/tst-tls11.c: Likewise.
9929 * elf/tst-tls12.c: Likewise.
9930 * gnulib/tst-gcc.c: Likewise.
9931 * iconvdata/tst-e2big.c: Likewise.
9932 * iconvdata/tst-loading.c: Likewise.
9933 * iconv/tst-iconv1.c: Likewise.
9934 * iconv/tst-iconv2.c: Likewise.
9935 * inet/test-inet6_opt.c: Likewise.
9936 * inet/tst-gethnm.c: Likewise.
9937 * inet/tst-network.c: Likewise.
9938 * inet/tst-ntoa.c: Likewise.
9939 * intl/tst-codeset.c: Likewise.
9940 * intl/tst-gettext2.c: Likewise.
9941 * intl/tst-gettext3.c: Likewise.
9942 * intl/tst-ngettext.c: Likewise.
9943 * intl/tst-translit.c: Likewise.
9944 * io/test-stat.c: Likewise.
9945 * libio/test-fmemopen.c: Likewise.
9946 * libio/tst-freopen.c: Likewise.
9947 * libio/tst-sscanf.c: Likewise.
9948 * libio/tst-ungetwc1.c: Likewise.
9949 * libio/tst-ungetwc2.c: Likewise.
9950 * libio/tst-widetext.c: Likewise.
9951 * localedata/tst-ctype.c: Likewise.
9952 * localedata/tst-digits.c: Likewise.
9953 * localedata/tst-leaks.c: Likewise.
9954 * localedata/tst-mbswcs1.c: Likewise.
9955 * localedata/tst-mbswcs2.c: Likewise.
9956 * localedata/tst-mbswcs3.c: Likewise.
9957 * localedata/tst-mbswcs4.c: Likewise.
9958 * localedata/tst-mbswcs5.c: Likewise.
9959 * localedata/tst-setlocale.c: Likewise.
9960 * localedata/tst-trans.c: Likewise.
9961 * localedata/tst-wctype.c: Likewise.
9962 * localedata/tst-xlocale1.c: Likewise.
9963 * login/tst-grantpt.c: Likewise.
9964 * malloc/tst-calloc.c: Likewise.
9965 * malloc/tst-malloc.c: Likewise.
9966 * malloc/tst-mallocstate.c: Likewise.
9967 * malloc/tst-mcheck.c: Likewise.
9968 * malloc/tst-mtrace.c: Likewise.
9969 * malloc/tst-obstack.c: Likewise.
9970 * math/atest-exp2.c: Likewise.
9971 * math/atest-exp.c: Likewise.
9972 * math/atest-sincos.c: Likewise.
9973 * math/test-matherr.c: Likewise.
9974 * math/test-misc.c: Likewise.
9975 * math/test-powl.c: Likewise.
9976 * math/tst-definitions.c: Likewise.
9977 * misc/tst-dirname.c: Likewise.
9978 * misc/tst-efgcvt.c: Likewise.
9979 * misc/tst-fdset.c: Likewise.
9980 * misc/tst-hsearch.c: Likewise.
9981 * misc/tst-mntent2.c: Likewise.
9982 * nptl/tst-sem7.c: Likewise.
9983 * nptl/tst-sem8.c: Likewise.
9984 * nptl/tst-sem9.c: Likewise.
9985 * nss/test-netdb.c: Likewise.
9986 * posix/tst-fnmatch.c: Likewise.
9987 * posix/tst-getlogin.c: Likewise.
9988 * posix/tst-gnuglob.c: Likewise.
9989 * posix/tst-mmap.c: Likewise.
9990 * pwd/tst-getpw.c: Likewise.
9991 * resolv/tst-inet_ntop.c: Likewise.
9992 * rt/tst-timer.c: Likewise.
9993 * stdio-common/test-fseek.c: Likewise.
9994 * stdio-common/test-popen.c: Likewise.
9995 * stdio-common/test-vfprintf.c: Likewise.
9996 * stdio-common/tst-cookie.c: Likewise.
9997 * stdio-common/tst-fileno.c: Likewise.
9998 * stdio-common/tst-gets.c: Likewise.
9999 * stdio-common/tst-obprintf.c: Likewise.
10000 * stdio-common/tst-perror.c: Likewise.
10001 * stdio-common/tst-sprintf2.c: Likewise.
10002 * stdio-common/tst-sprintf3.c: Likewise.
10003 * stdio-common/tst-sprintf.c: Likewise.
10004 * stdio-common/tst-swprintf.c: Likewise.
10005 * stdio-common/tst-tmpnam.c: Likewise.
10006 * stdio-common/tst-unbputc.c: Likewise.
10007 * stdio-common/tst-wc-printf.c: Likewise.
10008 * stdlib/tst-environ.c: Likewise.
10009 * stdlib/tst-fmtmsg.c: Likewise.
10010 * stdlib/tst-limits.c: Likewise.
10011 * stdlib/tst-rand48-2.c: Likewise.
10012 * stdlib/tst-rand48.c: Likewise.
10013 * stdlib/tst-random2.c: Likewise.
10014 * stdlib/tst-random.c: Likewise.
10015 * stdlib/tst-strtol.c: Likewise.
10016 * stdlib/tst-strtoll.c: Likewise.
10017 * stdlib/tst-tls-atexit.c: Likewise.
10018 * stdlib/tst-xpg-basename.c: Likewise.
10019 * string/test-ffs.c: Likewise.
10020 * string/tst-bswap.c: Likewise.
10021 * string/tst-inlcall.c: Likewise.
10022 * string/tst-strtok.c: Likewise.
10023 * string/tst-strxfrm.c: Likewise.
10024 * sysdeps/x86_64/tst-audit10.c: Likewise.
10025 * sysdeps/x86_64/tst-audit3.c: Likewise.
10026 * sysdeps/x86_64/tst-audit4.c: Likewise.
10027 * sysdeps/x86_64/tst-audit5.c: Likewise.
10028 * time/tst-ftime_l.c: Likewise.
10029 * time/tst-getdate.c: Likewise.
10030 * time/tst-mktime3.c: Likewise.
10031 * time/tst-mktime.c: Likewise.
10032 * time/tst-posixtz.c: Likewise.
10033 * time/tst-strptime2.c: Likewise.
10034 * time/tst-strptime3.c: Likewise.
10035 * wcsmbs/tst-btowc.c: Likewise.
10036 * wcsmbs/tst-mbrtowc.c: Likewise.
10037 * wcsmbs/tst-mbsrtowcs.c: Likewise.
10038 * wcsmbs/tst-wchar-h.c: Likewise.
10039 * wcsmbs/tst-wcpncpy.c: Likewise.
10040 * wcsmbs/tst-wcrtomb.c: Likewise.
10041 * wcsmbs/tst-wcsnlen.c: Likewise.
10042 * wcsmbs/tst-wcstof.c: Likewise.
10044 2014-11-04 Joseph Myers <joseph@codesourcery.com>
10047 * elf/dl-profile.c (_dl_mcount): Use rtld_hidden_def instead of
10049 * sysdeps/generic/ldsodefs.h (_dl_mcount_internal): Remove
10051 (_dl_mcount): Use rtld_hidden_proto.
10052 * elf/dl-runtime.c (_dl_profile_fixup): Don't use INTUSE with
10054 * elf/rtld.c (_rtld_global_ro): Likewise.
10057 * elf/dl-init.c (_dl_init): Don't use INTDEF.
10058 * sysdeps/aarch64/dl-machine.h (RTLD_START): Use _dl_init instead
10059 of _dl_init_internal.
10060 * sysdeps/alpha/dl-machine.h (RTLD_START): Likewise.
10061 * sysdeps/arm/dl-machine.h (RTLD_START): Likewise.
10062 * sysdeps/hppa/dl-machine.h (RTLD_START): Likewise.
10063 * sysdeps/i386/dl-machine.h (RTLD_START): Likewise.
10064 * sysdeps/ia64/dl-machine.h (RTLD_START): Likewise.
10065 * sysdeps/m68k/dl-machine.h (RTLD_START): Likewise.
10066 * sysdeps/microblaze/dl-machine.h (RTLD_START): Likewise.
10067 * sysdeps/mips/dl-machine.h (RTLD_START): Likewise.
10068 * sysdeps/powerpc/powerpc32/dl-start.S (_start): Likewise.
10069 * sysdeps/s390/s390-32/dl-machine.h (RTLD_START): Likewise.
10070 * sysdeps/s390/s390-64/dl-machine.h (RTLD_START): Likewise.
10071 * sysdeps/sh/dl-machine.h (RTLD_START): Likewise.
10072 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
10073 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
10074 * sysdeps/tile/dl-start.S (_start): Likewise.
10075 * sysdeps/x86_64/dl-machine.h (RTLD_START): Likewise.
10076 * sysdeps/x86_64/x32/dl-machine.h (RTLD_START): Likewise.
10079 * sysdeps/generic/ldsodefs.h (_dl_argv): Use rtld_hidden_proto.
10080 [IS_IN_rtld] (_dl_argv_internal): Do not declare.
10081 (rtld_progname): Make macro definition unconditional.
10082 * elf/rtld.c (_dl_argv): Use rtld_hidden_data_def instead of
10084 (dlmopen_doit): Do not use INTUSE with _dl_argv.
10085 (dl_main): Likewise.
10086 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
10087 * sysdeps/alpha/dl-machine.h (RTLD_START): Use __GI__dl_argv
10088 instead of _dl_argv_internal.
10089 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
10090 __GI__dl_argv instead of INTUSE(_dl_argv).
10091 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Use
10092 __GI__dl_argv instead of _dl_argv_internal.
10094 * soft-fp/op-common.h (_FP_TO_INT_ROUND): New macro.
10095 * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_D): New
10097 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_D): Likewise.
10098 * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_E):
10100 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_E): Likewise.
10101 * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_Q): New
10103 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_Q): Likewise.
10104 * soft-fp/single.h (FP_TO_INT_ROUND_S): New macro.
10106 2014-11-04 Andreas Schwab <schwab@suse.de>
10108 * posix/regex_internal.h: Don't include <locale/elem-hash.h>.
10110 2014-11-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10112 * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Encode
10113 mtvsrd instruction in binary form.
10115 2014-11-03 Andreas Schwab <schwab@suse.de>
10118 * libio/wfileops.c (_IO_wdo_write): If the file buffer has room
10119 for less than MB_LEN_MAX use a local buffer of that size.
10120 * libio/tst-fputws.c: New file.
10121 * libio/Makefile (tests): Add tst-fputws.
10123 2014-11-01 Jose E. Marchesi <jose.marchesi@oracle.com>
10125 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu): fix
10126 the size of the fpu_fr.fpu_dregs[] array.
10128 2014-11-01 Joseph Myers <joseph@codesourcery.com>
10130 * posix/nanosleep.c (__libc_nanosleep): Rename to __nanosleep.
10131 (__nanosleep): Do not define as alias.
10132 (nanosleep): Define as alias of __nanosleep.
10133 * sysdeps/unix/sysv/linux/syscalls.list (nanosleep): Remove
10134 __libc_nanosleep name.
10136 2014-10-31 Joseph Myers <joseph@codesourcery.com>
10138 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): Mention need to update
10139 install.texi in comment.
10141 2014-10-31 Torvald Riegel <triegel@redhat.com>
10143 * sysdeps/powerpc/bits/atomic.h (atomic_write_barrier): Remove and...
10144 * sysdeps/powerpc/powerpc32/bits/atomic.h (atomic_write_barrier):
10145 ... add here and use lwsync or sync ...
10146 * sysdeps/powerpc/powerpc64/bits/atomic.h (atomic_write_barrier):
10147 ... and add here using lwsync.
10149 2014-10-31 Matthew Fortune <matthew.fortune@imgtec.com>
10151 * elf/dl-machine-reject-phdr.h: New file.
10152 * elf/dl-load.c: #include that.
10153 (open_verify): Call elf_machine_reject_phdr_p and ignore the file
10154 if that returned true.
10156 2014-10-31 Roland McGrath <roland@hack.frob.com>
10159 * Makerules: Move gnu/lib-names.h generation chunk up, to right after
10160 gen-as-const-headers chunk. Add a big scare comment after the last
10161 safe place to touch before-compile.
10163 2014-10-31 Joseph Myers <joseph@codesourcery.com>
10165 * manual/install.texi (Tools for Compilation): Update autoconf
10166 version requirements.
10167 * INSTALL: Regenerated.
10169 * misc/pselect.c [!__pselect] (__libc_pselect): Remove alias.
10170 * sysdeps/unix/sysv/linux/pselect.c [__NR_pselect6]
10171 (__libc_pselect): Likewise.
10174 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Remove file.
10175 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
10176 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
10177 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
10179 2014-10-31 Torvald Riegel <triegel@redhat.com>
10181 * sysdeps/sparc/sparc32/bits/atomic.h (atomic_write_barrier): Use
10182 correct barrier instruction.
10183 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_write_barrier):
10185 * sysdeps/sparc/sparc64/bits/atomic.h (atomic_write_barrier):
10188 2014-10-30 Roland McGrath <roland@hack.frob.com>
10190 * include/ctype.h: Include <ctype/ctype.h> first thing rather than
10191 after defining inlines. Instead, just use parens to defeat macro
10192 expansion of __isctype in its declaration.
10194 2014-10-30 Joseph Myers <joseph@codesourcery.com>
10196 * include/sys/uio.h (__libc_readv): Remove declaration.
10197 (__libc_writev): Likewise.
10198 * misc/readv.c (__libc_readv): Rename to __readv.
10199 (__readv): Do not define as alias.
10200 (readv): Define as alias of __readv.
10201 * misc/writev.c (__libc_writev): Rename to __writev.
10202 (__writev): Do not define as alias.
10203 (writev): Define as alias of __writev.
10204 * sysdeps/posix/readv.c (__libc_readv): Rename to __readv.
10205 (__readv): Do not define as alias.
10206 (readv): Define unconditionally as alias of __readv.
10207 * sysdeps/posix/writev.c (__libc_writev): Rename to __writev.
10208 (__writev): Do not define as alias.
10209 (writev): Define unconditionally as alias of __writev.
10210 * sysdeps/unix/syscalls.list (readv): Do not define __libc_readv
10212 (writev): Do not define __libc_writev name.
10214 2014-10-30 Roland McGrath <roland@hack.frob.com>
10216 * iconv/iconv_charmap.c (add_bytes): Make IN argument pointer to const.
10217 (convert_charseq): New function, broken out of ...
10218 (use_from_charmap): ... here. Call it.
10219 (use_to_charmap): Use convert_charseq and free instead of duplicating
10220 its code with a variable-length stack struct.
10222 2014-10-30 Joseph Myers <joseph@codesourcery.com>
10224 * include/fcntl.h (__libc_creat): Remove declaration.
10225 * io/creat.c (__libc_creat): Rename to creat.
10226 (creat): Do not define as alias.
10227 * sysdeps/unix/sysv/linux/alpha/creat.c (creat64): Define as alias
10228 of creat instead of __libc_creat.
10229 * sysdeps/unix/sysv/linux/generic/creat.c (__libc_creat): Rename
10231 (creat): Do not define as alias.
10232 [__WORDSIZE == 64] (creat64): Define as alias of creat instead of
10234 * sysdeps/unix/sysv/linux/syscalls.list (creat): Do not define
10236 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (creat):
10239 2014-10-29 Carlos O'Donell <carlos@redhat.com>
10241 * manual/llio.texi: Add comments discussing why write() may be
10242 considered MT-unsafe on Linux.
10244 2014-10-28 Carlos O'Donell <carlos@redhat.com>
10246 * dl-load.c (local_strdup): Remove.
10247 (expand_dynamic_string_token): Use __strdup.
10248 (decompose_rpath): Likewise.
10249 (_dl_map_object): Likewise.
10251 2014-10-28 Joseph Myers <joseph@codesourcery.com>
10254 * sysdeps/generic/unwind-dw2-fde.c
10255 (__register_frame_info_bases_internal): Do not declare.
10256 (__register_frame_info_table_bases_internal): Likewise.
10257 (__deregister_frame_info_bases_internal): Likewise.
10258 (__register_frame_info_bases): Declare and use hidden_proto before
10259 definition. Use hidden_def instead of INTDEF.
10260 (__register_frame_info_table_bases): Likewise.
10261 (__deregister_frame_info_bases): Likewise.
10262 (__register_frame_info): Do not use INTUSE.
10263 (__register_frame): Likewise.
10264 (__register_frame_info_table): Likewise.
10265 (__register_frame_table): Likewise.
10266 (__deregister_frame_info): Likewise.
10267 (__deregister_frame): Likewise.
10269 2014-10-27 Gratian Crisan <gratian.crisan@ni.com>
10271 * sysdeps/unix/sysv/linux/arm/kernel-features.h
10272 [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_FUTEX_LOCK_PI): Do
10274 [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_REQUEUE_PI):
10276 [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_SET_ROBUST_LIST):
10279 2014-10-27 Joseph Myers <joseph@codesourcery.com>
10282 * sysdeps/unix/sysv/linux/arm/setfsgid.c: Remove file.
10283 * sysdeps/unix/sysv/linux/arm/setfsuid.c: Likewise.
10284 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Likewise.
10285 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Likewise.
10286 * sysdeps/unix/sysv/linux/m68k/setfsgid.c: Likewise.
10287 * sysdeps/unix/sysv/linux/m68k/setfsuid.c: Likewise.
10288 * sysdeps/unix/sysv/linux/s390/s390-32/setfsgid.c: Likewise.
10289 * sysdeps/unix/sysv/linux/s390/s390-32/setfsuid.c: Likewise.
10290 * sysdeps/unix/sysv/linux/sh/setfsgid.c: Likewise.
10291 * sysdeps/unix/sysv/linux/sh/setfsuid.c: Likewise.
10292 * sysdeps/unix/sysv/linux/sparc/sparc32/setfsgid.c: Likewise.
10293 * sysdeps/unix/sysv/linux/sparc/sparc32/setfsuid.c: Likewise.
10294 * sysdeps/unix/sysv/linux/arm/syscalls.list (setfsgid): Add
10296 (setfsuid): Likewise.
10297 * sysdeps/unix/sysv/linux/i386/syscalls.list (setfsgid): Likewise.
10298 (setfsuid): Likewise.
10299 * sysdeps/unix/sysv/linux/m68k/syscalls.list (setfsgid): Likewise.
10300 (setfsuid): Likewise.
10301 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setfsgid):
10303 (setfsuid): Likewise.
10304 * sysdeps/unix/sysv/linux/sh/syscalls.list (setfsgid): Likewise.
10305 (setfsuid): Likewise.
10306 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (setfsgid):
10308 (setfsuid): Likewise.
10310 2014-10-27 Andreas Schwab <schwab@suse.de>
10313 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Fix
10314 check for Slow_SSE4_2 feature bit.
10315 * sysdeps/i386/i686/multiarch/strcmp.S (STRCMP): Likewise.
10316 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
10317 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP, __strcascmp):
10318 Likewise. Fix check for Fast_Unaligned_Load feature bit.
10320 2014-10-24 Roland McGrath <roland@hack.frob.com>
10322 * configure.ac: Validate compiler version with a empirical test of
10323 __GNUC__ and __GNUC_MINOR__ predefined values, rather than by grepping
10325 * configure: Regenerated.
10327 * inet/htons.c (htons): Prototypify.
10328 * inet/htonl.c (htonl): Likewise.
10330 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
10332 * string/strncat.c (strncat): Improve performance by using strlen.
10334 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
10336 * string/strcat.c (strcat): Improve performance by using strlen/strcpy.
10338 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
10340 * sysdeps/aarch64/fpu/fgetexcptflg.c (fegetexceptflag):
10341 Call libc_fetestexcept_aarch64.
10343 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
10345 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept):
10346 Call libc_feholdexcept_aarch64.
10348 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
10350 * sysdeps/aarch64/fpu/fegetround.c (fegetround):
10351 Call get_rounding_mode.
10353 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
10355 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
10358 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
10360 * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept):
10363 2014-10-24 Joseph Myers <joseph@codesourcery.com>
10366 * sysdeps/unix/sysv/linux/arm/getegid.c: Remove file.
10367 * sysdeps/unix/sysv/linux/arm/geteuid.c: Likewise.
10368 * sysdeps/unix/sysv/linux/arm/getgid.c: Likewise.
10369 * sysdeps/unix/sysv/linux/arm/getgroups.c: Likewise.
10370 * sysdeps/unix/sysv/linux/arm/getresgid.c: Likewise.
10371 * sysdeps/unix/sysv/linux/arm/getresuid.c: Likewise.
10372 * sysdeps/unix/sysv/linux/arm/getuid.c: Likewise.
10373 * sysdeps/unix/sysv/linux/i386/getegid.c: Likewise.
10374 * sysdeps/unix/sysv/linux/i386/geteuid.c: Likewise.
10375 * sysdeps/unix/sysv/linux/i386/getgid.c: Likewise.
10376 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
10377 * sysdeps/unix/sysv/linux/i386/getresgid.c: Likewise.
10378 * sysdeps/unix/sysv/linux/i386/getresuid.c: Likewise.
10379 * sysdeps/unix/sysv/linux/i386/getuid.c: Likewise.
10380 * sysdeps/unix/sysv/linux/m68k/getegid.c: Likewise.
10381 * sysdeps/unix/sysv/linux/m68k/geteuid.c: Likewise.
10382 * sysdeps/unix/sysv/linux/m68k/getgid.c: Likewise.
10383 * sysdeps/unix/sysv/linux/m68k/getgroups.c: Likewise.
10384 * sysdeps/unix/sysv/linux/m68k/getresgid.c: Likewise.
10385 * sysdeps/unix/sysv/linux/m68k/getresuid.c: Likewise.
10386 * sysdeps/unix/sysv/linux/m68k/getuid.c: Likewise.
10387 * sysdeps/unix/sysv/linux/s390/s390-32/getegid.c: Likewise.
10388 * sysdeps/unix/sysv/linux/s390/s390-32/geteuid.c: Likewise.
10389 * sysdeps/unix/sysv/linux/s390/s390-32/getgid.c: Likewise.
10390 * sysdeps/unix/sysv/linux/s390/s390-32/getgroups.c: Likewise.
10391 * sysdeps/unix/sysv/linux/s390/s390-32/getresgid.c: Likewise.
10392 * sysdeps/unix/sysv/linux/s390/s390-32/getresuid.c: Likewise.
10393 * sysdeps/unix/sysv/linux/s390/s390-32/getuid.c: Likewise.
10394 * sysdeps/unix/sysv/linux/sh/getegid.c: Likewise.
10395 * sysdeps/unix/sysv/linux/sh/geteuid.c: Likewise.
10396 * sysdeps/unix/sysv/linux/sh/getgid.c: Likewise.
10397 * sysdeps/unix/sysv/linux/sh/getgroups.c: Likewise.
10398 * sysdeps/unix/sysv/linux/sh/getresgid.c: Likewise.
10399 * sysdeps/unix/sysv/linux/sh/getresuid.c: Likewise.
10400 * sysdeps/unix/sysv/linux/sh/getuid.c: Likewise.
10401 * sysdeps/unix/sysv/linux/sparc/sparc32/getegid.c: Likewise.
10402 * sysdeps/unix/sysv/linux/sparc/sparc32/geteuid.c: Likewise.
10403 * sysdeps/unix/sysv/linux/sparc/sparc32/getgid.c: Likewise.
10404 * sysdeps/unix/sysv/linux/sparc/sparc32/getgroups.c: Likewise.
10405 * sysdeps/unix/sysv/linux/sparc/sparc32/getuid.c: Likewise.
10406 * sysdeps/unix/sysv/linux/arm/syscalls.list (getegid): Add
10408 (geteuid): Likewise.
10409 (getgid): Likewise.
10410 (getuid): Likewise.
10411 (getresgid): Likewise.
10412 (getresuid): Likewise.
10413 (getgroups): Likewise.
10414 * sysdeps/unix/sysv/linux/i386/syscalls.list (getegid): Likewise.
10415 (geteuid): Likewise.
10416 (getgid): Likewise.
10417 (getuid): Likewise.
10418 (getresgid): Likewise.
10419 (getresuid): Likewise.
10420 (getgroups): Likewise.
10421 * sysdeps/unix/sysv/linux/m68k/syscalls.list (getegid): Likewise.
10422 (geteuid): Likewise.
10423 (getgid): Likewise.
10424 (getuid): Likewise.
10425 (getresgid): Likewise.
10426 (getresuid): Likewise.
10427 (getgroups): Likewise.
10428 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (getegid):
10430 (geteuid): Likewise.
10431 (getgid): Likewise.
10432 (getuid): Likewise.
10433 (getresgid): Likewise.
10434 (getresuid): Likewise.
10435 (getgroups): Likewise.
10436 * sysdeps/unix/sysv/linux/sh/syscalls.list (getegid): Likewise.
10437 (geteuid): Likewise.
10438 (getgid): Likewise.
10439 (getuid): Likewise.
10440 (getresgid): Likewise.
10441 (getresuid): Likewise.
10442 (getgroups): Likewise.
10443 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (getegid):
10445 (geteuid): Likewise.
10446 (getgid): Likewise.
10447 (getuid): Likewise.
10448 (getgroups): Likewise.
10451 * sysdeps/unix/sysv/linux/i386/chown.c: Remove file.
10452 * sysdeps/unix/sysv/linux/i386/fchown.c: Likewise.
10453 * sysdeps/unix/sysv/linux/i386/lchown.c: Likewise.
10454 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
10455 * sysdeps/unix/sysv/linux/s390/s390-32/fchown.c: Remove file.
10456 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Likewise.
10457 * sysdeps/unix/sysv/linux/sh/chown.c: Likewise.
10458 * sysdeps/unix/sysv/linux/sh/fchown.c: Likewise.
10459 * sysdeps/unix/sysv/linux/sh/lchown.c: Likewise.
10460 * sysdeps/unix/sysv/linux/sparc/sparc32/chown.c: Likewise.
10461 * sysdeps/unix/sysv/linux/sparc/sparc32/fchown.c: Likewise.
10462 * sysdeps/unix/sysv/linux/sparc/sparc32/lchown.c: Likewise.
10463 * sysdeps/unix/sysv/linux/s390/s390-32/Versions (GLIBC_2.1): Add
10465 * sysdeps/unix/sysv/linux/i386/syscalls.list (chown): Add syscall.
10466 (lchown): Likewise.
10467 (fchown): Likewise.
10468 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (chown):
10470 (lchown): Likewise.
10471 (fchown): Likewise.
10472 * sysdeps/unix/sysv/linux/sh/syscalls.list (chown): Likewise.
10473 (lchown): Likewise.
10474 (fchown): Likewise.
10475 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (chown):
10477 (lchown): Likewise.
10478 (fchown): Likewise.
10480 2014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
10482 * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept):
10485 2014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
10487 * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
10490 2014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
10492 * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
10493 Remove unused include.
10495 2014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
10497 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Remove spaces.
10498 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Remove spaces.
10499 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Remove spaces.
10500 * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Remove spaces.
10502 2014-10-23 Carlos O'Donell <carlos@systemhalted.org>
10503 Helge Deller <deller@gmx.de>
10506 * sysdeps/unix/sysv/linux/hppa/bits/signum.h: Remove SIGEMT.
10507 Define SIGSTKFLT as 7. Define SIGSYS as 31. Define SIGXCPU as 12.
10508 Remove SIGLOST. Define SIGXFSZ as 30. Define __SIGRTMIN as 32.
10510 2014-10-23 Joseph Myers <joseph@codesourcery.com>
10513 * sysdeps/powerpc/powerpc32/libgcc-compat.S (__ashldi3_v_glibc20):
10514 Remove macro definition.
10515 (__ashrdi3_v_glibc20): Likewise.
10516 (__lshrdi3_v_glibc20): Likewise.
10517 (__cmpdi2_v_glibc20): Likewise.
10518 (__ucmpdi2_v_glibc20): Likewise.
10519 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixdfdi_v_glibc20): Likewise.
10520 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
10521 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
10522 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
10523 [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
10524 [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdisf_v_glibc20): Likewise.
10526 2014-10-22 Roland McGrath <roland@hack.frob.com>
10528 * inet/netgroup.h (struct name_list): Use C99 [] syntax rather than
10529 old GNU extension [0] syntax.
10530 * nscd/nscd_helper.c (open_socket): Use a flexible array member and
10531 alloca rather than an array member with variable length.
10532 * nscd/netgroupcache.c (addgetnetgrentX): Likewise.
10533 * nscd/nscd.c (invalidate_db): New function, broken out of ...
10534 (parse_opt): ... here. Likewise use alloca there.
10535 Validate the -i argument before checking for rootness.
10536 (send_shutdown): New function, broken out of ...
10537 (parse_opt): ... here.
10539 2014-10-22 Roland McGrath <roland@hack.frob.com>
10541 * sysdeps/arm/__longjmp.S [NEED_HWCAP] [IS_IN_rtld]: Use LDST_PCREL
10542 macro to get at the _rt_local_ro field.
10543 [NEED_HWCAP] [!IS_IN_rtld]: Use LDR_GLOBAL to get at _rtld_global_ro
10544 ([PIC] case) or _dl_hwcap ([!PIC] case).
10545 * sysdeps/arm/setjmp.S: Likewise.
10547 * config.h.in (ARM_PCREL_MOVW_OK): New macro.
10548 * sysdeps/arm/configure.ac: New check to define it.
10549 * sysdeps/arm/configure: Regenerated.
10550 * sysdeps/arm/sysdep.h [__ASSEMBLER__]: Include <arm-features.h>.
10551 (LDST_INDEXED_NOINDEX, LDST_INDEXED_INDEX): New macros.
10552 (LDST_INDEXED, LDST_PC_INDEXED): New macros, differing definitions
10553 depending on [ARM_NO_INDEX_REGISTER] and [__thumb2__].
10554 (LDST_PCREL) [!__thumb2__ && ARCH_HAS_T2 && ARM_PCREL_MOVW_OK]:
10555 Use move/movt pair instead of a load.
10556 (LDST_GLOBAL): Macro removed.
10557 (LDR_GLOBAL): New macro replaces it.
10558 (LDR_HIDDEN): New macro.
10559 (PTR_MANGLE_LOAD): Use LDR_GLOBAL rather than LDST_GLOBAL.
10560 Use LDR_HIDDEN instead for __pointer_chk_guard_local.
10562 * setjmp/tst-setjmp-static.c: New file.
10563 * setjmp/Makefile (tests): Add it.
10564 (tests-static): New variable.
10566 2014-10-22 Maciej W. Rozycki <macro@codesourcery.com>
10569 * sysdeps/unix/sysv/linux/mips/vfork.S (__libc_vfork): Define.
10571 2014-10-21 Joseph Myers <joseph@codesourcery.com>
10574 * math/s_ldexpf.c (__ldexpf): Do not use INTDEF.
10576 2014-10-21 Roland McGrath <roland@hack.frob.com>
10578 * nptl/version.c (__nptl_main): Call __libc_write, not __write.
10580 2014-10-20 Roland McGrath <roland@hack.frob.com>
10582 * io/fts.c (dirent_not_directory): New function.
10583 (fts_build): Call it.
10585 2014-10-20 Roland McGrath <roland@hack.frob.com>
10587 * nptl/version.c (__nptl_main): Use normal __write rather than
10589 (banner): Update copyright years.
10591 * nptl/pthread_rwlock_timedrdlock.c: #include <sys/time.h> before using
10593 * nptl/pthread_rwlock_timedwrlock.c: Likewise.
10594 * nptl/pthread_cond_timedwait.c: Likewise.
10595 * nptl/pthread_mutex_timedlock.c: Likewise.
10596 * nptl/sem_timedwait.c: Likewise.
10598 * sysdeps/nptl/bits/libc-lock.h
10599 [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
10600 (__libc_lock_init_recursive): Return void, not 0.
10601 * sysdeps/nptl/bits/libc-lockP.h (__libc_lock_init): Likewise.
10602 (__libc_rwlock_init): Likewise.
10603 * sysdeps/nptl/bits/stdio-lock.h (_IO_lock_init): Likewise.
10605 2014-10-20 Torvald Riegel <triegel@redhat.com>
10608 * nptl/pthread_once.c (__pthread_once): Split out fast path to ...
10609 (__pthread_once_slow): ... here.
10610 * sysdeps/unix/sysv/linux/i386/pthread_once.S: Remove file.
10611 * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Remove file.
10613 2014-10-20 Torvald Riegel <triegel@redhat.com>
10616 * nptl/pthreadP.h (__PTHREAD_ONCE_INPROGRESS, __PTHREAD_ONCE_DONE,
10617 __PTHREAD_ONCE_FORK_GEN_INCR): New.
10618 * sysdeps/nptl/fork.c (__libc_fork): Use them.
10619 * nptl/pthread_once.c (__pthread_once): Likewise.
10622 2014-10-20 Joseph Myers <joseph@codesourcery.com>
10625 * sysdeps/unix/syscalls.list (readv): Use __libc_readv as strong
10627 (writev): Use __libc_writev as strong name.
10628 * sysdeps/unix/sysv/linux/readv.c: Remove file.
10629 * sysdeps/unix/sysv/linux/writev.c: Likewise.
10631 2014-10-17 Roland McGrath <roland@hack.frob.com>
10633 * nptl/createthread.c (TLS_DEFINE_INIT_TP, TLS_VALUE): Macros removed.
10635 * sysdeps/i386/nptl/tls.h
10636 (THREAD_SELF_SYSINFO, THREAD_SYSINFO): Macros removed.
10637 [NEED_DL_SYSINFO] (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO):
10639 * sysdeps/ia64/nptl/tls.h [NEED_DL_SYSINFO]
10640 (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO): New macros.
10641 * nptl/allocatestack.c (allocate_stack) [NEED_DL_SYSINFO]:
10642 Call SETUP_THREAD_SYSINFO instead of doing an assignment.
10643 * nptl/createthread.c (create_thread) [NEED_DL_SYSINFO]:
10644 Call CHECK_THREAD_SYSINFO instead of doing an assert.
10646 * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
10647 Conditionalize FUTEX_PRIVATE_FLAG and FUTEX_CLOCK_REALTIME probes
10649 * nptl/pthread_mutex_init.c (prio_inherit_missing): New function,
10651 (__pthread_mutex_init): ... here. Call it.
10652 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full):
10653 Conditionalize PI cases on [__NR_futex].
10654 * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
10655 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Likewise.
10656 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
10658 * nptl/nptl-init.c (sighandler_setxid, __xidcmd): Make definitions
10659 conditional on [SIGSETXID].
10660 (sigcancel_handler): Make definition conditional on [SIGCANCEL].
10661 (__pthread_initialize_minimal_internal): Set up SIGCANCEL only if it
10662 is defined. Likewise for SIGSETXID.
10663 * nptl/allocatestack.c (setxid_mark_thread, setxid_unmark_thread):
10664 Conditionalize definitions on [SIGSETXID].
10665 (setxid_signal_thread, __nptl_setxid_error, __nptl_setxid): Likewise.
10666 * nptl/pthread_create.c (start_thread): Conditionalize SIGCANCEL
10667 unblocking on [SIGCANCEL].
10669 * nptl/nptl-init.c (__nptl_set_robust): Conditionalize body on
10670 [__NR_set_robust_list].
10672 2014-10-17 Siddhesh Poyarekar <siddhesh@redhat.com>
10674 * string/strcoll_l.c (get_next_seq): Fix up formatting.
10675 (do_compare): Likewise.
10677 2014-10-17 Leonhard Holz <leonhard.holz@web.de>
10680 * string/strcoll_l.c: Don't include stdio.h.
10681 (coll_seq): Remove members idxarr and rulearr.
10682 (get_next_seq_cached): Remove function.
10683 (get_next_seq): Likewise.
10684 (get_next_seq_nocache): Rename to get_next_seq.
10685 (do_compare): Remove function.
10686 (do_compare_nocache): Rename to do_compare.
10687 (STRCOLL): Remove weight and rules cache.
10689 2014-10-16 Roland McGrath <roland@hack.frob.com>
10691 * sysdeps/arm/soft-fp/sfp-machine.h: Filed moved ...
10692 * sysdeps/arm/sfp-machine.h: ... to here.
10693 * sysdeps/arm/Implies: Remove arm/soft-fp.
10695 2014-10-14 Joseph Myers <joseph@codesourcery.com>
10697 * conform/data/sys/utsname.h-data (*_t): Allow.
10698 * conform/data/sys/wait.h-data [POSIX] (uid_t): Do not define.
10699 [POSIX] (WEXITED): Do not expect constant.
10700 [POSIX] (WSTOPPED): Likewise.
10701 [POSIX] (WNOHANG): Likewise.
10702 [POSIX] (WNOWAIT): Likewise.
10703 [POSIX] (siginfo_t): Do not expect type or elements.
10704 [POSIX] (pid_t): Do not expect type.
10705 [POSIX] (signal.h): Do not allow header.
10706 [POSIX] (sys/resource.h): Likewise.
10707 [POSIX] (si_*): Do not allow pattern.
10708 [POSIX] (W*): Likewise.
10709 [POSIX] (P_*): Likewise.
10710 [POSIX] (BUS_*): Likewise.
10711 [POSIX] (CLD_*): Likewise.
10712 [POSIX] (FPE_*): Likewise.
10713 [POSIX] (ILL_*): Likewise.
10714 [POSIX] (POLL_*): Likewise.
10715 [POSIX] (SEGV_*): Likewise.
10716 [POSIX] (SI_*): Likewise.
10717 [POSIX] (TRAP_*): Likewise.
10718 * conform/Makefile (test-xfail-POSIX/sys/wait.h/conform): New
10721 2014-10-14 Paul Pluzhnikov <ppluzhnikov@google.com>
10724 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Avoid
10725 infinite loop when __recvmsg returns 0.
10727 2014-10-10 Joseph Myers <joseph@codesourcery.com>
10729 * CANCEL-FCT-WAIVE: Remove file.
10730 * CANCEL-FILE-WAIVE: Likewise.
10733 * elf/dl-sysdep.c (__libc_enable_secure): Use rtld_hidden_data_def
10734 instead of INTVARDEF.
10735 (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
10736 * sysdeps/mach/hurd/dl-sysdep.c (__libc_enable_secure): Use
10737 rtld_hidden_data_def instead of INTVARDEF.
10738 (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
10739 * elf/dl-deps.c (expand_dst): Likewise.
10740 * elf/dl-load.c (_dl_dst_count): Likewise.
10741 (_dl_dst_substitute): Likewise.
10742 (decompose_rpath): Likewise.
10743 (_dl_init_paths): Likewise.
10744 (open_path): Likewise.
10745 (_dl_map_object): Likewise.
10746 * elf/rtld.c (dl_main): Likewise.
10747 (process_dl_audit): Likewise.
10748 (process_envvars): Likewise.
10749 * include/unistd.h [IS_IN_rtld] (__libc_enable_secure_internal):
10750 Remove declaration.
10751 (__libc_enable_secure): Use rtld_hidden_proto.
10753 2014-10-09 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
10756 (add_path): New function broken out of _dl_rtld_di_serinfo.
10757 (_dl_rtld_di_serinfo): Remove that nested function. Update call sites.
10759 2014-10-09 Joseph Myers <joseph@codesourcery.com>
10761 * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_D): Use
10762 parentheses around macro arguments.
10763 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_DP): Likewise.
10764 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_D): Likewise.
10765 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_DP): Likewise.
10766 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_D): Likewise.
10767 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_DP): Likewise.
10768 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_D): Likewise.
10769 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
10770 [_FP_W_TYPE_SIZE < 64] (FP_PACK_D): Likewise.
10771 [_FP_W_TYPE_SIZE < 64] (FP_PACK_DP): Likewise.
10772 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_D): Likewise.
10773 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_DP): Likewise.
10774 [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_D): Likewise.
10775 [_FP_W_TYPE_SIZE < 64] (FP_CMP_D): Likewise.
10776 [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_D): Likewise.
10777 [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_D): Likewise.
10778 [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_D): Likewise.
10779 [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_D): Likewise.
10780 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_D): Likewise.
10781 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_DP): Likewise.
10782 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_D): Likewise.
10783 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_DP): Likewise.
10784 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_D): Likewise.
10785 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_DP): Likewise.
10786 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_D): Likewise.
10787 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
10788 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_D): Likewise.
10789 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_DP): Likewise.
10790 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_D): Likewise.
10791 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_DP): Likewise.
10792 [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_D): Likewise.
10793 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_D): Likewise.
10794 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_D): Likewise.
10795 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_D): Likewise.
10796 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_D): Likewise.
10797 [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_D): Likewise.
10798 * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_E):
10800 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_EP): Likewise.
10801 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_E): Likewise.
10802 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
10803 [_FP_W_TYPE_SIZE < 64] (FP_PACK_E): Likewise.
10804 [_FP_W_TYPE_SIZE < 64] (FP_PACK_EP): Likewise.
10805 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_E): Likewise.
10806 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_EP): Likewise.
10807 [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_E): Likewise.
10808 [_FP_W_TYPE_SIZE < 64] (FP_CMP_E): Likewise.
10809 [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_E): Likewise.
10810 [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_E): Likewise.
10811 [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_E): Likewise.
10812 [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_E): Likewise.
10813 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_E): Likewise.
10814 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_EP): Likewise.
10815 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_E): Likewise.
10816 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
10817 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_E): Likewise.
10818 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_EP): Likewise.
10819 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_E): Likewise.
10820 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_EP): Likewise.
10821 [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_E): Likewise.
10822 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_E): Likewise.
10823 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_E): Likewise.
10824 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_E): Likewise.
10825 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_E): Likewise.
10826 [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_E): Likewise.
10827 * soft-fp/op-1.h (_FP_FRAC_SRST_1): Likewise.
10828 (_FP_FRAC_SRS_1): Likewise.
10829 (_FP_FRAC_CLZ_1): Likewise.
10830 (_FP_MUL_MEAT_1_imm): Likewise.
10831 (_FP_MUL_MEAT_1_wide): Likewise.
10832 (_FP_MUL_MEAT_1_hard): Likewise.
10833 (_FP_SQRT_MEAT_1): Likewise.
10834 (_FP_FRAC_ASSEMBLE_1): Likewise.
10835 (_FP_FRAC_DISASSEMBLE_1): Likewise.
10836 * soft-fp/op-2.h (_FP_FRAC_CLZ_2): Likewise.
10837 (__FP_CLZ_2): Likewise.
10838 (_FP_MUL_MEAT_2_wide): Likewise.
10839 (_FP_MUL_MEAT_2_wide_3mul): Likewise.
10840 (_FP_MUL_MEAT_2_gmp): Likewise.
10841 (_FP_MUL_MEAT_2_120_240_double): Likewise.
10842 (_FP_SQRT_MEAT_2): Likewise.
10843 (_FP_FRAC_ASSEMBLE_2): Likewise.
10844 (_FP_FRAC_DISASSEMBLE_2): Likewise.
10845 * soft-fp/op-4.h (_FP_FRAC_SRS_4): Likewise.
10846 (_FP_FRAC_CLZ_4): Likewise.
10847 (_FP_MUL_MEAT_4_wide): Likewise.
10848 (_FP_MUL_MEAT_4_gmp): Likewise.
10849 (_FP_SQRT_MEAT_4): Likewise.
10850 (_FP_FRAC_ASSEMBLE_4): Likewise.
10851 (_FP_FRAC_DISASSEMBLE_4): Likewise.
10852 * soft-fp/op-common.h (_FP_CMP): Likewise.
10853 (_FP_CMP_EQ): Likewise.
10854 (_FP_CMP_UNORD): Likewise.
10855 (_FP_TO_INT): Likewise.
10856 (_FP_FROM_INT): Likewise.
10857 [!__FP_CLZ] (__FP_CLZ): Likewise.
10858 (_FP_DIV_HELP_imm): Likewise.
10859 * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_Q):
10861 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_QP): Likewise.
10862 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_Q): Likewise.
10863 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_QP): Likewise.
10864 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_Q): Likewise.
10865 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_QP): Likewise.
10866 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
10867 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
10868 [_FP_W_TYPE_SIZE < 64] (FP_PACK_Q): Likewise.
10869 [_FP_W_TYPE_SIZE < 64] (FP_PACK_QP): Likewise.
10870 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_Q): Likewise.
10871 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_QP): Likewise.
10872 [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_Q): Likewise.
10873 [_FP_W_TYPE_SIZE < 64] (FP_CMP_Q): Likewise.
10874 [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_Q): Likewise.
10875 [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_Q): Likewise.
10876 [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_Q): Likewise.
10877 [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_Q): Likewise.
10878 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_Q): Likewise.
10879 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_QP): Likewise.
10880 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_Q): Likewise.
10881 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_QP): Likewise.
10882 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_Q): Likewise.
10883 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_QP): Likewise.
10884 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
10885 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
10886 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_Q): Likewise.
10887 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_QP): Likewise.
10888 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_Q): Likewise.
10889 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_QP): Likewise.
10890 [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_Q): Likewise.
10891 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_Q): Likewise.
10892 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_Q): Likewise.
10893 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_Q): Likewise.
10894 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_Q): Likewise.
10895 [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_Q): Likewise.
10896 * soft-fp/single.h (FP_UNPACK_RAW_S): Likewise.
10897 (FP_UNPACK_RAW_SP): Likewise.
10898 (FP_PACK_RAW_S): Likewise.
10899 (FP_PACK_RAW_SP): Likewise.
10900 (FP_UNPACK_S): Likewise.
10901 (FP_UNPACK_SP): Likewise.
10902 (FP_UNPACK_SEMIRAW_S): Likewise.
10903 (FP_UNPACK_SEMIRAW_SP): Likewise.
10904 (FP_PACK_S): Likewise.
10905 (FP_PACK_SP): Likewise.
10906 (FP_PACK_SEMIRAW_S): Likewise.
10907 (FP_PACK_SEMIRAW_SP): Likewise.
10908 (_FP_SQRT_MEAT_S): Likewise.
10909 (FP_CMP_S): Likewise.
10910 (FP_CMP_EQ_S): Likewise.
10911 (FP_CMP_UNORD_S): Likewise.
10912 (FP_TO_INT_S): Likewise.
10913 (FP_FROM_INT_S): Likewise.
10915 * soft-fp/op-common.h (_FP_TO_INT): Handle rsigned == 2.
10917 * soft-fp/soft-fp.h (FP_EX_INVALID_SNAN): New macro.
10918 (FP_EX_INVALID_IMZ): Likewise.
10919 (FP_EX_INVALID_IMZ_FMA): Likewise.
10920 (FP_EX_INVALID_ISI): Likewise.
10921 (FP_EX_INVALID_ZDZ): Likewise.
10922 (FP_EX_INVALID_IDI): Likewise.
10923 (FP_EX_INVALID_SQRT): Likewise.
10924 (FP_EX_INVALID_CVI): Likewise.
10925 (FP_EX_INVALID_VC): Likewise.
10926 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Specify more precise
10927 "invalid" exceptions.
10928 (_FP_CHECK_SIGNAN_SEMIRAW): Likewise.
10929 (_FP_ADD_INTERNAL): Likewise.
10930 (_FP_MUL): Likewise.
10931 (_FP_FMA): Likewise.
10932 (_FP_DIV): Likewise.
10933 (_FP_CMP_CHECK_NAN): Likewise.
10934 (_FP_SQRT): Likewise.
10935 (_FP_TO_INT): Likewise.
10936 (FP_EXTEND): Likewise.
10938 2014-10-09 Allan McRae <allan@archlinux.org>
10940 * po/fr.po: Update French translation from translation project.
10942 2014-10-09 Joseph Myers <joseph@codesourcery.com>
10945 * stdlib/cxa_atexit.c (__cxa_atexit): Use libc_hidden_def instead
10947 * include/stdlib.h (__cxa_atexit_internal): Remove declaration.
10948 (__cxa_atexit): Use libc_hidden_proto.
10949 [!NOT_IN_libc] (__cxa_atexit): Remove macro definition.
10952 * include/wctype.h [!_ISOMAC] (__iswalpha_l_internal): Remove
10954 [!_ISOMAC] (__iswdigit_l_internal): Likewise.
10955 [!_ISOMAC] (__iswspace_l_internal): Likewise.
10956 [!_ISOMAC] (__iswxdigit_l_internal): Likewise.
10957 [!_ISOMAC] (__iswctype_internal): Likewise.
10958 * stdio-common/siglist.c (_sys_siglist_internal): Remove alias.
10959 * sysdeps/unix/syscalls.list (chown): Remove __chown_internal
10961 (fcntl): Remove __fcntl_internal alias.
10962 * sysdeps/unix/sysv/linux/hppa/syscalls.list (connect): Remove
10963 __connect_internal alias.
10964 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (connect):
10967 * soft-fp/soft-fp.h (FP_DENORM_ZERO): New macro.
10968 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Check
10970 (_FP_CHECK_FLUSH_ZERO): New macro.
10971 (_FP_ADD_INTERNAL): Call _FP_CHECK_FLUSH_ZERO.
10972 (_FP_CMP): Likewise.
10973 (_FP_CMP_EQ): Likewise.
10974 (_FP_TO_INT): Do not set inexact for subnormal arguments if
10976 (FP_EXTEND): Call _FP_CHECK_FLUSH_ZERO.
10977 (FP_TRUNC): Likewise.
10979 * soft-fp/op-common.h (_FP_TO_INT): Ensure maximum exponent is
10980 treated as invalid conversion, not as normal exponent.
10982 * soft-fp/op-common.h (_FP_CMP_CHECK_NAN): New macro.
10983 (_FP_CMP): Add extra argument EX. Call _FP_CMP_CHECK_NAN.
10984 (_FP_CMP_EQ): Likewise.
10985 (_FP_CMP_UNORD): Likewise.
10986 * soft-fp/double.h (FP_CMP_D): Add extra argument EX.
10987 (FP_CMP_EQ_D): Likewise.
10988 (FP_CMP_UNORD_D): Likewise.
10989 * soft-fp/extended.h (FP_CMP_E): Likewise.
10990 (FP_CMP_EQ_E): Likewise.
10991 (FP_CMP_UNORD_E): Likewise.
10992 * soft-fp/quad.h (FP_CMP_Q): Likewise.
10993 (FP_CMP_EQ_Q): Likewise.
10994 (FP_CMP_UNORD_Q): Likewise.
10995 * soft-fp/single.h (FP_CMP_S): Likewise.
10996 (FP_CMP_EQ_S): Likewise.
10997 (FP_CMP_UNORD_S): Likewise.
10998 * soft-fp/eqdf2.c (__eqdf2): Update call to FP_CMP_EQ_D.
10999 * soft-fp/eqsf2.c (__eqsf2): Update call to FP_CMP_EQ_S.
11000 * soft-fp/eqtf2.c (__eqtf2): Update call to FP_CMP_EQ_Q.
11001 * soft-fp/gedf2.c (__gedf2): Update call to FP_CMP_D.
11002 * soft-fp/gesf2.c (__gesf2): Update call to FP_CMP_S.
11003 * soft-fp/getf2.c (__getf2): Update call to FP_CMP_Q.
11004 * soft-fp/ledf2.c (__ledf2): Update call to FP_CMP_D.
11005 * soft-fp/lesf2.c (__lesf2): Update call to FP_CMP_S.
11006 * soft-fp/letf2.c (__letf2): Update call to FP_CMP_Q.
11007 * soft-fp/unorddf2.c (__unorddf2): Update call to FP_CMP_UNORD_D.
11008 * soft-fp/unordsf2.c (__unordsf2): Update call to FP_CMP_UNORD_S.
11009 * soft-fp/unordtf2.c (__unordtf2): Update call to FP_CMP_UNORD_Q.
11010 * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Update call
11012 * sysdeps/sparc/sparc32/soft-fp/q_cmp.c (_Q_cmp): Update call to
11014 * sysdeps/sparc/sparc32/soft-fp/q_cmpe.c (_Q_cmpe): Likewise.
11015 * sysdeps/sparc/sparc32/soft-fp/q_feq.c (_Q_feq): Update call to
11017 * sysdeps/sparc/sparc32/soft-fp/q_fge.c (_Q_fge): Update call to
11019 * sysdeps/sparc/sparc32/soft-fp/q_fgt.c (_Q_fgt): Likewise.
11020 * sysdeps/sparc/sparc32/soft-fp/q_fle.c (_Q_fle): Likewise.
11021 * sysdeps/sparc/sparc32/soft-fp/q_flt.c (_Q_flt): Likewise.
11022 * sysdeps/sparc/sparc32/soft-fp/q_fne.c (_Q_fne): Update call to
11024 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c (_Qp_cmp): Update call to
11026 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c (_Qp_cmpe): Likewise.
11027 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c (_Qp_feq): Update call to
11029 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c (_Qp_fge): Update call to
11031 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c (_Qp_fgt): Likewise.
11032 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c (_Qp_fle): Likewise.
11033 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c (_Qp_flt): Likewise.
11034 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c (_Qp_fne): Update call to
11037 * soft-fp/op-common.h (FP_EXTEND): When a subnormal input produces
11038 a subnormal result, set the underflow exception if trapping on
11039 underflow is enabled.
11040 * soft-fp/soft-fp.h (FP_INIT_TRAPPING_EXCEPTIONS): New macro.
11041 (FP_INIT_EXCEPTIONS): Default to FP_INIT_TRAPPING_EXCEPTIONS.
11042 [FP_NO_EXACT_UNDERFLOW] (FP_TRAPPING_EXCEPTIONS): Undefine and
11044 * soft-fp/extenddftf2.c (FP_NO_EXACT_UNDERFLOW): Define.
11045 * soft-fp/extendsfdf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
11046 * soft-fp/extendsftf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
11047 * soft-fp/extendxftf2.c (__extendxftf2): Use
11048 FP_INIT_TRAPPING_EXCEPTIONS instead of FP_INIT_ROUNDMODE.
11050 * soft-fp/soft-fp.h (FP_CLEAR_EXCEPTIONS): Remove macro.
11051 * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: Define FP_NO_EXCEPTIONS.
11052 (_Q_itoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
11053 FP_HANDLE_EXCEPTIONS.
11054 * sysdeps/sparc/sparc32/soft-fp/q_lltoq.c: Define FP_NO_EXCEPTIONS.
11055 (_Q_lltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
11056 FP_HANDLE_EXCEPTIONS.
11057 * sysdeps/sparc/sparc32/soft-fp/q_ulltoq.c: Define FP_NO_EXCEPTIONS.
11058 (_Q_ulltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
11059 FP_HANDLE_EXCEPTIONS.
11060 * sysdeps/sparc/sparc32/soft-fp/q_utoq.c: Define FP_NO_EXCEPTIONS.
11061 (_Q_utoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
11062 FP_HANDLE_EXCEPTIONS.
11064 2014-10-08 Joseph Myers <joseph@codesourcery.com>
11067 * sysdeps/unix/sysv/linux/include/sys/timex.h: New file.
11068 * sysdeps/unix/sysv/linux/adjtime.c [!ADJTIMEX] (ADJTIMEX): Do not
11070 [!ADJTIMEX] (INTUSE(__adjtimex)): Remove declaration.
11071 * sysdeps/unix/sysv/linux/alpha/adjtime.c (__adjtimex_internal):
11073 (__adjtimex): Define using libc_hidden_ver.
11074 * sysdeps/unix/sysv/linux/ntp_gettime.c (INTUSE(__adjtimex)):
11075 Remove declaration.
11076 (ntp_gettime): Call __adjtimex directly.
11077 * sysdeps/unix/sysv/linux/ntp_gettimex.c (INTUSE(__adjtimex)):
11078 Remove declaration.
11079 (ntp_gettimex): Call __adjtimex directly.
11080 * sysdeps/unix/sysv/linux/syscalls.list (adjtimex): Remove
11081 __adjtimex_internal alias.
11083 2014-10-08 Roland McGrath <roland@hack.frob.com>
11086 * nscd/nscd.c (more_help): Rewrite list of tables collection
11087 using xstrdup and asprintf.
11089 * nscd/nscd_conf.c: Remove local xstrdup declaration.
11091 2014-10-08 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
11092 Roland McGrath <roland@hack.frob.com>
11094 * elf/dl-lookup.c (enter_unique_sym): New function, broken out of ...
11095 (do_lookup_unique): ... local function 'enter' here; update callers.
11097 2014-10-06 Joseph Myers <joseph@codesourcery.com>
11099 * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Condition
11100 compat_symbol calls on [SHARED].
11101 * sysdeps/unix/sysv/linux/powerpc/lchown.S: Remove file.
11102 * sysdeps/unix/sysv/linux/i386/syscalls.list (oldsetrlimit):
11104 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
11105 * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list
11106 (oldsetrlimit): Remove.
11107 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
11108 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
11109 (lchown): New syscall entry.
11110 (oldsetrlimit): Remove.
11111 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
11112 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list
11113 (oldsetrlimit): Remove.
11114 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
11117 * sysdeps/unix/sysv/linux/arm/fchown.c: Remove file.
11118 * sysdeps/unix/sysv/linux/arm/lchown.c: Likewise.
11119 * sysdeps/unix/sysv/linux/m68k/fchown.c: Likewise.
11120 * sysdeps/unix/sysv/linux/m68k/lchown.c: Likewise.
11121 * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
11122 * sysdeps/unix/sysv/linux/arm/syscalls.list (lchown): Add syscall.
11123 (fchown): Likewise.
11124 * sysdeps/unix/sysv/linux/m68k/syscalls.list (lchown): Likewise.
11125 (fchown): Likewise.
11126 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list (chown):
11129 2014-10-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11131 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Remove file.
11132 * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c
11133 (pthread_spin_unlock): Use __ARCH_REL_INSTR instead of
11134 __lll_rel_instr and __ARCH_ACQ_INSTR instead of __lll_acq_instr.
11135 * sysdeps/unix/sysv/linux/powerpc/sem_post.c (__new_sem_post):
11137 (__old_sem_post): Likewise.
11139 2014-10-06 Chris Metcalf <cmetcalf@tilera.com>
11141 * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Define
11142 INLINE_VSYSCALL, INTERNAL_VSYSCALL, and
11143 HAVE_CLOCK_GETTIME_VSYSCALL macros.
11144 * sysdeps/unix/sysv/linux/tile/gettimeofday.c (__gettimeofday):
11145 Use INLINE_VSYSCALL macro.
11146 * sysdeps/unix/sysv/linux/tile/bits/libc-vdso: Add declaration of
11147 __vdso_clock_gettime.
11148 * sysdeps/unix/sysv/linux/tile/init-first.c
11149 (_libc_vdso_platform_setup): Set new __vdso_clock_gettime global.
11150 * sysdeps/unix/sysv/linux/tile/Versions (GLIBC_PRIVATE): Add
11151 __vdso_clock_gettime.
11153 * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Fix code
11154 to set up frame more cleanly.
11156 * sysdeps/tile/memcmp.c: New file.
11158 * sysdeps/unix/sysv/linux/tile/sysconf.c: New file.
11160 * sysdeps/tile/tilegx/string-endian.h (STRSHIFT): New macro.
11161 * sysdeps/tile/tilegx/strcasestr.c: New file.
11162 * sysdeps/tile/tilegx/strnlen.c: New file.
11163 * sysdeps/tile/tilegx/strstr.c: New file.
11165 * sysdeps/tile/tilegx/string-endian.h (copy_byte): Optimize.
11167 2014-10-06 Arjun Shankar <arjun.is@lostca.se>
11169 * nptl/tst-setuid3.c: Write errors to stdout.
11171 2014-10-01 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
11174 (preload): New functions broken out of _dl_map_object_deps.
11175 (_dl_map_object_deps): Remove a nested function. Update call sites.
11177 2014-10-01 Joseph Myers <joseph@codesourcery.com>
11180 * sysdeps/unix/sysv/linux/execve.c: Remove file.
11181 * sysdeps/unix/sysv/linux/syscalls.list (execve): Add syscall.
11183 2014-10-01 Steve Ellcey <sellcey@mips.com>
11185 * sysdeps/mips/strcmp.S: New.
11187 2014-09-30 Joseph Myers <joseph@codesourcery.com>
11190 * sysdeps/unix/sysv/linux/syscalls.list (fchownat): New syscall.
11191 (linkat): Likewise.
11192 (mkdirat): Likewise.
11193 (readlinkat): Likewise.
11194 (renameat): Likewise.
11195 (symlinkat): Likewise.
11196 (unlinkat): Likewise.
11197 * sysdeps/unix/sysv/linux/fchownat.c: Remove file.
11198 * sysdeps/unix/sysv/linux/linkat.c: Likewise.
11199 * sysdeps/unix/sysv/linux/mkdirat.c: Likewise.
11200 * sysdeps/unix/sysv/linux/readlinkat.c: Likewise.
11201 * sysdeps/unix/sysv/linux/renameat.c: Likewise.
11202 * sysdeps/unix/sysv/linux/symlinkat.c: Likewise.
11203 * sysdeps/unix/sysv/linux/unlinkat.c: Likewise.
11205 2014-09-30 Will Newton <will.newton@linaro.org>
11207 * math/math.h: Define long double math functions if
11208 _LIBC_TEST is defined.
11209 * stdlib/tst-strtod-round.c: Define _LIBC_TEST.
11211 * localedata/Makefile: Move assignment to tests-special
11212 into an ifdef testing run-built-tests.
11213 * timezone/Makefile: Likewise.
11215 2014-09-29 Joseph Myers <joseph@codesourcery.com>
11217 * sysdeps/x86/Makefile ($(objpfx)tst-ld-sse-use.out): Run script
11218 with $(BASH) not $(SHELL).
11220 2014-09-29 Carlos O'Donell <carlos@redhat.com>
11221 Matthew LeGendre <legendre1@llnl.gov>
11224 * elf/dl-reloc.c (_dl_relocate_object): Allocate correct amount for
11227 2014-09-29 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
11229 * stdio-common/printf_fp.c
11230 (hack_digit): New function, broken out of ...
11231 (__printf_fp): ... local function here. Update call sites.
11232 hack_digit now takes an additional parameter that is a pointer
11233 to a struct of the referenced locals. Those locals moved inside
11234 the struct and references updated.
11236 2014-09-29 H.J. Lu <hongjiu.lu@intel.com>
11238 * aclocal.m4: Require autoconf 2.69.
11239 * configure: Regenerated.
11240 * sysdeps/aarch64/configure: Likewise.
11241 * sysdeps/alpha/configure: Likewise.
11242 * sysdeps/arm/armv7/configure: Likewise.
11243 * sysdeps/arm/configure: Likewise.
11244 * sysdeps/ia64/configure: Likewise.
11245 * sysdeps/mach/configure: Likewise.
11246 * sysdeps/mips/configure: Likewise.
11247 * sysdeps/s390/configure: Likewise.
11248 * sysdeps/unix/sysv/linux/mips/configure: Likewise.
11249 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Likewise.
11251 * sysdeps/alpha/configure.ac: Avoid empty lines at the end of
11253 * sysdeps/ia64/configure.ac: Likewise.
11255 2014-09-26 Joseph Myers <joseph@codesourcery.com>
11257 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Do not
11258 specify symbol version for ld.so. Do not include entry for
11260 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
11261 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
11262 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
11265 * Makeconfig [$(build-shared) = yes]
11266 ($(common-objpfx)soversions.mk): Don't handle SONAMEs specified in
11268 [$(build-shared) = yes && $(soversions.mk-done) = t]
11269 ($(common-objpfx)gnu/lib-names.h): Remove rule.
11270 [$(build-shared) = yes && $(soversions.mk-done) = t]
11271 ($(common-objpfx)gnu/lib-names.stmp): Likewise. Split and moved
11273 [$(build-shared) = yes && $(soversions.mk-done) = t]
11274 (before-compile): Don't append $(common-objpfx)gnu/lib-names.h
11276 [$(build-shared) = yes && $(soversions.mk-done) = t]
11277 (common-generated): Don't append gnu/lib-names.h and
11278 gnu/lib-names.stmp here.
11279 * Makerules [$(build-shared) = yes && $(soversions.mk-done) = t]
11280 (lib-names-h-abi): New variable.
11281 [$(build-shared) = yes && $(soversions.mk-done) = t]
11282 (lib-names-stmp-abi): Likewise.
11283 [$(build-shared) = yes && $(soversions.mk-done) = t &&
11284 abi-variants] (before-compile): Append
11285 $(common-objpfx)$(lib-names-h-abi).
11286 [$(build-shared) = yes && $(soversions.mk-done) = t &&
11287 abi-variants] (common-generated): Append gnu/lib-names.h.
11288 [$(build-shared) = yes && $(soversions.mk-done) = t &&
11289 abi-variants] (install-others-nosubdir): Depend on
11290 $(inst_includedir)/$(lib-names-h-abi).
11291 [$(build-shared) = yes && $(soversions.mk-done) = t &&
11292 abi-variants] ($(common-objpfx)gnu/lib-names.h): New rule.
11293 [$(build-shared) = yes && $(soversions.mk-done) = t]
11294 ($(common-objpfx)$(lib-names-h-abi)): New rule.
11295 [$(build-shared) = yes && $(soversions.mk-done) = t]
11296 ($(common-objpfx)$(lib-names-stmp-abi)): Likewise.
11297 [$(build-shared) = yes && $(soversions.mk-done) = t]
11298 (common-generated): Append $(lib-names-h-abi) and
11299 $(lib-names-stmp-abi).
11300 * scripts/lib-names.awk: Do not handle multi being set.
11301 * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-ld-soname):
11303 (abi-lp64_be-ld-soname): Likewise.
11304 * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-ld-soname):
11306 (abi-hard-ld-soname): Likewise.
11307 * sysdeps/unix/sysv/linux/i386/shlib-versions: New file.
11308 * sysdeps/unix/sysv/linux/mips/Makefile (abi-o32_soft-ld-soname):
11310 (abi-o32_hard-ld-soname): Likewise.
11311 (abi-o32_soft_2008-ld-soname): Likewise.
11312 (abi-o32_hard_2008-ld-soname): Likewise.
11313 (abi-n32_soft-ld-soname): Likewise.
11314 (abi-n32_hard-ld-soname): Likewise.
11315 (abi-n32_soft_2008-ld-soname): Likewise.
11316 (abi-n32_hard_2008-ld-soname): Likewise.
11317 (abi-n64_soft-ld-soname): Likewise.
11318 (abi-n64_hard-ld-soname): Likewise.
11319 (abi-n64_soft_2008-ld-soname): Likewise.
11320 (abi-n64_hard_2008-ld-soname): Likewise.
11321 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-64-v1-ld-soname):
11323 (abi-64-v2-ld-soname): Likewise.
11324 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Add
11326 * sysdeps/unix/sysv/linux/s390/Makefile (abi-64-ld-soname): Remove
11328 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Add ld.so
11330 * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-ld-soname): Remove
11332 (abi-64-ld-soname): Likewise.
11333 (abi-x32-ld-soname): Likewise.
11334 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Add ld.so
11336 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
11338 2014-09-23 Joseph Myers <joseph@codesourcery.com>
11341 * sysdeps/unix/sysv/linux/arm/setrlimit.c: Remove file.
11342 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Likewise.
11343 * sysdeps/unix/sysv/linux/m68k/setrlimit.c: Likewise.
11344 * sysdeps/unix/sysv/linux/powerpc/setrlimit.c: Likewise.
11345 * sysdeps/unix/sysv/linux/s390/s390-32/setrlimit.c: Likewise.
11346 * sysdeps/unix/sysv/linux/sh/setrlimit.c: Likewise.
11347 * sysdeps/unix/sysv/linux/i386/syscalls.list (setrlimit): Add
11348 syscall entry for GLIBC_2.2 symbol version.
11349 * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list (setrlimit):
11351 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
11352 (setrlimit): Likewise.
11353 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setrlimit):
11356 2014-09-23 Will Newton <will.newton@linaro.org>
11358 * sysdeps/unix/sysv/linux/arm/bits/hwcap.h: Check for
11359 _LINUX_ARM_SYSDEP_H include guard too.
11360 * sysdeps/unix/sysv/linux/arm/sysdep.h (_SYS_AUXV_H): Remove
11363 2014-09-20 Rasmus Villemoes <rv@rasmusvillemoes.dk>
11365 * sysdeps/unix/sysv/linux/eventfd.c:
11366 Make first argument unsigned.
11367 * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Likewise.
11368 * sysdeps/unix/sysv/linux/sys/eventfd.h: Likewise.
11370 2014-09-20 Ondřej Bílka <neleai@seznam.cz>
11372 * socket/recvmmsg.c (recvmmsg): Drop const argument.
11373 * socket/sys/socket.h: Likewise
11374 * sysdeps/unix/sysv/linux/recvmmsg.c: Likewise.
11376 2014-09-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11378 * stdlib/longlong.h: Add __udiv_w_sdiv prototype.
11380 2014-09-17 Arjun Shankar <arjun.is@lostca.se>
11382 * time/tst-ftime.c: New test.
11383 * time/Makefile (tests): Add tst-ftime.
11385 2014-09-17 Joseph Myers <joseph@codesourcery.com>
11387 * soft-fp/extended.h: Fix comment formatting.
11388 * soft-fp/op-1.h: Likewise.
11389 * soft-fp/op-2.h: Likewise.
11390 * soft-fp/op-4.h: Likewise.
11391 * soft-fp/op-8.h: Likewise.
11392 * soft-fp/op-common.h: Likewise.
11393 * soft-fp/soft-fp.h: Likewise.
11395 * soft-fp/op-common.h (_FP_TO_INT): Correct formatting.
11397 2014-09-16 Joseph Myers <joseph@codesourcery.com>
11400 * Makeconfig (soversions-default-setname): Remove variable.
11401 ($(common-objpfx)soversions.i): Don't pass default_setname to
11403 * Makerules ($(common-objpfx)abi-versions.h): Don't pass
11404 oldest_abi to abi-versions.awk.
11405 * config.h.in (GLIBC_OLDEST_ABI): Remove macro undefine.
11406 * config.make.in (oldest-abi): Remove variable.
11407 * configure.ac (--enable-oldest-abi): Remove configure option.
11408 * configure: Regenerated.
11409 * csu/version.c (banner) [GLIBC_OLDEST_ABI]: Remove conditional
11411 * scripts/abi-versions.awk: Do not handle oldest_abi variable.
11412 * scripts/soversions.awk: Do not handle default_setname variable.
11413 * sysdeps/mach/hurd/configure.ac: Do not handle oldest_abi
11415 * sysdeps/mach/hurd/configure: Regenerated.
11416 * sysdeps/unix/sysv/linux/configure.ac: Do not handle oldest_abi
11418 * sysdeps/unix/sysv/linux/configure: Regenerated.
11420 2014-09-16 Siddhesh Poyarekar <siddhesh@redhat.com>
11422 * elf/Makefile (CFLAGS-interp.c): Remove.
11423 ($(elf-objpfx)runtime-linker.h): Generate header with linker
11425 * elf/interp.c: Include generated runtime-linker.h
11427 * Makerules (lib%.so): Don't include $(+interp) in
11429 * elf/Makefile (CFLAGS-interp.c): Don't define NOT_IN_libc.
11430 * dlfcn/eval.c: Remove file.
11432 * posix/getconf.c (vars): Don't check for _[SP]C_* and _CS
11436 * misc/sys/cdefs.h: Define __extern_always_inline for clang
11440 * libio/wfileops.c (do_ftell_wide): Free OUT on error path.
11442 2014-09-16 Siddhesh Poyarekar <siddhesh@redhat.com>
11443 Jakub Jelinek <jakub@redhat.com>
11446 * libio/stdio.h: Check definition of __fortify_function
11447 instead of __extern_always_inline to include bits/stdio2.h.
11448 * math/bits/math-finite.h [__USE_XOPEN || __USE_ISOC99]: Also
11449 check if __extern_always_inline is defined.
11450 [__USE_MISC || __USE_XOPEN]: Likewise.
11451 [__USE_ISOC99] Likewise.
11452 * misc/sys/cdefs.h (__fortify_function): Define only if
11453 __extern_always_inline is defined.
11454 [!__cplusplus || __GNUC_PREREQ (4,3)]: Revert to defining
11455 __extern_always_inline and __extern_inline only for g++-4.3
11456 and newer or a compatible gcc.
11458 2014-09-15 Andreas Schwab <schwab@linux-m68k.org>
11461 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
11462 last change to handle zero prefix length.
11464 2014-09-15 Siddhesh Poyarekar <siddhesh@redhat.com>
11466 * sysdeps/posix/sysconf.c (__sysconf): Return -1 for
11469 * posix/getconf.c (vars): Add _POSIX_IPV6 and
11470 _POSIX_RAW_SOCKETS.
11472 2014-09-13 Allan McRae <allan@archlinux.org>
11474 * po/ru.po: Update Russian translation from translation project.
11476 2014-09-12 Roland McGrath <roland@hack.frob.com>
11478 * locale/programs/locale.c (show_locale_vars): Inline local function
11479 into its sole call site. Clean up some style nits.
11480 (print_item): New function, broken out of ...
11481 (show_info): ... local function here. Clean up style nits.
11483 * locale/programs/ld-ctype.c (set_one_default): New function, broken
11485 (set_class_defaults): ... local function set_default here.
11486 Define set_default as a macro locally to pass constant parameters.
11487 (allocate_arrays, set_class_defaults): Use C99 for scope for each CNT,
11488 rather than a shared local.
11490 * stdlib/rpmatch.c (try): New function, broken out of ...
11491 (rpmatch): ... local function here. Also, prototypify definition.
11493 2014-09-12 Joseph Myers <joseph@codesourcery.com>
11495 * scripts/soversions.awk: Do not handle configuration names.
11496 * Makeconfig ($(common-objpfx)soversions.i): Do not pass cpu,
11497 vendor and os variables to soversions.awk.
11498 * configure.ac: Do not modify gnu-* host_os.
11499 * configure: Regenerated
11500 * shlib-versions: Remove first column with configuration names.
11501 * nptl/shlib-versions: Likewise.
11502 * nptl_db/shlib-versions: Likewise.
11503 * sysdeps/hppa/shlib-versions: Likewise.
11504 * sysdeps/m68k/shlib-versions: Likewise.
11505 * sysdeps/mach/hurd/shlib-versions: Likewise.
11506 * sysdeps/unix/sysv/linux/aarch64/shlib-versions: Likewise.
11507 * sysdeps/unix/sysv/linux/alpha/shlib-versions: Likewise.
11508 * sysdeps/unix/sysv/linux/arm/shlib-versions: Likewise.
11509 * sysdeps/unix/sysv/linux/hppa/shlib-versions: Likewise.
11510 * sysdeps/unix/sysv/linux/ia64/shlib-versions: Likewise.
11511 * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: Likewise.
11512 * sysdeps/unix/sysv/linux/microblaze/shlib-versions: Likewise.
11513 * sysdeps/unix/sysv/linux/mips/shlib-versions: Likewise.
11514 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
11516 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
11517 * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
11518 * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
11519 * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
11520 * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
11521 * sysdeps/unix/sysv/linux/tile/shlib-versions: Likewise.
11522 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
11523 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
11525 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
11526 (HAVE_ELFV2_ABI): AC_DEFINE in ELFv2 case.
11527 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
11529 * config.h.in (HAVE_ELFV2_ABI): New macro undefine.
11530 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
11531 Condition symbol version definitions on [HAVE_ELFV2_ABI].
11533 * shlib-versions: Remove OS-specific entries. Moved to files in
11535 * sysdeps/mach/hurd/shlib-versions: New file.
11536 * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
11538 * nptl/shlib-versions: Remove architecture-specific entries.
11539 Moved to files in sysdeps.
11540 * shlib-versions: Likewise.
11541 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: New
11543 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
11544 * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
11545 * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
11546 * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
11548 * sysdeps/gnu/netinet/udp.h (UDP_NO_CHECK6_TX): New macro.
11549 (UDP_NO_CHECK6_RX): Likewise.
11551 2014-09-12 Siddhesh Poyarekar <siddhesh@redhat.com>
11553 * sysdeps/posix/sysconf.c (__sysconf): Spell
11554 _POSIX_DEVICE_SPECIFIC and _POSIX_DEVICE_SPECIFIC_R correctly.
11556 2014-08-12 Florian Weimer <fweimer@redhat.com>
11558 * iconv/gconv_open.c (__gconv_open): Remove transliteration module
11560 * iconv/Versions (__gconv_transliterate): Export for use from
11562 * iconv/gconv.h (__GCONV_TRANSLIT): New flag.
11563 (struct __gconv_trans_data, __gconv_trans_fct,
11564 __gconv_trans_context_fct, __gconv_trans_query_fct,
11565 __gconv_trans_init_fct, __gconv_trans_end_fct): Remove type
11567 (struct __gconv_step_data): Remove __trans member.
11568 (__gconv_transliterate): Declaration moved from gconv_int.h. No
11569 longer hidden. Remove unused trans_data argument.
11570 * iconv/gconv_int.h (struct trans_struct): Remove definition.
11571 (__gconv_translit_find): Remove declaration.
11572 (__gconv_transliterate): Declaration moved to gconv.h. Add hidden
11574 * iconv/gconv_close.c (__gconv_close): Remove __trans cleanup.
11575 * iconv/gconv_trans.c (__gconv_transliterate): Remove unused
11576 trans_data argument. Add hidden definition.
11577 (__gconv_translit_find): Remove.
11578 * iconv/loop.c (STANDARD_TO_LOOP_ERR_HANDLER): Call
11579 __gconv_transliterate directly if __GCONV_TRANSLIT is set.
11580 * iconv/skeleton.c: Remove transliteration initialization.
11581 * libio/fileops.c (_IO_new_file_fopen): Adjust struct
11582 __gconv_step_data initialization.
11583 * libio/iofwide.c (__libio_translit_): Remove.
11584 (_IO_fwide): Adjust struct __gconv_step_data initialization.
11585 * wcsmbs/btowc.c (__btowc): Likewise.
11586 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
11587 * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
11588 * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
11589 * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
11590 * wcsmbs/wcrtomb.c (__wcrtomb): Likewise.
11591 * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
11592 * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
11593 * wcsmbs/wctob.c (wctob): Likewise.
11595 2014-09-12 Siddhesh Poyarekar <siddhesh@redhat.com>
11598 * sysdeps/x86/tst-xmmymm.sh: Rename file to...
11599 * sysdeps/x86/tst-ld-sse-use.sh: ... this. Check for zmm
11601 * sysdeps/x86/Makefile: Adjust.
11603 2014-09-11 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
11604 Roland McGrath <roland@hack.frob.com>
11606 * locale/weight.h: Add include guard.
11607 (findidx): Make static rather than auto; take new parameters
11608 TABLE, INDIRECT, and EXTRA instead of getting them as outer locals.
11609 * locale/weightwc.h: Likewise.
11610 * posix/fnmatch_loop.c
11611 (FCT): Change type of EXTRA from int32_t to wint_t.
11612 Don't include either header inside the function.
11613 Call FINDIDX rather than findidx, and pass new arguments.
11614 #undef FINDIDX at the end of the file.
11615 * posix/fnmatch.c [_LIBC]: #include <locale/weight.h> and define
11616 FINDIDX before including fnmatch_loop.c for the non-wide version.
11617 [_LIBC] [HANDLE_MULTIBYTE]: #define findidx to findidxwc around
11618 #include <locale/weightwc.h>, and define FINDIDX to findidxwc
11619 for the wide version.
11620 * posix/regcomp.c [_LIBC]: #include <locale/weight.h>.
11621 (build_equiv_class) [_LIBC]: Don't #include it inside the function.
11622 Pass new arguments to findidx.
11623 * posix/regexec.c [RE_ENABLE_I18N] [_LIBC]: #include <locale/weight.h>.
11624 [RE_ENABLE_I18N] (check_node_accept_bytes) [_LIBC]:
11625 Don't #include it inside the function. Pass new arguments to findidx.
11626 * posix/regex_internal.h
11627 [!NOT_IN_libc] [_LIBC]: #include <locale/weight.h>.
11628 (re_string_elem_size_at): Don't #include it inside the function.
11629 Pass new arguments to findidx.
11630 * string/strcoll_l.c: #include WEIGHT_H at top level.
11631 (get_next_seq): Don't #include it inside the function.
11632 Pass new arguments to findidx.
11633 (get_next_seq_nocache): Likewise.
11634 * string/strxfrm_l.c: #include WEIGHT_H at top level.
11635 (STRXFRM): Don't #include it inside the function.
11636 Pass new arguments to findidx.
11638 2014-09-11 Florian Weimer <fweimer@redhat.com>
11641 * malloc/malloc.c (unlink): Turn asserts into a call to
11644 2014-09-11 Tim Lammens <tim.lammens@gmail.com>
11647 * libio/wfileops (do_ftell_wide): Free OUT.
11649 2014-09-10 Chris Metcalf <cmetcalf@tilera.com>
11651 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Remove file.
11653 2014-09-10 Siddhesh Poyarekar <siddhesh@redhat.com>
11656 * inet/getnetgrent_r.c (__internal_getnetgrent_r): Try next
11657 group if the current group is empty.
11659 2014-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11661 * benchtests/bench-memset.c (test_main): Add more test from size
11662 from 32 to 512 bytes.
11663 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
11664 Add POWER8 memset object.
11665 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11666 (__libc_ifunc_impl_list): Add POWER8 memset and bzero implementations.
11667 * sysdeps/powerpc/powerpc64/multiarch/bzero.c (__bzero): Add POWER8
11669 * sysdeps/powerpc/powerpc64/multiarch/memset.c (__libc_memset):
11671 * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: New file:
11672 multiarch POWER8 memset optimization.
11673 * sysdeps/powerpc/powerpc64/power8/memset.S: New file: optimized
11674 POWER8 memset optimization.
11676 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
11677 Remove bzero multiarch objects.
11678 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: Remove file.
11679 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: Likewise.
11680 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: Likewise.
11681 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S [NO_BZERO_IMPL]:
11683 [__bzero]: Redefine to specific name.
11684 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
11685 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
11686 * sysdeps/powerpc/powerpc64/power4/memset.S [NO_BZERO_IMPL]: Remove
11688 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
11689 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
11691 2014-09-10 Florian Weimer <fweimer@redhat.com>
11693 * Makeconfig (gccwarn-c): Turn implicit-function-declaration
11694 warnings into errors.
11696 * stdlib/tst-tls-atexit-lib.c: Include <stdlib.h>, for the
11697 __cxa_thread_atexit_impl prototype.
11699 2014-09-09 Steve Ellcey <sellcey@mips.com>
11701 * sysdeps/mips/preconfigure: Put code inside mips* case statement.
11702 Fix capitalization of error message.
11704 2014-09-09 Steve Ellcey <sellcey@mips.com>
11706 * sysdeps/mips/preconfigure: Modify ABI tests.
11708 2014-09-07 Carlos O'Donell <carlos@systemhalted.org>
11710 * sysdeps/unix/sysv/linux/hppa/c++-types.data: New file.
11712 2014-09-07 Roland McGrath <roland@hack.frob.com>
11713 Carlos O'Donell <carlos@systemhalted.org>
11715 * sysdeps/unix/sysv/linux/hppa/nptl/libc-lowlevellock.c: File removed.
11716 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Moved ...
11717 * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: ... here.
11718 * sysdeps/unix/sysv/linux/hppa/nptl/pt-vfork.S: Moved ...
11719 * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: ... here.
11720 * sysdeps/unix/sysv/linux/hppa/nptl/pthread.h: Moved ...
11721 * sysdeps/unix/sysv/linux/hppa/pthread.h: ... here.
11722 * sysdeps/unix/sysv/linux/hppa/nptl/pthreadP.h: Moved ...
11723 * sysdeps/unix/sysv/linux/hppa/pthreadP.h: ... here.
11724 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_broadcast.c: Moved ...
11725 * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c: ... here.
11726 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_destroy.c: Moved ...
11727 * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c: ... here.
11728 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_init.c: Moved ...
11729 * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c: ... here.
11730 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_signal.c: Moved ...
11731 * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c: ... here.
11732 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_timedwait.c: Moved ...
11733 * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c: ... here.
11734 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_wait.c: Moved ...
11735 * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c: ... here.
11736 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Moved ...
11737 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: ... here.
11738 * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h: Moved ...
11739 * sysdeps/hppa/nptl/bits/pthreadtypes.h: ... here.
11740 * sysdeps/unix/sysv/linux/hppa/nptl/bits/semaphore.h: Moved ...
11741 * sysdeps/hppa/nptl/bits/semaphore.h: ... here.
11742 * sysdeps/unix/sysv/linux/hppa/clone.S: Include <tcb-offsets.h>.
11743 Deconditionalize the code that was previously under [RESET_PID].
11744 * sysdeps/unix/sysv/linux/hppa/nptl/clone.S: File removed.
11745 * sysdeps/unix/sysv/linux/hppa/arch-fork.h: New file.
11746 * sysdeps/unix/sysv/linux/hppa/nptl/fork.c: File removed.
11747 * sysdeps/hppa/nptl/tcb-offsets.sym: Include pthread.h and don't
11750 2014-09-08 Allan McRae <allan@archlinux.org>
11752 * version.h (RELEASE): Set to "development".
11753 (VERSION): Set to "2.20.90"
11755 2014-09-07 Allan McRae <allan@archlinux.org
11757 * version.h (RELEASE): Set to "stable".
11758 (VERSION): Set to "2.20"
11759 * include/features.h (__GLIBC_MINOR__): Set to 20.
11761 * manual/contrib.texi: Add entries for Wilco Dijkstra and Stefan
11764 * po/ko.po: Update Korean translation from translation project.
11766 2014-09-06 Chris Metcalf <cmetcalf@tilera.com>
11769 * sysdeps/tile/dl-machine.h (elf_machine_rela): Add a MUNGE_SIGNED
11770 macro for handling signed relocations.
11772 2014-09-03 Florian Weimer <fweimer@redhat.com>
11775 * iconvdata/ibm1364.c (BODY): Fix check for sentinel.
11776 * iconvdata/ibm932.c (BODY): Replace invalid sentinel check with
11778 * iconvdata/ibm933.c (BODY): Fix check for sentinel.
11779 * iconvdata/ibm935.c (BODY): Likewise.
11780 * iconvdata/ibm937.c (BODY): Likewise.
11781 * iconvdata/ibm939.c (BODY): Likewise.
11782 * iconvdata/ibm943.c (BODY): Replace invalid sentinel check with
11784 * iconvdata/Makefile (iconv-test.out): Pass module list to test
11786 * iconvdata/run-iconv-test.sh: New test loop for checking for
11789 2014-09-02 Khem Raj <raj.khem@gmail.com>
11791 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (fegetenv): Add
11794 2014-09-01 Allan McRae <allan@archlinux.org>
11796 * po/eo.po: Update Esperanto translation from translation project.
11798 * po/ca.po: Update Catalan translation from translation project.
11800 2014-08-28 Samuel Thibault <samuel.thibault@ens-lyon.org>
11802 * sysdeps/mach/hurd/fork.c (__fork): Lock SS->lock around
11803 __proc_dostop call.
11805 2014-08-27 Mark Wielaard <mjw@redhat.com>
11808 * sysdeps/i386/nptl/tls.h (TLS_INIT_TP): Use INTERNAL_SYSCALL
11809 to call set_thread_area instead of hand written asm.
11810 (__NR_set_thread_area): Removed define.
11811 (TLS_FLAG_WRITABLE): Likewise.
11812 (__ASSUME_SET_THREAD_AREA): Remove check.
11813 (TLS_EBX_ARG): Remove define.
11814 (TLS_LOAD_EBX): Likewise.
11816 2014-08-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
11818 Simplify atomicity of socket creation in bind.
11820 * sysdeps/mach/hurd/bind.c (__bind): Use dir_lookup(node, "") instead of
11821 looking up the name after linking the file.
11823 2014-08-27 Allan McRae <allan@archlinux.org>
11825 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
11827 2014-08-26 Florian Weimer <fweimer@redhat.com>
11830 * iconv/gconv_trans.c (struct known_trans, search_tree, lock,
11831 trans_compare, open_translit, __gconv_translit_find):
11832 Remove module loading code.
11834 2014-08-26 Allan McRae <allan@archlinux.org>
11836 * po/vi.po: Update Vietnamese translation from translation project.
11838 * po/uk.po: Update Ukrainian translation from translation project.
11840 * po/fr.po: Update French translation from translation project.
11842 * po/ru.po: Update Russian translation from translation project.
11844 * po/pl.po: Update Polish translation from translation project.
11846 * po/cs.po: Update Czech translation from translation project.
11848 * po/de.po: Update German translation from translation project.
11850 * po/bg.po: Update Bulgarian translation from translation project.
11852 * po/sv.po: Update Sweedish translation from translation project.
11854 * po/nl.po: Update Dutch translation from translation project.
11856 * po/es.po: Update Spanish translation from translation project.
11858 2014-08-21 Siddhesh Poyarekar <siddhesh@redhat.com>
11860 * nptl/Makefile (CFLAGS-pthread_atfork.c): Remove.
11862 * catgets/Makefile (CPPFLAGS-gencat): Remove.
11863 * iconv/Makefile (CPPFLAGS-iconv_prog): Likewise.
11864 (CPPFLAGS-iconvconfig): Likewise.
11865 * timezone/Makefile (CPPFLAGS-zic): Likewise.
11867 * include/libc-symbols.h: Remove unnecessary check for
11869 * nptl/pthreadP.h: Likewise.
11870 * sysdeps/aarch64/setjmp.S: Likewise.
11871 * sysdeps/alpha/setjmp.S: Likewise.
11872 * sysdeps/arm/sysdep.h: Likewise.
11873 * sysdeps/i386/setjmp.S: Likewise.
11874 * sysdeps/m68k/setjmp.c: Likewise.
11875 * sysdeps/posix/getcwd.c: Likewise.
11876 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
11877 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
11878 * sysdeps/s390/s390-32/setjmp.S: Likewise.
11879 * sysdeps/s390/s390-64/setjmp.S: Likewise.
11880 * sysdeps/sh/sh3/setjmp.S: Likewise.
11881 * sysdeps/sh/sh4/setjmp.S: Likewise.
11882 * sysdeps/unix/alpha/sysdep.h: Likewise.
11883 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
11884 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
11885 * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
11886 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
11887 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
11888 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
11889 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
11890 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
11891 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
11892 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
11893 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
11894 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
11895 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
11896 * sysdeps/x86_64/setjmp.S: Likewise.
11898 2014-08-13 Joseph Myers <joseph@codesourcery.com>
11901 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Include
11903 (__get_clockfreq): Use uint64_t instead of hp_timing_t in
11904 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK call.
11906 2014-08-13 Siddhesh Poyarekar <siddhesh@redhat.com>
11908 * sysdeps/x86/fpu/bits/mathinline.h: Fix typo in comment.
11911 * sysdeps/x86/fpu/bits/mathinline.h: Check both __SSE2_MATH__
11912 and __x86_64__ when disabling x87 inline functions.
11914 2014-08-12 H.J. Lu <hongjiu.lu@intel.com>
11917 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Replace cpuid
11918 asm statement with __cpuid_count.
11920 2014-08-12 Mike Frysinger <vapier@gentoo.org>
11922 * configure.ac: Change __ehdr_start code to dereference the struct.
11923 Run readelf on the output to look for relocations.
11924 * configure: Regenerated.
11926 2014-08-12 Joseph Myers <joseph@codesourcery.com>
11929 * sysdeps/powerpc/nofpu/fenv_const.c (__fe_enabled_env): Change
11931 (__fe_nonieee_env): Define as an alias for __fe_dfl_env.
11933 2014-08-12 Roland McGrath <roland@hack.frob.com>
11935 * NEWS: Mention x86-64 ld.so use of Intel MPX instructions.
11937 2014-08-12 Bernard Ogden <bernie.ogden@linaro.org>
11940 * sysdeps/nptl/lowlevellock.h (__lll_timedlock): Use
11941 atomic_compare_and_exchange_bool_acq rather than atomic_exchange_acq.
11943 2014-08-12 Sean Anderson <seanga2@gmail.com>
11945 * malloc/malloc.c: Fix typo in comment.
11947 2014-08-09 Allan McRae <allan@archlinux.org>
11949 * Regenerate libc.po.
11951 2014-08-08 Mike Frysinger <vapier@gentoo.org>
11953 * intl/tst-gettext2.sh: Check every lang file for creation.
11955 2014-08-07 Wilco Dijkstra <wdijkstr@arm.com>
11957 * sysdeps/aarch64/fpu/math_private.h
11958 (libc_feholdsetround_noex_aarch64_ctx): New function.
11960 2014-08-07 Wilco Dijkstra <wdijkstr@arm.com>
11962 * sysdeps/arm/armv6/strcpy.S (strcpy):
11963 Fix performance issue in misaligned cases.
11965 2014-08-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11967 * sysdeps/unix/sysv/linux/powerpc/bits/ioctl-types.h (struct winsize):
11968 Move definition from termios.h.
11969 (struct termio): Likewise.
11970 (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
11971 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
11972 N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
11973 N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
11975 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (struct winsize):
11976 Move definition to ioctl-types.h
11977 (struct termio): Likewise.
11978 (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
11979 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
11980 N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
11981 N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
11984 2014-08-05 Richard Henderson <rth@redhat.com>
11986 * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Always raise
11988 * sysdeps/alpha/soft-fp/Makefile [soft-fp] (sysdep_routines):
11990 * sysdeps/alpha/soft-fp/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
11991 Use __feraiseexcept.
11992 * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (feraiseexcept):
11993 Protect libm symbols with IS_IN_libm.
11995 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Remove file.
11997 2014-08-04 Bernard Ogden <bernie.ogden@linaro.org>
11999 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Remove file.
12001 2014-08-04 Will Newton <will.newton@linaro.org>
12003 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Remove
12006 2014-08-04 Mike Frysinger <vapier@gentoo.org>
12008 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Add nocancel
12009 variants for each function.
12011 2014-08-04 Roland McGrath <roland@hack.frob.com>
12013 * sysdeps/unix/sysv/linux/ia64/nptl/Makefile: File removed, contents
12015 * sysdeps/unix/sysv/linux/ia64/Makefile: ... here.
12016 * sysdeps/unix/sysv/linux/ia64/nptl/Versions: File removed, contents
12018 * sysdeps/unix/sysv/linux/ia64/Versions: ... here.
12019 * sysdeps/unix/sysv/linux/ia64/nptl/__ia64_longjmp.S: Moved ...
12020 * sysdeps/unix/sysv/linux/ia64/__ia64_longjmp.S: ... here.
12021 * sysdeps/unix/sysv/linux/ia64/nptl/__sigstack_longjmp.c: Moved ...
12022 * sysdeps/unix/sysv/linux/ia64/__sigstack_longjmp.c: ... here.
12023 * sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data: Moved ...
12024 * sysdeps/unix/sysv/linux/ia64/c++-types.data: ... here.
12025 * sysdeps/unix/sysv/linux/ia64/nptl/dl-sysdep.h: Moved ...
12026 * sysdeps/unix/sysv/linux/ia64/dl-sysdep.h: ... here.
12027 * sysdeps/unix/sysv/linux/ia64/nptl/ld.abilist: Moved ...
12028 * sysdeps/unix/sysv/linux/ia64/ld.abilist: ... here.
12029 * sysdeps/unix/sysv/linux/ia64/nptl/libBrokenLocale.abilist: Moved ...
12030 * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: ... here.
12031 * sysdeps/unix/sysv/linux/ia64/nptl/libanl.abilist: Moved ...
12032 * sysdeps/unix/sysv/linux/ia64/libanl.abilist: ... here.
12033 * sysdeps/unix/sysv/linux/ia64/nptl/libc.abilist: Moved ...
12034 * sysdeps/unix/sysv/linux/ia64/libc.abilist: ... here.
12035 * sysdeps/unix/sysv/linux/ia64/nptl/libcrypt.abilist: Moved ...
12036 * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: ... here.
12037 * sysdeps/unix/sysv/linux/ia64/nptl/libdl.abilist: Moved ...
12038 * sysdeps/unix/sysv/linux/ia64/libdl.abilist: ... here.
12039 * sysdeps/unix/sysv/linux/ia64/nptl/libm.abilist: Moved ...
12040 * sysdeps/unix/sysv/linux/ia64/libm.abilist: ... here.
12041 * sysdeps/unix/sysv/linux/ia64/nptl/libnsl.abilist: Moved ...
12042 * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: ... here.
12043 * sysdeps/unix/sysv/linux/ia64/nptl/libpthread.abilist: Moved ...
12044 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: ... here.
12045 * sysdeps/unix/sysv/linux/ia64/nptl/libresolv.abilist: Moved ...
12046 * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: ... here.
12047 * sysdeps/unix/sysv/linux/ia64/nptl/librt.abilist: Moved ...
12048 * sysdeps/unix/sysv/linux/ia64/librt.abilist: ... here.
12049 * sysdeps/unix/sysv/linux/ia64/nptl/libthread_db.abilist: Moved ...
12050 * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: ... here.
12051 * sysdeps/unix/sysv/linux/ia64/nptl/libutil.abilist: Moved ...
12052 * sysdeps/unix/sysv/linux/ia64/libutil.abilist: ... here.
12053 * sysdeps/unix/sysv/linux/ia64/nptl/localplt.data: Moved ...
12054 * sysdeps/unix/sysv/linux/ia64/localplt.data: ... here.
12055 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Moved ...
12056 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: ... here.
12057 * sysdeps/unix/sysv/linux/ia64/nptl/sysdep-cancel.h: Moved ...
12058 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: ... here.
12059 * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Moved ...
12060 * sysdeps/unix/sysv/linux/ia64/timer_create.c: ... here.
12061 * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Moved ...
12062 * sysdeps/unix/sysv/linux/ia64/timer_delete.c: ... here.
12063 * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Moved ...
12064 * sysdeps/unix/sysv/linux/ia64/timer_getoverr.c: ... here.
12065 * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Moved ...
12066 * sysdeps/unix/sysv/linux/ia64/timer_gettime.c: ... here.
12067 * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Moved ...
12068 * sysdeps/unix/sysv/linux/ia64/timer_settime.c: ... here.
12069 * sysdeps/unix/sysv/linux/ia64/nptl/unwind-forcedunwind.c: Moved ...
12070 * sysdeps/unix/sysv/linux/ia64/unwind-forcedunwind.c: ... here.
12072 * sysdeps/unix/sysv/linux/ia64/nptl/unwind_longjmp.c: Moved ...
12073 * sysdeps/unix/sysv/linux/ia64/unwind_longjmp.c: ... here.
12075 2014-08-04 Roland McGrath <roland@hack.frob.com>
12077 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h: Moved ...
12078 * sysdeps/ia64/nptl/bits/pthreadtypes.h: ... here.
12079 * sysdeps/unix/sysv/linux/ia64/nptl/bits/semaphore.h: Moved ...
12080 * sysdeps/ia64/nptl/bits/semaphore.h: ... here.
12081 * sysdeps/unix/sysv/linux/ia64/nptl/bits/local_lim.h: Moved ...
12082 * sysdeps/unix/sysv/linux/ia64/bits/local_lim.h: ... here.
12084 2014-08-04 Roland McGrath <roland@hack.frob.com>
12086 * nptl/sysdeps/pthread/createthread.c: Include <arch-fork.h>.
12087 * sysdeps/unix/sysv/linux/ia64/arch-fork.h (ARCH_CLONE): New macro.
12088 * sysdeps/ia64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
12089 * sysdeps/unix/sysv/linux/ia64/nptl/createthread.c: File removed.
12091 2014-08-04 Roland McGrath <roland@hack.frob.com>
12093 * sysdeps/unix/sysv/linux/ia64/nptl/vfork.S: Moved ...
12094 * sysdeps/unix/sysv/linux/ia64/vfork.S: ... here.
12095 (__libc_vfork): Define function under this name.
12096 (__vfork): Define as an alias.
12097 * sysdeps/unix/sysv/linux/ia64/pt-vfork.S: New file.
12098 * sysdeps/unix/sysv/linux/ia64/nptl/pt-vfork.S: File removed.
12100 2014-08-04 Roland McGrath <roland@hack.frob.com>
12102 * sysdeps/unix/sysv/linux/ia64/clone2.S: Deconditionalize the code
12103 that was previously under [RESET_PID].
12104 * sysdeps/unix/sysv/linux/ia64/nptl/clone2.S: File removed.
12106 2014-08-04 Andreas Schwab <schwab@suse.de>
12108 * sysdeps/ieee754/ldbl-96/s_fma.c: Include <math_private.h>.
12110 2014-08-03 Mike Frysinger <vapier@gentoo.org>
12112 * stdlib/tst-setcontext.c (test_stack): Fix coding style.
12115 2014-08-01 Roland McGrath <roland@hack.frob.com>
12117 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: File removed.
12119 2014-08-01 Richard Henderon <rth@redhat.com>
12121 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval before
12122 feclearexcept; use math_opt_barrier instead of open-coded asm; fix
12123 typo in exact zero test.
12124 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
12125 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
12126 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
12128 2014-08-01 Roland McGrath <roland@hack.frob.com>
12130 * sysdeps/unix/sysv/linux/arm/sysdep.h (PTR_MANGLE_LOAD, PTR_MANGLE)
12131 (PTR_MANGLE2, PTR_DEMANGLE, PTR_DEMANGLE2): Move these macros...
12132 * sysdeps/arm/sysdep.h: ... here.
12133 [!__ASSEMBLER__]: Include <stdint.h>.
12135 2014-08-01 Siddhesh Poyarekar <siddhesh@redhat.com>
12137 * include/libc-symbols.h (HAVE_LIBINTL_H): Define macro.
12138 (HAVE_WCTYPE_H): Likewise.
12139 (HAVE_ISWCTYPE): Likewise.
12140 (ENABLE_NLS): Likewise.
12141 * posix/regex_internal.h [(defined MB_CUR_MAX && HAVE_WCTYPE_H
12142 && HAVE_ISWCTYPE) || _LIBC]: Sync up with gnulib.
12144 * posix/regex_internal.c: Check if DEBUG is defined and is
12147 * include/libc-symbols.h (HAVE_MBSTATE_T): Define macro.
12148 (HAVE_MBSRTOWCS): Likewise.
12149 * posix/fnmatch.c: Include string.h unconditionally.
12151 2014-08-01 Stefan Liebler <stli@linux.vnet.ibm.com>
12153 * NEWS: Explain the s390 jmp_buf / ucontext_t ABI change
12156 2014-07-31 Roland McGrath <roland@hack.frob.com>
12158 * sysdeps/generic/safe-fatal.h: New file.
12159 * sysdeps/unix/sysv/linux/safe-fatal.h: New file.
12160 * nptl/forward.c: Include it.
12161 (__pthread_unwind): Use __safe_fatal as default action, rather
12162 than a bogus use of INTERNAL_SYSCALL that could never work.
12164 * config.h.in (HAVE_BUILTIN_TRAP): New #define to 0.
12165 * configure.ac (libc_cv_builtin_trap): New test.
12166 * configure: Regenerated.
12167 * sysdeps/generic/abort-instr.h [HAVE_BUILTIN_TRAP]
12168 (ABORT_INSTRUCTION): Define using __builtin_trap.
12170 * nptl/pthreadP.h (SIGCANCEL, SIGTIMER, SIGSETXID, __xidcmd): Moved ...
12171 * sysdeps/unix/sysv/linux/nptl-signals.h: ... to this new file.
12172 * sysdeps/nptl/nptl-signals.h: New file.
12173 * nptl/pthreadP.h: Include <nptl-signals.h>.
12175 2014-07-31 Stefan Liebler <stli@linux.vnet.ibm.com>
12177 * sysdeps/s390/s390-64/utf16-utf32-z9.c
12178 (ONE_DIRECTION): Define.
12179 * sysdeps/s390/s390-64/utf8-utf16-z9.c
12180 (ONE_DIRECTION): Define.
12181 * sysdeps/s390/s390-64/utf8-utf32-z9.c
12182 (ONE_DIRECTION): Define.
12184 2014-07-31 Stefan Liebler <stli@linux.vnet.ibm.com>
12186 * sysdeps/s390/Makefile: Delete file.
12187 * sysdeps/s390/Versions (GLIBC_2.19): Remove __setjmp.
12188 * sysdeps/s390/__longjmp.c: Delete file.
12189 * sysdeps/s390/bits/setjmp.h (__s390_jmp_buf):
12190 Remove fields __flags and __reserved.
12191 * sysdeps/s390/longjmp.c: Include setjmp/longjmp.c
12192 and add versioning.
12193 * sysdeps/s390/rtld-__longjmp.c: Delete file.
12194 * sysdeps/s390/rtld-global-offsets.sym: Likewise.
12195 * sysdeps/s390/rtld-setjmp.S: Likewise.
12196 * sysdeps/s390/s390-32/__longjmp-common.c: Move to ...
12197 * sysdeps/s390/s390-32/__longjmp.c: ... here.
12198 * sysdeps/s390/s390-32/setjmp-common.S: Move to ...
12199 * sysdeps/s390/s390-32/setjmp.S: ... here.
12201 (__sigsetjmp): Remove setting __flags field.
12202 * sysdeps/s390/s390-64/__longjmp-common.c:Move to ...
12203 * sysdeps/s390/s390-64/__longjmp.c: ... here.
12204 * sysdeps/s390/s390-64/setjmp-common.S: Move to ...
12205 * sysdeps/s390/s390-64/setjmp.S: ... here.
12207 (__sigsetjmp): Remove setting __flags field.
12208 * sysdeps/s390/setjmp.S: Delete file.
12209 * sysdeps/s390/sigjmp.c: Likewise.
12210 * sysdeps/s390/v1-longjmp.c: Likewise.
12211 * sysdeps/s390/v1-setjmp.h: Likewise.
12212 * sysdeps/s390/v1-sigjmp.c: Likewise.
12213 * sysdeps/unix/sysv/linux/s390/Makefile (sysdep_routines):
12214 Remove v1-longjmp_chk.
12215 * sysdeps/unix/sysv/linux/s390/getcontext.S: Delete file.
12216 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c:
12217 Include debug/longjmp_chk.c and add versioning.
12218 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c:
12219 Include nptl/pt-longjmp.c and add versioning.
12220 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: Delete file.
12221 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c:
12222 Include __longjmp.c.
12223 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
12225 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: ... here.
12226 (__getcontext): Remove setting __flags field.
12228 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
12229 Don't restore upper high grps.
12230 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S:
12232 (__swapcontext): Remove setting uc_flags field.
12233 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym:
12235 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
12236 Include __longjmp.c.
12237 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
12239 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: ... here.
12240 (__getcontext): Remove setting __flags field.
12242 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S:
12243 (__swapcontext): Remove setting uc_flags field.
12244 * unix/sysv/linux/s390/s390-64/ucontext_i.sym: Delete file.
12245 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (ucontext):
12246 Remove fields uc_high_gprs and __reserved.
12247 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym:
12248 New file with reverted content.
12249 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: Delete file.
12250 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist:
12252 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist:
12255 2014-07-31 Andreas Schwab <schwab@suse.de>
12257 * config.h.in (HAVE_IFUNC): Define to 0.
12258 * rt/clock-compat.c [HAVE_IFUNC]: Check for value, not
12261 2014-07-30 Ling Ma <ling.ml@alibaba-inc.com>
12263 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
12264 memmove-avx-unaligned, memcpy-avx-unaligned and
12265 mempcpy-avx-unaligned.
12266 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
12267 Add tests for AVX memcpy functions.
12268 * sysdeps/x86_64/multiarch/memcpy.S: Add support for AVX memcpy.
12269 * sysdeps/x86_64/multiarch/memcpy_chk.S: Add support for AVX
12271 * sysdeps/x86_64/multiarch/memmove.c: Add support for AVX memmove.
12272 * sysdeps/x86_64/multiarch/memmove_chk.c: Add support for AVX
12274 * sysdeps/x86_64/multiarch/mempcpy.S: Add support for AVX mempcpy.
12275 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Add support for AVX
12277 * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: New file.
12278 * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: New file.
12279 * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: New file.
12281 2013-07-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12284 * sysdeps/powerpc/powerpc64/entry.h: Fix TEXT_START definition for
12287 2014-07-29 Jeff Layton <jlayton@poochiereds.net>
12290 * manual/llio.texi: Add section about open file description locks.
12291 * manual/examples/ofdlocks.c: Example of open file description
12293 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Define F_OFD_GETLK,
12294 F_OFD_SETLK, and F_OFD_SETLKW.
12296 2014-07-23 Allan McRae <allan@archlinux.org>
12298 * po/es.po: Update Spanish translation from translation project.
12300 2014-07-18 Andreas Schwab <schwab@linux-m68k.org>
12302 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Removed.
12304 2014-07-17 Maciej W. Rozycki <macro@codesourcery.com>
12307 * sysdeps/arm/dl-machine.h (elf_machine_rela)
12308 [RESOLVE_CONFLICT_FIND_MAP]: Handle R_ARM_TLS_DESC relocation.
12309 (elf_machine_lazy_rel): Handle prelinked R_ARM_TLS_DESC entries.
12311 2014-07-17 Joseph Myers <joseph@codesourcery.com>
12314 * math/fesetenv.c (__fesetenv)
12315 [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Return 1 for FE_NOMASK_ENV.
12316 * math/feupdateenv.c (__feupdateenv)
12317 [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Likewise.
12319 * sysdeps/unix/sysv/linux/s390/kernel-features.h: New file.
12320 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
12321 (__ASSUME_SOCKETCALL): Do not define.
12323 * sysdeps/unix/sysv/linux/sh/kernel-features.h: New file.
12324 * sysdeps/unix/sysv/linux/kernel-features.h [__sh__]
12325 (__ASSUME_SOCKETCALL): Do not define.
12326 (__ASSUME_ST_INO_64_BIT): Define unconditionally.
12327 [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
12328 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
12329 [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
12330 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
12331 [__LINUX_KERNEL_VERSION >= 0x030000 && __sh__]
12332 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
12333 [__sh__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
12335 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: New file.
12336 * sysdeps/unix/sysv/linux/kernel-features.h [__powerpc__]
12337 (__ASSUME_SOCKETCALL): Do not define.
12338 (__ASSUME_IPC64): Define unconditionally.
12339 [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
12340 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
12341 [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
12342 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
12343 [__LINUX_KERNEL_VERSION >= 0x030000 && __powerpc__]
12344 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
12345 [__powerpc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL):
12348 * sysdeps/unix/sysv/linux/sparc/kernel-features.h: New file.
12349 * sysdeps/unix/sysv/linux/kernel-features.h [__sparc__]
12350 (__ASSUME_SOCKETCALL): Do not define.
12351 (__ASSUME_SET_ROBUST_LIST): Define unconditionally.
12352 (__ASSUME_FUTEX_LOCK_PI): Likewise.
12353 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL): Do not define.
12354 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
12355 (__ASSUME_REQUEUE_PI): Define unconditionally.
12356 [__LINUX_KERNEL_VERSION >= 0x020621 && __sparc__]
12357 (__ASSUME_RECVMMSG_SYSCALL): Do not define.
12358 [__sparc__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
12359 [__LINUX_KERNEL_VERSION >= 0x030000 && __sparc__]
12360 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
12361 [__sparc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
12363 * sysdeps/unix/sysv/linux/i386/kernel-features.h: New file.
12364 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__]
12365 (__ASSUME_SOCKETCALL): Do not define.
12366 [__LINUX_KERNEL_VERSION >= 0x020621 && __i386__]
12367 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
12368 [__i386__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
12369 [__LINUX_KERNEL_VERSION >= 0x030000 && __i386__]
12370 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
12371 [__i386__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
12373 * sysdeps/unix/sysv/linux/x86_64/kernel-features.h: New file.
12374 * sysdeps/unix/sysv/linux/kernel-features.h [__x86_64__]
12375 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
12376 [__LINUX_KERNEL_VERSION >= 0x020621 && __x86_64__]
12377 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
12378 [__LINUX_KERNEL_VERSION >= 0x030000 && __x86_64__]
12379 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
12380 [__x86_64__ && __LINUX_KERNEL_VERSION >= 0x030100]
12381 (__ASSUME_GETCPU_SYSCALL): Likewise.
12383 * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): New macro.
12384 * sysdeps/gnu/configure.ac: Use LIBC_SLIBDIR_RTLDDIR. Remove
12385 cases for individual architectures.
12386 * sysdeps/gnu/configure: Regenerated.
12387 * sysdeps/unix/sysv/linux/aarch64/configure.ac: Use
12388 LIBC_SLIBDIR_RTLDDIR.
12389 * sysdeps/unix/sysv/linux/aarch64/configure: Regenerated.
12390 * sysdeps/unix/sysv/linux/mips/configure.ac: Use
12391 LIBC_SLIBDIR_RTLDDIR.
12392 * sysdeps/unix/sysv/linux/mips/configure: Regenerated.
12393 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: Use
12394 LIBC_SLIBDIR_RTLDDIR.
12395 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
12397 * sysdeps/unix/sysv/linux/s390/s390-64/configure.ac: New file.
12398 * sysdeps/unix/sysv/linux/s390/s390-64/configure: New generated
12400 * sysdeps/unix/sysv/linux/sparc/sparc64/configure.ac: New file.
12401 * sysdeps/unix/sysv/linux/sparc/sparc64/configure: New generated
12403 * sysdeps/unix/sysv/linux/x86_64/64/configure.ac: New file.
12404 * sysdeps/unix/sysv/linux/x86_64/64/configure: New generated file.
12405 * sysdeps/unix/sysv/linux/x86_64/x32/configure.ac: New file.
12406 * sysdeps/unix/sysv/linux/x86_64/x32/configure: Generate.
12408 * sysdeps/aarch64/shlib-versions: Move to ...
12409 * sysdeps/unix/sysv/linux/aarch64/shlib-versions: ... here.
12410 * sysdeps/alpha/shlib-versions: Move to ...
12411 * sysdeps/unix/sysv/linux/alpha/shlib-versions: ... here.
12412 * sysdeps/arm/shlib-versions: Move to ...
12413 * sysdeps/unix/sysv/linux/arm/shlib-versions: ... here.
12414 * sysdeps/hppa/shlib-versions: Move all contents except for
12415 libgcc_s entry to ...
12416 * sysdeps/unix/sysv/linux/hppa/shlib-versions: ... here. Merge in
12418 * sysdeps/hppa/nptl/shlib-versions: ... here. Remove file.
12419 * sysdeps/ia64/shlib-versions: Move to ...
12420 * sysdeps/unix/sysv/linux/ia64/shlib-versions: ... here. Merge in
12422 * sysdeps/ia64/nptl/shlib-versions: ... here. Remove file.
12423 * sysdeps/m68k/coldfire/shlib-versions: Move to ...
12424 * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: ... here.
12425 * sysdeps/microblaze/shlib-versions: Move to ...
12426 * sysdeps/unix/sysv/linux/microblaze/shlib-versions: ... here.
12427 * sysdeps/mips/shlib-versions: Move to ...
12428 * sysdeps/unix/sysv/linux/mips/shlib-versions: ... here. Merge in
12430 * sysdeps/mips/nptl/shlib-versions: ... here. Remove file.
12431 * sysdeps/tile/shlib-versions: Move to ...
12432 * sysdeps/unix/sysv/linux/tile/shlib-versions: ... here.
12433 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Merge in entry
12435 * sysdeps/x86_64/64/shlib-versions: ... here. Remove file.
12436 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Merge in
12438 * sysdeps/x86_64/x32/shlib-versions: ... here. Remove file.
12440 2014-07-17 Will Newton <will.newton@linaro.org>
12442 * sysdeps/arm/bits/atomic.h
12443 (__arch_compare_and_exchange_bool_8_int): Evaluate to zero.
12444 (__arch_compare_and_exchange_bool_16_int): Likewise.
12445 (__arch_compare_and_exchange_bool_64_int): Likewise.
12447 * iconv/loop.c: Move definition of LOOPFCT and gconv_btowc
12448 into an #else block.
12450 2014-07-16 Roland McGrath <roland@hack.frob.com>
12452 * sysdeps/arm/preconfigure.ac: Apply EABI sanity check to arm*, not
12453 just Linux configurations. Test empirically that the compiler sets
12454 __ARM_EABI__, rather than using the tuple to decide.
12455 * sysdeps/arm/preconfigure: Regenerated.
12456 * sysdeps/unix/sysv/linux/arm/configure: File removed.
12457 * sysdeps/unix/sysv/linux/arm/configure.ac: File removed,
12458 contents appended ...
12459 * sysdeps/arm/configure.ac: ... here.
12460 * sysdeps/arm/configure: Regenerated.
12462 2014-07-15 Roland McGrath <roland@hack.frob.com>
12464 * nptl/pthread_kill.c: New file.
12465 * nptl/pthread_sigmask.c: New file.
12466 * nptl/pthread_sigqueue.c: New file.
12468 * sysdeps/nptl/lowlevellock.h: New file.
12469 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: New file.
12470 * sysdeps/nptl/lowlevellock-futex.h: New file.
12472 * nptl/pthreadP.h (__current_sigrtmin, __current_sigrtmax):
12473 Remove dead declarations.
12475 2014-07-14 H.J. Lu <hongjiu.lu@intel.com>
12477 * config.h.in (HAVE_AVX2_SUPPORT): New #undef.
12478 * sysdeps/i386/configure.ac: Set HAVE_AVX2_SUPPORT and
12479 config-cflags-avx2.
12480 * sysdeps/x86_64/configure.ac: Likewise.
12481 * sysdeps/i386/configure: Regenerated.
12482 * sysdeps/x86_64/configure: Likewise.
12483 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
12484 memset-avx2 only if config-cflags-avx2 is yes.
12485 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
12486 Tests for memset_chk and memset only if HAVE_AVX2_SUPPORT is
12488 * sysdeps/x86_64/multiarch/memset.S: Define multiple versions
12489 only if HAVE_AVX2_SUPPORT is defined.
12490 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
12492 2014-07-14 Alan Modra <amodra@gmail.com>
12495 * elf/elf.h (DT_PPC64_NUM): Correct value.
12496 * NEWS: Add to fixed bug list.
12498 2014-07-13 Jim Meyering <meyering@fb.com>
12501 regex: don't deref NULL upon heap allocation failure
12502 * posix/regcomp.c: (parse_dup_op): Handle duplicate_tree
12503 failure in one more place.
12504 To trigger the segfault, configure grep -with-included-regex,
12505 build it, and run these commands:
12506 ( ulimit -v 300000; echo a|src/grep -E a+++++++++++++++++++++ )
12508 2014-07-13 Andreas Schwab <schwab@linux-m68k.org>
12510 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
12512 2014-07-11 Richard Henderson <rth@redhat.com>
12514 * sysdeps/aarch64/libm-test-ulps: Update.
12516 2014-07-10 Florian Weimer <fweimer@redhat.com>
12519 * nptl/pthreadP.h (__nptl_setxid_error): Declare function.
12520 * nptl/allocatestack.c (__nptl_setxid_error): New function.
12521 (__nptl_setxid): Initialize error member. Call
12522 __nptl_setxid_error.
12523 * nptl/nptl-init.c (sighandler_setxid): Call __nptl_setxid_error.
12524 * nptl/descr.h (struct xid_command): Add error member.
12525 * nptl/tst-setuid3.c: New file.
12526 * nptl/Makefile (tests): Add it.
12528 2014-07-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12530 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h (__lll_base_trylock):
12532 (__lll_trylock): Use __lll_base_trylock.
12533 (__lll_cond_trylock): Likewise.
12535 2014-07-10 Roland McGrath <roland@hack.frob.com>
12537 * nptl/pthread_create.c (start_thread): Use atomic_or and
12538 lll_futex_wake directly rather than lll_robust_dead.
12539 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
12540 (lll_robust_dead): Macro removed.
12541 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Likewise.
12542 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
12543 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
12544 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
12545 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
12546 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
12547 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
12548 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
12549 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
12550 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
12551 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
12552 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
12553 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
12554 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
12555 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
12557 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
12558 Use atomic_compare_and_exchange_val_acq directly rather than
12559 lll_robust_trylock.
12560 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
12561 (__lll_robust_trylock, lll_robust_trylock): Removed.
12562 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
12563 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
12564 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
12565 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
12566 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
12567 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
12568 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
12569 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
12570 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
12571 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
12572 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
12573 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
12574 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
12575 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
12577 2014-07-02 Florian Weimer <fweimer@redhat.com>
12579 * manual/locale.texi (Locale Names): New section documenting
12580 locale name syntax. Adjust menu and node chaining accordingly.
12581 (Choosing Locale): Reference Locale Names, Locale Categories.
12582 Mention setting LC_ALL=C. Reflect that name syntax is now
12584 (Locale Categories): New section title. Reference Locale Names.
12585 LC_ALL is an environment variable, but not a category.
12586 (Setting the Locale): Remove "locale -a" invocation and LOCPATH
12587 description, now in Locale Name. Reference that section. Locale
12588 name syntax is now documented.
12590 2014-07-02 Florian Weimer <fweimer@redhat.com>
12593 * locale/findlocale.c (name_present, valid_locale_name): New
12595 (_nl_find_locale): Use the loc_name variable to store name
12596 candidates. Call name_present and valid_locale_name to check and
12597 validate locale names. Return an error if the locale is invalid.
12599 2014-07-02 Florian Weimer <fweimer@redhat.com>
12601 * locale/setlocale.c (setlocale): Use strdup for allocating
12602 composite name copy.
12604 2014-07-10 Siddhesh Poyarekar <siddhesh@redhat.com>
12606 Sync up with gnulib.
12607 * misc/error.c: Use !_LIBC instead of HAVE_CONFIG_H.
12608 [!_LIBC && ENABLE_NLS]: Include gettext.h.
12609 [_LIBC]: Define USE_UNLOCKED_IO, _GL_ATTRIBUTE_FORMAT_PRINTF
12610 and _GL_ARG_NONNULL.
12611 [USE_UNLOCKED_IO]: Include unlocked-io.h.
12612 [!_LIBC]: Include code for Windows and Cygwin.
12613 [!_LIBC && !HAVE_DECL_STRERROR_R && !STRERROR_R_CHAR_P]:
12614 Include prototype for int strerror_r.
12615 [!_LIBC] (is_open): New function.
12616 (flush_stdout): New function.
12617 (print_errno_message): Use it.
12619 (error_at_line): Likewise.
12620 (error_tail) Add function attribute macros. Use
12623 * time/strptime_l.c [_LIBC]: Define HAVE_LOCALTIME_R.
12625 * time/strftime_l.c [_LIBC]: Define HAVE_STRFTIME.
12627 * io/ftw.c: Include sys/param.h unconditionally.
12629 * locale/programs/simple-hash.c [!HAVE_OBSTACK]: Remove code.
12632 * sysdeps/unix/sysv/linux/check_pf.c (cache): Don't use
12634 (freecache): New function to free CACHE on exit.
12636 * sunrpc/xdr.c (xdr_string): Add comment about SIZE
12639 2014-07-09 David S. Miller <davem@davemloft.net>
12641 * sysdeps/sparc/fpu/libm-test-ulps: Update.
12643 * sysdeps/sparc/nptl/internaltypes.h: Delete.
12644 * sysdeps/sparc/nptl/sparc-nptl.h: New file.
12645 * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Include it.
12646 * sysdeps/sparc/nptl/pthread_barrier_init.c: Likewise.
12647 * sysdeps/sparc/nptl/pthread_barrier_wait.c: Likewise.
12648 * sysdeps/sparc/nptl/sem_init.c: Likewise.
12649 * sysdeps/sparc/nptl/sem_post.c: Likewise.
12650 * sysdeps/sparc/nptl/sem_timedwait.c: Likewise.
12651 * sysdeps/sparc/nptl/sem_wait.c: Likewise.
12652 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Likewise.
12653 * sysdeps/sparc/sparc32/nptl/sem_post.c: Likewise.
12654 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Likewise.
12655 * sysdeps/sparc/sparc32/nptl/sem_wait.c: Likewise.
12657 2014-07-09 Andreas Schwab <schwab@suse.de>
12659 * sysdeps/powerpc/test-gettimebase.c (do_test): Add newline to
12661 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c
12662 (do_test): Likewise.
12664 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
12666 2014-07-09 Will Newton <will.newton@linaro.org>
12668 * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Test SHARED with #ifdef.
12669 * sysdeps/arm/tlsdesc.c (_dl_unmap): Likewise.
12670 * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
12671 * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
12672 * sysdeps/hppa/start.S (_start): Likewise.
12674 2014-07-09 Siddhesh Poyarekar <siddhesh@redhat.com>
12676 * sunrpc/xdr.c (xdr_string): Initialize SIZE to 0.
12678 * sysdeps/generic/unwind-pe.h: Only check if __cplusplus is
12681 2014-07-08 Siddhesh Poyarekar <siddhesh@redhat.com>
12683 * resolv/res_query.c (__libc_res_nsearch): Dereference resplen2
12684 after checking that it is non-NULL.
12686 * sysdeps/i386/dl-machine.h: Define ELF_MACHINE_NO_REL.
12688 2014-07-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12690 * sysdeps/powerpc/memmove.c: Remove file.
12691 * sysdeps/powerpc/powerpc32/power4/memcopy.h
12692 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Define it to 1.
12693 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
12694 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Remove define.
12695 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c:
12696 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Likewise.
12697 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Include default
12698 string memmove instead of removed powerpc one.
12700 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
12701 [weak_alias]: Fix compiler warning due trailing data.
12702 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S:
12703 [weak_alias]: Likewise.
12704 * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Fix compile
12705 warnigs due missing definition of __strcpy_power7 and __strlen_power7.
12707 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
12708 (__libc_ifunc_impl_list): Add memmove functions.
12710 2014-07-08 Siddhesh Poyarekar <siddhesh@redhat.com>
12712 * localedata/tests-mbwc/dat_iswalnum.c [SHOJI_IS_RIGHT]:
12714 * localedata/tests-mbwc/dat_iswalpha.c [SHOJI_IS_RIGHT]:
12716 * localedata/tests-mbwc/dat_iswctype.c [SHOJI_IS_RIGHT]:
12718 * localedata/tests-mbwc/dat_iswgraph.c [SHOJI_IS_RIGHT]:
12720 * localedata/tests-mbwc/dat_iswprint.c [SHOJI_IS_RIGHT]:
12722 * localedata/tests-mbwc/dat_iswpunct.c [SHOJI_IS_RIGHT]:
12724 * localedata/tests-mbwc/dat_mbrlen.c [SHOJI_IS_RIGHT]:
12726 * localedata/tests-mbwc/dat_mbstowcs.c [SHOJI_IS_RIGHT]:
12728 * localedata/tests-mbwc/dat_mbtowc.c [SHOJI_IS_RIGHT]:
12730 * localedata/tests-mbwc/dat_strcoll.c [SHOJI_IS_RIGHT]:
12732 * localedata/tests-mbwc/dat_swscanf.c [SHOJI_IS_RIGHT]:
12734 * localedata/tests-mbwc/dat_towctrans.c [SHOJI_IS_RIGHT]:
12736 * localedata/tests-mbwc/dat_wcscoll.c [SHOJI_IS_RIGHT]:
12738 * localedata/tests-mbwc/dat_wcswidth.c [SHOJI_IS_RIGHT]:
12740 * localedata/tests-mbwc/dat_wctob.c [SHOJI_IS_RIGHT]:
12742 * localedata/tests-mbwc/dat_wcwidth.c [SHOJI_IS_RIGHT]:
12744 * localedata/tests-mbwc/tst_towctrans.c [SHOJI_IS_RIGHT]:
12747 2014-07-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12749 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Align VSX copies to 16B
12750 to avoid alignment traps in non-cacheable memory.
12751 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
12753 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memmove
12755 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c: New
12756 file: multiarch power7 memmove.
12757 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c: New file:
12758 multiarch default memmove.
12759 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: New file:
12760 multiarch memove for powerpc32/power4.
12762 * string/bcopy.c: Use full path to include memmove.c.
12763 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memmove and bcopy
12765 * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c: New file: default
12766 bcopy for powerpc64.
12767 * sysdeps/powerpc/powerpc64/multiarch/bcopy.c: New file: multiarch
12768 bcopy for powerpc64.
12769 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add bcopy
12770 and memmove implementations.
12771 * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: New file:
12772 optimized multiarch memmove for POWER7/powerpc64.
12773 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: New file:
12774 default multiarch memmove for powerpc64.
12775 * sysdeps/powerpc/powerpc64/multiarch/memmove.c: New file: memmove
12776 multiarch for powerpc64.
12777 * sysdeps/powerpc/powerpc64/power7/bcopy.c: New file: optimized bcopy
12778 for POWER7/powerpc64.
12779 * sysdeps/powerpc/powerpc64/power7/memmove.S: New file: optimized
12780 memmove for POWER7/powerpc64.
12782 * sysdeps/powerpc/memmove.c (memmove): Cleanup impplementation to use
12785 * sysdeps/powerpc/bits/link.h [_CALL_ELF]: Guard check for
12786 __ELF_NATIVE_CLASS equal to 64.
12788 2014-07-07 Roland McGrath <roland@hack.frob.com>
12790 * sysdeps/nptl/lowlevellock.h: File removed.
12792 * NEWS: NPTL is no longer an add-on!
12793 * nptl/internaltypes.h: Moved ...
12794 * sysdeps/nptl/internaltypes.h: ... here.
12795 * sysdeps/nptl/aio_misc.h: Use <nptl/pthreadP.h> in #include.
12796 * sysdeps/nptl/fork.c: Likewise.
12797 * sysdeps/nptl/gai_misc.h: Likewise.
12798 * sysdeps/nptl/librt-cancellation.c: Likewise.
12799 * sysdeps/nptl/jmp-unwind.c: Likewise.
12800 * sysdeps/nptl/setxid.h: Likewise.
12801 * sysdeps/unix/sysv/linux/aarch64/Implies: New file.
12802 * sysdeps/unix/sysv/linux/alpha/Implies: Add alpha/nptl.
12803 * sysdeps/unix/sysv/linux/arm/Implies: New file.
12804 * sysdeps/unix/sysv/linux/hppa/Implies: New file.
12805 * sysdeps/unix/sysv/linux/i386/Implies: Add i386/nptl.
12806 * sysdeps/unix/sysv/linux/i386/i686/Implies: New file.
12807 * sysdeps/unix/sysv/linux/ia64/Implies: Add ia64/nptl.
12808 * sysdeps/unix/sysv/linux/m68k/Implies: New file.
12809 * sysdeps/unix/sysv/linux/microblaze/Implies: New file.
12810 * sysdeps/unix/sysv/linux/mips/Implies: New file.
12811 * sysdeps/unix/sysv/linux/powerpc/Implies: New file.
12812 * sysdeps/unix/sysv/linux/s390/Implies: Add s390/nptl.
12813 * sysdeps/unix/sysv/linux/sh/Implies: New file.
12814 * sysdeps/unix/sysv/linux/sparc/Implies: New file.
12815 * sysdeps/unix/sysv/linux/tile/Implies: New file.
12816 * sysdeps/unix/sysv/linux/x86_64/Implies: Add x86_64/nptl.
12817 * sysdeps/unix/sysv/linux/x86_64/x32/Implies: New file.
12818 * nptl/Makeconfig: Moved ...
12819 * sysdeps/nptl/Makeconfig: ... here.
12820 * nptl/configure: File removed.
12821 * nptl/ANNOUNCE: File removed.
12822 * sysdeps/unix/sysv/linux/configure.ac: Remove nptl sanity check.
12823 * sysdeps/unix/sysv/linux/configure: Regenerated.
12825 * nptl/Makefile (routines): Add libc_pthread_init,
12826 libc_multiple_threads, register-atfork and unregister-atfork.
12827 (libpthread-routines): Add pthread_mutex_cond_lock and pt-fork here.
12828 (gen-as-const-headers): Add lowlevelcond.sym, lowlevelrwlock.sym,
12829 lowlevelbarrier.sym, unwindbuf.sym, lowlevelrobustlock.sym,
12830 pthread-pi-defines.sym, structsem.sym.
12831 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = posix]
12832 (CFLAGS-fork.c, CFLAGS-getpid.o, CFLAGS-getpid.os): New variables.
12833 [$(subdir) = nptl] (tests): Add tst-setgetname.
12834 * nptl/sysdeps/unix/sysv/linux/Makefile: File removed.
12835 * sysdeps/unix/sysv/linux/sigaction.c: Just include
12836 <nptl/sigaction.c> directly here, instead of WRAPPER_INCLUDE.
12837 [!LIBC_SIGACTION]: Remove aliases.
12838 * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
12839 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
12840 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
12841 * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
12842 * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
12843 * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
12844 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
12845 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
12846 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
12847 * nptl/Versions (libc: GLIBC_2.3.2): Add __register_atfork.
12848 (libc: GLIBC_PRIVATE): Add __libc_pthread_init,
12849 __libc_current_sigrtmin_private, __libc_current_sigrtmax_private,
12850 __libc_allocate_rtsig_private.
12851 * nptl/sysdeps/unix/sysv/linux/Versions: File removed.
12852 * sysdeps/unix/sysv/linux/sigtimedwait.c: Include <nptl/pthreadP.h>.
12853 * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
12854 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
12855 * sysdeps/unix/sysv/linux/sleep.c: Likewise.
12856 * nptl/sysdeps/unix/sysv/linux/sigwait.c: File removed.
12857 * nptl/sysdeps/unix/sysv/linux/sigtimedwait.c: File removed.
12858 * nptl/sysdeps/unix/sysv/linux/sigwaitinfo.c: File removed.
12859 * nptl/sysdeps/unix/sysv/linux/sleep.c: File removed.
12860 * nptl/sysdeps/unix/sysv/linux/createthread.c: File removed.
12861 * sysdeps/unix/sysv/linux/ia64/fork.S: File removed.
12862 * nptl/sysdeps/unix/sysv/linux/internaltypes.h: Moved ...
12863 * nptl/internaltypes.h: ... here.
12864 * nptl/sysdeps/unix/sysv/linux/jmp-unwind.c: Moved ...
12865 * sysdeps/nptl/jmp-unwind.c: ... here.
12866 * nptl/sysdeps/unix/sysv/linux/libc-lowlevellock.c: Moved ...
12867 * nptl/libc-lowlevellock.c: ... here.
12868 * nptl/sysdeps/unix/sysv/linux/libc_multiple_threads.c: Moved ...
12869 * nptl/libc_multiple_threads.c: ... here.
12870 * nptl/sysdeps/unix/sysv/linux/libc_pthread_init.c: Moved ...
12871 * nptl/libc_pthread_init.c: ... here.
12872 * nptl/sysdeps/unix/sysv/linux/lowlevelbarrier.sym: Moved ...
12873 * nptl/lowlevelbarrier.sym: ... here.
12874 * nptl/sysdeps/unix/sysv/linux/lowlevelcond.sym: Moved ...
12875 * nptl/lowlevelcond.sym: ... here.
12876 * nptl/sysdeps/unix/sysv/linux/lowlevellock.c: Moved ...
12877 * nptl/lowlevellock.c: ... here.
12878 * nptl/lowlevellock.h: Moved ...
12879 * sysdeps/nptl/lowlevellock.h: ... here.
12880 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Moved ...
12881 * nptl/lowlevelrobustlock.c: ... here.
12882 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.sym: Moved ...
12883 * nptl/lowlevelrobustlock.sym: ... here.
12884 * nptl/sysdeps/unix/sysv/linux/lowlevelrwlock.sym: Moved ...
12885 * nptl/lowlevelrwlock.sym: ... here.
12886 * nptl/sysdeps/unix/sysv/linux/pt-fork.c: Moved ...
12887 * nptl/pt-fork.c: ... here.
12888 * nptl/sysdeps/unix/sysv/linux/pthread-pi-defines.sym: Moved ...
12889 * nptl/pthread-pi-defines.sym: ... here.
12890 * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Moved ...
12891 * nptl/pthread_attr_getaffinity.c: ... here.
12892 * nptl/sysdeps/unix/sysv/linux/pthread_attr_setaffinity.c: Moved ...
12893 * nptl/pthread_attr_setaffinity.c: ... here.
12894 * nptl/sysdeps/unix/sysv/linux/pthread_mutex_cond_lock.c: Moved ...
12895 * nptl/pthread_mutex_cond_lock.c: ... here.
12896 * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
12898 * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Likewise.
12899 * nptl/sysdeps/unix/sysv/linux/pthread_once.c: Moved ...
12900 * nptl/pthread_once.c: ... here, replacing old file.
12901 * nptl/sysdeps/unix/sysv/linux/pthread_yield.c: Moved ...
12902 * nptl/pthread_yield.c: ... here.
12903 * nptl/sysdeps/unix/sysv/linux/register-atfork.c: Moved ...
12904 * nptl/register-atfork.c: ... here.
12905 * nptl/sysdeps/unix/sysv/linux/sem_post.c: Moved ...
12906 * nptl/sem_post.c: ... here.
12907 * sysdeps/unix/sysv/linux/alpha/sem_post.c: Update #include.
12908 * nptl/sysdeps/unix/sysv/linux/sem_timedwait.c: Moved ...
12909 * nptl/sem_timedwait.c: ... here.
12910 * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Moved ...
12911 * nptl/sem_trywait.c: ... here.
12912 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Update #include.
12913 * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Moved ...
12914 * nptl/sem_wait.c: ... here.
12915 * nptl/sysdeps/unix/sysv/linux/structsem.sym: Moved ...
12916 * nptl/structsem.sym: ... here.
12917 * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Moved ...
12918 * sysdeps/unix/sysv/linux/mq_notify.c: ... here, replacing old file.
12919 * nptl/sysdeps/unix/sysv/linux/unregister-atfork.c: Moved ...
12920 * nptl/unregister-atfork.c: ... here.
12921 * nptl/sysdeps/unix/sysv/linux/unwindbuf.sym: Moved ...
12922 * nptl/unwindbuf.sym: ... here.
12923 * nptl/sysdeps/unix/sysv/linux/fork.c: Moved ...
12924 * sysdeps/nptl/fork.c: ... here.
12925 * nptl/sysdeps/unix/sysv/linux/fork.h: Moved ...
12926 * sysdeps/nptl/fork.h: ... here.
12927 * sysdeps/unix/sysv/linux/syscalls.list: Remove fork.
12928 * nptl/sysdeps/unix/sysv/linux/aio_misc.h: Moved ...
12929 * sysdeps/unix/sysv/linux/aio_misc.h: ... here.
12930 * nptl/sysdeps/unix/sysv/linux/allocrtsig.c: Moved ...
12931 * sysdeps/unix/sysv/linux/allocrtsig.c: ... here.
12932 * nptl/sysdeps/unix/sysv/linux/getpid.c: Moved ...
12933 * sysdeps/unix/sysv/linux/getpid.c: ... here.
12934 * nptl/sysdeps/unix/sysv/linux/kernel-posix-timers.h: Moved ...
12935 * sysdeps/unix/sysv/linux/kernel-posix-timers.h: ... here.
12936 * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Moved ...
12937 * sysdeps/unix/sysv/linux/pt-raise.c: ... here.
12938 * nptl/sysdeps/unix/sysv/linux/pthread_getaffinity.c: Moved ...
12939 * sysdeps/unix/sysv/linux/pthread_getaffinity.c: ... here.
12940 * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Moved ...
12941 * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: ... here.
12942 * nptl/sysdeps/unix/sysv/linux/pthread_getname.c: Moved ...
12943 * sysdeps/unix/sysv/linux/pthread_getname.c: ... here.
12944 * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Moved ...
12945 * sysdeps/unix/sysv/linux/pthread_kill.c: ... here.
12946 * nptl/sysdeps/unix/sysv/linux/pthread_setaffinity.c: Moved ...
12947 * sysdeps/unix/sysv/linux/pthread_setaffinity.c: ... here.
12948 * nptl/sysdeps/unix/sysv/linux/pthread_setname.c: Moved ...
12949 * sysdeps/unix/sysv/linux/pthread_setname.c: ... here.
12950 * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Moved ...
12951 * sysdeps/unix/sysv/linux/pthread_sigqueue.c: ... here.
12952 * nptl/sysdeps/unix/sysv/linux/raise.c: Moved ...
12953 * sysdeps/unix/sysv/linux/raise.c: ... here.
12954 * nptl/sysdeps/unix/sysv/linux/timer_create.c: Moved ...
12955 * sysdeps/unix/sysv/linux/timer_create.c: ... here.
12956 * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Moved ...
12957 * sysdeps/unix/sysv/linux/timer_delete.c: ... here.
12958 * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Moved ...
12959 * sysdeps/unix/sysv/linux/timer_getoverr.c: ... here.
12960 * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Moved ...
12961 * sysdeps/unix/sysv/linux/timer_gettime.c: ... here.
12962 * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Moved ...
12963 * sysdeps/unix/sysv/linux/timer_routines.c: ... here.
12964 * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Moved ...
12965 * sysdeps/unix/sysv/linux/timer_settime.c: ... here.
12966 * nptl/sysdeps/unix/sysv/linux/tst-setgetname.c: Moved ...
12967 * sysdeps/unix/sysv/linux/tst-setgetname.c: ... here.
12968 * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Update #include.
12970 2014-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
12972 * sysdeps/generic/memcopy.h: Add comment for
12973 MEMCPY_OK_FOR_FWD_MEMMOVE.
12975 2014-07-04 Will Newton <will.newton@linaro.org>
12977 * string/memchr.c: Merge from gnulib.
12978 [_LIBC]: Remove conditionals.
12979 (__ptr_t): Remove define.
12980 (LONG_MAX_32_BITS): Likewise.
12981 (LONG_MAX): Likewise.
12982 (MEMCHR): Use ANSI prototype and optimize algorithm.
12984 * sysdeps/arm/dl-machine.h (ELF_MACHINE_NO_REL): Define.
12986 2014-07-03 Roland McGrath <roland@hack.frob.com>
12988 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h
12989 (lll_futex_timed_wait_bitset): Fix syscall argument count.
12991 * sysdeps/nptl/configure.ac (libc_cv_forced_unwind):
12992 Use -Dinhibit_libc=1 for unwind.h check to prevent false failure
12993 in a bare environment with no <stdlib.h> installed.
12994 * sysdeps/nptl/configure: Regenerated.
12996 * sysdeps/alpha/fpu/s_nearbyint.c: Include <math_ldbl_opt.h>.
12998 * sysdeps/unix/sysv/linux/configure.ac: Use AC_TRY_COMPILE rather than
12999 AC_EGREP_CPP for kernel header checks, so they only succeed if
13000 including <linux/version.h> actually works right.
13001 * sysdeps/unix/sysv/linux/configure: Regenerated.
13003 * sysdeps/s390/nptl/tls.h (THREAD_SET_POINTER_GUARD): Refer to the
13004 value so it's not diagnosed as unused.
13006 * sysdeps/pthread/Makefile: Conditionalize tst-timer bits (the only
13007 thing) with "ifeq ($(subdir),rt)".
13009 2014-07-03 Richard Henderson <rth@redhat.com>
13011 * sysdeps/alpha/fpu/s_nearbyintf.c: Remove file.
13012 * sysdeps/alpha/fpu/s_nearbyint.c (__nearbyint): Remove;
13013 include sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c.
13015 * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): New.
13016 (math_force_eval): New.
13018 * sysdeps/alpha/fpu/s_lround.c: Add 0.5 with chopped rounding.
13019 * sysdeps/alpha/fpu/s_lroundf.c: Likewise.
13021 * sysdeps/alpha/fpu/s_round.c: Remove file.
13022 * sysdeps/alpha/fpu/s_roundf.c: Remove file.
13024 * elf/dl-support.c (HP_TIMING_AVAIL): Do not redefine.
13025 (_dl_non_dynamic_init): Check HP_SMALL_TIMING_AVAIL instead.
13026 * elf/rtld.c (HP_TIMING_AVAIL): Do not redefine.
13027 (_dl_start_final): Check HP_SMALL_TIMING_AVAIL instead.
13028 (_dl_start, print_statistics): Likewise.
13029 * sysdeps/generic/ldsodefs.h (struct rtld_global): Only check
13030 HP_SMALL_TIMING_AVAIL in defining _dl_cpuclock_offset.
13032 * sysdeps/aarch64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
13033 * sysdeps/generic/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
13034 * sysdeps/i386/i686/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
13035 * sysdeps/ia64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
13036 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
13037 (HP_SMALL_TIMING_AVAIL): Define.
13038 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
13039 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
13040 (HP_SMALL_TIMING_AVAIL): Define.
13041 * sysdeps/sparc/sparc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
13042 * sysdeps/x86_64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
13044 * sysdeps/aarch64/hp-timing.h: New file.
13046 * sysdeps/generic/hp-timing.h: Remove dead comment.
13047 * sysdeps/generic/hp-timing-common.h: New file.
13048 * sysdeps/alpha/hp-timing.h: Include it.
13049 (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT, HP_TIMING_PRINT): Remove.
13050 * sysdeps/i386/i686/hp-timing.h: Likewise.
13051 * sysdeps/ia64/hp-timing.h: Likewise.
13052 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
13053 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
13054 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
13055 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
13056 * sysdeps/x86_64/hp-timing.h: Don't include the i686 version.
13057 (HP_TIMING_AVAIL, HP_TIMING_INLINE): Define.
13058 (hp_timing_t): New.
13060 * benchtests/bench-string.h (_dl_hp_timing_overhead): Remove.
13061 * benchtests/bench-timing.h (_dl_hp_timing_overhead): Remove.
13062 (TIMING_INIT): Remove call to HP_TIMING_DIFF_INIT.
13063 * elf/rtld.c (_dl_start_final): Likewise.
13064 * sysdeps/generic/ldsodefs.h (_dl_hp_timing_overhead): Remove.
13065 * sysdeps/alpha/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
13066 * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
13067 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
13068 * sysdeps/ia64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
13069 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
13070 (HP_TIMING_DIFF_INIT): Remove.
13071 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
13072 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
13073 (HP_TIMING_DIFF_INIT): Remove.
13074 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
13075 * sysdeps/i386/i686/hp-timing.c: Remove file.
13076 * sysdeps/x86_64/hp-timing.c: Remove file.
13077 * sysdeps/ia64/hp-timing.c: Remove file.
13078 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Remove file.
13079 * sysdeps/powerpc/powerpc64/hp-timing.c: Remove file.
13080 * sysdeps/sparc/sparc32/sparcv9/hp-timing.c: Remove file.
13081 * sysdeps/sparc/sparc64/hp-timing.c: Remove file.
13083 * sysdeps/alpha/hp-timing.h (HP_TIMING_ACCUM): Remove.
13084 * sysdeps/generic/hp-timing.h (HP_TIMING_ACCUM): Remove.
13085 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ACCUM): Remove.
13086 * sysdeps/ia64/hp-timing.h (HP_TIMING_ACCUM): Remove.
13087 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
13088 (HP_TIMING_ACCUM): Remove.
13089 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
13090 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ACCUM): Remove.
13091 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
13093 * sysdeps/alpha/hp-timing.h (HP_TIMING_ZERO): Remove.
13094 * sysdeps/generic/hp-timing.h (HP_TIMING_ZERO): Remove.
13095 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ZERO): Remove.
13096 * sysdeps/ia64/hp-timing.h (HP_TIMING_ZERO): Remove.
13097 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_ZERO): Remove.
13098 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ZERO): Remove.
13099 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ZERO): Remove.
13100 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ZERO): Remove.
13102 * sysdeps/powerpc/powerpc32/hp-timing.h: Remove file.
13104 2014-07-03 Maciej W. Rozycki <macro@codesourcery.com>
13106 * stdlib/tst-strtod-overflow.c (TIMEOUT): Bump up to 30.
13108 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
13110 Sync up with gettext.
13111 * intl/loadmsgcat.c: Define O_BINARY if not defined.
13112 [_MSC_VER]: Include malloc.h
13113 [_LIBC]: Define PRI_MACROS_BROKEN if it is not defined.
13114 (get_sysdep_segment_value) [!__UCLIBC__]: Return "I" flag.
13115 (_nl_load_domain): Open DOMAIN_FILE in binary mode. Don't use
13116 TEMP_FAILURE_RETRY. Cast return of alloca.
13117 [!_LIBC] Call gl_rwlock_init.
13118 [IN_LIBGLOCALE]: Call _nl_find_msg with one less argument.
13120 2014-07-02 Roland McGrath <roland@hack.frob.com>
13122 * misc/sys/cdefs.h: Check if __STDC_VERSION__ is defined
13123 before checking its value.
13125 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
13127 * intl/loadmsgcat.c (_nl_load_domain): Use __builtin_expect.
13129 * debug/memcpy_chk.c: Don't include pagecopy.h.
13130 * debug/mempcpy_chk.c: Likewise.
13131 * string/memcpy.c: Likewise.
13132 * string/memmove.c: Likewise.
13133 * sysdeps/powerpc/memmove.c: Likewise.
13134 * sysdeps/generic/memcopy.h: Include pagecopy.h. Move
13135 definition of PAGE_COPY_FWD_MAYBE here...
13136 * sysdeps/generic/pagecopy.h: ... from here.
13137 * sysdeps/mach/pagecopy.h: Don't include generic pagecopy.h.
13139 2014-07-02 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
13140 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13142 * sysdeps/powerpc/strcat.c: Using macro to redefine symbol name.
13143 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcat multiarch
13145 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
13146 (__libc_ifunc_impl_list): Likewise.
13147 * sysdeps/powerpc/powerpc64/multiarch/strcat.c: New file:
13148 multiarch strcat for PPC64.
13149 * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: New file/
13150 * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: New file.
13152 2014-07-02 Roland McGrath <roland@hack.frob.com>
13154 * sysdeps/unix/sysv/linux/dl-sysdep.c: Include <sys/param.h>.
13156 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
13158 * intl/loadmsgcat.c: Remove declaration of
13159 get_sysdep_segment_value.
13160 (get_sysdep_segment_value): Use ISO C style.
13161 (_nl_load_domain): Use ISO C style. Get rid of redundant
13162 semicolon. Fix typo and formatting in comment.
13163 (_nl_unload_domain): Use ISO C style.
13165 * sysdeps/posix/sysconf.c (__sysconf): Fix typo in macro name.
13167 2014-07-02 Will Newton <will.newton@linaro.org>
13169 * malloc/obstack.c: Merge from gnulib master.
13170 [HAVE_CONFIG_H]: Remove conditional code.
13171 [!_LIBC]: Include config.h.
13172 [!ELIDE_CODE]: Don't include inttypes.h, include
13173 stdint.h unconditionally.
13174 (print_and_abort): Mark as _Noreturn.
13175 (_obstack_allocated_p): Mark as __attribute_pure__.
13176 (obstack_free): Rename to __obstack_free.
13177 [!__attribute__]: Remove conditional code.
13178 * malloc/obstack.h: Merge from gnulib master.
13179 [__cplusplus]: Move conditional down.
13180 [!__attribute_pure__]: Define __attribute_pure__ here
13181 if it is not already defined.
13182 (_obstack_memory_used): Mark as __attribute_pure__.
13183 [!__obstack_free]: Define as obstack_free.
13184 [__GNUC__]: Remove check for ancient NeXT gcc.
13186 2014-07-02 Will Newton <will.newton@linaro.org>
13187 Paul Eggert <eggert@cs.ucla.edu>
13189 * misc/sys/cdefs.h (_Noreturn): New macro, for pre-C11 compilers.
13191 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
13193 * resolv/gethnamaddr.c: Add comment warning that the file is
13196 2014-07-01 Carlos O'Donell <carlos@redhat.com>
13198 * sysdeps/unix/sysv/linux/hppa/librt.abilist: Remove GLIBC_2.3
13201 * sysdeps/unix/sysv/linux/hppa/Versions: Remove librt GLIBC_2.3
13202 entry for aio_cancel and aio_cancel64.
13203 * sysdeps/unix/sysv/linux/hppa/ld.abilist: New file.
13204 * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: New file.
13205 * sysdeps/unix/sysv/linux/hppa/libanl.abilist: New file.
13206 * sysdeps/unix/sysv/linux/hppa/libc.abilist: New file.
13207 * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: New file.
13208 * sysdeps/unix/sysv/linux/hppa/libdl.abilist: New file.
13209 * sysdeps/unix/sysv/linux/hppa/libm.abilist: New file.
13210 * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: New file.
13211 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: New file.
13212 * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: New file.
13213 * sysdeps/unix/sysv/linux/hppa/librt.abilist: New file.
13214 * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: New file.
13215 * sysdeps/unix/sysv/linux/hppa/libutil.abilist: New file.
13217 2014-07-01 Roland McGrath <roland@hack.frob.com>
13219 * sysdeps/unix/sysv/linux/sysconf.c: Include <sys/param.h>.
13220 * nptl/pthread_mutex_lock.c: Likewise.
13221 * nptl/pthread_mutex_timedlock.c: Likewise.
13222 * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Likewise.
13224 2014-07-01 Richard henderson <rth@redhat.com>
13226 * sysdeps/alpha/fpu/bits/mathinline.h (__isnanf): Remove.
13227 (__isnan, __isnanl): Remove.
13228 * sysdeps/alpha/fpu/s_isnan.c (__isnan): Use integer arithmetic.
13230 * sysdeps/alpha/fpu/libm-test-ulps: Update.
13232 2014-07-01 Stefan Liebler <stli@linux.vnet.ibm.com>
13234 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
13236 2014-07-01 Siddhesh Poyarekar <siddhesh@redhat.com>
13238 * resolv/nss_dns/dns-host.c (getanswer_r)
13239 [MULTI_PTRS_ARE_ALIASES]: Remove code.
13241 2014-07-01 Joseph Myers <joseph@codesourcery.com>
13243 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
13244 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PSELECT): Do not
13246 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PREADV): Likewise.
13247 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PWRITEV): Likewise.
13249 2014-07-01 Roland McGrath <roland@hack.frob.com>
13251 * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: New file.
13252 * sysdeps/unix/sysv/linux/microblaze/nptl/fork.c: File removed.
13254 * sysdeps/microblaze/nptl/tls.h: Define TLS_DEFINE_INIT_TP.
13255 * sysdeps/unix/sysv/linux/microblaze/nptl/createthread.c: File removed.
13257 * sysdeps/microblaze/nptl/bits/pthreadtypes.h: Moved ...
13258 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h:
13260 * sysdeps/microblaze/nptl/bits/semaphore.h: Moved ...
13261 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/semaphore.h: ... here.
13263 * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Moved ...
13264 * sysdeps/unix/sysv/linux/microblaze/nptl/pt-vfork.S: ... here.
13265 * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Moved ...
13266 * sysdeps/unix/sysv/linux/microblaze/vfork.S: ... here.
13268 * sysdeps/unix/sysv/linux/microblaze/c++-types.data: Moved ...
13269 * sysdeps/unix/sysv/linux/microblaze/nptl/c++-types.data: ... here.
13270 * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Moved ...
13271 * sysdeps/unix/sysv/linux/microblaze/nptl/ld.abilist: ... here.
13272 * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist:
13274 * sysdeps/unix/sysv/linux/microblaze/nptl/libBrokenLocale.abilist:
13276 * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Moved ...
13277 * sysdeps/unix/sysv/linux/microblaze/nptl/libanl.abilist: ... here.
13278 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Moved ...
13279 * sysdeps/unix/sysv/linux/microblaze/nptl/libc.abilist: ... here.
13280 * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Moved ...
13281 * sysdeps/unix/sysv/linux/microblaze/nptl/libcrypt.abilist: ... here.
13282 * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Moved ...
13283 * sysdeps/unix/sysv/linux/microblaze/nptl/libdl.abilist: ... here.
13284 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Moved ...
13285 * sysdeps/unix/sysv/linux/microblaze/nptl/libm.abilist: ... here.
13286 * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Moved ...
13287 * sysdeps/unix/sysv/linux/microblaze/nptl/libnsl.abilist: ... here.
13288 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Moved ...
13289 * sysdeps/unix/sysv/linux/microblaze/nptl/libpthread.abilist: ... here.
13290 * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Moved ...
13291 * sysdeps/unix/sysv/linux/microblaze/nptl/libresolv.abilist: ... here.
13292 * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Moved ...
13293 * sysdeps/unix/sysv/linux/microblaze/nptl/librt.abilist: ... here.
13294 * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Moved ...
13295 * sysdeps/unix/sysv/linux/microblaze/nptl/libthread_db.abilist:
13297 * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Moved ...
13298 * sysdeps/unix/sysv/linux/microblaze/nptl/libutil.abilist: ... here.
13299 * sysdeps/unix/sysv/linux/microblaze/localplt.data: Moved ...
13300 * sysdeps/unix/sysv/linux/microblaze/nptl/localplt.data: ... here.
13301 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Moved ...
13302 * sysdeps/unix/sysv/linux/microblaze/nptl/lowlevellock.h: ... here.
13303 * sysdeps/unix/sysv/linux/microblaze/nptl/pthread_once.c: Moved ...
13304 * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: ... here.
13306 2014-07-01 David Holsgrove <david.holsgrove@xilinx.com>
13308 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: New file.
13309 * sysdeps/unix/sysv/linux/microblaze/socket.S: Update SINGLE_THREAD_P use.
13310 * sysdeps/unix/sysv/linux/microblaze/Makefile(libpthread-routines):
13313 2014-06-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13315 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13317 2014-06-30 Joseph Myers <joseph@codesourcery.com>
13319 * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
13320 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
13322 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
13324 * sysdeps/arm/libm-test-ulps: Regenerated.
13326 2014-06-30 Maciej W. Rozycki <macro@codesourcery.com>
13327 Roland McGrath <roland@hack.frob.com>
13329 * test-skeleton.c (signal_handler): Kill the whole process group
13330 before killing the child individually.
13331 (main): Report any failure on `setpgid'.
13333 2014-06-30 Roland McGrath <roland@hack.frob.com>
13335 * sysdeps/arm/nptl/tls.h: Rename the multiple inclusion guard
13336 from _TLS_H to _ARM_NPTL_TLS_H.
13337 (TLS_INIT_TP): Move macro, and #include of <sysdep.h>, to ...
13338 * sysdeps/unix/sysv/linux/arm/tls.h: ... this new file.
13340 2014-06-30 Joseph Myers <joseph@codesourcery.com>
13343 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include <float.h>.
13344 (__expm1l): Return argument unchanged when small but not
13347 * soft-fp/op-1.h (_FP_UNPACK_RAW_1): Rename local variables to
13348 include macro name.
13349 (_FP_UNPACK_RAW_1_P): Likewise.
13350 (_FP_PACK_RAW_1): Likewise.
13351 (_FP_PACK_RAW_1_P): Likewise.
13352 (_FP_MUL_MEAT_1_wide): Likewise.
13353 (_FP_MUL_MEAT_DW_1_hard): Likewise.
13354 (_FP_MUL_MEAT_1_hard): Likewise.
13355 (_FP_DIV_MEAT_1_imm): Likewise.
13356 (_FP_DIV_MEAT_1_udiv_norm): Likewise.
13357 (_FP_DIV_MEAT_1_udiv): Likewise.
13358 * soft-fp/op-2.h (__FP_FRAC_DEC_2): Likewise.
13359 (_FP_UNPACK_RAW_2): Likewise.
13360 (_FP_UNPACK_RAW_2_P): Likewise.
13361 (_FP_PACK_RAW_2): Likewise.
13362 (_FP_PACK_RAW_2_P): Likewise.
13363 (_FP_MUL_MEAT_DW_2_wide): Likewise.
13364 (_FP_MUL_MEAT_2_wide): Likewise.
13365 (_FP_MUL_MEAT_DW_2_wide_3mul): Likewise.
13366 (_FP_MUL_MEAT_2_wide_3mul): Likewise.
13367 (_FP_MUL_MEAT_DW_2_gmp): Likewise.
13368 (_FP_MUL_MEAT_2_gmp): Likewise.
13369 (_FP_DIV_MEAT_2_udiv): Likewise.
13370 * soft-fp/op-4.h (_FP_FRAC_SLL_4): Likewise.
13371 (_FP_FRAC_SRL_4): Likewise.
13372 (_FP_FRAC_SRST_4): Likewise.
13373 (_FP_FRAC_SRS_4): Likewise.
13374 (_FP_UNPACK_RAW_4): Likewise.
13375 (_FP_UNPACK_RAW_4_P): Likewise.
13376 (_FP_PACK_RAW_4): Likewise.
13377 (_FP_PACK_RAW_4_P): Likewise.
13378 (_FP_MUL_MEAT_DW_4_wide): Likewise.
13379 (_FP_MUL_MEAT_4_wide): Likewise.
13380 (_FP_MUL_MEAT_4_gmp): Likewise.
13381 (umul_ppppmnnn): Likewise.
13382 (_FP_DIV_MEAT_4_udiv): Likewise.
13383 (__FP_FRAC_ADD_4): Likewise.
13384 (__FP_FRAC_SUB_3): Likewise.
13385 (__FP_FRAC_SUB_4): Likewise.
13386 (__FP_FRAC_DEC_3): Likewise.
13387 (__FP_FRAC_DEC_4): Likewise.
13388 (__FP_FRAC_ADDI_4): Likewise.
13389 * soft-fp/op-8.h (_FP_FRAC_SLL_8): Likewise.
13390 (_FP_FRAC_SRL_8): Likewise.
13391 (_FP_FRAC_SRS_8): Likewise.
13393 * soft-fp/extended.h (FP_UNPACK_RAW_E): Rename local variables to
13394 include macro name.
13395 (FP_UNPACK_RAW_EP): Likewise.
13396 (FP_PACK_RAW_E): Likewise.
13397 (FP_PACK_RAW_EP): Likewise.
13398 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Likewise.
13399 (_FP_ISSIGNAN): Likewise.
13400 (_FP_ADD_INTERNAL): Likewise.
13401 (_FP_FMA): Likewise.
13402 (_FP_CMP): Likewise.
13403 (_FP_SQRT): Likewise.
13404 (_FP_TO_INT): Likewise.
13405 (_FP_FROM_INT): Likewise.
13406 (FP_EXTEND): Likewise.
13407 (_FP_DIV_MEAT_N_loop): Likewise.
13409 2014-06-30 Maciej W. Rozycki <macro@codesourcery.com>
13411 * sysdeps/unix/sysv/linux/bits/socket.h: Adjust macro formatting
13414 2014-06-29 Joseph Myers <joseph@codesourcery.com>
13417 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Return
13418 result with correct sign in case of exponents that produce
13419 overflow except for X very close to 1.
13421 2014-06-28 Paul Eggert <eggert@cs.ucla.edu>
13423 mktime: merge #if/#ifdef usage from glibc
13424 * lib/mktime.c: Use "#if defined DEBUG && DEBUG", not "#if DEBUG",
13425 as that works with both Glibc's and Gnulib's style.
13426 See thread starting at Siddhesh Poyarekar's bug report at:
13427 http://lists.gnu.org/archive/html/bug-gnulib/2014-06/msg00102.html
13429 2014-06-28 Siddhesh Poyarekar <siddhesh@redhat.com>
13431 * sysdeps/generic/memcopy.h: Define MEMCPY_OK_FOR_FWD_MEMMOVE.
13432 * sysdeps/tile/memcopy.h: Redefine MEMCPY_OK_FOR_FWD_MEMMOVE.
13433 * sysdeps/tile/tilegx/memmove.c: Remove file.
13435 2014-06-27 Joseph Myers <joseph@codesourcery.com>
13437 * Makeconfig ($(common-objpfx)soversions.mk): Do not generate
13438 abi-name definition.
13439 * scripts/soversions.awk: Do not handle or generate ABI lines.
13440 * shlib-versions: Remove ABI entries.
13441 * sysdeps/powerpc/nofpu/shlib-versions: Remove file.
13442 * sysdeps/x86_64/x32/shlib-versions: Remove ABI entry.
13444 2014-06-27 Roland McGrath <roland@hack.frob.com>
13446 * sysdeps/unix/sysv/linux/mips/mips32/nptl/c++-types.data: Moved ...
13447 * sysdeps/unix/sysv/linux/mips/mips32/c++-types.data: ... here.
13448 * sysdeps/unix/sysv/linux/mips/mips32/fpu/nptl/libc.abilist: Moved ...
13449 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: ... here.
13450 * sysdeps/unix/sysv/linux/mips/mips32/nptl/ld.abilist: Moved ...
13451 * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: ... here.
13452 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libBrokenLocale.abilist:
13454 * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
13456 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libanl.abilist: Moved ...
13457 * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: ... here.
13458 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcidn.abilist: Moved ...
13459 * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: ... here.
13460 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcrypt.abilist: Moved ...
13461 * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: ... here.
13462 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libdl.abilist: Moved ...
13463 * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: ... here.
13464 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libm.abilist: Moved ...
13465 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: ... here.
13466 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnsl.abilist: Moved ...
13467 * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: ... here.
13468 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_compat.abilist:
13470 * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: ... here.
13471 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_db.abilist: Moved ...
13472 * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: ... here.
13473 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_dns.abilist: Moved ...
13474 * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: ... here.
13475 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_files.abilist:
13477 * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: ... here.
13478 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_hesiod.abilist:
13480 * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: ... here.
13481 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nis.abilist: Moved ...
13482 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: ... here.
13483 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nisplus.abilist:
13485 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: ... here.
13486 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libpthread.abilist: Moved ...
13487 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: ... here.
13488 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libresolv.abilist: Moved ...
13489 * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: ... here.
13490 * sysdeps/unix/sysv/linux/mips/mips32/nptl/librt.abilist: Moved ...
13491 * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: ... here.
13492 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libthread_db.abilist:
13494 * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: ... here.
13495 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libutil.abilist: Moved ...
13496 * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: ... here.
13497 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/nptl/libc.abilist:
13499 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: ... here.
13500 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/c++-types.data:
13502 * sysdeps/unix/sysv/linux/mips/mips64/n32/c++-types.data: ... here.
13503 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/ld.abilist: Moved ...
13504 * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: ... here.
13505 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libBrokenLocale.abilist:
13507 * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
13509 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libBrokenLocale.abilist:
13510 Identical file removed.
13511 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libanl.abilist:
13513 * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: ... here.
13514 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libanl.abilist:
13515 Identical file removed.
13516 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libc.abilist: Moved ...
13517 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: ... here.
13518 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libcrypt.abilist:
13520 * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: ... here.
13521 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libcrypt.abilist:
13522 Identical file removed.
13523 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libdl.abilist: Moved ...
13524 * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: ... here.
13525 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libdl.abilist:
13526 Identical file removed.
13527 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libm.abilist: Moved ...
13528 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: ... here.
13529 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libm.abilist:
13530 Identical file removed.
13531 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libnsl.abilist: Moved ...
13532 * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: ... here.
13533 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libnsl.abilist:
13534 Identical file removed.
13535 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libpthread.abilist:
13537 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: ... here.
13538 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libpthread.abilist:
13539 Identical file removed.
13540 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libresolv.abilist:
13542 * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: ... here.
13543 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/librt.abilist: Moved ...
13544 * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: ... here.
13545 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/librt.abilist:
13546 Identical file removed.
13547 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libthread_db.abilist:
13549 * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist:
13551 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libthread_db.abilist:
13552 Identical file removed.
13553 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libutil.abilist:
13555 * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: ... here.
13556 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libutil.abilist:
13557 Identical file removed.
13558 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/c++-types.data:
13560 * sysdeps/unix/sysv/linux/mips/mips64/n64/c++-types.data: ... here.
13561 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/ld.abilist: Moved ...
13562 * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: ... here.
13563 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libc.abilist: Moved ...
13564 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: ... here.
13565 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libresolv.abilist:
13567 * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: ... here.
13568 * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h: Moved ...
13569 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: ... here.
13571 * sysdeps/unix/sysv/linux/mips/vfork.S: Incorporate
13572 SAVE_PID and RESTORE_PID blocks from nptl/pt-vfork.S.
13573 * sysdeps/unix/sysv/linux/mips/nptl/vfork.S: File removed.
13574 * sysdeps/unix/sysv/linux/mips/nptl/pt-vfork.S: File removed.
13575 * sysdeps/unix/sysv/linux/mips/pt-vfork.S: New file.
13577 2014-06-27 Arjun Shankar <arjun.is@lostca.se>
13580 * nscd/nscd.c (monitor_child): Return exit status of child
13581 instead of return value from wait syscall.
13583 2014-06-27 Joseph Myers <joseph@codesourcery.com>
13585 * configure.ac (libc_commonpagesize): Remove variable.
13586 (libc_relro_required): Likewise.
13587 (libc_cv_z_relro): Remove configure test.
13588 * configure: Regenerated.
13589 * sysdeps/aarch64/preconfigure (libc_commonpagesize): Do not set
13591 (libc_relro_required): Likewise.
13592 * sysdeps/alpha/preconfigure (libc_commonpagesize): Likewise.
13593 (libc_relro_required): Likewise.
13594 * sysdeps/arm/preconfigure.ac (libc_commonpagesize): Likewise.
13595 (libc_relro_required): Likewise.
13596 * sysdeps/arm/preconfigure: Regenerated.
13597 * sysdeps/ia64/preconfigure: Remove file.
13598 * sysdeps/tile/preconfigure (libc_commonpagesize): Do not set
13600 (libc_relro_required): Likewise.
13604 * sysdeps/ieee754/dbl-64/e_jn.c: Include <float.h>.
13605 (__ieee754_yn): Set FE_TONEAREST mode internally and then
13606 recompute overflowing results in original rounding mode.
13607 * sysdeps/ieee754/flt-32/e_jnf.c: Include <float.h>.
13608 (__ieee754_ynf): Set FE_TONEAREST mode internally and then
13609 recompute overflowing results in original rounding mode.
13610 * sysdeps/ieee754/ldbl-128/e_jnl.c: Include <float.h>.
13611 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
13612 recompute overflowing results in original rounding mode.
13613 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Include <float.h>.
13614 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
13615 recompute overflowing results in original rounding mode.
13616 * sysdeps/ieee754/ldbl-96/e_jnl.c: Include <float.h>.
13617 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
13618 recompute overflowing results in original rounding mode.
13619 * sysdeps/i386/fpu/fenv_private.h [!__SSE2_MATH__]
13620 (libc_feholdsetround_ctx): New macro.
13621 * math/libm-test.inc (yn_test): Use ALL_RM_TEST.
13622 * sysdeps/i386/fpu/libm-test-ulps: Update.
13623 * sysdeps/x86_64/fpu/libm-test-ulps : Likewise.
13625 2014-06-26 Joseph Myers <joseph@codesourcery.com>
13627 * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h
13628 [__PIC__] (PSEUDO): Use name of _nocancel entry point in
13629 corresponding .cpsetup call.
13631 2014-06-26 Roland McGrath <roland@hack.frob.com>
13633 * sysdeps/unix/sysv/linux/arm/libc-aeabi_read_tp.S: Moved ...
13634 * sysdeps/arm/libc-aeabi_read_tp.S: ... here.
13635 * sysdeps/arm/Makefile [$(subdir) = csu]
13636 (aeabi_routines): Add aeabi_read_tp and libc-aeabi_read_tp here.
13637 (static-only-routines): Add aeabi_read_tp here.
13638 (shared-only-routines): Add libc-aeabi_read_tp here.
13639 (CFLAGS-libc-start.c): Add -fexceptions here.
13640 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = csu]
13641 (sysdep_routines, static-only-routines, shared-only-routines):
13642 Don't add to these here.
13643 (CFLAGS-libc-start.c): Likewise.
13645 * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: Moved ...
13646 * sysdeps/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
13647 * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: Moved ...
13648 * sysdeps/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
13649 * sysdeps/arm/Makefile [$(subdir) = rt]
13650 (librt-sysdep_routines, librt-shared-only-routines):
13651 Append rt-aeabi_unwind_cpp_pr1 here.
13652 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = rt]
13653 (librt-sysdep_routines, librt-shared-only-routines): Don't do it here.
13654 * sysdeps/arm/nptl/Makefile [$(subdir) = nptl]
13655 (libpthread-sysdep_routines, libpthread-shared-only-routines):
13656 Append nptl-aeabi_unwind_cpp_pr1 here.
13657 (tests): Filter out tst-cleanupx4 here.
13658 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = nptl]
13659 (libpthread-sysdep_routines, libpthread-shared-only-routines, tests):
13660 Don't do those here.
13662 2014-06-26 Joseph Myers <joseph@codesourcery.com>
13664 * scripts/list-sources.sh: Do not handle ports specially.
13666 2014-06-26 Roland McGrath <roland@hack.frob.com>
13668 * sysdeps/arm/fesetenv.c: Include <fpu_control.h>.
13669 * sysdeps/arm/feupdateenv.c: Likewise.
13671 * posix/spawn_faction_addopen.c: Include <stdlib.h> for free decl.
13673 2014-06-26 Joseph Myers <joseph@codesourcery.com>
13675 * manual/texinfo.tex: Update to version 2014-05-05.10 with
13676 trailing whitespace removed.
13677 * scripts/config.guess: Update to version 2014-03-23.
13678 * scripts/config.sub: Update to version 2014-05-01
13679 * scripts/install-sh: Update to version 2013-12-25.23.
13680 * scripts/move-if-change: Update from gnulib.
13682 2014-06-26 Siddhesh Poyarekar <siddhesh@redhat.com>
13684 * debug/memmove_chk.c: Remove pagecopy.h include.
13686 2014-06-26 Paul Eggert <eggert@cs.ucla.edu>
13688 * time/mktime.c (leapyear): Remove inline keyword. The code is now
13689 identical to gnulib mktime.
13691 2014-06-26 Joseph Myers <joseph@codesourcery.com>
13693 * configure.ac: Do not test for machine being rs6000. Do not test
13694 for powerpc*-*soft.
13695 * configure: Regenerated.
13698 * configure.ac (libc_cv_asm_cfi_directives): Remove configure
13700 * configure: Regenerated.
13701 * config.h.in (HAVE_ASM_CFI_DIRECTIVES): Remove macro undefine.
13702 * sysdeps/arm/configure.ac (libc_cv_asm_cfi_directive_sections):
13703 Remove configure test.
13704 * sysdeps/arm/configure: Regenerated.
13705 * sysdeps/nptl/configure.ac: Do not check
13706 libc_cv_asm_cfi_directives.
13707 * sysdeps/nptl/configure: Regenerated.
13708 * sysdeps/x86_64/nptl/configure.ac: Remove file.
13709 * sysdeps/x86_64/nptl/configure: Remove generated file.
13710 * b/sysdeps/generic/sysdep.h [HAVE_ASM_CFI_DIRECTIVES]: Make code
13712 [!HAVE_ASM_CFI_DIRECTIVES]: Remove conditional code.
13714 2014-06-26 Siddhesh Poyarekar <siddhesh@redhat.com>
13716 * posix/fnmatch.c: Define WIDE_CHAR_VERSION.
13717 * posix/fnmatch_loop.c: Undefine WIDE_CHAR_VERSION.
13718 (FCT): Check value of WIDE_CHAR_VERSION instead of checking if
13721 * elf/dl-runtime.c: Check for value of ELF_MACHINE_NO_RELA
13722 instead of whether it is defined.
13723 * sysdeps/aarch64/dl-machine.h: Define ELF_MACHINE_NO_RELA.
13724 * sysdeps/hppa/dl-machine.h: Likewise.
13725 * sysdeps/ia64/dl-machine.h: Likewise.
13726 * sysdeps/m68k/dl-machine.h: Likewise.
13727 * sysdeps/microblaze/dl-machine.h: Likewise.
13728 * sysdeps/mips/dl-machine.: Likewise.
13729 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
13730 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
13731 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
13732 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
13733 * sysdeps/sh/dl-machine.h: Likewise.
13734 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
13735 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
13736 * sysdeps/tile/dl-machine.h: Likewise.
13737 * sysdeps/x86_64/dl-machine.h: Likewise.
13739 * nscd/connections.c (enum usekey) [SEPARATE_KEY]: Remove
13741 (verify_persistent_db): Likewise.
13743 2014-06-26 Roland McGrath <roland@hack.frob.com>
13745 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data: Moved ...
13746 * sysdeps/unix/sysv/linux/s390/s390-32/c++-types.data: ... here.
13747 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Moved ...
13748 * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: ... here.
13749 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
13751 * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
13753 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: Moved ...
13754 * sysdeps/unix/sysv/linux/s390/libanl.abilist: ... here.
13755 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist:
13756 Identical file removed.
13757 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Moved ...
13758 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: ... here.
13759 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: Moved ...
13760 * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: ... here.
13761 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: Moved ...
13762 * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: ... here.
13763 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Moved ...
13764 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: ... here.
13765 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: Moved ...
13766 * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: ... here.
13767 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
13769 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: ... here.
13770 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: Moved ...
13771 * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: ... here.
13772 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Moved ...
13773 * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: ... here.
13774 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
13776 * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: ... here.
13777 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Moved ...
13778 * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: ... here.
13779 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data: Moved ...
13780 * sysdeps/unix/sysv/linux/s390/localplt.data: ... here.
13781 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
13782 Identical file removed.
13783 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data: Moved ...
13784 * sysdeps/unix/sysv/linux/s390/s390-64/c++-types.data: ... here.
13785 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Moved ...
13786 * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: ... here.
13787 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
13789 * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
13791 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Moved ...
13792 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: ... here.
13793 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: Moved ...
13794 * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: ... here.
13795 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: Moved ...
13796 * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: ... here.
13797 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Moved ...
13798 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: ... here.
13799 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: Moved ...
13800 * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: ... here.
13801 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
13803 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: ... here.
13804 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist:
13806 * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: ... here.
13807 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: Moved ...
13808 * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: ... here.
13809 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
13811 * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: ... here.
13812 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: Moved ...
13813 * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: ... here.
13815 * nptl/sysdeps/unix/sysv/linux/s390/Makefile: File removed, contents
13817 * sysdeps/unix/sysv/linux/s390/Makefile [$(subdir) = nptl]: ... here.
13818 * sysdeps/unix/sysv/linux/s390/Versions
13819 (libpthread: GLIBC_2.19): New version set.
13820 * nptl/sysdeps/unix/sysv/linux/s390/Versions: File removed.
13821 * sysdeps/unix/sysv/linux/s390/s390-64/Versions
13822 (librt: GLIBC_2.3.3): New version set.
13823 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/Versions: File removed.
13824 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: Moved ...
13825 * sysdeps/unix/sysv/linux/s390/elision-conf.c: ... here.
13826 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Moved ...
13827 * sysdeps/unix/sysv/linux/s390/elision-conf.h: ... here.
13828 * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Moved ...
13829 * sysdeps/unix/sysv/linux/s390/elision-lock.c: ... here.
13830 * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Moved ...
13831 * sysdeps/unix/sysv/linux/s390/elision-timed.c: ... here.
13832 * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Moved ...
13833 * sysdeps/unix/sysv/linux/s390/elision-trylock.c: ... here.
13834 * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Moved ...
13835 * sysdeps/unix/sysv/linux/s390/elision-unlock.c: ... here.
13836 * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Moved ...
13837 * sysdeps/unix/sysv/linux/s390/force-elision.h: ... here.
13838 * nptl/sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Moved ...
13839 * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: ... here.
13840 * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h: Moved ...
13841 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: ... here.
13842 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Moved ...
13843 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: ... here.
13844 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: Moved ...
13845 * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: ... here.
13846 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: Moved ...
13847 * sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: ... here.
13848 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: Moved ...
13849 * sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: ... here.
13850 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: Moved ...
13851 * sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: ... here.
13852 * nptl/sysdeps/unix/sysv/linux/s390/pthread_once.c: Moved ...
13853 * sysdeps/unix/sysv/linux/s390/pthread_once.c: ... here.
13854 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Moved ...
13855 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: ... here.
13856 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Moved ...
13857 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: ... here.
13858 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Moved ...
13859 * sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: ... here.
13860 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Moved ...
13861 * sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: ... here.
13862 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Moved ...
13863 * sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: ... here.
13864 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Moved ...
13865 * sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: ... here.
13866 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Moved ...
13867 * sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: ... here.
13869 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Moved ...
13870 * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: ... here.
13871 (__libc_vfork): Define the function under this name.
13872 [!NOT_IN_libc] (__vfork): Make this an alias.
13873 [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
13874 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Moved ...
13875 * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: ... here.
13876 (__libc_vfork): Define the function under this name.
13877 [!NOT_IN_libc] (__vfork): Make this an alias.
13878 [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
13879 * sysdeps/unix/sysv/linux/s390/pt-vfork.S: New file.
13880 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: File removed.
13881 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: File removed.
13882 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Remove vfork.
13883 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
13885 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Deconditionalize the
13886 code that was previously under [RESET_PID].
13887 * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
13888 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/clone.S: File removed.
13889 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/clone.S: File removed.
13891 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h: Moved ...
13892 * sysdeps/aarch64/nptl/bits/pthreadtypes.h: ... here.
13893 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/semaphore.h: Moved ...
13894 * sysdeps/aarch64/nptl/bits/semaphore.h: ... here.
13895 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/local_lim.h: Moved ...
13896 * sysdeps/unix/sysv/linux/aarch64/bits/local_lim.h: ... here.
13897 * sysdeps/unix/sysv/linux/aarch64/nptl/c++-types.data: Moved ...
13898 * sysdeps/unix/sysv/linux/aarch64/c++-types.data: ... here.
13899 * sysdeps/unix/sysv/linux/aarch64/nptl/ld.abilist: Moved ...
13900 * sysdeps/unix/sysv/linux/aarch64/ld.abilist: ... here.
13901 * sysdeps/unix/sysv/linux/aarch64/nptl/libBrokenLocale.abilist:
13903 * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: ... here.
13904 * sysdeps/unix/sysv/linux/aarch64/nptl/libanl.abilist: Moved ...
13905 * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: ... here.
13906 * sysdeps/unix/sysv/linux/aarch64/nptl/libc.abilist: Moved ...
13907 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: ... here.
13908 * sysdeps/unix/sysv/linux/aarch64/nptl/libcrypt.abilist: Moved ...
13909 * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: ... here.
13910 * sysdeps/unix/sysv/linux/aarch64/nptl/libdl.abilist: Moved ...
13911 * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: ... here.
13912 * sysdeps/unix/sysv/linux/aarch64/nptl/libm.abilist: Moved ...
13913 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: ... here.
13914 * sysdeps/unix/sysv/linux/aarch64/nptl/libnsl.abilist: Moved ...
13915 * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: ... here.
13916 * sysdeps/unix/sysv/linux/aarch64/nptl/libpthread.abilist: Moved ...
13917 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: ... here.
13918 * sysdeps/unix/sysv/linux/aarch64/nptl/libresolv.abilist: Moved ...
13919 * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: ... here.
13920 * sysdeps/unix/sysv/linux/aarch64/nptl/librt.abilist: Moved ...
13921 * sysdeps/unix/sysv/linux/aarch64/librt.abilist: ... here.
13922 * sysdeps/unix/sysv/linux/aarch64/nptl/libthread_db.abilist: Moved ...
13923 * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: ... here.
13924 * sysdeps/unix/sysv/linux/aarch64/nptl/libutil.abilist: Moved ...
13925 * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: ... here.
13926 * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data: Moved ...
13927 * sysdeps/unix/sysv/linux/aarch64/localplt.data: ... here.
13928 * sysdeps/unix/sysv/linux/aarch64/nptl/lowlevellock.h: Moved ...
13929 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: ... here.
13930 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Moved ...
13931 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: ... here.
13933 2014-06-25 Roland McGrath <roland@hack.frob.com>
13935 * sysdeps/unix/sysv/linux/mips/clone.S: Deconditionalize the code
13936 that was previously under [RESET_PID].
13937 * sysdeps/unix/sysv/linux/mips/nptl/clone.S: File removed.
13939 2014-06-25 Joseph Myers <joseph@codesourcery.com>
13941 * sysdeps/unix/sysv/linux/dl-opendir.c (__ASSUME_O_CLOEXEC): Do
13942 not undefine and redefine.
13943 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs)
13944 [O_CLOEXEC]: Make code unconditional.
13945 (__get_nprocs) [!O_CLOEXEC]: Remove conditional code.
13946 * sysdeps/unix/sysv/linux/shm_open.c: Do not include
13947 <kernel-features.h>.
13948 [O_CLOEXEC && !__ASSUME_O_CLOEXEC] (have_o_cloexec): Remove
13949 conditional variable definition.
13950 (shm_open) [O_CLOEXEC]: Make code unconditional.
13951 (shm_open) [!O_CLOEXEC || !__ASSUME_O_CLOEXEC]: Remove conditional
13954 * configure.ac (USE_REGPARMS): Don't define here.
13955 * configure: Regenerated.
13956 * sysdeps/i386/configure.ac (USE_REGPARMS): Define here.
13957 * sysdeps/i386/configure: Regenerated.
13959 * nptl/createthread.c: Don't include kernel-features.h.
13960 * nptl/pthread_cancel.c: Likewise.
13961 * nptl/pthread_condattr_setclock.c: Likewise.
13962 * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Likewise.
13963 * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Likewise.
13964 * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Likewise.
13965 * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Likewise.
13966 * nptl/sysdeps/unix/sysv/linux/raise.c: Likewise.
13967 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: Likewise.
13968 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
13969 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: Likewise.
13970 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
13971 * nptl/sysdeps/unix/sysv/linux/timer_create.c: Likewise.
13972 * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Likewise.
13973 * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Likewise.
13974 * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Likewise.
13975 * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Likewise.
13976 * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Likewise.
13977 * nscd/gai.c: Likewise.
13978 * nss/nss_db/db-open.c: Likewise.
13979 * sysdeps/generic/ldsodefs.h: Likewise.
13980 * sysdeps/sh/nptl/tls.h: Likewise.
13981 * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
13982 * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h: Likewise.
13983 * sysdeps/unix/sysv/linux/aarch64/vfork.S: Likewise.
13984 * sysdeps/unix/sysv/linux/adjtime.c: Likewise.
13985 * sysdeps/unix/sysv/linux/alpha/xstatconv.h: Likewise.
13986 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
13987 * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
13988 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
13989 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
13990 * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
13991 * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
13992 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
13993 * sysdeps/unix/sysv/linux/clock_settime.c: Likewise.
13994 * sysdeps/unix/sysv/linux/dl-execstack.c: Likewise.
13995 * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
13996 * sysdeps/unix/sysv/linux/dl-sysdep.c: Likewise.
13997 * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
13998 * sysdeps/unix/sysv/linux/generic/poll.c: Likewise.
13999 * sysdeps/unix/sysv/linux/generic/wordsize-32/fcntl.c: Likewise.
14000 * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
14001 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
14002 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
14003 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Likewise.
14004 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
14005 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
14006 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
14007 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Likewise.
14008 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
14009 * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
14010 * sysdeps/unix/sysv/linux/getpagesize.c: Likewise.
14011 * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
14012 * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
14013 * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
14014 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
14015 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
14016 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
14017 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
14018 * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
14019 * sysdeps/unix/sysv/linux/ia64/system.c: Likewise.
14020 * sysdeps/unix/sysv/linux/if_index.c: Likewise.
14021 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
14022 * sysdeps/unix/sysv/linux/ifreq.c: Likewise.
14023 * sysdeps/unix/sysv/linux/ldsodefs.h: Likewise.
14024 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
14025 * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
14026 * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Likewise.
14027 * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Likewise.
14028 * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
14029 * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
14030 * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
14031 * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
14032 * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
14033 * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
14034 * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
14035 * sysdeps/unix/sysv/linux/mmap64.c: Likewise.
14036 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
14037 * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
14038 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Likewise.
14039 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
14040 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c: Likewise.
14041 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c: Likewise.
14042 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Likewise.
14043 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise.
14044 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
14045 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
14046 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
14047 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
14048 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
14049 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
14050 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c: Likewise.
14051 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c: Likewise.
14052 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise.
14053 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
14054 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
14055 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
14056 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
14057 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
14058 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise.
14059 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
14060 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
14061 * sysdeps/unix/sysv/linux/pread.c: Likewise.
14062 * sysdeps/unix/sysv/linux/pread64.c: Likewise.
14063 * sysdeps/unix/sysv/linux/prof-freq.c: Likewise.
14064 * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
14065 * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
14066 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
14067 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
14068 * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
14069 * sysdeps/unix/sysv/linux/sh/pread.c: Likewise.
14070 * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
14071 * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
14072 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
14073 * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
14074 * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
14075 * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
14076 * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
14077 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
14078 * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
14079 * sysdeps/unix/sysv/linux/syslog.c: Likewise.
14080 * sysdeps/unix/sysv/linux/system.c: Likewise.
14081 * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
14082 * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
14083 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
14084 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
14085 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
14086 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
14087 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
14089 * configure.ac (libc_cv_c_asmcr0_bug): Remove configure test.
14090 * configure: Regenerated.
14091 * config.h.in (BROKEN_PPC_ASM_CR0): Remove macro.
14093 * configure.ac (base_machine): Do not set specially for particular
14095 * configure: Regenerated.
14096 * sysdeps/powerpc/preconfigure: Move machine and base_machine
14097 settings from configure.ac.
14098 * sysdeps/i386/preconfigure: New file.
14099 * sysdeps/s390/preconfigure: Likewise.
14100 * sysdeps/sh/preconfigure: Likewise.
14101 * sysdeps/sparc/preconfigure: Likewise.
14103 2014-06-25 Roland McGrath <roland@hack.frob.com>
14105 * sysdeps/sparc/sparc64/nptl/cpu_relax.S: Moved ...
14106 * sysdeps/sparc/sparc64/cpu_relax.S: ... here.
14107 * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: Moved ...
14108 * sysdeps/sparc/sparc64/pthread_spin_init.c: ... here.
14109 * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: Moved ...
14110 * sysdeps/sparc/sparc64/pthread_spin_lock.S: ... here.
14111 * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: Moved ...
14112 * sysdeps/sparc/sparc64/pthread_spin_trylock.S: ... here.
14113 * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: Moved ...
14114 * sysdeps/sparc/sparc64/pthread_spin_unlock.S: ... here.
14115 * sysdeps/sparc/sparc64/nptl/pthreaddef.h: Moved ...
14116 * sysdeps/sparc/sparc64/pthreaddef.h: ... here.
14117 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Update #include.
14118 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Likewise.
14119 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Likewise.
14120 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Likewise.
14121 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Likewise.
14122 * sysdeps/sparc/sparc64/nptl/Makefile: File removed, its contents ...
14123 * sysdeps/sparc/sparc64/Makefile: ... appended here.
14125 * sysdeps/sparc/sparc32/nptl/lowlevellock.c: Moved ...
14126 * sysdeps/sparc/sparc32/lowlevellock.c: ... here.
14127 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Moved ...
14128 * sysdeps/sparc/sparc32/pthread_barrier_wait.c: ... here.
14129 * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: Moved ...
14130 * sysdeps/sparc/sparc32/pthread_spin_lock.S: ... here.
14131 * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: Moved ...
14132 * sysdeps/sparc/sparc32/pthread_spin_trylock.S: ... here.
14133 * sysdeps/sparc/sparc32/nptl/pthreaddef.h: Moved ...
14134 * sysdeps/sparc/sparc32/pthreaddef.h: ... here.
14135 * sysdeps/sparc/sparc32/nptl/sem_post.c: Moved ...
14136 * sysdeps/sparc/sparc32/sem_post.c: ... here.
14137 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Moved ...
14138 * sysdeps/sparc/sparc32/sem_timedwait.c: ... here.
14139 * sysdeps/sparc/sparc32/nptl/sem_trywait.c: Moved ...
14140 * sysdeps/sparc/sparc32/sem_trywait.c: ... here.
14141 * sysdeps/sparc/sparc32/nptl/sem_wait.c: Moved ...
14142 * sysdeps/sparc/sparc32/sem_wait.c: ... here.
14143 * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: Moved ...
14144 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: ... here.
14145 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: Moved ...
14146 * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: ... here.
14147 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: Moved ...
14148 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: ... here.
14149 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: Moved ...
14150 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: ... here.
14151 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: Moved ...
14152 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: ... here.
14153 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Moved ...
14154 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: ... here.
14155 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: Moved ...
14156 * sysdeps/sparc/sparc32/sparcv9/sem_post.c: ... here.
14157 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: Moved ...
14158 * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: ... here.
14159 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: Moved ...
14160 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: ... here.
14161 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: Moved ...
14162 * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: ... here.
14164 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data: Moved ...
14165 * sysdeps/unix/sysv/linux/sparc/sparc32/c++-types.data: ... here.
14166 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: Moved ...
14167 * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: ... here.
14168 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
14170 * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
14172 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: Moved ...
14173 * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: ... here.
14174 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Moved ...
14175 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: ... here.
14176 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist:
14178 * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: ... here.
14179 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: Moved ...
14180 * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: ... here.
14181 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: Moved ...
14182 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: ... here.
14183 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: Moved ...
14184 * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: ... here.
14185 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
14187 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: ... here.
14188 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
14190 * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: ... here.
14191 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: Moved ...
14192 * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: ... here.
14193 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
14195 * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: ... here.
14196 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: Moved ...
14197 * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: ... here.
14198 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data: Moved ...
14199 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: ... here.
14200 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data: Moved ...
14201 * sysdeps/unix/sysv/linux/sparc/sparc64/c++-types.data: ... here.
14202 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: Moved ...
14203 * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: ... here.
14204 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
14206 * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
14208 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: Moved ...
14209 * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: ... here.
14210 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Moved ...
14211 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: ... here.
14212 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist:
14214 * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: ... here.
14215 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: Moved ...
14216 * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: ... here.
14217 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: Moved ...
14218 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: ... here.
14219 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: Moved ...
14220 * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: ... here.
14221 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
14223 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: ... here.
14224 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
14226 * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: ... here.
14227 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: Moved ...
14228 * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: ... here.
14229 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
14231 * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: ... here.
14232 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: Moved ...
14233 * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: ... here.
14234 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data: Moved ...
14235 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: ... here.
14237 2014-06-25 Joseph Myers <joseph@codesourcery.com>
14239 * timezone/checktab.awk: Update from tzcode 2014e.
14240 * timezone/private.h: Likewise.
14241 * timezone/tzfile.h: Likewise.
14242 * timezone/zdump.c: Likewise.
14243 * timezone/zic.c: Likewise.
14245 * sysdeps/unix/sysv/linux/kernel-features.h
14246 (__ASSUME_XFS_RESTRICTED_CHOWN): Remove macro.
14247 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_chown_restricted)
14248 [__ASSUME_XFS_RESTRICTED_CHOWN]: Make code unconditional.
14249 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
14250 Remove conditional code.
14252 2014-06-25 Will Newton <will.newton@linaro.org>
14254 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
14255 (_dl_arm_cap_flags): Add HWCAP2 values.
14256 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h
14257 (_DL_HWCAP_COUNT): Increase to 37.
14258 (_DL_HWCAP_LAST): New define.
14259 (_DL_HWCAP2_LAST): New define.
14260 (_dl_procinfo): Add support for printing
14262 (_dl_string_hwcap): Use _dl_hwcap_string.
14264 2014-06-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14266 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14268 2014-06-25 Joseph Myers <joseph@codesourcery.com>
14270 * README: Do not mention ports directory.
14272 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMENSAT):
14274 * sysdeps/unix/sysv/linux/futimes.c: Do not include
14275 <kernel-features.h>.
14276 [__NR_utimensat && !__ASSUME_UTIMENSAT] (miss_utimensat): Remove
14277 conditional variable definition.
14278 (__futimes): Update comment.
14279 (__futimes) [__ASSUME_UTIMENSAT]: Make code unconditional.
14280 (__futimes) [!__ASSUME_UTIMENSAT]: Remove conditional code.
14283 * sysdeps/ieee754/dbl-64/e_exp10.c (__ieee754_exp10): Return 1 for
14284 arguments close to 0.
14285 * sysdeps/ieee754/ldbl-128/e_exp10l.c (__ieee754_exp10l):
14287 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (__ieee754_exp10l):
14289 * math/auto-libm-test-in: Add more tests of exp10.
14290 * math/auto-libm-test-out: Regenerated.
14291 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
14293 * sysdeps/unix/sysv/linux/kernel-features.h
14294 (__ASSUME_COMPLETE_READV_WRITEV): Remove macro.
14295 * sysdeps/unix/sysv/linux/readv.c: Do not include
14296 <kernel-features.h>.
14297 [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
14298 [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
14299 (__libc_readv) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
14301 (__libc_readv) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
14303 * sysdeps/unix/sysv/linux/writev.c: Do not include
14304 <kernel-features.h>.
14305 [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
14306 [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
14307 (__libc_writev) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
14309 (__libc_writev) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
14312 2014-06-25 Will Newton <will.newton@linaro.org>
14314 * sysdeps/posix/tempname.c: Merge from gnulib, cosmetic
14315 comment changes throughout the file. Remove checks
14316 for HAVE_*_H definitions that are not required.
14317 (__gen_tempname): Call abort if an unknown kind value is
14320 2014-06-25 Andreas Schwab <schwab@suse.de>
14323 * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Add compat symbols for
14324 scalbln, scalblnf, scalblnl in libc.
14326 2014-06-25 Siddhesh Poyarekar <siddhesh@redhat.com>
14329 * sysdeps/i386/fpu/s_scalbn.S: Add compat symbol for libc.so.
14330 * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
14331 * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
14333 2014-06-24 Roland McGrath <roland@hack.frob.com>
14335 * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: Moved ...
14336 * sysdeps/i386/i486/pthread_spin_trylock.S: ... here.
14337 * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: Moved ...
14338 * sysdeps/i386/i586/pthread_spin_trylock.S: ... here.
14340 * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: Moved ...
14341 * sysdeps/i386/i686/pthread_spin_trylock.S: ... here.
14343 * sysdeps/x86_64/64/nptl/shlib-versions: Moved ...
14344 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: ... here.
14345 * sysdeps/x86_64/x32/nptl/shlib-versions: Moved ...
14346 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: ... here.
14347 * sysdeps/x86/nptl/bits/pthreadtypes.h: Moved ...
14348 * sysdeps/x86/bits/pthreadtypes.h: ... here.
14349 * sysdeps/x86/nptl/bits/semaphore.h: Moved ...
14350 * sysdeps/x86/bits/semaphore.h: ... here.
14351 * sysdeps/x86/nptl/elide.h: Moved ...
14352 * sysdeps/x86/elide.h: ... here.
14353 * sysdeps/x86_64/nptl/Implies: File removed.
14354 * sysdeps/i386/nptl/Implies: File removed.
14356 2014-06-24 Joseph Myers <joseph@codesourcery.com>
14359 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Just
14360 return the argument for normal arguments with exponent below -64.
14361 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
14363 * math/auto-libm-test-in: Add another test of expm1.
14364 * math/auto-libm-test-out: Regenerated.
14367 * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Return 1 without
14368 calling __erfcl for arguments at least 16.
14369 * math/auto-libm-test-in: Add more tests of erf.
14370 * math/auto-libm-test-out: Regenerated.
14372 * sysdeps/unix/sysv/linux/configure.ac: Remove cases for
14373 individual architectures.
14374 * sysdeps/unix/sysv/linux/configure: Regenerated.
14375 * sysdeps/unix/sysv/linux/i386/configure.ac: New file.
14376 * sysdeps/unix/sysv/linux/i386/configure: New generated file.
14377 * sysdeps/unix/sysv/linux/powerpc/configure.ac
14378 (ldd_rewrite_script): Define variable.
14379 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
14380 * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure.ac: New
14382 * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure: New
14384 * sysdeps/unix/sysv/linux/s390/configure.ac: New file.
14385 * sysdeps/unix/sysv/linux/s390/configure: New generated file.
14386 * sysdeps/unix/sysv/linux/sh/configure.ac: New file.
14387 * sysdeps/unix/sysv/linux/sh/configure: New generated file.
14388 * sysdeps/unix/sysv/linux/sparc/configure.ac: New file.
14389 * sysdeps/unix/sysv/linux/sparc/configure: New generated file.
14390 * sysdeps/unix/sysv/linux/x86_64/configure.ac: New file.
14391 * sysdeps/unix/sysv/linux/x86_64/configure: New generated file.
14393 2014-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
14396 * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_mutex_t):
14397 Rename member __data.d to __data.__elision_data.
14399 2014-06-24 Wilco <wdijkstr@arm.com>
14401 * NEWS: Add 16918 to fixed bug list.
14403 2014-06-24 Wilco <wdijkstr@arm.com>
14405 * sysdeps/arm/fesetenv.c (fesetenv): Optimize implementation.
14407 2014-06-24 Wilco <wdijkstr@arm.com>
14409 * sysdeps/arm/fpu_control.h (_FPU_MASK_RM): Define.
14410 * sysdeps/arm/fenv_private.h (libc_fesetround_vfp)
14411 (libc_feholdexcept_setround_vfp) (libc_feholdsetround_vfp)
14412 (libc_feresetround_vfp) (libc_feholdsetround_vfp_ctx)
14413 (libc_feresetround_vfp_ctx): Use _FPU_MASK_RM.
14414 * sysdeps/arm/fesetround.c (fesetround): Use _FPU_MASK_RM.
14415 * sysdeps/arm/get-rounding-mode.h (get_rounding_mode):
14418 2014-06-24 Wilco <wdijkstr@arm.com>
14420 * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Remove unused include.
14422 2014-06-24 Wilco <wdijkstr@arm.com>
14424 * sysdeps/arm/feholdexcpt.c (feholdexcept): Remove space.
14425 * sysdeps/arm/fesetenv.c (fesetenv): Remove space.
14426 * sysdeps/arm/fesetround.c (fesetround): Remove space.
14427 * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Remove space.
14429 2014-06-24 Wilco <wdijkstr@arm.com>
14432 * sysdeps/arm/feupdateenv.c (feupdateenv):
14433 Rewrite to reduce FPSCR accesses and fix return value.
14435 2014-06-24 Wilco <wdijkstr@arm.com>
14437 * sysdeps/arm/fclrexcpt.c (feclearexcept):
14438 Optimize to avoid unnecessary FPSCR writes.
14439 * sysdeps/arm/fedisblxcpt.c (fedisableexcept): Likewise.
14440 * sysdeps/arm/feenablxcpt.c (feenableexcept): Likewise.
14441 * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Likewise.
14442 * sysdeps/arm/setfpucw.c (__setfpucw): Likewise.
14444 2014-06-24 Wilco <wdijkstr@arm.com>
14446 * sysdeps/arm/fegetround.c (fegetround): Call get_rounding_mode.
14447 * sysdeps/arm/feholdexcpt.c (feholdexcept): Call libc_feholdexcept_vfp.
14448 * sysdeps/arm/fesetround.c (fesetround): Call libc_fesetround_vfp.
14449 * sysdeps/arm/fgetexcptflg.c (fegetexceptflag):
14450 Call libc_fetestexcept_vfp.
14451 * sysdeps/arm/ftestexcept.c (fetestexcept): Call libc_fetestexcept_vfp.
14452 * sysdeps/arm/fenv_private.h: Move libc_*_vfp functions outside of
14453 __SOFTFP__ ifdef so that they can be built for softfp.
14455 2014-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
14457 * sysdeps/x86/nptl/elide.h (elision_adapt): Make first
14458 argument type signed char.
14460 * Makerules (check-abi): Dump diff of symlist if the test
14463 2014-06-23 Roland McGrath <roland@hack.frob.com>
14465 * sysdeps/generic/get-rounding-mode.h: Include <stdlib.h> before
14468 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
14469 Remove unused variable ST.
14471 2014-06-23 Joseph Myers <joseph@codesourcery.com>
14475 * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Check for
14476 small arguments before calling __expm1.
14477 * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Check for
14478 small arguments before calling __expm1f.
14479 * sysdeps/ieee754/ldbl-128/e_coshl.c (__ieee754_coshl): Check for
14480 small arguments before calling __expm1l.
14481 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
14483 * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
14484 * math/auto-libm-test-in: Add more cosh tests. Do not allow
14485 spurious underflow for some cosh tests.
14486 * math/auto-libm-test-out: Regenerated.
14487 * sysdeps/i386/fpu/libm-test-ulps: Update.
14490 * sysdeps/ieee754/dbl-64/e_j1.c: Include <errno.h>.
14491 (__ieee754_y1): Set errno if return value overflows.
14492 * sysdeps/ieee754/flt-32/e_j1f.c: Include <errno.h>.
14493 (__ieee754_y1f): Set errno if return value overflows.
14494 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <errno.h>.
14495 (__ieee754_y1l): Set errno if return value overflows.
14496 * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <errno.h>.
14497 (__ieee754_y1l): Set errno if return value overflows.
14498 * math/auto-libm-test-in: Add more tests of y0, y1 and yn.
14499 * math/auto-libm-test-out: Regenerated.
14501 * math/gen-auto-libm-tests.c: Document use of
14502 ignore-zero-inf-sign.
14503 (input_flag_type): Add value flag_ignore_zero_inf_sign.
14504 (input_flags): Add ignore-zero-inf-sign.
14505 (output_for_one_input_case): Handle flag_ignore_zero_inf_sign.
14506 * math/gen-libm-test.pl (generate_testfile): Handle
14507 ignore-zero-inf-sign.
14508 * math/auto-libm-test-in: Mark some cpow tests with
14509 ignore-zero-inf-sign and some with xfail-rounding.
14510 * math/auto-libm-test-out: Regenerated.
14511 * math/libm-test.inc (cpow_test): Use ALL_RM_TEST.
14512 * sysdeps/i386/fpu/libm-test-ulps: Update.
14513 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14516 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Ensure possibly
14517 overflowing or underflowing operations take place with sign of
14519 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
14520 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
14521 * sysdeps/ieee754/dbl-64/e_pow.c: Include <math.h>.
14522 (__ieee754_pow): Recompute overflowing and underflowing results in
14523 original rounding mode.
14524 * sysdeps/x86/fpu/powl_helper.c: Include <stdbool.h>.
14525 (__powl_helper): Allow negative argument X and scale negated value
14526 as needed. Avoid passing value outside [-1, 1] to f2xm1.
14527 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Ensure possibly
14528 overflowing or underflowing operations take place with sign of
14530 * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]:
14532 * math/auto-libm-test-in: Add more tests of pow.
14533 * math/auto-libm-test-out: Regenerated.
14534 * math/libm-test.inc (pow_test): Use ALL_RM_TEST.
14535 (pow_tonearest_test_data): Remove.
14536 (pow_test_tonearest): Likewise.
14537 (pow_towardzero_test_data): Likewise.
14538 (pow_test_towardzero): Likewise.
14539 (pow_downward_test_data): Likewise.
14540 (pow_test_downward): Likewise.
14541 (pow_upward_test_data): Likewise.
14542 (pow_test_upward): Likewise.
14543 (main): Don't call removed functions.
14544 * sysdeps/i386/fpu/libm-test-ulps: Update.
14545 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14547 2014-06-23 Roland McGrath <roland@hack.frob.com>
14549 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/c++-types.data:
14551 * sysdeps/unix/sysv/linux/powerpc/powerpc32/c++-types.data: ... here.
14552 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
14554 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: ... here.
14555 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
14557 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: ... here.
14558 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
14560 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data: ... here.
14561 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
14563 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
14565 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libBrokenLocale.abilist:
14567 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libanl.abilist:
14569 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libcrypt.abilist:
14571 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libdl.abilist:
14573 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libnsl.abilist:
14575 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
14577 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libresolv.abilist:
14579 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
14581 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libthread_db.abilist:
14583 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libutil.abilist:
14585 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/ld.abilist:
14587 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: ... here.
14588 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libBrokenLocale.abilist:
14590 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
14592 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libanl.abilist:
14594 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: ... here.
14595 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libcrypt.abilist:
14597 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: ... here.
14598 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libdl.abilist:
14600 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: ... here.
14601 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libnsl.abilist:
14603 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: ... here.
14604 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libpthread.abilist:
14606 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist: ... here.
14607 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libresolv.abilist:
14609 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist: ... here.
14610 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/librt.abilist:
14612 * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: ... here.
14613 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libthread_db.abilist: Moved ...
14614 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
14616 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libutil.abilist:
14618 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: ... here.
14619 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
14621 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
14623 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libm.abilist:
14625 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
14627 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
14629 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
14631 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
14633 * sysdeps/unix/sysv/linux/powerpc/powerpc64/c++-types.data: ... here.
14634 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
14636 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: ... here.
14637 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: Moved ...
14638 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: ... here.
14639 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
14641 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
14643 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
14645 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
14647 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
14649 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist: ... here.
14650 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
14652 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: ... here.
14653 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
14655 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: ... here.
14656 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
14658 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: ... here.
14659 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
14661 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
14663 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
14665 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: ... here.
14666 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
14668 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: ... here.
14669 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
14671 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: ... here.
14672 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
14674 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: ... here.
14675 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: Moved ...
14676 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: ... here.
14677 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
14679 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist: ... here.
14680 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
14682 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: ... here.
14683 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
14685 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
14687 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
14689 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
14691 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
14693 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
14695 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
14697 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist: ... here.
14698 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
14700 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: ... here.
14701 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
14703 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: ... here.
14704 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
14706 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
14708 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
14710 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
14712 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
14714 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
14716 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
14718 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: ... here.
14719 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
14721 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: ... here.
14723 2014-06-23 Will Newton <will.newton@linaro.org>
14724 Wilco <wdijkstr@arm.com>
14726 * sysdeps/generic/math_private.h: Add generic HAVE_RM_CTX
14727 implementation. Include get-rounding-mode.h.
14728 [!HAVE_RM_CTX]: Define HAVE_RM_CTX to zero.
14729 [!libc_feholdsetround_noex_ctx]: Define
14730 libc_feholdsetround_noex_ctx.
14731 [!libc_feholdsetround_noexf_ctx]: Define
14732 libc_feholdsetround_noexf_ctx.
14733 [!libc_feholdsetround_noexl_ctx]: Define
14734 libc_feholdsetround_noexl_ctx.
14735 (libc_feholdsetround_ctx): New function.
14736 (libc_feresetround_ctx): New function.
14737 (libc_feholdsetround_noex_ctx): New function.
14738 (libc_feresetround_noex_ctx): New function.
14740 2014-06-23 Roland McGrath <roland@hack.frob.com>
14742 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Moved ...
14743 * sysdeps/mips/nptl/bits/pthreadtypes.h: ... here.
14744 * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h: Moved ...
14745 * sysdeps/mips/nptl/bits/semaphore.h: ... here.
14746 * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Moved ...
14747 * sysdeps/unix/sysv/linux/mips/bits/local_lim.h: ... here.
14749 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h: Moved ...
14750 * sysdeps/m68k/nptl/bits/pthreadtypes.h: ... here.
14751 * sysdeps/unix/sysv/linux/m68k/nptl/bits/semaphore.h: Moved ...
14752 * sysdeps/m68k/nptl/bits/semaphore.h: ... here.
14753 * sysdeps/unix/sysv/linux/m68k/nptl/c++-types.data: Moved ...
14754 * sysdeps/unix/sysv/linux/m68k/c++-types.data: ... here.
14755 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/bits/atomic.h: Moved ...
14756 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: ... here.
14757 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/ld.abilist: Moved ...
14758 * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: ... here.
14759 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libBrokenLocale.abilist:
14761 * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
14763 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libanl.abilist: Moved ...
14764 * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: ... here.
14765 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libc.abilist: Moved ...
14766 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: ... here.
14767 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libcrypt.abilist:
14769 * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: ... here.
14770 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libdl.abilist: Moved ...
14771 * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: ... here.
14772 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libm.abilist: Moved ...
14773 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: ... here.
14774 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libnsl.abilist: Moved ...
14775 * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: ... here.
14776 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libpthread.abilist:
14778 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: ... here.
14779 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libresolv.abilist:
14781 * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: ... here.
14782 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/librt.abilist: Moved ...
14783 * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: ... here.
14784 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libthread_db.abilist:
14786 * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: ... here.
14787 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libutil.abilist: Moved ...
14788 * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: ... here.
14789 * sysdeps/unix/sysv/linux/m68k/nptl/localplt.data: Moved ...
14790 * sysdeps/unix/sysv/linux/m68k/localplt.data: ... here.
14791 * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h: Moved ...
14792 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: ... here.
14793 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/ld.abilist: Moved ...
14794 * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: ... here.
14795 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libBrokenLocale.abilist:
14797 * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
14799 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libanl.abilist: Moved ...
14800 * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: ... here.
14801 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libc.abilist: Moved ...
14802 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: ... here.
14803 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libcrypt.abilist: Moved ...
14804 * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: ... here.
14805 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libdl.abilist: Moved ...
14806 * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: ... here.
14807 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libm.abilist: Moved ...
14808 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: ... here.
14809 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libnsl.abilist: Moved ...
14810 * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: ... here.
14811 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libpthread.abilist:
14813 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: ... here.
14814 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libresolv.abilist: Moved ...
14815 * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: ... here.
14816 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/librt.abilist: Moved ...
14817 * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: ... here.
14818 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libthread_db.abilist:
14820 * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: ... here.
14821 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libutil.abilist: Moved ...
14822 * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: ... here.
14823 * sysdeps/unix/sysv/linux/m68k/nptl/sysdep-cancel.h: Moved ...
14824 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: ... here.
14826 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: Moved ...
14827 * sysdeps/unix/sysv/linux/sh/c++-types.data: ... here.
14828 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: Moved ...
14829 * sysdeps/unix/sysv/linux/sh/ld.abilist: ... here.
14830 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: Moved ...
14831 * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: ... here.
14832 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: Moved ...
14833 * sysdeps/unix/sysv/linux/sh/libanl.abilist: ... here.
14834 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Moved ...
14835 * sysdeps/unix/sysv/linux/sh/libc.abilist: ... here.
14836 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: Moved ...
14837 * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: ... here.
14838 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: Moved ...
14839 * sysdeps/unix/sysv/linux/sh/libdl.abilist: ... here.
14840 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Moved ...
14841 * sysdeps/unix/sysv/linux/sh/libm.abilist: ... here.
14842 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: Moved ...
14843 * sysdeps/unix/sysv/linux/sh/libnsl.abilist: ... here.
14844 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: Moved ...
14845 * sysdeps/unix/sysv/linux/sh/libpthread.abilist: ... here.
14846 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: Moved ...
14847 * sysdeps/unix/sysv/linux/sh/libresolv.abilist: ... here.
14848 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Moved ...
14849 * sysdeps/unix/sysv/linux/sh/librt.abilist: ... here.
14850 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: Moved ...
14851 * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: ... here.
14852 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: Moved ...
14853 * sysdeps/unix/sysv/linux/sh/libutil.abilist: ... here.
14855 2014-06-23 Joseph Myers <joseph@codesourcery.com>
14857 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
14858 (FALLOC_FL_COLLAPSE_RANGE): New macro.
14859 [__USE_GNU] (FALLOC_FL_ZERO_RANGE): Likewise.
14860 * sysdeps/unix/sysv/linux/bits/in.h (IP_PMTUDISC_OMIT): Likewise.
14861 (IPV6_PMTUDISC_INTERFACE): Likewise.
14862 (IPV6_PMTUDISC_OMIT): Likewise.
14864 2014-06-23 Andreas Schwab <schwab@suse.de>
14866 * nptl/sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink):
14867 Remove unused errout label.
14869 2014-06-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14871 * sysdeps/powerpc/bits/hwcap.h [PPC_FEATURE2_HAS_VEC_CRYPTO]: New
14872 macro: hardware supports Vector Crypto instructions.
14874 2014-06-23 Will Newton <will.newton@linaro.org>
14876 * elf/dl-lookup.c: Use __glibc_unlikely and __glibc_likely
14877 rather than __builtin_expect.
14879 * elf/dl-lookup.c (undefined_msg): Remove variable.
14880 (_dl_lookup_symbol_x): Replace undefined_msg with string
14883 * elf/dl-lookup.c (do_lookup_unique): New function.
14884 (do_lookup_x): Move STB_GNU_UNIQUE handling code
14885 to a separate function.
14887 2014-06-23 Andreas Schwab <schwab@suse.de>
14890 * nss/nss_files/files-XXX.c (get_contents): Store overflow marker
14891 before reading the next line.
14893 2014-06-23 Will Newton <will.newton@linaro.org>
14895 * test-skeleton.c (signal_handler): Use printf and %m
14896 rather than perror. Use printf rather than fprintf to
14897 stderr. Use puts rather than fputs to stderr.
14900 2014-06-22 Ludovic Courtès <ludo@gnu.org>
14902 * nscd/nscd.c (thread_info_t): Remove typedef.
14903 (thread_info): Remove variable.
14905 2014-06-21 Allan McRae <allan@archlinux.org>
14907 * NEWS: Mention CVE-2014-4043.
14909 2014-06-20 Roland McGrath <roland@hack.frob.com>
14911 * nptl/sysdeps/unix/sysv/linux/smp.h: Moved ...
14912 * nptl/smp.h: ... here.
14914 * nptl/sysdeps/unix/sysv/linux/rtld-lowlevel.h: File removed.
14916 * include/libc-symbols.h (HAVE_CONFIG_H, STDC_HEADERS): New macros.
14917 * catgets/Makefile (catgets-CPPFLAGS): Remove -DHAVE_CONFIG_H.
14918 * locale/Makefile (CPPFLAGS-locale-programs): Likewise.
14919 * stdlib/strtol_l.c [_LIBC] (STDC_HEADERS): Don't define it.
14921 * nptl/allocatestack.c: Include <stack-aliasing.h>.
14922 * nptl/stack-aliasing.h: New file.
14923 * sysdeps/i386/i686/stack-aliasing.h: New file.
14924 * sysdeps/i386/i686/nptl/Makefile: File removed.
14925 * sysdeps/x86_64/stack-aliasing.h: New file.
14926 * sysdeps/x86_64/nptl/Makefile
14927 (CFLAGS-pthread_create.c): Variable removed.
14929 * nptl/sysdeps/unix/sysv/linux/bits/local_lim.h: Moved ...
14930 * sysdeps/unix/sysv/linux/bits/local_lim.h: ... here, replacing the
14932 * nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h: Moved ...
14933 * sysdeps/unix/sysv/linux/bits/posix_opt.h: ... here, replacing the
14936 2014-06-21 Joseph Myers <joseph@codesourcery.com>
14938 * sysdeps/unix/sysv/linux/arm/kernel-features.h
14939 (__ASSUME_SIGFRAME_V2): Remove macro.
14940 * sysdeps/unix/sysv/linux/arm/sigrestorer.S: Update comment.
14941 [!__ASSUME_SIGFRAME_V2]: Remove conditional code.
14942 (__default_sa_restorer_v2): Rename to __default_sa_restorer.
14943 (__default_rt_sa_restorer_v2): Rename to __default_rt_sa_restorer.
14944 * sysdeps/unix/sysv/linux/arm/sigaction.c (__default_sa_restorer):
14945 Declare as function. Remove conditional macro definitions.
14946 (__default_rt_sa_restorer): Likewise.
14947 (__default_sa_restorer_v1): Remove declaration.
14948 (__default_sa_restorer_v2): Likewise.
14949 (__default_rt_sa_restorer_v1): Likewise.
14950 (__default_rt_sa_restorer_v2): Likewise.
14951 * sysdeps/unix/sysv/linux/arm/Versions (GLIBC_PRIVATE): Remove
14952 __default_sa_restorer_v1, __default_rt_sa_restorer_v1,
14953 __default_sa_restorer_v2 and __default_rt_sa_restorer_v2.
14955 2014-06-20 Roland McGrath <roland@hack.frob.com>
14957 * sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl]
14958 (libpthread-routines): Add sysdep.
14959 * nptl/sysdeps/unix/sysv/linux/sparc/Makefile: File removed.
14960 * sysdeps/unix/sysv/linux/sparc/Versions
14961 (libpthread: GLIBC_2.3.3): New version set.
14962 * nptl/sysdeps/unix/sysv/linux/sparc/Versions: File removed.
14963 * nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c: Moved ...
14964 * sysdeps/unix/sysv/linux/sparc/aio_cancel.c: ... here.
14965 * nptl/sysdeps/unix/sysv/linux/sparc/internaltypes.h: Moved ...
14966 * sysdeps/sparc/nptl/internaltypes.h: ... here. Use #include_next.
14967 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_destroy.c:
14969 * sysdeps/sparc/nptl/pthread_barrier_destroy.c: ... here.
14970 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c: Moved ...
14971 * sysdeps/sparc/nptl/pthread_barrier_init.c: ... here.
14972 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_wait.c: Moved ...
14973 * sysdeps/sparc/nptl/pthread_barrier_wait.c: ... here.
14974 * nptl/sysdeps/unix/sysv/linux/sparc/sem_init.c: Moved ...
14975 * sysdeps/sparc/nptl/sem_init.c: ... here.
14976 * nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c: Moved ...
14977 * sysdeps/sparc/nptl/sem_post.c: ... here.
14978 * nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Moved ...
14979 * sysdeps/sparc/nptl/sem_timedwait.c: ... here.
14980 * nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c: Moved ...
14981 * sysdeps/sparc/nptl/sem_wait.c: ... here.
14982 * nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Moved ...
14983 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: ... here.
14984 * sysdeps/sparc/sparc32/sparcv9/Makefile [$(subdir) = nptl]
14985 (libpthread-routines): Add cpu_relax.
14986 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile:
14988 * sysdeps/unix/sysv/linux/sparc/sparc64/Versions
14989 (librt: GLIBC_2.3.3): New version set.
14990 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Versions: File removed.
14991 * sysdeps/sparc/sparc64/nptl/Makefile: New file.
14992 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile [$(subdir) = nptl]
14993 (CFLAGS-pause.c, CFLAGS-sigsuspend.c): New variables.
14994 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: File removed.
14995 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c: Moved ...
14996 * sysdeps/sparc/sparc32/nptl/lowlevellock.c: ... here.
14997 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pthread_barrier_wait.c:
14999 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: ... here.
15000 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Moved ...
15001 * sysdeps/sparc/sparc32/nptl/sem_post.c: ... here.
15002 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Moved ...
15003 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: ... here.
15004 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c: Moved ...
15005 * sysdeps/sparc/sparc32/nptl/sem_trywait.c: ... here.
15006 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Moved ...
15007 * sysdeps/sparc/sparc32/nptl/sem_wait.c: ... here.
15008 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S:
15010 * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: ... here.
15012 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c:
15014 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: ... here.
15016 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c:
15018 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: ... here.
15020 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c:
15022 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: ... here.
15024 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_trywait.c:
15026 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: ... here.
15028 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c:
15030 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: ... here.
15032 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: Moved ...
15033 * sysdeps/sparc/sparc64/nptl/cpu_relax.S: ... here.
15034 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Moved ...
15035 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: ... here.
15036 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Moved ...
15037 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: ... here.
15038 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: Moved ...
15039 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: ... here.
15040 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: Moved ...
15041 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: ... here.
15042 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
15044 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: ... here.
15045 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: Moved ...
15046 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: ... here.
15047 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: Moved ...
15048 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: ... here.
15050 2014-06-20 Joseph Myers <joseph@codesourcery.com>
15052 * nptl/pthread_cond_wait.c: Include <kernel-features.h>.
15053 * nptl/pthread_rwlock_timedrdlock.c: Likewise.
15054 * nptl/pthread_rwlock_timedwrlock.c: Likewise.
15055 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise.
15056 * nscd/nscd.c: Likewise.
15057 * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
15058 * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
15059 * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
15060 * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
15062 * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include
15063 <kernel-features.h>.
15064 (init_mq_netlink): Remove conditional have_sock_cloexec
15065 definitions. Remove code conditional on have_sock_cloexec < 0.
15066 (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code.
15067 (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise.
15068 * sysdeps/unix/sysv/linux/opensock.c: Do not include
15069 <kernel-features.h>.
15070 (__opensock) [SOCK_CLOEXEC]: Make code unconditional.
15071 (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code.
15073 2014-06-20 H.J. Lu <hongjiu.lu@intel.com>
15075 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
15076 Add tests for memset_chk and memset.
15078 * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined
15081 2014-06-20 Maciej W. Rozycki <macro@codesourcery.com>
15084 * elf/tst-dl-iter-static.c: New file.
15085 * elf/Makefile (tests-static): Add tst-dl-iter-static.
15087 * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation
15090 2014-06-20 Joseph Myers <joseph@codesourcery.com>
15092 * sysdeps/unix/sysv/linux/kernel-features.h
15093 (__ASSUME_F_GETOWN_EX): Remove macro.
15094 * sysdeps/unix/sysv/linux/fcntl.c: Do not include
15095 <kernel-features.h>.
15096 (miss_F_GETOWN_EX): Remove variable or macro.
15097 (do_fcntl): Do not check miss_F_GETOWN_EX.
15098 (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code.
15100 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM):
15102 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard)
15103 [!__ASSUME_AT_RANDOM]: Remove conditional code.
15104 (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise.
15106 * sysdeps/unix/sysv/linux/kernel-features.h
15107 (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro.
15108 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME)
15109 [ADJ_OFFSET_SS_READ]: Make code unconditional.
15110 (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code.
15112 2014-06-20 Maciej W. Rozycki <macro@codesourcery.com>
15115 * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>:
15116 Fix calculation of the symbol's value.
15117 * sysdeps/arm/tst-armtlsdescloc.c: New file.
15118 * sysdeps/arm/tst-armtlsdesclocmod.c: New file.
15119 * sysdeps/arm/tst-armtlsdescextnow.c: New file.
15120 * sysdeps/arm/tst-armtlsdescextlazymod.c: New file.
15121 * sysdeps/arm/tst-armtlsdescextlazy.c: New file.
15122 * sysdeps/arm/tst-armtlsdescextnowmod.c: New file.
15123 * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc',
15124 `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'.
15125 (modules-names): Add `tst-armtlsdescmod',
15126 `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'.
15127 (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable.
15128 (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise.
15129 (CFLAGS-tst-armtlsdesclocmod.c): Likewise.
15130 (CFLAGS-tst-armtlsdescextnowmod.c): Likewise.
15131 (CFLAGS-tst-armtlsdescextlazymod.c): Likewise.
15132 (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise.
15133 ($(objpfx)tst-armtlsdescloc): New dependency.
15134 ($(objpfx)tst-armtlsdescextnow): Likewise.
15135 ($(objpfx)tst-armtlsdescextlazy): Likewise.
15136 * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor
15137 TLS scheme support.
15138 * sysdeps/arm/configure: Regenerate.
15140 2014-06-20 Joseph Myers <joseph@codesourcery.com>
15142 * include/fcntl.h (__atfct_seterrno): Remove prototype.
15143 (__atfct_seterrno_2): Likewise.
15144 * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include
15145 <kernel-features.h>.
15146 (__ASSUME_ATFCTS): Do not undefine and redefine.
15147 * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS]
15148 (__have_atfcts): Remove conditional definition.
15149 (__fxstatat([__NR_fstatat64]: Make code unconditional.
15150 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code
15151 unreachable if [__ASSUME_ATFCTS].
15152 * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do
15153 not undefine and redefine.
15154 * sysdeps/unix/sysv/linux/faccessat.c: Do not include
15155 <kernel-features.h>.
15156 (faccessat) [__NR_faccessat]: Make code unconditional.
15157 (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code.
15158 * sysdeps/unix/sysv/linux/fchmodat.c: Do not include
15159 <kernel-features.h>.
15160 (fchmodat) [__NR_fchmodat]: Make code unconditional.
15161 (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code.
15162 * sysdeps/unix/sysv/linux/fchownat.c: Do not include
15163 <kernel-features.h>.
15164 (fchownat) [__NR_fchownat]: Make code unconditional.
15165 (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code.
15166 * sysdeps/unix/sysv/linux/futimesat.c: Do not include
15167 <kernel-features.h>.
15168 (futimesat) [__NR_futimesat]: Make code unconditional.
15169 (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code.
15170 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
15171 <kernel-features.h>.
15172 (__fxstatat) [__NR_newfstatat]: Make code unconditional.
15173 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
15174 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
15175 <kernel-features.h>.
15176 (__fxstatat64) [__NR_fstatat64]: Make code unconditional.
15177 (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
15178 * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file.
15179 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
15180 <kernel-features.h>.
15181 (__fxstatat) [__NR_fstatat64]: Make code unconditional.
15182 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
15183 * sysdeps/unix/sysv/linux/linkat.c: Do not include
15184 <kernel-features.h>.
15185 (linkat) [__NR_linkat]: Make code unconditional.
15186 (linkat) [!__ASSUME_ATFCTS]: Remove conditional code.
15187 * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file.
15188 * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
15189 <kernel-features.h>.
15190 (__fxstatat64) [__NR_newfstatat]: Make code unconditional.
15191 (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
15192 * sysdeps/unix/sysv/linux/mkdirat.c: Do not include
15193 <kernel-features.h>.
15194 (mkdirat) [__NR_mkdirat]: Make code unconditional.
15195 (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code.
15196 * sysdeps/unix/sysv/linux/openat.c: Do not include
15197 <kernel-features.h>.
15198 [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function.
15199 [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable.
15200 (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional.
15201 (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code.
15202 * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file.
15203 * sysdeps/unix/sysv/linux/readlinkat.c: Do not include
15204 <kernel-features.h>.
15205 (readlinkat) [__NR_readlinkat]: Make code unconditional.
15206 (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code. Return
15207 result of INLINE_SYSCALL directly, not via int variable.
15208 * sysdeps/unix/sysv/linux/renameat.c: Do not include
15209 <kernel-features.h>.
15210 [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function.
15211 (renameat) [__NR_renameat]: Make code unconditional.
15212 (renameat) [!__ASSUME_ATFCTS]: Remove conditional code.
15213 * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file.
15214 * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file.
15215 * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file.
15216 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
15217 (__ASSUME_ATFCTS): Do not undefine and redefine.
15218 * sysdeps/unix/sysv/linux/symlinkat.c: Do not include
15219 <kernel-features.h>.
15220 (symlinkat) [__NR_symlinkat]: Make code unconditional.
15221 (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
15222 * sysdeps/unix/sysv/linux/unlinkat.c: Do not include
15223 <kernel-features.h>.
15224 (unlinkat) [__NR_unlinkat]: Make code unconditional.
15225 (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
15226 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
15227 (__ASSUME_ATFCTS): Do not undefine and redefine.
15228 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
15229 <kernel-features.h>.
15230 (__fxstatat) [__NR_newfstatat]: Make code unconditional.
15231 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
15232 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
15233 <kernel-features.h>.
15234 (__xmknodat) [__NR_mknodat]: Make code unconditional.
15235 (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code.
15237 2014-06-20 H.J. Lu <hongjiu.lu@intel.com>
15239 * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed.
15241 2014-06-20 Andreas Schwab <schwab@linux-m68k.org>
15244 * posix/regcomp.c (parse_reg_exp): Deallocate partially
15245 constructed tree before returning error.
15246 * posix/bug-regexp36.c: Expand test case.
15248 2014-06-20 Stefan Liebler <stli@linux.vnet.ibm.com>
15251 * math/libm-test.inc (scalbln_test_date):
15252 Add errno expectations.
15253 * math/w_scalblnf.c: New File.
15254 Add wrapper which checks for setting errno to ERANGE.
15255 Add weak_alias for corresponding scalbln function.
15256 * math/w_scalbln.c: Likewise.
15257 * math/w_scalblnl.c: Likewise.
15258 * math/Makefile (libm-calls): Add w_scalbln.
15259 * sysdeps/ieee754/flt-32/s_scalblnf.c:
15260 Remove weak_alias for corresponding scalbln function.
15261 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
15262 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
15263 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
15264 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
15265 * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
15266 * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
15267 * sysdeps/i386/fpu/s_scalbn.S: Likewise.
15268 * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
15269 * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
15270 * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
15271 Remove long_double_symbol for scalblnl function in libm, libc.
15272 * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: New File.
15273 Add wrapper which checks for setting errno to ERANGE.
15274 Add long_double_symbol for scalblnl function in libm, libc.
15275 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
15276 Remove long_double_symbol for scalblnl in libm.
15277 * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: New File.
15278 Add wrapper which checks for setting errno to ERANGE.
15279 Add long_double_symbol for scalblnl function in libm.
15280 * sysdeps/ia64/fpu/w_scalblnf.c: New File.
15281 Do not use wrapper because of own implementation.
15283 2014-06-19 H.J. Lu <hongjiu.lu@intel.com>
15285 * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
15286 3 bytes for __pad1 for x32.
15287 (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
15289 2014-06-19 Ling Ma <ling.ml@alibaba-inc.com>
15290 H.J. Lu <hongjiu.lu@intel.com>
15292 * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
15293 * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
15294 * sysdeps/x86_64/multiarch/memset.S: Likewise.
15295 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
15296 * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
15298 2014-06-19 Andreas Schwab <schwab@linux-m68k.org>
15301 * posix/regcomp.c (parse_expression): Deallocate partially
15302 constructed tree before returning error.
15303 * posix/Makefile.c (tests): Add bug-regex36.
15304 (generated): Add bug-regex36.mtrace.
15305 (tests-special): Add $(objpfx)bug-regex36-mem.out
15306 (bug-regex36-ENV): New variable.
15307 ($(objpfx)bug-regex36-mem.out): New rule.
15308 * posix/bug-regex36.c: New file.
15310 2014-06-19 Will Newton <will.newton@linaro.org>
15312 * malloc/malloc.c (systrim): If extra is zero then return
15315 2014-06-19 Siddhesh Poyarekar <siddhesh@redhat.com>
15317 * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
15319 2014-06-19 Richard Earnshaw <rearnsha@arm.com>
15321 * sysdeps/aarch64/strchr.S: New file.
15323 2014-06-18 Joseph Myers <joseph@codesourcery.com>
15326 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
15327 from arguments -2 or below.
15328 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
15329 * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
15331 2014-06-18 Andreas Schwab <schwab@suse.de>
15334 * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
15335 of a bracket expr not to run off the end of the string.
15336 * posix/Makefile (tests): Add tst-fnmatch3.
15337 * posix/tst-fnmatch3.c: New file.
15339 2014-06-18 Joseph Myers <joseph@codesourcery.com>
15341 * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
15342 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
15343 [$(cross-compiling) = no]: Likewise.
15344 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
15345 [$(cross-compiling) = no]: Likewise.
15347 2014-16-17 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
15350 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
15351 double, adjusted for any remainder from the high double.
15352 * math/libm-test.inc (nearbyint): Add tests.
15355 2014-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15357 * nptl/sysdeps/powerpc/Makefile: Moved ...
15358 * sysdeps/powerpc/nptl/Makefile: ... here.
15359 * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
15360 * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
15361 * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
15362 * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
15363 * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
15364 * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
15365 * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
15366 * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
15367 * nptl/sysdeps/powerpc/tls.h: Moved ...
15368 * sysdeps/powerpc/nptl/tls.h: ... here.
15370 2014-06-16 Joseph Myers <joseph@codesourcery.com>
15373 * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
15374 * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
15375 * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
15376 * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
15377 * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
15378 * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
15379 * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
15380 * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
15381 * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
15383 2014-06-17 Andreas Schwab <schwab@linux-m68k.org>
15385 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
15387 2014-06-16 Andreas Schwab <schwab@linux-m68k.org>
15389 * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
15392 * scripts/cross-test-ssh.sh (timeoutfactor): Default to
15395 2014-06-16 Florian Weimer <fweimer@redhat.com>
15398 * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
15399 non-executed part of the test.
15401 2014-06-16 Andreas Schwab <schwab@suse.de>
15403 * string/bits/string2.h (strdup, strndup): Update feature guard.
15405 2014-06-14 David S. Miller <davem@davemloft.net>
15407 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15409 2014-06-14 Andreas Schwab <schwab@linux-m68k.org>
15411 * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
15412 that was previously under [RESET_PID].
15413 * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
15415 * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
15416 * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
15417 * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
15418 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
15419 (__libc_vfork): New strong alias.
15420 * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
15422 2014-06-14 Andi Kleen <ak@linux.intel.com>
15424 * sysdeps/generic/elide.h: New file.
15426 2014-06-13 Stefan Liebler <stli@linux.vnet.ibm.com>
15428 * Makefile (installed-headers): Adjust path of pthread.h header.
15430 2014-06-13 Roland McGrath <roland@hack.frob.com>
15432 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
15433 * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
15434 * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
15435 * sysdeps/s390/nptl/bits/semaphore.h: ... here.
15437 * nptl/sysdeps/s390/Makefile: Moved ...
15438 * sysdeps/s390/nptl/Makefile: ... here.
15439 * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
15440 * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
15441 * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
15442 * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
15443 * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
15444 * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
15445 * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
15446 * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
15447 * nptl/sysdeps/s390/pthreaddef.h: Moved ...
15448 * sysdeps/s390/nptl/pthreaddef.h: ... here.
15449 * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
15450 * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
15451 * nptl/sysdeps/s390/tls.h: Moved ...
15452 * sysdeps/s390/nptl/tls.h: ... here.
15454 * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
15455 * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
15457 2014-06-13 David S. Miller <davem@davemloft.net>
15459 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
15460 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
15461 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
15462 * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
15463 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
15464 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
15465 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
15466 * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
15467 * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
15468 * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
15469 * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
15470 Remove RESET_PID cpp guards.
15471 * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
15472 Remove RESET_PID cpp guards.
15473 * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
15475 2014-06-13 Andreas Schwab <schwab@linux-m68k.org>
15477 * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
15480 2014-06-13 Andi Kleen <ak@linux.intel.com>
15482 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
15483 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
15484 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
15485 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
15486 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
15487 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
15488 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
15489 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
15490 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
15491 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
15492 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
15493 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
15494 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
15495 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
15496 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
15497 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
15498 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
15499 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
15500 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
15501 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
15503 * nptl/pthread_rwlock_rdlock.c: Include elide.h.
15504 (pthread_rwlock_rdlock): Add elision.
15505 * nptl/pthread_rwlock_wrlock.c: Include elide.h.
15506 (pthread_rwlock_wrlock): Add elision.
15507 * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
15508 (pthread_rwlock_trywrlock): Add elision.
15509 * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
15510 (pthread_rwlock_tryrdlock): Add elision.
15511 * nptl/pthread_rwlock_unlock.c: Include elide.h.
15512 (pthread_rwlock_tryrdlock): Add elision unlock.
15513 * nptl/sysdeps/pthread/pthread.h:
15514 (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
15515 (PTHREAD_RWLOCK_INITIALIZER,
15516 PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
15517 Handle new elision field.
15518 * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
15519 * sysdeps/arm/nptl/bits/pthreadtypes.h
15520 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
15521 * sysdeps/sh/nptl/bits/pthreadtypes.h
15522 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
15523 * sysdeps/tile/nptl/bits/pthreadtypes.h
15524 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
15525 * sysdeps/a/nptl/bits/pthreadtypes.h
15526 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
15527 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
15528 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
15529 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
15530 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
15531 * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
15532 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
15533 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
15534 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
15535 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
15536 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
15537 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
15538 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
15539 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
15540 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
15541 * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
15542 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
15543 * sysdeps/unix/sysv/linux/x86/elision-conf.c:
15544 (elision_init): Set try_xbegin to zero when no RTM.
15545 * sysdeps/x86/nptl/bits/pthreadtypes.h
15546 (pthread_rwlock_t): Change __pad1 to __rwelision.
15547 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
15549 2014-06-13 Andi Kleen <ak@linux.intel.com>
15551 * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
15552 Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
15553 * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
15554 Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
15556 2014-06-13 Meador Inge <meadori@codesourcery.com>
15559 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
15560 that the cached result has been set before returning it.
15562 2014-06-12 Roland McGrath <roland@hack.frob.com>
15564 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
15565 * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
15566 * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
15567 * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
15568 * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
15569 * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
15571 * nptl/sysdeps/sparc/Makefile: Moved ...
15572 * sysdeps/sparc/nptl/Makefile: ... here.
15573 * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
15574 * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
15575 * nptl/sysdeps/sparc/tls.h: Moved ...
15576 * sysdeps/sparc/nptl/tls.h: ... here.
15577 * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
15578 * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
15579 * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
15580 * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
15581 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
15582 * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
15583 * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
15584 * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
15585 * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
15586 * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
15587 * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
15588 * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
15589 * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
15590 * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
15591 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
15592 * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
15593 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
15594 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
15596 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
15597 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
15599 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
15600 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
15602 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
15603 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
15606 * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
15608 * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
15609 * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
15611 * sysdeps/pthread/posix-timer.h: Include <list.h>.
15612 (struct list_links): Type removed.
15613 (struct thread_node, struct timer_node): Replace struct list_links
15614 with struct list_head.
15615 (list_unlink_ip): Likewise.
15616 * sysdeps/pthread/timer_routines.c
15617 (timer_free_list, thread_free_list, thread_active_list): Likewise.
15618 (list_append, list_insbefore): Likewise.
15619 (list_init): Function removed.
15620 (thread_init, init_module): Use INIT_LIST_HEAD instead.
15621 * sysdeps/nptl/Makefile: Move tst-timer bits to ...
15622 * sysdeps/pthread/Makefile: ... here, new file.
15624 * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
15625 * sysdeps/nptl/Implies: ... here.
15626 * sysdeps/unix/sysv/linux/Implies: Add nptl.
15627 * nptl/sysdeps/pthread/list.h: Moved ...
15628 * include/list.h: ... here.
15629 * nptl/sysdeps/pthread/createthread.c: Moved ...
15630 * nptl/createthread.c: ... here.
15631 * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
15632 * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
15633 * nptl/pt-longjmp.c: ... here.
15634 * nptl/sysdeps/pthread/Makefile: Moved ...
15635 * sysdeps/nptl/Makefile: ... here.
15636 * nptl/sysdeps/pthread/Subdirs: Moved ...
15637 * sysdeps/nptl/Subdirs: ... here.
15638 * nptl/sysdeps/pthread/aio_misc.h: Moved ...
15639 * sysdeps/nptl/aio_misc.h: ... here.
15640 * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
15641 * sysdeps/nptl/bits/libc-lock.h: ... here.
15642 * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
15643 * sysdeps/nptl/bits/libc-lockP.h: ... here.
15644 * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
15645 * sysdeps/nptl/bits/stdio-lock.h: ... here.
15646 * nptl/sysdeps/pthread/configure: Moved ...
15647 * sysdeps/nptl/configure: ... here.
15648 * nptl/sysdeps/pthread/configure.ac: Moved ...
15649 * sysdeps/nptl/configure.ac: ... here.
15650 * nptl/sysdeps/pthread/gai_misc.h: Moved ...
15651 * sysdeps/nptl/gai_misc.h: ... here.
15652 * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
15653 * sysdeps/nptl/librt-cancellation.c: ... here.
15654 * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
15655 * sysdeps/nptl/malloc-machine.h: ... here.
15656 * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
15657 * sysdeps/nptl/pthread-functions.h: ... here.
15658 * nptl/sysdeps/pthread/pthread.h: Moved ...
15659 * sysdeps/nptl/pthread.h: ... here.
15660 * nptl/sysdeps/pthread/setxid.h: Moved ...
15661 * sysdeps/nptl/setxid.h: ... here.
15662 * nptl/sysdeps/pthread/sigfillset.c: Moved ...
15663 * sysdeps/nptl/sigfillset.c: ... here.
15664 * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
15665 * sysdeps/nptl/tcb-offsets.h: ... here.
15666 * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
15667 * sysdeps/nptl/tst-mqueue8x.c: ... here.
15668 * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
15669 * sysdeps/nptl/unwind-forcedunwind.c: ... here.
15670 * nptl/sysdeps/pthread/allocalim.h: Moved ...
15671 * sysdeps/pthread/allocalim.h: ... here.
15672 * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
15673 * sysdeps/pthread/bits/sigthread.h: ... here.
15674 * nptl/sysdeps/pthread/flockfile.c: Moved ...
15675 * sysdeps/pthread/flockfile.c: ... here.
15676 * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
15677 * sysdeps/pthread/ftrylockfile.c: ... here.
15678 * nptl/sysdeps/pthread/funlockfile.c: Moved ...
15679 * sysdeps/pthread/funlockfile.c: ... here.
15680 * nptl/sysdeps/pthread/posix-timer.h: Moved ...
15681 * sysdeps/pthread/posix-timer.h: ... here.
15682 * nptl/sysdeps/pthread/timer_create.c: Moved ...
15683 * sysdeps/pthread/timer_create.c: ... here.
15684 * nptl/sysdeps/pthread/timer_delete.c: Moved ...
15685 * sysdeps/pthread/timer_delete.c: ... here.
15686 * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
15687 * sysdeps/pthread/timer_getoverr.c: ... here.
15688 * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
15689 * sysdeps/pthread/timer_gettime.c: ... here.
15690 * nptl/sysdeps/pthread/timer_routines.c: Moved ...
15691 * sysdeps/pthread/timer_routines.c: ... here.
15692 * nptl/sysdeps/pthread/timer_settime.c: Moved ...
15693 * sysdeps/pthread/timer_settime.c: ... here.
15694 * nptl/sysdeps/pthread/tst-timer.c: Moved ...
15695 * sysdeps/pthread/tst-timer.c: ... here.
15696 * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
15697 * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
15699 * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
15700 * nptl/sysdeps/pthread/sigprocmask.c: File removed.
15702 * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
15703 * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
15704 * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
15705 * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
15706 Update #include target.
15707 * nptl/sysdeps/i386/i686/Makefile: Moved ...
15708 * sysdeps/i386/i686/nptl/Makefile: ... here.
15709 * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
15710 * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
15711 Update #include target.
15712 * nptl/sysdeps/i386/i686/tls.h: Moved ...
15713 * sysdeps/i386/i686/nptl/tls.h: ... here. Use #include_next.
15714 * nptl/sysdeps/i386/Makefile: Moved ...
15715 * sysdeps/i386/nptl/Makefile: ... here.
15716 * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
15717 * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
15718 * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
15719 * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
15720 * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
15721 * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
15722 * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
15723 * nptl/sysdeps/i386/pthreaddef.h: Moved ...
15724 * sysdeps/i386/nptl/pthreaddef.h: ... here.
15725 * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
15726 * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
15727 * nptl/sysdeps/i386/tls.h: Moved ...
15728 * sysdeps/i386/nptl/tls.h: ... here.
15730 * sysdeps/sh/Makefile [$(subdir) = csu]
15731 (gen-as-const-headers): Add tcb-offsets.sym.
15732 * nptl/sysdeps/sh/Makefile: File removed.
15733 * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
15734 * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
15735 * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
15736 * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
15737 * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
15738 * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
15739 * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
15740 * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
15741 * nptl/sysdeps/sh/pthreaddef.h: Moved ...
15742 * sysdeps/sh/nptl/pthreaddef.h: ... here.
15743 * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
15744 * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
15745 * nptl/sysdeps/sh/tls.h: Moved ...
15746 * sysdeps/sh/nptl/tls.h: ... here.
15747 * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
15748 * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
15749 * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
15750 * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
15751 * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
15752 * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
15753 * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
15754 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
15755 * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
15756 * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
15757 * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
15758 * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
15759 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
15760 * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
15761 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
15762 * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
15763 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
15764 * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
15765 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
15766 * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
15767 * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
15768 * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
15769 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
15770 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
15771 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
15773 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
15774 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
15776 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
15777 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
15778 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
15779 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
15780 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
15781 * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
15782 * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
15783 * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
15784 * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
15785 * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
15786 * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
15787 * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
15788 * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
15789 * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
15790 * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
15791 * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
15792 * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
15793 * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
15794 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
15796 2014-06-12 Stefan Liebler <stli@linux.vnet.ibm.com>
15798 * posix/spawn_faction_addopen.c: Include string.h.
15800 2014-06-11 Roland McGrath <roland@hack.frob.com>
15802 * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
15803 * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
15804 * nptl/sysdeps/x86_64/Makefile: Moved ...
15805 * sysdeps/x86_64/nptl/Makefile: ... here.
15806 * nptl/sysdeps/x86_64/configure: Moved ...
15807 * sysdeps/x86_64/nptl/configure: ... here.
15808 * nptl/sysdeps/x86_64/configure.ac: Moved ...
15809 * sysdeps/x86_64/nptl/configure.ac: ... here.
15810 * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
15811 * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
15812 * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
15813 * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
15814 * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
15815 * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
15816 * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
15817 * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
15818 * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
15819 * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
15820 * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
15821 * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
15822 * nptl/sysdeps/x86_64/tls.h: Moved ...
15823 * sysdeps/x86_64/nptl/tls.h: ... here.
15824 * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
15825 * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
15826 * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
15827 * sysdeps/x86_64/x32/nptl/tls.h: ... here.
15829 * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
15831 2014-06-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15833 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15835 2014-06-11 Joseph Myers <joseph@codesourcery.com>
15837 * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
15839 [POSIX] (off_t): Likewise.
15840 * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
15841 [POSIX] (S_ISBLK): Require macro.
15842 [POSIX] (S_ISCHR): Likewise.
15843 [POSIX] (S_ISDIR): Likewise.
15844 [POSIX] (S_ISFIFO): Likewise.
15845 [POSIX] (S_ISREG): Likewise.
15846 [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
15848 * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
15850 [POSIX] (time_t): Likewise.
15851 [POSIX] (timer_t): Likewise.
15853 2014-06-11 Florian Weimer <fweimer@redhat.com>
15856 * posix/spawn_int.h (struct __spawn_action): Make the path string
15857 non-const to support deallocation.
15858 * posix/spawn_faction_addopen.c
15859 (posix_spawn_file_actions_addopen): Make a copy of the pathname.
15860 * posix/spawn_faction_destroy.c
15861 (posix_spawn_file_actions_destroy): Adjust comment. Deallocate
15862 path in all spawn_do_open actions.
15863 * posix/tst-spawn.c (do_test): Exercise the copy operation in
15864 posix_spawn_file_actions_addopen.
15866 2014-06-11 Chris Metcalf <cmetcalf@tilera.com>
15868 * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
15869 * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
15870 * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
15871 conditional code always true.
15872 (__libc_vfork): New alias.
15874 2014-06-11 Roland McGrath <roland@hack.frob.com>
15876 * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
15877 * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
15879 * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
15881 * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
15882 * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
15884 * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
15885 * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
15887 * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
15888 * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
15890 2014-06-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
15892 * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
15893 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
15894 multiarch strcmp for PPC64.
15895 * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
15896 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
15897 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
15898 multiarch optimizations.
15899 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
15900 (__libc_ifunc_impl_list): Likewise.
15902 2014-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
15904 * benchtests/scripts/validate_benchout.py: New script.
15905 * benchtests/Makefile (bench-func): Call it.
15906 * benchtests/scripts/benchout.schema.json: New file.
15908 2014-06-10 Chris Metcalf <cmetcalf@tilera.com>
15910 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
15911 * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
15912 * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
15913 * sysdeps/tile/nptl/bits/semaphore.h: ... here.
15914 * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
15915 * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
15916 * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
15917 * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
15918 * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
15919 * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
15920 * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
15921 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
15922 * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
15923 * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
15924 * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
15925 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
15926 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
15928 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
15930 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
15932 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
15933 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
15935 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
15937 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
15939 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
15941 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
15943 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
15944 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
15946 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
15948 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
15950 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
15952 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
15954 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
15955 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
15957 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
15959 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
15961 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
15963 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
15965 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
15967 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
15969 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
15970 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
15972 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
15974 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
15976 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
15978 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
15980 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
15982 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
15984 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
15985 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
15987 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
15989 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
15991 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
15993 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
15995 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
15996 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
15998 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
16000 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
16002 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
16003 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
16005 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
16006 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
16008 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
16010 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
16012 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
16014 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
16016 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
16018 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
16020 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
16021 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
16023 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
16025 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
16027 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
16029 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
16030 * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
16031 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
16032 * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
16033 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
16035 * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
16037 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
16038 * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
16039 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
16040 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
16041 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
16042 * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
16043 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
16044 * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
16045 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
16046 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
16047 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
16048 * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
16049 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
16051 * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
16052 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
16054 * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
16055 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
16056 * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
16057 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
16059 * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
16060 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
16061 * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
16062 * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
16063 * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
16064 * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
16065 * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
16067 2014-06-10 Wilco <wdijkstr@arm.com>
16069 * math/test-fenv-return.c: New file.
16070 * math/Makefile: Add new test test-fenv-return.
16072 2014-06-10 Joseph Myers <joseph@codesourcery.com>
16075 * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
16076 when x - 1 is zero.
16077 * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
16078 * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
16079 * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
16080 0.0L for an argument of 1.0L.
16081 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
16083 * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
16084 value when x - 1 is zero.
16085 * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
16086 * sysdeps/i386/fpu/libm-test-ulps: Update.
16087 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16089 2014-06-09 Bernard Ogden <bernie.ogden@linaro.org>
16092 * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
16094 2014-06-09 Roland McGrath <roland@hack.frob.com>
16096 * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
16097 * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
16099 2014-06-09 Roland McGrath <roland@hack.frob.com>
16101 * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
16102 * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
16104 * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
16105 * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
16107 * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
16108 * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
16110 * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
16111 * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
16113 * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
16114 if not already defined.
16115 (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
16116 * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
16117 * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
16118 (TLS_INIT_TP): Use it.
16119 (TLS_DEFINE_INIT_TP): New macro.
16120 * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
16122 2014-06-09 Joseph Myers <joseph@codesourcery.com>
16124 * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
16126 [POSIX] (IXANY): Likewise.
16127 [POSIX] (OLCUC): Likewise.
16128 [POSIX || POSIX2008] (CBAUD): Do not allow.
16129 [POSIX || POSIX2008] (DEFECHO): Likewise.
16130 [POSIX || POSIX2008] (ECHOCTL): Likewise.
16131 [POSIX || POSIX2008] (ECHOKE): Likewise.
16132 [POSIX || POSIX2008] (ECHOPRT): Likewise.
16133 [POSIX || POSIX2008] (EXTA): Likewise.
16134 [POSIX || POSIX2008] (EXTB): Likewise.
16135 [POSIX || POSIX2008] (FLUSHO): Likewise.
16136 [POSIX || POSIX2008] (LOBLK): Likewise.
16137 [POSIX || POSIX2008] (PENDIN): Likewise.
16138 [POSIX || POSIX2008] (SWTCH): Likewise.
16139 [POSIX || POSIX2008] (VDISCARD): Likewise.
16140 [POSIX || POSIX2008] (VDSUSP): Likewise.
16141 [POSIX || POSIX2008] (VLNEXT): Likewise.
16142 [POSIX || POSIX2008] (VREPRINT): Likewise.
16143 [POSIX || POSIX2008] (VSTATUS): Likewise.
16144 [POSIX || POSIX2008] (VWERASE): Likewise.
16145 (B*): Change to B[0123456789]*.
16146 * conform/data/time.h-data [POSIX || UNIX98]
16147 (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
16148 [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
16149 [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
16150 [POSIX] (tm_*): Do not allow.
16152 2014-06-07 Joseph Myers <joseph@codesourcery.com>
16154 * Makefile (install): Don't set LANGUAGE.
16155 * Makefile.in (install): Likewise.
16156 * assert/Makefile (test-assert-ENV): Remove variable.
16157 (test-assert-perr-ENV): Likewise.
16158 * elf/Makefile (neededtest4-ENV): Likewise.
16159 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
16160 [$(cross-compiling) = no]: Don't set LANGUAGE.
16161 * io/ftwtest-sh (LANG): Remove variable.
16162 * libio/Makefile (tst-widetext-ENV): Likewise.
16163 * manual/install.texi (Running make install): Don't refer to
16164 environment settings for make install.
16165 * INSTALL: Regenerated.
16166 * nptl/tst-tls6.sh: Don't set LANG.
16167 * posix/globtest.sh (LANG): Remove variable.
16168 * string/Makefile (tester-ENV): Likewise.
16169 (inl-tester-ENV): Likewise.
16170 (noinl-tester-ENV): Likewise.
16171 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
16172 [$(cross-compiling) = no]: Don't set LANGUAGE.
16173 * timezone/Makefile (build-testdata): Use $(built-program-cmd)
16174 without explicit environment settings.
16176 2014-06-06 Roland McGrath <roland@hack.frob.com>
16178 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
16179 * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
16180 * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
16181 * sysdeps/sh/nptl/bits/semaphore.h: ... here.
16183 2014-06-06 Chris Metcalf <cmetcalf@tilera.com>
16185 * crypt/crypt-private.h [DOS]: Add some includes taken from the
16186 other files in the crypt directory.
16187 * crypt/crypt.c: Remove duplicate includes.
16188 * crypt/crypt-entry.c: Likewise.
16189 * crypt/crypt_util.c: Likewise.
16191 2014-06-06 Joseph Myers <joseph@codesourcery.com>
16193 * Makeconfig (run-program-env): New variable.
16194 (run-program-prefix-before-env): Likewise.
16195 (run-program-prefix-after-env): Likewise.
16196 (run-program-prefix): Define in terms of new variables.
16197 (built-program-cmd-before-env): New variable.
16198 (built-program-cmd-after-env): Likewise.
16199 (built-program-cmd): Define in terms of new variables.
16200 (test-program-prefix-before-env): New variable.
16201 (test-program-prefix-after-env): Likewise.
16202 (test-program-prefix): Define in terms of new variables.
16203 (test-program-cmd-before-env): New variable.
16204 (test-program-cmd-after-env): Likewise.
16205 (test-program-cmd): Define in terms of new variables.
16206 * Rules (make-test-out): Use $(run-program-env).
16207 * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
16208 (help): Do not mention environment variables. Mention
16209 --timeoutfactor option.
16210 (timeoutfactor): New variable.
16211 (blacklist_exports): Remove function.
16212 (exports): Remove variable.
16213 (command): Do not include ${exports}.
16214 * manual/install.texi (Configuring and compiling): Do not mention
16215 test wrappers preserving environment variables. Mention that last
16216 assignment to a variable must take precedence.
16217 * INSTALL: Regenerated.
16218 * benchtests/Makefile (run-bench): Use $(run-program-env).
16219 * catgets/Makefile ($(objpfx)test1.cat): Use
16220 $(built-program-cmd-before-env), $(run-program-env) and
16221 $(built-program-cmd-after-env).
16222 ($(objpfx)test2.cat): Do not specify environment variables
16224 ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
16225 $(run-program-env) and $(built-program-cmd-after-env).
16226 ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
16227 $(run-program-env) and $(test-program-cmd-after-env).
16228 ($(objpfx)sample.SJIS.cat): Do not specify environment variables
16230 * catgets/test-gencat.sh: Use test_program_cmd_before_env,
16231 run_program_env and test_program_cmd_after_env arguments.
16232 * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
16233 * elf/tst-pathopt.sh: Use run_program_env argument.
16234 * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
16235 $(test-wrapper-env) and $(run-program-env).
16236 * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
16237 run_program_env arguments.
16238 * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
16239 * intl/Makefile ($(objpfx)tst-gettext.out): Use
16240 $(test-program-prefix-before-env), $(run-program-env) and
16241 $(test-program-prefix-after-env).
16242 ($(objpfx)tst-gettext2.out): Likewise.
16243 * intl/tst-gettext.sh: Use test_program_prefix_before_env,
16244 run_program_env and test_program_prefix_after_env arguments.
16245 * intl/tst-gettext2.sh: Likewise.
16246 * intl/tst-gettext4.sh: Do not set environment variables
16248 * intl/tst-gettext6.sh: Likewise.
16249 * intl/tst-translit.sh: Likewise.
16250 * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
16251 $(test-program-prefix-before-env), $(run-program-env) and
16252 $(test-program-prefix-after-env).
16253 * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
16254 run_program_env and test_program_prefix_after_env arguments.
16255 * math/Makefile (run-regen-ulps): Use $(run-program-env).
16256 * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
16257 * nptl/tst-tls6.sh: Use run_program_env argument. Set LANG=C
16258 explicitly with each use of ${test_wrapper_env}.
16259 * posix/Makefile ($(objpfx)wordexp-tst.out): Use
16260 $(test-program-prefix-before-env), $(run-program-env) and
16261 $(test-program-prefix-after-env).
16262 * posix/tst-getconf.sh: Do not set environment variables
16264 * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
16265 run_program_env and test_program_prefix_after_env arguments.
16266 * stdio-common/tst-printf.sh: Do not set environment variables
16268 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
16269 $(test-program-prefix-before-env), $(run-program-env) and
16270 $(test-program-prefix-after-env).
16271 * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
16272 run_program_env and test_program_prefix_after_env arguments.
16273 Split $test calls into $test_pre and $test.
16274 * timezone/Makefile (build-testdata): Use
16275 $(built-program-cmd-before-env), $(run-program-env) and
16276 $(built-program-cmd-after-env).
16278 2014-06-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16280 * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
16281 strlen for non SHARED builds.
16283 2014-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
16285 * nptl/allocatestack.c (check_list): Inlined function...
16286 (__reclaim_stacks): ... here.
16288 2014-06-05 Ondřej Bílka <neleai@seznam.cz>
16291 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
16294 2014-06-05 Joseph Myers <joseph@codesourcery.com>
16296 * Rules (make-test-out): Include
16297 LOCPATH=$(common-objpfx)localedata in default environment.
16298 * debug/Makefile (tst-chk1-ENV): Remove variable.
16299 (tst-chk2-ENV): Likewise.
16300 (tst-chk3-ENV): Likewise.
16301 (tst-chk4-ENV): Likewise.
16302 (tst-chk5-ENV): Likewise.
16303 (tst-chk6-ENV): Likewise.
16304 (tst-lfschk1-ENV): Likewise.
16305 (tst-lfschk2-ENV): Likewise.
16306 (tst-lfschk3-ENV): Likewise.
16307 (tst-lfschk4-ENV): Likewise.
16308 (tst-lfschk5-ENV): Likewise.
16309 (tst-lfschk6-ENV): Likewise.
16310 * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
16311 (tst-iconv7-ENV): Likewise.
16312 * intl/Makefile (LOCPATH-ENV): Likewise.
16313 (tst-codeset-ENV): Likewise.
16314 (tst-gettext3-ENV): Likewise.
16315 (tst-gettext5-ENV): Likewise.
16316 * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
16317 (tst-fopenloc-ENV): Likewise.
16318 (tst-fgetws-ENV): Remove variable.
16319 (tst-ungetwc1-ENV): Likewise.
16320 (tst-ungetwc2-ENV): Likewise.
16321 (bug-ungetwc2-ENV): Likewise.
16322 (tst-swscanf-ENV): Likewise.
16323 (bug-ftell-ENV): Likewise.
16324 (tst-fgetwc-ENV): Likewise.
16325 (tst-fseek-ENV): Likewise.
16326 (tst-ftell-partial-wide-ENV): Likewise.
16327 (tst-ftell-active-handler-ENV): Likewise.
16328 (tst-ftell-append-ENV): Likewise.
16329 * posix/Makefile (tst-fnmatch-ENV): Likewise.
16330 (tst-regexloc-ENV): Likewise.
16331 (bug-regex1-ENV): Likewise.
16332 (tst-regex-ENV): Likewise.
16333 (tst-regex2-ENV): Likewise.
16334 (bug-regex5-ENV): Likewise.
16335 (bug-regex6-ENV): Likewise.
16336 (bug-regex17-ENV): Likewise.
16337 (bug-regex18-ENV): Likewise.
16338 (bug-regex19-ENV): Likewise.
16339 (bug-regex20-ENV): Likewise.
16340 (bug-regex22-ENV): Likewise.
16341 (bug-regex23-ENV): Likewise.
16342 (bug-regex25-ENV): Likewise.
16343 (bug-regex26-ENV): Likewise.
16344 (bug-regex30-ENV): Likewise.
16345 (bug-regex32-ENV): Likewise.
16346 (bug-regex33-ENV): Likewise.
16347 (bug-regex34-ENV): Likewise.
16348 (bug-regex35-ENV): Likewise.
16349 (tst-rxspencer-ENV): Likewise.
16350 (tst-rxspencer-no-utf8-ENV): Likewise.
16351 * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
16352 (tst-sscanf-ENV): Likewise.
16353 (tst-swprintf-ENV): Likewise.
16354 (tst-swscanf-ENV): Likewise.
16355 (test-vfprintf-ENV): Likewise.
16356 (scanf13-ENV): Likewise.
16357 (bug14-ENV): Likewise.
16358 (tst-grouping-ENV): Likewise.
16359 * stdlib/Makefile (tst-strtod-ENV): Likewise.
16360 (tst-strtod3-ENV): Likewise.
16361 (tst-strtod4-ENV): Likewise.
16362 (tst-strtod5-ENV): Likewise.
16363 (testmb2-ENV): Likewise./
16364 * string/Makefile (tst-strxfrm-ENV): Likewise.
16365 (tst-strxfrm2-ENV): Likewise.
16366 (bug-strcoll1-ENV): Likewise.
16367 (test-strcasecmp-ENV): Likewise.
16368 (test-strncasecmp-ENV): Likewise.
16369 * time/Makefile (tst-strptime-ENV): Likewise.
16370 (tst-ftime_l-ENV): Likewise.
16371 * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
16372 (tst-mbrtowc-ENV): Likewise.
16373 (tst-wcrtomb-ENV): Likewise.
16374 (tst-mbrtowc2-ENV): Likewise.
16375 (tst-c16c32-1-ENV): Likewise.
16376 (tst-mbsnrtowcs-ENV): Likewise.
16378 2014-06-05 Ondřej Bílka <neleai@seznam.cz>
16380 * manual/resource.texi (How to get information about the memory
16381 subsystem?): Fix typo.
16382 Reported by Peon de la Parra Ivan <peon@keba.com>
16384 2014-06-03 Guo Yixuan <culu.gyx@gmail.com>
16387 * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
16388 (pthread_spin_lock): Branch out of spin loop to proper location.
16389 * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
16390 (pthread_spin_lock): Likewise.
16392 * nptl/tst-spin4.c: New test.
16393 * nptl/Makefile (tests): Add tst-spin4.
16395 2014-06-03 Andreas Schwab <schwab@suse.de>
16398 * resolv/res_send.c (send_dg): Reload file descriptor after
16401 2014-06-03 Stefan Liebler <stli@linux.vnet.ibm.com>
16403 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
16405 2014-06-03 Richard Henderson <rth@redhat.com>
16407 * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
16408 * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
16409 * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
16410 SAVE_PID and RESTORE_PID blocks from pt-vfork.S. Map 0 to INT_MIN
16411 in the SAVE_PID block.
16412 (__libc_vfork): New alias.
16413 * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
16415 * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
16416 child in registers, not on the stack. Remove RESET_PID conditionals.
16417 * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
16419 2014-06-03 Marcus Shawcroft <marcus.shawcroft@arm.com>
16421 * sysdeps/aarch64/libm-test-ulps: Regenerate.
16423 2014-06-03 Wilco <wdijkstr@arm.com>
16425 * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
16426 (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
16427 (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
16428 Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
16429 * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
16432 2014-06-03 Wilco <wdijkstr@arm.com>
16434 * sysdeps/aarch64/fpu/math_private.h
16435 (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
16436 (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
16437 (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
16438 (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
16441 2014-06-03 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
16443 * crypt/crypt-private.h: Include ufc-crypt.h.
16444 (__b64_from_24bit): Declare extern.
16445 * crypt/crypt_util.c(__b64_from_24bit): New function.
16446 (b64t): New static const variable.
16447 * crypt/md5-crypt.c (b64_from_24bit): Remove function.
16448 (b64t): Remove variable.
16449 (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
16450 * crypt/sha256-crypt.c: Include crypt-private.h.
16451 (b64t): Remove variable.
16452 (__sha256_crypt_r): Remove b64_from_24bit and replace
16453 with __b64_from_24bit.
16454 * crypt/sha512-crypt.c: Likewise.
16456 2014-06-02 Roland McGrath <roland@hack.frob.com>
16458 * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
16459 * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
16460 Label the code __libc_vfork rather than __vfork.
16461 [!NOT_IN_libc] (vfork): Define as weak alias.
16462 [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
16463 * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
16464 * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
16466 2014-06-02 Siddhesh Poyarekar <siddhesh@redhat.com>
16468 * malloc/malloc.c (malloc_info): Fix format specifier for
16471 2014-06-02 Wilco <wdijkstr@arm.com>
16473 * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
16476 2014-06-02 Wilco <wdijkstr@arm.com>
16479 * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
16480 Rewrite to reduce FPCR/FPSR accesses.
16482 2014-06-01 David S. Miller <davem@davemloft.net>
16484 * sysdeps/sparc/fpu/libm-test-ulps: Update.
16486 2014-05-31 David S. Miller <davem@davemloft.net>
16488 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
16489 to occur in round to nearest mode when |x| >= 2.0
16491 2014-05-30 Richard Henderson <rth@twiddle.net>
16493 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
16494 (PSEUDO_RET_NOERRNO): Remove.
16495 (ret): Don't redefine.
16496 (ret_NOERRNO): Define in terms of ret.
16497 (ret_ERRVAL): Likewise.
16499 * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
16500 use of PSEUDO_RET; perform the error check directly.
16502 2014-05-30 Marko Myllynen <myllynen@redhat.com>
16504 * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
16507 2014-05-30 Siddhesh Poyarekar <siddhesh@redhat.com>
16509 * malloc/malloc (malloc_info): Fix formatting.
16511 2014-05-30 Siddhesh Poyarekar <siddhesh@redhat.com>
16512 Roland McGrath <roland@hack.frob.com>
16514 * malloc/malloc (malloc_info): Also print mmapped statistics.
16516 2014-05-30 Roland McGrath <roland@hack.frob.com>
16518 * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
16519 * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
16521 2014-05-30 Ondřej Bílka <neleai@seznam.cz>
16523 * malloc/malloc.c (malloc_info): Inline mi_arena.
16525 2014-05-29 Richard Henderson <rth@twiddle.net>
16527 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
16528 Remove comma before expanding ASM_ARGS_##nr.
16529 (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
16530 Make _x0 a strict output; make _x8 a strict input; adjust expansion
16532 (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
16533 (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
16534 (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
16535 (ASM_ARGS_1): Add leading comma.
16537 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
16538 (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
16539 to __errno_location.
16540 * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
16541 Remove the expected plt for __errno_location.
16543 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
16544 [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
16547 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
16548 Always allocate 64 bytes of stack frame. Use ldp/stp to create
16549 it and break it down.
16550 (DOCARGS_0, DOCARGS_1): Do nothing.
16551 (DOCARGS_2): Update to store into the new stack frame.
16552 (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
16553 (UNDOCARGS_1): Update to restore from the new stack frame.
16554 (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
16555 (UNDOCARGS_5, UNDOCARGS_6): Likewise.
16557 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
16558 (SINGLE_THREAD_P): New parameter for result regno.
16559 (PSEUDO): Update to match; use cbz instead of beq.
16561 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
16562 Use ENTRY to define the _nocancel entry point. Share the syscall
16563 and syscall error check paths with the cancel path.
16566 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
16567 whitespace; tabs before and after asm mnemonics.
16569 2014-05-29 Eric Wong <normalperson@yhbt.net>
16572 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
16573 Call fstat64 or stat64 internally, depending on arguments passed.
16574 Replace stat buffer argument with file descriptor argument.
16575 (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
16576 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
16577 Pass fd to __internal_statvfs instead of calling fstat64.
16578 * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
16579 Pass fd to __internal_statvfs64 instead of calling fstat64.
16580 * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
16581 Pass -1 to __internal_statvfs instead of calling stat64.
16582 * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
16583 Pass -1 to __internal_statvfs64 instead of calling stat64.
16585 2014-05-28 Roland McGrath <roland@hack.frob.com>
16587 * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
16588 that was previously under [RESET_PID].
16589 * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
16591 * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
16592 * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
16594 2014-05-27 Roland McGrath <roland@hack.frob.com>
16596 * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
16598 * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
16599 * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
16601 2014-05-27 Ondřej Bílka <neleai@seznam.cz>
16603 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
16605 2014-05-27 Andreas Schwab <schwab@suse.de>
16607 * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
16609 * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
16610 * elf/rtld.c (init_tls, dl_main): Likewise.
16611 * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
16612 * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
16613 * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
16614 * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
16615 * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
16616 * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
16617 * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
16618 * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
16619 * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
16620 * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
16621 * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
16622 * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
16623 * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
16624 * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
16625 * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
16626 * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
16627 * sysdeps/generic/tls.h: Update description.
16629 2014-05-27 Will Newton <will.newton@linaro.org>
16632 * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
16633 and restore r2 rather than just restoring.
16635 2014-05-27 Siddhesh Poyarekar <siddhesh@redhat.com>
16638 * libio/tst-ftell-append.c: New test case.
16639 * libio/Makefile (tests): Add test case.
16640 * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
16642 * libio/wfileops.c (do_ftell_wide): Likewise.
16644 2014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16646 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16648 * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
16650 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
16651 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
16652 * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
16653 * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
16654 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
16655 * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
16656 * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
16657 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
16658 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
16660 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
16661 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
16663 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
16664 * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
16665 * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
16666 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
16667 * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
16668 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
16670 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
16671 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
16673 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
16675 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
16677 * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
16678 * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
16679 * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
16681 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
16682 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
16683 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
16684 * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
16686 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
16688 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
16689 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
16691 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
16692 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
16694 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
16695 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
16697 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
16699 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
16701 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
16702 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
16704 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
16706 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
16707 conditional [RESET_PID].
16708 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
16709 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
16711 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
16714 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
16716 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
16717 (__libc_vfork): New strong alias.
16718 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
16720 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
16723 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
16725 (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
16726 (__libc_vfork): New strong alias.
16727 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
16729 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
16732 2014-05-26 Carlos O'Donell <carlos@redhat.com>
16734 * malloc/malloc.c (mi_arena): New function.
16735 (malloc_info): Remove nested function mi_arena. Call non-nosted
16738 2014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16740 * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
16742 * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
16743 * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
16744 * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
16745 * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
16746 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
16747 * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
16748 * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
16750 2014-05-26 Andreas Schwab <schwab@suse.de>
16753 * locale/programs/repertoire.c (repertoire_read): Add slash
16754 between I18NPATH element and file name.
16755 * locale/programs/locfile.c (locfile_read): Likewise.
16757 2014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
16759 * nptl/pthread_mutexattr_settype.c
16760 (__pthread_mutexattr_settype):
16761 Disable lock elision for PTHREAD_MUTEX_NORMAL.
16763 2014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
16765 * nptl/tst-mutex5 (do_test):
16766 Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
16768 2014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
16770 * benchtests/README: Document 'init' directive.
16771 * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
16773 * scripts/bench.py (gen_source): Define BENCH_INIT macro.
16774 (parse_file): Recognize 'init' directive.
16776 2014-05-26 Kyle McMartin <kyle@redhat.com>
16779 * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
16780 alignment of struct pthread.
16782 2014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
16785 * nscd/netgroupcache.c (addgetnetgrentX): Look for
16786 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
16787 * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
16788 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
16790 2014-05-25 Richard Henderson <rth@twiddle.net>
16792 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
16793 (SINGLE_THREAD_P_PIC): Remove.
16794 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
16795 (SINGLE_THREAD_P_PIC): Remove.
16797 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
16798 branch to syscall error ...
16799 (PSEUDO): ... here.
16800 [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
16801 from __local_syscall_error to .Lsyscall_error.
16802 [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
16803 (SYSCALL_ERROR): Update label name.
16805 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
16806 Do not use DOARGS/UNDOARGS.
16807 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
16808 (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
16809 (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
16810 (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
16811 (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
16813 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
16816 * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
16817 define if !NOT_IN_libc.
16818 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
16819 define with non-default symbol versions.
16821 2014-05-23 Richard Henderson <rth@twiddle.net>
16823 * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
16824 (vfork, __vfork): Define via compat_symbol.
16826 * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
16827 [!HAVE_IFUNC] (vfork_compat): Remove.
16828 [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
16830 2014-05-23 Joseph Myers <joseph@codesourcery.com>
16833 * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
16834 * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
16837 2014-05-23 Richard Henderson <rth@twiddle.net>
16839 * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
16840 * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
16841 * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
16842 * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
16844 * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
16845 * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
16846 * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
16847 * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
16848 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
16849 * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
16850 * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
16851 * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
16852 * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
16853 * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
16854 * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
16855 * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
16856 * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
16857 * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
16858 * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
16859 * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
16860 * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
16861 * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
16862 * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
16863 * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
16864 * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
16865 * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
16866 * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
16867 * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
16868 * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
16869 * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
16870 * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
16871 * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
16872 * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
16873 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
16874 * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
16875 * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
16876 * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
16877 * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
16878 * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
16879 * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
16880 * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
16881 * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
16882 * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
16883 * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
16884 * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
16885 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
16886 * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
16887 * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
16888 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
16889 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
16890 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
16891 * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
16892 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
16893 * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
16894 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
16895 * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
16896 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
16897 * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
16898 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
16899 * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
16901 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
16902 * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
16903 * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here. Restore PID
16904 before exiting on error.
16905 (__libc_vfork): New strong alias.
16906 * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
16907 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
16909 * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
16910 that was previously under [RESET_PID].
16911 * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
16913 * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
16915 2014-05-23 Joseph Myers <joseph@codesourcery.com>
16918 * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
16919 value when x - 1 is zero.
16920 * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
16921 * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
16922 * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
16923 0.0L for an argument of 1.0L.
16924 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
16926 * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
16927 value when x - 1 is zero.
16928 * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
16929 * sysdeps/i386/fpu/libm-test-ulps: Update.
16930 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16932 2014-05-23 Rasmus Villemoes <rv@rasmusvillemoes.dk>
16934 * manual/filesys.texi (Scanning Directory Content): Fix prototype of
16935 alphasort and versionsort.
16937 2014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16939 * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
16941 [copysignf]: Likewise.
16943 2014-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
16945 * crypt/md5-crypt.c: Fix formatting.
16947 2014-05-22 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
16949 * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
16950 (b64_from_24bit): New function.
16952 2014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16954 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
16955 libc_hidden_builtin_def to ifunc.
16956 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
16957 [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
16959 2014-05-21 Roland McGrath <roland@hack.frob.com>
16961 * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
16962 * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
16964 2014-05-21 Joseph Myers <joseph@codesourcery.com>
16966 * nscd/Depend (linuxthreads): Remove.
16968 * resolv/Depend (linuxthreads): Remove.
16969 * rt/Depend (linuxthreads): Remove.
16971 * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
16972 (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
16973 $(common-objpfx)elf/.
16974 (link-libc-before-gnulib): Likewise.
16975 (elfobjdir): Remove variable.
16976 * Makefile (install): Use $(elf-objpfx) instead of
16977 $(common-objpfx)elf/.
16978 * Makerules (link-libc-args): Use $(elf-objpfx) instead of
16980 (link-libc-deps): Likewise.
16981 ($(common-objpfx)libc.so): Likewise.
16982 ($(common-objpfx)linkobj/libc.so): Likewise.
16983 [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
16984 instead of $(common-objpfx)elf/.
16985 (symbolic-link-list): Likewise.
16986 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
16987 [$(cross-compiling) = no]: Likewise.
16988 * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
16990 (static-gnulib-arch): Likewise.
16991 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
16992 [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
16993 $(common-objpfx)elf/.
16995 2014-05-21 Richard Henderson <rth@redhat.com>
16997 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
16998 (SINGLE_THREAD_P): Use the correct width load. Fold
16999 into the ldr offset.
17001 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
17002 (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
17004 2014-05-20 Joseph Myers <joseph@codesourcery.com>
17006 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
17007 (libgcc_s_resume): Use __attribute_used__.
17008 * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
17011 2014-05-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17013 * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
17014 optimization when used with float constants.
17016 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17018 2014-05-20 Aurelien Jarno <aurelien@aurel32.net>
17021 * locale/nl_langinfo_l.c: Make direct reference to every
17022 _nl_current_CATEGORY symbol.
17023 * localedata/Makefile (test-srcs): Add tst-langinfo-static.
17024 (tests-static): Add tst-langinfo-static.
17025 (tests-special): Add tst-langinfo-static.out.
17026 ($(objpfx)tst-langinfo.out): Redirect output.
17027 ($(objpfx)tst-langinfo-static.out): New.
17028 * localedata/tst-langinfo.sh: Send output to stdout.
17029 * localedata/tst-langinfo-static.c: New file.
17032 * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
17033 when the shift amount is modulo the limb size.
17035 2014-05-20 Richard Henderson <rth@redhat.com>
17038 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
17039 Change type of sa_flags from unsigned int to int.
17042 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
17044 * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
17046 2014-05-20 Will Newton <will.newton@linaro.org>
17048 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
17049 Test the return value of the system call in the nocancel case.
17051 2014-05-20 Will Newton <will.newton@linaro.org>
17052 Yvan Roux <yvan.roux@linaro.org>
17054 * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
17055 #include of asm/ptrace.h.
17056 (PTRACE_GET_THREAD_AREA): Remove #undef.
17057 (PTRACE_GETHBPREGS): Likewise.
17058 (PTRACE_SETHBPREGS): Likewise.
17059 (struct user_regs_struct): New structure.
17060 (struct user_fpsimd_struct): New structure.
17061 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
17062 #include of asm/ptrace.h and second #include of sys/user.h.
17063 (PTRACE_GET_THREAD_AREA): Remove #undef.
17064 (PTRACE_GETHBPREGS): Likewise.
17065 (PTRACE_SETHBPREGS): Likewise.
17066 (ELF_NGREG): Use new struct user_regs_struct.
17067 (elf_fpregset_t): Use new struct user_fpsimd_struct.
17069 2014-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17071 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
17072 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
17074 2014-05-17 Jose E. Marchesi <jose.marchesi@oracle.com>
17077 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
17078 membar to avoid block loads/stores to overlap previous stores.
17080 2014-05-17 Richard Henderson <rth@redhat.com>
17082 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
17083 Create the __##syscall_name##_nocancel entry point.
17084 * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
17085 Remove; let the sysdep-cancel.h code create it.
17087 2014-05-17 David S. Miller <davem@davemloft.net>
17089 * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
17090 Protect with __USE_GNU.
17091 (TIOCSET_TEMPT): Likewise.
17092 (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
17093 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
17094 these are already provided in bits/ioctl-types.h
17096 2014-05-16 Roland McGrath <roland@hack.frob.com>
17098 * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
17099 * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
17101 * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
17102 Use wait4 regardless of [__NR_waitpid].
17104 2014-05-16 Maciej W. Rozycki <macro@codesourcery.com>
17107 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
17108 (_FP_NANSIGN_Q): Set the quiet bit.
17110 2014-05-16 Joseph Myers <joseph@codesourcery.com>
17112 * benchtests/Makefile
17113 ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
17114 not $(common-objpfx)math/libm.so.
17115 ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
17116 $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
17117 * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
17118 $(common-objpfx)dlfcn/libdl.so.
17119 ($(objpfx)tst-audit8): Depend on $(libm), not
17120 $(common-objpfx)math/libm.so.
17121 * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
17122 not $(common-objpfx)dlfcn/libdl.so.
17124 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
17125 Depend on $(libm), not $(objpfx)libm.so. Do not condition on
17126 [$(build-shared) = yes].
17127 ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
17128 $(common-objpfx)nptl/libpthread.so.
17129 * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
17130 $(common-objpfx)math/libm.so$(libm.so-version) or
17131 $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
17132 * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
17133 $(common-objpfx)dlfcn/libdl.so.
17134 * setjmp/Makefile (link-libm): Remove variable.
17135 ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
17136 * stdio-common/Makefile (link-libm): Remove variable.
17137 ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
17138 * stdlib/Makefile (link-libm): Remove variable.
17139 ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
17140 ($(objpfx)tst-strtod-round): Likewise.
17141 ($(objpfx)tst-tininess): Likewise.
17142 ($(objpfx)tst-strtod-underflow): Likewise.
17143 ($(objpfx)tst-strtod6): Likewise.
17144 ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
17145 $(libdl), not $(common-objpfx)nptl/libpthread.so and
17146 $(common-objpfx)dlfcn/libdl.so.
17148 2014-05-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17150 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
17151 BSD terminal modes definitions.
17153 2014-05-16 Roland McGrath <roland@hack.frob.com>
17155 * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
17156 * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
17158 * sysdeps/unix/sysv/linux/arch-fork.h: New file.
17159 * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
17160 * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
17161 Don't do #include_next.
17162 * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
17163 * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
17164 Don't do #include_next.
17165 * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
17166 * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
17167 * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
17168 * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
17170 2014-05-16 Allan McRae <allan@archlinux.org>
17172 * po/sv.po: Update Swedish translation from translation project.
17174 * timezone/Makefile ($(objpfx)tzselect): Use correct variable
17177 2014-05-16 Aurelien Jarno <aurelien@aurel32.net>
17180 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
17181 errno if the TIOCGPTN ioctl fails with an error different than
17183 * login/tst-ptsname.c: New file.
17184 * login/Makefile (tests): Add tst-ptsname.
17187 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
17190 2014-05-15 Siddhesh Poyarekar <siddhesh@redhat.com>
17193 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
17194 herrno to return EAI_AGAIN.
17196 2014-05-14 Roland McGrath <roland@hack.frob.com>
17198 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
17199 * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
17200 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
17201 * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
17202 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
17203 * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
17204 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
17205 * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
17206 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
17207 * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
17208 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
17209 * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
17210 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
17211 * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
17212 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
17213 * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
17214 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
17215 * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
17216 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
17217 * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
17218 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
17219 * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
17220 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
17221 * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
17222 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
17223 * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
17224 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
17225 * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
17226 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
17227 * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
17228 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
17229 * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
17230 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
17231 * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
17232 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
17234 * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
17235 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
17236 * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
17237 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
17238 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
17239 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
17240 * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
17241 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
17242 * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
17243 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
17244 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
17245 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
17246 * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
17247 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
17248 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
17249 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
17250 * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
17251 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
17252 * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
17253 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
17254 * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
17255 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
17256 * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
17257 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
17258 * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
17259 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
17260 * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
17261 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
17263 * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
17264 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
17265 * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
17266 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
17267 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
17268 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
17269 * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
17270 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
17271 * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
17272 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
17273 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
17274 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
17275 * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
17276 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
17277 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
17278 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
17279 * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
17280 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
17281 * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
17282 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
17284 * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
17285 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
17286 * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
17288 * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
17289 * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
17290 (libpthread-sysdep_routines): Add elision-related stuff here instead.
17291 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
17292 * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
17293 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
17294 * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
17295 * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
17296 * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
17297 * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
17298 * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
17299 * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
17300 * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
17301 * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
17302 * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
17303 * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
17304 * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
17305 * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
17306 * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
17307 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
17308 * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
17309 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
17310 * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
17311 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
17312 * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
17313 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
17314 * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
17315 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
17316 * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
17317 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
17318 * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
17320 * sysdeps/unix/sysv/linux/mips/fork.h: New file.
17321 * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
17323 * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
17324 * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
17325 * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
17326 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
17327 * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
17328 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
17330 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
17331 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
17333 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
17334 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
17336 * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
17337 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
17339 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
17340 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
17341 * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
17342 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
17344 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
17345 * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
17346 * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
17347 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
17348 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
17349 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
17350 * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
17351 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
17353 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
17354 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
17356 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
17358 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
17359 * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
17360 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
17361 * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
17362 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
17364 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
17366 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
17368 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
17369 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
17370 * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
17371 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
17372 * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
17373 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
17375 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
17376 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
17378 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
17379 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
17381 * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
17382 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
17384 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
17385 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
17386 * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
17387 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
17389 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
17390 * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
17391 * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
17392 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
17393 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
17394 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
17395 * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
17396 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
17398 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
17399 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
17401 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
17403 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
17404 * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
17405 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
17406 * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
17407 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
17409 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
17411 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
17413 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
17414 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
17415 * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
17416 * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
17417 * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
17418 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
17419 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
17420 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
17421 * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
17422 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
17424 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
17425 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
17427 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
17428 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
17430 * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
17431 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
17433 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
17434 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
17435 * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
17436 * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
17437 * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
17438 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
17440 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
17441 * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
17442 * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
17443 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
17444 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
17445 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
17446 * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
17447 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
17449 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
17450 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
17452 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
17454 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
17455 * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
17456 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
17457 * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
17458 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
17460 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
17462 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
17464 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
17465 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
17466 * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
17467 * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
17468 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
17469 * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
17470 * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
17471 * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
17472 * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
17473 * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
17474 * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
17476 * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
17477 * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
17479 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
17480 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
17482 * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
17483 * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
17484 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
17485 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
17486 * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
17487 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
17488 * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
17489 * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
17490 * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
17491 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
17492 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
17493 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
17494 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
17495 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
17496 * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
17497 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
17498 * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
17499 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
17501 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
17502 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
17503 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
17504 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
17506 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
17507 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
17508 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
17509 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
17510 * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
17511 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
17512 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
17513 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
17515 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
17516 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
17518 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
17519 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
17520 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
17521 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
17522 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
17523 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
17524 * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
17525 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
17526 * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
17527 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
17528 * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
17529 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
17530 * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
17531 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
17532 * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
17533 * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
17534 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
17536 * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
17537 * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
17538 * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
17539 * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
17540 * sysdeps/unix/sysv/linux/i386/fork.h: New file.
17542 * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
17543 * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
17544 * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
17545 * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
17546 * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
17547 * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
17548 * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
17549 * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
17550 * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
17551 * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
17553 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
17554 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
17556 * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
17557 * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
17558 * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
17559 * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
17560 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
17561 * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
17562 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
17563 * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
17564 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
17565 * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
17566 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
17567 * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
17568 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
17569 * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
17570 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
17572 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
17574 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
17576 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
17578 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
17580 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
17582 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
17584 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
17586 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
17588 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
17590 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
17591 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
17592 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
17593 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
17594 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
17595 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
17596 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
17597 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
17598 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
17599 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
17600 * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
17601 * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
17602 * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
17603 * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Likewise.
17604 * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Likewise.
17606 * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
17607 that was previously under [RESET_PID].
17608 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
17609 * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
17610 * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
17612 * sysdeps/i386/nptl/Implies: New file.
17613 * sysdeps/x86_64/nptl/Implies: New file.
17614 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
17615 * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
17616 * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
17617 * sysdeps/x86/nptl/bits/semaphore.h: ... here.
17619 * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
17620 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
17621 (__libc_vfork): New strong alias.
17622 * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
17623 * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
17625 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
17626 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
17627 (__libc_vfork): New strong alias.
17628 * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
17629 * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
17631 * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
17632 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
17633 (__libc_vfork): New strong alias.
17634 * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
17635 * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
17636 * nptl/pt-vfork.c: New file.
17637 * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
17638 (libpthread: GLIBC_2.20): New version set (empty).
17640 2014-05-14 Will Newton <will.newton@linaro.org>
17642 * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
17645 2014-05-14 Joseph Myers <joseph@codesourcery.com>
17648 * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
17649 arguments with exponent 65 or above.
17650 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
17651 arguments 0x1p113L or above.
17652 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
17653 to arguments 0x1p107L or above.
17654 * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
17655 positive arguments with exponent 65 or above.
17656 * math/auto-libm-test-in: Add more tests of log1p.
17657 * math/auto-libm-test-out: Regenerated.
17660 * math/s_cacos.c (__cacos): Ensure zero real part of result from
17661 non-finite arguments is +0.
17662 * math/s_cacosf.c (__cacosf): Likewise.
17663 * math/s_cacosl.c (__cacosl): Likewise.
17664 * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
17665 * sysdeps/i386/fpu/libm-test-ulps: Update.
17666 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17669 * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
17671 * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
17672 * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
17673 * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
17674 for explicit high bit of mantissa when testing for argument equal
17676 * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
17677 * sysdeps/i386/fpu/libm-test-ulps: Update.
17678 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17681 * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
17682 (__erf): Scale by 16 instead of 8 in potentially underflowing
17683 case. Ensure exception if result actually underflows.
17684 * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
17685 (__erff): Scale by 16 instead of 8 in potentially underflowing
17686 case. Ensure exception if result actually underflows.
17687 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
17688 (efx8): Remove variable.
17689 (__erfl): Scale by 16 instead of 8 in potentially underflowing
17690 case. Ensure exception if result actually underflows.
17691 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
17692 (efx8): Remove variable.
17693 (__erfl): Scale by 16 instead of 8 in potentially underflowing
17694 case. Ensure exception if result actually underflows.
17695 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
17696 (efx8): Remove variable.
17697 (__erfl): Scale by 16 instead of 8 in potentially underflowing
17698 case. Ensure exception if result actually underflows.
17699 * math/auto-libm-test-in: Add more tests of erf.
17700 * math/auto-libm-test-out: Regenerated.
17702 2014-05-14 Andreas Schwab <schwab@suse.de>
17704 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
17705 Remove code conditionalized on USE___THREAD.
17707 * config.h.in (HAVE_PT_CHOWN): Define as 0.
17708 * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
17711 2014-05-14 Joseph Myers <joseph@codesourcery.com>
17713 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
17714 Define unconditionally.
17715 (__ASSUME_O_CLOEXEC): Likewise.
17716 (__ASSUME_SOCK_CLOEXEC): Likewise.
17717 (__ASSUME_IN_NONBLOCK): Likewise.
17718 (__ASSUME_PIPE2): Likewise.
17719 (__ASSUME_EVENTFD2): Likewise.
17720 (__ASSUME_SIGNALFD4): Likewise.
17721 (__ASSUME_DUP3): Likewise.
17722 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
17723 (__ASSUME_DUP3): Do not define.
17724 (__ASSUME_EVENTFD2): Likewise.
17725 (__ASSUME_IN_NONBLOCK): Likewise.
17726 (__ASSUME_O_CLOEXEC): Likewise.
17727 (__ASSUME_PIPE2): Likewise.
17728 (__ASSUME_SIGNALFD4): Likewise.
17729 (__ASSUME_SOCK_CLOEXEC): Likewise.
17730 (__ASSUME_UTIMES): Undefine.
17731 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
17732 (__ASSUME_UTIMES): Do not define.
17733 (__ASSUME_O_CLOEXEC): Likewise.
17734 (__ASSUME_SOCK_CLOEXEC): Likewise.
17735 (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
17736 0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
17738 (__ASSUME_PIPE2): Likewise.
17739 (__ASSUME_EVENTFD2): Likewise.
17740 (__ASSUME_SIGNALFD4): Likewise.
17741 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
17742 * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
17744 (__ASSUME_EVENTFD2): Likewise.
17745 (__ASSUME_SIGNALFD4): Likewise.
17746 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
17747 (__ASSUME_32BITUIDS): Likewise.
17748 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
17749 (__ASSUME_IPC64): Likewise.
17750 (__ASSUME_ST_INO_64_BIT): Likewise.
17751 (__ASSUME_GETDENTS64_SYSCALL): Likewise.
17752 [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
17753 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
17754 (__ASSUME_UTIMES): Do not define.
17755 (__ASSUME_PSELECT): Likewise.
17756 (__ASSUME_PPOLL): Likewise.
17757 (__ASSUME_O_CLOEXEC): Likewise.
17758 (__ASSUME_SOCK_CLOEXEC): Likewise.
17759 (__ASSUME_IN_NONBLOCK): Likewise.
17760 (__ASSUME_PIPE2): Likewise.
17761 (__ASSUME_EVENTFD2): Likewise.
17762 (__ASSUME_SIGNALFD4): Likewise.
17763 (__ASSUME_DUP3): Likewise.
17764 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
17765 (__ASSUME_UTIMES): Likewise.
17766 (__ASSUME_O_CLOEXEC): Likewise.
17767 (__ASSUME_SOCK_CLOEXEC): Likewise.
17768 (__ASSUME_IN_NONBLOCK): Likewise.
17769 (__ASSUME_PIPE2): Likewise.
17770 (__ASSUME_EVENTFD2): Likewise.
17771 (__ASSUME_SIGNALFD4): Likewise.
17772 (__ASSUME_DUP3): Likewise.
17773 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
17774 (__ASSUME_UTIMES): Likewise.
17775 (__ASSUME_O_CLOEXEC): Likewise.
17776 (__ASSUME_SOCK_CLOEXEC): Likewise.
17777 (__ASSUME_IN_NONBLOCK): Likewise.
17778 (__ASSUME_PIPE2): Likewise.
17779 (__ASSUME_EVENTFD2): Likewise.
17780 (__ASSUME_SIGNALFD4): Likewise.
17781 (__ASSUME_DUP3): Likewise.
17782 * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
17784 (__ASSUME_UTIMES): Likewise.
17785 (__ASSUME_EVENTFD2): Likewise.
17786 (__ASSUME_SIGNALFD4): Likewise.
17787 * sysdeps/unix/sysv/linux/tile/kernel-features.h
17788 (__ASSUME_O_CLOEXEC): Likewise.
17789 (__ASSUME_SOCK_CLOEXEC): Likewise.
17790 (__ASSUME_IN_NONBLOCK): Likewise.
17791 (__ASSUME_PIPE2): Likewise.
17792 (__ASSUME_EVENTFD2): Likewise.
17793 (__ASSUME_SIGNALFD4): Likewise.
17794 (__ASSUME_DUP3): Likewise.
17795 (__ASSUME_UTIMES): Undefine.
17797 * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
17798 feclearexcept. Remove symbol versioning code.
17799 * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv. Remove
17800 symbol versioning code.
17801 * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv. Remove
17802 symbol versioning code.
17803 * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
17804 feupdateenv. Remove symbol versioning code.
17805 * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
17806 fegetexceptflag. Remove symbol versioning code.
17807 * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
17808 fesetexceptflag. Remove symbol versioning code.
17809 * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
17810 GLIBC_2.2 and GLIBC_2.3.3 entries. Change GLIBC_2.1 to GLIBC_2.4.
17811 * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
17812 (__posix_fadvise64_l32): Remove prototype.
17813 [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
17816 2014-05-13 Roland McGrath <roland@hack.frob.com>
17818 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
17819 * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
17820 * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
17821 * sysdeps/arm/nptl/bits/semaphore.h: ... here.
17823 2014-05-13 Sami Kerola <kerolasa@iki.fi>
17825 * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
17826 current working directory
17828 2014-05-13 Roland McGrath <roland@hack.frob.com>
17830 * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
17831 * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
17832 * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
17833 * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
17834 * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
17835 * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
17836 * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
17837 * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
17838 * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
17839 * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
17840 * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
17841 * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
17842 * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
17843 * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
17844 * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
17845 * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
17846 * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
17847 * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
17848 * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
17849 * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
17850 * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
17851 * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
17852 * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
17853 * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
17854 * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
17855 * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
17856 * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
17857 * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
17858 * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
17859 * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
17860 * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
17861 * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
17862 * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
17863 * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
17864 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
17865 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
17866 * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
17867 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
17868 * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
17869 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
17870 * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
17871 * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
17873 * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
17874 * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
17876 * sysdeps/unix/sysv/linux/arm/Makefile
17877 [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
17878 Add rt-aeabi_unwind_cpp_pr1.
17879 [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
17880 Add nptl-aeabi_unwind_cpp_pr1.
17881 [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
17882 * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
17883 * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
17884 * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
17885 * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
17886 * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
17888 * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
17889 * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
17890 * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
17891 * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
17893 * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
17894 Deconditionalize the code that was previously under [RESET_PID].
17895 * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
17897 * sysdeps/generic/exit-thread.h: New file.
17898 * sysdeps/unix/sysv/linux/exit-thread.h: New file.
17899 * include/unistd.h (__exit_thread): Remove declaration.
17900 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
17901 * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
17902 * csu/libc-start.c: Include <exit-thread.h>.
17903 (LIBC_START_MAIN): Pass no argument to __exit_thread.
17904 * nptl/pthread_create.c: Include <exit-thread.h>.
17905 (start_thread): Call __exit_thread in place of __exit_thread_inline.
17906 * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
17907 * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
17908 * nptl/sysdeps/s390/pthreaddef.h: Likewise.
17909 * nptl/sysdeps/sh/pthreaddef.h: Likewise.
17910 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
17911 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
17912 * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
17913 * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
17914 * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
17915 * sysdeps/arm/nptl/pthreaddef.h: Likewise.
17916 * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
17917 * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
17918 * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
17919 * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
17920 * sysdeps/mips/nptl/pthreaddef.h: Likewise.
17921 * sysdeps/tile/nptl/pthreaddef.h: Likewise.
17923 2014-05-13 Andreas Schwab <schwab@suse.de>
17925 * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
17927 2014-05-12 Joseph Myers <joseph@codesourcery.com>
17929 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
17930 (__ASSUME_UTIMES): Do not condition on kernel version.
17931 (__ASSUME_PSELECT): Define unconditionally.
17932 (__ASSUME_PPOLL): Likewise.
17933 (__ASSUME_ATFCTS): Likewise.
17934 (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
17935 (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
17936 (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
17937 (__ASSUME_UTIMENSAT): Define unconditionally.
17938 (__ASSUME_PRIVATE_FUTEX): Likewise.
17939 (__ASSUME_FALLOCATE): Likewise.
17940 (__ASSUME_O_CLOEXEC): Likewise.
17941 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
17942 (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
17943 (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
17944 (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
17945 (__ASSUME_IN_NONBLOCK): Likewise.
17946 (__ASSUME_PIPE2): Likewise.
17947 (__ASSUME_EVENTFD2): Likewise.
17948 (__ASSUME_SIGNALFD4): Likewise.
17949 (__ASSUME_DUP3): Likewise.
17950 [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
17951 (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
17952 (__ASSUME_AT_RANDOM): Likewise.
17953 (__ASSUME_PREADV): Likewise.
17954 (__ASSUME_PWRITEV): Likewise.
17955 (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
17956 (__ASSUME_F_GETOWN_EX): Define unconditionally.
17957 (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
17958 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
17959 [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
17960 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
17961 (__ASSUME_O_CLOEXEC): Define unconditionally.
17962 (__ASSUME_PSELECT): Do not undefine conditionally.
17963 (__ASSUME_PPOLL): Likewise.
17964 (__ASSUME_ATFCTS): Likewise.
17965 (__ASSUME_SET_ROBUST_LIST): Likewise.
17966 (__ASSUME_UTIMENSAT): Likewise.
17967 (__ASSUME_FDATASYNC): Define unconditionally.
17968 * sysdeps/unix/sysv/linux/arm/kernel-features.h
17969 (__ASSUME_SIGFRAME_V2): Likewise.
17970 )__ASSUME_EVENTFD2): Likewise.
17971 (__ASSUME_SIGNALFD4): Likewise.
17972 (__ASSUME_PSELECT): Do not undefine conditionally.
17973 (__ASSUME_PPOLL): Likewise.
17974 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
17975 (__ASSUME_PSELECT): Define unconditionally.
17976 (__ASSUME_PPOLL): Likewise.
17977 (__ASSUME_O_CLOEXEC): Likewise.
17978 (__ASSUME_SOCK_CLOEXEC): Likewise.
17979 (__ASSUME_IN_NONBLOCK): Likewise.
17980 (__ASSUME_PIPE2): Likewise.
17981 (__ASSUME_EVENTFD2): Likewise.
17982 (__ASSUME_SIGNALFD4): Likewise.
17983 (__ASSUME_DUP3): Likewise.
17984 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
17985 (__ASSUME_O_CLOEXEC): Likewise.
17986 (__ASSUME_SOCK_CLOEXEC): Likewise.
17987 (__ASSUME_IN_NONBLOCK): Likewise.
17988 (__ASSUME_PIPE2): Likewise.
17989 (__ASSUME_EVENTFD2): Likewise.
17990 (__ASSUME_SIGNALFD4): Likewise.
17991 (__ASSUME_DUP3): Likewise.
17992 * sysdeps/unix/sysv/linux/mips/kernel-features.h
17993 (__ASSUME_EVENTFD2): Likewise.
17994 (__ASSUME_SIGNALFD4): Likewise.
17995 (__ASSUME_ACCEPT4_SYSCALL): Likewise.
17997 2014-05-12 Andreas Schwab <schwab@suse.de>
18000 * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
18001 (_nss_nis_gethostbyname4_r): Return error if item length is larger
18002 than maximum RPC packet size.
18003 * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
18004 * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
18005 * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
18006 (_nss_nis_getservbyport_r): Likewise.
18008 2014-05-12 Will Newton <will.newton@linaro.org>
18010 * malloc/Makefile (tests): Add tst-mallopt.
18011 * malloc/tst-mallopt.c: New file.
18013 2014-05-09 Roland McGrath <roland@hack.frob.com>
18015 * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
18016 [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
18018 2014-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18020 * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
18021 (tst-tlsmod6.so): Likewise.
18023 2014-05-09 Roland McGrath <roland@hack.frob.com>
18025 * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
18027 2014-05-09 Joseph Myers <joseph@codesourcery.com>
18030 * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
18031 and <dl-procinfo.h>.
18032 (__fegetenv): Save SSE state in envp->__eip if supported.
18033 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
18034 envp->__eip if supported.
18035 * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
18036 and <dl-procinfo.h>.
18037 (__fesetenv): Always set __eip, __cs_selector, __opcode,
18038 __data_offset and __data_selector in environment to 0. Set SSE
18039 state if supported.
18040 * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
18042 [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
18044 * sysdeps/x86/fpu/test-fenv-sse.c: New file.
18046 2014-05-09 Will Newton <will.newton@linaro.org>
18048 * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
18049 and libc_relro_required for ARM.
18050 * sysdeps/arm/preconfigure: Regenerate.
18052 2014-05-09 Dominik Vogt <vogt@linux.vnet.ibm.com>
18053 Stefan Liebler <stli@linux.vnet.ibm.com>
18055 * config.make.in (enable-lock-elision): New Makefile variable.
18056 * configure.ac: Likewise.
18057 * configure: Regenerate.
18058 * sysdeps/s390/configure.ac:
18059 Add check for gcc transactions support.
18060 * sysdeps/s390/configure: Regenerate.
18061 * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
18062 Build elision files if enabled.
18063 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
18064 Add lock elision support for s390.
18065 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
18066 * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
18067 * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
18068 * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
18069 * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
18070 * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
18071 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
18073 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
18075 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
18077 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
18079 * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
18080 (__lll_timedlock_elision, __lll_lock_elision)
18081 (__lll_unlock_elision, __lll_trylock_elision)
18082 (lll_timedlock_elision, lll_lock_elision)
18083 (lll_unlock_elision, lll_trylock_elision): Add.
18084 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
18085 (pthread_mutex_t): Add lock elision support for s390.
18087 2014-05-14 Wilco <wdijkstr@arm.com>
18089 * sysdeps/arm/fclrexcpt.c: Cleanup.
18090 * sysdeps/arm/fedisblxcpt.c: Cleanup.
18091 * sysdeps/arm/feenablxcpt.c: Cleanup.
18092 * sysdeps/arm/fegetenv.c: Cleanup.
18093 * sysdeps/arm/fegetexcept.c: Cleanup.
18094 * sysdeps/arm/fegetround.c: Cleanup.
18095 * sysdeps/arm/feholdexcpt.c: Cleanup.
18096 * sysdeps/arm/fesetenv.c: Cleanup.
18097 * sysdeps/arm/fesetround.c: Cleanup.
18098 * sysdeps/arm/feupdateenv.c: Cleanup.
18099 * sysdeps/arm/fgetexcptflg.c: Cleanup.
18100 * sysdeps/arm/fraiseexcpt.c: Cleanup.
18101 * sysdeps/arm/fsetexcptflg.c: Cleanup.
18102 * sysdeps/arm/ftestexcept.c: Cleanup.
18103 * sysdeps/arm/get-rounding-mode.h: Cleanup.
18104 * sysdeps/arm/setfpucw.c: Cleanup.
18106 2014-05-09 Will Newton <will.newton@linaro.org>
18108 * sysdeps/arm/armv7/strcmp.S: New file.
18109 * NEWS: Mention addition of ARMv7 optimized strcmp.
18111 2014-05-08 Roland McGrath <roland@hack.frob.com>
18113 * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
18114 look for %.ac rather than %.in.
18116 * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
18117 * sysdeps/unix/sysv/linux/configure.ac: Likewise.
18118 * sysdeps/mach/hurd/configure: Regenerated.
18119 * sysdeps/unix/sysv/linux/configure: Regenerated.
18121 * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
18123 2014-05-07 Steve Ellcey <sellcey@mips.com>
18126 * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
18130 2014-05-07 Andreas Schwab <schwab@suse.de>
18132 * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
18133 when skipping over non-matching result from nscd.
18135 2014-05-07 Ondřej Bílka <neleai@seznam.cz>
18138 * nptl/sockperf.c (client): Check socket return value.
18141 * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
18142 nscd security class.
18144 2014-05-06 Roland McGrath <roland@hack.frob.com>
18146 * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
18147 * sysdeps/arm/unwind.h: ... here.
18149 2014-05-06 Aurelien Jarno <aurelien@aurel32.net>
18152 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
18155 2014-05-06 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
18157 * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
18158 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
18159 multiarch strncpy for PPC64.
18160 * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
18161 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
18162 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
18163 multiarch optimizations.
18164 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
18165 (__libc_ifunc_impl_list): Likewise.
18166 * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
18167 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
18168 multiarch stpncpy for PPC64.
18169 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
18170 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
18172 2014-05-06 Andreas Schwab <schwab@suse.de>
18175 * gmon/mcount.c (_MCOUNT_DECL): Use
18176 atomic_compare_and_exchange_bool_acq instead of
18177 catomic_compare_and_exchange_bool_acq.
18179 2014-05-05 Roland McGrath <roland@hack.frob.com>
18181 * elf/Makefile (others, install-bin): Remove pldd.
18182 (pldd-modules): Variable removed.
18183 ($(objpfx)pldd): Target removed.
18184 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
18185 (others, install-bin): Append pldd here.
18186 ($(objpfx)pldd): New target.
18188 * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
18189 to 0, so the first #if test emitted later doesn't see it undefined.
18190 (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
18191 * sysdeps/gnu/errlist.c: Regenerated.
18193 2014-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18195 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
18196 [libc_hidden_builtin_def]: Define to empty value.
18197 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
18198 [libc_hidden_builtin_def]: Likewise.
18199 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
18200 [libc_hidden_builtin_def]: Likewise.
18201 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
18202 [libc_hidden_builtin_def]: Likewise.
18203 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
18204 __redirect_memcpy and define ifunc as default hidden symbol.
18205 * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
18206 * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
18208 2014-05-04 Adam Conrad <adconrad@0c3.net>
18210 * locale/iso-4217.def: Reintroduce XDR currency.
18212 2014-05-04 Allan McRae <allan@archlinux.org>
18214 * po/eo.po: Update Esperanto translation from translation project.
18216 2014-05-02 Carlos O'Donell <carlos@redhat.com>
18218 * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
18219 and FEATURE_INDEX_MAX to 1.
18220 [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
18222 2014-05-01 Steve Ellcey <sellcey@mips.com>
18224 * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
18225 * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
18226 * iconvdata/big5.c (ONE_DIRECTION): Define.
18227 * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
18228 * iconvdata/cp1255.c (ONE_DIRECTION): Define.
18229 * iconvdata/cp1258.c (ONE_DIRECTION): Define.
18230 * iconvdata/cp932.c (ONE_DIRECTION): Define.
18231 * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
18232 * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
18233 * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
18234 * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
18235 * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
18236 * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
18237 * iconvdata/gb18030.c (ONE_DIRECTION): Define.
18238 * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
18239 * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
18240 * iconvdata/gbk.c (ONE_DIRECTION): Define.
18241 * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
18242 * iconvdata/ibm930.c (ONE_DIRECTION): Define.
18243 * iconvdata/ibm932.c (ONE_DIRECTION): Define.
18244 * iconvdata/ibm933.c (ONE_DIRECTION): Define.
18245 * iconvdata/ibm935.c (ONE_DIRECTION): Define.
18246 * iconvdata/ibm937.c (ONE_DIRECTION): Define.
18247 * iconvdata/ibm939.c (ONE_DIRECTION): Define.
18248 * iconvdata/ibm943.c (ONE_DIRECTION): Define.
18249 * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
18250 * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
18251 * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
18252 * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
18253 * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
18254 * iconvdata/iso646.c (ONE_DIRECTION): Define.
18255 * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
18256 * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
18257 * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
18258 * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
18259 * iconvdata/johab.c (ONE_DIRECTION): Define.
18260 * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
18261 * iconvdata/sjis.c (ONE_DIRECTION): Define.
18262 * iconvdata/t.61.c (ONE_DIRECTION): Define.
18263 * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
18264 * iconvdata/tscii.c (ONE_DIRECTION): Define.
18265 * iconvdata/uhc.c (ONE_DIRECTION): Define.
18266 * iconvdata/unicode.c (ONE_DIRECTION): Define.
18267 * iconvdata/utf-16.c (ONE_DIRECTION): Define.
18268 * iconvdata/utf-32.c (ONE_DIRECTION): Define.
18269 * iconvdata/utf-7.c (ONE_DIRECTION): Define.
18271 2014-05-01 Roland McGrath <roland@hack.frob.com>
18273 * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
18274 (_IO_JUMPS_OFFSET): Define to 0.
18276 * nptl/sysdeps/pthread/bits/libc-lock.h
18277 [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
18278 (__libc_lock_define_initialized_recursive): Always define using
18279 initializer. Modern compilers treat uninitialized (implicit zero) and
18280 explicit zero initializers the same (i.e. put the datum in bss).
18282 2014-05-01 Andreas Schwab <schwab@linux-m68k.org>
18284 * nscd/nscd-client.h: Include <string.h>.
18286 2014-05-01 David S. Miller <davem@davemloft.net>
18289 * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
18290 multiple zero bytes exist at the end of a string.
18291 Reported by Aurelien Jarno <aurelien@aurel32.net>
18293 * string/test-strcmp.c (check): Add explicit test for situations where
18294 there are multiple zero bytes after the first.
18296 2014-05-01 Andreas Schwab <schwab@linux-m68k.org>
18299 * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
18300 when compiling wprintf.
18301 * stdio-common/tstdiomisc.c (t3): New function.
18304 2014-05-01 Steve Ellcey <sellcey@mips.com>
18306 * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
18307 * iconv/gconv_simple.c (ONE_DIRECTION): Define.
18308 * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
18309 * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
18311 2014-05-01 Steve Ellcey <sellcey@mips.com>
18313 * stdlib/longlong.h: Updated from GCC.
18315 2014-05-01 Will Newton <will.newton@linaro.org>
18316 Bernard Ogden <bernie.ogden@linaro.org>
18318 * NEWS: Update fixed bug list.
18321 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
18323 2014-04-30 David S. Miller <davem@davemloft.net>
18325 * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
18326 (libc_feholdexcept_setround_sparc_ctx): New function.
18327 (libc_fesetenv_sparc_ctx): Likewise.
18328 (libc_feupdateenv_sparc_ctx): Likewise.
18329 (libc_feholdsetround_sparc_ctx): Likewise.
18330 (libc_feholdexcept_setround_ctx): Define.
18331 (libc_feholdexcept_setroundf_ctx): Likewise.
18332 (libc_feholdexcept_setroundl_ctx): Likewise.
18333 (libc_fesetenv_ctx): Likewise.
18334 (libc_fesetenvf_ctx): Likewise.
18335 (libc_fesetenvl_ctx): Likewise.
18336 (libc_feupdateenv_ctx): Likewise.
18337 (libc_feupdateenvf_ctx): Likewise.
18338 (libc_feupdateenvl_ctx): Likewise.
18339 (libc_feresetround_ctx): Likewise.
18340 (libc_feresetroundf_ctx): Likewise.
18341 (libc_feresetroundl_ctx): Likewise.
18342 (libc_feholdsetround_ctx): Likewise.
18343 (libc_feholdsetroundf_ctx): Likewise.
18344 (libc_feholdsetroundl_ctx): Likewise.
18346 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
18347 with __USE_GNU instead of XOPEN cpp guards.
18349 * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
18352 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
18353 with XOPEN cpp guards.
18355 2014-04-30 Julian Brown <julian@codesourcery.com>
18358 * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
18361 2014-04-30 Joseph Myers <joseph@codesourcery.com>
18364 * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
18366 (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
18367 * sysdeps/unix/sysv/linux/configure: Regenerated.
18368 * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
18369 * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
18370 * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
18371 * sysdeps/unix/sysv/linux/tile/configure: Likewise.
18372 * README: Update reference to required Linux kernel version.
18373 * manual/install.texi (Linux): Update reference to required Linux
18374 kernel headers version.
18375 * INSTALL: Regenerated.
18377 * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
18379 [POSIX] (limits.h): Likewise.
18380 [POSIX] (math.h): Likewise.
18381 [POSIX] (sys/wait.h): Likewise.
18382 * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
18384 [POSIX] (stddef.h): Do not allow header inclusion.
18386 2014-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18388 * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
18390 2014-04-30 Yang Yingliang <yangyingliang@huawei.com>
18392 * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
18393 Return immediately after lll_futex_wake.
18395 2014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
18398 * nscd/nscd-client.h (datahead_init_common): Initialize entire
18400 (datahead_init_pos): Call datahead_init_common early.
18401 (datahead_init_neg): Likewise.
18403 * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
18404 datahead_init_neg): New functions.
18405 * nscd/aicache.c (addhstaiX): Use them.
18406 * nscd/grpcache.c (cache_addgr): Likewise.
18407 * nscd/hstcache.c (cache_addhst): Likewise.
18408 * nscd/initgrcache.c (addinitgroupsX): Likewise.
18409 * nscd/netgroupcache.c (do_notfound): Likewise.
18410 (addgetnetgrentX): Likewise.
18411 (addinnetgrX): Likewise.
18412 * nscd/pwdcache.c (cache_addpw): Likewise.
18413 * nscd/servicescache.c (cache_addserv): Likewise.
18415 2014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
18416 Atsushi Onoe <atsushi@onoe.org>
18421 * resolv/res_query.c (__libc_res_nsearch): Return if at least
18422 one response is valid.
18423 * resolv/res_send.c (send_dg): Check for validity of other
18424 response if the current response is a referral.
18426 2014-04-29 Steve Ellcey <sellcey@mips.com>
18428 * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
18430 2014-04-29 Stefan Liebler <stli@linux.vnet.ibm.com>
18433 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
18434 Always divide by positive zero when computing -Inf result.
18435 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
18436 * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
18438 2014-04-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18440 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
18441 FPSCR if value do not change.
18442 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
18443 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
18444 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
18445 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
18446 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
18447 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
18450 2014-05-29 Carlos O'Donell <carlos@systemhalted.org>
18452 * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
18453 * sysdeps/unix/sysv/linux/hppa: Move directory from
18454 ports/systeps/unix/sysv/linux/hppa.
18455 * README: Update listing for hppa-*-linux-gnu.
18457 2014-04-28 Ondřej Bílka <neleai@seznam.cz>
18460 * manual/stdio.texi (Hook functions): Fix types of stream hook
18463 * socket/sys/socket.h: Fix typo in comment.
18465 2014-04-28 Wilco <wdijkstr@arm.com>
18467 * sysdeps/arm/fenv_private.h: New file.
18468 * sysdeps/arm/math_private.h: New file.
18469 * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
18471 2014-04-25 H.J. Lu <hongjiu.lu@intel.com>
18473 * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
18475 (La_x86_64_retval): Likewise.
18477 2014-04-24 Ian Bolton <ian.bolton@arm.com>
18479 * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
18480 fpsr if value didn't change.
18481 * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
18482 to fpcr if value didn't change.
18483 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
18484 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
18485 fpsr or fpcr if value didn't change.
18486 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
18487 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
18488 fpcr if value didn't change.
18489 * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
18490 to fpsr if value didn't change.
18492 2014-02-23 Siddhesh Poyarekar <siddhesh@redhat.com>
18494 * nptl/tst-sem3.c: Use test-skeleton.c
18495 (main): Rename to do_test. Use return instead of
18497 * nptl/tst-sem4.c: Use test-skeleton.c
18498 (main): Rename to do_test.
18500 2014-04-22 David S. Miller <davem@davemloft.net>
18502 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
18503 (struct sigaction): New struct member __glibc_reserved0, change
18504 type of sa_flags to int.
18506 2014-04-22 Yufeng Zhang <yufeng.zhang@arm.com>
18508 * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
18509 (COUNT_LEADING_ZEROS_0): Define for AArch64.
18511 2014-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
18513 * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
18514 * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
18516 2014-04-22 Will Newton <will.newton@linaro.org>
18517 Venkataramanan Kumar <venkataramanan.kumar@linaro.org>
18519 * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
18520 (__longjmp): Add longjmp and longjmp_target SystemTap
18522 * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
18523 (__sigsetjmp): Add setjmp SystemTap probe.
18525 2014-04-17 Carlos O'Donell <carlos@redhat.com>
18527 * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
18528 match manual order.
18530 2014-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18532 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
18534 * sysdeps/powerpc/fpu/fenv_private.h
18535 (libc_feholdexcept_setroundl_ctx): Define to
18536 libc_feholdexcept_setround_ppc_ctx.
18537 (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
18538 (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
18539 (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
18540 (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
18542 2014-04-17 Ian Bolton <ian.bolton@arm.com>
18544 * sysdeps/aarch64/math-tests.h: New file.
18546 2014-04-17 Sihai Yao <sihai.ysh@alibaba-inc.com>
18548 * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
18550 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
18551 Check and set bit_AVX2_Usable.
18552 * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
18554 (bit_AVX2): Likewise.
18555 (index_AVX2_Usable): Likewise.
18556 (CPUID_AVX2): Likewise.
18557 (HAS_AVX2): Likewise.
18559 2014-04-17 Will Newton <will.newton@linaro.org>
18561 * manual/setjmp.texi (System V contexts): Add note that
18562 calling setcontext on a context created by a call to a
18563 signal handler is undefined. Update text to note that
18564 setcontext from a signal handler is possible but not
18568 * stdlib/tst-setcontext.c: Include signal.h.
18569 (main): Check that the signal stack before and
18570 after swapcontext is the same.
18572 * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
18573 Re-implement to restore registers in user code and avoid
18574 rt_sigreturn system call.
18576 2014-04-17 Wilco <wdijkstr@arm.com>
18578 * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
18579 * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
18580 * math/test-fenv.c: Skip exception trap tests on targets which only
18581 support non-stop mode.
18583 2014-04-17 Ian Bolton <ian.bolton@arm.com>
18584 Wilco Dijkstra <wilco.dijkstra@arm.com>
18586 * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
18587 (libc_feholdsetround_aarch64_ctx)
18588 (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
18589 (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
18590 (libc_feresetround_ctx, libc_feresetroundf_ctx)
18591 (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
18592 (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
18593 (libc_feresetround_noexl_ctx): Define.
18595 2014-04-16 Richard Henderson <rth@redhat.com>
18597 * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
18599 * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
18602 * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
18603 const from the non-libc, non-ldso copy.
18605 * sysdeps/alpha/libm-test-ulps: Regenerate.
18607 2014-04-16 Ian Bolton <ian.bolton@arm.com>
18608 Wilco Dijkstra <wilco.dijkstra@arm.com>
18610 * sysdeps/aarch64/fpu/math_private.h: New file.
18612 2014-04-16 Marcus Shawcroft <marcus.shawcroft@arm.com>
18614 * sysdeps/aarch64/libm-test-ulps: Regenerate.
18616 2014-04-16 Igor Zamyatin <igor.zamyatin@intel.com>
18619 * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
18620 (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
18621 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
18622 Intel MPX bound registers before _dl_profile_fixup.
18623 * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
18624 registers after _dl_profile_fixup. Save and restore bound
18625 registers bnd0/bnd1 when calling _dl_call_pltexit.
18626 * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
18627 (LR_BND_OFFSET): Likewise.
18628 (LRV_BND0_OFFSET): Likewise.
18629 (LRV_BND1_OFFSET): Likewise.
18631 2014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
18633 * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
18635 * sysdeps/mach/hurd/i386/tls.h: ... here.
18636 (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
18637 pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
18640 2014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
18642 * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
18644 2014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
18646 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
18648 2014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
18651 * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
18652 * sysdeps/s390/configure: Regenerate.
18655 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
18656 Set round-to-nearest internally to reduce error accumulation.
18658 2014-04-16 Alan Modra <amodra@gmail.com>
18662 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
18663 * math/libm-test.inc (frexp_test_data): Add tests.
18664 * NEWS: Update fixed bug list.
18666 2014-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
18668 * benchtests/Makefile: Depend on libraries in build directory.
18669 (bench-math): Separate out math tests.
18670 (bench-pthread): Separate out pthread tests.
18671 (bench): Include math and pthread tests.
18673 2014-04-14 Carlos O'Donell <carlos@redhat.com>
18676 * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
18677 _dl_debug_initialize.
18679 * configure.ac: Remove SELinux header check.
18680 * configure: Regenerate.
18681 * nscd/selinux.c (perms): Array of const char* to permission names.
18682 (nscd_request_avc_has_perm): Call security_deny_unknown to find
18683 default policy. Call string_to_security_class and string_to_av_perm to
18684 translate strings. Enforce default policy and call avs_has_perm with
18685 results of translated strings.
18687 2014-04-13 David S. Miller <davem@davemloft.net>
18689 * sysdeps/sparc/fpu/libm-test-ulps: Update.
18691 2014-04-12 Allan McRae <allan@archlinux.org>
18694 * manual/string.texi (Collation Functions): Fix qsort argument
18696 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
18698 2014-04-11 Chris Metcalf <cmetcalf@tilera.com>
18700 * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
18701 Make the test a no-op if there are no exceptions defined.
18703 2014-04-11 Paul Pluzhnikov <ppluzhnikov@google.com>
18705 * elf/Makefile (tests): make tst-dlopen-aout conditional on
18706 enable-hardcoded-path-in-tests
18708 2014-04-11 Will Newton <will.newton@linaro.org>
18710 * benchtests/Makefile (extra-objs): Add json-lib.o.
18711 (bench-func): Tidy up JSON output.
18712 * benchtests/bench-skeleton.c: Include json-lib.h.
18713 (main): Use JSON library functions to do output of
18715 * benchtests/bench-timing-type.c (main): Output the
18716 timing type simply, leaving formatting to the user.
18717 * benchtests/json-lib.c: New file.
18718 * benchtests/json-lib.h: Likewise.
18720 2014-04-11 Torvald Riegel <triegel@redhat.com>
18723 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
18724 * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here. Add missing
18725 memory barriers. Add comments.
18726 * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
18727 * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
18728 * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
18729 * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
18730 * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
18731 * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
18733 2014-04-11 Stefan Liebler <stli@linux.vnet.ibm.com>
18735 * sysdeps/s390/s390-32/configure.ac: Unify file with ...
18736 * sysdeps/s390/s390-64/configure.ac: ... this ...
18737 * sysdeps/s390/configure.ac: ... to here.
18738 * sysdeps/s390/s390-32/configure: Delete file.
18739 * sysdeps/s390/s390-64/configure: Delete file.
18740 * sysdeps/s390/configure: Regenerate.
18742 2014-04-11 Joseph Anthony Pasquale Holsten <joseph@josephholsten.com>
18744 * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
18746 2014-04-11 Will Newton <will.newton@linaro.org>
18748 * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
18749 to zero if it is not defined elsewhere. (mtrim): Test
18750 the value of MALLOC_DEBUG with #if rather than #ifdef.
18752 2014-04-10 Torvald Riegel <triegel@redhat.com>
18754 * benchtests/pthread_once-inputs: New file.
18755 * benchtests/pthread_once-source.c: New file.
18756 * benchtests/README: Update documentation.
18758 2014-04-09 Igor Zamyatin <igor.zamyatin@intel.com>
18759 H.J. Lu <hongjiu.lu@intel.com>
18762 * config.h.in (HAVE_MPX_SUPPORT): New #undef.
18763 * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
18764 * sysdeps/x86_64/configure: Regenerated.
18765 * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
18767 (REGISTER_SAVE_RAX): Likewise.
18768 (REGISTER_SAVE_RCX): Likewise.
18769 (REGISTER_SAVE_RDX): Likewise.
18770 (REGISTER_SAVE_RSI): Likewise.
18771 (REGISTER_SAVE_RDI): Likewise.
18772 (REGISTER_SAVE_R8): Likewise.
18773 (REGISTER_SAVE_R9): Likewise.
18774 (REGISTER_SAVE_BND0): Likewise.
18775 (REGISTER_SAVE_BND1): Likewise.
18776 (REGISTER_SAVE_BND2): Likewise.
18777 (_dl_runtime_resolve): Use them. Save and restore Intel MPX
18778 bound registers when calling _dl_fixup.
18780 2014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18782 * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
18783 * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
18785 * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
18786 * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
18787 * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
18788 * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
18789 * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
18790 * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
18791 * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
18793 2014-04-09 Peter Brett <peter@peter-b.co.uk>
18796 * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
18797 pathconf(_PC_NAME_MAX).
18799 2014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18801 * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
18802 Remove macro usage.
18803 (__PTHREAD_SPINS): Move definition to ...
18804 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
18805 (__PTHREAD_SPINS): ... here.
18806 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
18807 (__PTHREAD_SPIN): Likewise.
18808 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
18809 (__PTHREAD_SPIN): Likewise.
18810 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
18811 (__PTHREAD_SPIN): Likewise.
18812 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
18813 (__PTHREAD_SPIN): Likewise.
18814 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
18815 (__PTHREAD_SPIN): Likewise.
18816 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
18817 (__PTHREAD_SPIN): Likewise.
18818 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
18819 (__PTHREAD_SPIN): Likewise.
18820 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
18821 (__PTHREAD_SPIN): Likewise.
18822 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
18823 (__PTHREAD_SPIN): Likewise.
18824 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
18825 (__PTHREAD_SPIN): Likewise.
18826 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
18827 (__PTHREAD_SPIN): Likewise.
18828 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
18829 (__PTHREAD_SPIN): Likewise.
18831 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
18832 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
18833 * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
18834 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
18836 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
18837 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
18838 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
18839 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
18840 correct imply path.
18841 * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
18842 strlen symbol for non multi-arch builds.
18843 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
18844 missing hidden_def and weak_alias.
18846 2014-04-08 Carlos O'Donell <carlos@redhat.com>
18848 * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
18850 2014-04-07 Will Newton <will.newton@linaro.org>
18852 * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
18853 and contents. [!_LIBC] Remove #ifndef and contents.
18854 (basename): Use ANSI prototype. [_LIBC] Remove #idef.
18855 * string/memccpy.c (__memccpy): Use ANSI prototype.
18856 * string/memfrob.c (memfrob): Likewise.
18857 * string/strcoll.c (STRCOLL): Likewise.
18858 * string/strlen.c (strlen): Likewise.
18859 * string/strtok.c (STRTOK): Likewise.
18860 * string/strcat.c: Remove unused #include of memcopy.h.
18861 (strcat): Use ANSI prototype.
18862 * string/strchr.c: Remove unused #include of memcopy.h.
18863 (strchr): Use ANSI prototype.
18864 * string/strcmp.c: Remove unused #include of memcopy.h.
18865 (strcmp): Use ANSI prototype.
18866 * string/strcpy.c: Remove unused #include of memcopy.h.
18867 (strcpy): Use ANSI prototype.
18869 2014-04-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18871 * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
18872 * config.make.in (config-extra-cppflags): Set it from
18873 libc_extra_cppflags.
18874 * configure.ac (libc_extra_cflags): Make it accumulate over
18875 configure fragments.
18876 (libc_extra_cppflags): New flag.
18877 * configure. Regenerate.
18878 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
18879 (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
18880 not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
18881 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
18884 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
18885 result for FE_DOWNWARD rounding mode.
18886 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
18888 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18890 2014-04-04 Chris Metcalf <cmetcalf@tilera.com>
18892 * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
18893 in function argument name.
18895 2014-04-03 David Svoboda <svoboda@cert.org>
18898 * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
18901 2014-04-03 Roland McGrath <roland@hack.frob.com>
18903 * elf/dl-unmap-segments.h: New file.
18904 * sysdeps/generic/ldsodefs.h
18905 (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
18906 * elf/dl-close.c: Include <dl-unmap-segments.h>.
18907 * elf/dl-fptr.c: Likewise.
18908 (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
18909 * sysdeps/aarch64/tlsdesc.c: Likewise.
18910 * sysdeps/arm/tlsdesc.c: Likewise.
18911 * sysdeps/i386/tlsdesc.c: Likewise.
18912 * sysdeps/tile/dl-runtime.c: Likewise.
18913 * sysdeps/x86_64/tlsdesc.c: Likewise.
18914 * elf/dl-load.h: New file.
18915 * elf/dl-load.c: Include it.
18916 (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
18917 Macros moved to dl-load.h.
18918 (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
18919 (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
18920 Use _dl_unmap_segments in place of __munmap.
18921 Break out segment-mapping loop into ...
18922 * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
18924 2014-04-03 Will Newton <will.newton@linaro.org>
18926 * elf/dl-lookup.c (do_lookup_x): Remove comment
18927 referring to nested function and move variable
18928 declarations down to before first use.
18930 2014-04-02 Joseph Myers <joseph@codesourcery.com>
18934 * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
18936 * math/s_catanf.c (__catanf): Likewise.
18937 * math/s_catanh.c (__catanh): Likewise.
18938 * math/s_catanhf.c (__catanhf): Likewise.
18939 * math/s_catanhl.c (__catanhl): Likewise.
18940 * math/s_catanl.c (__catanl): Likewise.
18941 * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
18942 by positive zero when computing -Inf result.
18943 * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
18944 (catanh_test): Likewise.
18945 * sysdeps/i386/fpu/libm-test-ulps: Update.
18946 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18949 * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
18950 instead of using underflowing value in computing result.
18951 * math/s_clog10.c (__clog10): Likewise.
18952 * math/s_clog10f.c (__clog10f): Likewise.
18953 * math/s_clog10l.c (__clog10l): Likewise.
18954 * math/s_clogf.c (__clogf): Likewise.
18955 * math/s_clogl.c (__clogl): Likewise.
18956 * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
18957 (clog10_test): Likewise.
18958 * sysdeps/i386/fpu/libm-test-ulps: Update.
18959 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18961 2014-04-02 Alan Modra <amodra@gmail.com>
18964 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
18965 output when value is near a power of two. Use int64_t for lx and
18966 remove casts. Use decimal rather than hex exponent constants.
18967 Don't use long double multiplication when double will suffice.
18968 * math/libm-test.inc (nextafter_test_data): Add tests.
18969 * NEWS: Add 16739 and 16786 to bug list.
18971 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
18973 * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
18975 2014-04-01 Will Newton <will.newton@linaro.org>
18977 * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
18978 -fno-builtin. (CFLAGS-bench-ffsll.c): Likewise.
18980 2014-04-01 Florian Weimer <fweimer@redhat.com>
18983 * nptl/nptl-init.c (sighandler_setxid): Check system call result.
18984 * nptl/tst-setuid2.c: New file.
18985 * nptl/Makefile (xtests): Add tst-setuid2.
18987 2014-04-01 Alan Modra <amodra@gmail.com>
18990 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
18992 2014-03-31 Joseph Myers <joseph@codesourcery.com>
18996 * math/w_scalb.c (__scalb): For non-SVID mode, check result and
18997 set errno as appropriate.
18998 * math/w_scalbf.c (__scalbf): Likewise.
18999 * math/w_scalbl.c (__scalbl): Likewise.
19000 * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
19001 ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
19002 * math/libm-test.inc (scalb_test_data): Add errno expectations.
19003 Add more NaN tests.
19006 * math/w_atan2.c: Include <errno.h>.
19007 (__atan2): Set errno for result underflowing to zero.
19008 * math/w_atan2f.c: Include <errno.h>.
19009 (__atan2f): Set errno for result underflowing to zero.
19010 * math/w_atan2l.c: Include <errno.h>.
19011 (__atan2l): Set errno for result underflowing to zero.
19012 * math/auto-libm-test-in: Don't allow missing errno for some atan2
19014 * math/auto-libm-test-out: Regenerated.
19016 2014-03-31 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19018 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
19019 Encode instruction correctly in little endian.
19020 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
19022 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
19024 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
19026 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
19029 2014-03-31 Joseph Myers <joseph@codesourcery.com>
19032 * sysdeps/unix/sysv/linux/kernel-features.h
19033 [__sparc__ && !__arch64__ && !__sparc_v9__]
19034 (__ASSUME_SET_ROBUST_LIST): Do not define.
19035 [__sparc__ && !__arch64__ && !__sparc_v9__]
19036 (__ASSUME_FUTEX_LOCK_PI): Likewise.
19037 [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
19039 * sysdeps/unix/sysv/linux/arm/kernel-features.h
19040 (__ASSUME_FUTEX_LOCK_PI): Undefine.
19041 (__ASSUME_REQUEUE_PI): Likewise.
19042 (__ASSUME_SET_ROBUST_LIST): Likewise.
19043 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
19044 [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
19046 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
19047 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
19049 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
19051 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
19053 * sysdeps/unix/sysv/linux/mips/kernel-features.h
19054 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
19056 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
19057 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
19061 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
19062 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
19063 * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
19065 2014-03-31 Will Newton <will.newton@linaro.org>
19067 * benchtests/Makefile (bench): Add ffs and ffsll to list
19069 * benchtests/ffs-inputs: New file.
19070 * benchtests/ffsll-inputs: Likewise.
19072 2014-03-29 Joseph Myers <joseph@codesourcery.com>
19075 * math/e_scalb.c (__ieee754_scalb): Check second argument is not
19076 too large before casting to int.
19077 * math/e_scalbf.c (__ieee754_scalbf): Likewise.
19078 * math/e_scalbl.c (__ieee754_scalbl): Likewise.
19079 * math/libm-test.inc (scalb_test_data): Add more tests.
19081 2014-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
19083 * benchtests/Makefile (DETAILED_OPT): New make option.
19084 (bench-func): Run benchmark program with -d if DETAILED_OPT is
19086 * benchtests/bench-skeleton.c: Include stdbool.h.
19087 (main): Store and print timings per input.
19088 * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
19089 member to each argument value.
19090 (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
19091 (_print_arg_data): Initialize per-input timing to 0.
19093 * benchtests/Makefile (timing-type): New binary.
19094 (bench-clean): Also remove bench-timing-type.
19095 (bench): New target for timing-type.
19096 (bench-func): Print output in JSON format.
19097 * benchtests/bench-skeleton.c (main): Print output in JSON
19099 * benchtests/bench-timing-type.c: New file.
19100 * benchtests/bench-timing.h (TIMING_TYPE): New macro.
19101 (TIMING_PRINT_STATS): Remove.
19102 * benchtests/scripts/bench.py (_print_arg_data): Store variant
19105 * benchtests/bench-modf.c: Remove.
19106 * benchtests/modf-inputs: New inputs file.
19108 2014-03-28 Joseph Myers <joseph@codesourcery.com>
19111 * math/s_clog10.c (M_PI_LOG10E): New macro.
19112 (__clog10): Use M_PI_LOG10E instead of M_PI when real and
19113 imaginary parts are 0.
19114 * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
19115 (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
19116 imaginary parts are 0.
19117 * math/s_clog10l.c (M_PI_LOG10El): New macro.
19118 (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
19119 imaginary parts are 0.
19120 * math/libm-test.inc (clog10_test_data): Update expected results
19121 for when real and imaginary parts are 0.
19123 2014-03-27 Paul Pluzhnikov <ppluzhnikov@google.com>
19125 * elf/dl-load.c: Finish conversion of __builtin_expect into
19126 __glibc_{un}likely.
19128 2014-03-27 Joseph Myers <joseph@codesourcery.com>
19131 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
19132 1+x for argument with exponent below -67.
19133 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
19135 * math/auto-libm-test-in: Add more tests of exp.
19136 * math/auto-libm-test-out: Regenerated.
19138 2014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
19141 * inet/getnetgrent_r.c (get_nonempty_val): New function.
19142 (nscd_getnetgrent): Use it.
19145 * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
19148 2014-03-27 Andi Kleen <ak@linux.intel.com>
19150 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
19151 (lll_robust_lock, lll_cond_lock, lll_timedlock)
19152 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
19153 (lll_robust_unlock): Remove out of line section. Use cfi
19155 (LLL_STUB_UNWIND_INFO*): Remove.
19156 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
19157 (lll_robust_lock, lll_cond_lock, lll_timedlock)
19158 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
19159 (lll_robust_unlock): Remove out of line section. Use cfi
19161 (LLL_STUB_UNWIND_INFO*): Remove.
19163 2014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
19166 * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
19169 2014-03-26 Paul Pluzhnikov <ppluzhnikov@google.com>
19171 * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
19173 2014-03-26 Joseph Myers <joseph@codesourcery.com>
19176 * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
19178 * math/test-fenv-preserve.c: New file.
19179 * math/Makefile (tests): Add test-fenv-preserve.
19181 2014-03-26 Will Newton <will.newton@linaro.org>
19183 * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
19185 2014-03-25 Roland McGrath <roland@hack.frob.com>
19187 * scripts/versionlist.awk: Partition the version sets and emit all
19188 GLIBC_* (sorted) before all others (sorted).
19190 2014-03-25 Joseph Myers <joseph@codesourcery.com>
19192 * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
19193 GLIBC_2.2.5 version.
19195 2014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19197 * scripts/localplt.awk: Check for PLT generated by internal IFUNC
19200 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
19203 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19205 2014-03-25 Andreas Schwab <schwab@suse.de>
19207 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
19208 label to be used after in6ailist is initialized.
19210 2014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19212 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
19213 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
19215 2014-03-25 Joseph Myers <joseph@codesourcery.com>
19219 * math/gen-auto-libm-tests.c (fp_format_desc): Add field
19221 (fp_formats): Update initializers.
19222 (init_fp_formats): Initialize new field.
19223 (output_for_one_input_case): Allow underflow for results up to
19225 * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
19226 * math/auto-libm-test-in: Don't mark some underflows from asin and
19228 * math/auto-libm-test-out: Regenerated.
19229 * sysdeps/i386/fpu/libm-test-ulps: Update.
19230 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19232 2014-03-25 Andreas Schwab <schwab@suse.de>
19234 * libio/Makefile (tst-ftell-partial-wide-ENV)
19235 (tst-ftell-active-handler-ENV): Define.
19237 2014-03-25 Stefan Liebler <stli@linux.vnet.ibm.com>
19239 * NEWS: Add 16712, 16713, 16714 to fixed bug list.
19241 2014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
19243 * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
19245 2014-03-24 Joseph Myers <joseph@codesourcery.com>
19247 * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
19248 * sysdeps/x86_64/fpu/multiarch/e_exp.c
19249 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
19251 2014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
19254 * elf/dl-load.c (open_verify): Add mode parameter.
19255 Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
19256 (open_path): Change from boolean 'secure' to complete flag 'mode'
19257 (_dl_map_object): Adjust.
19258 * elf/Makefile (tests): Add tst-dlopen-aout.
19259 * elf/tst-dlopen-aout.c: New test.
19261 2014-03-24 Stefan Liebler <stli@linux.vnet.ibm.com>
19264 * sysdeps/unix/sysv/linux/s390/bits/stat.h
19265 (struct stat): Rename member pad0 to __glibc_reserved0.
19268 * sysdeps/s390/s390-32/bits/wordsize.h
19269 (__WORDSIZE32_SIZE_ULONG): New define.
19270 * sysdeps/s390/s390-64/bits/wordsize.h
19271 (__WORDSIZE32_SIZE_ULONG): Likewise.
19272 * sysdeps/generic/stdint.h (SIZE_MAX):
19273 Define as UL if __WORDSIZE32_SIZE_ULONG.
19276 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
19277 (__glibc_reserved0): New variable.
19278 (sa_flags): Change type to int.
19280 * posix/Makefile (before-compile): Use += before-compile instead
19283 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
19284 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
19286 2014-03-20 Andreas Schwab <schwab@suse.de>
19289 * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
19290 non-matching result from nscd.
19292 2014-03-24 Siddhesh Poyarekar <siddhesh@redhat.com>
19294 * scripts/bench.py: Moved to ...
19295 * benchtests/scripts/bench.py: ... here.
19296 * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
19298 2014-03-24 Andreas Schwab <schwab@suse.de>
19301 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
19302 alloca_account and account alloca use for struct in6ailist.
19304 2014-03-24 Joseph Myers <joseph@codesourcery.com>
19307 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
19308 rounding mode to recompute results that overflow to infinity or
19310 * math/auto-libm-test-in: Don't mark tests as expected to fail for
19312 * math/auto-libm-test-out: Regenerated.
19313 * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
19314 (ccosh_test): Likewise.
19315 (csin_test_data): Use plus_oflow.
19316 (csin_test): Use ALL_RM_TEST.
19317 (csinh_test_data): Use plus_oflow.
19318 (csinh_test): Use ALL_RM_TEST.
19319 * sysdeps/i386/fpu/libm-test-ulps: Update.
19320 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19322 2014-03-21 Joseph Myers <joseph@codesourcery.com>
19324 * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
19325 * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
19326 * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
19329 * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
19330 when x - 1 is zero.
19331 * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
19332 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
19333 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
19334 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
19336 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
19337 * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
19339 * math/libm-test.inc (log_test): Use ALL_RM_TEST.
19340 * sysdeps/i386/fpu/libm-test-ulps: Update.
19341 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19343 2014-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
19345 * scripts/bench.pl: Remove file.
19346 * scripts/bench.py: New benchmark script.
19347 * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
19348 * benchtests/README: Mention python dependency.
19349 * scripts/pylintrc: New file.
19350 * scripts/pylint: New file.
19352 * bits/mathdef.h: Use #ifdef instead of #if.
19353 * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
19354 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
19355 * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
19356 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
19357 * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
19358 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
19360 2014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19361 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
19363 * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
19364 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
19365 and strpbrk-ppc64 objects.
19366 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
19367 (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
19368 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
19369 multiarch strpbrk for POWER7.
19370 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
19371 multiarch strpbrk for PPC64.
19372 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
19374 * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
19375 strpbrk for POWER7.
19377 2014-03-20 Joseph Myers <joseph@codesourcery.com>
19379 * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
19380 (atan_test): Likewise.
19381 (atanh_test_data): Use NO_TEST_INLINE for two tests.
19382 (atanh_test): Use ALL_RM_TEST.
19383 (atan2_test_data): Likewise.
19384 (cabs_test): Likewise.
19385 (cacosh_test): Likewise.
19386 (carg_test): Likewise.
19387 (casin_test): Likewise.
19388 (casinh_test): Likewise.
19389 (cbrt_test): Likewise.
19390 (csqrt_test): Likewise.
19391 (erf_test): Likewise.
19392 (erfc_test): Likewise.
19393 (pow10_test): Likewise.
19394 (exp2_test): Likewise.
19395 (hypot_test): Likewise.
19396 (j0_test): Likewise.
19397 (j1_test): Likewise.
19398 (lgamma_test): Likewise.
19399 (gamma_test): Likewise.
19400 (sincos_test): Likewise.
19401 (tanh_test): Likewise.
19402 (y0_test): Likewise.
19403 (y1_test): Likewise.
19404 * sysdeps/i386/fpu/libm-test-ulps: Update.
19405 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19407 2014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19409 * string/strcspn.c (strcspn): Using macro to redefine symbol name.
19410 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
19411 and strcspn-ppc64 objects.
19412 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
19413 (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
19414 * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
19415 multiarch strcspn for POWER7.
19416 * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
19417 multiarch strcspn for PPC64.
19418 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
19420 * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
19421 strcspn for POWER7.
19423 2014-03-20 Joseph Myers <joseph@codesourcery.com>
19425 * math/gen-libm-test.pl (generate_testfile): Expect only function
19426 name as argument to AUTO_TESTS_* and pass results for all rounding
19427 modes to parse_args.
19428 (parse_auto_input): Separate inputs of automatic tests from
19429 outputs before storing in %auto_tests.
19430 * math/libm-test.inc (acos_test_data): Update call to
19432 (acos_test): Use ALL_RM_TEST.
19433 (acos_tonearest_test_data): Remove.
19434 (acos_test_tonearest): Likewise.
19435 (acos_towardzero_test_data): Likewise.
19436 (acos_test_towardzero): Likewise.
19437 (acos_downward_test_data): Likewise.
19438 (acos_test_downward): Likewise.
19439 (acos_upward_test_data): Likewise.
19440 (acos_test_upward): Likewise.
19441 (acosh_test_data): Update call to AUTO_TESTS_f_f.
19442 (asin_test_data): Likewise.
19443 (asin_test): Use ALL_RM_TEST.
19444 (asin_tonearest_test_data): Remove.
19445 (asin_test_tonearest): Likewise.
19446 (asin_towardzero_test_data): Likewise.
19447 (asin_test_towardzero): Likewise.
19448 (asin_downward_test_data): Likewise.
19449 (asin_test_downward): Likewise.
19450 (asin_upward_test_data): Likewise.
19451 (asin_test_upward): Likewise.
19452 (asinh_test_data): Update call to AUTO_TESTS_f_f.
19453 (atan_test_data): Likewise.
19454 (atanh_test_data): Likewise.
19455 (atan2_test_data): Update call to AUTO_TESTS_ff_f.
19456 (cabs_test_data): Update call to AUTO_TESTS_c_f.
19457 (carg_test_data): Likewise.
19458 (cbrt_test_data): Update call to AUTO_TESTS_f_f.
19459 (ccos_test_data): Update call to AUTO_TESTS_c_c.
19460 (ccosh_test_data): Likewise.
19461 (cexp_test_data): Likewise.
19462 (clog_test_data): Likewise.
19463 (clog10_test_data): Likewise.
19464 (cos_test_data): Update call to AUTO_TESTS_f_f.
19465 (cos_test): Use ALL_RM_TEST.
19466 (cos_tonearest_test_data): Remove.
19467 (cos_test_tonearest): Likewise.
19468 (cos_towardzero_test_data): Likewise.
19469 (cos_test_towardzero): Likewise.
19470 (cos_downward_test_data): Likewise.
19471 (cos_test_downward): Likewise.
19472 (cos_upward_test_data): Likewise.
19473 (cos_test_upward): Likewise.
19474 (cosh_test_data): Update call to AUTO_TESTS_f_f.
19475 (cosh_test): Use ALL_RM_TEST.
19476 (cosh_tonearest_test_data): Remove.
19477 (cosh_test_tonearest): Likewise.
19478 (cosh_towardzero_test_data): Likewise.
19479 (cosh_test_towardzero): Likewise.
19480 (cosh_downward_test_data): Likewise.
19481 (cosh_test_downward): Likewise.
19482 (cosh_upward_test_data): Likewise.
19483 (cosh_test_upward): Likewise.
19484 (cpow_test_data): Update call to AUTO_TESTS_cc_c.
19485 (csqrt_test_data): Update call to AUTO_TESTS_c_c.
19486 (ctan_test_data): Likewise.
19487 (ctan_test): Use ALL_RM_TEST.
19488 (ctan_tonearest_test_data): Remove.
19489 (ctan_test_tonearest): Likewise.
19490 (ctan_towardzero_test_data): Likewise.
19491 (ctan_test_towardzero): Likewise.
19492 (ctan_downward_test_data): Likewise.
19493 (ctan_test_downward): Likewise.
19494 (ctan_upward_test_data): Likewise.
19495 (ctan_test_upward): Likewise.
19496 (ctanh_test_data): Update call to AUTO_TESTS_c_c.
19497 (ctanh_test): Use ALL_RM_TEST.
19498 (ctanh_tonearest_test_data): Remove.
19499 (ctanh_test_tonearest): Likewise.
19500 (ctanh_towardzero_test_data): Likewise.
19501 (ctanh_test_towardzero): Likewise.
19502 (ctanh_downward_test_data): Likewise.
19503 (ctanh_test_downward): Likewise.
19504 (ctanh_upward_test_data): Likewise.
19505 (ctanh_test_upward): Likewise.
19506 (erf_test_data): Update call to AUTO_TESTS_f_f.
19507 (erfc_test_data): Likewise.
19508 (exp_test_data): Likewise.
19509 (exp_test): Use ALL_RM_TEST.
19510 (exp_tonearest_test_data): Remove.
19511 (exp_test_tonearest): Likewise.
19512 (exp_towardzero_test_data): Likewise.
19513 (exp_test_towardzero): Likewise.
19514 (exp_downward_test_data): Likewise.
19515 (exp_test_downward): Likewise.
19516 (exp_upward_test_data): Likewise.
19517 (exp_test_upward): Likewise.
19518 (exp10_test_data): Update call to AUTO_TESTS_f_f.
19519 (exp10_test): Use ALL_RM_TEST.
19520 (exp10_tonearest_test_data): Remove.
19521 (exp10_test_tonearest): Likewise.
19522 (exp10_towardzero_test_data): Likewise.
19523 (exp10_test_towardzero): Likewise.
19524 (exp10_downward_test_data): Likewise.
19525 (exp10_test_downward): Likewise.
19526 (exp10_upward_test_data): Likewise.
19527 (exp10_test_upward): Likewise.
19528 (exp2_test_data): Update call to AUTO_TESTS_f_f.
19529 (expm1_test_data): Likewise.
19530 (expm1_test): Use ALL_RM_TEST.
19531 (expm1_tonearest_test_data): Remove.
19532 (expm1_test_tonearest): Likewise.
19533 (expm1_towardzero_test_data): Likewise.
19534 (expm1_test_towardzero): Likewise.
19535 (expm1_downward_test_data): Likewise.
19536 (expm1_test_downward): Likewise.
19537 (expm1_upward_test_data): Likewise.
19538 (expm1_test_upward): Likewise.
19539 (fma_test_data): Update call to AUTO_TESTS_fff_f.
19540 (fma_test): Use ALL_RM_TEST.
19541 (fma_towardzero_test_data): Remove.
19542 (fma_test_towardzero): Likewise.
19543 (fma_downward_test_data): Likewise.
19544 (fma_test_downward): Likewise.
19545 (fma_upward_test_data): Likewise.
19546 (fma_test_upward): Likewise.
19547 (hypot_test_data): Update call to AUTO_TESTS_ff_f.
19548 (j0_test_data): Update call to AUTO_TESTS_f_f.
19549 (j1_test_data): Likewise.
19550 (jn_test_data): Update call to AUTO_TESTS_if_f.
19551 (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
19552 (log_test_data): Update call to AUTO_TESTS_f_f.
19553 (log10_test_data): Likewise.
19554 (log1p_test_data): Likewise.
19555 (log2_test_data): Likewise.
19556 (pow_test_data): Update call to AUTO_TESTS_ff_f.
19557 (pow_tonearest_test_data): Likewise.
19558 (sin_test_data): Update call to AUTO_TESTS_f_f.
19559 (sin_test): Use ALL_RM_TEST.
19560 (sin_tonearest_test_data): Remove.
19561 (sin_test_tonearest): Likewise.
19562 (sin_towardzero_test_data): Likewise.
19563 (sin_test_towardzero): Likewise.
19564 (sin_downward_test_data): Likewise.
19565 (sin_test_downward): Likewise.
19566 (sin_upward_test_data): Likewise.
19567 (sin_test_upward): Likewise.
19568 (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
19569 (sinh_test_data): Update call to AUTO_TESTS_f_f.
19570 (sinh_test): Use ALL_RM_TEST.
19571 (sinh_tonearest_test_data): Remove.
19572 (sinh_test_tonearest): Likewise.
19573 (sinh_towardzero_test_data): Likewise.
19574 (sinh_test_towardzero): Likewise.
19575 (sinh_downward_test_data): Likewise.
19576 (sinh_test_downward): Likewise.
19577 (sinh_upward_test_data): Likewise.
19578 (sinh_test_upward): Likewise.
19579 (sqrt_test_data): Update call to AUTO_TESTS_f_f.
19580 (sqrt_test): Use ALL_RM_TEST.
19581 (sqrt_tonearest_test_data): Remove.
19582 (sqrt_test_tonearest): Likewise.
19583 (sqrt_towardzero_test_data): Likewise.
19584 (sqrt_test_towardzero): Likewise.
19585 (sqrt_downward_test_data): Likewise.
19586 (sqrt_test_downward): Likewise.
19587 (sqrt_upward_test_data): Likewise.
19588 (sqrt_test_upward): Likewise.
19589 (tan_test_data): Update call to AUTO_TESTS_f_f.
19590 (tan_test): Use ALL_RM_TEST.
19591 (tan_tonearest_test_data): Remove.
19592 (tan_test_tonearest): Likewise.
19593 (tan_towardzero_test_data): Likewise.
19594 (tan_test_towardzero): Likewise.
19595 (tan_downward_test_data): Likewise.
19596 (tan_test_downward): Likewise.
19597 (tan_upward_test_data): Likewise.
19598 (tan_test_upward): Likewise.
19599 (tanh_test_data): Update call to AUTO_TESTS_f_f.
19600 (tgamma_test_data): Likewise.
19601 (y0_test_data): Likewise.
19602 (y1_test_data): Likewise.
19603 (yn_test_data): Update call to AUTO_TESTS_if_f.
19604 (main): Do not call removed functions.
19606 2014-03-19 Joseph Myers <joseph@codesourcery.com>
19608 * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
19609 (ldexp_test_data): Remove.
19610 (ldexp_test): Move to after scalbn_test. Use ALL_RM_TEST with
19612 (scalb_test): Use ALL_RM_TEST.
19614 2014-03-19 Andreas Schwab <schwab@suse.de>
19616 * nscd/nscd.service: Also invalidate netgroup cache on reload.
19618 2014-03-19 Joseph Myers <joseph@codesourcery.com>
19621 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
19622 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
19623 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
19624 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
19625 (__ASSUME_PREADV): Undefine.
19626 (__ASSUME_PWRITEV): Likewise.
19628 2014-03-18 Roland McGrath <roland@hack.frob.com>
19630 * bits/mman-linux.h: Add comment about non-Linux use.
19631 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
19632 bits/mman-linux.h resting place.
19634 * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
19635 * bits/mman-linux.h: ... here.
19637 2014-03-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19639 * conform/conformtest.pl: Add standard definition when calling C
19640 preprocessor on data files.
19641 (checknamespace): Remove unused variable.
19643 2014-03-18 Joseph Myers <joseph@codesourcery.com>
19645 * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
19646 minus_oflow, plus_uflow and minus_uflow in expected results.
19647 * math/libm-test.inc (scalbn_test_data): Add more tests of
19648 negative arguments. Use plus_oflow, minus_oflow, plus_uflow and
19650 (scalbn_test): Use ALL_RM_TEST.
19651 (scalbln_test_data): Add more tests of negative arguments. Use
19652 plus_oflow, minus_oflow, plus_uflow and minus_uflow.
19653 (scalbln_test): Use ALL_RM_TEST.
19655 2014-03-18 Roland McGrath <roland@hack.frob.com>
19657 * scripts/abilist.awk: Ignore symbols marked with .hidden.
19659 2014-03-18 Will Newton <will.newton@linaro.org>
19661 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
19662 inaccurate comment.
19664 2014-03-18 Joseph Myers <joseph@codesourcery.com>
19666 * Makerules [!subdir] (check-abi): Exit with error status if a
19669 2014-03-17 Joseph Myers <joseph@codesourcery.com>
19671 * math/libm-test.inc (nearbyint_test_data): Include all tests used
19672 for rint. Include results for all rounding modes.
19673 (nearbyint_test): Use ALL_RM_TEST.
19674 (rint_test_data): Include all tests used for nearbyint.
19676 2014-03-17 Will Newton <will.newton@linaro.org>
19678 * nptl/sysdeps/pthread/pthread.h: Revert previous
19681 * sysdeps/generic/ldsodefs.h: Revert previous
19684 * libio/genops.c: Revert previous change.
19685 * libio/libioP.h: Likewise.
19686 * stdio-common/vfprintf.c: Likewise.
19688 * sysdeps/generic/math_private.h: Revert previous
19691 * sysdeps/generic/math_private.h: Check whether
19692 HAVE_RM_CTX is defined with #ifdef rather
19695 * argp/argp-fmtstream.h: Check whether
19696 __STRICT_ANSI__ is defined with #ifdef rather
19698 * argp/argp.h: Likewise.
19700 * libio/genops.c: Check whether
19701 _IO_JUMPS_OFFSET is defined with #ifdef rather
19703 * libio/libioP.h: Likewise.
19704 * stdio-common/vfprintf.c: Likewise.
19706 * sysdeps/generic/ldsodefs.h: Check whether
19707 HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
19710 * nptl/sysdeps/pthread/pthread.h: Check
19711 __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
19714 2014-03-17 Siddhesh Poyarekar <siddhesh@redhat.com>
19716 * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
19718 * libio/tst-ftell-active-handler.c (do_append_test): Add a
19722 * libio/fileops.c (_IO_file_open): Seek to end of file but
19723 don't cache the offset.
19724 (get_file_offset): Remove function.
19725 (do_ftell): Use cached offset when available.
19726 * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
19727 don't cache the offset.
19728 * libio/tst-ftell-active-handler.c (do_rewind_test): New test
19730 (do_one_test): Call it.
19731 (do_ftell_test): Fix up expected old offset for a+ mode.
19732 * libio/wfileops.c (do_ftell_wide): Used cached offset when
19735 * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
19736 up test status with function return status.
19737 (do_write_test): Likewise.
19738 (do_append_test): Likewise.
19740 * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
19741 && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
19744 2014-03-17 Joseph Myers <joseph@codesourcery.com>
19746 * math/gen-libm-test.pl (parse_args): Handle results specified for
19747 each rounding mode separately.
19748 * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
19749 tests and results from lrint_tonearest_test_data,
19750 lrint_towardzero_test_data, lrint_downward_test_data and
19751 lrint_upward_test_data.
19752 (lrint_test): Use ALL_RM_TEST.
19753 (lrint_tonearest_test_data): Remove.
19754 (lrint_test_tonearest): Likewise.
19755 (lrint_towardzero_test_data): Likewise.
19756 (lrint_test_towardzero): Likewise.
19757 (lrint_downward_test_data): Likewise.
19758 (lrint_test_downward): Likewise.
19759 (lrint_upward_test_data): Likewise.
19760 (lrint_test_upward): Likewise.
19761 (llrint_test_data): Merge in per-rounding-mode tests and results
19762 from llrint_tonearest_test_data, llrint_towardzero_test_data,
19763 llrint_downward_test_data and llrint_upward_test_data.
19764 (llrint_test): Use ALL_RM_TEST.
19765 (llrint_tonearest_test_data): Remove.
19766 (llrint_test_tonearest): Likewise.
19767 (llrint_towardzero_test_data): Likewise.
19768 (llrint_test_towardzero): Likewise.
19769 (llrint_downward_test_data): Likewise.
19770 (llrint_test_downward): Likewise.
19771 (llrint_upward_test_data): Likewise.
19772 (llrint_test_upward): Likewise.
19773 (rint_test_data): Merge in per-rounding-mode tests and results
19774 from rint_tonearest_test_data, rint_towardzero_test_data,
19775 rint_downward_test_data and rint_upward_test_data. Add
19776 per-rounding-mode results for tests not in those arrays.
19777 (rint_test): Use ALL_RM_TEST.
19778 (rint_tonearest_test_data): Remove.
19779 (rint_test_tonearest): Likewise.
19780 (rint_towardzero_test_data): Likewise.
19781 (rint_test_towardzero): Likewise.
19782 (rint_downward_test_data): Likewise.
19783 (rint_test_downward): Likewise.
19784 (rint_upward_test_data): Likewise.
19785 (rint_test_upward): Likewise.
19786 (main): Don't call removed functions.
19788 2014-03-14 Roland McGrath <roland@hack.frob.com>
19790 * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
19791 "Compiled on ..." crapola. It is anti-useful.
19793 2014-03-14 Joseph Myers <joseph@codesourcery.com>
19795 * scripts/evaluate-test.sh: Handle fourth argument to determine
19796 whether test run should stop on failure.
19797 * Makeconfig (stop-on-test-failure): New variable.
19798 (evaluate-test): Pass fourth argument to evaluate-test.sh based on
19799 $(stop-on-test-failure).
19800 * Makefile (tests): Give a summary of results from testing and
19801 exit with failure status if they include an ERROR or FAIL.
19802 (xtests): Likewise.
19803 * manual/install.texi (Configuring and compiling): Mention
19804 stop-on-test-failure=y.
19805 * INSTALL: Regenerated.
19807 2014-03-14 Roland McGrath <roland@hack.frob.com>
19809 * scripts/versionlist.awk: New file.
19810 * Makerules [$(build-shared) = yes]
19811 (postclean-generated): Add Versions.def, not Versions.def.v and
19813 ($(common-objpfx)Versions.def.v.i): Target removed.
19814 ($(common-objpfx)Versions.def): New target.
19815 ($(common-objpfx)Versions.all): Depend on that rather that
19816 $(common-objpfx)Versions.def.v.
19817 * Versions.def: File removed.
19819 * Makeconfig (+gccwarn): Add -Wundef.
19820 * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
19821 a dl-sysdep.h breaking its contract.
19822 [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
19823 * include/stackinfo.h: New file.
19824 * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
19825 * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
19826 * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
19827 * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
19828 * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
19829 * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
19830 * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
19831 * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
19832 * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
19833 * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
19834 * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
19835 * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
19836 * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
19837 * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
19838 * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
19840 2014-03-14 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19843 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
19845 * math/libm-test.inc (round_test_data): Add more tests.
19848 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
19850 * math/libm-test.inc (nearbyint_test_data): Add more tests.
19853 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
19855 * math/libm-test.inc (ceil_test_data): Add more tests.
19857 * math/libm-test.inc (trunc_test_data): Add more tests related to
19860 2014-03-14 Roland McGrath <roland@hack.frob.com>
19862 * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
19863 with #if rather than #ifdef.
19864 * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
19866 2014-03-14 H.J. Lu <hongjiu.lu@intel.com>
19868 * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
19869 first. Disable AVX-512 GCC support if assembler doesn't support
19871 * sysdeps/x86_64/configure: Regenerated.
19873 2014-03-13 Carlos O'Donell <carlos@redhat.com>
19875 * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
19876 [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
19877 (__old_pthread_attr_setstack): Likewise.
19878 * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
19879 [!_STACK_GROWS_DOWN]: Likewise.
19881 2014-03-13 Mike Frysinger <vapier@gentoo.org>
19883 * config.make.in (have-bash2): Delete.
19884 * configure.ac (libc_cv_have_bash2): Delete.
19885 * configure: Regenerate.
19886 * elf/Makefile (common-ldd-rewrite): Rename to ...
19887 (ldd-rewrite): ... this. Move bash-ldd-rewrite content to end.
19888 (sh-ldd-rewrite): Delete.
19889 (bash-ldd-rewrite): Delete.
19890 (have-bash2): Delete checks.
19891 [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
19894 * config.make.in (have-ksh): Delete.
19896 * configure.ac (libc_cv_have_ksh): Delete.
19897 * configure: Regenerate.
19899 * elf/Makefile: Delete $(have-ksh) check.
19900 ($(objpfx)sotruss): Change KSH to BASH.
19901 * elf/sotruss.ksh: Rename to ...
19902 * elf/sotruss.sh: ... this. Change @KSH@ to @BASH@. Change
19903 function style to match POSIX. Drop ksh vim mode setting.
19905 * manual/time.texi (Specifying the Time Zone with TZ): Change
19906 Tuesday to Thursday.
19908 * debug/tst-longjmp_chk2.c: Update header comment.
19909 (stackoverflow_handler): Add comment. Call assert on pass value.
19911 2014-03-13 Igor Zamyatin <igor.zamyatin@intel.com>
19914 * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
19915 (HAVE_AVX512_ASM_SUPPORT): Likewise.
19916 * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
19917 (La_x86_64_vector): Add zmm.
19918 * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
19919 (modules-names): Add tst-auditmod10a and tst-auditmod10b.
19920 ($(objpfx)tst-audit10): New target.
19921 ($(objpfx)tst-audit10.out): Likewise.
19922 (tst-audit10-ENV): New.
19923 (AVX512-CFLAGS): Likewise.
19924 (CFLAGS-tst-audit10.c): Likewise.
19925 (CFLAGS-tst-auditmod10a.c): Likewise.
19926 (CFLAGS-tst-auditmod10b.c): Likewise.
19927 * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
19928 HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
19929 * sysdeps/x86_64/configure: Regenerated.
19930 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
19931 AVX-512 zmm register support.
19932 (_dl_x86_64_save_sse): Likewise.
19933 (_dl_x86_64_restore_sse): Likewise.
19934 * sysdeps/x86_64/dl-trampoline.h: Updated to support different
19935 size vector registers.
19936 * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
19937 (ZMM_SIZE): Likewise.
19938 * sysdeps/x86_64/tst-audit10.c: New file.
19939 * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
19940 * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
19942 2014-03-13 Roland McGrath <roland@hack.frob.com>
19944 * configure.ac (HAVE_EHDR_START): New check.
19945 * configure: Regenerated.
19946 * config.h.in (HAVE_EHDR_START): New #undef.
19947 * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
19948 assuming the lowest-addressed segment maps the start of the file.
19950 2014-03-13 Joseph Myers <joseph@codesourcery.com>
19952 * INSTALL: Regenerated.
19954 2014-03-13 Will Newton <will.newton@linaro.org>
19956 * manual/setjmp.texi (System V contexts): Improve
19957 clarity and grammar of documentation.
19959 2014-03-12 Paul Pluzhnikov <ppluzhnikov@google.com>
19962 * elf/Makefile (tests): Add tst-pie2.
19963 (tests-pie): Add tst-pie2.
19964 * elf/tst-pie2.c: New file.
19965 * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
19967 * elf/rtld.c (map_doit): Load executable as lt_executable.
19968 (dl_main): Likewise.
19970 2014-03-12 Joseph Myers <joseph@codesourcery.com>
19973 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
19974 (__ASSUME_PSELECT): Undefine.
19976 2014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19979 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
19980 (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
19982 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
19983 selector for static builds.
19985 2014-03-12 Siddhesh Poyarekar <siddhesh@redhat.com>
19988 * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
19991 2014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19993 * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
19994 IFUNC selector for static builds.
19996 2014-03-11 Joseph Myers <joseph@codesourcery.com>
19998 * sysdeps/mips/math_private.h [__mips_hard_float]
19999 (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
20000 libc_feresetround_mips_ctx.
20001 [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
20002 [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
20003 [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
20006 * math/s_nextafter.c (__nextafter): Do not return value from
20007 overflowing computation.
20008 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
20009 * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
20010 * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
20012 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
20014 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
20015 * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
20017 2014-03-11 Roland McGrath <roland@hack.frob.com>
20019 * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
20020 * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
20021 Move sfi_sp use from the load-multiple (that no longer sets sp) to
20022 the new mov targetting sp.
20024 2014-03-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20027 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
20028 Define it for static builds as well.
20029 (NO_BZERO_IMPL): Likewise.
20031 2014-03-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
20033 * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
20034 * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
20035 multiarch strspn for PPC64.
20036 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
20037 * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
20038 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
20039 (__libc_ifunc_impl_list): Likewise.
20040 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
20041 multiarch optimizations
20042 * string/strspn.c (strspn): Using macro to redefine symbol name.
20044 2014-03-10 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
20045 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20047 * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
20048 * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
20049 multiarch strncat for PPC64.
20050 * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
20051 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
20052 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
20053 (__libc_ifunc_impl_list): Likewise.
20054 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
20055 multiarch optimizations
20057 2014-03-10 Siddhesh Poyarekar <siddhesh@redhat.com>
20060 * nscd/nscd.service: Make service type forking.
20062 2014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20064 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
20065 sign in non default rounding modes.
20066 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
20068 2014-03-08 Joseph Myers <joseph@codesourcery.com>
20070 * math/libm-test.inc (ALL_RM_TEST): New macro.
20071 (ceil_test): Use ALL_RM_TEST.
20072 (cimag_test): Likewise.
20073 (conj_test): Likewise.
20074 (copysign_test): Likewise.
20075 (cproj_test): Likewise.
20076 (creal_test): Likewise.
20077 (fabs_test): Likewise.
20078 (floor_test): Likewise.
20079 (fmax_test): Likewise.
20080 (fmin_test): Likewise.
20081 (fmod_test): Likewise.
20082 (fpclassify_test): Likewise.
20083 (frexp_test): Likewise.
20084 (ilogb_test): Likewise.
20085 (isfinite_test): Likewise.
20086 (finite_test): Likewise.
20087 (isgreater_test): Likewise.
20088 (isgreaterequal_test): Likewise.
20089 (isinf_test): Likewise.
20090 (isless_test): Likewise.
20091 (islessequal_test): Likewise.
20092 (islessgreater_test): Likewise.
20093 (isnan_test): Likewise.
20094 (isnormal_test): Likewise.
20095 (issignaling_test): Likewise.
20096 (isunordered_test): Likewise.
20097 (logb_test): Likewise.
20098 (logb_downward_test_data): Remove.
20099 (logb_test_downward): Likewise.
20100 (lround_test): Use ALL_RM_TEST.
20101 (llround_test): Likewise.
20102 (modf_test): Likewise.
20103 (nexttoward_test): Likewise.
20104 (remainder_test): Likewise.
20105 (drem_test): Likewise.
20106 (remainder_tonearest_test_data): Likewise.
20107 (remainder_test_tonearest): Likewise.
20108 (drem_test_tonearest): Likewise.
20109 (remainder_towardzero_test_data): Likewise.
20110 (remainder_test_towardzero): Likewise.
20111 (drem_test_towardzero): Likewise.
20112 (remainder_downward_test_data): Likewise.
20113 (remainder_test_downward): Likewise.
20114 (drem_test_downward): Likewise.
20115 (remainder_upward_test_data): Likewise.
20116 (remainder_test_upward): Likewise.
20117 (drem_test_upward): Likewise.
20118 (remquo_test): Use ALL_RM_TEST. Remove comment about x.
20119 (round_test): Use ALL_RM_TEST.
20120 (signbit_test): Likewise.
20121 (trunc_test): Likewise.
20122 (significand_test): Likewise.
20123 (main): Don't call removed functions.
20125 2014-03-07 Joseph Myers <joseph@codesourcery.com>
20128 * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
20129 || __USE_XOPEN2K8].
20130 (ILL_ILLOPN): Likewise.
20131 (ILL_ILLADR): Likewise.
20132 (ILL_ILLTRP): Likewise.
20133 (ILL_PRVOPC): Likewise.
20134 (ILL_PRVREG): Likewise.
20135 (ILL_COPROC): Likewise.
20136 (ILL_BADSTK): Likewise.
20137 (FPE_INTDIV): Likewise.
20138 (FPE_INTOVF): Likewise.
20139 (FPE_FLTDIV): Likewise.
20140 (FPE_FLTOVF): Likewise.
20141 (FPE_FLTUND): Likewise.
20142 (FPE_FLTRES): Likewise.
20143 (FPE_FLTINV): Likewise.
20144 (FPE_FLTSUB): Likewise.
20145 (SEGV_MAPERR): Likewise.
20146 (SEGV_ACCERR): Likewise.
20147 (BUS_ADRALN): Likewise.
20148 (BUS_ADRERR): Likewise.
20149 (BUS_OBJERR): Likewise.
20150 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
20151 (TRAP_TRACE): Likewise.
20152 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
20154 (CLD_KILLED): Likewise.
20155 (CLD_DUMPED): Likewise.
20156 (CLD_TRAPPED): Likewise.
20157 (CLD_STOPPED): Likewise.
20158 (CLD_CONTINUED): Likewise.
20159 (POLL_IN): Likewise.
20160 (POLL_OUT): Likewise.
20161 (POLL_MSG): Likewise.
20162 (POLL_ERR): Likewise.
20163 (POLL_PRI): Likewise.
20164 (POLL_HUP): Likewise.
20165 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
20167 (ILL_ILLOPN): Likewise.
20168 (ILL_ILLADR): Likewise.
20169 (ILL_ILLTRP): Likewise.
20170 (ILL_PRVOPC): Likewise.
20171 (ILL_PRVREG): Likewise.
20172 (ILL_COPROC): Likewise.
20173 (ILL_BADSTK): Likewise.
20174 (FPE_INTDIV): Likewise.
20175 (FPE_INTOVF): Likewise.
20176 (FPE_FLTDIV): Likewise.
20177 (FPE_FLTOVF): Likewise.
20178 (FPE_FLTUND): Likewise.
20179 (FPE_FLTRES): Likewise.
20180 (FPE_FLTINV): Likewise.
20181 (FPE_FLTSUB): Likewise.
20182 (SEGV_MAPERR): Likewise.
20183 (SEGV_ACCERR): Likewise.
20184 (BUS_ADRALN): Likewise.
20185 (BUS_ADRERR): Likewise.
20186 (BUS_OBJERR): Likewise.
20187 (BUS_MCEERR_AR): Likewise.
20188 (BUS_MCEERR_AO): Likewise.
20189 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
20190 (TRAP_TRACE): Likewise.
20191 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
20193 (CLD_KILLED): Likewise.
20194 (CLD_DUMPED): Likewise.
20195 (CLD_TRAPPED): Likewise.
20196 (CLD_STOPPED): Likewise.
20197 (CLD_CONTINUED): Likewise.
20198 (POLL_IN): Likewise.
20199 (POLL_OUT): Likewise.
20200 (POLL_MSG): Likewise.
20201 (POLL_ERR): Likewise.
20202 (POLL_PRI): Likewise.
20203 (POLL_HUP): Likewise.
20204 * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
20205 (ILL_ILLOPN): Likewise.
20206 (ILL_ILLADR): Likewise.
20207 (ILL_ILLTRP): Likewise.
20208 (ILL_PRVOPC): Likewise.
20209 (ILL_PRVREG): Likewise.
20210 (ILL_COPROC): Likewise.
20211 (ILL_BADSTK): Likewise.
20212 (FPE_INTDIV): Likewise.
20213 (FPE_INTOVF): Likewise.
20214 (FPE_FLTDIV): Likewise.
20215 (FPE_FLTOVF): Likewise.
20216 (FPE_FLTUND): Likewise.
20217 (FPE_FLTRES): Likewise.
20218 (FPE_FLTINV): Likewise.
20219 (FPE_FLTSUB): Likewise.
20220 (SEGV_MAPERR): Likewise.
20221 (SEGV_ACCERR): Likewise.
20222 (BUS_ADRALN): Likewise.
20223 (BUS_ADRERR): Likewise.
20224 (BUS_OBJERR): Likewise.
20225 (BUS_MCEERR_AR): Likewise.
20226 (BUS_MCEERR_AO): Likewise.
20227 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
20228 (TRAP_TRACE): Likewise.
20229 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
20231 (CLD_KILLED): Likewise.
20232 (CLD_DUMPED): Likewise.
20233 (CLD_TRAPPED): Likewise.
20234 (CLD_STOPPED): Likewise.
20235 (CLD_CONTINUED): Likewise.
20236 (POLL_IN): Likewise.
20237 (POLL_OUT): Likewise.
20238 (POLL_MSG): Likewise.
20239 (POLL_ERR): Likewise.
20240 (POLL_PRI): Likewise.
20241 (POLL_HUP): Likewise.
20242 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
20244 (ILL_ILLOPN): Likewise.
20245 (ILL_ILLADR): Likewise.
20246 (ILL_ILLTRP): Likewise.
20247 (ILL_PRVOPC): Likewise.
20248 (ILL_PRVREG): Likewise.
20249 (ILL_COPROC): Likewise.
20250 (ILL_BADSTK): Likewise.
20251 (ILL_BADIADDR): Likewise.
20252 (ILL_BREAK): Likewise.
20253 (FPE_INTDIV): Likewise.
20254 (FPE_INTOVF): Likewise.
20255 (FPE_FLTDIV): Likewise.
20256 (FPE_FLTOVF): Likewise.
20257 (FPE_FLTUND): Likewise.
20258 (FPE_FLTRES): Likewise.
20259 (FPE_FLTINV): Likewise.
20260 (FPE_FLTSUB): Likewise.
20261 (FPE_DECOVF): Likewise.
20262 (FPE_DECDIV): Likewise.
20263 (FPE_DECERR): Likewise.
20264 (FPE_INVASC): Likewise.
20265 (FPE_INVDEC): Likewise.
20266 (SEGV_MAPERR): Likewise.
20267 (SEGV_ACCERR): Likewise.
20268 (SEGV_PSTKOVF): Likewise.
20269 (BUS_ADRALN): Likewise.
20270 (BUS_ADRERR): Likewise.
20271 (BUS_OBJERR): Likewise.
20272 (BUS_MCEERR_AR): Likewise.
20273 (BUS_MCEERR_AO): Likewise.
20274 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
20275 (TRAP_TRACE): Likewise.
20276 (TRAP_BRANCH): Likewise.
20277 (TRAP_HWBKPT): Likewise.
20278 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
20280 (CLD_KILLED): Likewise.
20281 (CLD_DUMPED): Likewise.
20282 (CLD_TRAPPED): Likewise.
20283 (CLD_STOPPED): Likewise.
20284 (CLD_CONTINUED): Likewise.
20285 (POLL_IN): Likewise.
20286 (POLL_OUT): Likewise.
20287 (POLL_MSG): Likewise.
20288 (POLL_ERR): Likewise.
20289 (POLL_PRI): Likewise.
20290 (POLL_HUP): Likewise.
20291 * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
20292 (ILL_ILLOPN): Likewise.
20293 (ILL_ILLADR): Likewise.
20294 (ILL_ILLTRP): Likewise.
20295 (ILL_PRVOPC): Likewise.
20296 (ILL_PRVREG): Likewise.
20297 (ILL_COPROC): Likewise.
20298 (ILL_BADSTK): Likewise.
20299 (FPE_INTDIV): Likewise.
20300 (FPE_INTOVF): Likewise.
20301 (FPE_FLTDIV): Likewise.
20302 (FPE_FLTOVF): Likewise.
20303 (FPE_FLTUND): Likewise.
20304 (FPE_FLTRES): Likewise.
20305 (FPE_FLTINV): Likewise.
20306 (FPE_FLTSUB): Likewise.
20307 (SEGV_MAPERR): Likewise.
20308 (SEGV_ACCERR): Likewise.
20309 (BUS_ADRALN): Likewise.
20310 (BUS_ADRERR): Likewise.
20311 (BUS_OBJERR): Likewise.
20312 (BUS_MCEERR_AR): Likewise.
20313 (BUS_MCEERR_AO): Likewise.
20314 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
20315 (TRAP_TRACE): Likewise.
20316 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
20318 (CLD_KILLED): Likewise.
20319 (CLD_DUMPED): Likewise.
20320 (CLD_TRAPPED): Likewise.
20321 (CLD_STOPPED): Likewise.
20322 (CLD_CONTINUED): Likewise.
20323 (POLL_IN): Likewise.
20324 (POLL_OUT): Likewise.
20325 (POLL_MSG): Likewise.
20326 (POLL_ERR): Likewise.
20327 (POLL_PRI): Likewise.
20328 (POLL_HUP): Likewise.
20329 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
20330 (ILL_ILLOPN): Likewise.
20331 (ILL_ILLADR): Likewise.
20332 (ILL_ILLTRP): Likewise.
20333 (ILL_PRVOPC): Likewise.
20334 (ILL_PRVREG): Likewise.
20335 (ILL_COPROC): Likewise.
20336 (ILL_BADSTK): Likewise.
20337 (FPE_INTDIV): Likewise.
20338 (FPE_INTOVF): Likewise.
20339 (FPE_FLTDIV): Likewise.
20340 (FPE_FLTOVF): Likewise.
20341 (FPE_FLTUND): Likewise.
20342 (FPE_FLTRES): Likewise.
20343 (FPE_FLTINV): Likewise.
20344 (FPE_FLTSUB): Likewise.
20345 (SEGV_MAPERR): Likewise.
20346 (SEGV_ACCERR): Likewise.
20347 (BUS_ADRALN): Likewise.
20348 (BUS_ADRERR): Likewise.
20349 (BUS_OBJERR): Likewise.
20350 (BUS_MCEERR_AR): Likewise.
20351 (BUS_MCEERR_AO): Likewise.
20352 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
20353 (TRAP_TRACE): Likewise.
20354 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
20356 (CLD_KILLED): Likewise.
20357 (CLD_DUMPED): Likewise.
20358 (CLD_TRAPPED): Likewise.
20359 (CLD_STOPPED): Likewise.
20360 (CLD_CONTINUED): Likewise.
20361 (POLL_IN): Likewise.
20362 (POLL_OUT): Likewise.
20363 (POLL_MSG): Likewise.
20364 (POLL_ERR): Likewise.
20365 (POLL_PRI): Likewise.
20366 (POLL_HUP): Likewise.
20367 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
20368 (ILL_ILLOPN): Likewise.
20369 (ILL_ILLADR): Likewise.
20370 (ILL_ILLTRP): Likewise.
20371 (ILL_PRVOPC): Likewise.
20372 (ILL_PRVREG): Likewise.
20373 (ILL_COPROC): Likewise.
20374 (ILL_BADSTK): Likewise.
20375 (FPE_INTDIV): Likewise.
20376 (FPE_INTOVF): Likewise.
20377 (FPE_FLTDIV): Likewise.
20378 (FPE_FLTOVF): Likewise.
20379 (FPE_FLTUND): Likewise.
20380 (FPE_FLTRES): Likewise.
20381 (FPE_FLTINV): Likewise.
20382 (FPE_FLTSUB): Likewise.
20383 (SEGV_MAPERR): Likewise.
20384 (SEGV_ACCERR): Likewise.
20385 (BUS_ADRALN): Likewise.
20386 (BUS_ADRERR): Likewise.
20387 (BUS_OBJERR): Likewise.
20388 (BUS_MCEERR_AR): Likewise.
20389 (BUS_MCEERR_AO): Likewise.
20390 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
20391 (TRAP_TRACE): Likewise.
20392 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
20394 (CLD_KILLED): Likewise.
20395 (CLD_DUMPED): Likewise.
20396 (CLD_TRAPPED): Likewise.
20397 (CLD_STOPPED): Likewise.
20398 (CLD_CONTINUED): Likewise.
20399 (POLL_IN): Likewise.
20400 (POLL_OUT): Likewise.
20401 (POLL_MSG): Likewise.
20402 (POLL_ERR): Likewise.
20403 (POLL_PRI): Likewise.
20404 (POLL_HUP): Likewise.
20405 * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
20406 (ILL_ILLOPN): Likewise.
20407 (ILL_ILLADR): Likewise.
20408 (ILL_ILLTRP): Likewise.
20409 (ILL_PRVOPC): Likewise.
20410 (ILL_PRVREG): Likewise.
20411 (ILL_COPROC): Likewise.
20412 (ILL_BADSTK): Likewise.
20413 (ILL_DBLFLT): Likewise.
20414 (ILL_HARDWALL): Likewise.
20415 (FPE_INTDIV): Likewise.
20416 (FPE_INTOVF): Likewise.
20417 (FPE_FLTDIV): Likewise.
20418 (FPE_FLTOVF): Likewise.
20419 (FPE_FLTUND): Likewise.
20420 (FPE_FLTRES): Likewise.
20421 (FPE_FLTINV): Likewise.
20422 (FPE_FLTSUB): Likewise.
20423 (SEGV_MAPERR): Likewise.
20424 (SEGV_ACCERR): Likewise.
20425 (BUS_ADRALN): Likewise.
20426 (BUS_ADRERR): Likewise.
20427 (BUS_OBJERR): Likewise.
20428 (BUS_MCEERR_AR): Likewise.
20429 (BUS_MCEERR_AO): Likewise.
20430 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
20431 (TRAP_TRACE): Likewise.
20432 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
20434 (CLD_KILLED): Likewise.
20435 (CLD_DUMPED): Likewise.
20436 (CLD_TRAPPED): Likewise.
20437 (CLD_STOPPED): Likewise.
20438 (CLD_CONTINUED): Likewise.
20439 (POLL_IN): Likewise.
20440 (POLL_OUT): Likewise.
20441 (POLL_MSG): Likewise.
20442 (POLL_ERR): Likewise.
20443 (POLL_PRI): Likewise.
20444 (POLL_HUP): Likewise.
20445 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
20446 (ILL_ILLOPN): Likewise.
20447 (ILL_ILLADR): Likewise.
20448 (ILL_ILLTRP): Likewise.
20449 (ILL_PRVOPC): Likewise.
20450 (ILL_PRVREG): Likewise.
20451 (ILL_COPROC): Likewise.
20452 (ILL_BADSTK): Likewise.
20453 (FPE_INTDIV): Likewise.
20454 (FPE_INTOVF): Likewise.
20455 (FPE_FLTDIV): Likewise.
20456 (FPE_FLTOVF): Likewise.
20457 (FPE_FLTUND): Likewise.
20458 (FPE_FLTRES): Likewise.
20459 (FPE_FLTINV): Likewise.
20460 (FPE_FLTSUB): Likewise.
20461 (SEGV_MAPERR): Likewise.
20462 (SEGV_ACCERR): Likewise.
20463 (BUS_ADRALN): Likewise.
20464 (BUS_ADRERR): Likewise.
20465 (BUS_OBJERR): Likewise.
20466 (BUS_MCEERR_AR): Likewise.
20467 (BUS_MCEERR_AO): Likewise.
20468 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
20469 (TRAP_TRACE): Likewise.
20470 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
20472 (CLD_KILLED): Likewise.
20473 (CLD_DUMPED): Likewise.
20474 (CLD_TRAPPED): Likewise.
20475 (CLD_STOPPED): Likewise.
20476 (CLD_CONTINUED): Likewise.
20477 (POLL_IN): Likewise.
20478 (POLL_OUT): Likewise.
20479 (POLL_MSG): Likewise.
20480 (POLL_ERR): Likewise.
20481 (POLL_PRI): Likewise.
20482 (POLL_HUP): Likewise.
20483 * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
20484 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
20487 * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
20488 before #include of <time.h>.
20489 [!__USE_XOPEN2K] (__need_timespec): Likewise.
20490 * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
20491 (test-xfail-UNIX98/sched.h/conform): Likewise.
20493 2014-03-07 Marcus Shawcroft <marcus.shawcroft@arm.com>
20495 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
20496 error absence of trapping exception support.
20497 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
20499 2014-03-07 Joseph Myers <joseph@codesourcery.com>
20501 * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
20502 ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
20503 * timezone/Makefile (testdata): Move definition above include of
20505 (test-zones): New variable.
20506 (tests-special): Add zone files.
20507 (build-testdata): Use $(evaluate-test).
20509 * elf/Makefile (tests-special): Rename tests to end with .out.
20510 ($(objpfx)noload-mem): Likewise.
20511 ($(objpfx)tst-leaks1-mem): Likewise.
20512 ($(objpfx)tst-leaks1-static-mem.out): Likewise.
20513 * iconv/Makefile (xtests-special): Change test-iconvconfig to
20514 $(objpfx)test-iconvconfig.out.
20515 (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out. Use
20516 set -e inside subshell and redirect output to file.
20517 * iconvdata/Makefile (generated): Rename tests to end with .out.
20519 (tests-special): Rename tests to end with .out.
20520 ($(objpfx)mtrace-tst-loading): Likewise.
20521 * intl/Makefile (generated): Likewise.
20522 (tests-special): Likewise.
20523 ($(objpfx)mtrace-tst-gettext): Likewise.
20524 * misc/Makefile (generated): Likewise.
20525 (tests-special): Likewise.
20526 ($(objpfx)tst-error1-mem): Likewise.
20527 * nptl/Makefile (tests-special): Likewise.
20528 ($(objpfx)tst-stack3-mem): Likewise.
20529 (generated): Likewise.
20530 * posix/Makefile (generated): Likewise.
20531 (tests-special): Likewise.
20532 (xtests-special): Likewise.
20533 ($(objpfx)tst-fnmatch-mem): Likewise.
20534 ($(objpfx)bug-regex2-mem): Likewise.
20535 ($(objpfx)bug-regex14-mem): Likewise.
20536 ($(objpfx)bug-regex21-mem): Likewise.
20537 ($(objpfx)bug-regex31-mem): Likewise.
20538 ($(objpfx)tst-vfork3-mem): Likewise.
20539 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
20540 ($(objpfx)tst-pcre-mem): Likewise.
20541 ($(objpfx)tst-boost-mem): Likewise.
20542 ($(objpfx)bug-ga2-mem): Likewise.
20543 ($(objpfx)bug-glob2-mem): Likewise.
20544 * resolv/Makefile (generate): Likewise.
20545 (tests-special): Likewise.
20546 (xtests-special): Likewise.
20547 (generated): Likewise.
20548 ($(objpfx)mtrace-tst-leaks): Likewise.
20549 ($(objpfx)mtrace-tst-leaks2): Likewise.
20551 * scripts/merge-test-results.sh: New file.
20552 * Makefile (tests-special-notdir): New variable.
20553 (tests): Run merge-test-results.sh.
20554 (xtests): Likewise.
20555 * Rules (tests-special-notdir): New variable.
20556 (xtests-special-notdir): Likewise.
20557 (tests): Run merge-test-results.sh
20558 (xtests): Likewise.
20560 * Makeconfig (test-xfail-name): New variable.
20561 (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
20562 compute variable name for expected failures.
20563 * conform/Makefile (conformtest-headers-data): New variable.
20564 (conformtest-standards): Likewise.
20565 (conformtest-headers-ISO): Likewise.
20566 (conformtest-headers-ISO99): Likewise.
20567 (conformtest-headers-ISO11): Likewise.
20568 (conformtest-headers-POSIX): Likewise.
20569 (conformtest-headers-XPG3): Likewise.
20570 (conformtest-headers-XPG4): Likewise.
20571 (conformtest-headers-UNIX98): Likewise.
20572 (conformtest-headers-XOPEN2K): Likewise.
20573 (conformtest-headers-POSIX2008): Likewise.
20574 (conformtest-headers-XOPEN2K8): Likewise.
20575 (conformtest-header-list-base): Likewise.
20576 (conformtest-header-list-tests): Likewise.
20577 (conformtest-header-base): Likewise.
20578 (conformtest-header-tests): Likewise.
20579 (tests-special): Add $(conformtest-header-list-tests). If
20580 [$(fast-check) && !$(cross-compiling)], add
20581 $(conformtest-header-tests) instead of
20582 $(objpfx)run-conformtest.out.
20583 (generated): Add $(conformtest-header-list-base). If
20584 [$(fast-check) && !$(cross-compiling)], add
20585 $(conformtest-header-base). Remove previous setting.
20586 ($(conformtest-header-list-tests)): New target.
20587 (test-xfail-run-conformtest): Remove variable.
20588 ($(objpfx)run-conformtest.out): Remove target.
20589 (test-xfail-ISO11/complex.h/conform): New variable.
20590 (test-xfail-ISO11/stdalign.h/conform): Likewise.
20591 (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
20592 (test-xfail-XPG3/varargs.h/conform): Likewise.
20593 (test-xfail-XPG4/varargs.h/conform): Likewise.
20594 (test-xfail-UNIX98/varargs.h/conform): Likewise.
20595 (test-xfail-XPG4/ndbm.h/conform): Likewise.
20596 (test-xfail-UNIX98/ndbm.h/conform): Likewise.
20597 (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
20598 (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
20599 (test-xfail-XPG3/fcntl.h/conform): Likewise.
20600 (test-xfail-XPG3/ftw.h/conform): Likewise.
20601 (test-xfail-XPG3/grp.h/conform): Likewise.
20602 (test-xfail-XPG3/langinfo.h/conform): Likewise.
20603 (test-xfail-XPG3/limits.h/conform): Likewise.
20604 (test-xfail-XPG3/pwd.h/conform): Likewise.
20605 (test-xfail-XPG3/search.h/conform): Likewise.
20606 (test-xfail-XPG3/signal.h/conform): Likewise.
20607 (test-xfail-XPG3/stdio.h/conform): Likewise.
20608 (test-xfail-XPG3/stdlib.h/conform): Likewise.
20609 (test-xfail-XPG3/string.h/conform): Likewise.
20610 (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
20611 (test-xfail-XPG3/sys/msg.h/conform): Likewise.
20612 (test-xfail-XPG3/sys/sem.h/conform): Likewise.
20613 (test-xfail-XPG3/sys/shm.h/conform): Likewise.
20614 (test-xfail-XPG3/sys/stat.h/conform): Likewise.
20615 (test-xfail-XPG3/sys/types.h/conform): Likewise.
20616 (test-xfail-XPG3/sys/wait.h/conform): Likewise.
20617 (test-xfail-XPG3/termios.h/conform): Likewise.
20618 (test-xfail-XPG3/time.h/conform): Likewise.
20619 (test-xfail-XPG3/unistd.h/conform): Likewise.
20620 (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
20621 (test-xfail-XPG4/fcntl.h/conform): Likewise.
20622 (test-xfail-XPG4/langinfo.h/conform): Likewise.
20623 (test-xfail-XPG4/netdb.h/conform): Likewise.
20624 (test-xfail-XPG4/netinet/in.h/conform): Likewise.
20625 (test-xfail-XPG4/signal.h/conform): Likewise.
20626 (test-xfail-XPG4/stdio.h/conform): Likewise.
20627 (test-xfail-XPG4/stdlib.h/conform): Likewise.
20628 (test-xfail-XPG4/stropts.h/conform): Likewise.
20629 (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
20630 (test-xfail-XPG4/sys/msg.h/conform): Likewise.
20631 (test-xfail-XPG4/sys/sem.h/conform): Likewise.
20632 (test-xfail-XPG4/sys/shm.h/conform): Likewise.
20633 (test-xfail-XPG4/sys/socket.h/conform): Likewise.
20634 (test-xfail-XPG4/sys/stat.h/conform): Likewise.
20635 (test-xfail-XPG4/sys/time.h/conform): Likewise.
20636 (test-xfail-XPG4/sys/types.h/conform): Likewise.
20637 (test-xfail-XPG4/sys/wait.h/conform): Likewise.
20638 (test-xfail-XPG4/termios.h/conform): Likewise.
20639 (test-xfail-XPG4/ucontext.h/conform): Likewise.
20640 (test-xfail-XPG4/unistd.h/conform): Likewise.
20641 (test-xfail-XPG4/utmpx.h/conform): Likewise.
20642 (test-xfail-POSIX/sched.h/conform): Likewise.
20643 (test-xfail-POSIX/signal.h/conform): Likewise.
20644 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
20645 (test-xfail-POSIX/tar.h/conform): Likewise.
20646 (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
20647 (test-xfail-UNIX98/fcntl.h/conform): Likewise.
20648 (test-xfail-UNIX98/langinfo.h/conform): Likewise.
20649 (test-xfail-UNIX98/netdb.h/conform): Likewise.
20650 (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
20651 (test-xfail-UNIX98/sched.h/conform): Likewise.
20652 (test-xfail-UNIX98/signal.h/conform): Likewise.
20653 (test-xfail-UNIX98/stdio.h/conform): Likewise.
20654 (test-xfail-UNIX98/stdlib.h/conform): Likewise.
20655 (test-xfail-UNIX98/stropts.h/conform): Likewise.
20656 (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
20657 (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
20658 (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
20659 (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
20660 (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
20661 (test-xfail-UNIX98/sys/time.h/conform): Likewise.
20662 (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
20663 (test-xfail-UNIX98/ucontext.h/conform): Likewise.
20664 (test-xfail-UNIX98/unistd.h/conform): Likewise.
20665 (test-xfail-UNIX98/utmpx.h/conform): Likewise.
20666 (test-xfail-XOPEN2K/aio.h/conform): Likewise.
20667 (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
20668 (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
20669 (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
20670 (test-xfail-XOPEN2K/math.h/conform): Likewise.
20671 (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
20672 (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
20673 (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
20674 (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
20675 (test-xfail-XOPEN2K/signal.h/conform): Likewise.
20676 (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
20677 (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
20678 (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
20679 (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
20680 (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
20681 (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
20682 (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
20683 (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
20684 (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
20685 (test-xfail-XOPEN2K/termios.h/conform): Likewise.
20686 (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
20687 (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
20688 (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
20689 (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
20690 (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
20691 (test-xfail-POSIX2008/netdb.h/conform): Likewise.
20692 (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
20693 (test-xfail-POSIX2008/signal.h/conform): Likewise.
20694 (test-xfail-POSIX2008/stropts.h/conform): Likewise.
20695 (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
20696 (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
20697 (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
20698 (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
20699 (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
20700 (test-xfail-XOPEN2K8/math.h/conform): Likewise.
20701 (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
20702 (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
20703 (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
20704 (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
20705 (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
20706 (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
20707 (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
20708 (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
20709 (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
20710 (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
20711 (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
20712 (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
20713 (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
20714 (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
20715 (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
20716 (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
20717 (conformtest-cc-flags): Likewise.
20718 ($(conformtest-header-tests): New target.
20719 * conform/check-header-lists.sh: New file.
20720 * conform/run-conformtest.sh: Remove.
20722 * conform/conformtest.pl: Allow ' and \ in values given for
20724 * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
20726 [POSIX] (sys/types.h): Likewise.
20727 [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
20729 [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
20731 * conform/data/signal.h-data (SIGIO): Remove expectation.
20732 [XPG3] (SIGBUS): Do not expect.
20733 [POSIX || XPG3] (SIGPOLL): Likewise.
20734 [POSIX || XPG3] (SIGPROF): Likewise.
20735 [POSIX || XPG3] (SIGSYS): Likewise.
20736 [XPG3] (SIGTRAP): Likewise.
20737 [POSIX || XPG3] (SIGURG): Likewise.
20738 [POSIX || XPG3] (SIGVTALRM): Likewise.
20739 [POSIX || XPG3] (SIGXCPU): Likewise.
20740 [POSIX || XPG3] (SIGXFSZ): Likewise.
20741 [POSIX] (SA_SIGINFO): Expect.
20742 [XPG3] (siginfo_t): Do not expect type or contents.
20743 [POSIX] (si_pid): Do not expect element.
20744 [POSIX] (si_uid): Likewise.
20745 [POSIX] (si_addr): Likewise.
20746 [POSIX] (si_status): Likewise.
20747 [POSIX] (si_band): Likewise.
20748 [XPG4] (si_value): Likewise.
20749 [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
20750 [POSIX || XPG3] (ILL_ILLOPN): Likewise.
20751 [POSIX || XPG3] (ILL_ILLADR): Likewise.
20752 [POSIX || XPG3] (ILL_ILLTRP): Likewise.
20753 [POSIX || XPG3] (ILL_PRVOPC): Likewise.
20754 [POSIX || XPG3] (ILL_PRVREG): Likewise.
20755 [POSIX || XPG3] (ILL_COPROC): Likewise.
20756 [POSIX || XPG3] (ILL_BADSTK): Likewise.
20757 [POSIX || XPG3] (FPE_INTDIV): Likewise.
20758 [POSIX || XPG3] (FPE_INTOVF): Likewise.
20759 [POSIX || XPG3] (FPE_FLTDIV): Likewise.
20760 [POSIX || XPG3] (FPE_FLTOVF): Likewise.
20761 [POSIX || XPG3] (FPE_FLTUND): Likewise.
20762 [POSIX || XPG3] (FPE_FLTRES): Likewise.
20763 [POSIX || XPG3] (FPE_FLTINV): Likewise.
20764 [POSIX || XPG3] (FPE_FLTSUB): Likewise.
20765 [POSIX || XPG3] (SEGV_MAPERR): Likewise.
20766 [POSIX || XPG3] (SEGV_ACCERR): Likewise.
20767 [POSIX || XPG3] (BUS_ADRALN): Likewise.
20768 [POSIX || XPG3] (BUS_ADRERR): Likewise.
20769 [POSIX || XPG3] (BUS_OBJERR): Likewise.
20770 [POSIX || XPG3] (CLD_EXITED): Likewise.
20771 [POSIX || XPG3] (CLD_KILLED): Likewise.
20772 [POSIX || XPG3] (CLD_DUMPED): Likewise.
20773 [POSIX || XPG3] (CLD_TRAPPED): Likewise.
20774 [POSIX || XPG3] (CLD_STOPPED): Likewise.
20775 [POSIX || XPG3] (CLD_CONTINUED): Likewise.
20776 [POSIX || XPG3] (POLL_IN): Likewise.
20777 [POSIX || XPG3] (POLL_OUT): Likewise.
20778 [POSIX || XPG3] (POLL_MSG): Likewise.
20779 [POSIX || XPG3] (POLL_ERR): Likewise.
20780 [POSIX || XPG3] (POLL_PRI): Likewise.
20781 [POSIX || XPG3] (POLL_HUP): Likewise.
20782 [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
20783 [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
20784 (SIG*): Do not allow.
20785 [XPG3] (si_*): Likewise.
20786 [XPG3] (SI_*): Likewise.
20787 [XPG3 || XPG4] (sigev_*): Likewise.
20788 [XPG3 || XPG4] (SIGEV_*): Likewise.
20789 [XPG3 || XPG4] (sival_*): Likewise.
20790 [POSIX || XPG3 || XPG4] (uc_*): Likewise.
20791 [POSIX || XPG3] (BUS_*): Likewise.
20792 [POSIX || XPG3] (CLD_*): Likewise.
20793 [POSIX || XPG3] (FPE_*): Likewise.
20794 [POSIX || XPG3] (ILL_*): Likewise.
20795 [POSIX || XPG3] (POLL_*): Likewise.
20796 [POSIX || XPG3] (SEGV_*): Likewise.
20797 [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
20798 [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
20799 [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
20800 [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
20801 [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
20802 * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
20803 Specify type and value.
20804 (TVERSLEN): Likewise.
20805 (REGTYPE): Likewise.
20806 (AREGTYPE): Likewise.
20807 (LNKTYPE): Likewise.
20808 (SYMTYPE): Likewise.
20809 (CHRTYPE): Likewise.
20810 (BLKTYPE): Likewise.
20811 (DIRTYPE): Likewise.
20812 (FIFOTYPE): Likewise.
20813 (CONTTYPE): Likewise.
20817 (TUREAD): Likewise.
20818 (TUWRITE): Likewise.
20819 (TUEXEC): Likewise.
20820 (TGREAD): Likewise.
20821 (TGWRITE): Likewise.
20822 (TGEXEC): Likewise.
20823 (TOREAD): Likewise.
20824 (TOWRITE): Likewise.
20825 (TOEXEC): Likewise.
20826 [POSIX] (TSVTX): Expect constant.
20828 2014-03-06 Joseph Myers <joseph@codesourcery.com>
20830 * Makefile (tests): Change dependencies to ....
20831 (tests-special): ... additions to this variable.
20832 (tests): Depend on $(tests-special).
20833 * Makerules (check-abi-list): New variable.
20834 (check-abi): Depend on $(check-abi-list).
20835 [$(subdir) = elf] (tests-special): Add
20836 $(objpfx)check-abi-libc.out.
20837 [$(build-shared) = yes && subdir] (tests-special): Add
20839 [$(build-shared) = yes && subdir] (tests): Do not depend on
20841 * Rules (tests): Depend on $(tests-special).
20842 (xtests): Depend on $(xtests-special).
20843 * catgets/Makefile (tests): Change dependencies to ....
20844 (tests-special): ... additions to this variable.
20845 * conform/Makefile (tests): Change dependencies to ....
20846 (tests-special): ... additions to this variable.
20847 * elf/Makefile (tests): Change dependencies to ....
20848 (tests-special): ... additions to this variable.
20849 * grp/Makefile (tests): Change dependencies to ....
20850 (tests-special): ... additions to this variable.
20851 * iconv/Makefile (xtests): Change dependencies to ....
20852 (xtests-special): ... additions to this variable.
20853 * iconvdata/Makefile (tests): Change dependencies to ....
20854 (tests-special): ... additions to this variable.
20855 * intl/Makefile (tests): Change dependencies to ....
20856 (tests-special): ... additions to this variable. Also add
20857 $(objpfx)tst-gettext.out.
20858 * io/Makefile (tests): Change dependencies to ....
20859 (tests-special): ... additions to this variable.
20860 * libio/Makefile (tests): Change dependencies to ....
20861 (tests-special): ... additions to this variable.
20862 * malloc/Makefile (tests): Change dependencies to ....
20863 (tests-special): ... additions to this variable.
20864 * misc/Makefile (tests): Change dependencies to ....
20865 (tests-special): ... additions to this variable.
20866 * nptl/Makefile (tests): Change dependencies to ....
20867 (tests-special): ... additions to this variable.
20868 * nptl_db/Makefile (tests): Change dependencies to ....
20869 (tests-special): ... additions to this variable.
20870 * posix/Makefile (tests): Change dependencies to ....
20871 (tests-special): ... additions to this variable.
20872 (xtests): Change dependencies to ....
20873 (xtests-special): ... additions to this variable.
20874 * resolv/Makefile (tests): Change dependencies to ....
20875 (tests-special): ... additions to this variable.
20876 (xtests): Change dependencies to ....
20877 (xtests-special): ... additions to this variable.
20878 * stdio-common/Makefile (tests): Change dependencies to ....
20879 (tests-special): ... additions to this variable.
20880 (do-tst-unbputc): Remove target.
20881 (do-tst-printf): Likewise.
20882 * stdlib/Makefile (tests): Change dependencies to ....
20883 (tests-special): ... additions to this variable.
20884 * string/Makefile (tests): Change dependencies to ....
20885 (tests-special): ... additions to this variable.
20886 * sysdeps/x86/Makefile (tests): Change dependencies to ....
20887 (tests-special): ... additions to this variable.
20889 * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
20891 * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
20893 * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
20894 * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
20896 * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
20897 * conform/data/arpa/inet.h-data [XPG3]: Likewise.
20898 * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
20899 * conform/data/fmtmsg.h-data [XPG3]: Likewise.
20900 * conform/data/libgen.h-data [XPG3]: Likewise.
20901 * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
20902 * conform/data/ndbm.h-data [XPG3]: Likewise.
20903 * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
20904 * conform/data/netdb.h-data [XPG3]: Likewise.
20905 * conform/data/netinet/in.h-data [XPG3]: Likewise.
20906 * conform/data/poll.h-data [XPG3]: Likewise.
20907 * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
20908 * conform/data/strings.h-data [XPG3]: Likewise.
20909 * conform/data/stropts.h-data [XPG3]: Likewise.
20910 * conform/data/sys/mman.h-data [XPG3]: Likewise.
20911 * conform/data/sys/resource.h-data [XPG3]: Likewise.
20912 * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
20914 * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
20915 * conform/data/sys/time.h-data [XPG3]: Likewise.
20916 * conform/data/sys/timeb.h-data [XPG3]: Likewise.
20917 * conform/data/sys/uio.h-data [XPG3]: Likewise.
20918 * conform/data/sys/un.h-data [XPG3]: Likewise.
20919 * conform/data/syslog.h-data [XPG3]: Likewise.
20920 * conform/data/ucontext.h-data [XPG3]: Likewise.
20921 * conform/data/utmpx.h-data [XPG3]: Likewise.
20922 * conform/data/varargs.h-data [UNIX98]: Enable file.
20924 * manual/Makefile (INSTALL_INFO): Remove variable setting.
20926 * math/libm-test.inc (struct test_f_f_data): Move expected results
20927 into structure for each rounding mode.
20928 (struct test_ff_f_data): Likewise.
20929 (struct test_ff_f_data_nexttoward): Likewise.
20930 (struct test_fi_f_data): Likewise.
20931 (struct test_fl_f_data): Likewise.
20932 (struct test_if_f_data): Likewise.
20933 (struct test_fff_f_data): Likewise.
20934 (struct test_c_f_data): Likewise.
20935 (struct test_f_f1_data): Likewise.
20936 (struct test_fF_f1_data): Likewise.
20937 (struct test_ffI_f1_data): Likewise.
20938 (struct test_c_c_data): Likewise.
20939 (struct test_cc_c_data): Likewise.
20940 (struct test_f_i_data): Likewise.
20941 (struct test_ff_i_data): Likewise.
20942 (struct test_f_l_data): Likewise.
20943 (struct test_f_L_data): Likewise.
20944 (struct test_fFF_11_data): Likewise.
20946 (RM_FE_DOWNWARD): Likewise.
20947 (RM_FE_TONEAREST): Likewise.
20948 (RM_FE_TOWARDZERO): Likewise.
20949 (RM_FE_UPWARD): Likewise.
20950 (RUN_TEST_LOOP_f_f): Update references to expected results.
20951 (RUN_TEST_LOOP_2_f): Likewise.
20952 (RUN_TEST_LOOP_fff_f): Likewise.
20953 (RUN_TEST_LOOP_c_f): Likewise.
20954 (RUN_TEST_LOOP_f_f1): Likewise.
20955 (RUN_TEST_LOOP_fF_f1): Likewise.
20956 (RUN_TEST_LOOP_fI_f1): Likewise.
20957 (RUN_TEST_LOOP_ffI_f1): Likewise.
20958 (RUN_TEST_LOOP_c_c): Likewise.
20959 (RUN_TEST_LOOP_cc_c): Likewise.
20960 (RUN_TEST_LOOP_f_i): Likewise.
20961 (RUN_TEST_LOOP_f_i_tg): Likewise.
20962 (RUN_TEST_LOOP_ff_i_tg): Likewise.
20963 (RUN_TEST_LOOP_f_b): Likewise.
20964 (RUN_TEST_LOOP_f_b_tg): Likewise.
20965 (RUN_TEST_LOOP_f_l): Likewise.
20966 (RUN_TEST_LOOP_f_L): Likewise.
20967 (RUN_TEST_LOOP_fFF_11): Likewise.
20968 * math/gen-libm-test.pl (parse_args): Output four copies of
20969 expected results for each test.
20971 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
20972 (__ASSUME_UTIMES): Remove.
20973 * sysdeps/unix/sysv/linux/tile/kernel-features.h
20974 (__ASSUME_UTIMES): Likewise.
20976 * math/gen-auto-libm-tests.c: Update comment on output format.
20977 (output_for_one_input_case): Generate before-rounding and
20978 after-rounding information as conditions on output flags not
20979 floating-point format.
20980 * math/auto-libm-test-out: Regenerated.
20981 * math/gen-libm-test.pl (cond_value): New function.
20982 (or_cond_value): Use cond_value.
20983 (generate_testfile): Handle conditional exceptions.
20985 2014-03-05 Joseph Myers <joseph@codesourcery.com>
20987 * math/libm-test.inc (max_valid_error): New variable.
20988 (init_max_error): Take new argument specifying whether function
20989 results are exactly determined. Set max_valid_error and bound
20990 other variables for errors based on this argument.
20991 (set_max_error): Do not record results above max_valid_error.
20992 (check_float_internal): Only accept errors of up to 0.5ulps if
20993 also at most max_valid_error.
20994 (START): Take new argument EXACT and pass it to init_max_error.
20995 (acos_test): Update call to START.
20996 (acos_test_tonearest): Likewise.
20997 (acos_test_towardzero): Likewise.
20998 (acos_test_downward): Likewise.
20999 (acos_test_upward): Likewise.
21000 (acosh_test): Likewise.
21001 (asin_test): Likewise.
21002 (asin_test_tonearest): Likewise.
21003 (asin_test_towardzero): Likewise.
21004 (asin_test_downward): Likewise.
21005 (asin_test_upward): Likewise.
21006 (asinh_test): Likewise.
21007 (atan_test): Likewise.
21008 (atanh_test): Likewise.
21009 (atan2_test): Likewise.
21010 (cabs_test): Likewise.
21011 (cacos_test): Likewise.
21012 (cacosh_test): Likewise.
21013 (carg_test): Likewise.
21014 (casin_test): Likewise.
21015 (casinh_test): Likewise.
21016 (catan_test): Likewise.
21017 (catanh_test): Likewise.
21018 (cbrt_test): Likewise.
21019 (ccos_test): Likewise.
21020 (ccosh_test): Likewise.
21021 (ceil_test): Likewise.
21022 (cexp_test): Likewise.
21023 (cimag_test): Likewise.
21024 (clog_test): Likewise.
21025 (clog10_test): Likewise.
21026 (conj_test): Likewise.
21027 (copysign_test): Likewise.
21028 (cos_test): Likewise.
21029 (cos_test_tonearest): Likewise.
21030 (cos_test_towardzero): Likewise.
21031 (cos_test_downward): Likewise.
21032 (cos_test_upward): Likewise.
21033 (cosh_test): Likewise.
21034 (cosh_test_tonearest): Likewise.
21035 (cosh_test_towardzero): Likewise.
21036 (cosh_test_downward): Likewise.
21037 (cosh_test_upward): Likewise.
21038 (cpow_test): Likewise.
21039 (cproj_test): Likewise.
21040 (creal_test): Likewise.
21041 (csin_test): Likewise.
21042 (csinh_test): Likewise.
21043 (csqrt_test): Likewise.
21044 (ctan_test): Likewise.
21045 (ctan_test_tonearest): Likewise.
21046 (ctan_test_towardzero): Likewise.
21047 (ctan_test_downward): Likewise.
21048 (ctan_test_upward): Likewise.
21049 (ctanh_test): Likewise.
21050 (ctanh_test_tonearest): Likewise.
21051 (ctanh_test_towardzero): Likewise.
21052 (ctanh_test_downward): Likewise.
21053 (ctanh_test_upward): Likewise.
21054 (erf_test): Likewise.
21055 (erfc_test): Likewise.
21056 (exp_test): Likewise.
21057 (exp_test_tonearest): Likewise.
21058 (exp_test_towardzero): Likewise.
21059 (exp_test_downward): Likewise.
21060 (exp_test_upward): Likewise.
21061 (exp10_test): Likewise.
21062 (exp10_test_tonearest): Likewise.
21063 (exp10_test_towardzero): Likewise.
21064 (exp10_test_downward): Likewise.
21065 (exp10_test_upward): Likewise.
21066 (pow10_test): Likewise.
21067 (exp2_test): Likewise.
21068 (expm1_test): Likewise.
21069 (expm1_test_tonearest): Likewise.
21070 (expm1_test_towardzero): Likewise.
21071 (expm1_test_downward): Likewise.
21072 (expm1_test_upward): Likewise.
21073 (fabs_test): Likewise.
21074 (fdim_test): Likewise.
21075 (floor_test): Likewise.
21076 (fma_test): Likewise.
21077 (fma_test_towardzero): Likewise.
21078 (fma_test_downward): Likewise.
21079 (fma_test_upward): Likewise.
21080 (fmax_test): Likewise.
21081 (fmin_test): Likewise.
21082 (fmod_test): Likewise.
21083 (fpclassify_test): Likewise.
21084 (frexp_test): Likewise.
21085 (hypot_test): Likewise.
21086 (ilogb_test): Likewise.
21087 (isfinite_test): Likewise.
21088 (finite_test): Likewise.
21089 (isgreater_test): Likewise.
21090 (isgreaterequal_test): Likewise.
21091 (isinf_test): Likewise.
21092 (isless_test): Likewise.
21093 (islessequal_test): Likewise.
21094 (islessgreater_test): Likewise.
21095 (isnan_test): Likewise.
21096 (isnormal_test): Likewise.
21097 (issignaling_test): Likewise.
21098 (isunordered_test): Likewise.
21099 (j0_test): Likewise.
21100 (j1_test): Likewise.
21101 (jn_test): Likewise.
21102 (ldexp_test): Likewise.
21103 (lgamma_test): Likewise.
21104 (gamma_test): Likewise.
21105 (lrint_test): Likewise.
21106 (lrint_test_tonearest): Likewise.
21107 (lrint_test_towardzero): Likewise.
21108 (lrint_test_downward): Likewise.
21109 (lrint_test_upward): Likewise.
21110 (llrint_test): Likewise.
21111 (llrint_test_tonearest): Likewise.
21112 (llrint_test_towardzero): Likewise.
21113 (llrint_test_downward): Likewise.
21114 (llrint_test_upward): Likewise.
21115 (log_test): Likewise.
21116 (log10_test): Likewise.
21117 (log1p_test): Likewise.
21118 (log2_test): Likewise.
21119 (logb_test): Likewise.
21120 (logb_test_downward): Likewise.
21121 (lround_test): Likewise.
21122 (llround_test): Likewise.
21123 (modf_test): Likewise.
21124 (nearbyint_test): Likewise.
21125 (nextafter_test): Likewise.
21126 (nexttoward_test): Likewise.
21127 (pow_test): Likewise.
21128 (pow_test_tonearest): Likewise.
21129 (pow_test_towardzero): Likewise.
21130 (pow_test_downward): Likewise.
21131 (pow_test_upward): Likewise.
21132 (remainder_test): Likewise.
21133 (drem_test): Likewise.
21134 (remainder_test_tonearest): Likewise.
21135 (drem_test_tonearest): Likewise.
21136 (remainder_test_towardzero): Likewise.
21137 (drem_test_towardzero): Likewise.
21138 (remainder_test_downward): Likewise.
21139 (drem_test_downward): Likewise.
21140 (remainder_test_upward): Likewise.
21141 (drem_test_upward): Likewise.
21142 (remquo_test): Likewise.
21143 (rint_test): Likewise.
21144 (rint_test_tonearest): Likewise.
21145 (rint_test_towardzero): Likewise.
21146 (rint_test_downward): Likewise.
21147 (rint_test_upward): Likewise.
21148 (round_test): Likewise.
21149 (scalb_test): Likewise.
21150 (scalbn_test): Likewise.
21151 (scalbln_test): Likewise.
21152 (signbit_test): Likewise.
21153 (sin_test): Likewise.
21154 (sin_test_tonearest): Likewise.
21155 (sin_test_towardzero): Likewise.
21156 (sin_test_downward): Likewise.
21157 (sin_test_upward): Likewise.
21158 (sincos_test): Likewise.
21159 (sinh_test): Likewise.
21160 (sinh_test_tonearest): Likewise.
21161 (sinh_test_towardzero): Likewise.
21162 (sinh_test_downward): Likewise.
21163 (sinh_test_upward): Likewise.
21164 (sqrt_test): Likewise.
21165 (sqrt_test_tonearest): Likewise.
21166 (sqrt_test_towardzero): Likewise.
21167 (sqrt_test_downward): Likewise.
21168 (sqrt_test_upward): Likewise.
21169 (tan_test): Likewise.
21170 (tan_test_tonearest): Likewise.
21171 (tan_test_towardzero): Likewise.
21172 (tan_test_downward): Likewise.
21173 (tan_test_upward): Likewise.
21174 (tanh_test): Likewise.
21175 (tgamma_test): Likewise.
21176 (trunc_test): Likewise.
21177 (y0_test): Likewise.
21178 (y1_test): Likewise.
21179 (yn_test): Likewise.
21180 (significand_test): Likewise.
21182 * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
21183 individual tests in comment.
21184 (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
21185 (prev_max_error): New variable.
21186 (prev_real_max_error): Likewise.
21187 (prev_imag_max_error): Likewise.
21188 (compare_ulp_data): Don't refer to test names in comment.
21189 (find_test_ulps): Remove function.
21190 (find_function_ulps): Likewise.
21191 (find_complex_function_ulps): Likewise.
21192 (init_max_error): Take function name as argument. Look up ulps
21194 (print_ulps): Remove function.
21195 (print_max_error): Use prev_max_error instead of calling
21196 find_function_ulps.
21197 (print_complex_max_error): Use prev_real_max_error and
21198 prev_imag_max_error instead of calling find_complex_function_ulps.
21199 (check_float_internal): Take max_ulp parameter instead of calling
21200 find_test_ulps. Don't call print_ulps.
21201 (check_float): Update call to check_float_internal.
21202 (check_complex): Update calls to check_float_internal.
21203 (START): Pass argument to init_max_error.
21204 * math/gen-libm-test.pl (%results): Don't include "kind"
21206 (parse_ulps): Don't handle ulps of individual tests.
21207 (print_ulps_file): Likewise.
21208 (output_ulps): Likewise.
21209 * math/README.libm-test: Update.
21210 * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
21212 * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
21213 * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
21214 * sysdeps/arm/libm-test-ulps: Likewise.
21215 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
21216 * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
21217 * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
21218 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
21219 * sysdeps/microblaze/libm-test-ulps: Likewise.
21220 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
21221 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
21222 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
21223 * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
21224 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
21225 * sysdeps/sh/libm-test-ulps: Likewise.
21226 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
21227 * sysdeps/tile/libm-test-ulps: Likewise.
21228 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21230 2014-03-04 Joseph Myers <joseph@codesourcery.com>
21232 * math/libm-test.inc (print_complex_max_error): Check separately
21233 whether real and imaginary errors are within allowed range and
21234 pass 0 to print_complex_function_ulps instead of value within
21237 2014-03-04 Siddhesh Poyarekar <siddhesh@redhat.com>
21239 * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
21241 (get_handles_fopen): Likewise.
21242 (do_write_test): Likewise.
21244 * libio/wfileops.c (do_ftell_wide): Fix up formatting.
21246 * libio/fileops.c (do_ftell): Use cached offset when
21248 * libio/iofwide.c (do_ftell_wide): Likewise.
21249 * libio/iofdopen.c (_IO_new_fdopen): Don't use
21251 * libio/wfileops.c (_IO_fwide): Don't cache offset.
21254 * libio/libioP.h (get_file_offset): New function.
21255 * libio/fileops.c (get_file_offset): Likewise.
21256 (do_ftell): Likewise.
21257 (_IO_new_file_seekoff): Split out ftell logic.
21258 * libio/wfileops.c (do_ftell_wide): Likewise.
21259 (_IO_wfile_seekoff): Split out ftell logic.
21260 * libio/tst-ftell-active-handler.c: New test case.
21261 * libio/Makefile (tests): Add it.
21263 2014-03-03 Roland McGrath <roland@hack.frob.com>
21265 * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
21266 * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
21268 2014-03-03 Siddhesh Poyarekar <siddhesh@redhat.com>
21271 * nscd/connections.c (nscd_init): Call do_exit.
21272 (start_threads): Call do_exit and notify_parent.
21273 (begin_drop_privileges): Call do_exit.
21274 (finish_drop_privileges): Likewise.
21275 * nscd/selinux.c (preserve_capabilities): Likewise.
21276 (install_real_capabilities): Likewise.
21277 (nscd_selinux_enabled): Likewise.
21278 (avc_create_thread): Likewise.
21279 (avc_alloc_lock): Likewise.
21280 (nscd_avc_init): Likewise.
21281 * nscd/nscd.c (parent_fd): New static variable.
21282 (main): Create a pipe between parent and child processes.
21283 Skip closing parent_fd.
21284 (monitor_child): New function.
21285 (do_exit): Likewise.
21286 (notify_parent): Likewise.
21287 * nscd/nscd.h (notify_parent): Likewise.
21288 (do_exit): Likewise.
21290 2014-03-03 Carlos O'Donell <carlos@redhat.com>
21292 * malloc/malloc.c (__libc_calloc): Revert last change.
21294 2014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21296 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21298 2014-03-03 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
21300 * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
21301 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
21303 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
21304 (__libc_ifunc_impl_list): Likewise.
21305 * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
21306 * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
21307 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
21308 * string/strrchr.c: Define STRRCHR.
21310 2014-02-28 Ondřej Bílka <neleai@seznam.cz>
21312 * benchtest/bench-strtok.c (simple_strtok): Delete.
21313 (strtok_string): Use as benchmark.
21314 * string/strtok (STRTOK): New macro.
21316 2014-02-28 Carlos O'Donell <carlos@redhat.com>
21318 * manual/threads.texi: Add header and standard comments to all
21321 * elf/dl-lookup.c (check_match): New function.
21322 (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
21323 (do_lookup_x): Remove nested function check_match. Use non-nested
21324 function check_match.
21326 2014-02-28 Roland McGrath <roland@hack.frob.com>
21328 * csu/Makefile (generated, before-compile): Use += rather than =.
21329 * catgets/Makefile (generated, generated-dirs): Likewise.
21330 * debug/Makefile (generated): Likewise.
21331 * dlfcn/Makefile (generated): Likewise.
21332 * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
21333 * iconvdata/Makefile (before-compile, generated): Likewise.
21334 * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
21335 * libio/Makefile (generated): Likewise.
21336 * malloc/Makefile (generated): Likewise.
21337 * manual/Makefile (generated, generated-dirs): Likewise.
21338 * misc/Makefile (generated): Likewise.
21339 * posix/Makefile (generated): Likewise.
21340 * resolv/Makefile (generated): Likewise.
21341 * sunrpc/Makefile (generated, generated-dirs): Likewise.
21342 * timezone/Makefile (generated, generated-dirs): Likewise.
21344 * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
21346 2014-02-27 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21348 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
21349 power8 implementation.
21350 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
21351 file: POWER8 llround ifunc implementation.
21352 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
21353 (__lllround): Add POWER8 implementation.
21354 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
21355 POWER8 llround implementation.
21357 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
21358 power8 implementation.
21359 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
21360 file: POWER8 llrint ifunc implementation.
21361 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
21362 Add POWER8 implementation.
21363 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
21364 POWER8 llrint implementation.
21366 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
21367 power8 implementation.
21368 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
21369 file: POWER8 finite ifunc implementation.
21370 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
21371 Add POWER8 implementation.
21372 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
21374 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
21375 POWER8 finite implementation.
21376 * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
21378 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
21379 power8 implementation.
21380 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
21381 file: POWER8 isinf ifunc implementation.
21382 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
21383 POWER8 implementation.
21384 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
21386 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
21387 isinf implementation.
21388 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
21390 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
21391 (INIT_ARCH): Add hwcap2 initialization.
21392 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
21393 power8 implementation.
21394 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
21395 file: POWER8 isnan ifunc implementation.
21396 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
21397 POWER8 implementation.
21398 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
21400 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
21401 isnan implementation.
21402 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
21404 2014-02-27 Joey Ye <joey.ye@arm.com>
21406 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
21407 (_FP_NANFRAC_Q): Set to zero.
21409 2014-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
21412 * math/auto-libm-test-in: New test inputs.
21413 * math/auto-libm-test-out: Regenerate.
21414 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
21417 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
21419 2014-02-27 Joseph Myers <joseph@codesourcery.com>
21421 * scripts/evaluate-test.sh: Take new argument indicating whether
21422 failure is expected.
21423 * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
21424 indicating whether failure is expected.
21425 * conform/Makefile (test-xfail-run-conformtest): New variable.
21426 ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
21428 * posix/Makefile (test-xfail-annexc): New variable.
21429 ($(objpfx)annexc.out): Don't expect to fail at makefile level.
21431 2014-02-26 Joseph Myers <joseph@codesourcery.com>
21433 * argp/Makefile: Include Makeconfig immediately after defining
21435 * assert/Makefile: Likewise.
21436 * benchtests/Makefile: Likewise.
21437 * catgets/Makefile: Likewise.
21438 * conform/Makefile: Likewise.
21439 * crypt/Makefile: Likewise.
21440 * csu/Makefile: Likewise.
21441 (all): Remove target.
21442 * ctype/Makefile: Include Makeconfig immediately after defining
21444 * debug/Makefile: Likewise.
21445 * dirent/Makefile: Likewise.
21446 * dlfcn/Makefile: Likewise.
21447 * gmon/Makefile: Likewise.
21448 * gnulib/Makefile: Likewise.
21449 * grp/Makefile: Likewise.
21450 * gshadow/Makefile: Likewise.
21451 * hesiod/Makefile: Likewise.
21452 * hurd/Makefile: Likewise.
21453 (all): Remove target.
21454 * iconvdata/Makefile: Include Makeconfig immediately after
21456 * inet/Makefile: Likewise.
21457 * intl/Makefile: Likewise.
21458 * io/Makefile: Likewise.
21459 * libio/Makefile: Likewise.
21460 (all): Remove target.
21461 * locale/Makefile: Include Makeconfig immediately after defining
21463 * login/Makefile: Likewise.
21464 * mach/Makefile: Likewise.
21465 (all): Remove target.
21466 * malloc/Makefile: Include Makeconfig immediately after defining
21468 (all): Remove target.
21469 * manual/Makefile: Include Makeconfig immediately after defining
21471 * math/Makefile: Likewise.
21472 * misc/Makefile: Likewise.
21473 * nis/Makefile: Likewise.
21474 * nss/Makefile: Likewise.
21475 * po/Makefile: Likewise.
21476 (all): Remove target.
21477 * posix/Makefile: Include Makeconfig immediately after defining
21479 * pwd/Makefile: Likewise.
21480 * resolv/Makefile: Likewise.
21481 * resource/Makefile: Likewise.
21482 * rt/Makefile: Likewise.
21483 * setjmp/Makefile: Likewise.
21484 * shadow/Makefile: Likewise.
21485 * signal/Makefile: Likewise.
21486 * socket/Makefile: Likewise.
21487 * soft-fp/Makefile: Likewise.
21488 * stdio-common/Makefile: Likewise.
21489 * stdlib/Makefile: Likewise.
21490 * streams/Makefile: Likewise.
21491 * string/Makefile: Likewise.
21492 * sunrpc/Makefile: Likewise.
21493 (all): Remove target.
21494 * sysvipc/Makefile: Include Makeconfig immediately after defining
21496 * termios/Makefile: Likewise.
21497 * time/Makefile: Likewise.
21498 * timezone/Makefile: Likewise.
21499 (all): Remove target.
21500 * wcsmbs/Makefile: Include Makeconfig immediately after defining
21502 * wctype/Makefile: Likewise.
21504 2014-02-26 Steve Ellcey <sellcey@mips.com>
21506 * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
21507 (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
21508 (libc_feholdexcept_setround_mips): Ditto.
21509 (libc_feholdsetround): New.
21510 (libc_feholdsetroundf): New.
21511 (libc_feholdsetroundl): New.
21512 (libc_feupdateenv_test_mips): New.
21513 (libc_feupdateenv_test): New.
21514 (libc_feupdateenv_testf): New.
21515 (libc_feupdateenv_testl): New.
21516 (libc_feresetround): New.
21517 (libc_feresetroundf): New.
21518 (libc_feresetroundl): New.
21519 (libc_fetestexcept_mips): New.
21520 (libc_fetestexcept): New.
21521 (libc_fetestexceptf): New.
21522 (libc_fetestexceptl): New.
21523 (HAVE_RM_CTX): New.
21524 (libc_feholdexcept_setround_mips_ctx): New.
21525 (libc_feholdexcept_setround_ctx): New.
21526 (libc_feholdexcept_setroundf_ctx): New.
21527 (libc_feholdexcept_setroundl_ctx): New.
21528 (libc_fesetenv_mips_ctx): New.
21529 (libc_fesetenv_ctx): New.
21530 (libc_fesetenv_ctxf): New.
21531 (libc_fesetenv_ctxl): New.
21532 (libc_feupdateenv_mips_ctx): New.
21533 (libc_feupdateenv_ctx): New.
21534 (libc_feupdateenvf_ctx): New.
21535 (libc_feupdateenvl_ctx): New.
21536 (libc_feholdsetround_mips_ctx): New.
21537 (libc_feholdsetround_ctx): New.
21538 (libc_feholdsetroundf_ctx): New.
21539 (libc_feholdsetroundl_ctx): New.
21540 (libc_feresetround_mips_ctx): New.
21541 (libc_feresetround_ctx): New.
21542 (libc_feresetroundf_ctx): New.
21543 (libc_feresetroundl_ctx): New.
21545 2014-02-26 Carlos O'Donell <carlos@redhat.com>
21547 * manual/ipc.texi (Semaphores): Use @Theglibc{}.
21549 * manual/ipc.texi: New file.
21550 * manual/Makefile (chapters): Add ipc.
21551 * manual/job.texi: Add "Inter-Process Communication" to next.
21552 * manual/process.texi: Add "Inter-Process Communication" to prev.
21554 2014-02-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21556 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21558 2014-02-26 Ondřej Bílka <neleai@seznam.cz>
21560 * malloc/malloc.c (__libc_calloc): Simplify implementation.
21562 * manual/arith.texi: Fix spaces after sentences.
21563 * manual/charset.texi: Likewise.
21564 * manual/errno.texi: Likewise.
21565 * manual/install.texi: Likewise.
21566 * manual/llio.texi: Likewise.
21567 * manual/locale.texi: Likewise.
21568 * manual/maint.texi: Likewise.
21569 * manual/math.texi: Likewise.
21570 * manual/memory.texi: Likewise.
21571 * manual/message.texi: Likewise.
21572 * manual/probes.texi: Likewise.
21573 * manual/resource.texi: Likewise.
21574 * manual/signal.texi: Likewise.
21575 * manual/socket.texi: Likewise.
21576 * manual/stdio.texi: Likewise.
21577 * manual/string.texi: Likewise.
21578 * manual/time.texi: Likewise.
21579 * manual/users.texi: Likewise.
21581 2014-02-25 Carlos O'Donell <carlos@redhat.com>
21584 * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
21585 _DEFAULT_SOURCE is defined.
21587 2014-02-25 Ulrich Drepper <drepper@gmail.com>
21588 Carlos O'Donell <carlos@redhat.com>
21591 * elf/dl-tls.c (_dl_count_modids): New function.
21592 * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
21593 * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
21594 audit library and increment generation counter.
21595 (_dl_allocate_tls_init): Add assertion to check TLS generation count.
21596 * elf/tst-audit9.c: New file.
21597 * elf/tst-auditmod9a.c: New file.
21598 * elf/tst-auditmod9b.c: New file.
21599 * elf/Makefile: Add rules to build and run tst-audit9.
21601 2014-02-25 Florian Weimer <fweimer@redhat.com>
21604 * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
21606 2014-02-25 Will Newton <will.newton@linaro.org>
21608 * sysdeps/arm/__longjmp.S: Include stap-probe.h.
21609 (__longjmp): Restore sp and lr before restoring callee
21610 saved registers. Add longjmp and longjmp_target
21611 SystemTap probe point.
21612 * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
21613 * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
21614 Define to zero to match jmpbuf layout.
21615 * sysdeps/arm/setjmp.S: Include stap-probe.h.
21616 (__sigsetjmp): Save sp and lr before saving callee
21617 saved registers. Add setjmp SystemTap probe point.
21619 2014-02-24 Stefan Liebler <stli@linux.vnet.ibm.com>
21621 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
21623 2014-02-24 Andreas Schwab <schwab@suse.de>
21626 * elf/pldd.c (wait_for_ptrace_stop): New function.
21627 (main): Call it after attaching.
21629 2014-02-22 Roland McGrath <roland@hack.frob.com>
21631 * Makerules ($(common-objpfx)Versions.v.i): No longer depend
21632 on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
21633 Versions files is now verboten.
21634 * hurd/Versions (libc: GLIBC_2.0):
21635 Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
21636 (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
21637 [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
21638 * mach/Versions: Likewise.
21640 * csu/Versions: Remove unused %include.
21641 * resolv/Versions: Likewise.
21643 2014-02-21 Joseph Myers <joseph@codesourcery.com>
21645 * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
21646 ($(objpfx)check-local-headers.out): Likewise.
21647 ($(objpfx)begin-end-check.out): Likewise.
21648 * Makerules (check-abi-%.out): Likewise.
21649 * catgets/Makefile ($(objpfx)test1.cat): Likewise.
21650 ($(objpfx)test2.cat): Likewise.
21651 ($(objpfx)de/libc.cat): Likewise.
21652 ($(objpfx)test-gencat.out): Likewise.
21653 * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
21654 * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
21655 ($(objpfx)noload-mem): Likewise.
21656 ($(objpfx)tst-pathopt.out): Likewise.
21657 ($(objpfx)tst-rtld-load-self.out): Likewise.
21658 ($(objpfx)tst-array1-cmp.out): Likewise.
21659 ($(objpfx)tst-array1-static-cmp.out): Likewise.
21660 ($(objpfx)tst-array2-cmp.out): Likewise.
21661 ($(objpfx)tst-array3-cmp.out): Likewise.
21662 ($(objpfx)tst-array4-cmp.out): Likewise.
21663 ($(objpfx)tst-array5-cmp.out): Likewise.
21664 ($(objpfx)tst-array5-static-cmp.out): Likewise.
21665 ($(objpfx)check-textrel.out): Likewise.
21666 ($(objpfx)check-execstack.out): Likewise.
21667 ($(objpfx)check-localplt.out): Likewise.
21668 ($(objpfx)order2-cmp.out): Likewise.
21669 ($(objpfx)tst-leaks1-mem): Likewise.
21670 ($(objpfx)tst-leaks1-static-mem): Likewise.
21671 ($(objpfx)tst-initorder-cmp.out): Likewise.
21672 ($(objpfx)tst-initorder2-cmp.out): Likewise.
21673 ($(objpfx)tst-unused-dep.out): Likewise.
21674 ($(objpfx)tst-unused-dep-cmp.out): Likewise.
21675 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
21676 * iconv/Makefile (test-iconvconfig): Likewise.
21677 * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
21678 ($(objpfx)iconv-test.out): Likewise.
21679 ($(objpfx)tst-tables.out): Likewise.
21680 * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
21681 ($(objpfx)tst-gettext.out): Likewise.
21682 ($(objpfx)tst-translit.out): Likewise.
21683 ($(objpfx)tst-gettext2.out): Likewise.
21684 ($(objpfx)tst-gettext4.out): Likewise.
21685 ($(objpfx)tst-gettext6.out): Likewise.
21686 * io/Makefile ($(objpfx)ftwtest.out): Likewise.
21687 * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
21688 ($(objpfx)tst-fopenloc-cmp.out): Likewise.
21689 ($(objpfx)tst-fopenloc-mem.out): Likewise.
21690 * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
21691 * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
21692 * posix/Makefile ($(objpfx)globtest.out): Likewise.
21693 ($(objpfx)wordexp-tst.out): Likewise.
21694 ($(objpfx)annexc.out): Likewise.
21695 ($(objpfx)tst-fnmatch-mem): Likewise.
21696 ($(objpfx)bug-regex2-mem): Likewise.
21697 ($(objpfx)bug-regex14-mem): Likewise.
21698 ($(objpfx)bug-regex21-mem): Likewise.
21699 ($(objpfx)bug-regex31-mem): Likewise.
21700 ($(objpfx)tst-vfork3-mem): Likewise.
21701 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
21702 ($(objpfx)tst-pcre-mem): Likewise.
21703 ($(objpfx)tst-boost-mem): Likewise.
21704 ($(objpfx)tst-getconf.out): Likewise.
21705 ($(objpfx)bug-ga2-mem): Likewise.
21706 ($(objpfx)bug-glob2-mem): Likewise.
21707 * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
21708 ($(objpfx)mtrace-tst-leaks2): Likewise.
21709 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
21710 ($(objpfx)tst-printf.out): Likewise.
21711 ($(objpfx)tst-setvbuf1.out): Likewise.
21712 ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
21713 * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
21714 ($(objpfx)tst-fmtmsg.out): Likewise.
21715 * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
21716 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
21718 * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
21719 * bits/sigaction.h [__USE_MISC]: Likewise.
21720 * bits/waitstatus.h: Update #endif comments.
21721 * ctype/ctype.h: Likewise.
21722 * dirent/dirent.h: Likewise.
21723 [__USE_MISC]: Remove redundant conditionals.
21724 * grp/grp.h: Update #endif comments.
21725 [__USE_GNU]: Remove redundant conditionals.
21726 [__USE_MISC]: Likewise.
21727 * inet/netinet/in.h [__USE_GNU]: Likewise.
21728 * io/sys/stat.h [__USE_MISC]: Likewise.
21729 * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
21730 * libio/bits/stdio.h: Update #endif comments.
21731 [__USE_MISC]: Remove redundant conditionals.
21732 * libio/bits/stdio2.h [__USE_MISC]: Likewise.
21733 * libio/stdio.h: Update #endif comments.
21734 [__USE_MISC]: Remove redundant conditionals.
21735 * math/bits/math-finite.h [__USE_MISC]: Likewise.
21736 * math/bits/mathcalls.h [__USE_MISC]: Likewise.
21737 * math/math.h: Update #else and #endif comments.
21738 [__USE_MISC]: Remove redundant conditionals.
21739 * misc/sys/uio.h: Update #endif comments.
21740 * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
21741 * posix/glob.h [__USE_MISC]: Likewise.
21742 * posix/sys/types.h: Update #endif comments.
21743 [__USE_MISC]: Remove redundant conditionals.
21744 * posix/sys/wait.h: Update #endif comments.
21745 [__USE_MISC]: Remove redundant conditionals.
21746 * posix/unistd.h: Update #endif comments.
21747 [__USE_MISC]: Remove redundant conditionals.
21748 * pwd/pwd.h [__USE_GNU]: Likewise.
21749 [__USE_MISC]: Likewise.
21750 * resolv/netdb.h [__USE_GNU]: Likewise.
21751 * signal/signal.h: Update #endif comments.
21752 [__USE_MISC]: Remove redundant conditionals.
21753 * stdlib/stdlib.h: Update #else and #endif comments.
21754 [__USE_MISC]: Remove redundant conditionals.
21755 [__USE_GNU]: Likewise.
21756 * string/bits/string2.h [__USE_MISC]: Likewise.
21757 * string/string.h: Update #endif comments.
21758 [__USE_MISC]: Remove redundant conditionals.
21759 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
21761 * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
21762 * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
21763 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
21765 * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
21767 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
21769 [__USE_MISC]: Remove redundant conditionals.
21770 * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
21771 * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
21772 * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
21773 * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
21774 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
21776 * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
21777 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
21779 * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
21780 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
21782 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
21784 * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
21785 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
21787 * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
21789 * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
21790 * sysdeps/x86/bits/string.h: Update #endif comments.
21791 * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
21793 * time/sys/time.h: Update #endif comments.
21794 * time/time.h: Likewise.
21795 [__USE_MISC]: Remove redundant conditionals.
21797 2014-02-21 Yury Gribov <y.gribov@samsung.com>
21800 * sysdeps/arm/libm-test-ulps: Update for VFPv4.
21802 2014-02-21 Andreas Schwab <schwab@linux-m68k.org>
21804 * Versions.def (librt): Add GLIBC_2.17.
21806 2014-02-21 Adam Conrad <adconrad@0c3.net>
21808 * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
21809 synonym for _SYS_AUXV_H to allow direct inclusion.
21810 * sysdeps/sparc/bits/hwcap.h: Likewise.
21811 * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
21812 _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
21813 * sysdeps/sparc/sysdep.h: Likewise.
21815 2014-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
21817 * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
21819 2014-02-21 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
21821 * benchtests/bench-strrchr.c: Print length instead of position.
21823 2014-02-20 Joseph Myers <joseph@codesourcery.com>
21826 * sysdeps/unix/sysv/linux/kernel-features.h
21827 [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
21828 (__ASSUME_SENDMMSG_SOCKETCALL): Define.
21829 [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
21830 __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
21832 [__i386__ || __powerpc__ || __sh__ || __sparc__]
21833 (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
21834 [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
21835 (__ASSUME_SENDMMSG): Define instead of using previous
21836 [__LINUX_KERNEL_VERSION >= 0x020627] condition.
21837 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
21838 (__ASSUME_SENDMMSG_SYSCALL): Define.
21839 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
21840 [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
21842 * sysdeps/unix/sysv/linux/arm/kernel-features.h
21843 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
21845 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
21846 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
21848 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
21849 && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
21850 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
21851 [__ASSUME_SENDMMSG]: Change conditionals to
21852 [__ASSUME_SENDMMSG_SOCKETCALL].
21853 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
21854 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
21856 * sysdeps/unix/sysv/linux/mips/kernel-features.h
21857 [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
21859 * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
21860 !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
21861 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
21862 [!__ASSUME_SENDMMSG]: Change conditional to
21863 [!__ASSUME_SENDMMSG_SOCKETCALL].
21864 * sysdeps/unix/sysv/linux/tile/kernel-features.h
21865 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
21869 * sysdeps/unix/sysv/linux/kernel-features.h
21870 [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
21871 (__ASSUME_RECVMMSG_SOCKETCALL): Define.
21872 [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
21873 __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
21874 || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
21875 [__i386__ || __sparc__]
21876 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
21877 [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
21878 (__ASSUME_RECVMMSG): Define instead of using previous
21879 [__LINUX_KERNEL_VERSION >= 0x020621] condition.
21880 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
21881 (__ASSUME_RECVMMSG_SYSCALL): Define.
21882 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
21883 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
21885 * sysdeps/unix/sysv/linux/arm/kernel-features.h
21886 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
21888 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
21889 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
21891 * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
21892 && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
21893 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
21894 [__ASSUME_RECVMMSG]: Change condition to
21895 [__ASSUME_RECVMMSG_SOCKETCALL].
21896 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
21897 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
21899 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
21900 * sysdeps/unix/sysv/linux/mips/kernel-features.h
21901 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
21903 * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
21904 !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
21905 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
21906 [!__ASSUME_RECVMMSG]: Change condition to
21907 [!__ASSUME_RECVMMSG_SOCKETCALL].
21908 * sysdeps/unix/sysv/linux/tile/kernel-features.h
21909 (__ASSUME_RECVMMSG_SYSCALL): Define.
21912 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
21913 __powerpc__ || __s390__ || __sh__ || __sparc__]
21914 (__ASSUME_SOCKETCALL): Define.
21915 [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
21916 (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
21917 [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
21918 || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
21919 __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
21920 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
21921 [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
21922 (__ASSUME_ACCEPT4): Define instead of using previous
21923 [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
21924 __powerpc__ || __sparc__ || __s390__)] condition.
21925 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
21926 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
21927 * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
21928 !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
21929 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
21930 [!__ASSUME_ACCEPT4]: Change condition to
21931 [!__ASSUME_ACCEPT4_SOCKETCALL].
21932 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
21933 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL. Correct
21934 condition to [__LINUX_KERNEL_VERSION >= 0x030200].
21935 * sysdeps/unix/sysv/linux/arm/kernel-features.h
21936 [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
21937 __ASSUME_ACCEPT4_SYSCALL.
21938 * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
21939 Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
21940 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
21941 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
21942 __ASSUME_ACCEPT4_SYSCALL.
21943 * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
21944 && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
21945 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
21946 [__ASSUME_ACCEPT4]: Change condition to
21947 [__ASSUME_ACCEPT4_SOCKETCALL].
21948 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
21949 (__ASSUME_SOCKETCALL): Define.
21950 [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
21951 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
21952 (__ASSUME_SOCKETCALL): Define.
21953 (__ASSUME_ACCEPT4): Remove.
21954 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
21956 * sysdeps/unix/sysv/linux/mips/kernel-features.h
21957 [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
21959 * sysdeps/unix/sysv/linux/tile/kernel-features.h
21960 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
21962 * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
21964 (HWCAP_ARM_LPAE): Likewise.
21965 (HWCAP_ARM_EVTSTRM): Likewise.
21966 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
21967 Add vpfd32, lpae and evtstrm.
21968 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
21971 2014-02-19 Joseph Myers <joseph@codesourcery.com>
21973 * math/auto-libm-test-in: Add tests of clog10.
21974 * math/auto-libm-test-out: Regenerated.
21975 * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
21976 * sysdeps/i386/fpu/libm-test-ulps: Update.
21977 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21979 2014-02-18 Andreas Schwab <schwab@suse.de>
21982 * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
21983 Store non-zero if the second buffer was newly allocated.
21984 (send_dg): Likewise.
21985 (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
21986 to send_vc and send_dg.
21987 (res_nsend): Pass NULL for ansp2_malloced.
21988 * resolv/res_query.c (__libc_res_nquery): Add parameter
21989 answerp2_malloced and pass it down to __libc_res_nsend.
21990 (res_nquery): Pass additional NULL to __libc_res_nquery.
21991 (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
21992 down to __libc_res_nquery and __libc_res_nquerydomain. Deallocate
21993 second answer buffer if answerp2_malloced was set.
21994 (res_nsearch): Pass additional NULL to __libc_res_nsearch.
21995 (__libc_res_nquerydomain): Add parameter
21996 answerp2_malloced and pass it down to __libc_res_nquery.
21997 (res_nquerydomain): Pass additional NULL to
21998 __libc_res_nquerydomain.
21999 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
22000 additional NULL to __libc_res_nsend and __libc_res_nquery.
22001 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
22002 additional NULL to __libc_res_nsearch.
22003 (_nss_dns_gethostbyname4_r): Revert last change. Use new
22004 parameter of __libc_res_nsearch to check for separately allocated
22006 (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
22008 * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
22009 additional NULL to __libc_res_nquery.
22010 * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
22011 __libc_res_nsearch.
22012 (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
22013 * include/resolv.h: Update prototypes of __libc_res_nquery,
22014 __libc_res_nsearch, __libc_res_nsend.
22016 2014-02-18 Joseph Myers <joseph@codesourcery.com>
22018 * math/auto-libm-test-in: Add tests of fma.
22019 * math/auto-libm-test-out: Regenerated.
22020 * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
22021 (fma_towardzero_test_data): Likewise.
22022 (fma_downward_test_data): Likewise.
22023 (fma_upward_test_data): Likewise.
22024 * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
22026 (rounding_modes): Add values for new field.
22027 (func_calc_method): Add value mpfr_fff_f.
22028 (func_calc_desc): Add mpfr_fff_f union field.
22029 (test_function): Add field exact_args.
22030 (FUNC): Add macro argument EXACT_ARGS.
22031 (FUNC_mpfr_f_f): Update call to FUNC.
22032 (FUNC_mpfr_f_f): Likewise.
22033 (FUNC_mpfr_ff_f): Likewise.
22034 (FUNC_mpfr_if_f): Likewise.
22035 (FUNC_mpc_c_f): Likewise.
22036 (FUNC_mpc_c_c): Likewise.
22037 (test_functions): Add fma. Update calls to FUNC.
22038 (handle_input_arg): Add argument exact_args.
22039 (add_test): Update call to handle_input_arg.
22040 (calc_generic_results): Add argument mode. Handle mpfr_fff_f.
22041 (output_for_one_input_case): Update call to calc_generic_results.
22042 Recalculate exact zero results in each rounding mode.
22044 * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
22045 non-negative before setting low bit.
22046 * math/auto-libm-test-in: Mark one asin test possibly having
22047 spurious underflow.
22048 * math/auto-libm-test-out: Regenerated.
22049 * sysdeps/i386/fpu/libm-test-ulps: Update.
22050 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22052 2014-02-17 David Holsgrove <david.holsgrove@xilinx.com>
22054 * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
22055 * sysdeps/unix/sysv/linux/microblaze: Move directory from
22056 ports/sysdeps/unix/sysv/linux/microblaze.
22057 * README: Add missing listing for microblaze*-*-linux-gnu.
22059 2014-02-16 Ondřej Bílka <neleai@seznam.cz>
22061 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Remove
22064 2014-02-16 Mike Frysinger <vapier@gentoo.org>
22066 * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
22067 * sysdeps/unix/sysv/linux/ia64: Move directory from
22068 ports/sysdeps/unix/sysv/linux/ia64.
22069 * README: Update listing for ia64-*-linux-gnu.
22071 2014-02-14 Tomas Dohnalek <tdohnale@redhat.com>
22072 Joseph Myers <joseph@codesourcery.com>
22074 * Makeconfig (test-name): New variable.
22075 (evaluate-test): Likewise.
22076 * Makerules (do-test-clean): Remove .test-result files.
22077 (common-mostlyclean): Likewise.
22078 * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
22079 * scripts/evaluate-test.sh: New file.
22081 2014-02-14 Joseph Myers <joseph@codesourcery.com>
22083 * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
22084 separate $(objpfx)tst-fopenloc-cmp.out and
22085 $(objpfx)tst-fopenloc-mem.out targets.
22086 (tests): Update dependencies.
22087 * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
22088 (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
22089 tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
22090 (tst-rxspencer-no-utf8-ARGS): New variable.
22091 (tst-rxspencer-no-utf8-ENV): Likewise.
22092 (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
22093 instead of $(objpfx)tst-rxspencer-mem.
22094 ($(objpfx)tst-rxspencer-mem): Change target to
22095 $(objpfx)tst-rxspencer-no-utf8-mem. Depend on
22096 $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
22097 * posix/tst-rxspencer-no-utf8.c: New file.
22099 * elf/Makefile ($(objpfx)order.out): Remove rule.
22100 [$(run-built-tests) = yes] (tests): Depend on
22101 $(objpfx)order-cmp.out.
22102 ($(objpfx)order-cmp.out): New rule.
22103 [$(run-built-tests) = yes] (tests): Depend on
22104 $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
22105 $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
22106 $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
22107 $(objpfx)tst-array5-static-cmp.out.
22108 ($(objpfx)tst-array1.out): Remove rule.
22109 ($(objpfx)tst-array1-cmp.out): New rule.
22110 ($(objpfx)tst-array1-static.out): Remove rule.
22111 ($(objpfx)tst-array1-static-cmp.out): New rule.
22112 ($(objpfx)tst-array2.out): Remove rule.
22113 ($(objpfx)tst-array2-cmp.out): New rule.
22114 ($(objpfx)tst-array3.out): Remove rule.
22115 ($(objpfx)tst-array3-cmp.out): New rule.
22116 ($(objpfx)tst-array4.out): Remove rule.
22117 ($(objpfx)tst-array4-cmp.out): New rule.
22118 ($(objpfx)tst-array5.out): Remove rule.
22119 ($(objpfx)tst-array5-cmp.out): New rule.
22120 ($(objpfx)tst-array5-static.out): Remove rule.
22121 ($(objpfx)tst-array5-static-cmp.out): New rule.
22122 [$(run-built-tests) = yes] (tests): Depend on
22123 $(objpfx)order2-cmp.out.
22124 ($(objpfx)order2.out): Remove rule.
22125 ($(objpfx)order2-cmp.out): New rule.
22126 ($(objpfx)tst-initorder.out): Remove rule.
22127 [$(run-built-tests) = yes] (tests): Depend on
22128 $(objpfx)tst-initorder-cmp.out.
22129 ($(objpfx)tst-initorder-cmp.out): New rule.
22130 ($(objpfx)tst-initorder2.out): Remove rule.
22131 [$(run-built-tests) = yes] (tests): Depend on
22132 $(objpfx)tst-initorder2-cmp.out.
22133 ($(objpfx)tst-initorder2-cmp.out): New rule.
22134 [$(run-built-tests) = yes] (tests): Depend on
22135 $(objpfx)tst-unused-dep-cmp.out.
22136 ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
22137 ($(objpfx)tst-unused-dep-cmp.out): New rule.
22138 * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
22139 on $(objpfx)tst-setvbuf1-cmp.out.
22140 ($(objpfx)tst-setvbuf1.out): Do not run cmp.
22141 ($(objpfx)tst-setvbuf1-cmp.out): New rule.
22142 * string/Makefile [$(run-built-tests) = yes] (tests): Depend
22143 $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
22144 ($(objpfx)tst-svc.out): Remove rule.
22145 ($(objpfx)tst-svc-cmp.out): New rule.
22147 2014-02-13 Joseph Myers <joseph@codesourcery.com>
22149 * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
22150 * ctype/ctype.h [__USE_MISC]: Likewise.
22151 * dirent/dirent.h [__USE_MISC]: Likewise.
22152 * grp/grp.h [__USE_MISC]: Likewise.
22153 * io/fcntl.h [__USE_MISC]: Likewise.
22154 * io/sys/stat.h [__USE_MISC]: Likewise.
22155 * libio/stdio.h [__USE_MISC]: Likewise.
22156 * posix/unistd.h [__USE_MISC]: Likewise.
22157 * pwd/pwd.h [__USE_MISC]: Likewise.
22158 * stdlib.h [__USE_MISC]: Likewise.
22159 * string/bits/string2.h [__USE_MISC]: Likewise.
22160 * string/string.h [__USE_MISC]: Likewise.
22161 * time/time.h [__USE_MISC]: Likewise.
22163 2014-02-13 Andreas Schwab <schwab@suse.de>
22166 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
22167 second answer buffer if it was separately allocated.
22169 2014-02-12 Joseph Myers <joseph@codesourcery.com>
22171 * sysdeps/mips/math-tests.h: Include <features.h>.
22172 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
22173 (ROUNDING_TESTS_long_double): Do not define.
22174 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
22175 (EXCEPTION_TESTS_long_double): Likewise.
22176 * sysdeps/mips/mips64/libm-test-ulps: Update.
22178 * include/features.h (__USE_BSD): Remove macro definitions.
22179 (__USE_SVID): Likewise.
22180 (_BSD_SOURCE): Likewise.
22181 (_SVID_SOURCE): Likewise.
22182 [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
22183 from definition of _DEFAULT_SOURCE.
22184 [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
22186 * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
22187 * bits/mman.h [__USE_BSD]: Likewise.
22188 * bits/termios.h [__USE_BSD]: Likewise.
22189 * bits/waitstatus.h [__USE_BSD]: Likewise.
22190 * ctype/ctype.h [__USE_SVID]: Likewise.
22191 * dirent/dirent.h [__USE_BSD]: Likewise.
22192 * grp/grp.h [__USE_SVID]: Likewise.
22193 [__USE_BSD]: Likewise.
22194 * inet/netinet/igmp.h [__USE_BSD]: Likewise.
22195 * io/fcntl.h [__USE_BSD]: Likewise.
22196 * io/ftw.h [__USE_BSD]: Likewise.
22197 * io/sys/stat.h [__USE_BSD]: Likewise.
22198 * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
22199 * libio/bits/stdio2.h [__USE_BSD]: Likewise.
22200 * libio/stdio.h [__USE_SVID]: Likewise.
22201 [__USE_BSD]: Likewise.
22202 * math/math.h [__USE_SVID]: Likewise.
22203 [__USE_BSD]: Likewise.
22204 * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
22205 * misc/bits/syslog.h [__USE_BSD]: Likewise.
22206 * misc/search.h [__USE_SVID]: Likewise.
22207 * misc/sys/mman.h [__USE_BSD]: Likewise.
22208 * misc/sys/syslog.h [__USE_BSD]: Likewise.
22209 * misc/sys/uio.h [__USE_BSD]: Likewise.
22210 * posix/bits/unistd.h [__USE_BSD]: Likewise.
22211 * posix/glob.h [__USE_BSD]: Likewise.
22212 * posix/regex.h [__USE_BSD]: Likewise.
22213 * posix/sys/types.h [__USE_BSD]: Likewise.
22214 [__USE_SVID]: Likewise.
22215 * posix/sys/utsname.h [__USE_SVID]: Likewise.
22216 * posix/sys/wait.h [__USE_BSD]: Likewise.
22217 [__USE_SVID]: Likewise.
22218 * posix/unistd.h [__USE_BSD]: Likewise.
22219 [__USE_SVID]: Likewise.
22220 * pwd/pwd.h [__USE_SVID]: Likewise.
22221 * resolv/netdb.h [__USE_BSD]: Likewise.
22222 * setjmp/setjmp.h [__USE_BSD]: Likewise.
22223 * signal/signal.h [__USE_BSD]: Likewise.
22224 [__USE_SVID]: Likewise.
22225 * socket/sys/socket.h [__USE_BSD]: Likewise.
22226 * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
22227 * stdlib/stdlib.h [__USE_BSD]: Likewise.
22228 [__USE_SVID]: Likewise.
22229 * string/bits/string2.h [__USE_BSD]: Likewise.
22230 [__USE_SVID]: Likewise.
22231 * string/bits/string3.h [__USE_BSD]: Likewise.
22232 * string/endian.h [__USE_BSD]: Likewise.
22233 * string/string.h [__USE_SVID]: Likewise.
22234 [__USE_BSD]: Likewise.
22235 * string/strings.h [__USE_BSD]: Likewise.
22236 * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
22237 * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
22238 * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
22239 * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
22240 * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
22241 * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
22243 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
22245 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
22246 * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
22248 * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
22249 * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
22251 * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
22253 * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
22254 * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
22255 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
22257 * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
22259 * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
22260 * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
22261 * termios/termios.h [__USE_BSD]: Likewise.
22262 * time/sys/time.h [__USE_BSD]: Likewise.
22263 * time/time.h [__USE_BSD]: Likewise.
22264 [__USE_SVID]: Likewise.
22266 * Makefile (subdir_targets): Remove subdir_lint.out.
22268 * stdio-common/Makefile (do-tst-unbputc): Remove target.
22269 (do-tst-printf): Likewise.
22270 (tests): Depend directly on $(objpfx)tst-unbputc.out and
22271 $(objpfx)tst-printf.out.
22273 * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
22275 * Makerules (check-abi-%): Change target to
22276 $(objpfx)check-abi-%.out.
22277 (check-abi target): Update dependencies.
22278 (check-abi-pattern variable): Redirect output of diff to $@.
22279 (check-abi variable): Likewise.
22280 * elf/Makefile (check-abi): Update dependencies.
22282 * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
22284 (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
22285 value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
22287 (_FP_PACK_CANONICAL): Determine tininess based on rounding to
22288 normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
22289 value has largest subnormal exponent.
22290 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
22291 (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
22292 * sysdeps/aarch64/soft-fp/sfp-machine.h
22293 (_FP_TININESS_AFTER_ROUNDING): New macro.
22294 * sysdeps/alpha/soft-fp/sfp-machine.h
22295 (_FP_TININESS_AFTER_ROUNDING): Likewise.
22296 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
22298 * sysdeps/mips/mips64/soft-fp/sfp-machine.h
22299 (_FP_TININESS_AFTER_ROUNDING): Likewise.
22300 * sysdeps/mips/soft-fp/sfp-machine.h
22301 (_FP_TININESS_AFTER_ROUNDING): Likewise.
22302 * sysdeps/powerpc/soft-fp/sfp-machine.h
22303 (_FP_TININESS_AFTER_ROUNDING): Likewise.
22304 * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
22306 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
22307 (_FP_TININESS_AFTER_ROUNDING): Likewise.
22308 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
22309 (_FP_TININESS_AFTER_ROUNDING): Likewise.
22310 * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
22313 2014-02-12 Dylan Alex Simon <dylan@dylex.net>
22316 * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
22319 2014-02-12 Richard Henderson <rth@redhat.com>
22321 * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
22322 * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
22323 * sysdeps/unix/sysv/linux/alpha: Move directory from
22324 ports/sysdeps/unix/sysv/linux/alpha.
22325 * README: Update listing for alpha-*-linux-gnu.
22327 2014-02-11 Joseph Myers <joseph@codesourcery.com>
22329 * include/features.h: Update comment documenting feature test
22331 [_BSD_SOURCE || _SVID_SOURCE]: Give #warning. Define
22333 * manual/creature.texi (_BSD_SOURCE): Remove documentation.
22334 (_SVID_SOURCE): Likewise.
22335 (_DEFAULT_SOURCE): Update description of default features.
22336 (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
22338 * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
22339 (S_ISVTX): Likewise.
22340 * manual/math.texi (Mathematical Constants): Likewise.
22341 * manual/signal.texi (Interrupted Primitives): Likewise.
22342 * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
22343 * math/test-matherr.c (_SVID_SOURCE): Do not define.
22344 * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
22345 Don't refer to _SVID_SOURCE in warning text.
22347 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
22349 * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
22351 (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
22352 * sysdeps/mips/dl-lookup.c: Remove.
22353 * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
22355 2014-02-11 Stefan Liebler <stli@linux.vnet.ibm.com>
22358 * math/auto-libm-test-in: Add testcase for expl.
22359 * math/auto-libm-test-out: Regenerate.
22360 * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
22361 calculation of unsafe.
22362 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
22364 2014-02-11 Marcus Shawcroft <marcus.shawcroft@arm.com>
22366 * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
22367 * sysdeps/unix/sysv/linux/aarch64: Move directory from
22368 ports/sysdeps/unix/sysv/linux/aarch64.
22369 * README: Update listing for aarch64*-*-linux-gnu.
22371 2014-02-11 Will Newton <will.newton@linaro.org>
22373 * manual/probes.texi (Mathematical Function Probes): Use
22374 "triggered" instead of "hit".
22376 * manual/probes.texi (Internal Probes): Add documentation
22377 of setjmp, longjmp and longjmp_target probes.
22379 * include/stap-probe.h: Add comment about probe argument
22382 * malloc/mtrace.c (attribute_hidden): Remove unused macro
22383 definition. (tr_where, tr_freehook, tr_mallochook,
22384 tr_reallochook, tr_memalignhook): Use ANSI protoype.
22386 2014-02-11 David S. Miller <davem@davemloft.net>
22388 * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
22389 processing int_tests.
22391 2014-02-10 Joseph Myers <joseph@codesourcery.com>
22393 * sysdeps/mips: Move directory from ports/sysdeps/mips.
22394 * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
22395 * sysdeps/unix/sysv/linux/mips: Move directory from
22396 ports/sysdeps/unix/sysv/linux/mips.
22397 * README: Update listing for mips-*-linux-gnu and
22398 mips64-*-linux-gnu.
22400 2014-02-10 Andreas Schwab <schwab@linux-m68k.org>
22402 * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
22403 * sysdeps/unix/sysv/linux/m68k: Move directory from
22404 ports/sysdeps/unix/sysv/linux/m68k.
22405 * README: Update listing for m68k-*-linux-gnu.
22407 2014-02-10 Chris Metcalf <cmetcalf@tilera.com>
22409 * sysdeps/tile: Move directory from ports/sysdeps/tile.
22410 * sysdeps/unix/sysv/linux/generic: Move directory from
22411 ports/sysdeps/unix/sysv/linux/generic.
22412 * sysdeps/unix/sysv/linux/tile: Move directory from
22413 ports/sysdeps/unix/sysv/linux/tile.
22414 * README: Update listing for tile*-*-linux-gnu.
22416 2014-02-10 Ondřej Bílka <neleai@seznam.cz>
22418 * assert/assert.c (__assert_fail_base): Use glibc_likely instead
22420 * benchtests/bench-memmem.c (simple_memmem): Likewise.
22421 * catgets/open_catalog.c (__open_catalog): Likewise.
22422 * csu/libc-start.c (LIBC_START_MAIN): Likewise.
22423 * debug/confstr_chk.c: Likewise.
22424 * debug/fread_chk.c (__fread_chk): Likewise.
22425 * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
22426 * debug/getgroups_chk.c: Likewise.
22427 * debug/mbsnrtowcs_chk.c: Likewise.
22428 * debug/mbsrtowcs_chk.c: Likewise.
22429 * debug/mbstowcs_chk.c: Likewise.
22430 * debug/memcpy_chk.c: Likewise.
22431 * debug/memmove_chk.c: Likewise.
22432 * debug/mempcpy_chk.c: Likewise.
22433 * debug/memset_chk.c: Likewise.
22434 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
22435 * debug/strcat_chk.c (__strcat_chk): Likewise.
22436 * debug/strcpy_chk.c (__strcpy_chk): Likewise.
22437 * debug/strncat_chk.c (__strncat_chk): Likewise.
22438 * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
22439 * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
22440 * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
22441 * debug/wcpncpy_chk.c: Likewise.
22442 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
22443 * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
22444 * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
22445 * debug/wcsncpy_chk.c: Likewise.
22446 * debug/wcsnrtombs_chk.c: Likewise.
22447 * debug/wcsrtombs_chk.c: Likewise.
22448 * debug/wcstombs_chk.c: Likewise.
22449 * debug/wmemcpy_chk.c: Likewise.
22450 * debug/wmemmove_chk.c: Likewise.
22451 * debug/wmempcpy_chk.c: Likewise.
22452 * debug/wmemset_chk.c: Likewise.
22453 * dirent/scandirat.c (SCANDIRAT): Likewise.
22454 * dlfcn/dladdr1.c (dladdr1): Likewise.
22455 * dlfcn/dladdr.c (dladdr): Likewise.
22456 * dlfcn/dlclose.c (dlclose_doit): Likewise.
22457 * dlfcn/dlerror.c (__dlerror): Likewise.
22458 * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
22459 * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
22460 * dlfcn/dlopen.c (dlopen_doit): Likewise.
22461 * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
22462 * dlfcn/dlsym.c (dlsym_doit): Likewise.
22463 * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
22464 * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
22465 * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
22467 * elf/dl-conflict.c: Likewise.
22468 * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
22469 * elf/dl-dst.h: Likewise.
22470 * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
22471 * elf/dl-fptr.c (_dl_make_fptr): Likewise.
22472 * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
22473 * elf/dl-init.c (call_init, _dl_init): Likewise.
22474 * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
22475 * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
22476 (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
22478 * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
22480 * elf/dl-minimal.c (__libc_memalign): Likewise.
22481 * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
22482 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
22483 * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
22484 * elf/dl-sym.c (do_sym): Likewise.
22485 * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
22486 (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
22487 * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
22488 * elf/dl-writev.h (_dl_writev): Likewise.
22489 * elf/ldconfig.c (search_dir): Likewise.
22490 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
22491 (dl_main): Likewise.
22492 * elf/setup-vdso.h (setup_vdso): Likewise.
22493 * grp/compat-initgroups.c (compat_call): Likewise.
22494 * grp/fgetgrent.c (fgetgrent): Likewise.
22495 * grp/initgroups.c (getgrouplist, initgroups): Likewise.
22496 * grp/putgrent.c (putgrent): Likewise.
22497 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
22499 * hurd/hurdinit.c: Likewise.
22500 * iconvdata/8bit-gap.c (struct): Likewise.
22501 * iconvdata/ansi_x3.110.c : Likewise.
22502 * iconvdata/big5.c : Likewise.
22503 * iconvdata/big5hkscs.c : Likewise.
22504 * iconvdata/cp1255.c: Likewise.
22505 * iconvdata/cp1258.c : Likewise.
22506 * iconvdata/cp932.c : Likewise.
22507 * iconvdata/euc-cn.c: Likewise.
22508 * iconvdata/euc-jisx0213.c : Likewise.
22509 * iconvdata/euc-jp.c: Likewise.
22510 * iconvdata/euc-jp-ms.c : Likewise.
22511 * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
22512 * iconvdata/gb18030.c : Likewise.
22513 * iconvdata/gbbig5.c (const): Likewise.
22514 * iconvdata/gbgbk.c: Likewise.
22515 * iconvdata/gbk.c : Likewise.
22516 * iconvdata/ibm1364.c : Likewise.
22517 * iconvdata/ibm930.c : Likewise.
22518 * iconvdata/ibm932.c: Likewise.
22519 * iconvdata/ibm933.c : Likewise.
22520 * iconvdata/ibm935.c : Likewise.
22521 * iconvdata/ibm937.c : Likewise.
22522 * iconvdata/ibm939.c : Likewise.
22523 * iconvdata/ibm943.c: Likewise.
22524 * iconvdata/iso_11548-1.c: Likewise.
22525 * iconvdata/iso-2022-cn.c : Likewise.
22526 * iconvdata/iso-2022-cn-ext.c : Likewise.
22527 * iconvdata/iso-2022-jp-3.c: Likewise.
22528 * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
22529 * iconvdata/iso-2022-kr.c : Likewise.
22530 * iconvdata/iso646.c (gconv_end): Likewise.
22531 * iconvdata/iso_6937-2.c : Likewise.
22532 * iconvdata/iso_6937.c : Likewise.
22533 * iconvdata/iso8859-1.c: Likewise.
22534 * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
22535 * iconvdata/shift_jisx0213.c : Likewise.
22536 * iconvdata/sjis.c : Likewise.
22537 * iconvdata/t.61.c : Likewise.
22538 * iconvdata/tcvn5712-1.c : Likewise.
22539 * iconvdata/tscii.c: Likewise.
22540 * iconvdata/uhc.c : Likewise.
22541 * iconvdata/unicode.c (gconv_end): Likewise.
22542 * iconvdata/utf-16.c (gconv_end): Likewise.
22543 * iconvdata/utf-32.c (gconv_end): Likewise.
22544 * iconvdata/utf-7.c (base64): Likewise.
22545 * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
22546 * iconv/gconv_close.c (__gconv_close): Likewise.
22547 * iconv/gconv_open.c (__gconv_open): Likewise.
22548 * iconv/gconv_simple.c (internal_ucs4_loop_single)
22549 (ucs4_internal_loop, ucs4_internal_loop_unaligned)
22550 (ucs4_internal_loop_single, internal_ucs4le_loop_single)
22551 (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
22552 (ucs4le_internal_loop_single): Likewise.
22553 * iconv/iconv.c (iconv): Likewise.
22554 * iconv/iconv_close.c: Likewise.
22555 * iconv/loop.c (SINGLE): Likewise.
22556 * iconv/skeleton.c (FUNCTION_NAME): Likewise.
22557 * include/atomic.h: Likewise.
22558 * inet/inet6_option.c (option_alloc): Likewise.
22559 * intl/bindtextdom.c (set_binding_values): Likewise.
22560 * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
22561 * intl/loadmsgcat.c (_nl_load_domain): Likewise.
22562 * intl/localealias.c (read_alias_file): Likewise.
22563 * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
22564 * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
22565 (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
22566 * libio/fmemopen.c (fmemopen): Likewise.
22567 * libio/iofgets.c (_IO_fgets): Likewise.
22568 * libio/iofgets_u.c (fgets_unlocked): Likewise.
22569 * libio/iofgetws.c (fgetws): Likewise.
22570 * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
22571 * libio/iogetdelim.c (_IO_getdelim): Likewise.
22572 * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
22573 (adjust_wide_data, _IO_wfile_seekoff): Likewise.
22574 * locale/findlocale.c (_nl_find_locale): Likewise.
22575 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
22576 * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
22578 * locale/setlocale.c (setlocale): Likewise.
22579 * login/programs/pt_chown.c (main): Likewise.
22580 * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
22581 * malloc/malloc.c (_int_malloc, _int_free): Likewise.
22582 * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
22583 (mmap, mmap64, mremap, munmap): Likewise.
22584 * math/e_exp2l.c: Likewise.
22585 * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
22586 * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
22587 * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
22588 * math/s_catan.c (__catan): Likewise.
22589 * math/s_catanf.c (__catanf): Likewise.
22590 * math/s_catanh.c (__catanh): Likewise.
22591 * math/s_catanhf.c (__catanhf): Likewise.
22592 * math/s_catanhl.c (__catanhl): Likewise.
22593 * math/s_catanl.c (__catanl): Likewise.
22594 * math/s_ccosh.c (__ccosh): Likewise.
22595 * math/s_ccoshf.c (__ccoshf): Likewise.
22596 * math/s_ccoshl.c (__ccoshl): Likewise.
22597 * math/s_cexp.c (__cexp): Likewise.
22598 * math/s_cexpf.c (__cexpf): Likewise.
22599 * math/s_cexpl.c (__cexpl): Likewise.
22600 * math/s_clog10.c (__clog10): Likewise.
22601 * math/s_clog10f.c (__clog10f): Likewise.
22602 * math/s_clog10l.c (__clog10l): Likewise.
22603 * math/s_clog.c (__clog): Likewise.
22604 * math/s_clogf.c (__clogf): Likewise.
22605 * math/s_clogl.c (__clogl): Likewise.
22606 * math/s_csin.c (__csin): Likewise.
22607 * math/s_csinf.c (__csinf): Likewise.
22608 * math/s_csinh.c (__csinh): Likewise.
22609 * math/s_csinhf.c (__csinhf): Likewise.
22610 * math/s_csinhl.c (__csinhl): Likewise.
22611 * math/s_csinl.c (__csinl): Likewise.
22612 * math/s_csqrt.c (__csqrt): Likewise.
22613 * math/s_csqrtf.c (__csqrtf): Likewise.
22614 * math/s_csqrtl.c (__csqrtl): Likewise.
22615 * math/s_ctan.c (__ctan): Likewise.
22616 * math/s_ctanf.c (__ctanf): Likewise.
22617 * math/s_ctanh.c (__ctanh): Likewise.
22618 * math/s_ctanhf.c (__ctanhf): Likewise.
22619 * math/s_ctanhl.c (__ctanhl): Likewise.
22620 * math/s_ctanl.c (__ctanl): Likewise.
22621 * math/w_pow.c: Likewise.
22622 * math/w_powf.c: Likewise.
22623 * math/w_powl.c: Likewise.
22624 * math/w_scalb.c (sysv_scalb): Likewise.
22625 * math/w_scalbf.c (sysv_scalbf): Likewise.
22626 * math/w_scalbl.c (sysv_scalbl): Likewise.
22627 * misc/error.c (error_tail): Likewise.
22628 * misc/pselect.c (__pselect): Likewise.
22629 * nis/nis_callback.c (__nis_create_callback): Likewise.
22630 * nis/nis_call.c (__nisfind_server): Likewise.
22631 * nis/nis_creategroup.c (nis_creategroup): Likewise.
22632 * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
22633 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
22634 * nis/nis_getservlist.c (nis_getservlist): Likewise.
22635 * nis/nis_lookup.c (nis_lookup): Likewise.
22636 * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
22637 * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
22638 (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
22639 * nis/nis_xdr.c (xdr_endpoint): Likewise.
22640 * nis/nss_compat/compat-grp.c (getgrent_next_file)
22641 (internal_getgrnam_r, internal_getgrgid_r): Likewise.
22642 * nis/nss_compat/compat-initgroups.c (add_group)
22643 (internal_getgrent_r): Likewise.
22644 * nis/nss_compat/compat-pwd.c (getpwent_next_file)
22645 (internal_getpwnam_r, internal_getpwuid_r): Likewise.
22646 * nis/nss_compat/compat-spwd.c (getspent_next_file)
22647 (internal_getspnam_r): Likewise.
22648 * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
22649 (_nss_nis_getaliasbyname_r): Likewise.
22650 * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
22651 (_nss_nis_getntohost_r): Likewise.
22652 * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
22653 (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
22654 (_nss_nis_getgrgid_r): Likewise.
22655 * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
22656 (internal_nis_gethostent_r, internal_gethostbyname2_r)
22657 (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
22658 (_nss_nis_gethostbyname4_r): Likewise.
22659 * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
22660 (initgroups_netid): Likewise.
22661 * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
22662 * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
22663 (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
22664 * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
22665 (_nss_nis_getprotobynumber_r): Likewise.
22666 * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
22667 (_nss_nis_getsecretkey): Likewise.
22668 * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
22669 (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
22670 (_nss_nis_getpwuid_r): Likewise.
22671 * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
22672 (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
22673 * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
22674 (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
22675 * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
22676 (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
22677 * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
22679 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
22680 (_nss_nisplus_getntohost_r): Likewise.
22681 * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
22682 (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
22683 * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
22684 (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
22686 * nis/nss_nisplus/nisplus-initgroups.c
22687 (_nss_nisplus_initgroups_dyn): Likewise.
22688 * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
22689 (_nss_nisplus_getnetbyaddr_r): Likewise.
22690 * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
22691 (_nss_nisplus_getprotobynumber_r): Likewise.
22692 * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
22693 (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
22694 * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
22696 * nis/nss_nisplus/nisplus-service.c
22697 (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
22698 (_nss_nisplus_getservbyport_r): Likewise.
22699 * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
22700 (_nss_nisplus_getspnam_r): Likewise.
22701 * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
22703 * nscd/aicache.c (addhstaiX): Likewise.
22704 * nscd/cache.c (cache_search, prune_cache): Likewise.
22705 * nscd/connections.c (register_traced_file, send_ro_fd)
22706 (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
22707 (main_loop_epoll): Likewise.
22708 * nscd/grpcache.c (addgrbyX): Likewise.
22709 * nscd/hstcache.c (addhstbyX): Likewise.
22710 * nscd/initgrcache.c (addinitgroupsX): Likewise.
22711 * nscd/mem.c (gc, mempool_alloc): Likewise.
22712 * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
22713 (addinnetgrX): Likewise.
22714 * nscd/nscd-client.h (__nscd_acquire_maplock)
22715 (__nscd_drop_map_ref): Likewise.
22716 * nscd/nscd_getai.c (__nscd_getai): Likewise.
22717 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
22718 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
22720 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
22721 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
22722 * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
22723 (__nscd_get_map_ref): Likewise.
22724 * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
22725 * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
22727 * nscd/pwdcache.c (addpwbyX): Likewise.
22728 * nscd/selinux.c (preserve_capabilities): Likewise.
22729 * nscd/servicescache.c (addservbyX): Likewise.
22730 * nss/nss_files/files-XXX.c (internal_getent): Likewise.
22731 * posix/fnmatch.c (fnmatch): Likewise.
22732 * posix/getopt.c (_getopt_internal_r): Likewise.
22733 * posix/glob.c (glob, glob_in_dir): Likewise.
22734 * posix/wordexp.c (exec_comm_child): Likewise.
22735 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
22736 (getanswer_r, gaih_getanswer_slice): Likewise.
22737 * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
22738 * resolv/res_init.c: Likewise.
22739 * resolv/res_mkquery.c (res_nmkquery): Likewise.
22740 * resolv/res_query.c (__libc_res_nquery): Likewise.
22741 * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
22743 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
22744 * stdio-common/perror.c (perror): Likewise.
22745 * stdio-common/printf_fp.c (___printf_fp): Likewise.
22746 * stdio-common/tmpnam.c (tmpnam): Likewise.
22747 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
22748 * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
22749 * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
22751 * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
22752 * stdlib/putenv.c (putenv): Likewise.
22753 * stdlib/setenv.c (__add_to_environ): Likewise.
22754 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
22755 * stdlib/strtol_l.c (INTERNAL): Likewise.
22756 * string/memmem.c (memmem): Likewise.
22757 * string/strerror.c (strerror): Likewise.
22758 * string/strnlen.c (__strnlen): Likewise.
22759 * string/test-memmem.c (simple_memmem): Likewise.
22760 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
22761 * sunrpc/pm_getport.c (__get_socket): Likewise.
22762 * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
22763 * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
22764 * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
22765 (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
22767 * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
22768 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
22769 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
22770 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
22771 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
22772 * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
22774 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
22776 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
22777 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
22778 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
22779 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
22780 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
22781 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
22782 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
22783 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
22784 * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
22785 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
22786 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
22787 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
22789 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
22791 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
22793 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
22794 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
22795 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
22796 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
22797 * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
22798 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
22799 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
22800 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
22801 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
22802 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
22803 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
22804 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
22805 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
22806 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
22807 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
22808 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
22810 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
22812 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
22814 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
22816 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
22817 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
22818 * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
22820 * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
22821 * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
22822 * sysdeps/posix/opendir.c (__opendirat): Likewise.
22823 * sysdeps/posix/sleep.c: Likewise.
22824 * sysdeps/posix/tempname.c: Likewise.
22825 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
22826 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
22828 * sysdeps/powerpc/powerpc32/dl-machine.h
22829 (elf_machine_runtime_setup, elf_machine_rela): Likewise.
22830 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
22831 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
22832 * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
22833 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
22835 * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
22836 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
22837 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
22838 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
22839 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
22840 * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
22841 * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
22842 * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
22843 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
22844 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
22845 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
22846 (elf_machine_lazy_rel): Likewise.
22847 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
22848 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
22849 (elf_machine_lazy_rel): Likewise.
22850 * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
22851 * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
22852 * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
22853 * sysdeps/unix/grantpt.c (grantpt): Likewise.
22854 * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
22855 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
22856 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
22857 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
22859 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
22860 * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
22861 * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
22862 * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
22863 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
22864 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
22865 * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
22866 * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
22867 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
22868 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
22869 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
22871 * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
22872 (__posix_fallocate64_l64): Likewise.
22873 * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
22874 (posix_fallocate): Likewise.
22875 * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
22877 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
22878 * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
22879 (getifaddrs_internal): Likewise.
22880 * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
22881 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
22882 * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
22883 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
22884 * sysdeps/unix/sysv/linux/posix_fallocate64.c
22885 (__posix_fallocate64_l64): Likewise.
22886 * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
22888 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
22889 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
22890 (__get_clockfreq): Likewise.
22891 * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
22892 * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
22893 * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
22894 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
22895 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
22896 * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
22897 * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
22898 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
22900 * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
22901 * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
22902 * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
22903 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
22904 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
22905 * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
22906 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
22908 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
22909 (posix_fallocate): Likewise.
22910 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
22911 * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
22912 * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
22913 * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
22914 (elf_machine_rela, elf_machine_rela_relative)
22915 (elf_machine_lazy_rel): Likewise.
22916 * time/asctime.c (asctime_internal): Likewise.
22917 * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
22918 * time/tzset.c (__tzset_parse_tz): Likewise.
22919 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
22920 * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
22921 * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
22922 * wcsmbs/wcsmbsload.h: Likewise.
22925 * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
22927 * malloc/arena.c (grow_heap, get_free_list, reused_arena)
22928 (arena_get2): Remove THREAD_STATS conditionals.
22929 * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
22930 (__malloc_stats, int): Likewise.
22932 2014-02-08 Mike Frysinger <vapier@gentoo.org>
22934 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
22935 f.f_type to RAMFS_MAGIC too. Compare mp->mnt_type to shm too.
22937 * manual/setjmp.texi: Fix typos/grammar errors.
22939 * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
22940 Only return early when n is <= 0. Delete unused return statement.
22942 * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
22943 (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
22944 * debug/tst-longjmp_chk3.c: New file.
22946 * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
22947 (test_main): Replace code with set_fortify_handler call.
22948 * debug/test-strcpy_chk.c: Likewise.
22949 * debug/tst-chk1.c: Likewise.
22950 * debug/tst-longjmp_chk.c: Likewise.
22951 * test-skeleton.c: Include fcntl.h & paths.h
22952 (set_fortify_handler): Define.
22954 * debug/tst-longjmp_chk.c: Add header comment and include
22955 ../test-skeleton.c.
22956 (do_test): Mark static.
22957 (TEST_FUNCTION): Define.
22959 * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
22960 (IP_PMTUDISC_INTERFACE): Likewise.
22961 (IP_MULTICAST_IF): Likewise.
22962 (IP_MULTICAST_TTL): Likewise.
22963 (IP_MULTICAST_LOOP): Likewise.
22964 (IP_ADD_MEMBERSHIP): Likewise.
22965 (IP_DROP_MEMBERSHIP): Likewise.
22966 (IP_UNBLOCK_SOURCE): Likewise.
22967 (IP_BLOCK_SOURCE): Likewise.
22968 (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
22969 (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
22970 (IP_MSFILTER): Likewise.
22971 (MCAST_JOIN_GROUP): Likewise.
22972 (MCAST_BLOCK_SOURCE): Likewise.
22973 (MCAST_UNBLOCK_SOURCE): Likewise.
22974 (MCAST_LEAVE_GROUP): Likewise.
22975 (MCAST_JOIN_SOURCE_GROUP): Likewise.
22976 (MCAST_LEAVE_SOURCE_GROUP): Likewise.
22977 (MCAST_MSFILTER): Likewise.
22978 (IP_MULTICAST_ALL): Likewise.
22979 (IP_UNICAST_IF): Likewise.
22981 * timezone/Makefile: Delete $(have-ksh) check.
22982 ($(objpfx)tzselect): Change $(KSH) to $(BASH).
22983 * timezone/tzselect.ksh: Add +x mode bits.
22985 * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
22986 (ANON_INODE_FS_MAGIC): Likewise.
22987 (BDEVFS_MAGIC): Likewise.
22988 (BINFMTFS_MAGIC): Likewise.
22989 (BTRFS_TEST_MAGIC): Likewise.
22990 (CRAMFS_MAGIC_WEND): Likewise.
22991 (DEBUGFS_MAGIC): Likewise.
22992 (ECRYPTFS_SUPER_MAGIC): Likewise.
22993 (EXT3_SUPER_MAGIC): Likewise.
22994 (EXT4_SUPER_MAGIC): Likewise.
22995 (FUTEXFS_SUPER_MAGIC): Likewise.
22996 (HOSTFS_SUPER_MAGIC): Likewise.
22997 (HUGETLBFS_MAGIC): Likewise.
22998 (MINIX3_SUPER_MAGIC): Likewise.
22999 (MTD_INODE_FS_MAGIC): Likewise.
23000 (NILFS_SUPER_MAGIC): Likewise.
23001 (OPENPROM_SUPER_MAGIC): Likewise.
23002 (PIPEFS_MAGIC): Likewise.
23003 (PSTOREFS_MAGIC): Likewise.
23004 (QNX6_SUPER_MAGIC): Likewise.
23005 (RAMFS_MAGIC): Likewise.
23006 (REISERFS_SUPER_MAGIC_STRING): Likewise.
23007 (REISER2FS_SUPER_MAGIC_STRING): Likewise.
23008 (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
23009 (SECURITYFS_MAGIC): Likewise.
23010 (SELINUX_MAGIC): Likewise.
23011 (SMACK_MAGIC): Likewise.
23012 (SOCKFS_MAGIC): Likewise.
23013 (SQUASHFS_MAGIC): Likewise.
23014 (STACK_END_MAGIC): Likewise.
23015 (TMPFS_MAGIC): Likewise.
23016 (USBDEVICE_SUPER_MAGIC): Likewise.
23017 (V9FS_MAGIC): Likewise.
23018 (XENFS_SUPER_MAGIC): Likewise.
23019 (CRAMFS_MAGIC): Fix typo in comment.
23020 (EXT2_SUPER_MAGIC): Update comment.
23021 (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
23023 2014-02-08 Joseph Myers <joseph@codesourcery.com>
23025 * sysdeps/arm: Move directory from ports/sysdeps/arm.
23026 * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
23027 * sysdeps/unix/sysv/linux/arm: Move directory from
23028 ports/sysdeps/unix/sysv/linux/arm.
23029 * README: Update listing for arm-*-linux-gnueabi.
23031 * README: Remove mention of am33.
23033 2014-02-07 Roland McGrath <roland@hack.frob.com>
23035 * bits/sigset.h (__sigemptyset): Use a statement expression rather
23036 than the comma operator, to avoid "rhs of comma has no effect"
23038 (__sigfillset, __sigandset, __sigorset): Likewise.
23039 * include/signal.h (__sigemptyset): Likewise.
23040 * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
23042 2014-02-07 Allan McRae <allan@archlinux.org>
23044 * version.h (RELEASE): Set to "development".
23045 (VERSION): Set to "2.19.90"
23046 * NEWS: Add 2.20 section.
23048 2014-02-06 Carlos O'Donell <carlos@redhat.com>
23051 * inet/netinet/in.h: Remove comma after IPPROTO_MH.
23053 2014-02-06 Siddhesh Poyarekar <siddhesh@redhat.com>
23055 * manual/contrib.texi: Update entry for Carlos O'Donell,
23056 Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
23058 2014-02-05 Carlos O'Donell <carlos@rehdat.com>
23060 * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
23062 * sysdeps/unix/sysv/linux/kernel-features.h
23063 [__LINUX_KERNEL_VERSION >= 0x020621]
23064 (__ASSUME_PROC_PID_TASK_COMM): Define.
23066 2014-02-05 Siddhesh Poyarekar <siddhesh@redhat.com>
23069 * libio/wfileops.c (_IO_wfile_seekoff): Break out form
23070 conversion when destination buffer does not have enough space.
23071 * libio/tst-ftell-partial-wide.c: New test case.
23072 * libio/Makefile (tests): Add tst-ftell-partial-wide.
23074 * manual/contrib.texi: Update entry for Ondrej Bilka, Will
23075 Newton and Alexandre Oliva. Add entries for Steve Ellcey, Chris
23076 Leonard and Allan McRae.
23078 2014-02-04 David S. Miller <davem@davemloft.net>
23080 * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
23083 2014-02-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23085 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
23087 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
23089 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
23091 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
23093 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
23095 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
23097 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
23099 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
23101 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
23103 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
23105 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
23107 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
23109 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
23112 2014-02-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23114 * nptl/shlib-versions: Change powerpc*le start to 2.17.
23115 * shlib-versions: Likewise.
23117 2014-02-04 Roland McGrath <roland@hack.frob.com>
23118 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23120 * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
23121 (abilist-pattern): New variable, set to %-le.abilist.
23123 * Makerules (abilist-pattern): New variable.
23124 (vpath): Use $(abilist-pattern) in place of %.abilist.
23125 (check-abi-% pattern rule): Likewise.
23126 (check-abi, update-abi): Likewise.
23128 2014-02-04 Eric Wong <normalperson@yhbt.net>
23130 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
23132 2014-02-03 Carlos O'Donell <carlos@redhat.com>
23134 * manual/startup.texi: Add next, previous, and top entries for
23135 the `Program Arguments' and `Environment Variables' nodes.
23137 2014-02-03 Alexandre Oliva <aoliva@redhat.com>
23139 * manual/macros.texi: Add comments before MTASC-safety macros.
23141 * manual/users.texi: Document MTASC-safety properties.
23143 * manual/threads.texi (pthread_key_create, pthread_key_delete)
23144 (pthread_getspecific, pthread_setspecific): Format with
23145 @deftypefun, and add @safety note.
23146 * manual/signal.texi: Move comments that analyze the above
23147 functions to their home place.
23149 2014-02-03 Allan McRae <allan@archlinux.org>
23151 * po/sl.po: Update Slovenian translation from translation project.
23153 2014-02-02 Alexandre Oliva <aoliva@redhat.com>
23155 * manual/time.texi (timegm): Add missing blank after @c.
23156 Reported by Joseph Myers <joseph@codesourcery.com>.
23158 2014-02-01 Alexandre Oliva <aoliva@redhat.com>
23160 * manual/check-safety.sh: New.
23161 * manual/Makefile ($(objpfx)stamp-summary): Run it.
23163 * manual/terminal.texi: Document MTASC-safety properties.
23165 * manual/filesys.texi: Document MTASC-safety properties.
23167 * manual/errno.texi: Document MTASC-safety properties.
23169 * manual/intro.texi: Document safety identifiers and
23172 * manual/string.texi (wcstok): Fix prototype.
23173 (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
23175 * manual/time.texi: Document MTASC-safety properties.
23177 * manual/string.texi: Document MTASC-safety properties.
23179 * manual/threads.texi: Document MTASC-safety properties.
23181 * manual/stdio.texi: Document MTASC-safety properties.
23183 * manual/syslog.texi: Document MTASC-safety properties.
23185 * manual/sysinfo.texi: Document MTASC-safety properties.
23187 * manual/startup.texi: Document MTASC-safety properties.
23189 * manual/socket.texi: Document MTASC-safety properties.
23191 * manual/signal.texi: Document MTASC-safety properties.
23193 2014-01-31 Alexandre Oliva <aoliva@redhat.com>
23195 * manual/setjmp.texi: Document MTASC-safety properties.
23197 * manual/search.texi: Document MTASC-safety properties.
23199 * manual/resource.texi: Document MTASC-safety properties.
23201 * manual/process.texi: Document MTASC-safety properties.
23203 * manual/platform.texi: Document MTASC-safety properties.
23205 * manual/pipe.texi: Document MTASC-safety properties.
23207 * manual/pattern.texi: Document MTASC-safety properties.
23209 * manual/message.texi: Document MTASC-safety properties.
23212 * manual/memory.texi: Document MTASC-safety properties.
23214 * manual/math.texi: Document MTASC-safety properties.
23216 * manual/locale.texi: Document MTASC-safety properties.
23218 * manual/llio.texi: Document MTASC-safety properties.
23220 * manual/libdl.texi: New.
23222 * manual/lang.texi: Document MTASC-safety properties.
23224 * manual/job.texi: Document MTASC-safety properties.
23226 * manual/getopt.texi: Document MTASC-safety properties.
23228 * manual/ctype.texi: Document MTASC-safety properties.
23230 2014-01-31 Maciej W. Rozycki <macro@codesourcery.com>
23233 * csu/libc-tls.c (static_map): Remove variable.
23234 (__libc_setup_tls): Use main executable's link map for TLS data.
23235 * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
23236 casing for LM_ID_BASE and GL(dl_nns).
23237 * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
23238 function. Alias dl_iterate_phdr to __dl_iterate_phdr.
23239 * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
23240 casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
23241 * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
23243 (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
23246 2014-01-30 Alexandre Oliva <aoliva@redhat.com>
23248 * manual/debug.texi: Document MTASC-safety properties.
23250 2014-01-29 H.J. Lu <hongjiu.lu@intel.com>
23253 * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
23254 of __x86_64__ when disabling x87 inline functions.
23256 2014-01-29 Alexandre Oliva <aoliva@redhat.com>
23258 * manual/charset.texi: Document MTASC-safety properties.
23260 * manual/crypt.texi: Document MTASC-safety properties.
23262 * manual/conf.texi: Document MTASC-safety properties.
23264 * manual/arith.texi: Document MTASC-safety properties.
23266 * manual/argp.texi: Document MTASC-safety properties.
23268 * manual/macros.texi: Introduce macros to document multi
23269 thread, asynchronous signal and asynchronous cancellation
23271 * manual/intro.texi: Introduce the properties themselves.
23273 2014-01-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
23275 * sysdeps/sh/sh4/Makefile: New file.
23277 2014-01-27 Andreas Schwab <schwab@linux-m68k.org>
23279 * math/gen-libm-test.pl ($srcdir): New variable.
23280 ($auto_input): Use it.
23282 2014-01-27 Siddhesh Poyarekar <siddhesh@redhat.com>
23285 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
23286 access beyond array bounds when parsing netgroups file.
23288 * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
23289 the old buffer before realloc.
23291 2014-01-27 Allan McRae <allan@archlinux.org>
23293 * po/fr.po: Update French translation from translation project.
23295 2014-01-26 Kaz Kojima <kkojima@rr.iij4u.or.jp>
23297 * sysdeps/sh/libm-test-ulps: Regenerate.
23299 2014-01-24 David S. Miller <davem@davemloft.net>
23301 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
23303 2014-01-25 Kaz Kojima <kkojima@rr.iij4u.or.jp>
23305 * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
23306 * sysdeps/sh/libm-test-ulps: ... here and regenerated.
23308 2013-01-24 Siddhesh Poyarekar <siddhesh@redhat.com>
23311 * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
23312 string pointers after reallocation.
23314 2014-01-24 Kaz Kojima <kkojima@rr.iij4u.or.jp>
23316 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
23317 __SH4A__ instead of __SH_FPU_ANY__.
23319 2014-01-23 Kaz Kojima <kkojima@rr.iij4u.or.jp>
23321 * sysdeps/sh/fpu_control.h: New file.
23322 * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
23323 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
23324 * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
23325 * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
23326 * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
23327 * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
23328 * sysdeps/sh/sys/ucontext.h: Remove.
23329 * sysdeps/sh/sys: Remove directory.
23331 2014-01-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
23333 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
23334 s390/sys/ucontext.h.
23335 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
23336 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
23338 2014-01-20 H.J. Lu <hongjiu.lu@intel.com>
23341 * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
23343 2014-01-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23346 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
23347 Adjust the vDSO correctly for internal calls.
23348 * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
23350 2014-01-20 Allan McRae <allan@archlinux.org>
23352 * po/ca.po: Update Catalan translation from translation project.
23354 2014-01-16 Mike Frysinger <vapier@gentoo.org>
23356 * sysdeps/s390/sotruss-lib.c: New file.
23358 2014-01-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23361 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
23362 (__GI___gettimeofday): Alias for a different internal symbol to avoid
23363 local calls issues by not having a PLT stub required for IFUNC calls.
23364 * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
23366 2014-01-16 Joseph Myers <joseph@codesourcery.com>
23368 * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
23369 * math/test-fpucw-static.c: Likewise.
23371 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
23374 * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
23376 2014-01-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23378 * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
23379 implementation for powerpc.
23381 2014-01-15 Ondřej Bílka <neleai@seznam.cz>
23384 * sysdeps/posix/system.c (__libc_system): Do not enable
23385 asynchronous cancellation.
23387 2014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
23390 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
23391 handling only for numbers special also in the IEEE case.
23393 2014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
23395 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
23397 2014-01-11 Allan McRae <allan@archlinux.org>
23399 * po/bg.po: Update Bulgarian translation from translation project.
23401 * po/de.po: Update German translation from translation project.
23403 2014-01-10 Roland McGrath <roland@hack.frob.com>
23405 * sysdeps/generic/gcc-compat.h: New file.
23407 2014-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
23409 * benchtests/asin-inputs: Correct slow inputs.
23410 * benchtests/acos-inputs: Likewise.
23412 2014-01-10 Allan McRae <allan@archlinux.org>
23414 * po:sv.po: Update Swedish translation from translation project.
23416 * po/vi.po: Update Vietnamese translation from translation project.
23418 * po/eo.po: Update Esperanto translation from translation project.
23420 * po/cs.po: Update Czech translation from translation project.
23422 * po/nl.po: Update Dutch translation from translation project.
23424 * po/pl.po: Update Polish translation from translation project.
23426 * po/ru.po: Update Russian translation from translation project.
23428 * po/uk.po: Update Ukrainian translation from translation project.
23430 2014-01-08 Brooks Moses <bmoses@google.com>
23432 * elf/dl-load.c: Fix comment typo.
23434 2014-01-08 Carlos O'Donell <carlos@redhat.com>
23436 * po/header.pot: Rename to...
23437 * po/pot.header: ... this.
23438 * po/Makefile: Use pot.header.
23440 2014-01-08 Yuriy Kaminskiy <yumkam@gmail.com>
23441 Maxim Kuvyrkov <maxim@kugelworks.com>
23444 * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
23445 SRC and DEST against LEN.
23447 2014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23450 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
23452 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
23454 2014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23456 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23458 2014-01-08 Joseph Myers <joseph@codesourcery.com>
23461 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
23462 for large positive arguments.
23464 2014-01-07 Joseph Myers <joseph@codesourcery.com>
23466 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
23468 * math/auto-libm-test-in: Mark various tests with
23469 xfail-rounding:ldbl-128ibm.
23470 * math/auto-libm-test-out: Regenerated.
23473 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
23474 Increase overflow threshold.
23476 2014-01-07 Ondřej Bílka <neleai@seznam.cz>
23479 * stdio-common/vfprintf.c: Check for integer overflow.
23481 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
23483 * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
23484 the first argument and return value of __tls_get_addr_internal.
23486 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
23488 * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
23489 also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
23491 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
23493 * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
23494 * sysdeps/s390/rtld-global-offsets.sym: New file.
23495 * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
23497 * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
23498 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
23499 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
23501 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
23502 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
23504 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
23506 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
23508 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
23509 halfs of GPRs for high_gprs contexts.
23510 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
23511 restore upper halfs of GPRs for high_gprs contexts. Copy uc_flags
23513 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
23515 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
23517 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
23518 for high GPRs (uc_high_gprs) and for future extensions
23520 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
23521 for future extensions (__reserved).
23522 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
23524 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
23525 SC_HIGHGPRS offset definition.
23526 * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
23527 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
23529 * Versions.def: Add GLIBC_2.19 for libpthread.
23530 * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
23531 siglongjmp for libpthread with GLIBC_2.19 symver.
23532 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
23533 * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
23534 * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
23535 * sysdeps/s390/__longjmp.c: New file.
23536 * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
23537 * sysdeps/s390/longjmp.c: New file.
23538 * sysdeps/s390/setjmp.S: New file.
23539 * sysdeps/s390/sigjmp.S: New file.
23540 * sysdeps/s390/v1-longjmp.c: New file.
23541 * sysdeps/s390/v1-setjmp.h: New file.
23542 * sysdeps/s390/v1-sigjmp.c: New file.
23543 * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
23544 * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
23545 GLIBC_2.19 version.
23546 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
23547 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
23548 versioned symbols for ____longjmp_chk.
23549 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
23551 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
23553 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
23555 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
23557 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
23559 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
23560 * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
23561 * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
23562 * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
23563 * sysdeps/s390/s390-32/setjmp-common.S: ... this.
23564 * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
23565 * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
23566 * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
23567 * sysdeps/s390/s390-64/setjmp-common.S: ... this.
23568 * sysdeps/s390/rtld-__longjmp.c: New file.
23569 * sysdeps/s390/rtld-setjmp.S: New file.
23571 2014-01-06 Joseph Myers <joseph@codesourcery.com>
23574 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
23575 Return -__logl (x) for small positive arguments without evaluating
23578 2014-01-06 Mike Frysinger <vapier@gentoo.org>
23580 * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
23582 (__ptrace_peeksiginfo_args): ... this.
23583 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
23584 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
23585 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
23587 2014-01-06 Allan McRae <allan@archlinux.org>
23589 * inet/netinet/in.h: Fix typo in comment.
23591 2014-01-05 Andreas Jaeger <aj@suse.de>
23593 * sysdeps/i386/fpu/libm-test-ulps: Update.
23595 2014-01-05 Allan McRae <allan@archlinux.org>
23597 * po/libc.pot: Regenerated.
23599 * malloc/memusagestat.c: Fix gettext call formatting.
23601 2014-01-04 Sami Kerola <kerolasa@iki.fi>
23603 * nscd/nscd.c: Improve usage() output.
23605 2014-01-04 Mike Frysinger <vapier@gentoo.org>
23607 * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
23608 * sysdeps/unix/sysv/linux/configure: Regenerated.
23609 * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
23610 * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
23612 2014-01-03 Joseph Myers <joseph@codesourcery.com>
23615 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
23616 (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
23618 2014-01-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23620 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
23621 extra tokens at end of #undef directive.
23622 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
23623 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
23624 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
23626 2014-01-03 Joseph Myers <joseph@codesourcery.com>
23628 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
23630 * math/auto-libm-test-in: Mark various tests with
23631 xfail-rounding:ldbl-128ibm.
23632 * math/auto-libm-test-out: Regenerated.
23634 2014-01-02 Joseph Myers <joseph@codesourcery.com>
23637 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
23638 numbers with subnormal high part when calculating exponent.
23641 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
23645 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
23647 (__ieee754_acoshl): Use __log1pl not __log1p.
23649 2013-01-02 Ondřej Bílka <neleai@seznam.cz>
23651 * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
23652 (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
23653 (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
23654 (grow_heap, heap_trim, _int_new_arena, get_free_list)
23655 (reused_arena, arena_get2): Convert to GNU style.
23656 * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
23657 (mem2mem_check, mem2chunk_check, top_check, realloc_check)
23658 (memalign_check, __malloc_set_state): Likewise.
23659 * malloc/mallocbug.c (main): Likewise.
23660 * malloc/malloc.c (__malloc_assert, malloc_init_state)
23661 (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
23662 (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
23663 (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
23664 (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
23665 (__posix_memalign, malloc_info): Likewise.
23666 * malloc/malloc.h: Likewise.
23667 * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
23668 (mallochook, memalignhook, reallochook, mabort): Likewise.
23669 * malloc/mcheck.h: Likewise.
23670 * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
23671 (free, mmap, mmap64, mremap, munmap, dest): Likewise.
23672 * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
23673 * malloc/morecore.c (__default_morecore): Likewise.
23674 * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
23675 * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
23676 (_obstack_allocated_p, obstack_free, _obstack_memory_used)
23677 (print_and_abort): Likewise.
23678 * malloc/obstack.h: Likewise.
23679 * malloc/set-freeres.c (__libc_freeres): Likewise.
23680 * malloc/tst-mallocstate.c (main): Likewise.
23681 * malloc/tst-mtrace.c (main): Likewise.
23682 * malloc/tst-realloc.c (do_test): Likewise.
23684 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
23687 * nscd/netgroupcache.c (do_notfound): New function.
23688 (addgetnetgrentX): Use it.
23691 * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
23692 NSS_STATUS_NOTFOUND.
23694 2014-01-01 Joseph Myers <joseph@codesourcery.com>
23696 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
23697 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23699 2014-01-01 Allan McRae <allan@archlinux.org>
23701 * scripts/update-copyrights: Update configure input file suffix.
23703 * NEWS: Update copyright year.
23704 * catgets/gencat.c: Likewise.
23705 * csu/version.c: Likewise.
23706 * debug/catchsegv.sh: Likewise.
23707 * debug/pcprofiledump.c: Likewise.
23708 * debug/xtrace.sh: Likewise.
23709 * elf/ldconfig.c: Likewise.
23710 * elf/ldd.bash.in: Likewise.
23711 * elf/pldd.c: Likewise.
23712 * elf/sotruss.ksh: Likewise.
23713 * elf/sprof.c: Likewise.
23714 * iconv/iconv_prog.c: Likewise.
23715 * iconv/iconvconfig.c: Likewise.
23716 * locale/programs/locale.c: Likewise.
23717 * locale/programs/localedef.c: Likewise.
23718 * login/programs/pt_chown.c: Likewise.
23719 * malloc/memusage.sh: Likewise.
23720 * malloc/memusagestat.c: Likewise.
23721 * malloc/mtrace.pl: Likewise.
23722 * manual/libc.texinfo: Likewise.
23723 * nscd/nscd.c: Likewise.
23724 * nss/getent.c: Likewise.
23725 * nss/makedb.c: Likewise.
23726 * posix/getconf.c: Likewise.
23727 * scripts/test-installation.pl: Likewise.
23729 * All files with FSF copyright notices: Update copyright dates
23730 using scripts/update-copyrights.
23731 * intl/plural.c: Regenerated.
23732 * locale/programs/charmap-kw.h: Likewise.
23733 * locale/programs/locfile-kw.h: Likewise.
23735 2013-12-31 Mike Frysinger <vapier@gentoo.org>
23737 * sysdeps/unix/sysv/linux/configure: Regenerated.
23738 * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
23739 the linux/fanotify.h header.
23740 * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
23741 HAVE_LINUX_FANOTIFY_H is defined.
23743 2013-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
23745 * benchtests/cos-inputs: New inputs.
23746 * benchtests/sin-inputs: Likewise.
23748 * benchtests/atan-inputs: New inputs. Fix name of multiple
23749 precision fallback inputs.
23751 * benchtests/atanh-inputs: New inputs.
23752 * benchtests/tanh-inputs: Likewise.
23754 * benchtests/acosh-inputs: New inputs.
23755 * benchtests/asinh-inputs: Likewise.
23757 * benchtests/cosh-inputs: New inputs.
23758 * benchtests/sinh-inputs: Likewise.
23760 * benchtests/acos-inputs: Add more inputs.
23761 * benchtests/asin-inputs: Likewise.
23763 2013-12-30 Ville Skytta <ville.skytta@iki.fi>
23766 * manual/arith.texi: Fix spelling.
23767 * manual/charset.texi: Likewise.
23768 * manual/errno.texi: Likewise.
23769 * manual/filesys.texi: Likewise.
23770 * manual/lang.texi: Likewise.
23771 * manual/llio.texi: Likewise.
23772 * manual/locale.texi: Likewise.
23773 * manual/message.texi: Likewise.
23774 * manual/resource.texi: Likewise.
23775 * manual/search.texi: Likewise.
23776 * manual/setjmp.texi: Likewise.
23777 * manual/stdio.texi: Likewise.
23778 * manual/string.texi: Likewise.
23779 * manual/sysinfo.texi: Likewise.
23780 * manual/time.texi: Likewise.
23782 2013-12-27 Carlos O'Donell <carlos@redhat.com>
23784 * po/sl.po: New file.
23786 2013-12-27 Mike Frysinger <vapier@gentoo.org>
23788 * .gitignore: Add core/.gdbinit/.gdb_history.
23790 2013-12-27 Allan McRae <allan@archlinux.org>
23793 * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
23794 Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
23796 2013-12-24 Brooks Moses <bmoses@google.com>
23798 * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
23799 all compilers that claim C++98 compliance, not just GCC.
23800 * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
23803 2013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
23805 * NEWS: Restore accidentally deleted bug-fix entries.
23807 2013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
23808 Ondřej Bílka <neleai@seznam.cz>
23811 * malloc/malloc.c (_int_free): Perform sanity check only if we
23814 2013-12-23 Ondřej Bílka <neleai@seznam.cz>
23817 * manual/stdio.texi (String Input Conversions): Clarify that character
23818 classes are not supported.
23820 2013-12-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23822 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23824 2013-12-22 Joseph Myers <joseph@codesourcery.com>
23827 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
23828 Calculate results for small negative arguments directly rather
23829 than using reflection formula with special underflow handling.
23831 * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
23832 * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
23833 sysdeps/unix/bsd/bsd4.4/syscalls.list.
23834 (fchflags): Likewise.
23835 (revoke): Likewise.
23836 (setlogin): Likewise.
23837 (sigaltstack): Likewise.
23839 (sigblock): Remove.
23840 (sigsetmask): Likewise.
23842 (waitpid): Likewise.
23843 * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
23844 * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
23846 * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
23847 * sysdeps/unix/bsd/Makefile: ... here.
23848 * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
23849 * sysdeps/unix/bsd/Versions: ... here.
23850 * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
23851 * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
23852 * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
23853 * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
23854 * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
23855 * sysdeps/unix/bsd/sigblock.c: ... here.
23856 * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
23857 * sysdeps/unix/bsd/sigsetmask.c: ... here.
23858 * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
23859 * sysdeps/unix/bsd/sigvec.c: ... here.
23860 * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
23861 * sysdeps/unix/bsd/tcdrain.c: ... here.
23862 * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
23863 * sysdeps/unix/bsd/tcgetattr.c: ... here.
23864 * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
23865 * sysdeps/unix/bsd/tcsetattr.c: ... here.
23866 * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
23867 * sysdeps/unix/bsd/wait.c: ... here.
23868 * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
23869 * sysdeps/unix/bsd/wait3.c: ... here.
23870 * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
23871 * sysdeps/unix/bsd/waitpid.c: ... here.
23873 2013-12-21 Joseph Myers <joseph@codesourcery.com>
23876 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
23877 round-to-nearest for [!USE_AS_EXPM1L].
23878 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
23879 * math/auto-libm-test-in: Do not expect cosh tests to fail. Add
23880 more tests of exp and exp10. Expect some exp10 tests to miss
23881 exceptions or fail in directed rounding modes.
23882 * math/auto-libm-test-out: Regenerated.
23883 * math/libm-test.inc (exp10_tonearest_test_data): New array.
23884 (exp10_test_tonearest): New function.
23885 (exp10_towardzero_test_data): New array.
23886 (exp10_test_towardzero): New function.
23887 (exp10_downward_test_data): New array.
23888 (exp10_test_downward): New function.
23889 (exp10_upward_test_data): New array.
23890 (exp10_test_upward): New function.
23891 (main): Call the new functions.
23892 * sysdeps/i386/fpu/libm-test-ulps: Update.
23893 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23895 2013-12-20 Joseph Myers <joseph@codesourcery.com>
23897 * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
23898 asinh, atan, atan2, atanh, cbrt, cos and cosh.
23899 * math/auto-libm-test-out: Regenerated.
23900 * math/libm-test.inc (acosh_test_data): Add more tests.
23901 (atanh_test_data): Likewise.
23902 (ceil_test_data): Likewise.
23903 (copysign_test_data): Likewise.
23904 * sysdeps/i386/fpu/libm-test-ulps: Update.
23905 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23907 * timezone/checktab.awk: Update from tzcode 2013i.
23908 * timezone/private.h: Likewise.
23909 * timezone/scheck.c: Likewise.
23910 * timezone/tzfile.h: Likewise.
23911 * timezone/tzselect.ksh: Likewise.
23912 * timezone/zdump.c: Likewise.
23913 * timezone/zic.c: Likewise.
23915 * math/auto-libm-test-in: Add tests of cpow.
23916 * math/auto-libm-test-out: Regenerated.
23917 * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
23918 * math/gen-auto-libm-tests.c (func_calc_method): Add value
23920 (func_calc_desc): Add mpc_cc_c union field.
23921 (test_functions): Add cpow.
23922 (special_fill_2pi): New function.
23923 (special_real_inputs): Add 2pi.
23924 (calc_generic_results): Handle mpc_cc_c.
23925 * sysdeps/i386/fpu/libm-test-ulps: Update.
23926 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23928 * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
23929 csqrt, ctan and ctanh.
23930 * math/auto-libm-test-out: Regenerated.
23931 * math/libm-test.inc (TEST_COND_x86_64): New macro.
23932 (TEST_COND_x86): Likewise.
23933 (ccos_test_data): Use AUTO_TESTS_c_c.
23934 (ccosh_test_data): Likewise.
23935 (cexp_test_data): Likewise.
23936 (clog_test_data): Likewise.
23937 (csqrt_test_data): Likewise.
23938 (ctan_test_data): Likewise.
23939 (ctan_tonearest_test_data): Likewise.
23940 (ctan_towardzero_test_data): Likewise.
23941 (ctan_downward_test_data): Likewise.
23942 (ctan_upward_test_data): Likewise.
23943 (ctanh_test_data): Likewise.
23944 (ctanh_tonearest_test_data): Likewise.
23945 (ctanh_towardzero_test_data): Likewise.
23946 (ctanh_downward_test_data): Likewise.
23947 (ctanh_upward_test_data): Likewise.
23948 * math/gen-auto-libm-tests.c (func_calc_method): Add value
23950 (func_calc_desc): Add mpc_c_c union field.
23951 (FUNC_mpc_c_c): New macro.
23952 (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
23953 ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
23955 (special_fill_min_subnorm_p120): New function.
23956 (special_real_inputs): Add min_subnorm_p120.
23957 (calc_generic_results): Handle mpc_c_c.
23958 * sysdeps/i386/fpu/libm-test-ulps: Update.
23959 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23961 2013-12-20 Siddhesh Poyarekar <siddhesh@redhat.com>
23963 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
23964 (do_sin_slow): New functions.
23965 (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
23966 (cslow2, csloww1, csloww2): Use the new functions.
23968 * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
23969 Use M to change sign of result instead of X. Assume X is
23971 (csloww1): Likewise.
23975 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
23976 arguments A and DA.
23980 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
23982 (sloww1): Don't adjust sign of DX.
23983 (csloww1): Likewise.
23984 (sloww2): Use X directly and don't adjust sign of DX.
23985 (csloww2): Likewise.
23987 2013-12-19 Joseph Myers <joseph@codesourcery.com>
23989 * math/auto-libm-test-in: Add tests of cabs and carg.
23990 * math/auto-libm-test-out: Regenerated.
23991 * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
23992 (carg_test_data): Likewise.
23993 * math/gen-auto-libm-tests.c (func_calc_method): Add value
23995 (func_calc_desc): Add mpc_c_f union field.
23996 (test_functions): Add cabs and carg.
23997 (calc_generic_results): Handle mpc_c_f.
23999 * sysdeps/powerpc/powerpc32/libgcc-compat.S
24000 [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
24001 as a macro and a compat symbol.
24002 [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
24003 [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
24004 [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
24005 [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
24006 [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
24007 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
24009 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
24011 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
24013 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
24015 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
24017 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
24019 * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
24020 __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
24023 2013-12-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24025 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24027 2013-12-19 Joseph Myers <joseph@codesourcery.com>
24029 * manual/texinfo.tex: Update to version 2013-11-26.10 with
24030 trailing whitespace removed.
24031 * scripts/config.guess: Update to version 2013-11-29.
24032 * scripts/config.sub: Update to version 2013-10-01.
24034 * math/auto-libm-test-in: Add tests of sincos.
24035 * math/auto-libm-test-out: Regenerated.
24036 * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
24037 * math/gen-auto-libm-tests.c (func_calc_method): Add value
24039 (func_calc_desc): Add mpfr_f_11 union field.
24040 (test_functions): Add sincos.
24041 (calc_generic_results): Handle mpfr_f_11.
24042 * sysdeps/i386/fpu/libm-test-ulps: Update.
24043 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24045 2013-12-19 Andreas Schwab <schwab@suse.de>
24047 * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
24049 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
24050 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
24051 [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
24053 2013-12-19 Joseph Myers <joseph@codesourcery.com>
24055 * math/gen-libm-test.pl (%beautify): Remove M_* constants.
24056 * sysdeps/i386/fpu/libm-test-ulps: Update.
24057 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24060 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
24061 round-to-nearest mode when using frndint.
24062 * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
24063 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
24064 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
24066 * math/auto-libm-test-in: Add more tests of expm1. Do not expect
24068 * math/auto-libm-test-out: Regenerated.
24069 * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
24070 (TEST_COND_x86): Likewise.
24071 (expm1_tonearest_test_data): New array.
24072 (expm1_test_tonearest): New function.
24073 (expm1_towardzero_test_data): New array.
24074 (expm1_test_towardzero): New function.
24075 (expm1_downward_test_data): New array.
24076 (expm1_test_downward): New function.
24077 (expm1_upward_test_data): New array.
24078 (expm1_test_upward): New function.
24079 (main): Run the new test functions.
24080 * sysdeps/i386/fpu/libm-test-ulps: Update.
24081 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24083 * include/features.h: Update comment documenting feature test
24084 macros. Mention _DEFAULT_SOURCE in comment.
24085 [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
24086 [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
24087 _BSD_SOURCE and _SVID_SOURCE.
24088 [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
24089 !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
24090 !_SVID_SOURCE]: Likewise.
24091 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
24092 (__USE_POSIX_IMPLICITLY): Define.
24093 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
24094 (_POSIX_SOURCE): Undefine and redefine.
24095 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
24096 (_POSIX_C_SOURCE): Likewise.
24097 * manual/creature.texi (_DEFAULT_SOURCE): Document.
24098 (Feature Test Macros): Update documentation of default features.
24100 2013-12-19 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
24102 * benchtests/Makefile: Add bench-strtok.
24103 * benchtests/bench-strtok.c: New file: strtok benchtest.
24105 2013-12-19 Allan McRae <allan@archlinux.org>
24107 * manual/install.texi: Suppress menu for plain text output.
24108 * INSTALL: Regenerated.
24110 2013-12-18 Brooks Moses <bmoses@google.com>
24113 * misc/getauxval.c: Include errno.h.
24114 (__getauxval): Set errno to ENOENT if the requested type is not
24116 * misc/sys/auxv.h (getauxval): Document that it may set errno;
24117 don't declare with __attribute_const__.
24118 * elf/tst-auxv.c: Add tests for errno and type-not-found case.
24119 * manual/startup.texi: Document that getauxval sets errno.
24121 2013-12-18 Joseph Myers <joseph@codesourcery.com>
24123 * math/auto-libm-test-in: Add tests of jn and yn.
24124 * math/auto-libm-test-out: Regenerated.
24125 * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
24126 (yn_test_data): Likewise.
24127 * math/gen-auto-libm-tests.c (func_calc_method): Add value
24129 (func_calc_desc): Add mpfr_if_f union field.
24130 (FUNC_mpfr_if_f): New macro.
24131 (test_functions): Add jn and yn.
24132 (calc_generic_results): Assert type of second input for
24133 mpfr_ff_f. Handle mpfr_if_f.
24134 (output_for_one_input_case): Disable all checking for arguments
24135 fitting floating-point types in case of an integer argument.
24136 * sysdeps/i386/fpu/libm-test-ulps: Update.
24137 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24139 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
24140 Don't expect fegetround reference in libm.so.
24142 2013-12-17 Marcus Shawcroft <marcus.shawcroft@linaro.org>
24144 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
24145 $(config-cflags-nofma).
24147 2013-12-18 Joseph Myers <joseph@codesourcery.com>
24149 * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
24150 * math/auto-libm-test-out: Regenerated.
24153 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
24154 to determine exponent and adjust argument to have exponent of -1.
24155 * math/auto-libm-test-in: Add more tests of log, log10, log1p and
24157 * math/auto-libm-test-out: Regenerated.
24158 * sysdeps/i386/fpu/libm-test-ulps: Update.
24159 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24161 2013-12-18 Ondřej Bílka <neleai@seznam.cz>
24163 * manual/probes.texi: Remove cases when per-thread arenas are
24166 2013-12-18 Andreas Schwab <schwab@suse.de>
24168 * sysdeps/i386/i686/multiarch/strstr.c: Remove.
24169 * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
24170 * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
24171 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
24172 * sysdeps/i386/i686/multiarch/Makefile: Update.
24173 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
24175 2013-12-17 Joseph Myers <joseph@codesourcery.com>
24177 * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
24178 * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
24180 2013-12-17 Paul Eggert <eggert@cs.ucla.edu>
24183 Support TZ transition times < 00:00:00.
24184 This is needed for version-3 tz-format files; it supports time
24185 stamps past 2037 for America/Godthab (the only entry in the tz
24186 database for which this change is relevant).
24187 * manual/time.texi (TZ Variable): Document transition times
24188 from -167:59:59 through -00:00:01.
24189 * time/tzset.c (tz_rule): Time of day is now signed.
24190 (__tzset_parse_tz): Parse negative time of day.
24192 Document TZ transition times >= 25:00:00.
24193 * manual/time.texi (TZ Variable): Document transition times from
24194 25:00:00 through 167:59:59. These are already supported, and this
24195 support will help with version-3 tz-format files.
24197 * manual/time.texi (TZ Variable): Modernize North America example
24198 to reflect current (i.e., 2007-and-later) daylight saving rules.
24200 * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
24202 2013-12-17 Joseph Myers <joseph@codesourcery.com>
24204 * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
24205 * sysdeps/unix/bsd/bits/stat.h: Likewise.
24206 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
24207 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
24208 * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
24209 * sysdeps/unix/bsd/bsdstat.h: Likewise.
24210 * sysdeps/unix/bsd/clock.c: Likewise.
24211 * sysdeps/unix/bsd/i386/vfork.S: Likewise.
24212 * sysdeps/unix/bsd/i386/wait3.S: Likewise.
24213 * sysdeps/unix/bsd/init-posix.c: Likewise.
24214 * sysdeps/unix/bsd/poll.c: Likewise.
24215 * sysdeps/unix/bsd/ptsname.c: Likewise.
24216 * sysdeps/unix/bsd/seekdir.c: Likewise.
24217 * sysdeps/unix/bsd/setegid.c: Likewise.
24218 * sysdeps/unix/bsd/seteuid.c: Likewise.
24219 * sysdeps/unix/bsd/setgid.c: Likewise.
24220 * sysdeps/unix/bsd/setrgid.c: Likewise.
24221 * sysdeps/unix/bsd/setruid.c: Likewise.
24222 * sysdeps/unix/bsd/setsid.c: Likewise.
24223 * sysdeps/unix/bsd/setuid.c: Likewise.
24224 * sysdeps/unix/bsd/sigaction.c: Likewise.
24225 * sysdeps/unix/bsd/sigprocmask.c: Likewise.
24226 * sysdeps/unix/bsd/sigsuspend.c: Likewise.
24227 * sysdeps/unix/bsd/sys/reboot.h: Likewise.
24228 * sysdeps/unix/bsd/telldir.c: Likewise.
24229 * sysdeps/unix/bsd/times.c: Likewise.
24230 * sysdeps/unix/bsd/usleep.c: Likewise.
24232 * misc/Makefile (install-lib): Remove libbsd-compat.a.
24233 ($(objpfx)libbsd-compat.a): Remove rule.
24235 * include/features.h (__FAVOR_BSD): Do not define.
24236 * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
24237 features conflicting with POSIX.
24238 (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
24239 (_BSD_SOURCE): Remove description of not being a subset of other
24240 feature test macros.
24241 * manual/job.texi (getpgrp): Do not document BSD version.
24242 (getpgid): Do not document by reference to BSD getpgrp.
24243 * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
24244 * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
24245 * signal/signal.h [__FAVOR_BSD]: Likewise.
24246 * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
24247 instead of making contents conditional on [__FAVOR_BSD].
24248 * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
24250 2013-12-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24252 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24254 2013-12-17 Joseph Myers <joseph@codesourcery.com>
24257 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
24258 values below 2**-450, not 2**-500.
24259 * math/auto-libm-test-in: Don't allow spurious underflow from
24261 * math/auto-libm-test-out: Regenerated.
24265 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
24266 values of ha and hb and sort them after adjusting subnormal
24268 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
24270 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
24271 values of ea and eb and sort them after adjusting subnormal
24273 * math/auto-libm-test-in: Do not expect some hypot tests of
24274 subnormals to fail. Add more hypot tests.
24275 * math/auto-libm-test-out: Regenerated.
24277 2013-12-16 Kaz Kojima <kkojima@rr.iij4u.or.jp>
24280 * sysdeps/sh/s_fma.c: New file.
24281 * sysdeps/sh/s_fmaf.c: New file.
24282 * sysdeps/sh/soft-fp/sfp-machine.h: New file. Based on arm
24284 * sysdeps/sh/Implies: Add sh/soft-fp.
24286 2013-12-16 Roland McGrath <roland@hack.frob.com>
24288 * elf/dl-error.c (struct catch): Add new member `errcode'. Add a
24289 level of indirection to members `objname', `errstring', `malloced'.
24290 (_dl_signal_error): Store through pointers in *LCATCH rather modifying
24291 *LCATCH itself. Set *LCATCH->errcode to ERRCODE rather than passing
24292 it as the __longjmp argument (just pass 1 instead).
24293 (_dl_catch_error): Initialize C with argument pointers and address of
24294 volatile local ERRCODE rather than copying values out of C at return.
24296 2013-12-16 Joseph Myers <joseph@codesourcery.com>
24298 * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
24299 * math/auto-libm-test-out: Regenerated.
24300 * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
24301 (hypot_test_data): Likewise.
24302 (pow_test_data): Likewise.
24303 (pow_tonearest_test_data): Likewise.
24304 * math/gen-auto-libm-tests.c (func_calc_method): Add value
24306 (func_calc_desc): Add mpfr_ff_f union field.
24307 (FUNC_mpfr_ff_f): New macro.
24308 (test_functions): Add atan2, hypot and pow.
24309 (special_fill_min): New function.
24310 (special_fill_minus_min): Likewise.
24311 (special_fill_min_subnorm): Likewise.
24312 (special_fill_minus_min_subnorm): Likewise.
24313 (special_real_inputs): Add min, -min, min_subnorm and
24315 (calc_generic_results): Handle mpfr_ff_f.
24316 * sysdeps/i386/fpu/libm-test-ulps: Update.
24317 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24319 2013-12-16 Will Newton <will.newton@linaro.org>
24321 * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
24322 (Aligned Memory Blocks): Add documentation for aligned_alloc
24323 and suggest it as an alternative to posix_memalign.
24324 (Hooks for Malloc): Document __memalign_hook is also called
24325 for aligned_alloc. (Summary of Malloc): Add summary for
24326 aligned alloc. Document __memalign_hook is also called
24329 2013-12-16 Will Newton <will.newton@linaro.org>
24331 * manual/memory.texi (Malloc Examples): Clarify default
24332 alignment documentation. Suggest posix_memalign rather
24333 than memalign or valloc.
24334 (Aligned Memory Blocks): Remove suggestion to use memalign
24335 or valloc. Remove obsolete comment about BSD.
24336 Document memalign errno values and mark the function obsolete.
24337 Document posix_memalign returned error codes. Mark valloc
24338 as obsolete. (Hooks for Malloc): __memalign_hook is also
24339 called for posix_memalign and valloc.
24340 (Summary of Malloc): Add posix_memalign to function summary.
24341 __memalign_hook is also called for posix_memalign and valloc.
24343 2013-12-16 Siddhesh Poyarekar <siddhesh@redhat.com>
24345 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
24349 (sloww): Use mynumber union. Expand ternary operator into
24350 if-else statements.
24351 (cslow): use mynumber union.
24353 2013-12-16 Allan McRae <allan@archlinux.org>
24355 * configure.ac: Set AUTOCONF when maintainer-mode is not used.
24356 * configure: Regenerated.
24358 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
24361 * configure.ac: Added --enable-maintainer-mode. Check for
24362 autoconf when enabled.
24363 * configure: Regenerated.
24365 * nscd/nscd.service: New file.
24366 * nscd/nscd.tmpfiles: New file.
24368 2013-12-14 Ondřej Bílka <neleai@seznam.cz>
24371 * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
24372 * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
24373 * sysdeps/x86_64/multiarch/strstr.c: ... here.
24374 (strstr): Add __strstr_sse2_unaligned ifunc.
24375 * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
24376 * sysdeps/x86_64/multiarch/strcasestr.c ... here.
24377 (strcasestr): Remove __strcasestr_sse42 ifunc.
24378 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
24379 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
24380 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
24382 2013-12-14 Kaz Kojima <kkojima@rr.iij4u.or.jp>
24384 * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
24385 * sysdeps/sh/bits/fenv.h: ... here.
24386 * sysdeps/sh/sh4/fpu/bits: Remove directory.
24388 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24390 * NEWS: Mention ppc64 STT_GNU_IFUNC support.
24392 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
24393 hypotf multiarch implementations.
24394 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
24395 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
24396 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
24397 multiarch hypot for PPC64.
24398 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
24399 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
24400 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
24401 multiarch hypotf for PPC64.
24403 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
24404 modff multiarch implementations.
24405 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
24406 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
24407 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
24408 multiarch modf for PPC64.
24409 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
24410 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
24411 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
24412 multiarch modff for PPC64.
24414 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
24415 and logl multiarch implementations.
24416 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
24417 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
24418 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
24419 multiarch logb for PPC64.
24420 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
24421 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
24422 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
24423 multiarch logb for PPC64.
24424 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
24425 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
24426 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
24427 multiarch logb for PPC64.
24429 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
24430 isinff multiarch implementation.
24431 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
24433 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
24434 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
24435 multiarch isinf for PPC64.
24436 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
24438 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
24439 multiarch isinff for PPC64.
24441 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
24442 finitef multiarch implementation.
24443 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
24445 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
24446 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
24447 multiarch finite for PPC64.
24448 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
24450 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
24451 multiarch finitef for PPC64.
24453 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
24454 lrint multiarch implementation.
24455 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
24457 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
24458 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
24459 multiarch llrint for PPC64.
24460 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
24461 multiarch lrint for PPC64.
24463 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
24464 copysignf multiarch implementation.
24465 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
24467 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
24469 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
24470 multiarch copysign for PPC64.
24471 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
24472 multiarch copysignf for PPC64.
24474 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
24475 multiarch implementation.
24476 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
24478 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
24480 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
24482 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
24484 multiarch llround for PPC64.
24485 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
24486 multiarch trunc for PPC64.
24487 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
24488 multiarch truncf for PPC64.
24490 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
24491 multiarch implementation.
24492 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
24494 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
24496 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
24498 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
24500 multiarch llround for PPC64.
24501 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
24502 multiarch round for PPC64.
24503 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
24504 multiarch roundf for PPC64.
24506 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
24507 multiarch implementation.
24508 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
24510 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
24512 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
24514 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
24516 multiarch llround for PPC64.
24517 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
24518 multiarch floor for PPC64.
24519 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
24520 multiarch floorf for PPC64.
24522 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
24523 multiarch implementation.
24524 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
24526 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
24528 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
24530 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
24532 multiarch llround for PPC64.
24533 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
24534 multiarch ceil for PPC64.
24535 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
24536 multiarch ceilf for PPC64.
24538 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
24539 multiarch implementation.
24540 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
24542 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
24544 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
24546 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
24547 multiarch llround for PPC64.
24548 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
24549 multiarch lround for PPC64.
24551 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
24552 multiarch implementation.
24553 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
24554 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
24555 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
24557 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
24558 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
24559 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
24560 multiarch isnan for PPC64.
24561 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
24562 multiarch isnanf for PPC64.
24564 * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
24565 * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
24566 * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
24567 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
24568 * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
24569 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
24571 * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
24572 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
24573 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
24574 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
24576 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
24577 multiarch implementations.
24578 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
24579 (__libc_ifunc_impl_list): Likewise.
24580 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
24581 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
24582 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
24583 multiarch stpcpy for PPC64.
24585 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
24586 multiarch implementations.
24587 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
24588 (__libc_ifunc_impl_list): Likewise.
24589 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
24590 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
24591 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
24592 multiarch strcpy for PPC64.
24594 * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
24595 redefine function name.
24596 (_wordcopy_fwd_dest_aligned): Likewise.
24597 (_wordcopy_bwd_aligned): Likewise.
24598 (_wordcopy_bwd_dest_aligned): Likewise.
24599 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
24600 multiarch implementations.
24601 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
24602 (__libc_ifunc_impl_list): Likewise.
24603 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
24604 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
24605 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
24606 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
24607 multiarch wcscpy for PPC64.
24609 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
24610 multiarch implementations.
24611 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
24612 (__libc_ifunc_impl_list): Likewise.
24613 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
24614 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
24615 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
24616 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
24617 multiarch wcscpy for PPC64.
24619 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
24620 multiarch implementations.
24621 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
24622 (__libc_ifunc_impl_list): Likewise.
24623 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
24624 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
24625 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
24626 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
24627 multiarch wcsrchr for PPC64.
24629 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
24630 multiarch implementations.
24631 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
24632 (__libc_ifunc_impl_list): Likewise.
24633 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
24634 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
24635 * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
24636 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
24637 multiarch wcschr for PPC64.
24639 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
24640 multiarch implementations.
24641 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
24642 (__libc_ifunc_impl_list): Likewise.
24643 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
24644 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
24645 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
24646 multiarch strchrnul for PPC64.
24648 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
24650 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
24651 (__libc_ifunc_impl_list): Likewise.
24652 * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
24653 * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
24654 * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
24655 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
24658 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
24660 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
24661 (__libc_ifunc_impl_list): Likewise.
24662 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
24663 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
24664 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
24665 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
24668 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
24669 multiarch implementations.
24670 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
24671 (__libc_ifunc_impl_list): Likewise.
24672 * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
24673 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
24674 strncasecmp for PPC64.
24675 * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
24676 * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
24677 multiarch strncasecmp_l for PPC64.
24679 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
24680 multiarch implementations.
24681 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
24682 (__libc_ifunc_impl_list): Likewise.
24683 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
24684 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
24685 multiarch strcasecmp for PPC64.
24686 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
24688 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
24689 multiarch strcasecmp_l for PPC64.
24691 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
24693 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
24694 (__libc_ifunc_impl_list): Likewise.
24695 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
24696 * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
24697 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
24700 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
24702 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
24703 (__libc_ifunc_impl_list): Likewise.
24704 * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
24705 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
24706 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
24709 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
24711 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
24712 (__libc_ifunc_impl_list): Likewise.
24713 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
24714 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
24715 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
24716 rawmemrchr for PPC64.
24718 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
24720 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
24721 (__libc_ifunc_impl_list): Likewise.
24722 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
24723 * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
24724 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
24727 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
24729 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
24730 (__libc_ifunc_impl_list): Likewise.
24731 * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
24732 * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
24733 * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
24736 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
24738 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
24739 (__libc_ifunc_impl_list): Likewise.
24740 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
24741 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
24742 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
24745 * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
24746 avoid cretion of __bzero symbol.
24747 * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
24749 * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
24751 * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
24753 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
24754 multiarch implementations.
24755 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
24756 (__libc_ifunc_impl_list): Likewise.
24757 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
24758 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
24759 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
24760 * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
24762 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
24763 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
24764 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
24765 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
24766 * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
24768 * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
24770 * string/memcmp.c (memcmp): Using macro to redefine symbol name.
24771 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
24773 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
24774 (__libc_ifunc_impl_list): Likewise.
24775 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
24776 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
24777 * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
24778 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
24781 * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
24782 multiarch for POWER/PPC64.
24783 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
24784 * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
24785 * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
24786 * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
24787 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
24788 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
24789 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
24790 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
24791 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
24794 * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
24795 * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
24796 * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
24797 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
24798 * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
24799 * sysdeps/powerpc/powerpc64/power5/Implies: New File.
24800 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
24801 * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
24802 * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
24803 * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
24804 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
24805 * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
24806 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
24807 * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
24808 * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
24809 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
24810 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
24811 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
24812 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
24813 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
24814 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
24815 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
24817 2013-12-12 Kaz Kojima <kkojima@rr.iij4u.or.jp>
24819 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
24821 2013-12-12 Siddhesh Poyarekar <siddhesh@redhat.com>
24823 * benchtests/Makefile (bench): Add exp2 and log2.
24824 (LDLIBS-bench-exp2): Add -lm.
24825 (LDLIBS-bench-log2): Likewise.
24826 * benchtests/exp2-inputs: New inputs file.
24827 * benchtests/log2-inputs: New inputs file.
24828 * benchtests/log-inputs: Add new inputs.
24829 * benchtests/tan-inputs: Likewise.
24831 2013-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
24833 * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
24835 (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
24836 (csloww2): ... from here.
24838 * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
24839 instead of structures.
24840 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
24841 (POLYNOMIAL): Likewise.
24842 (TAYLOR_SLOW): Likewise.
24848 (sloww1); Likewise.
24849 (sloww2): Likewise.
24850 (bsloww1): Likewise.
24851 (bsloww2): Likewise.
24852 (cslow2): Likewise.
24853 (csloww): Likewise.
24854 (csloww1): Likewise.
24855 (csloww2): Likewise.
24857 2013-12-10 Ondřej Bílka <neleai@seznam.cz>
24859 * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
24860 (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
24861 Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
24862 * malloc/hooks.c (realloc_check): Likewise.
24864 * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
24865 * malloc/arena.c: Remove PER_THREAD conditional.
24866 [!PER_THREAD]: Remove code.
24867 (ptmalloc_unlock_all2): Likewise.
24868 (ptmalloc_init): Likewise.
24869 (_int_new_arena): Likewise.
24870 (arena_get2): Likewise.
24871 * malloc/hooks.c (__malloc_get_state): Likewise.
24872 (__malloc_set_state): Likewise.
24873 * malloc/malloc.c: Likewise.
24874 (struct malloc_state): Likewise.
24875 (struct malloc_par): Likewise.
24876 (__libc_realloc): Likewise.
24877 (__libc_mallopt): Likewise.
24879 2013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24881 * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
24883 2013-12-09 Ondřej Bílka <neleai@seznam.cz>
24885 * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
24886 macro to a function. Check for zero perturb_byte.
24887 (_int_malloc, _int_free): Remove zero perturb_byte checks.
24889 * malloc/malloc.c: (force_reg): Remove.
24890 (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
24891 (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
24892 force_reg by atomic_forced_read.
24893 * malloc/arena.c (ptmalloc_init): Likewise.
24894 * malloc/hooks.c (top_check): Likewise.
24896 2013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24898 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24900 2013-12-09 Markus Trippelsdorf <markus@trippelsdorf.de>
24902 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
24904 2013-12-08 Joseph Myers <joseph@codesourcery.com>
24906 * math/auto-libm-test-in: Add tests of lgamma.
24907 * math/auto-libm-test-out: Regenerated.
24908 * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
24909 (M_LOG_2_SQRT_PIl): Likewise.
24910 (lgamma_test_data): Use AUTO_TESTS_f_f1.
24911 * math/gen-auto-libm-tests.c (func_calc_method): Add value
24913 (func_calc_desc): Add mpfr_f_f1 union field.
24914 (ARGS1): New macro.
24922 (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
24923 (test_functions): Add lgamma.
24924 (calc_generic_results): Handle mpfr_f_f1.
24925 * sysdeps/i386/fpu/libm-test-ulps: Update.
24926 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24928 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24930 * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
24931 __mpn_add_n for PowerPC64/POWER7.
24932 * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
24933 __mpn_sub_n for PowerPC64/POWER7.
24935 * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
24936 __mpn_addmul_1 for PowerPC64.
24937 * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
24938 __mpn_submul_1 for PowerPC64.
24939 * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
24941 * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
24944 2013-12-06 Fernando J. V. da Silva <fernandojvdasilva@gmail.com>
24947 * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
24949 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24951 * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
24953 * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
24954 add multiarch folders.
24955 * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
24956 * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
24957 * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
24958 * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
24959 * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
24960 * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
24961 * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
24962 * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
24963 * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
24964 * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
24965 * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
24966 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
24967 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
24968 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
24969 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
24970 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
24971 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
24973 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
24974 __ieee754_hypot and __ieee754_hypotf multiarch implementations.
24975 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
24977 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
24979 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
24980 multiarch __ieee754_hypot for PowerPC32.
24981 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
24983 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
24985 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
24986 multiarch __ieee754_hypotf for PowerPC32.
24988 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
24989 long_double_symbol only if __logbl is defined.
24990 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
24991 * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
24992 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
24993 * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
24994 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
24995 * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
24996 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
24997 path for implementation.
24998 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
24999 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
25000 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
25001 logb, and logbl multiarch implementations for PowerPC32.
25002 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
25004 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
25006 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
25007 multiarch logb for PowerPC32.
25008 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
25010 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
25012 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
25013 multiarch logbf for PowerPC32.
25014 * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
25015 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
25017 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
25018 multiarch logbl implementation for PowerPC32.
25020 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
25021 and modff multiarch implementations.
25022 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
25024 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
25026 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
25027 multiarch modf for PowerPC32.
25028 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
25030 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
25032 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
25033 multiarch modff for PowerPC32.
25035 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
25036 and lrintf multiarch implementations.
25037 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
25039 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
25041 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
25042 multiarch lrint for PowerPC32.
25043 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
25044 file: multiarch lrintf for PowerPC32.
25046 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
25047 and lroundf multiarch implementations.
25048 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
25050 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
25052 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
25054 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
25055 multiarch lround for PowerPC32.
25056 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
25057 file: multiarch lroundf for PowerPC32.
25059 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
25060 copysign and copysignf multiarch implementations.
25061 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
25063 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
25065 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
25066 file: multiarch copysign for PowerPC32.
25067 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
25068 file: multiarch copysignf for PowerPC32.
25070 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
25071 and truncf multiarch implementations.
25072 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
25074 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
25076 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
25077 multiarch trunc for PowerPC32.
25078 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
25080 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
25082 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
25083 multiarch truncf for PowerPC32.
25085 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
25086 and roundf multiarch implementations.
25087 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
25089 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
25091 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
25092 multiarch round for PowerPC32.
25093 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
25095 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
25097 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
25098 multiarch roundf for PowerPC32.
25100 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
25101 and floorf multiarch implementations.
25102 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
25104 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
25106 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
25107 multiarch floor for PowerPC32.
25108 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
25110 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
25112 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
25113 multiarch floorf for PowerPC32.
25115 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
25116 and ceilf multiarch implementations.
25117 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
25119 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
25121 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
25122 multiarch ceil for PowerPC32.
25123 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
25125 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
25127 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
25128 multiarch ceilf for PowerPC32.
25130 * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
25132 * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
25133 FINITEF is defined.
25134 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
25135 and finitef multiarch implementations.
25136 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
25138 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
25140 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
25141 multiarch finite for PowerPC32.
25142 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
25144 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
25145 file: multiarch finitef for PowerPC32.
25147 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
25148 and isinff multiarch implementations.
25149 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
25151 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
25153 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
25154 multiarch isinf for PowerPC32.
25155 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
25157 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
25158 multiarch isinff for PowerPC32.
25160 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
25161 alias when __isnan is defined.
25162 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
25163 and isnanf multiarch implementations.
25164 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
25166 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
25168 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
25170 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
25172 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
25173 multiarch isnan for PowerPC32.
25174 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
25176 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
25178 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
25179 multiarch isnanf for PowerPC32.
25181 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
25182 and sqrtf multiarch implementations.
25183 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
25185 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
25187 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
25188 multiarch sqrt for PowerPC32.
25189 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
25191 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
25193 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
25194 multiarch sqrtf for PowerPC32.
25196 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
25197 and llroundf multiarch implementations.
25198 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
25200 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
25202 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
25204 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
25205 file: multiarch llround for PowerPC32.
25206 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
25207 file: multiarch llroundf for PowerPC32.
25209 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
25210 multiarch PowerPC32 fpu implementations.
25211 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
25213 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
25215 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
25216 multiarch llrint for PowerPC32.
25217 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
25219 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
25221 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
25224 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
25226 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
25228 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
25230 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
25232 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
25233 multiarch wordcopy for PPC32.
25234 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
25236 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
25237 (__libc_ifunc_impl_list): Likewise.
25238 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
25239 * sysdeps/powerpc/power4/wordcopy.c: ... to here.
25240 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
25241 * sysdeps/powerpc/power6/wordcopy.c: ... to here.
25242 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
25243 * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
25245 * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
25246 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
25248 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
25250 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
25252 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
25253 multiarch wcscpy for PPC32.
25254 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
25256 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
25257 (__libc_ifunc_impl_list): Likewise.
25258 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
25259 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
25260 * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
25261 sysdeps/powerpc/power6/wcscpy.c.
25263 * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
25264 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
25266 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
25268 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
25270 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
25271 multiarch wcsrchr for PPC32.
25272 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
25274 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
25275 (__libc_ifunc_impl_list): Likewise.
25276 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
25277 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
25278 * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
25279 sysdeps/powerpc/power6/wcsrchr.c.
25281 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
25283 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
25285 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
25286 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
25287 multiarch wcschr for PPc32.
25288 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
25290 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
25291 (__libc_ifunc_impl_list): Likewise.
25292 * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
25293 * sysdeps/powerpc/power6/wcschr.c: ... to here.
25294 * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
25295 sysdeps/powerpc/power6/wcschr.c.
25297 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
25298 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
25300 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
25301 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
25302 file: multiarch strchr for PPC32.
25303 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
25305 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
25306 (__libc_ifunc_impl_list): Likewise.
25308 * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
25310 * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
25312 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
25314 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
25315 multiarch strchrnul for PPC32.
25316 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
25318 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
25319 (__libc_ifunc_impl_list): Likewise.
25321 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
25323 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
25324 multiarch strncasecmp for PPC32.
25325 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
25327 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
25328 multiarch strncasecmp_l for PPC32.
25329 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
25330 strncasecmp multiarch objects.
25331 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
25332 (__libc_ifunc_impl_list): Likewise.
25334 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
25336 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
25337 multiarch strncasecmp for PPC32.
25338 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
25340 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
25341 multiarch strcasecmp_l for PPC32.
25342 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
25344 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
25345 (__libc_ifunc_impl_list): Likewise.
25347 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
25349 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
25351 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
25352 multiarch strncmp for PPC32.
25353 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
25355 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
25356 (__libc_ifunc_impl_list): Likewise.
25358 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
25359 * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
25361 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
25362 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
25363 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
25365 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
25366 (__libc_ifunc_impl_list): Likewise.
25368 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
25370 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
25372 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
25373 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
25375 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
25376 (__libc_ifunc_impl_list): Likewise.
25378 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
25380 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
25382 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
25383 multiarch rawmemchr for PPC32.
25384 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
25386 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
25387 (__libc_ifunc_impl_list): Likewise.
25389 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
25391 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
25393 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
25394 file: memrchr multiarch for PPC32.
25395 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
25397 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
25398 (__libc_ifunc_impl_list): Likewise.
25400 * string/memchr.c (__memchr): Using macro to redefine symbol name.
25401 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
25403 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
25404 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
25405 multiarch memchr for PPC32.
25406 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
25408 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
25409 (__libc_ifunc_impl_list): Likewise.
25411 * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
25412 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
25414 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
25416 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
25417 file: multiarch mempcpy for PPC32.
25418 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
25420 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
25421 (__libc_ifunc_impl_list): Likewise.
25423 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
25424 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
25425 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
25426 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
25427 multiarch bzero for PPC32.
25428 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
25430 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
25432 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
25433 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
25434 file: multiarch memset for PPC32.
25435 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
25436 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
25437 memset multiarch objects.
25438 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
25439 (__libc_ifunc_impl_list): Likewise.
25441 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
25443 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
25444 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
25446 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
25447 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
25449 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
25450 (__libc_ifunc_impl_list): Likewise.
25452 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
25453 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
25454 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
25456 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
25458 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
25460 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
25461 multiarch memcpy for PPC32.
25462 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
25464 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
25465 (__libc_ifunc_impl_list): Likewise.
25467 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
25468 support multiarch for POWER/PPC32.
25469 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
25471 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
25472 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
25473 Implies file to make multiarch folder appers before the fpu and
25474 default folder for power4 configuration.
25476 2013-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
25478 * scripts/bench.pl: Append volatile keyword to type.
25480 2013-12-05 Kaz Kojima <kkojima@rr.iij4u.or.jp>
25482 * sysdeps/sh/sotruss-lib.c: New file.
25483 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
25485 2013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25487 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25489 2013-12-05 Joseph Myers <joseph@codesourcery.com>
25492 * math/w_tgamma.c: Include <errno.h>.
25493 (__tgamma): Use __glibc_unlikely. Set errno on underflow to 0.
25494 * math/w_tgammaf.c: Include <errno.h>.
25495 (__tgammaf): Use __glibc_unlikely. Set errno on underflow to 0.
25496 * math/w_tgammal.c: Include <errno.h>.
25497 (__tgammal): Use __glibc_unlikely. Set errno on underflow to 0.
25498 * math/auto-libm-test-in: Do not allow missing errno on tgamma
25499 underflow. Add more tgamma tests.
25500 * math/auto-libm-test-out: Regenerated.
25501 * sysdeps/i386/fpu/libm-test-ulps: Update.
25502 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25504 * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
25505 sin, sinh, tan, tanh, tgamma, y0 and y1.
25506 * math/auto-libm-test-out: Regenerated.
25507 * math/libm-test.inc (TEST_COND_x86_64): New macro.
25508 (TEST_COND_x86): Likewise.
25509 (M_E2l): Remove macro.
25511 (M_2_SQRT_PIl): Likewise.
25512 (M_SQRT_PIl): Likewise.
25513 (M_1_DIV_El): Likewise.
25514 (log_test_data): Use AUTO_TESTS_f_f.
25515 (log10_test_data): Likewise.
25516 (log1p_test_data): Likewise.
25517 (log2_test_data): Likewise.
25518 (sin_test_data): Likewise.
25519 (sin_tonearest_test_data): Likewise.
25520 (sin_towardzero_test_data): Likewise.
25521 (sin_downward_test_data): Likewise.
25522 (sin_upward_test_data): Likewise.
25523 (sinh_test_data): Likewise.
25524 (sinh_tonearest_test_data): Likewise.
25525 (sinh_towardzero_test_data): Likewise.
25526 (sinh_downward_test_data): Likewise.
25527 (sinh_upward_test_data): Likewise.
25528 (tan_test_data): Likewise.
25529 (tan_tonearest_test_data): Likewise.
25530 (tan_towardzero_test_data): Likewise.
25531 (tan_downward_test_data): Likewise.
25532 (tan_upward_test_data): Likewise.
25533 (tanh_test_data): Likewise.
25534 (tgamma_test_data): Likewise.
25535 (y0_test_data): Likewise.
25536 (y1_test_data): Likewise.
25537 * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
25538 (special_real_inputs): Add pi/4.
25539 * sysdeps/i386/fpu/libm-test-ulps: Update.
25540 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25542 2013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25544 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
25545 "longjmp_target" static probes.
25546 (__longjmp): Rename to __longjmp_symbol.
25547 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
25548 * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
25549 on which longjmp to generate.
25550 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
25551 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
25553 (__sigsetjmp): Rename to __sigsetjmp_symbol.
25554 (__sigjmp_save): Rename to __sigjmp_save_symbol.
25555 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
25556 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
25557 and __sigjmp_save_symbol based on which sigsetjmp to generated.
25558 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
25559 * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
25560 __longjmp_symbol based on which __longjmp to generate.
25561 * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
25563 (setjmp): Rename to setjmp_symbol.
25564 (__sigsetjmp): Rename to __sigsetjmp_symbol.
25565 (_setjmp): Rename to _setjmp_symbol.
25566 (__sigsetjmp): Rename to __sigsetjmp_symbol.
25567 * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
25568 _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
25569 which setjmp to generate.
25570 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
25571 "longjmp_target" static probes.
25573 2013-12-05 Siddhesh Poyarekar <siddhesh@redhat.com>
25575 * benchtests/README: Add note about output arguments.
25576 * benchtests/bench-sincos.c: Remove file.
25577 * benchtests/sincos-inputs: New file.
25578 * scripts/bench.pl: Identify output arguments and define
25579 static variables for them.
25581 * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
25584 * Makefile (INSTALL): Add install-plain.texi as the primary
25586 * manual/install-plain.texi: New file.
25587 * manual/install.texi: Include node directive only for
25588 non-plaintext output.
25590 2013-12-04 Joseph Myers <joseph@codesourcery.com>
25592 * stdlib/longlong.h: Update from GCC.
25596 * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
25597 * math/w_j0f.c (y0f): Likewise.
25598 * math/w_j0l.c (__y0l): Likewise.
25599 * math/w_j1.c (y1): Likewise.
25600 * math/w_j1f.c (y1f): Likewise.
25601 * math/w_j1l.c (__y1l): Likewise
25602 * math/w_jn.c (yn): Likewise.
25603 * math/w_jnf.c (ynf): Likewise.
25604 * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
25605 Bessel function pole errors in _POSIX_ mode. Use NAN as return
25606 value for Bessel function domain errors outside _SVID_ mode.
25607 Adjust sign of return value for yn (negative integer, 0).
25608 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
25609 by zero in return for negative x and set sign appropriately for
25611 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
25612 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
25613 * math/libm-test.inc (y0_test_data): Add more tests and adjust
25614 expectations in error cases.
25615 (y1_test_data): Likewise.
25616 (yn_test_data): Likewise.
25617 * sysdeps/i386/fpu/libm-test-ulps: Update.
25618 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25620 2013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
25622 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
25623 "64" to "64-v1". Add "64-v2".
25624 (abi-64-options): Rename to ...
25625 (abi-64-v1-options): ... this. Redefine _CALL_ELF.
25626 (abi-64-condition): Rename to ...
25627 (abi-64-v1-condition): ... this. Add _CALL_ELF check.,
25628 (abi-64-ld-soname): Rename to ...
25629 (abi-64-v1-ld-soname): ... this.
25630 (abi-64-v2-options): Define.
25631 (abi-64-v2-condition): Likewise.
25632 (abi-64-v2-ld-soname): Likewise.
25633 * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
25634 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
25635 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
25636 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
25637 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
25639 2013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
25640 Alan Modra <amodra@gmail.com>
25642 * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
25643 New versions for use with the ELFv2 ABI.
25644 (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
25645 * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
25647 (struct La_ppc64v2_retval): Likewise.
25648 (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
25649 (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
25650 * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
25651 to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
25652 (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
25653 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
25654 Do not save or restore CR.
25655 (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
25656 (_dl_profile_resolve): Do no save or restore CR. Support extended
25657 return values for ELFv2 ABI. Fix location of FPR return registers.
25658 * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
25659 updated values for _CALL_ELF == 2.
25660 (La_regs, La_retval, int_retval): Likewise.
25662 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
25664 * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
25665 (FRAME_MIN_SIZE_PARM): Likewise.
25666 (FRAME_BACKCHAIN): Likewise.
25667 (FRAME_CR_SAVE): Likewise.
25668 (FRAME_LR_SAVE): Likewise.
25669 (FRAME_TOC_SAVE): Likewise.
25670 (FRAME_PARM_SAVE): Likewise.
25671 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
25672 FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
25673 FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
25674 (call_mcount_parm_offset): New macro.
25675 (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
25676 (PROF): Use symbolic stack frame offsets.
25677 (TAIL_CALL_SYSCALL_ERROR): Likewise.
25678 * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
25679 Redefine in terms of FRAME_MIN_SIZE.
25680 (_dl_runtime_resolve): Use symbolic stack frame offsets.
25681 (_dl_profile_resolve): Likewise. Update comment.
25682 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
25683 symbols stack frame offsets.
25684 (__sigsetjmp): Likewise.
25685 * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
25686 * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
25687 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
25688 * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
25690 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
25691 (FRAME_BACKCHAIN): Remove.
25692 (FRAME_CR_SAVE): Likewise.
25693 (FRAME_LR_SAVE): Likewise.
25694 (FRAME_COMPILER_DW): Likewise.
25695 (FRAME_LINKER_DW): Likewise.
25696 (FRAME_TOC_SAVE): Likewise.
25697 (FRAME_PARM_SAVE): Likewise.
25698 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
25699 (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
25700 (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
25701 * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
25702 (CHECK_SP): Use symbolic stack frame offsets.
25703 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
25704 zone" instead of caller's parameter save area for temp storage.
25705 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
25706 Likewise. Also, use symbolic stack frame offsets.
25707 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
25708 stackblock): Redefine for _CALL_ELF == 2 to save parameters into
25709 our own stack frame instead of the caller's.
25710 (__socket): Use symbolic stack frame offsets.
25712 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
25713 Alan Modra <amodra@gmail.com>
25715 * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
25717 (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
25718 (PPC64_LOCAL_ENTRY_OFFSET): Define.
25719 * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
25721 (elf_machine_fixup_plt): Call it.
25722 (elf_machine_plt_conflict): Likewise. Add map, sym_map, and
25724 (elf_machine_rela): Update call to elf_machine_plt_conflict.
25725 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
25726 (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
25727 r2 before calling target.
25729 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
25730 Alan Modra <amodra@gmail.com>
25732 * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
25733 (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
25734 versions of macros to support ELFv2 ABI.
25735 (LOCALENTRY): New macro.
25736 (ENTRY, EALIGN): Use it.
25737 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
25738 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
25739 fall through into ENTRY entry point.
25740 * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
25741 Only define if _CALL_ELF != 2.
25743 (elf_machine_matches_host): Verify ABI version matches.
25744 (RTLD_START): Use LOCALENTRY.
25745 (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
25746 (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
25747 (PLT_ENTRY_WORDS): New macro.
25748 (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
25749 (elf_machine_runtime_setup): Support ELFv2 ABI.
25750 (elf_machine_fixup_plt): Likewise.
25751 (elf_machine_plt_conflict): Likewise.
25752 (resolve_ifunc): Likewise.
25753 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
25754 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
25756 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
25757 (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
25758 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
25759 (makecontext): Support ELFv2 ABI.
25760 * elf/elf.h (EF_PPC64_ABI): Define.
25762 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
25764 * sysdeps/powerpc/powerpc64/sysdep.h
25765 (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
25766 (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
25767 (ENTRY) [ASSEMBLER]: ... but instead here ...
25768 (EALIGN) [ASSEMBLER]: ... and here.
25769 (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
25770 (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
25771 (ENTRY_2) [!ASSEMBLER]: Use it.
25772 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
25773 ENTRY_2 changes. Use PPC64_LOAD_FUNCPTR.
25774 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
25775 (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
25776 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
25777 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
25778 Use PPC64_LOAD_FUNCPTR.
25780 * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
25782 2013-12-04 Alan Modra <amodra@gmail.com>
25784 * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
25785 (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
25786 (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
25787 (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
25789 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
25790 overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
25791 R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
25792 Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
25793 R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
25794 Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
25796 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
25798 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
25799 (__makecontext): Fix incorrect CFI when backtracing out of
25800 context created via makecontext.
25801 * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
25802 (__setcontext): Fix incorrect CFI during switch to new context.
25803 (__novec_setcontext): Likewise.
25805 2013-12-04 Ondřej Bílka <neleai@seznam.cz>
25808 * time/strptime_l.c (__strptime_internal): Allow modifiers
25810 * time/tst-strptime.c (day_tests): Add testcase.
25812 2013-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
25814 * scripts/bench.pl: Skip over blank lines.
25816 2013-12-04 Paul Eggert <eggert@cs.ucla.edu>
25819 * manual/time.texi (Calendar Time): Clarify what timezone functions
25822 2013-12-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25824 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25826 2013-12-04 Ondřej Bílka <neleai@seznam.cz>
25828 * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
25830 * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
25831 * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
25832 * debug/memset_chk.c (__memset_chk): Likewise.
25833 * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
25834 * debug/strncpy_chk.c: Likewise.
25836 2013-12-03 Joseph Myers <joseph@codesourcery.com>
25840 * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
25841 (__ieee754_exp): For possibly underflowing results, check size of
25842 result and force underflow exception if required.
25843 * math/auto-libm-test-in: Add more tests of exp.
25844 * math/auto-libm-test-out: Regenerated.
25845 * sysdeps/i386/fpu/libm-test-ulps: Update.
25846 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25849 * math/w_exp2.c (__exp2): Handle a zero result as underflow.
25850 * math/w_exp2f.c (__exp2f): Likewise.
25851 * math/w_exp2l.c (__exp2l): Likewise.
25852 * math/auto-libm-test-in: Do not allow missing errno on exp2
25854 * math/auto-libm-test-out: Regenerated.
25856 2013-12-03 Ondřej Bílka <neleai@seznam.cz>
25859 * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
25860 handle filename validation.
25861 * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
25864 2013-12-03 Joseph Myers <joseph@codesourcery.com>
25867 * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
25868 (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
25869 * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
25871 (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
25872 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
25873 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
25874 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
25875 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
25876 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
25877 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
25878 * math/auto-libm-test-in: Don't allow missing errno from erfc.
25879 Add more erfc tests.
25880 * math/auto-libm-test-out: Regenerated.
25881 * sysdeps/i386/fpu/libm-test-ulps: Update.
25882 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25884 * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
25885 exp2, expm1, j0 and j1.
25886 * math/auto-libm-test-out: Regenerated.
25887 * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
25888 (erfc_test_data): Likewise.
25889 (exp_test_data): Likewise.
25890 (exp_tonearest_test_data): Likewise.
25891 (exp_towardzero_test_data): Likewise.
25892 (exp_downward_test_data): Likewise.
25893 (exp_upward_test_data): Likewise.
25894 (exp10_test_data): Likewise.
25895 (exp2_test_data): Likewise.
25896 (expm1_test_data): Likewise.
25897 (j0_test_data): Likewise.
25898 (j1_test_data): Likewise.
25899 * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
25900 (input_flag_type): Add flag_xfail_rounding.
25901 (input_flags): Add xfail-rounding.
25902 (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
25903 (output_for_one_input_case): Handle flag_xfail_rounding.
25904 * sysdeps/i386/fpu/libm-test-ulps: Update.
25905 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25907 2013-12-03 Aurelien Jarno <aurelien@aurel32.net>
25910 * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
25913 2013-12-03 Siddhesh Poyarekar <siddhesh@redhat.com>
25916 * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
25917 (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
25918 (STAP_PROBE0): New macro.
25919 (STAP_PROBE1): Likewise.
25920 (STAP_PROBE2): Likewise.
25921 (STAP_PROBE3): Likewise.
25922 (STAP_PROBE4): Likewise.
25924 2013-12-02 Ondřej Bílka <neleai@seznam.cz>
25926 * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
25928 2013-12-02 Steve Ellcey <sellcey@mips.com>
25930 * benchtests/Makefile (bench): Add sqrt.
25931 (LDLIBS-bench-sqrt): New.
25932 * benchtests/sqrt-input: New.
25934 2013-12-02 Pavel Simerda <psimerda@redhat.com>
25936 * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
25937 (GAIH_EAI): Likewise.
25938 (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
25939 (gaih_inet): Likewise.
25940 (getaddrinfo): Don't use GAIH_EAI.
25942 * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
25943 (struct gaih): Remove definition.
25945 2013-12-02 Siddhesh Poyarekar <siddhesh@redhat.com>
25947 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
25948 Use HERRNOP directly.
25950 2013-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25952 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25954 2013-11-30 Joseph Myers <joseph@codesourcery.com>
25956 * math/gen-auto-libm-tests.c (test_functions): Add more
25957 single-argument functions.
25958 (special_fill_pi_2): New function.
25959 (special_fill_minus_pi_2): Likewise.
25960 (special_fill_pi_6): Likewise.
25961 (special_fill_minus_pi_6): Likewise.
25962 (special_fill_pi_3): Likewise.
25963 (special_fill_2pi_3): Likewise.
25964 (special_fill_e): Likewise.
25965 (special_fill_1_e): Likewise.
25966 (special_fill_e_minus_1): Likewise.
25967 (special_real_inputs): Add more special inputs.
25968 (output_for_one_input_case): Do not require ERANGE on underflow to
25969 zero if round-to-nearest result does not underflow to zero, unless
25970 exact results required.
25971 * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
25972 atan, atanh, cbrt, cos and cosh.
25973 * math/auto-libm-test-out: Regenerated.
25974 * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
25975 (acos_tonearest_test_data): Likewise.
25976 (acos_towardzero_test_data): Likewise.
25977 (acos_downward_test_data): Likewise.
25978 (acos_upward_test_data): Likewise.
25979 (acosh_test_data): Likewise.
25980 (asin_test_data): Likewise.
25981 (asin_tonearest_test_data): Likewise.
25982 (asin_towardzero_test_data): Likewise.
25983 (asin_upward_test_data): Likewise.
25984 (asinh_test_data): Likewise.
25985 (atan_test_data): Likewise.
25986 (atanh_test_data): Likewise.
25987 (cbrt_test_data): Likewise.
25988 (cos_test_data): Likewise.
25989 (cos_tonearest_test_data): Likewise.
25990 (cos_towardzero_test_data): Likewise.
25991 (cos_downward_test_data): Likewise.
25992 (cos_upward_test_data): Likewise.
25993 (cosh_test_data): Likewise.
25994 (cosh_tonearest_test_data): Likewise.
25995 (cosh_towardzero_test_data): Likewise.
25996 (cosh_downward_test_data): Likewise.
25997 (cosh_upward_test_data): Likewise.
25998 * sysdeps/i386/fpu/libm-test-ulps: Update.
25999 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26001 2013-11-29 Joseph Myers <joseph@codesourcery.com>
26004 * math/w_exp10.c (__exp10): Handle a zero result as underflow.
26005 * math/w_exp10f.c (__exp10f): Likewise.
26006 * math/w_exp10l.c (__exp10l): Likewise.
26007 * math/libm-test.inc (exp10_test_data): Add more tests and expect
26008 errno settings in existing tests.
26011 * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
26012 precision control set to double precision.
26013 * sysdeps/i386/fpu/w_sqrt.c: New file.
26014 * math/auto-libm-test-in: Add more tests.
26015 * math/auto-libm-test-out: Update.
26017 * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
26018 (sqrt_test_tonearest): New function.
26019 (sqrt_towardzero_test_data): New variable.
26020 (sqrt_test_towardzero): New function.
26021 (sqrt_downward_test_data): New variable.
26022 (sqrt_test_downward): New function.
26023 (sqrt_upward_test_data): New variable.
26024 (sqrt_test_upward): New function.
26025 (main): Call the new functions.
26027 * math/gen-auto-libm-tests.c: New file.
26028 * math/auto-libm-test-in: Likewise.
26029 * math/auto-libm-test-out: New generated file.
26030 * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
26032 (%beautify): Add generated representations of zero.
26033 (top level): Set $auto_input and call parse_auto_input.
26034 (beautify): Remove trailing "f" from hex float constants.
26035 (parse_args): Handle XFAIL_TEST.
26036 (convert_condition): New function.
26037 (or_value): Likewise.
26038 (or_cond_value): Likewise.
26039 (generate_testfile): Handle AUTO_TESTS_* lines.
26040 (parse_auto_input): New function.
26041 * math/libm-test.inc (XFAIL_TEST): New macro.
26042 (ERRNO_UNCHANGED): Update value.
26043 (ERRNO_EDOM): Likewise.
26044 (ERRNO_ERANGE): Likewise.
26045 (IGNORE_RESULT): Likewise.
26046 (TEST_COND_flt_32): New macro.
26047 (TEST_COND_dbl_64): Likewise.
26048 (TEST_COND_ldbl_96_intel): Likewise.
26049 (TEST_COND_ldbl_96_m68k): Likewise.
26050 (TEST_COND_ldbl_128): Likewise.
26051 (TEST_COND_ldbl_128ibm): Likewise.
26052 (TEST_COND_long32): Likewise.
26053 (TEST_COND_long64): Likewise.
26054 (TEST_COND_before_rounding): Likewise.
26055 (TEST_COND_after_rounding): Likewise.
26056 (enable_test): Handle XFAIL_TEST flag.
26057 (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
26058 with finite results.
26059 * math/Makefile ($(objpfx)libm-test.stmp): Depend on
26060 auto-libm-test-out.
26062 2013-11-29 Siddhesh Poyarekar <siddhesh@redhat.com>
26063 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
26066 * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
26067 __tls_get_addr_internal instead of __tls_get_offset in order to
26068 avoid GOT pointer dependency. Make rtld export
26069 __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
26070 __tls_get_addr since we are a __tls_get_offset platform.
26071 * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
26072 GOT pointer being set up before.
26073 * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
26075 2013-11-28 Joseph Myers <joseph@codesourcery.com>
26077 * manual/math.texi (Errors in Math Functions): Document accuracy
26081 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
26082 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
26083 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
26084 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
26085 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
26086 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
26087 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
26088 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
26089 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
26090 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
26091 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
26092 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
26093 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
26094 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
26095 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
26096 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
26098 * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
26099 * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
26100 * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
26101 * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
26102 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
26104 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
26106 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
26108 * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
26109 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
26110 (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
26111 atomic-feupdateenv and flt-rounds.
26112 * sysdeps/powerpc/nofpu/Versions (libc): Add
26113 __atomic_feholdexcept, __atomic_feclearexcept,
26114 __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
26115 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
26116 (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
26117 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
26118 (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
26120 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
26123 * manual/arith.texi (FP Exceptions): Document that exceptions may
26124 not be raised when matherr is used.
26125 (Math Error Reporting): Document overflow in directed rounding
26126 modes. Document that errno may not be set when finite values are
26127 returned on overflow. Document intent to set errno on underflow
26128 only for underflow to zero.
26131 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
26132 round-to-nearest then adjust result for other rounding modes.
26133 * include/fenv.h (fegetround): Use libm_hidden_proto.
26134 * math/fegetround.c (fegetround): Use libm_hidden_def.
26135 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
26136 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
26137 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
26138 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
26140 * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
26141 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
26142 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
26143 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
26145 2013-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
26148 * nss/Versions (libnss_files): Add
26149 _nss_files_gethostbyname3_r.
26150 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
26152 (HOST_DB_LOOKUP): Remove macro.
26153 (_nss_files_gethostbyname_r): Implement function without the
26154 HOST_DB_LOOKUP macro.
26155 (_nss_files_gethostbyname2_r): Likewise.
26157 2013-11-28 Ondřej Bílka <neleai@seznam.cz>
26159 * malloc/malloc.c (__libc_calloc): Make memset a tail call.
26161 2013-11-26 Uros Bizjak <ubizjak@gmail.com>
26163 * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
26164 _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
26167 2013-11-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26169 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
26170 __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
26171 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
26172 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
26173 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
26174 __fe_nomask_env_priv and attribute_hidden.
26175 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
26176 (libc_feupdateenv_test_ppc): Likewise.
26177 (libc_feresetround_ppc): Likewise.
26178 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
26179 (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
26180 compat_symbol macro.
26181 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
26182 (__fe_nomask_env): Likewise.
26183 * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
26185 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
26187 * string/Makefile: Remove ifunc tests.
26188 * string/test-string.h: Define TEST_IFUNC.
26189 * string/test-bcopy-ifunc.c: Remove.
26190 * string/test-bzero-ifunc.c: Likewise.
26191 * string/test-memccpy-ifunc.c: Likewise.
26192 * string/test-memchr-ifunc.c: Likewise.
26193 * string/test-memcmp-ifunc.c: Likewise.
26194 * string/test-memcpy-ifunc.c: Likewise.
26195 * string/test-memmem-ifunc.c: Likewise.
26196 * string/test-memmove-ifunc.c: Likewise.
26197 * string/test-mempcpy-ifunc.c: Likewise.
26198 * string/test-memrchr-ifunc.c: Likewise.
26199 * string/test-memset-ifunc.c: Likewise.
26200 * string/test-rawmemchr-ifunc.c: Likewise.
26201 * string/test-stpcpy-ifunc.c: Likewise.
26202 * string/test-stpncpy-ifunc.c: Likewise.
26203 * string/test-strcasecmp-ifunc.c: Likewise.
26204 * string/test-strcasestr-ifunc.c: Likewise.
26205 * string/test-strcat-ifunc.c: Likewise.
26206 * string/test-strchr-ifunc.c: Likewise.
26207 * string/test-strchrnul-ifunc.c: Likewise.
26208 * string/test-strcmp-ifunc.c: Likewise.
26209 * string/test-strcpy-ifunc.c: Likewise.
26210 * string/test-strcspn-ifunc.c: Likewise.
26211 * string/test-strlen-ifunc.c: Likewise.
26212 * string/test-strncasecmp-ifunc.c: Likewise.
26213 * string/test-strncat-ifunc.c: Likewise.
26214 * string/test-strncmp-ifunc.c: Likewise.
26215 * string/test-strncpy-ifunc.c: Likewise.
26216 * string/test-strnlen-ifunc.c: Likewise.
26217 * string/test-strpbrk-ifunc.c: Likewise.
26218 * string/test-strrchr-ifunc.c: Likewise.
26219 * string/test-strspn-ifunc.c: Likewise.
26220 * string/test-strstr-ifunc.c: Likewise.
26222 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
26224 * benchtests/Makefile: Remove ifunc tests.
26225 * benchtests/bench-string.h: Define TEST_IFUNC.
26226 * benchtests/bench-bcopy-ifunc.c: Remove.
26227 * benchtests/bench-bzero-ifunc.c: Likewise.
26228 * benchtests/bench-memccpy-ifunc.c: Likewise.
26229 * benchtests/bench-memchr-ifunc.c: Likewise.
26230 * benchtests/bench-memcmp-ifunc.c: Likewise.
26231 * benchtests/bench-memcpy-ifunc.c: Likewise.
26232 * benchtests/bench-memmem-ifunc.c: Likewise.
26233 * benchtests/bench-memmove-ifunc.c: Likewise.
26234 * benchtests/bench-mempcpy-ifunc.c: Likewise.
26235 * benchtests/bench-memrchr-ifunc.c: Likewise.
26236 * benchtests/bench-memset-ifunc.c: Likewise.
26237 * benchtests/bench-rawmemchr-ifunc.c: Likewise.
26238 * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
26239 * benchtests/bench-stpcpy-ifunc.c: Likewise.
26240 * benchtests/bench-stpncpy-ifunc.c: Likewise.
26241 * benchtests/bench-strcasecmp-ifunc.c: Likewise.
26242 * benchtests/bench-strcasestr-ifunc.c: Likewise.
26243 * benchtests/bench-strcat-ifunc.c: Likewise.
26244 * benchtests/bench-strchr-ifunc.c: Likewise.
26245 * benchtests/bench-strchrnul-ifunc.c: Likewise.
26246 * benchtests/bench-strcmp-ifunc.c: Likewise.
26247 * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
26248 * benchtests/bench-strcpy-ifunc.c: Likewise.
26249 * benchtests/bench-strcspn-ifunc.c: Likewise.
26250 * benchtests/bench-strlen-ifunc.c: Likewise.
26251 * benchtests/bench-strncasecmp-ifunc.c: Likewise.
26252 * benchtests/bench-strncat-ifunc.c: Likewise.
26253 * benchtests/bench-strncmp-ifunc.c: Likewise.
26254 * benchtests/bench-strncpy-ifunc.c: Likewise.
26255 * benchtests/bench-strnlen-ifunc.c: Likewise.
26256 * benchtests/bench-strpbrk-ifunc.c: Likewise.
26257 * benchtests/bench-strrchr-ifunc.c: Likewise.
26258 * benchtests/bench-strsep-ifunc.c: Likewise.
26259 * benchtests/bench-strspn-ifunc.c: Likewise.
26260 * benchtests/bench-strstr-ifunc.c: Likewise.
26262 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
26264 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
26266 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
26268 * resolv/netdb.h: Use __glibc_reserved instead __unused.
26269 * rt/aio.h: Likewise.
26270 * sysdeps/gnu/bits/utmp.h: Likewise.
26271 * sysdeps/gnu/bits/utmpx.h: Likewise.
26272 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
26273 * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
26274 * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
26275 * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
26276 * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
26277 * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
26278 * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
26279 * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
26280 * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
26281 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
26282 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
26283 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
26284 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
26285 * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
26286 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
26287 * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
26288 * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
26289 * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
26290 * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
26291 * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
26292 * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
26293 * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
26294 * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
26295 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
26296 * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
26297 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
26298 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
26299 * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
26300 * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
26301 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
26302 * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
26303 * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
26304 * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
26305 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
26306 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
26307 * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
26308 * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
26309 * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
26310 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
26311 * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
26312 * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
26313 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
26315 2013-11-25 Carlos O'Donell <carlos@redhat.com>
26318 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
26319 Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
26321 2013-11-25 Joseph Myers <joseph@codesourcery.com>
26323 * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
26324 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
26327 2013-11-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26329 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
26330 SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
26331 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
26332 (__fesetround): Remove define.
26333 * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
26334 rounding and exceptions handling.
26335 * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
26336 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
26337 (__fe_nomask_env): Likewise.
26338 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
26339 __fegetround instead of fegetround.
26340 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
26341 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
26343 2013-11-21 Roland McGrath <roland@hack.frob.com>
26345 * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
26348 * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
26350 2013-11-21 Meador Inge <meadori@codesourcery.com>
26353 * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
26354 (encrypt_r): Likewise.
26355 * malloc/obstack.h (obstack_free): Likewise.
26356 * posix/unistd.h (encrypt): Likewise.
26358 2013-11-21 Guy Martin <gmsoft@tuxicoman.be>
26360 * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
26361 DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
26362 DL_CALL_DT_FINI() that call the functions directly.
26363 * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
26364 * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
26365 * elf/dl-fini.c: Likewise.
26367 2013-11-20 Ondřej Bílka <neleai@seznam.cz>
26369 * malloc/hooks.c (memalign_check): Add alignment rounding.
26370 * malloc/malloc.c (_mid_memalign): New function.
26371 (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
26372 Implement by calling _mid_memalign.
26373 * manual/probes.texi (Memory Allocation Probes): Remove
26374 memory_valloc_retry and memory_pvalloc_retry.
26376 2013-11-20 Siddhesh Poyarekar <siddhesh@redhat.com>
26378 * locale/programs/locarchive.c (open_archive): Add const
26379 qualifier to ARCHIVEFNAME and copy default fname to
26383 * libio/tst-widetext.input: Rename Oriya to Odia.
26384 * locale/iso-639.def: Likewise.
26386 * manual/probes.texi (Mathematical Function Probes): Add
26387 documentation for sin, cos, asin and acos probes.
26388 * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
26389 (__sin32): Add slowasin probe.
26390 (__cos32): Add slowacos probe.
26391 (__mpsin): Add slowsin probe.
26392 (__mpcos): Add slowcos probe.
26394 2013-11-19 Joseph Myers <joseph@codesourcery.com>
26397 * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
26398 thread-local __sim_exceptions_thread and global
26399 __sim_exceptions_global.
26400 (__sim_disabled_exceptions): Change to thread-local
26401 __sim_disabled_exceptions_thread and global
26402 __sim_disabled_exceptions_global.
26403 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
26404 and global __sim_round_mode_global.
26405 (__simulate_exceptions): Use thread-local floating-point state and
26406 set global state from it as needed.
26407 * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
26408 __sim_exceptions_thread, __sim_disabled_exceptions_thread and
26409 __sim_round_mode_thread.
26410 * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
26411 (__sim_exceptions): Change to thread-local __sim_exceptions_thread
26412 and global __sim_exceptions_global.
26413 (__sim_disabled_exceptions): Change to thread-local
26414 __sim_disabled_exceptions_thread and global
26415 __sim_disabled_exceptions_global.
26416 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
26417 and global __sim_round_mode_global.
26418 [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
26419 (SIM_SET_GLOBAL): Likewise.
26420 * sysdeps/powerpc/soft-fp/sfp-machine.h
26421 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
26422 __sim_round_mode_thread.
26423 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
26424 __sim_disabled_exceptions_thread.
26425 (__sim_exceptions): Change to __sim_exceptions_thread.
26426 (__sim_disabled_exceptions): Change to
26427 __sim_disabled_exceptions_thread.
26428 (__sim_round_mode): Change to __sim_round_mode_thread.
26429 * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
26430 thread-local floating-point state and set global state from it as
26432 * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
26433 * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
26434 (__sim_disabled_exceptions): Remove extern declaration.
26435 (feenableexcept): Use thread-local floating-point state and set
26436 global state from it as needed.
26437 * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
26438 extern declaration.
26439 (__sim_disabled_exceptions): Likewise.
26440 (__sim_round_mode): Likewise.
26441 (__fegetenv): Use thread-local floating-point state.
26442 * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
26443 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
26444 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
26445 floating-point state and set global state from it as needed.
26446 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
26447 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
26448 * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
26450 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
26451 * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
26453 sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
26454 * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
26455 Use __sim_round_mode_thread.
26456 * math/test-fenv-tls.c: New file.
26457 * math/Makefile (tests): Add test-fenv-tls.
26458 ($(objpfx)test-fenv-tls): Depend on
26459 $(common-objpfx)nptl/libpthread.so.
26461 2013-11-19 Andreas Schwab <schwab@suse.de>
26463 * locale/programs/locale.c (show_info): Decode wordarray elements.
26464 * locale/categories.def (LC_MONETARY): Add element for
26465 _NL_MONETARY_CRNCYSTR.
26466 * locale/C-monetary.c (conversion_rate): New variable.
26467 (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
26470 2013-11-18 Chris Metcalf <cmetcalf@tilera.com>
26472 * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
26473 Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
26475 2013-11-18 Paul Pluzhnikov <ppluzhnikov@google.com>
26477 * elf/Makefile (tst-auxv): New test.
26478 * elf/tst-auxv.c: New
26479 * elf/rtld.c (dl_main): Adjust AT_EXECFN
26481 2013-11-18 Joseph Myers <joseph@codesourcery.com>
26483 * include/libc-symbols.h (__hidden_proto): Add argument "thread".
26484 (hidden_proto): Caller changed.
26485 (hidden_tls_proto): New macro.
26486 (libc_hidden_tls_proto): Likewise.
26487 (rtld_hidden_tls_proto): Likewise.
26488 (libm_hidden_tls_proto): Likewise.
26489 (libresolv_hidden_tls_proto): Likewise.
26490 (librt_hidden_tls_proto): Likewise.
26491 (libdl_hidden_tls_proto): Likewise.
26492 (libnss_files_hidden_tls_proto): Likewise.
26493 (libnsl_hidden_tls_proto): Likewise.
26494 (libnss_nisplus_hidden_tls_proto): Likewise.
26495 (libutil_hidden_tls_proto): Likewise.
26497 2013-11-18 Ondřej Bílka <neleai@seznam.cz>
26500 * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
26501 (decompose_rpath): Defer expansion to fillin_rpath.
26502 (_dl_init_paths): Pass linkmap to fillin_rpath.
26504 2013-11-18 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
26506 * benchtests/Makefile: Add strsep.
26507 * benchtests/bench-strsep.c: New file: strsep benchtest.
26508 * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
26510 2013-11-18 Andreas Schwab <schwab@suse.de>
26512 * locale/programs/locale.c (show_info) [case byte]: Check for
26513 '\377' instead of '\177'.
26514 * locale/C-monetary.c (not_available): Always use "\377".
26515 * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
26516 unspecified p_sign_posn and n_sign_posn. Check for '\377' to
26517 detect unavailable sign_posn locale elements.
26518 * locale/localeconv.c (__localeconv): For grouping and
26519 mon_grouping handle "\177" and "\377" like no grouping.
26520 (INT_ELEM): New macro. Use it to set all numeric members.
26521 * locale/programs/ld-monetary.c (monetary_read)
26522 <tok_mon_grouping>: Normalize single -1 to the empty string.
26523 * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
26526 2013-11-07 Ondřej Bílka <neleai@seznam.cz>
26529 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
26530 when we match (nil).
26531 * stdio-common/tst-sscanf.c (struct test): Add testcase.
26533 2013-11-16 Joseph Myers <joseph@codesourcery.com>
26535 * math/libm-test.inc (TEST_NAN_SIGN): New macro.
26536 (NO_TEST_INLINE): Update value.
26537 (ERRNO_UNCHANGED): Likewise.
26538 (ERRNO_EDOM): Likewise.
26539 (ERRNO_ERANGE): Likewise.
26540 (IGNORE_RESULT): Likewise.
26541 (check_float_internal): Check signs of NaN results if
26542 TEST_NAN_SIGN used.
26543 (check_complex): Pass TEST_NAN_SIGN flag through to second
26544 check_float_internal call.
26545 (copysign_test_data): Add tests with quiet NaNs as second
26546 argument. Use TEST_NAN_SIGN.
26547 (fabs_test_data): Add test of negative quiet NaN argument. Use
26549 (signbit_test_data): Add tests of quiet NaN argument.
26550 * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
26552 * math/gen-libm-test.pl (show_exceptions): Take extra argument
26554 (parse_args): Handle function results specified as IGNORE.
26555 * math/libm-test.inc (IGNORE_RESULT): New macro.
26556 (check_float_internal): Do not check numerical result if flag
26558 (check_complex): Pass through IGNORE_RESULT to second
26559 check_float_internal call.
26560 (check_int): Do not check numerical result if flag IGNORE_RESULT
26562 (check_long): Likewise.
26563 (check_bool): Likewise.
26564 (check_longlong): Likewise.
26565 (lrint_test_data): Add tests of infinite and NaN arguments.
26566 (lrint_tonearest_test_data): Likewise.
26567 (lrint_towardzero_test_data): Likewise.
26568 (lrint_downward_test_data): Likewise.
26569 (lrint_upward_test_data): Likewise.
26570 (llrint_test_data): Likewise.
26571 (llrint_tonearest_test_data): Likewise.
26572 (llrint_towardzero_test_data): Likewise.
26573 (llrint_downward_test_data): Likewise.
26574 (llrint_upward_test_data): Likewise.
26575 (lround_test_data): Likewise.
26576 (llround_test_data): Likewise.
26578 * math/libm-test.inc (NO_TEST_INLINE): New macro.
26579 (ERRNO_UNCHANGED): Update value.
26580 (ERRNO_EDOM): Likewise.
26581 (ERRNO_ERANGE): Likewise.
26582 (NO_TEST_INLINE_FLOAT): New macro.
26583 (NO_TEST_INLINE_DOUBLE): Likewise.
26584 (enable_test): New function.
26585 (RUN_TEST_f_f): Check enable_test before running test.
26586 (RUN_TEST_2_f): Likewise.
26587 (RUN_TEST_fff_f): Likewise.
26588 (RUN_TEST_c_f): Likewise.
26589 (RUN_TEST_f_f1): Likewise.
26590 (RUN_TEST_fF_f1): Likewise.
26591 (RUN_TEST_fI_f1): Likewise.
26592 (RUN_TEST_ffI_f1): Likewise.
26593 (RUN_TEST_c_c): Likewise.
26594 (RUN_TEST_cc_c): Likewise.
26595 (RUN_TEST_f_i): Likewise.
26596 (RUN_TEST_f_i_tg): Likewise.
26597 (RUN_TEST_ff_i_tg): Likewise.
26598 (RUN_TEST_f_b): Likewise.
26599 (RUN_TEST_f_b_tg): Likewise.
26600 (RUN_TEST_f_l): Likewise.
26601 (RUN_TEST_f_L): Likewise.
26602 (RUN_TEST_fFF_11): Likewise.
26603 (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
26605 (cosh_test_data): Likewise.
26606 (exp_test_data): Likewise.
26607 (expm1_test_data): Likewise.
26608 (hypot_test_data): Likewise.
26609 (pow_test_data): Likewise.
26610 (sinh_test_data): Likewise.
26611 (tanh_test_data): Likewise.
26612 * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
26615 * libm-test.inc (acos_test_data): Disallow inexact exceptions for
26616 tests with quiet NaN input and output.
26617 (acosh_test_data): Likewise.
26618 (asin_test_data): Likewise.
26619 (asinh_test_data): Likewise.
26620 (atan_test_data): Likewise.
26621 (atanh_test_data): Likewise.
26622 (atan2_test_data): Likewise.
26623 (cbrt_test_data): Likewise.
26624 (cos_test_data): Likewise.
26625 (cosh_test_data): Likewise.
26626 (erf_test_data): Likewise.
26627 (erfc_test_data): Likewise.
26628 (exp_test_data): Likewise.
26629 (exp10_test_data): Likewise.
26630 (exp2_test_data): Likewise.
26631 (expm1_test_data): Likewise.
26632 (hypot_test_data): Likewise.
26633 (j0_test_data): Likewise.
26634 (j1_test_data): Likewise.
26635 (jn_test_data): Likewise.
26636 (lgamma_test_data): Likewise.
26637 (log_test_data): Likewise.
26638 (log10_test_data): Likewise.
26639 (log1p_test_data): Likewise.
26640 (log2_test_data): Likewise.
26641 (pow_test_data): Likewise.
26642 (scalb_test_data): Likewise.
26643 (sin_test_data): Likewise.
26644 (sincos_test_data): Likewise.
26645 (sinh_test_data): Likewise.
26646 (tan_test_data): Likewise.
26647 (tanh_test_data): Likewise.
26648 (tgamma_test_data): Likewise.
26649 (y0_test_data): Likewise.
26650 (y1_test_data): Likewise.
26651 (yn_test_data): Likewise.
26654 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
26655 argument being NaN and avoid computations with second argument in
26657 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
26658 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
26659 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
26661 2013-11-15 Arun Kumar Pyasi <arun@chitwanix.com>
26663 * locale/iso-639.def: Add Chitwani Tharu (the).
26665 2013-11-14 Andreas Schwab <schwab@suse.de>
26667 * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
26668 word instead of empty string.
26670 2013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26672 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
26673 (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
26674 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
26675 (__fe_nomask_env): Likewise.
26677 2013-11-13 Steve Ellcey <sellcey@mips.com>
26679 * benchtests/bench-timing.h: Include time.h.
26681 2013-11-13 H.J. Lu <hongjiu.lu@intel.com>
26684 * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
26686 * sysdeps/unix/sysv/linux/configure: Regenerated.
26688 2013-11-13 Joseph Myers <joseph@codesourcery.com>
26691 * stdlib/strtod_l.c (round_and_return): Do not consider
26692 retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
26693 exponent one less than half the least subnormal exponent.
26694 * stdlib/test-strtod-round-data: Add more tests.
26695 * stdlib/tst-strtod-round.c (tests): Regenerated.
26697 2013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26700 * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
26701 (__fe_mask_env): Likewise.
26702 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
26703 libm_hidden_proto and add function prototype.
26704 (__fe_mask_env): Add function prototype.
26705 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
26706 (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
26707 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
26708 (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
26709 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
26710 (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
26712 2013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
26714 * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
26715 set reference_name to "" to avoid passing NULL to DSO_FILENAME.
26717 2013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
26719 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
26720 of htab_find_slot().
26722 2013-11-11 David S. Miller <davem@davemloft.net>
26725 * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
26726 symbol in the non-vis3 case in static builds.
26727 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
26728 * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
26729 * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
26730 * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
26732 2013-11-11 Jan Kratochvil <jan.kratochvil@redhat.com>
26735 * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
26738 2013-11-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26740 * benchtests/Makefile: Add bench-strtod.
26741 * benchtests/bench-strtod.c: New file: strtod benchtest
26743 2013-11-11 Andreas Schwab <schwab@suse.de>
26746 * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
26747 terminating NUL in key length.
26749 2013-11-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26751 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
26752 Add artificial ODP entry for vDSO symbol for PPC64.
26753 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
26754 * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
26756 2013-11-07 Ondřej Bílka <neleai@seznam.cz>
26759 * nss/getent.c (services_keys): Recognize services starting with digit.
26761 2013-11-06 David S. Miller <davem@davemloft.net>
26764 * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
26765 on pre-v9 cpus, use a fnegs+fmovs sequence instead.
26767 2013-11-06 Will Newton <will.newton@linaro.org>
26769 * manual/memory.texi (Malloc Examples): Remove register
26770 keyword from examples.
26772 2013-11-04 Chris Leonard <cjl@sugarlabs.org>
26774 * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
26776 2013-11-04 Joseph Myers <joseph@codesourcery.com>
26779 * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
26780 depending on [__GCC_IEC_559 > 0].
26781 [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
26782 depending on [__GCC_IEC_559_COMPLEX > 0].
26784 2013-11-03 Chris Leonard <cjl@sugarlabs.org>
26786 * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
26789 2013-11-03 Ondřej Bílka <neleai@seznam.cz>
26791 * elf/rtld.c: Remove unused NONTLS_INIT_TP.
26793 2013-11-01 Ondřej Bílka <neleai@seznam.cz>
26796 * malloc/malloc (malloc_info): Do not handle first bin as
26799 2013-11-01 Chris Leonard <cjl@sugarlabs.org>
26801 * locale/iso-639.def: Add Central Nahuatl (nhn).
26803 2013-11-01 Bruno Haible <bruno@clisp.org>
26806 * manual/math.texi (BSD Random): Specify range upper bound as
26809 2013-10-31 Chris Leonard <cjl@sugarlabs.org>
26811 * locale/iso-639.def: Add Meadow Mari (mhr).
26813 2013-10-31 Ondřej Bílka <neleai@seznam.cz>
26815 [BZ #14752], [BZ #15763]
26816 * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
26818 * rt/tst_shm.c: Add test for escaping directory.
26820 2013-10-31 Andreas Schwab <schwab@suse.de>
26823 * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
26824 followed by 'x' as part of digit sequence.
26825 * stdio-common/tst-sscanf.c (double_tests2): New tests.
26827 2013-10-31 Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
26830 * configure.ac: allow GNU Make 4.0 and greater.
26831 * configure: Regenerated.
26833 2013-10-30 Will Newton <will.newton@linaro.org>
26836 * malloc/hooks.c (memalign_check): Limit alignment to the
26837 maximum representable power of two.
26838 * malloc/malloc.c (__libc_memalign): Likewise.
26839 * malloc/tst-memalign.c (do_test): Add test for very
26840 large alignment values.
26841 * malloc/tst-posix_memalign.c (do_test): Likewise.
26843 2013-10-30 Ondřej Bílka <neleai@seznam.cz>
26846 * malloc/malloc.c (sysmalloc): Compute statistics atomically.
26847 (munmap_chunk): Likewise.
26848 (mremap_chunk): Likewise.
26850 2013-10-30 Ondřej Bílka <neleai@seznam.cz>
26853 * stdlib/div.c (div): Remove obsolete code.
26854 * stdlib/ldiv.c (ldiv): Likewise.
26855 * stdlib/lldiv.c (lldiv): Likewise.
26857 2013-10-30 Siddhesh Poyarekar <siddhesh@redhat.com>
26860 * nss/nss_files/files-XXX.c (get_contents_ret): New
26862 (get_contents): New function.
26863 (internal_getent): Use it. Expand size of LINEBUFLEN.
26865 2013-10-30 Mike Frysinger <vapier@gentoo.org>
26867 * configure.in: Moved to ...
26868 * configure.ac: ... here. Change reference to configure.in
26870 * sysdeps/arm/preconfigure.ac: ... here.
26871 configure.in to configure.ac.
26872 * sysdeps/gnu/configure.in: Moved to ...
26873 * sysdeps/gnu/configure.ac: ... here.
26874 * sysdeps/i386/configure.in: Moved to ...
26875 * sysdeps/i386/configure.ac: ... here.
26876 * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
26877 * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
26878 * sysdeps/mach/configure.in: Moved to ...
26879 * sysdeps/mach/configure.ac: ... here.
26880 * sysdeps/mach/hurd/configure.in: Moved to ...
26881 * sysdeps/mach/hurd/configure.ac: ... here.
26882 * sysdeps/powerpc/configure.in: Moved to ...
26883 * sysdeps/powerpc/configure.ac: ... here.
26884 * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
26885 * sysdeps/powerpc/powerpc32/configure.ac: ... here.
26886 * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
26887 * sysdeps/powerpc/powerpc64/configure.ac: ... here.
26888 * sysdeps/s390/s390-32/configure.in: Moved to ...
26889 * sysdeps/s390/s390-32/configure.ac: ... here.
26890 * sysdeps/s390/s390-64/configure.in: Moved to ...
26891 * sysdeps/s390/s390-64/configure.ac: ... here.
26892 * sysdeps/sh/configure.in: Moved to ...
26893 * sysdeps/sh/configure.ac: ... here.
26894 * sysdeps/sparc/configure.in: Moved to ...
26895 * sysdeps/sparc/configure.ac: ... here.
26896 * sysdeps/unix/sysv/linux/configure.in: Moved to ...
26897 * sysdeps/unix/sysv/linux/configure.ac: ... here.
26898 * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
26899 * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
26900 * sysdeps/x86_64/configure.in: Moved to ...
26901 * sysdeps/x86_64/configure.ac: ... here.
26902 * sysdeps/x86_64/preconfigure.in: Moved to ...
26903 * sysdeps/x86_64/preconfigure.ac: ... here.
26904 * aclocal.m4: Change reference to configure.in to configure.ac.
26905 * config.h.in: Likewise.
26906 * manual/install.texi: Likewise.
26907 * manual/maint.texi: Likewise.
26908 * Makefile: Likewise.
26909 * malloc/Makefile: Likewise.
26910 * nscd/Makefile: Likewise.
26911 * Makeconfig: Change reference to configure.in and
26912 preconfigure.in to configure.ac and preconfigure.ac
26914 * INSTALL: Regenerated.
26915 * configure: Likewise.
26916 * sysdeps/gnu/configure: Likewise.
26917 * sysdeps/i386/configure: Likewise.
26918 * sysdeps/ieee754/ldbl-opt/configure: Likewise.
26919 * sysdeps/mach/configure: Likewise.
26920 * sysdeps/mach/hurd/configure: Likewise.
26921 * sysdeps/powerpc/configure: Likewise.
26922 * sysdeps/powerpc/powerpc32/configure: Likewise.
26923 * sysdeps/powerpc/powerpc64/configure: Likewise.
26924 * sysdeps/s390/s390-32/configure: Likewise.
26925 * sysdeps/s390/s390-64/configure: Likewise.
26926 * sysdeps/sh/configure: Likewise.
26927 * sysdeps/sparc/configure: Likewise.
26928 * sysdeps/unix/sysv/linux/configure: Likewise.
26929 * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
26930 * sysdeps/x86_64/configure: Likewise.
26931 * sysdeps/x86_64/preconfigure: Likewise.
26933 2013-10-29 Andreas Schwab <schwab@suse.de>
26935 * stdio-common/Makefile (tst-swscanf-ENV): Define.
26937 2013-10-28 Siddhesh Poyarekar <siddhesh@redhat.com>
26939 * benchtests/pow-inputs: Add new inputs.
26941 * benchtests/exp-inputs: Add new inputs.
26943 * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
26944 conditional check for return value.
26945 (__cos32): Likewise.
26947 2013-10-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26949 * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
26950 to provide a boost for large inputs with word alignment.
26951 * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
26952 implementation based on optimized PPC64 strcpy.
26953 * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
26954 strcpy for PPC64/POWER7 based on both doubleword and word load/store.
26955 * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
26956 stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
26958 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
26961 * manual/socket.texi (Host Names): Fix gethostbyname_r example.
26963 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
26966 * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
26967 * time/tst-strptime.c (day_tests): Add testcase.
26969 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
26972 * manual/pattern.texi: Acknowledge that fnmatch can fail.
26974 2013-10-25 Fabrice Bauzac <fbauzac@debian71.nce.amadeus.net>
26977 * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
26978 MAP_FAILED on error.
26980 2013-10-25 Siddhesh Poyarekar <siddhesh@redhat.com>
26983 * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
26984 heap for large requests.
26986 2013-10-25 Aurelien Jarno <aurelien@aurel32.net>
26989 * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
26990 result if the result has no associated interface.
26991 * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
26992 interface for all 127.X.Y.Z addresses.
26994 2013-10-24 Chris Leonard <cjl@sugarlabs.org>
26996 * locale/iso-639.def: Add Ligurian (lij)
26998 2013-10-21 Ondřej Bílka <neleai@seznam.cz>
27001 * sunrpc/rpc_main.c: Document rpcgen -5.
27003 2013-10-19 Michael Stahl <mstahl@redhat.com>
27005 * elf/rtld.c (do_preload): Print the reason why preloading failed.
27007 2013-10-19 Ondřej Bílka <neleai@seznam.cz>
27010 * posix/glob.c: Match only directories when trailing slash is present.
27011 * posix/tst-gnuglob.c (my_opendir): Do not open files.
27012 (main): Add testcase.
27014 2013-10-19 Ondřej Bílka <neleai@seznam.cz>
27017 * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
27019 2013-10-18 Carlos O'Donell <carlos@redhat.com>
27021 * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
27022 AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
27023 AUTH_DES and cindex for FIPS 140-2.
27024 (DES Encryption): Add cindex FIPS 46-3.
27026 * locale/locarchive.h (struct locarhandle): Add fname.
27027 * locale/programs/localedef.c (main): Pass ARGV[remaining]
27028 if an optional argument was specified to --list-archive,
27030 * locale/programs/locarchive.c (show_archive_content): Take new
27031 argument fname and pass it via ah.fname to open_archive.
27032 * locale/programs/localedef.h: Update decl.
27033 (open_archive): If AH->fname is non-null, open that file
27034 rather than the default file name, and don't ignore ENOENT.
27035 (create_archive): Set AH.fname to NULL.
27036 (delete_locales_from_archive): Likewise.
27037 (add_locales_to_archive): Likewise.
27038 * locale/programs/locfile.c (write_all_categories): Likewise.
27040 2013-10-18 Joseph Myers <joseph@codesourcery.com>
27041 Aldy Hernandez <aldyh@redhat.com>
27043 * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
27044 * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
27045 * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
27046 * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
27047 * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
27048 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
27049 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
27050 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
27051 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
27052 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
27053 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
27054 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
27055 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
27056 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
27057 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
27059 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
27061 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
27063 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
27065 * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
27066 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
27068 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
27069 * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
27070 * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
27071 * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
27073 * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
27074 * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
27075 * sysdeps/powerpc/preconfigure: Likewise.
27076 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
27078 * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
27079 Replace contents of file by #include of <fenv_libc.h>.
27080 * sysdeps/powerpc/soft-fp/sfp-machine.h
27081 [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
27083 [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
27084 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
27085 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
27086 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
27087 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
27088 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
27089 [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
27090 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
27091 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
27092 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
27093 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
27094 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
27095 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
27096 Allow copysignl PLT reference to be missing.
27098 2013-10-18 Richard Sandiford <richard@codesourcery.com>
27099 Joseph Myers <joseph@codesourcery.com
27102 * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
27104 (add_to_tablewc): Assert sequence of wide characters is nonempty.
27106 2013-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
27108 * elf/tst-tls-dlinfo.c: Don't include tls.h.
27109 * elf/tst-tls1.c: Likewise.
27110 * elf/tst-tls10.h: Likewise.
27111 * elf/tst-tls14.c: Likewise.
27112 * elf/tst-tls2.c: Likewise.
27113 * elf/tst-tls3.c: Likewise.
27114 * elf/tst-tls4.c: Likewise.
27115 * elf/tst-tls5.c: Likewise.
27116 * elf/tst-tls6.c: Likewise.
27117 * elf/tst-tls7.c: Likewise.
27118 * elf/tst-tls8.c: Likewise.
27119 * elf/tst-tls9.c: Likewise.
27120 * elf/tst-tlsmod1.c: Likewise.
27121 * elf/tst-tlsmod13.c: Likewise.
27122 * elf/tst-tlsmod13a.c: Likewise.
27123 * elf/tst-tlsmod14a.c: Likewise.
27124 * elf/tst-tlsmod16a.c: Likewise.
27125 * elf/tst-tlsmod16b.c: Likewise.
27126 * elf/tst-tlsmod2.c: Likewise.
27127 * elf/tst-tlsmod3.c: Likewise.
27128 * elf/tst-tlsmod4.c: Likewise.
27129 * elf/tst-tlsmod5.c: Likewise.
27130 * elf/tst-tlsmod6.c: Likewise.
27132 2013-10-18 Ondřej Bílka <neleai@seznam.cz>
27135 * malloc/malloc.c: remove checks for statistics.
27137 2013-10-17 Ondřej Bílka <neleai@seznam.cz>
27140 * inet/inet_net.c (inet_network): Detect additional invalid strings.
27141 * inet/tst-network.c: Add testcase.
27143 2013-10-17 Andreas Schwab <schwab@suse.de>
27146 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
27147 to determine canonical name.
27149 2013-10-17 Ondřej Bílka <neleai@seznam.cz>
27151 * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
27152 * sysdeps/ieee754/dbl-64/dla.h: Likewise.
27153 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
27154 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
27155 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
27156 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
27157 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
27158 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
27159 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
27160 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
27161 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
27162 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
27163 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
27164 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
27165 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
27166 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
27167 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
27168 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
27169 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
27170 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
27171 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
27172 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
27173 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
27174 * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
27175 * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
27176 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
27177 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
27178 * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
27179 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
27180 * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
27181 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
27182 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
27183 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
27184 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
27185 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
27186 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
27187 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
27188 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
27189 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
27190 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
27191 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
27192 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
27193 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
27194 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
27195 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
27196 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
27197 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
27198 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
27199 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
27200 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
27201 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
27202 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
27203 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
27204 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
27205 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
27206 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
27207 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
27208 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
27210 2013-10-17 Joseph Myers <joseph@codesourcery.com>
27213 * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
27214 make result into a quiet NaN.
27216 2013-10-16 Joseph Myers <joseph@codesourcery.com>
27218 * soft-fp/adddf3.c: Fix horizontal whitespace.
27219 * soft-fp/addsf3.c: Likewise.
27220 * soft-fp/addtf3.c: Likewise.
27221 * soft-fp/divdf3.c: Likewise.
27222 * soft-fp/divsf3.c: Likewise.
27223 * soft-fp/divtf3.c: Likewise.
27224 * soft-fp/double.h: Likewise.
27225 * soft-fp/eqdf2.c: Likewise.
27226 * soft-fp/eqsf2.c: Likewise.
27227 * soft-fp/eqtf2.c: Likewise.
27228 * soft-fp/extenddftf2.c: Likewise.
27229 * soft-fp/extended.h: Likewise.
27230 * soft-fp/extendsfdf2.c: Likewise.
27231 * soft-fp/extendsftf2.c: Likewise.
27232 * soft-fp/extendxftf2.c: Likewise.
27233 * soft-fp/fixdfdi.c: Likewise.
27234 * soft-fp/fixdfsi.c: Likewise.
27235 * soft-fp/fixdfti.c: Likewise.
27236 * soft-fp/fixsfdi.c: Likewise.
27237 * soft-fp/fixsfsi.c: Likewise.
27238 * soft-fp/fixsfti.c: Likewise.
27239 * soft-fp/fixtfdi.c: Likewise.
27240 * soft-fp/fixtfsi.c: Likewise.
27241 * soft-fp/fixtfti.c: Likewise.
27242 * soft-fp/fixunsdfdi.c: Likewise.
27243 * soft-fp/fixunsdfsi.c: Likewise.
27244 * soft-fp/fixunsdfti.c: Likewise.
27245 * soft-fp/fixunssfdi.c: Likewise.
27246 * soft-fp/fixunssfsi.c: Likewise.
27247 * soft-fp/fixunssfti.c: Likewise.
27248 * soft-fp/fixunstfdi.c: Likewise.
27249 * soft-fp/fixunstfsi.c: Likewise.
27250 * soft-fp/fixunstfti.c: Likewise.
27251 * soft-fp/floatdidf.c: Likewise.
27252 * soft-fp/floatdisf.c: Likewise.
27253 * soft-fp/floatditf.c: Likewise.
27254 * soft-fp/floatsidf.c: Likewise.
27255 * soft-fp/floatsisf.c: Likewise.
27256 * soft-fp/floatsitf.c: Likewise.
27257 * soft-fp/floattidf.c: Likewise.
27258 * soft-fp/floattisf.c: Likewise.
27259 * soft-fp/floattitf.c: Likewise.
27260 * soft-fp/floatundidf.c: Likewise.
27261 * soft-fp/floatundisf.c: Likewise.
27262 * soft-fp/floatunditf.c: Likewise.
27263 * soft-fp/floatunsidf.c: Likewise.
27264 * soft-fp/floatunsisf.c: Likewise.
27265 * soft-fp/floatunsitf.c: Likewise.
27266 * soft-fp/floatuntidf.c: Likewise.
27267 * soft-fp/floatuntisf.c: Likewise.
27268 * soft-fp/floatuntitf.c: Likewise.
27269 * soft-fp/fmadf4.c: Likewise.
27270 * soft-fp/fmasf4.c: Likewise.
27271 * soft-fp/fmatf4.c: Likewise.
27272 * soft-fp/gedf2.c: Likewise.
27273 * soft-fp/gesf2.c: Likewise.
27274 * soft-fp/getf2.c: Likewise.
27275 * soft-fp/ledf2.c: Likewise.
27276 * soft-fp/lesf2.c: Likewise.
27277 * soft-fp/letf2.c: Likewise.
27278 * soft-fp/muldf3.c: Likewise.
27279 * soft-fp/mulsf3.c: Likewise.
27280 * soft-fp/multf3.c: Likewise.
27281 * soft-fp/negdf2.c: Likewise.
27282 * soft-fp/negsf2.c: Likewise.
27283 * soft-fp/negtf2.c: Likewise.
27284 * soft-fp/op-1.h: Likewise.
27285 * soft-fp/op-2.h: Likewise.
27286 * soft-fp/op-4.h: Likewise.
27287 * soft-fp/op-8.h: Likewise.
27288 * soft-fp/op-common.h: Likewise.
27289 * soft-fp/quad.h: Likewise.
27290 * soft-fp/single.h: Likewise.
27291 * soft-fp/soft-fp.h: Likewise.
27292 * soft-fp/sqrtdf2.c: Likewise.
27293 * soft-fp/sqrtsf2.c: Likewise.
27294 * soft-fp/sqrttf2.c: Likewise.
27295 * soft-fp/subdf3.c: Likewise.
27296 * soft-fp/subsf3.c: Likewise.
27297 * soft-fp/subtf3.c: Likewise.
27298 * soft-fp/truncdfsf2.c: Likewise.
27299 * soft-fp/trunctfdf2.c: Likewise.
27300 * soft-fp/trunctfsf2.c: Likewise.
27301 * soft-fp/trunctfxf2.c: Likewise.
27302 * soft-fp/unorddf2.c: Likewise.
27303 * soft-fp/unordsf2.c: Likewise.
27304 * soft-fp/unordtf2.c: Likewise.
27306 2013-10-15 Joseph Myers <joseph@codesourcery.com>
27308 * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
27309 * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
27311 2013-10-15 Ondřej Bílka <neleai@seznam.cz>
27313 * elf/dl-libc.c: Clear initfini list after freeing.
27315 2013-10-14 Joseph Myers <joseph@codesourcery.com>
27317 * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
27318 * soft-fp/addsf3.c: Likewise.
27319 * soft-fp/addtf3.c: Likewise.
27320 * soft-fp/divdf3.c: Likewise.
27321 * soft-fp/divsf3.c: Likewise.
27322 * soft-fp/divtf3.c: Likewise.
27323 * soft-fp/double.h: Likewise.
27324 * soft-fp/eqdf2.c: Likewise.
27325 * soft-fp/eqsf2.c: Likewise.
27326 * soft-fp/eqtf2.c: Likewise.
27327 * soft-fp/extenddftf2.c: Likewise.
27328 * soft-fp/extended.h: Likewise.
27329 * soft-fp/extendsfdf2.c: Likewise.
27330 * soft-fp/extendsftf2.c: Likewise.
27331 * soft-fp/extendxftf2.c: Likewise.
27332 * soft-fp/fixdfdi.c: Likewise.
27333 * soft-fp/fixdfsi.c: Likewise.
27334 * soft-fp/fixdfti.c: Likewise.
27335 * soft-fp/fixsfdi.c: Likewise.
27336 * soft-fp/fixsfsi.c: Likewise.
27337 * soft-fp/fixsfti.c: Likewise.
27338 * soft-fp/fixtfdi.c: Likewise.
27339 * soft-fp/fixtfsi.c: Likewise.
27340 * soft-fp/fixtfti.c: Likewise.
27341 * soft-fp/fixunsdfdi.c: Likewise.
27342 * soft-fp/fixunsdfsi.c: Likewise.
27343 * soft-fp/fixunsdfti.c: Likewise.
27344 * soft-fp/fixunssfdi.c: Likewise.
27345 * soft-fp/fixunssfsi.c: Likewise.
27346 * soft-fp/fixunssfti.c: Likewise.
27347 * soft-fp/fixunstfdi.c: Likewise.
27348 * soft-fp/fixunstfsi.c: Likewise.
27349 * soft-fp/fixunstfti.c: Likewise.
27350 * soft-fp/floatdidf.c: Likewise.
27351 * soft-fp/floatdisf.c: Likewise.
27352 * soft-fp/floatditf.c: Likewise.
27353 * soft-fp/floatsidf.c: Likewise.
27354 * soft-fp/floatsisf.c: Likewise.
27355 * soft-fp/floatsitf.c: Likewise.
27356 * soft-fp/floattidf.c: Likewise.
27357 * soft-fp/floattisf.c: Likewise.
27358 * soft-fp/floattitf.c: Likewise.
27359 * soft-fp/floatundidf.c: Likewise.
27360 * soft-fp/floatundisf.c: Likewise.
27361 * soft-fp/floatunsidf.c: Likewise.
27362 * soft-fp/floatunsisf.c: Likewise.
27363 * soft-fp/floatuntidf.c: Likewise.
27364 * soft-fp/floatuntisf.c: Likewise.
27365 * soft-fp/floatuntitf.c: Likewise.
27366 * soft-fp/fmadf4.c: Likewise.
27367 * soft-fp/fmasf4.c: Likewise.
27368 * soft-fp/fmatf4.c: Likewise.
27369 * soft-fp/gedf2.c: Likewise.
27370 * soft-fp/gesf2.c: Likewise.
27371 * soft-fp/getf2.c: Likewise.
27372 * soft-fp/ledf2.c: Likewise.
27373 * soft-fp/lesf2.c: Likewise.
27374 * soft-fp/letf2.c: Likewise.
27375 * soft-fp/muldf3.c: Likewise.
27376 * soft-fp/mulsf3.c: Likewise.
27377 * soft-fp/multf3.c: Likewise.
27378 * soft-fp/negdf2.c: Likewise.
27379 * soft-fp/negsf2.c: Likewise.
27380 * soft-fp/negtf2.c: Likewise.
27381 * soft-fp/op-1.h: Likewise.
27382 * soft-fp/op-2.h: Likewise.
27383 * soft-fp/op-4.h: Likewise.
27384 * soft-fp/op-8.h: Likewise.
27385 * soft-fp/op-common.h: Likewise.
27386 * soft-fp/quad.h: Likewise.
27387 * soft-fp/single.h: Likewise.
27388 * soft-fp/soft-fp.h: Likewise.
27389 * soft-fp/sqrtdf2.c: Likewise.
27390 * soft-fp/sqrtsf2.c: Likewise.
27391 * soft-fp/sqrttf2.c: Likewise.
27392 * soft-fp/subdf3.c: Likewise.
27393 * soft-fp/subsf3.c: Likewise.
27394 * soft-fp/subtf3.c: Likewise.
27395 * soft-fp/truncdfsf2.c: Likewise.
27396 * soft-fp/trunctfdf2.c: Likewise.
27397 * soft-fp/trunctfsf2.c: Likewise.
27398 * soft-fp/trunctfxf2.c: Likewise.
27399 * soft-fp/unorddf2.c: Likewise.
27400 * soft-fp/unordsf2.c: Likewise.
27401 * soft-fp/unordtf2.c: Likewise.
27403 2013-10-14 Ondřej Bílka <neleai@seznam.cz>
27406 * misc/error.c (error_tail): Fix possible buffer overflow.
27408 2013-10-14 Aurelien Jarno <aurelien@aurel32.net>
27411 * res_send.c(__libc_res_nsend): Correctly copy the nameserver
27414 2013-10-14 P. J. McDermott <pj@pehjota.net>
27417 * elf/ldd.bash.in (try_trace): New function. Delete previous code
27418 testing pipefail option.
27420 2013-10-12 Joseph Myers <joseph@codesourcery.com>
27422 * soft-fp/double.h: Indent preprocessor directives inside #if.
27423 * soft-fp/extended.h: Likewise.
27424 * soft-fp/op-2.h: Likewise.
27425 * soft-fp/op-4.h: Likewise.
27426 * soft-fp/op-common.h: Likewise.
27427 * soft-fp/quad.h: Likewise.
27428 * soft-fp/single.h: Likewise.
27429 * soft-fp/soft-fp.h: Likewise.
27431 2013-10-12 Yuri Chornoivan <yurchor@ukr.net>
27433 * iconv/iconv_prog.c: Fix typos.
27434 * stdio-common/psiginfo-data.h: Likewise.
27436 2013-10-12 Reuben Thomas <rrt@sc3d.org>
27439 * locale/setlocale.c: Fix typo.
27441 2013-10-12 Joseph Myers <joseph@codesourcery.com>
27444 * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
27445 signaling NaN arguments.
27446 * soft-fp/unordsf2.c (__unordsf2): Likewise.
27447 * soft-fp/unordtf2.c (__unordtf2): Likewise.
27450 * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
27451 unordered operands.
27452 * soft-fp/gesf2.c (__gesf2): Likewise.
27453 * soft-fp/getf2.c (__getf2): Likewise.
27454 * soft-fp/ledf2.c (__ledf2): Likewise.
27455 * soft-fp/lesf2.c (__lesf2): Likewise.
27456 * soft-fp/letf2.c (__letf2): Likewise.
27458 * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
27459 * soft-fp/eqsf2.c (__eqsf2): Likewise.
27460 * soft-fp/eqtf2.c (__eqtf2): Likewise.
27461 * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
27462 * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
27463 * soft-fp/fixdfti.c (__fixdfti): Likewise.
27464 * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
27465 * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
27466 * soft-fp/fixsfti.c (__fixsfti): Likewise.
27467 * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
27468 * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
27469 * soft-fp/fixtfti.c (__fixtfti): Likewise.
27470 * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
27471 * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
27472 * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
27473 * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
27474 * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
27475 * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
27476 * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
27477 * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
27478 * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
27479 * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
27480 * soft-fp/floatdisf.c (__floatdisf): Likewise.
27481 * soft-fp/floatsisf.c (__floatsisf): Likewise.
27482 * soft-fp/floattidf.c (__floattidf): Likewise.
27483 * soft-fp/floattisf.c (__floattisf): Likewise.
27484 * soft-fp/floattitf.c (__floattitf): Likewise.
27485 * soft-fp/floatundidf.c (__floatundidf): Likewise.
27486 * soft-fp/floatundisf.c (__floatundisf): Likewise.
27487 * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
27488 * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
27489 * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
27490 * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
27491 * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
27492 * soft-fp/gesf2.c (__gesf2): Likewise.
27493 * soft-fp/getf2.c (__getf2): Likewise.
27494 * soft-fp/ledf2.c (__ledf2): Likewise.
27495 * soft-fp/lesf2.c (__lesf2): Likewise.
27496 * soft-fp/letf2.c (__letf2): Likewise.
27498 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
27499 Undefine and redefine.
27500 [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
27501 [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
27502 [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
27503 * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
27504 (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
27505 * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
27506 (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
27507 * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
27508 (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
27509 * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
27510 (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
27511 * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
27512 (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
27513 * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
27514 (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
27517 * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
27518 without decrementing exponent if mantissa >= that for the
27519 denominator, not >.
27520 (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
27521 denominator, not >. Decrement exponent in < case instead of
27522 incrementing in >= case.
27523 * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
27524 without decrementing exponent if mantissa >= that for the
27525 denominator, not >.
27527 * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
27528 computing saturated result for unsigned overflow.
27530 2013-10-11 Siddhesh Poyarekar <siddhesh@redhat.com>
27531 Jeff Law <law@redhat.com>
27533 * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
27534 (atan2Mp): Add systemtap probe marker.
27535 * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
27536 (__ieee754_log): Add systemtap probe marker.
27537 * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
27538 (atanMp): Add systemtap probe marker.
27539 * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
27540 (tanMp): Add systemtap probe marker.
27541 * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
27542 (__slowexp): Add systemtap probe marker.
27543 * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
27544 (__slowpow): Add systemtap probe marker.
27545 * manual/probes.texi: Document probes.
27547 2013-10-11 Eric Biggers <ebiggers3@gmail.com>
27550 * libio/fileops.c (_IO_new_file_write): Return count of bytes
27552 (_IO_new_file_xsputn): Don't return EOF if nothing has been
27554 * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
27555 written to buffer but not flushed.
27556 * libio/iofwrite_u.c: Likewise.
27557 * libio/iopadn.c: Return bytes returned even if EOF was
27559 * libio/iowpadn.c: Likewise.
27560 * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
27561 if _IO_padn does not write the whole buffer.
27562 [!COMPILE_WPRINTF] (PAD): Likewise.
27564 2013-10-10 David S. Miller <davem@davemloft.net>
27566 * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
27569 2013-10-10 Joseph Myers <joseph@codesourcery.com>
27571 * soft-fp/extendxftf2.c: Use copyright year range. Use URL
27572 instead of FSF address.
27573 * soft-fp/fixdfti.c: Likewise.
27574 * soft-fp/fixsfti.c: Likewise.
27575 * soft-fp/fixtfti.c: Likewise.
27576 * soft-fp/fixunsdfti.c: Likewise.
27577 * soft-fp/fixunssfti.c: Likewise.
27578 * soft-fp/fixunstfti.c: Likewise.
27579 * soft-fp/floattidf.c: Likewise.
27580 * soft-fp/floattisf.c: Likewise.
27581 * soft-fp/floattitf.c: Likewise.
27582 * soft-fp/floatuntidf.c: Likewise.
27583 * soft-fp/floatuntisf.c: Likewise.
27584 * soft-fp/floatuntitf.c: Likewise.
27585 * soft-fp/trunctfxf2.c: Likewise.
27587 * soft-fp/extendxftf2.c: New file. Copied from libgcc.
27588 * soft-fp/fixdfti.c: Likewise.
27589 * soft-fp/fixsfti.c: Likewise.
27590 * soft-fp/fixtfti.c: Likewise.
27591 * soft-fp/fixunsdfti.c: Likewise.
27592 * soft-fp/fixunssfti.c: Likewise.
27593 * soft-fp/fixunstfti.c: Likewise.
27594 * soft-fp/floattidf.c: Likewise.
27595 * soft-fp/floattisf.c: Likewise.
27596 * soft-fp/floattitf.c: Likewise.
27597 * soft-fp/floatuntidf.c: Likewise.
27598 * soft-fp/floatuntisf.c: Likewise.
27599 * soft-fp/floatuntitf.c: Likewise.
27600 * soft-fp/trunctfxf2.c: Likewise.
27602 2013-10-10 David S. Miller <davem@davemloft.net>
27604 * sysdeps/sparc/fpu/libm-test-ulps: Update.
27606 2013-10-10 Joseph Myers <joseph@codsourcery.com>
27608 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
27609 (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
27610 [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
27611 [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
27612 [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
27613 [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
27614 [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
27616 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
27617 for NaNs before doing comparisons on argument.
27618 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
27621 2013-10-10 Will Newton <will.newton@linaro.org>
27623 * malloc/hooks.c (memalign_check): Ensure the value of bytes
27624 passed to _int_memalign does not overflow.
27626 2013-10-10 Torvald Riegel <triegel@redhat.com>
27628 * scripts/bench.pl: Add include-sources directive.
27629 * benchtests/README: Update documentation.
27631 2013-10-10 Joseph Myers <joseph@codesourcery.com>
27633 * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
27634 * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
27635 instead of FP_INIT_ROUNDMODE.
27636 * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
27637 * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
27640 * soft-fp/op-common.h (_FP_NEG): Document input as raw. Do not
27641 copy class of input value.
27642 * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing. Do
27643 not handle exceptions.
27644 * soft-fp/negsf2.c (__negsf2): Likewise.
27645 * soft-fp/negtf2.c (__negtf2): Likewise.
27646 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
27648 2013-10-09 Joseph Myers <joseph@codesourcery.com>
27650 * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
27651 semicolon. From Linux kernel.
27653 2013-10-09 Adam Buchbinder <adam.buchbinder@gmail.com>
27655 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
27657 2013-10-08 Yogesh Chaudhari <mr.yogesh@gmail.com>
27660 * manual/socket.texi: Added statement about buffer
27661 for gethostbyname2_r.
27663 2013-10-08 Ondřej Bílka <neleai@seznam.cz>
27665 * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
27666 Use .p2align directive instead, throughout.
27667 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
27668 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
27669 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
27670 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
27671 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
27672 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
27673 * sysdeps/x86_64/strchr.S: Likewise.
27674 * sysdeps/x86_64/strrchr.S: Likewise.
27676 2013-10-08 Siddhesh Poyarekar <siddhesh@redhat.com>
27678 * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
27680 * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
27682 * sysdeps/generic/math_private.h (__mpsin1): Remove
27684 (__mpcos1): Likewise.
27685 (__mpsin): New argument __range_reduce.
27686 (__mpcos): Likewise.
27687 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
27688 (slow): Use __mpsin and __mpcos.
27692 (sloww1): Likewise.
27693 (sloww2): Likewise.
27694 (bsloww): Likewise.
27695 (bsloww1): Likewise.
27696 (bsloww2): Likewise.
27697 (cslow2): Likewise.
27698 (csloww): Likewise.
27699 (csloww1): Likewise.
27700 (csloww2): Likewise.
27701 * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
27702 range_reduce. Merge in __mpsin1.
27703 (__mpcos): Likewise.
27704 (__mpsin1): Remove.
27705 (__mpcos1): Likewise.
27707 2013-10-07 Joseph Myers <joseph@codesourcery.com>
27709 * locale/loadlocale.c (_nl_intern_locale_data): Use
27711 * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
27712 LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
27713 * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
27714 obstack data is appropriately aligned.
27715 (obstack_int32_grow_fast): Likewise.
27716 * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
27717 * locale/programs/locfile.c (add_locale_uint32): Likewise.
27718 (add_locale_uint32_array): Likewise.
27720 2013-10-07 Siddhesh Poyarekar <siddhesh@redhat.com>
27722 * benchtests/Makefile: Remove ARGLIST and RET variables.
27723 ($(objpfx)bench-%.c): Pass only function name to the script.
27724 * benchtests/README: Update documentation.
27725 * benchtests/acos-inputs: Add new directives.
27726 * benchtests/acosh-inputs: Likewise.
27727 * benchtests/asin-inputs: Likewise.
27728 * benchtests/asinh-inputs: Likewise.
27729 * benchtests/atan-inputs: Likewise.
27730 * benchtests/atanh-inputs: Likewise.
27731 * benchtests/cos-inputs: Likewise.
27732 * benchtests/cosh-inputs: Likewise.
27733 * benchtests/exp-inputs: Likewise.
27734 * benchtests/log-inputs: Likewise.
27735 * benchtests/pow-inputs: Likewise.
27736 * benchtests/rint-inputs: Likewise.
27737 * benchtests/sin-inputs: Likewise.
27738 * benchtests/sinh-inputs: Likewise.
27739 * benchtests/tan-inputs: Likewise.
27740 * benchtests/tanh-inputs: Likewise.
27741 * scripts/bench.pl: Add support for new directives.
27743 2013-10-07 Alan Modra <amodra@gmail.com>
27745 * README: Fix careless merge.
27747 2013-10-05 Alan Modra <amodra@gmail.com>
27749 * NEWS: Mention powerpc64le support and bugs fixed.
27750 * README: Both big-endian and little-endian powerpc64 supported.
27752 2013-10-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
27754 * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
27755 (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
27756 (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
27757 _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
27759 2013-10-04 Ryan S. Arnold <ryan.arnold@linaro.org>
27761 * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
27764 2013-10-04 Joseph Myers <joseph@codesourcery.com>
27766 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
27767 Move -mhard-float appending from
27768 ports/sysdeps/powerpc/powerpc32/Makefile.
27769 [$(with-fp) = yes] (ASFLAGS): Likewise.
27770 [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
27771 * sysdeps/powerpc/nofpu: Move directory from
27772 ports/sysdeps/powerpc/nofpu.
27773 * sysdeps/powerpc/soft-fp: Move directory from
27774 ports/sysdeps/powerpc/soft-fp.
27775 * sysdeps/powerpc/powerpc32/405: Move directory from
27776 ports/sysdeps/powerpc/powerpc32/405.
27777 * sysdeps/powerpc/powerpc32/440: Move directory from
27778 ports/sysdeps/powerpc/powerpc32/440.
27779 * sysdeps/powerpc/powerpc32/464: Move directory from
27780 ports/sysdeps/powerpc/powerpc32/464.
27781 * sysdeps/powerpc/powerpc32/476: Move directory from
27782 ports/sysdeps/powerpc/powerpc32/476.
27783 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
27784 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
27785 * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
27786 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
27787 * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
27788 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
27789 * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
27790 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
27791 * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
27792 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
27793 * README: Update for powerpc-*-linux-gnu software floating point
27796 * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
27797 case to powerpc/powerpc32*.
27798 * sysdeps/unix/sysv/linux/configure: Regenerated.
27800 * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
27801 (_FPU_MASK_OM): Define as 0x04.
27802 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
27803 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
27805 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
27807 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
27809 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
27810 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
27812 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
27813 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
27815 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
27816 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
27817 and setcontext_e500.
27819 2013-10-04 Chris Leonard <cjl@sugarlabs,.org>
27821 * locale/iso-3166.def: Update iso-1366.def and related occurrences
27823 2013-10-04 Siddhesh Poyarekar <siddhesh@redhat.com>
27825 * manual/threads.texi (Default Thread Attributes): Fix typo.
27827 2013-10-04 Will Newton <will.newton@linaro.org>
27829 * malloc/Makefile: Add tst-memalign.
27830 * malloc/tst-memalign.c: New file.
27832 * malloc/tst-posix_memalign.c: Add comments.
27833 (do_test): Add comments and call free on all potentially
27834 allocated pointers. Add space after cast.
27836 * malloc/tst-pvalloc.c: Add comments.
27837 (do_test): Add comments and call free on all potentially
27838 allocated pointers. Remove duplicate check for NULL pointer.
27839 Add space after cast.
27841 * malloc/tst-valloc.c: Add comments.
27842 (do_test): Add comments and call free on all potentially
27843 allocated pointers. Remove duplicate check for NULL pointer.
27844 Add space after cast.
27846 2013-10-04 Alan Modra <amodra@gmail.com>
27848 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
27849 Use stdint types in rather than __attribute__((mode())).
27850 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
27852 2013-10-04 Alan Modra <amodra@gmail.com>
27854 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
27855 Correct handling of unaligned relocs for little-endian.
27856 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
27858 2013-10-04 Alan Modra <amodra@gmail.com>
27860 * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
27861 * configure: Regenerate.
27862 * nptl/shlib-versions: Powerpc*le starts at 2.18.
27863 * shlib-versions: Likewise.
27865 2013-10-04 Alan Modra <amodra@gmail.com>
27867 * string/tester.c (test_memrchr): Increment reported test cycle.
27869 2013-10-04 Alan Modra <amodra@gmail.com>
27871 * string/test-memcpy.c (do_one_test): When reporting errors, print
27872 string address and don't overrun end of string.
27874 2013-10-04 Alan Modra <amodra@gmail.com>
27876 * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
27877 insrdi. Make better use of reg selection to speed exit slightly.
27878 Schedule entry path a little better. Remove useless "are we done"
27879 checks on entry to main loop. Handle wrapping around zero address.
27880 Correct main loop count. Handle single left-over word from main
27881 loop inline rather than by using loop_small. Remove extra word
27882 case in loop_small caused by wrong loop count. Add little-endian
27884 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
27885 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise. Use proper
27887 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
27888 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
27889 support. Avoid rlwimi.
27890 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
27892 2013-10-04 Alan Modra <amodra@gmail.com>
27894 * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
27895 insrdi. Formatting.
27896 * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
27897 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
27898 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
27899 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
27900 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
27901 * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
27903 2013-10-04 Alan Modra <amodra@gmail.com>
27905 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
27906 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
27907 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
27908 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
27909 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
27910 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
27911 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
27912 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
27913 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise. Make better
27914 use of regs. Use power7 mtocrf. Tidy function tails.
27916 2013-10-04 Alan Modra <amodra@gmail.com>
27918 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
27919 Formatting. Consistently use rXXX register defines or rN defines.
27920 Use early exit labels that avoid restoring unused non-volatile regs.
27921 Make cr field use more consistent with rWORDn compares. Rename
27922 regs used as shift registers for unaligned loop, using rN defines
27923 for short lifetime/multiple use regs.
27924 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
27925 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise. Exit with
27926 addi 1,1,64 to pop stack frame. Simplify return value code.
27927 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
27929 2013-10-04 Alan Modra <amodra@gmail.com>
27931 * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
27932 support. Correct typos, formatting. Optimize tail. Use insrdi
27933 rather than rlwimi.
27934 * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
27935 * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
27936 little-endian support. Correct typos.
27937 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise. Use insrdi
27938 rather than rlwimi.
27939 * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define. Use
27940 in loop and entry code to keep "and." results.
27941 (strchr): Add little-endian support. Comment. Move cntlzd
27943 * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
27945 2013-10-04 Alan Modra <amodra@gmail.com>
27947 * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
27948 * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
27949 * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
27950 * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
27952 2013-10-04 Alan Modra <amodra@gmail.com>
27954 * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
27955 (rTMP): Define as r11.
27956 (strcmp): Add little-endian support. Optimise tail.
27957 * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
27958 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
27959 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
27960 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
27961 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
27962 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
27963 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
27965 2013-10-04 Alan Modra <amodra@gmail.com>
27967 * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
27968 little-endian support. Remove unnecessary "are we done" tests.
27969 Handle "s" wrapping around zero and extremely large "size".
27970 Correct main loop count. Handle single left-over word from main
27971 loop inline rather than by using small_loop. Correct comments.
27972 Delete "zero" tail, use "end_max" instead.
27973 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
27975 2013-10-04 Alan Modra <amodra@gmail.com>
27977 * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
27978 support. Don't branch over align.
27979 * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
27980 * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
27981 support. Rearrange tmp reg use to suit. Comment.
27982 * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
27984 2013-10-04 Alan Modra <amodra@gmail.com>
27986 * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
27988 2013-10-04 Alan Modra <amodra@gmail.com>
27990 * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
27991 conditional form of branch and link when obtaining pc.
27992 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
27994 2013-10-04 Alan Modra <amodra@gmail.com>
27996 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
27998 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
27999 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
28001 2013-10-04 Alan Modra <amodra@gmail.com>
28003 * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
28004 * sysdeps/powerpc/novmx-longjmp.c: Likewise.
28005 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
28006 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
28007 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
28008 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
28009 * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
28010 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
28011 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
28012 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
28014 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
28015 Alistair Popple <alistair@ozlabs.au.ibm.com>
28016 Alan Modra <amodra@gmail.com>
28019 * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
28020 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
28021 _dl_hwcap access for little-endian.
28022 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise. Don't
28023 destroy vmx regs when saving unaligned.
28024 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
28025 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save. Don't
28026 destroy vmx regs when saving unaligned.
28028 2013-10-04 Alan Modra <amodra@gmail.com>
28030 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
28031 Don't use a union to pack hi/low value.
28033 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
28035 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
28037 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
28038 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
28039 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
28040 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
28041 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
28043 2013-10-04 Alan Modra <amodra@gmail.com>
28045 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
28046 constants to usual value for .cst8 section, and remove redundant
28048 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
28049 constant for 0x1p52. Load little-endian words of double from
28050 correct stack offsets.
28052 2013-10-04 Alan Modra <amodra@gmail.com>
28054 * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
28055 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
28056 words of double from correct stack offsets.
28057 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
28058 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
28059 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
28060 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
28061 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
28062 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
28063 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
28064 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
28065 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
28066 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
28067 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
28068 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
28069 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
28070 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
28071 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
28072 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
28073 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
28075 2013-10-04 Alan Modra <amodra@gmail.com>
28077 * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
28078 64-bit int/double union.
28079 (_FPU_SETCW): Likewise.
28080 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
28081 (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
28083 2013-10-04 Alan Modra <amodra@gmail.com>
28085 * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
28086 * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
28088 2013-10-04 Alan Modra <amodra@gmail.com>
28090 * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
28091 use vector int constants.
28092 (__float_and_test24, __float_and8, __float_get_exp): Likewise.
28094 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
28096 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
28097 array with long long.
28098 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
28099 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
28100 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
28101 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
28102 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
28103 * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
28104 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
28105 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
28106 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
28107 * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
28108 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
28109 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
28110 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
28112 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
28114 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
28115 (__signbit): Likewise. Correct for little-endian.
28116 (__signbitl): Call __signbit.
28117 (lrint): Correct for little-endian.
28118 (lrintf): Call lrint.
28120 2013-10-04 Alan Modra <amodra@gmail.com>
28122 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
28123 union 32-bit int array member with 64-bit int array.
28124 (t515, tm256): Double rather than long double.
28125 (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
28127 2013-10-04 Alan Modra <amodra@gmail.com>
28129 * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
28131 (IEEE854_LONG_DOUBLE_BIAS): Delete.
28132 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
28133 version of math_ldbl.h.
28135 2013-10-04 Alan Modra <amodra@gmail.com>
28137 [BZ #15734], [BZ #15735]
28138 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
28139 all uses of ieee875 long double macros and unions. Simplify test
28140 for 0.0L. Correct |x|<|y| and |x|=|y| test. Use
28141 ldbl_extract_mantissa value for ix,iy exponents. Properly
28142 normalize after ldbl_extract_mantissa, and don't add hidden bit
28143 already handled. Don't treat low word of ieee854 mantissa like
28144 low word of IBM long double and mask off bit when testing for
28146 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
28147 all uses of ieee875 long double macros and unions. Simplify tests
28148 for 0.0L and inf. Correct double adjustment of k. Delete dead code
28149 adjusting ha,hb. Simplify code setting kld. Delete two600 and
28150 two1022, instead use their values. Recognise that tests for large
28151 "a" and small "b" are mutually exclusive. Rename vars. Comment.
28152 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
28153 Rewrite all uses of ieee875 long double macros and unions. Simplify
28154 test for 0.0L and nan. Correct negation.
28155 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
28156 ieee875 long double macros and unions. Correct output for large
28157 magnitude x. Correct absolute value calculation.
28158 (__erfcl): Likewise.
28159 * math/libm-test.inc: Add tests for errors discovered in IBM long
28160 double versions of fmodl, remainderl, erfl and erfcl.
28162 2013-10-04 Alan Modra <amodra@gmail.com>
28164 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
28165 all uses of ieee854 long double macros and unions. Simplify tests
28166 for long doubles that are fully specified by the high double.
28167 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
28169 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
28170 Remove dead code too.
28171 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
28172 (__ieee754_ynl): Likewise.
28173 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
28174 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
28175 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
28176 Remove dead code too.
28177 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
28178 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
28179 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
28180 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
28182 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
28184 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
28185 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
28186 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
28187 Comment on variable precision.
28188 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
28189 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
28191 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
28192 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
28193 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
28194 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
28195 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
28197 2013-10-04 Alan Modra <amodra@gmail.com>
28199 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
28200 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
28201 all uses of ieee854 long double macros and unions.
28202 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
28203 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
28204 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
28205 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
28206 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
28207 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
28209 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
28210 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
28211 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
28212 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
28213 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
28214 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
28215 Simplify sign and nan test too.
28216 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
28217 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
28218 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
28219 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
28221 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
28222 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
28224 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
28225 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
28226 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
28227 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
28228 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
28229 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
28231 2013-10-04 Alan Modra <amodra@gmail.com>
28233 * stdio-common/printf_size.c (__printf_size): Don't use
28234 union ieee854_long_double in fpnum union.
28235 * stdio-common/printf_fphex.c (__printf_fphex): Likewise. Use
28236 signbit macro to retrieve sign from long double.
28237 * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
28238 retrieve sign from long double.
28239 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
28240 * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
28241 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
28242 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
28243 * math/test-misc.c (main): Don't use union ieee854_long_double.
28245 2013-10-04 Alan Modra <amodra@gmail.com>
28248 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
28249 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
28250 (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
28251 calculation. Remove unnecessary test for denormal exponent.
28252 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
28253 Correct handling of denormals. Avoid undefined shift behaviour.
28254 Correct normalisation of low mantissa when low double is denormal.
28255 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
28256 (ldbl_extract_mantissa): Likewise. Comment. Use uint64_t* for hi64.
28257 (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
28258 Correct normalisation of low mantissa. Test for overflow of high
28259 mantissa and normalise.
28260 (ldbl_nearbyint): Use more readable constant for two52.
28261 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
28262 (__mpn_construct_long_double): Fix test for overflow of high
28263 mantissa and correct normalisation. Avoid undefined shift.
28265 2013-10-04 Alan Modra <amodra@gmail.com>
28267 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
28268 (union ibm_extended_long_double): Define as an array of ieee754_double.
28269 (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
28270 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
28271 to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
28272 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
28273 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
28274 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
28275 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
28276 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
28277 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
28278 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
28279 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
28281 2013-10-03 Joseph Myers <joseph@codesourcery.com>
28283 * locale/programs/locarchive.c (add_locale): Use constant 4096 for
28284 page size instead of calling getpagesize.
28286 * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
28287 (LOCFILE_ALIGN_MASK): Likewise.
28288 (LOCFILE_ALIGN_UP): Likewise.
28289 (LOCFILE_ALIGNED_P): Likewise.
28290 * locale/programs/ld-collate.c (collate_output): Use the new
28291 macros instead of __alignof__ (int32_t).
28292 * locale/weight.h (findidx): Likewise.
28294 2013-10-03 Ondřej Bílka <neleai@seznam.cz>
28297 * manual/string.texi: Fix strncat and wcsncat.
28299 2013-10-03 Brooks Moses <bmoses@google.com>
28302 * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
28303 * Makerules: ...here, and adjust associated comments.
28305 2013-10-02 Will Newton <will.newton@linaro.org>
28307 * malloc/Makefile: Add tst-pvalloc.
28308 * malloc/tst-pvalloc.c: New file.
28310 2013-10-02 Will Newton <will.newton@linaro.org>
28312 * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
28313 improve test coverage.
28315 2013-10-02 Will Newton <will.newton@linaro.org>
28317 * malloc/Makefile: Add tst-posix_memalign.
28318 * malloc/tst-posix_memalign.c: New file.
28320 2013-10-01 Eric Blake <eblake@redhat.com>
28322 * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
28323 Use __THROWNL rather than __THROW on static functions.
28325 2013-09-30 Petr Machata <pmachata@redhat.com>
28327 * elf/elf.h (R_AARCH64_ABS16): New macro.
28328 (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
28329 (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
28330 (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
28331 (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
28332 (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
28333 (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
28334 (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
28335 (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
28336 (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
28337 (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
28338 (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
28339 (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
28340 (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
28341 (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
28342 (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
28343 (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
28344 (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
28345 (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
28346 (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
28347 (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
28348 (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
28349 (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
28350 (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
28351 (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
28352 (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
28353 (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
28354 (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
28355 (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
28356 (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
28357 (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
28358 (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
28359 (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
28360 (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
28361 (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
28362 (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
28363 (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
28364 (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
28365 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
28366 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
28367 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
28368 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
28369 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
28370 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
28371 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
28372 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
28373 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
28374 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
28375 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
28376 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
28377 (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
28378 (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
28379 (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
28380 (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
28381 (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
28382 (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
28383 (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
28384 (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
28385 (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
28386 (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
28387 (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
28388 (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
28389 (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
28390 (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
28391 (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
28392 (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
28393 (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
28394 (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
28395 (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
28396 (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
28397 (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
28398 (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
28399 (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
28400 (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
28401 (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
28402 (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
28403 (R_AARCH64_TLSDESC_OFF_G1): Likewise.
28404 (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
28405 (R_AARCH64_TLSDESC_LDR): Likewise.
28406 (R_AARCH64_TLSDESC_ADD): Likewise.
28407 (R_AARCH64_TLSDESC_CALL): Likewise.
28409 2013-09-30 Andreas Schwab <schwab@suse.de>
28412 * nscd/aicache.c (addhstaiX): Properly use the cache variable for
28413 the nss database lookup.
28414 * nscd/initgrcache.c (addinitgroupsX): Likewise.
28415 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
28417 2013-09-28 Mike Frysinger <vapier@gentoo.org>
28419 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
28421 2013-09-28 P. J. McDermott <pj@pehjota.net>
28423 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
28424 ${Bash-specific parameter/pattern/string} parameter expansion.
28425 * sysdeps/unix/make-syscalls.sh: Likewise.
28427 2013-09-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
28429 * sysdeps/sh/stackguard-macros.h: New file.
28431 2013-09-26 Ondřej Bílka <neleai@seznam.cz>
28433 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
28434 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
28435 * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
28436 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
28437 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
28438 * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
28440 2013-09-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28442 * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
28443 Fix thread ID register.
28445 2013-09-25 Joseph Myers <joseph@codesourcery.com>
28447 * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
28448 [POSIX || UNIX98]: Require rather than permitting all symbols from
28450 [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
28451 element of struct sched_param.
28452 [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
28453 [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
28454 [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
28455 [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
28458 2013-09-24 Olivier Langlois <olivier@olivierlanglois.net>
28460 * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
28461 argument calculation.
28463 2013-09-24 Joseph Myers <joseph@codesourcery.com>
28465 * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
28467 [POSIX] (pthread_attr_t): Do not require type.
28468 [POSIX] (pthread_cond_t): Likewise.
28469 [POSIX] (pthread_condattr_t): Likewise.
28470 [POSIX] (pthread_key_t): Likewise.
28471 [POSIX] (pthread_mutex_t): Likewise.
28472 [POSIX] (pthread_mutexattr_t): Likewise.
28473 [POSIX] (pthread_once_t): Likewise.
28474 [POSIX] (pthread_t): Likewise.
28475 [POSIX-based standards] (pthread_atfork): Expect function.
28477 2013-09-24 Joseph Myers <joseph@codesourcery.com>
28478 Richard Sandiford <richard@codesourcery.com>
28480 * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
28481 (swap_endianness_p): New extern variable.
28482 (set_big_endian): New inline function.
28483 (maybe_swap_uint32): Likewise.
28484 (maybe_swap_uint32_array): Likewise.
28485 (maybe_swap_uint32_obstack): Likewise.
28486 * locale/programs/locfile.c: Include <stdbool.h>.
28487 (swap_endianness_p): New variable.
28488 (add_locale_uint32): Call maybe_swap_uint32.
28489 (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
28490 (write_locale_data): Call maybe_swap_uint32_array.
28491 * locale/programs/ld-collate.c (obstack_int32_grow): Call
28493 (obstack_int32_grow_fast): Likewise.
28494 (output_weightwc): Call maybe_swap_uint32_obstack.
28495 (collate_output): Likewise.
28496 * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
28497 (OPT_LITTLE_ENDIAN): Likewise.
28498 (options): Add --little-endian and --big-endian options.
28499 (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
28500 * locale/programs/locarchive.c: Include "locfile.h".
28504 (create_archive): Use the new macros to access fields of
28505 structures directly mapped from or written to locale archives.
28506 (oldlocrecentcmp): Likewise.
28507 (enlarge_archive): Likewise.
28508 (insert_name): Likewise.
28509 (add_alias): Likewise.
28510 (add_locale): Likewise.
28511 (delete_locales_from_archive): Likewise.
28512 (show_archive_content): Likewise.
28513 (add_locale_to_archive): Likewise. Use maybe_swap_uint32 on
28516 2013-09-24 Roland McGrath <roland@hack.frob.com>
28518 * manual/freemanuals.texi: Updated from (newly) canonical copy at
28519 http://www.gnu.org/doc/freemanuals.texi.
28520 * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
28522 2013-09-24 Will Newton <will.newton@linaro.org>
28524 * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
28527 2013-09-23 Joseph Myers <joseph@codesourcery.com>
28529 * locale/hashval.h (compute_hashval): Interpret bytes of key as
28532 2013-09-23 Maciej W. Rozycki <macro@codesourcery.com>
28534 * manual/threads.texi (POSIX Threads): Fix a typo.
28536 2013-09-23 Siddhesh Poyarekar <siddhesh@redhat.com>
28539 * string/tst-strcoll-overflow.c: New test case.
28540 * string/Makefile (xtests): Add tst-strcoll-overflow.
28541 * string/strcoll_l.c (STRCOLL): Skip allocating memory for
28542 cache if string sizes may cause integer overflow.
28545 * string/strcoll_l.c (coll_seq): New members rule, idx,
28546 save_idx and back_us.
28547 (get_next_seq_nocache): New function.
28548 (do_compare_nocache): New function.
28549 (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
28552 2013-09-23 Carlos O'Donell <carlos@redhat.com>
28555 * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
28556 __pointer_chk_guard_local, otherwise __pointer_chk_guard.
28557 * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
28560 * elf/Makefile (tests): Add tst-ptrguard1.
28561 (tests-static): Add tst-ptrguard1-static.
28562 (tst-ptrguard1-ARGS): Define.
28563 (tst-ptrguard1-static-ARGS): Define.
28564 * elf/tst-ptrguard1.c: New file.
28565 * elf/tst-ptrguard1-static.c: New file.
28566 * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
28567 * sysdeps/i386/stackguard-macros.h: Likewise.
28568 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
28569 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
28570 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
28571 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
28572 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
28573 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
28575 2013-09-23 Hector Marco <hecmargi@upv.es>
28576 Ismael Ripoll <iripoll@disca.upv.es>
28577 Carlos O'Donell <carlos@redhat.com>
28580 * sysdeps/generic/stackguard-macros.h: Define
28581 __pointer_chk_guard_local and POINTER_CHK_GUARD.
28582 * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
28583 Define __pointer_chk_guard_local.
28584 (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
28585 Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
28587 2013-09-15 Vinitha Vijayan <vinitha.vijayann@gmail.com>
28590 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
28592 2013-09-20 Andreas Schwab <schwab@linux-m68k.org>
28594 * include/string.h (__ffs): Declare as hidden.
28595 * string/ffs.c (__ffs): Define as hidden.
28596 * sysdeps/i386/ffs.c (__ffs): Likewise.
28597 * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
28598 * sysdeps/powerpc/ffs.c (__ffs): Likewise.
28599 * sysdeps/s390/ffs.c (__ffs): Likewise.
28600 * sysdeps/x86_64/ffs.c (__ffs): Likewise.
28602 2013-09-20 Alexandre Oliva <aoliva@redhat.com>
28604 * NEWS: Mention malloc probes.
28606 * malloc/arena.c (new_heap): New memory_heap_new probe.
28607 (grow_heap): New memory_heap_more probe.
28608 (shrink_heap): New memory_heap_less probe.
28609 (heap_trim): New memory_heap_free probe.
28610 * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
28611 (systrim): New memory_sbrk_less probe.
28612 * manual/probes.texi: Document them.
28614 * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
28615 * manual/probes.texi: Document it.
28617 * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
28618 (__libc_realloc): Add memory_realloc_retry probe.
28619 (__libc_memalign): Add memory_memalign_retry probe.
28620 (__libc_valloc): Add memory_valloc_retry probe.
28621 (__libc_pvalloc): Add memory_pvalloc_retry probe.
28622 (__libc_calloc): Add memory_calloc_retry probe.
28623 * manual/probes.texi: Document them.
28625 * malloc/arena.c (get_free_list): Add probe
28626 memory_arena_reuse_free_list.
28627 (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
28628 and memory_arena_reuse.
28629 (arena_get2) [!PER_THREAD]: Likewise.
28630 * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
28631 memory_arena_reuse_realloc.
28632 * manual/probes.texi: Document them.
28634 * malloc/malloc.c (__libc_free): Add
28635 memory_mallopt_free_dyn_thresholds probe.
28636 (__libc_mallopt): Add multiple memory_mallopt probes.
28637 * manual/probes.texi: Document them.
28639 * malloc/malloc.c: Include stap-probe.h.
28640 (__libc_mallopt): Add memory_mallopt probe.
28641 * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
28642 * manual/probes.texi: New.
28643 * manual/Makefile (chapters): Add probes.
28644 * manual/threads.texi: Set next node.
28646 2013-09-19 Wei-Lun Chao <bluebat@member.fsf.org>
28648 [BZ #15963, #13985]
28649 * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
28650 czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
28651 Add `Chinese' to `nan' entry name.
28653 2013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
28655 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
28656 (POLYNOMIAL): Likewise.
28657 (TAYLOR_SINCOS): Likewise.
28658 (TAYLOR_SLOW): Likewise.
28659 (__sin): Use TAYLOR_SINCOS.
28661 (slow): Use TAYLOR_SLOW.
28663 (bsloww): Likewise.
28664 (csloww): Likewise.
28666 2013-09-19 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
28668 * stdlib/strtod_l.c: Fix buffer overrun.
28670 2013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
28672 * benchtests/Makefile (bench): Add sincos.
28673 * benchtests/bench-sincos.c: New file.
28675 * math/libm-test.inc (cos_test_data): New test inputs.
28676 (sin_test_data): Likewise.
28678 * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
28684 (sloww1): Likewise.
28685 (sloww2): Likewise.
28686 (bsloww1): Likewise.
28687 (bsloww2): Likewise.
28688 (cslow2): Likewise.
28689 (csloww1): Likewise.
28690 (csloww2): Likewise.
28692 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
28697 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
28701 2013-09-18 Maciej W. Rozycki <macro@codesourcery.com>
28703 * config.h.in (HAVE_MIPS_NAN2008): New macro.
28704 * elf/elf.h (EF_MIPS_NAN2008): Likewise.
28705 * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
28706 (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
28707 (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
28708 * elf/cache.c (print_entry): Handle the new cache flags.
28710 2013-09-18 Joseph Myers <joseph@codesourcery.com>
28711 Aldy Hernandez <aldyh@redhat.com>
28713 * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
28714 Change condition to [_SOFT_FLOAT].
28715 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
28716 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
28717 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
28718 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
28719 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
28720 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
28721 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
28722 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
28723 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
28724 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
28725 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
28726 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
28727 [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
28728 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
28729 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
28730 [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
28733 2013-09-18 Joseph Myers <joseph@codesourcery.com>
28735 * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
28736 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
28737 (__longjmp): Use LOAD_GP to load saved GPRs.
28738 * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
28739 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
28740 (__sigsetjmp): Use SAVE_GP to save GPRs.
28742 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
28743 Do not append -msoft-float.
28744 [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
28746 2013-09-18 Siddhesh Poyarekar <siddhesh@redhat.com>
28748 * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
28750 2013-09-17 Joseph Myers <joseph@codesourcery.com>
28753 * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
28754 (_FPU_GETCW): Use initial "__" on variable and field names but not
28755 on macro parameter name.
28756 [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise. Use
28757 parentheses around reference to macro parameter.
28759 2013-09-13 Richard Sandiford <richard@codesourcery.com>
28761 * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
28763 (ctype_startup): Use uint32_t in cast and sizeof for
28766 2013-09-11 Jia Liu <proljc@gmail.com>
28768 * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
28770 [__FreeBSD__]: Likewise.
28772 2013-09-11 Ondřej Bílka <neleai@seznam.cz>
28774 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
28775 (__libc_ifunc_impl_list): Remove: __strchr_sse42.
28776 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
28777 (strchr): Remove __strchr_sse42 ifunc selection.
28778 * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
28779 * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
28781 2013-09-11 Will Newton <will.newton@linaro.org>
28783 * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
28784 parameter to RES. Remove hardcoded 1000 value.
28785 * benchtests/bench-skeleton.c (main): Pass RES parameter
28786 to TIMING_INIT and multiply result by 1000.
28788 2013-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28790 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28792 2013-09-11 Andreas Schwab <schwab@suse.de>
28794 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
28796 (O_TMPFILE) [__USE_GNU]: Define.
28797 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
28800 2013-09-11 Will Newton <will.newton@linaro.org>
28803 * malloc/malloc.c (__libc_memalign): Check the value of bytes
28806 2013-09-11 Will Newton <will.newton@linaro.org>
28809 * malloc/malloc.c (__libc_valloc): Check the value of bytes
28812 2013-09-11 Will Newton <will.newton@linaro.org>
28815 * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
28818 2013-09-10 Ondřej Bílka <neleai@seznam.cz>
28820 * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
28821 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
28822 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
28823 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
28824 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
28826 2013-09-10 Allan McRae <allan@archlinux.org>
28829 * manual/arith.texi (Parsing of Floats): Clarify
28833 * manual/install.texi (Running make install): Mention
28835 * INSTALL: Regenerated.
28837 2013-09-09 Maciej W. Rozycki <macro@codesourcery.com>
28839 * csu/init-first.c (_init): Remove the !SHARED condition around
28840 FPU control word initialization.
28841 * elf/dl-support.c (_dl_fpu_control): New variable.
28842 (_dl_aux_init) <AT_FPUCW>: Initialize it.
28843 * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
28844 (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
28845 * math/test-fpucw-static.c: New file.
28846 * math/test-fpucw-ieee.c: New file.
28847 * math/test-fpucw-ieee-static.c: New file.
28848 * math/Makefile (tests): Add `test-fpucw-ieee' and
28850 (tests-static): New variable.
28851 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
28853 [($(build-shared),yes)]
28854 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
28856 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
28859 2013-09-09 Allan McRae <allan@archlinux.org>
28862 * manual/string.texi (Collation Functions): Fix typo in
28864 Reported by Suren Karapetyan <me@suren.karapetyan.name>.
28867 * stdlib/isomac.c (get_null_defines): Fix memory leak.
28870 * libio/memstream.c (open_memstream): Fix memory leak.
28871 * libio/wmemstream.c (open_wmemstream): Likewise.
28874 * nscd/netgroupcache.c: Fix nesting of ifdefs.
28876 2013-09-09 Will Newton <will.newton@linaro.org>
28878 * malloc/Makefile: Add tst-realloc to tests.
28879 * malloc/tst-realloc.c: New file.
28881 2013-09-09 Allan McRae <allan@archlinux.org>
28884 * COPYING: Update from GNU website to fix FSF address.
28885 * COPYING.LIB: Likewise.
28887 2013-09-06 David S. Miller <davem@davemloft.net>
28889 * po/zh_TW.po: Update Chinese (traditional) translation from
28890 translation project.
28892 2013-09-06 Richard Sandiford <richard@codesourcery.com>
28893 Joseph Myers <joseph@codesourcery.com>
28895 * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
28897 (obstack_chunk_alloc): New macro.
28898 (obstack_chunk_free): Likewise.
28899 (record_offset): New function.
28900 (init_locale_data): Likewise.
28901 (align_locale_data): Likewise.
28902 (add_locale_empty): Likewise.
28903 (add_locale_raw_data): Likewise.
28904 (add_locale_raw_obstack): Likewise.
28905 (add_locale_string): Likewise.
28906 (add_locale_wstring): Likewise.
28907 (add_locale_uint32): Likewise.
28908 (add_locale_uint32_array): Likewise.
28909 (add_locale_char): Likewise.
28910 (start_locale_structure): Likewise.
28911 (end_locale_structure): Likewise.
28912 (start_locale_prelude): Likewise.
28913 (end_locale_prelude): Likewise.
28914 (write_locale_data): Take locale_file structure rather than an
28916 * locale/programs/locfile.h: Include "obstack.h".
28917 (struct locale_file): Change to store locale file contents instead
28919 (init_locale_data): New prototype.
28920 (align_locale_data): Likewise.
28921 (add_locale_empty): Likewise.
28922 (add_locale_raw_data): Likewise.
28923 (add_locale_raw_obstack): Likewise.
28924 (add_locale_string): Likewise.
28925 (add_locale_wstring): Likewise.
28926 (add_locale_uint32): Likewise.
28927 (add_locale_uint32_array): Likewise.
28928 (add_locale_char): Likewise.
28929 (start_locale_structure): Likewise.
28930 (end_locale_structure): Likewise.
28931 (start_locale_prelude): Likewise.
28932 (end_locale_prelude): Likewise.
28933 (write_locale_data): Update prototype.
28934 * locale/programs/3level.h (struct TABLE): Remove result field.
28935 (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
28936 Use new locale_file interface.
28937 [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
28938 (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
28939 * locale/programs/ld-address.c (address_output): Use new
28940 locale_file interface.
28941 * locale/programs/ld-collate.c (NO_FINALIZE): Change to
28943 (collate_finish): Don't call collseq_table_finalize.
28944 (collate_output): Use new locale_file interface.
28945 * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
28947 (NO_FINALIZE): Change to NO_ADD_LOCALE.
28948 (TABLE): Move defines earlier in file.
28949 (ELEMENT): Likewise.
28950 (DEFAULT): Likewise.
28951 (wctrans_table_add): Move macro and inline function earlier in
28953 (struct wctype_table): Move type earlier in file.
28954 (add_locale_wctype_table): New static prototype.
28955 (struct locale_ctype_t): Use logical types instead of struct iovec
28956 pointers for members.
28957 (ctype_output): Use new locale_file interface.
28958 (wctype_table_finalize): Change to add_locale_wctype_table. Use
28959 new locale_file interface.
28960 (allocate_arrays): Update for use of new locale_file interface.
28961 * locale/programs/ld-identification.c (identification_output): Use
28962 new locale_file interface.
28963 * locale/programs/ld-measurement.c (measurement_output): Likewise.
28964 * locale/programs/ld-messages.c (messages_output): Likewise.
28965 * locale/programs/ld-monetary.c (monetary_output): Likewise.
28966 * locale/programs/ld-name.c (name_output): Likewise.
28967 * locale/programs/ld-numeric.c (numeric_output): Likewise.
28968 * locale/programs/ld-paper.c (paper_output): Likewise.
28969 * locale/programs/ld-telephone.c (telephone_output): Likewise.
28970 * locale/programs/ld-time.c (time_output): Likewise.
28972 2013-09-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28974 * benchtests/Makefile: Add memrchr benchmark.
28975 * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
28976 benchmark as memrchr.
28977 * benchtests/bench-memrchr-ifunc.c: New file.
28978 * benchtests/bench-memrchr.c: New file.
28980 2013-09-06 Will Newton <will.newton@linaro.org>
28982 * benchtests/Makefile (string-bench): Add memcpy.
28984 2013-09-05 Carlos O'Donell <carlos@redhat.com>
28985 Cong Wang <amwang@redhat.com>
28988 * sysdeps/unix/sysv/linux/bits/in.h
28989 [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
28990 * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
28991 before __USE_KERNEL_IPV6_DEFS uses.
28992 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
28994 [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
28995 sockaddr_in6, or ipv6_mreq.
28997 2013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28999 * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
29000 memory access for final bytes in some large inputs.
29001 * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
29003 2013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29005 * string/test-memrchr.c: New file.
29006 * string/test-memrchr-ifunc.c: New file.
29007 * string/Makefile: Add new memrchr testcase.
29009 2013-09-05 Mike Frysinger <vapier@gentoo.org>
29011 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
29012 fanotify_init returns EPERM.
29014 2013-09-04 Joseph Myers <joseph@codesourcery.com>
29016 * conform/conformtest.pl (newtoken): Treat tokens not allowed as
29018 (top level): Treat second token from macro or constant entries for
29019 allowed headers as allowed.
29020 * include/complex.h: Condition internal declarations on
29022 * include/fenv.h: Condition include of <stdbool.h> and internal
29023 declarations on [!_ISOMAC].
29025 2013-09-04 Chris Leonard <cjl@sugarlabs,.org>
29028 * locale/iso-4217.def: Update iso-1427.def and related occurrences.
29030 2013-09-04 Joseph Myers <joseph@codesourcery.com>
29032 * configure.in (--enable-versioning): Remove configure option.
29033 (libc_cv_asm_symver_directive): Remove configure test.
29034 (libc_cv_ld_version_script_option): Likewise.
29035 (VERSIONING): Remove variable and AC_SUBST.
29036 (DO_VERSIONING): Remove AC_DEFINE.
29037 * configure: Regenerated.
29038 * config.h.in (DO_VERSIONING): Remove macro.
29039 * Makerules [$(versioning) = yes]: Change conditionals to
29040 [$(build-shared) = yes].
29041 * config.make.in (versioning): Remove variable.
29042 * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
29043 [$(build-shared) = yes].
29044 * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
29045 * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
29046 * elf/Makefile [$(versioning) = yes]: Change conditionals to
29047 [$(build-shared) = yes].
29048 * extra-lib.mk [$(versioning) = yes]: Likewise.
29049 * hurd/Makefile [$(versioning) = yes]: Likewise.
29050 * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
29052 * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
29054 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
29055 [SHARED && !NO_HIDDEN].
29056 * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
29058 [SHARED && DO_VERSIONING]: Likewise..
29059 * libio/Makefile [$(versioning) = yes]: Change conditionals to
29060 [$(build-shared) = yes].
29061 * manual/install.texi (--disable-versioning): Remove
29063 * INSTALL: Regenerated.
29064 * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
29066 * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
29067 [$(build-shared) = yes].
29068 * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
29069 * sysdeps/i386/i686/multiarch/strstr-c.c
29070 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
29071 [SHARED && !NO_HIDDEN].
29072 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
29073 [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
29074 * sysdeps/powerpc/powerpc32/dl-machine.c
29075 [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
29076 * sysdeps/powerpc/powerpc32/sysdep.h
29077 [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
29078 to [SHARED && PIC && !NO_HIDDEN].
29079 * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
29080 conditional to [SHARED].
29082 2013-09-04 Will Newton <will.newton@linaro.org>
29084 * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
29085 * benchtests/bench-string.h: Include bench-timing.h instead
29086 of including hp-timing.h directly. (INNER_LOOP_ITERS): New
29087 define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
29088 call to HP_TIMING_DIFF_INIT.
29089 * benchtests/bench-memccpy.c: Use bench-timing.h macros
29090 instead of hp-timing.h macros.
29091 * benchtests/bench-memchr.c: Likewise.
29092 * benchtests/bench-memcmp.c: Likewise.
29093 * benchtests/bench-memcpy.c: Likewise.
29094 * benchtests/bench-memmem.c: Likewise.
29095 * benchtests/bench-memmove.c: Likewise.
29096 * benchtests/bench-memset.c: Likewise.
29097 * benchtests/bench-rawmemchr.c: Likewise.
29098 * benchtests/bench-strcasecmp.c: Likewise.
29099 * benchtests/bench-strcasestr.c: Likewise.
29100 * benchtests/bench-strcat.c: Likewise.
29101 * benchtests/bench-strchr.c: Likewise.
29102 * benchtests/bench-strcmp.c: Likewise.
29103 * benchtests/bench-strcpy.c: Likewise.
29104 * benchtests/bench-strcpy_chk.c: Likewise.
29105 * benchtests/bench-strlen.c: Likewise.
29106 * benchtests/bench-strncasecmp.c: Likewise.
29107 * benchtests/bench-strncat.c: Likewise.
29108 * benchtests/bench-strncmp.c: Likewise.
29109 * benchtests/bench-strncpy.c: Likewise.
29110 * benchtests/bench-strnlen.c: Likewise.
29111 * benchtests/bench-strpbrk.c: Likewise.
29112 * benchtests/bench-strrchr.c: Likewise.
29113 * benchtests/bench-strspn.c: Likewise.
29114 * benchtests/bench-strstr.c: Likewise.
29116 2013-09-04 Will Newton <will.newton@linaro.org>
29118 * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
29120 2013-09-03 Joseph Myers <joseph@codesourcery.com>
29123 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
29124 2**-30 instead of 2**-70 as threshold for returning -log(|x|).
29125 * math/libm-test.inc (lgamma_test_data): Add more tests.
29126 * sysdeps/i386/fpu/libm-test-ulps: Update.
29127 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29129 2013-09-03 Ondřej Bílka <neleai@seznam.cz>
29131 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
29132 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
29134 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
29135 Add strcmp-sse2-unaligned
29136 * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
29138 2013-09-02 Mike Frysinger <vapier@gentoo.org>
29140 * Versions.def (libc): Add GLIBC_2.19.
29142 2013-09-02 Mike Frysinger <vapier@gentoo.org>
29144 * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
29145 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
29147 2013-09-02 Joseph Myers <joseph@codesourcery.com>
29150 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
29151 intermediate calculations in recurrence.
29152 (__ieee754_ynf): Likewise.
29153 * math/libm-test.inc (jn_test_data): Do not allow spurious
29154 underflow exception. Add more tests.
29155 (yn_test_data): Add more tests.
29156 * sysdeps/i386/fpu/libm-test-ulps: Update.
29157 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29159 2013-09-02 Ondřej Bílka <neleai@seznam.cz>
29161 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
29163 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
29165 * csu/init-first.c: Fix then/than typos.
29166 * locale/programs/ld-collate.c: Likewise.
29167 * locale/programs/linereader.h: Likewise.
29168 * manual/charset.texi: Likewise.
29169 * manual/filesys.texi: Likewise.
29170 * manual/stdio.texi: Likewise.
29171 * manual/string.texi: Likewise.
29172 * stdlib/fmtmsg.c: Likewise.
29173 * sysdeps/i386/stpncpy.S: Likewise.
29174 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
29175 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
29176 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
29177 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
29179 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
29181 * elf/dl-open.c: Fix typos.
29182 * iconvdata/gbbig5.c: Likewise.
29183 * iconvdata/iso-2022-jp.c: Likewise.
29184 * iconv/gconv_int.h: Likewise.
29185 * iconv/loop.c: Likewise.
29186 * nis/rpcsvc/nis.h: Likewise.
29187 * resolv/ns_name.c: Likewise.
29188 * stdio-common/vfscanf.c: Likewise.
29189 * streams/stropts.h: Likewise.
29190 * sunrpc/rpc_thread.c: Likewise.
29191 * sysdeps/i386/strpbrk.S: Likewise.
29192 * sysdeps/ieee754/k_standard.c: Likewise.
29193 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
29194 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
29195 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
29196 * sysdeps/mach/hurd/profil.c: Likewise.
29197 * sysdeps/s390/dl-procinfo.h: Likewise.
29198 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
29199 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
29200 * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
29201 * sysdeps/x86_64/dl-trampoline.S: Likewise.
29202 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
29204 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
29206 * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
29207 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
29209 2013-08-29 Ondřej Bílka <neleai@seznam.cz>
29211 * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
29212 aix specific files.
29213 * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
29214 * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
29215 * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
29216 * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
29217 * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
29218 * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
29219 * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
29220 * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
29222 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
29223 Roland McGrath <roland@hack.frob.com>
29225 * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
29226 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
29228 2013-08-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
29230 * sysdeps/mach/hurd/i386/init-first.c (init1): Use
29231 __executable_start symbol instead of _start.
29233 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
29235 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
29236 (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
29238 * sysdeps/gnu/ldsodefs.h: ... this new file.
29240 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
29241 (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
29242 instead of ELFOSABI_LINUX.
29244 [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
29245 * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
29246 * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
29247 * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
29249 * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
29250 * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
29251 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
29253 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
29254 (ibm_extended_long_double): Add ieee_nan member.
29255 * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
29256 (do_test): New function.
29258 * math/basic-test.c (TEST_CONVERT): New macro, renamed from
29260 (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
29261 functions, renamed from truncdfsf_test, trunctfsf_test,
29263 (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
29265 (do_test): Run all these.
29267 2013-08-29 Ondřej Bílka <neleai@seznam.cz>
29269 * argp/argp-help.c: Fix typos.
29270 * argp/argp-parse.c: Likewise.
29271 * debug/backtracesyms.c: Likewise.
29272 * elf/elf.h: Likewise.
29273 * malloc/malloc.c: Likewise.
29274 * nis/nis_print.c: Likewise.
29275 * resolv/res_comp.c: Likewise.
29276 * stdlib/stdlib.h: Likewise.
29277 * sunrpc/clnt_tcp.c: Likewise.
29278 * sunrpc/clnt_udp.c: Likewise.
29279 * sunrpc/clnt_unix.c: Likewise.
29280 * sysdeps/unix/bsd/ptsname.c: Likewise.
29281 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
29282 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
29283 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
29285 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
29287 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
29289 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
29291 2013-08-28 Siddhesh Poyarekar <siddhesh@redhat.com>
29293 * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
29294 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
29296 2013-08-27 Mike Frysinger <vapier@gentoo.org>
29299 * dlfcn/Makefile (tests): Add bug-dl-leaf.
29300 (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
29301 ($(objpfx)bug-dl-leaf): New rule.
29302 ($(objpfx)bug-dl-leaf.so): Likewise.
29303 ($(objpfx)bug-dl-leaf.out): Likewise.
29304 ($(objpfx)bug-dl-leaf-lib.so): Likewise.
29305 ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
29306 * dlfcn/bug-dl-leaf.c: New test.
29307 * dlfcn/bug-dl-leaf-lib.c: Likewise.
29308 * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
29309 * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
29310 (dlclose): Likewise.
29311 (dlmopen): Likewise.
29313 2013-08-27 Roland McGrath <roland@hack.frob.com>
29315 * include/netdb.h [!_ISOMAC]:
29316 Don't include <tls.h>.
29317 (h_errno, __libc_h_errno): Move declaration and macros out of
29320 * include/resolv.h [_RESOLV_H_]:
29321 Don't include <tls.h>.
29322 (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
29323 * resolv/res_libc.c: Don't include <tls.h>.
29324 (_res): Use __attribute__ ((nocommon)) in place of
29325 __attribute__ ((section (".bss"))).
29327 * Makefile ($(common-objpfx)linkobj/libc_pic.a):
29328 If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
29330 * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
29332 * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
29333 only under [SIOCGIFCONF && SIOCGIFNETMASK].
29335 * resolv/res_mkquery.c: Include <sys/time.h>.
29337 * inet/ifreq.c: Moved to ...
29338 * sysdeps/unix/ifreq.c: ... here.
29339 * inet/ifreq.c: New file, true stub version.
29341 * socket/sa_len.c: New file.
29342 * socket/Makefile (aux): Add it.
29343 * sysdeps/unix/sysv/linux/Makefile
29344 [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
29345 * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
29346 and #include <socket/sa_len.c>.
29347 * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
29348 HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
29350 * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
29351 * bits/socket.h: ... here.
29353 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
29354 Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
29355 (SOCK_MAX, SOCK_TYPE_MASK): New macros.
29357 2013-08-27 Andreas Schwab <schwab@suse.de>
29360 * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
29361 * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
29362 (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
29363 * string/test-strcasecmp.c (test_main): Run tests in several
29365 * string/test-strncasecmp.c (test_main): Likewise.
29367 * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
29368 (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
29369 to __strcasecmp_nonascii and __strncasecmp_nonascii.
29370 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
29371 (__strncasecmp_ssse3) [PIC]: Likewise.
29373 2013-08-26 Roland McGrath <roland@hack.frob.com>
29375 * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
29377 * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
29378 instead of explicitly declaring xdecrypt.
29379 * nis/nss_nis/nis-publickey.c: Likewise.
29381 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
29384 * nscd/aicache.c: Include res_hconf.h.
29385 (addhstaiX): Initialize res_hconf.
29387 2013-08-26 Andreas Schwab <schwab@suse.de>
29389 * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
29390 ($(objpfx)tst-tls-atexit): Add dependencies here instead.
29392 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
29394 * nscd/aicache.c (addhstaiX): Fix indentation.
29396 2013-08-25 Mike Frysinger <vapier@gentoo.org>
29398 * configure.ac: Quote $build_pt_chown test.
29399 * configure: Regenerated.
29401 2013-08-23 Joseph Myers <joseph@codesourcery.com>
29404 * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
29405 * math/s_cexpf.c (__cexpf): Likewise.
29406 * math/s_cexpl.c (__cexpl): Likewise.
29407 * math/libm-test.inc (cexp_test_data): Correct expected return
29408 value for NaN + i0. Add another test.
29410 2013-08-22 David S. Miller <davem@davemloft.net>
29412 * po/ca.po: Update Catalan translation from translation project.
29413 * po/uk.po: Add Ukrainian translations from translation project.
29415 2013-08-21 Joseph Myers <joseph@codesourcery.com>
29418 * math/s_fdim.c (__fdim): Check for infinite arguments if result
29419 is infinite, not alongside NaN test.
29420 * math/s_fdimf.c (__fdimf): Likewise.
29421 * math/s_fdiml.c (__fdiml): Likewise.
29422 * math/libm-test.inc (fdim_test_data): Add more tests. Test that
29423 errno is unchanged.
29425 2013-08-21 Ondřej Bílka <neleai@seznam.cz>
29427 * argp/argp-help.c: Fix typos.
29428 * crypt/speeds.c: Likewise.
29429 * csu/check_fds.c: Likewise.
29430 * elf/dl-load.c: Likewise.
29431 * elf/dl-open.c: Likewise.
29432 * elf/reldep3.c: Likewise.
29433 * elf/reldep.c: Likewise.
29434 * elf/sprof.c: Likewise.
29435 * iconv/iconv_charmap.c: Likewise.
29436 * iconv/skeleton.c: Likewise.
29437 * iconv/strtab.c: Likewise.
29438 * io/lockf64.c: Likewise.
29439 * libio/libioP.h: Likewise.
29440 * resolv/gai_notify.c: Likewise.
29441 * resolv/ns_name.c: Likewise.
29442 * resolv/ns_samedomain.c: Likewise.
29443 * resolv/res_send.c: Likewise.
29444 * stdlib/random.c: Likewise.
29445 * sunrpc/rpc/xdr.h: Likewise.
29446 * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
29447 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
29448 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
29449 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
29450 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
29451 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
29452 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
29453 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
29454 * sysdeps/mach/hurd/check_fds.c: Likewise.
29455 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
29456 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
29457 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
29458 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
29459 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
29460 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
29461 * sysdeps/pthread/aio_notify.c: Likewise.
29462 * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
29463 * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
29464 * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
29465 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
29466 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
29468 2013-08-21 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
29470 * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
29471 version if bit_Slow_SSE4_2 is set.
29472 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
29473 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
29475 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29478 * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
29479 trampoline stack frame information.
29480 * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
29481 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
29482 (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
29483 (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
29484 (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
29485 * sysdeps/unix/sysv/linux/powerpc/init-first.c
29486 (_libc_vdso_platform_setup): Initialize the signal trampolines.
29487 * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
29489 * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
29490 interrupting a syscall and set with option SA_SIGINFO.
29492 2013-08-20 Joseph Myers <joseph@codesourcery.com>
29495 * math/s_cproj.c (__cproj): Only return an infinity if one part of
29496 argument is infinite.
29497 * math/s_cprojf.c (__cprojf): Likewise.
29498 * math/s_cprojl.c (__cprojl): Likewise.
29499 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
29500 * math/libm-test.inc (cproj_test_data): Add more tests.
29502 * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
29504 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
29505 [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
29506 size. Use __ffs to determine corresponding shift.
29508 2013-08-20 Joseph Myers <joseph@codesourcery.com>
29509 Roland McGrath <roland@hack.frob.com>
29511 * Makefile (INSTALL): Remove trailing blank lines from output of
29514 2013-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
29516 * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
29517 Align 32 bit compat elf_greg to 8 bytes.
29519 2013-08-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
29521 * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
29523 2013-08-20 Siddhesh Poyarekar <siddhesh@redhat.com>
29525 * string/strcoll_l.c (coll_seq): New structure.
29526 (get_next_seq_cached): New function.
29527 (get_next_seq): New function.
29528 (do_compare): New function.
29529 (STRCOLL): Use GNU style definition. Simplify implementation
29530 by using get_next_seq, get_next_seq_cached and do_compare.
29532 2013-08-16 Florian Weimer <fweimer@redhat.com>
29536 * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
29538 * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
29540 * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
29541 * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
29542 Return delayed error code. Remove GETDENTS_64BIT_ALIGNED
29544 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
29545 GETDENTS_64BIT_ALIGNED.
29546 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
29547 * manual/filesys.texi (Reading/Closing Directory): Document
29548 ENAMETOOLONG return value of readdir_r. Recommend readdir more
29550 * manual/conf.texi (Limits for Files): Add portability note to
29551 NAME_MAX, PATH_MAX.
29552 (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
29554 2013-08-13 Andreas Schwab <schwab@suse.de>
29557 * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
29559 * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
29560 LDBL_MAX_EXP >= 16384]: Add tests for it.
29562 2013-08-12 David S. Miller <davem@davemloft.net>
29564 * version.h (RELEASE): Set to "development".
29565 (VERSION): Set to "2.18.90".
29566 * NEWS: Add 2.19 section.
29568 2013-08-03 David S. Miller <davem@davemloft.net>
29570 * po/ko.po: Update Korean translation from translation project.
29572 2013-08-01 David S. Miller <davem@davemloft.net>
29574 * manual/contrib.texi: Update entry for Siddhesh Poyarekar. Add
29575 entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
29578 2013-07-30 David S. Miller <davem@davemloft.net>
29580 * po/fr.po: Update French translation from translation project.
29582 2013-07-28 David S. Miller <davem@davemloft.net>
29584 * po/cs.po: Update Czech translation from translation project.
29586 * po/sv.po: Update Swedish translation from translation project.
29588 2013-07-27 David S. Miller <davem@davemloft.net>
29590 * po/eo.po: Update Esperanto translation from translation project.
29592 * po/vi.po: Update Vietnamese translation from translation project.
29594 * po/de.po: Update German translation from translation project.
29596 2013-07-26 David S. Miller <davem@davemloft.net>
29598 * po/bg.po: Update Bulgarian translation from translation project.
29600 * po/nl.po: Update Dutch translation from translation project.
29601 * po/pl.po: Update Polish translation from translation project.
29602 * po/ru.po: Update Russian translation from translation project.
29604 2013-07-24 David S. Miller <davem@davemloft.net>
29606 * po/libc.pot: Update.
29608 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29610 * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
29611 variable page size.
29612 * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
29613 * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
29614 * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
29616 2013-07-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
29618 * sysdeps/s390/fpu/libm-test-ulps: Refresh.
29620 2013-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
29621 Andreas Schwab <schwab@suse.de>
29622 Roland McGrath <roland@hack.frob.com>
29623 Joseph Myers <joseph@codesourcery.com>
29624 Carlos O'Donell <carlos@redhat.com>
29627 * config.h.in: Define HAVE_PT_CHOWN.
29628 * config.make.in (build-pt-chown): New variable.
29629 * configure.in (--enable-pt_chown): New configure option.
29630 * configure: Regenerate.
29631 * login/Makefile: Include Makeconfig. Build pt_chown only if
29632 build-pt-chown is enabled.
29633 * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
29634 pt_chown to fix pty ownership.
29635 * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
29637 * manual/install.texi (Configuring and compiling): Mention
29638 --enable-pt_chown. Add @findex for grantpt.
29639 * INSTALL: Regenerate.
29641 2013-07-20 David S. Miller <davem@davemloft.net>
29643 * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
29644 difference between 32-bit and 64-bit.
29646 2013-07-15 Carlos O'Donell <carlos@redhat.com>
29649 * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
29650 Avoid system header dependency with -ffreestanding.
29651 ($(objpfx)bits/syscall%d): Likewise.
29653 2013-07-13 David S. Miller <davem@davemloft.net>
29655 * math/libm-test.inc (casin_test_data): Annotate more cases of missing
29656 underflows from atanl/atan2l due to bug 15319.
29657 (casinh_test_data): Likewise.
29659 2013-07-07 David S. Miller <davem@davemloft.net>
29661 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
29663 2013-07-05 Jeroen Albers <_jeroen_@yahoo.com>
29665 * sysdeps/i386/fpu/libm-test-ulps: Update.
29666 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29668 2013-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
29670 * configure.in (--enable-lock-elision): Fix message text.
29671 * INSTALL: Regenerate.
29672 * configure: Regenerate.
29674 2013-07-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29676 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29678 2013-07-03 Andreas Jaeger <aj@suse.de>
29680 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
29682 (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
29683 (ptrace_peeksiginfo_args): Add.
29684 (__ptrace_peeksiginfo_flags): Add.
29685 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
29686 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
29687 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
29689 2013-07-03 Allan McRae <allan@archlinux.org>
29691 * sysdeps/i386/fpu/libm-test-ulps: Update.
29693 2013-07-02 David S. Miller <davem@davemloft.net>
29695 * sysdeps/sparc/fpu/libm-test-ulps: Update.
29697 2013-07-02 Markus Trippelsdorf <markus@trippelsdorf.de>
29699 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
29701 2013-07-02 Joseph Myers <joseph@codesourcery.com>
29703 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
29704 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29706 2013-07-02 Andi Kleen <ak@linux.intel.com>
29708 * config.h.in (ENABLE_LOCK_ELISION): Add.
29709 * configure.in (--enable-lock-elision): Add option.
29710 * manual/install.texi: Document --enable lock elision.
29711 * configure: Regenerate
29712 * INSTALL: Regenerate.
29714 2013-07-02 H.J. Lu <hongjiu.lu@intel.com>
29716 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
29717 SSE4.2 strcasecmp for libc.a.
29718 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
29720 2013-07-02 Joseph Myers <joseph@codesourcery.com>
29723 * soft-fp/op-common.h (_FP_FMA): New macro.
29724 * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
29725 (_FP_MUL_MEAT_DW_1_imm): Likewise. Split out of ...
29726 (_FP_MUL_MEAT_1_imm): ... here.
29727 (_FP_MUL_MEAT_DW_1_wide): New macro. Split out of ...
29728 (_FP_MUL_MEAT_1_wide): ... here.
29729 (_FP_MUL_MEAT_DW_1_hard): Likewise. Split out of ...
29730 (_FP_MUL_MEAT_1_hard): ... here.
29731 * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
29732 (_FP_MUL_MEAT_DW_2_wide): Likewise. Split out of ...
29733 (_FP_MUL_MEAT_2_wide): ... here.
29734 (_FP_MUL_MEAT_DW_2_wide_3mul): New macro. Split out of ...
29735 (_FP_MUL_MEAT_2_wide_3mul): ... here.
29736 (_FP_MUL_MEAT_DW_2_gmp): New macro. Split out of ...
29737 (_FP_MUL_MEAT_2_gmp): ... here.
29738 * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
29739 (_FP_MUL_MEAT_DW_4_wide): Likewise. Split out of ...
29740 (_FP_MUL_MEAT_4_wide): ... here.
29741 (_FP_MUL_MEAT_DW_4_gmp): New macro. Split out of ...
29742 (_FP_MUL_MEAT_4_gmp): ... here.
29743 * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
29744 (_FP_WFRACBITS_DW_S): Likewise.
29745 (_FP_WFRACXBITS_DW_S): Likewise.
29746 (_FP_HIGHBIT_DW_S): Likewise.
29747 (FP_FMA_S): Likewise.
29748 (_FP_FRAC_HIGH_DW_S): Likewise.
29749 * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
29750 (_FP_WFRACBITS_DW_D): Likewise.
29751 (_FP_WFRACXBITS_DW_D): Likewise.
29752 (_FP_HIGHBIT_DW_D): Likewise.
29753 (FP_FMA_D): Likewise.
29754 (_FP_FRAC_HIGH_DW_D): Likewise.
29755 * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
29756 (_FP_WFRACBITS_DW_E): Likewise.
29757 (_FP_WFRACXBITS_DW_E): Likewise.
29758 (_FP_HIGHBIT_DW_E): Likewise.
29759 (FP_FMA_E): Likewise.
29760 (_FP_FRAC_HIGH_DW_E): Likewise.
29761 * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
29762 (_FP_WFRACBITS_DW_Q): Likewise.
29763 (_FP_WFRACXBITS_DW_Q): Likewise.
29764 (_FP_HIGHBIT_DW_Q): Likewise.
29765 (FP_FMA_Q): Likewise.
29766 (_FP_FRAC_HIGH_DW_Q): Likewise.
29767 * soft-fp/fmasf4.c: New file.
29768 * soft-fp/fmadf4.c: Likewise.
29769 * soft-fp/fmatf4.c: Likewise.
29771 2013-06-28 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
29773 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
29774 bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
29776 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
29778 (index_Slow_SSE4_2): Likewise.
29779 (index_Prefer_PMINUB_for_stringop): Likewise.
29780 * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
29781 bit_Slow_SSE4_2 is set.
29782 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
29783 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
29785 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
29787 * sysdeps/powerpc/Makefile: Add comment about generating an offset to
29788 rtld_global._dl_hwcap2.
29789 * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
29791 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
29792 POWER8 feature descriptions defined in _dl_hwcap2.
29793 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
29794 string handling for POWER8 feature bits.
29795 (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
29796 (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
29797 _dl_powerpc_cap_flags.
29798 (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
29799 * sysdeps/powerpc/rtld-global-offsets.sym
29800 (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
29801 _dl_hwcap2 in the rtld_global_ro structure.
29803 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
29805 * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
29806 hardware capabilities in support of AT_HWCAP2.
29807 (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
29808 * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
29810 (_dl_show_auxv): Add support for calling _dl_procinfo to display
29811 AT_HWCAP2. If a platform doesn't chose to handle displaying AT_HWCAP2
29812 explicitly the unknown a_type display mechanism is used.
29813 * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
29814 * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
29816 * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
29817 to macro prototype for AT_HWCAP2 support.
29818 * sysdeps/i386/dl-procinfo.h: Likewise.
29819 * sysdeps/s390/dl-procinfo.h: Likewise.
29820 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
29821 macro prototype for AT_HWCAP2 support. Make WORD unsigned long int
29822 rather than signed int. Stub in handler for TYPE == AT_HWCAP2 to
29823 return -1 for unknown a_type display fallback.
29824 * sysdeps/sparc/dl-procinfo.h: Likewise.
29825 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
29826 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
29828 2013-06-28 Joseph Myers <joseph@codesourcery.com>
29830 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
29831 instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
29833 2013-06-28 Pierre Ynard <linkfanel@yahoo.fr>
29836 * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
29837 mprotect making __stack_prot writable.
29839 2013-06-28 Nathan Froyd <froydnj@codesourcery.com>
29840 Joseph Myers <joseph@codesourcery.com>
29842 * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
29843 as being properly aligned.
29845 2013-06-28 Maciej W. Rozycki <macro@codesourcery.com>
29847 * dlfcn/modstatic5.c: New file.
29848 * dlfcn/tststatic5.c: New file.
29849 * dlfcn/Makefile (tests): Add tststatic5.
29850 (tests-static): Likewise.
29851 (modules-names): Add modstatic5.
29852 (tststatic5-ENV): New variable.
29853 ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
29856 * elf/dl-support.c (_dl_main_map): New variable.
29857 (_dl_ns): Use it to initialize [LM_ID_BASE] element.
29858 (_dl_nns, _dl_load_adds): Set to 1.
29859 (_dl_initial_searchlist): Refer to _dl_main_map.
29860 (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
29861 * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
29862 call to _dl_get_origin.
29863 * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
29865 (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
29866 * dlfcn/modstatic3.c: New file.
29867 * dlfcn/tststatic3.c: New file.
29868 * dlfcn/tststatic4.c: New file.
29869 * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
29870 (tests-static): Likewise.
29871 (modules-names): Add modstatic3.
29872 (tststatic3-ENV, tststatic4-ENV): New variables.
29873 ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
29874 ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
29876 2013-06-26 Joseph Myers <joseph@codesourcery.com>
29878 * configure.in (CC): Require GCC version 4.4 or later.
29879 * configure: Regenerated.
29880 * manual/install.texi (Tools for Compilation): Update GCC version
29882 * INSTALL: Regenerated.
29884 2013-06-26 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
29887 * string/test-memcmp.c (check2): New.
29888 (main): Call check2.
29890 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
29892 2013-06-26 Maciej W. Rozycki <macro@codesourcery.com>
29895 * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
29897 (dl_open_worker) [!SHARED]: ... here.
29899 2013-06-26 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
29901 * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
29903 2013-06-25 Richard Henderson <rth@redhat.com>
29905 * locale/programs/locarchive.c: Include <libc-internal.h>
29907 2013-06-25 Joseph Myers <joseph@codesourcery.com>
29909 * manual/texinfo.tex: Update to version 2013-06-21.17, with
29910 trailing whitespace removed.
29912 2013-06-24 Mike Frysinger <vapier@gentoo.org>
29915 * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
29916 * locale/programs/locarchive.c: Include libc-mmap.h.
29917 (prepare_address_space): Take two new outputs (the mmap base and len).
29918 Align p to MAP_FIXED_ALIGNMENT. Set mmap base and len to the right
29920 (create_archive): Declare new mmap base and len values for
29921 prepare_address_space, and store the result in ah.
29922 (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
29923 (enlarge_archive): If ah->mmap_base is not NULL, use that and
29924 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
29925 Declare new mmap base and len values for
29926 prepare_address_space, and store the result in new_ah.
29927 (open_archive): Declare new mmap base and len values for
29928 prepare_address_space, and store the result in ah.
29929 (close_archive): If ah->mmap_base is not NULL, use that and
29930 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
29931 * sysdeps/generic/libc-mmap.h: New file.
29933 2013-06-24 Mike Frysinger <vapier@gentoo.org>
29935 * include/libc-internal.h (ALIGN_DOWN): New helper macro.
29936 (ALIGN_UP): Likewise.
29937 (PTR_ALIGN_DOWN): Likewise.
29938 (PTR_ALIGN_UP): Likewise.
29940 2013-06-24 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
29942 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
29943 entry mapped to PPC_PLATFORM_POWER8.
29944 * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
29946 (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
29947 (_dl_string_platform): Add case for exporting platform position for
29949 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
29950 search path to sysdeps/powerpc/powerpc32/power8 directory.
29951 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
29952 search path to sysdeps/powerpc/powerpc64/power8 directory.
29953 * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
29954 power7 directories.
29955 * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
29956 power7 directories.
29958 2013-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
29960 * INSTALL: Regenerate.
29962 * nscd/connections.c (nscd_init): Fix comment.
29964 2013-06-22 Joseph Myers <joseph@codesourcery.com>
29966 * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
29969 * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
29970 to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
29972 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
29974 * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
29976 (DL_DST_REQ_STATIC): Remove macro.
29978 2013-06-21 Joseph Myers <joseph@codesourcery.com>
29981 * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
29982 with a shift of 0 bits.
29984 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
29986 * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
29989 2013-06-21 Kaz Kojima <kkojima@rr.iij4u.or.jp>
29992 * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
29994 2013-06-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29996 * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
29997 * configure.in (libc_cv_cc_loop_to_function): Check if compiler
29998 accepts -fno-tree-loop-distribute-patterns.
29999 * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
30000 * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
30002 * string/memset.c (memset): Likewise.
30003 * string/test-memmove.c (simple_memmove): Disable loop transformation
30005 * string/test-memset.c (simple_memset): Likewise.
30006 * benchtests/bench-memmove.c (simple_memmove): Likewise.
30007 * benchtests/bench-memset.c (simple_memset): Likewise.
30008 * configure: Regenerated.
30010 2013-06-20 Joseph Myers <joseph@codesourcery.com>
30012 * math/test-misc.c (main): Ignore fesetround failure when failures
30013 of subsequent rounding tests would be ignored.
30016 * math/fedisblxcpt.c (fedisableexcept): Return 0.
30017 * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
30018 * math/fegetenv.c (__fegetenv): Return 0.
30019 * math/fegetexcept.c (fegetexcept): Return 0.
30020 * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
30022 * math/feholdexcpt.c (feholdexcept): Return 0.
30023 * math/fesetenv.c (__fesetenv): Return 0.
30024 * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
30025 argument FE_TONEAREST.
30026 * math/feupdateenv.c (__feupdateenv): Return 0.
30027 * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
30029 2013-06-18 Roland McGrath <roland@hack.frob.com>
30031 * elf/rtld-Rules (rtld-compile-command.S): New variable.
30032 (rtld-compile-command.s, rtld-compile-command.c): New variables.
30033 ($(objpfx)rtld-%.os rules): Use them.
30035 2013-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30037 * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
30040 2013-06-17 Roland McGrath <roland@hack.frob.com>
30042 * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
30043 length of target pattern, then descending length of dependency pattern.
30044 * configure.in (AWK): Require gawk 3.1.2 or newer.
30045 * manual/install.texi (Tools for Compilation): Say that we do.
30046 * configure: Regenerated.
30048 * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
30049 ($(common-objpfx)sysd-rules): Replace shell logic with running ...
30050 * scripts/sysd-rules.awk: ... this new script.
30051 * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
30052 than a glob-style pattern.
30054 2013-06-17 Joseph Myers <joseph@codesourcery.com>
30056 * math/test-misc.c (main): Do not treat incorrectly rounded
30057 conversions as failure unless ROUNDING_TESTS passes.
30059 2013-06-15 Joseph Myers <joseph@codesourcery.com>
30062 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
30063 restore exception state around main square root computation, then
30064 check for inexactness explicitly.
30066 * math/libm-test.inc (fma_test_data): Add another test.
30068 2013-06-15 Siddhesh Poyarekar <siddhesh@redhat.com>
30070 * manual/threads.texi (Non-POSIX Extensions): New document
30071 node. Document pthread_getattr_default_np and
30072 pthread_setattr_default_np.
30074 * Versions.def (libpthread): Add GLIBC_2.18.
30075 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
30076 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
30078 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
30080 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
30082 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
30084 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
30086 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
30088 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
30090 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
30092 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
30095 2013-06-14 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
30097 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
30098 Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
30100 2013-06-14 Siddhesh Poyarekar <siddhesh@redhat.com>
30101 H.J. Lu <hjl.tools@gmail.com>
30104 * sysdeps/x86_64/rtld-memset.c: Remove file.
30105 * sysdeps/x86_64/rtld-memset.S: New file.
30107 2013-06-14 Joseph Myers <joseph@codesourcery.com>
30109 * stdlib/tst-strtod-round.c: Include <math-tests.h>.
30110 (test_in_one_mode): Take arguments for whether the rounding mode
30111 is supported for each floating-point type.
30112 (do_test): Pass new arguments to test_in_one_mode using
30115 2013-06-13 Roland McGrath <roland@hack.frob.com>
30117 * posix/tst-waitid.c (do_test): Distinguish different instances of
30118 stopped/continued in CHECK_SIGCHLD uses. Insert a delay between
30119 sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
30120 before entering the kernel for waitpid.
30122 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
30124 * NEWS: Fix note on clock function precision. Text by Roland
30127 2013-06-13 Roland McGrath <roland@hack.frob.com>
30129 * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
30130 it into place only when and if the sanity check passes.
30132 2013-06-13 Joseph Myers <joseph@codesourcery.com>
30134 * stdlib/gen-tst-strtod-round.c (round_str): Always generate
30135 output for whether conversion result is exact. Take argument
30136 indicating whether type is IBM long double.
30137 (round_for_all): Change need_exact field to ibm_ld.
30138 * stdlib/tst-strtod-round.c (struct exactness): New type.
30139 (struct test): Change bool ld_ok field to struct exactness exact.
30140 (TEST): Update all definitions for change to field.
30141 (tests): Regenerate array contents.
30142 (test_in_one_mode): Take pointer to new field instead of old ld_ok
30143 field value. Check for IBM long double here.
30144 (do_test): Update calls to test_in_one_mode.
30146 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
30149 * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
30150 CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
30152 2013-06-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30155 * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
30156 generated by the compiler on loop optimizations.
30157 * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
30158 general definitions.
30160 2013-06-12 Joseph Myers <joseph@codesourcery.com>
30162 * math/bug-nextafter.c: Include <math-tests.h>.
30163 (main): Only test for exceptions if EXCEPTION_TESTS is true for
30165 * math/bug-nexttoward.c: Include <math-tests.h>.
30166 (main): Only test for exceptions if EXCEPTION_TESTS is true for
30168 * math/test-misc.c: Include <math-tests.h>.
30169 (main): Only test for exceptions if EXCEPTION_TESTS is true for
30172 2013-06-12 Andreas Jaeger <aj@suse.de>
30174 * po/ia.po: Update Interlingua translation from translation
30177 2013-06-12 Siddhesh Poyarekar <siddhesh@redhat.com>
30179 * include/fenv.h: Include stdbool.h.
30180 (struct rm_ctx): New structure.
30181 * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
30183 (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
30184 (SET_RESTORE_ROUNDF): Likewise.
30185 (SET_RESTORE_ROUNDL): Likewise.
30186 (SET_RESTORE_ROUND_NOEX): Likewise.
30187 (SET_RESTORE_ROUND_NOEXF): Likewise.
30188 (SET_RESTORE_ROUND_NOEXL): Likewise.
30189 (SET_RESTORE_ROUND_53BIT): Likewise.
30190 [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
30191 (libc_feresetround_noexf_ctx): Likewise.
30192 (libc_feresetround_noexl_ctx): Likewise.
30193 (libc_feholdsetround_53bit_ctx): Likewise.
30194 (libc_feresetround_53bit_ctx): Likewise.
30195 * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
30196 (libc_feholdexcept_setround_sse_ctx): New function.
30197 (libc_fesetenv_sse_ctx): Likewise.
30198 (libc_feupdateenv_sse_ctx): Likewise.
30199 (libc_feholdexcept_setround_387_prec_ctx): Likewise.
30200 (libc_feholdexcept_setround_387_ctx): Likewise.
30201 (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
30202 (libc_feholdsetround_387_prec_ctx): Likewise.
30203 (libc_feholdsetround_387_ctx): Likewise.
30204 (libc_feholdsetround_387_53bit_ctx): Likewise.
30205 (libc_feholdsetround_sse_ctx): Likewise.
30206 (libc_feresetround_sse_ctx): Likewise.
30207 (libc_feresetround_387_ctx): Likewise.
30208 (libc_feupdateenv_387_ctx): Likewise.
30209 (libc_feholdexcept_setroundf_ctx): Define macro.
30210 (libc_fesetenvf_ctx): Likewise.
30211 (libc_feupdateenvf_ctx): Likewise.
30212 (libc_feholdsetroundf_ctx): Likewise.
30213 (libc_feresetroundf_ctx): Likewise.
30214 (libc_feholdexcept_setround_ctx): Likewise.
30215 (libc_fesetenv_ctx): Likewise.
30216 (libc_feupdateenv_ctx): Likewise.
30217 (libc_feholdsetround_ctx): Likewise.
30218 (libc_feresetround_ctx): Likewise.
30219 (libc_feholdexcept_setroundl_ctx): Likewise.
30220 (libc_feupdateenvl_ctx): Likewise.
30221 (libc_feholdsetroundl_ctx): Likewise.
30222 (libc_feresetroundl_ctx): Likewise.
30223 [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
30224 (libc_feresetround_53bit_ctx): Likewise.
30226 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
30228 * locale/iso-639.def: Convert to UTF-8.
30230 2013-06-11 Joseph Myers <joseph@codesourcery.com>
30232 * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
30233 (EXCEPTION_TESTS_double): Likewise.
30234 (EXCEPTION_TESTS_long_double): Likewise.
30235 (EXCEPTION_TESTS): Likewise.
30236 * math/libm-test.inc (test_exceptions): Only test exceptions if
30237 EXCEPTION_TESTS (FLOAT).
30239 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
30241 * benchtests/Makefile (string-bench): Add strcpy_chk and
30243 * benchtests/bench-stpcpy_chk-ifunc.c: New file.
30244 * benchtests/bench-stpcpy_chk.c: New file.
30245 * benchtests/bench-strcpy_chk-ifunc.c: New file.
30246 * benchtests/bench-strcpy_chk.c: New file.
30247 * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
30249 (do_test): Likewise.
30251 2013-06-11 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
30253 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
30254 ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
30255 * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
30256 with tabs where appropriate.
30257 [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
30259 [PPC_PLATFORM_PPC440]: Likewise.
30260 [PPC_PLATFORM_PPC464]: Likewise.
30261 [PPC_PLATFORM_PPC476]: Likewise.
30262 (_dl_string_platform): Add support for detecting ppc405, ppc440,
30263 ppc464, and ppc476 platform strings merging from ports/
30266 2013-06-11 Andreas Schwab <schwab@suse.de>
30269 * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
30270 (from_ucs4_idx): Regenerate.
30271 (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
30272 (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
30273 (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
30274 (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
30275 (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
30276 (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
30277 (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
30278 (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
30279 from FROM_LOOP and TO_LOOP specific macros.
30280 (BODY): Handle combining characters.
30281 * iconvdata/BIG5HKSCS.irreversible: Update.
30282 * iconvdata/BIG5HKSCS.precomposed: New file.
30283 * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
30285 * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
30287 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
30289 * include/sys/time.h: Fix indentation and add copyright header.
30291 * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
30292 (do_test): Likewise.
30293 * string/test-memchr.c (do_one_test): Likewise.
30294 (do_test): Likewise.
30295 * string/test-memcmp.c (do_one_test): Likewise.
30296 (do_test): Likewise.
30297 * string/test-memcpy.c (do_one_test): Likewise.
30298 (do_test): Likewise.
30299 * string/test-memmem.c (do_one_test): Likewise.
30300 (do_test): Likewise.
30301 (do_random_tests): Likewise.
30302 * string/test-memmove.c (do_one_test): Likewise.
30303 (do_test): Likewise.
30304 * string/test-memset.c (do_one_test): Likewise.
30305 (do_test): Likewise.
30306 * string/test-rawmemchr.c (do_one_test): Likewise.
30307 (do_test): Likewise.
30308 * string/test-strcasecmp.c (do_one_test): Likewise.
30309 (do_test): Likewise.
30310 * string/test-strcasestr.c (do_one_test): Likewise.
30311 (do_test): Likewise.
30312 * string/test-strcat.c (do_one_test): Likewise.
30313 (do_test): Likewise.
30314 * string/test-strchr.c (do_one_test): Likewise.
30315 (do_test): Likewise.
30316 * string/test-strcmp.c (do_one_test): Likewise.
30317 (do_test): Likewise.
30318 * string/test-strcpy.c (do_one_test): Likewise.
30319 (do_test): Likewise.
30320 * string/test-string.h: Likewise.
30321 (test_init): Likewise.
30322 * string/test-strlen.c (do_one_test): Likewise.
30323 (do_test): Likewise.
30324 * string/test-strncasecmp.c (do_one_test): Likewise.
30325 (do_test): Likewise.
30326 * string/test-strncat.c (do_one_test): Likewise.
30327 (do_test): Likewise.
30328 * string/test-strncmp.c (do_one_test): Likewise.
30329 (do_test_limit): Likewise.
30330 (do_test): Likewise.
30331 * string/test-strncpy.c (do_one_test): Likewise.
30332 (do_test): Likewise.
30333 * string/test-strnlen.c (do_one_test): Likewise.
30334 (do_test): Likewise.
30335 * string/test-strpbrk.c (do_one_test): Likewise.
30336 (do_test): Likewise.
30337 * string/test-strrchr.c (do_one_test): Likewise.
30338 (do_test): Likewise.
30339 * string/test-strspn.c (do_one_test): Likewise.
30340 (do_test): Likewise.
30341 * string/test-strstr.c (do_one_test): Likewise.
30342 (do_test): Likewise.
30344 * benchtests/Makefile (string-bench): Add string benchmarks.
30345 * benchtests/bench-bcopy-ifunc.c: New file.
30346 * benchtests/bench-bcopy.c: New file.
30347 * benchtests/bench-bzero-ifunc.c: New file.
30348 * benchtests/bench-bzero.c: New file.
30349 * benchtests/bench-memccpy-ifunc.c: New file.
30350 * benchtests/bench-memccpy.c: New file.
30351 * benchtests/bench-memchr-ifunc.c: New file.
30352 * benchtests/bench-memchr.c: New file.
30353 * benchtests/bench-memcmp-ifunc.c: New file.
30354 * benchtests/bench-memcmp.c: New file.
30355 * benchtests/bench-memmem-ifunc.c: New file.
30356 * benchtests/bench-memmem.c: New file.
30357 * benchtests/bench-memmove-ifunc.c: New file.
30358 * benchtests/bench-memmove.c: New file.
30359 * benchtests/bench-mempcpy-ifunc.c: New file.
30360 * benchtests/bench-mempcpy.c: New file.
30361 * benchtests/bench-memset-ifunc.c: New file.
30362 * benchtests/bench-memset.c: New file.
30363 * benchtests/bench-rawmemchr-ifunc.c: New file.
30364 * benchtests/bench-rawmemchr.c: New file.
30365 * benchtests/bench-stpcpy-ifunc.c: New file.
30366 * benchtests/bench-stpcpy.c: New file.
30367 * benchtests/bench-stpncpy-ifunc.c: New file.
30368 * benchtests/bench-stpncpy.c: New file.
30369 * benchtests/bench-strcasecmp-ifunc.c: New file.
30370 * benchtests/bench-strcasecmp.c: New file.
30371 * benchtests/bench-strcasestr-ifunc.c: New file.
30372 * benchtests/bench-strcasestr.c: New file.
30373 * benchtests/bench-strcat-ifunc.c: New file.
30374 * benchtests/bench-strcat.c: New file.
30375 * benchtests/bench-strchr-ifunc.c: New file.
30376 * benchtests/bench-strchr.c: New file.
30377 * benchtests/bench-strchrnul-ifunc.c: New file.
30378 * benchtests/bench-strchrnul.c: New file.
30379 * benchtests/bench-strcmp-ifunc.c: New file.
30380 * benchtests/bench-strcmp.c: New file.
30381 * benchtests/bench-strcpy-ifunc.c: New file.
30382 * benchtests/bench-strcpy.c: New file.
30383 * benchtests/bench-strcspn-ifunc.c: New file.
30384 * benchtests/bench-strcspn.c: New file.
30385 * benchtests/bench-strlen-ifunc.c: New file.
30386 * benchtests/bench-strlen.c: New file.
30387 * benchtests/bench-strncasecmp-ifunc.c: New file.
30388 * benchtests/bench-strncasecmp.c: New file.
30389 * benchtests/bench-strncat-ifunc.c: New file.
30390 * benchtests/bench-strncat.c: New file.
30391 * benchtests/bench-strncmp-ifunc.c: New file.
30392 * benchtests/bench-strncmp.c: New file.
30393 * benchtests/bench-strncpy-ifunc.c: New file.
30394 * benchtests/bench-strncpy.c: New file.
30395 * benchtests/bench-strnlen-ifunc.c: New file.
30396 * benchtests/bench-strnlen.c: New file.
30397 * benchtests/bench-strpbrk-ifunc.c: New file.
30398 * benchtests/bench-strpbrk.c: New file.
30399 * benchtests/bench-strrchr-ifunc.c: New file.
30400 * benchtests/bench-strrchr.c: New file.
30401 * benchtests/bench-strspn-ifunc.c: New file.
30402 * benchtests/bench-strspn.c: New file.
30403 * benchtests/bench-strstr-ifunc.c: New file.
30404 * benchtests/bench-strstr.c: New file.
30406 * benchtests/Makefile: Disable parallel execution of targets.
30407 (string-bench): Add memcpy.
30408 (benchset): New variable to store a list of benchmark sets.
30409 (bench-func): Renamed from bench.
30410 (bench-set): New target.
30411 (bench): Depend on bench-func and bench-set.
30412 * benchtests/README: Add section on benchmark sets.
30413 * benchtests/bench-memcpy-ifunc.c: New file.
30414 * benchtests/bench-memcpy.c: New file.
30415 * benchtests/bench-string.h: New file.
30417 2013-06-11 Andreas Schwab <schwab@suse.de>
30420 * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
30421 * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
30422 values in the triple.
30423 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
30424 terminator in the group key.
30426 2013-06-11 Andreas Jaeger <aj@suse.de>
30428 * po/zh_TW.po: Update Chinese (traditional) translation from
30429 translation project.
30431 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
30433 * include/time.h (__clock_gettime): Add libc_hidden_proto.
30434 * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
30435 __clock_getcpuclockid. Add weak_alias and libc_hidden_def.
30436 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
30437 (clock_getcpuclockid): Likewise.
30438 * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
30439 Add weak_alias and libc_hidden_def.
30440 * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
30441 * rt/clock_gettime.c (clock_gettime): Rename to
30442 __clock_gettime. Add weak_alias and libc_hidden_def.
30443 * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
30444 * rt/clock_nanosleep.c (clock_nanosleep): Rename to
30445 __clock_nanosleep. Add weak_alias and libc_hidden_def.
30446 * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
30447 * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
30449 * rt/clock_settime.c (clock_settime): Rename to
30450 __clock_settime. Add weak_alias and libc_hidden_def.
30451 * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
30453 2013-06-10 Joseph Myers <joseph@codesourcery.com>
30455 * mach/err_boot.sub: Remove trailing whitespace.
30456 * mach/err_ipc.sub: Likewise.
30457 * mach/err_mach.sub: Likewise.
30459 * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
30460 (ROUNDING_TESTS_double): Likewise.
30461 (ROUNDING_TESTS_long_double): Likewise.
30462 (ROUNDING_TESTS): Likewise.
30463 * math/libm-test.inc: Include <math-tests.h>.
30464 (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
30465 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
30466 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
30467 (IF_ROUND_INIT_FE_UPWARD): Likewise.
30469 2013-06-10 Siddhesh Poyarekar <siddhesh@redhat.com>
30471 * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
30474 2013-06-08 Joseph Myers <joseph@codesourcery.com>
30476 * sysdeps/gnu/errlist.awk: Do not generate space at end of
30477 otherwise empty TRANS lines.
30478 * sysdeps/gnu/errlist.c: Regenerated.
30480 * catgets/gencat.c (error_print): Use (void) in function
30482 * crypt/crypt_util.c (__init_des): Likewise.
30483 * crypt/speeds.c (Stop): Likewise.
30485 * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
30486 * inet/ruserpass.c (token): Likewise.
30487 * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
30488 * intl/localealias.c (extend_alias_table): Likewise.
30489 * intl/plural-exp.c (init_germanic_plural): Likewise.
30490 * libio/fcloseall.c (__fcloseall): Likewise.
30491 * libio/genops.c (_IO_flush_all): Likewise.
30492 (_IO_flush_all_linebuffered): Likewise.
30493 (_IO_cleanup): Likewise.
30494 (_IO_iter_begin): Likewise.
30495 (_IO_iter_end): Likewise.
30496 (_IO_list_lock): Likewise.
30497 (_IO_list_unlock): Likewise.
30498 (_IO_list_resetlock): Likewise.
30499 * libio/getchar.c (getchar): Likewise.
30500 * libio/getchar_u.c (getchar_unlocked): Likewise.
30501 * libio/getwchar.c (getwchar): Likewise.
30502 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
30503 * libio/oldstdfiles.c (_IO_check_libio): Likewise.
30504 * login/getpt.c (__getpt): Likewise.
30505 * login/tst-utmp.c (main): Likewise.
30506 * malloc/hooks.c (__malloc_check_init): Likewise.
30507 * malloc/malloc.c (__malloc_stats): Likewise.
30508 * malloc/mtrace.c (tr_break): Likewise.
30509 (mtrace): Likewise.
30510 (muntrace): Likewise.
30511 * misc/fstab.c (endfsent): Likewise.
30512 * misc/getclktck.c (__getclktck): Likewise.
30513 * misc/getdtsz.c (__getdtablesize): Likewise.
30514 * misc/gethostid.c (gethostid): Likewise.
30515 * misc/getpagesize.c (__getpagesize): Likewise.
30516 * misc/getsysstats.c (__get_nprocs_conf): Likewise.
30517 (__get_nprocs): Likewise.
30518 (__get_phys_pages): Likewise.
30519 (__get_avphys_pages): Likewise.
30520 * misc/getttyent.c (getttyent): Likewise.
30521 (setttyent): Likewise.
30522 (endttyent): Likewise.
30523 * misc/getusershell.c (getusershell): Likewise.
30524 (endusershell): Likewise.
30525 (setusershell): Likewise.
30526 (initshells): Likewise.
30527 * misc/hsearch.c (__hdestroy): Likewise.
30528 * misc/sync.c (sync): Likewise.
30529 * misc/syslog.c (closelog_internal): Likewise.
30530 (closelog): Likewise.
30531 * misc/ttyslot.c (ttyslot): Likewise.
30532 * misc/vhangup.c (vhangup): Likewise.
30533 * posix/fork.c (__fork): Likewise.
30534 * posix/getegid.c (__getegid): Likewise.
30535 * posix/geteuid.c (__geteuid): Likewise.
30536 * posix/getgid.c (__getgid): Likewise.
30537 * posix/getpid.c (__getpid): Likewise.
30538 * posix/getppid.c (__getppid): Likewise.
30539 * posix/getuid.c (__getuid): Likewise.
30540 * posix/pause.c (pause): Likewise.
30541 * posix/setpgrp.c (setpgrp): Likewise.
30542 * posix/setsid.c (__setsid): Likewise.
30543 * posix/test-vfork.c (noop): Likewise.
30544 * resolv/gethnamaddr.c (_endhtent): Likewise.
30545 (_gethtent): Likewise.
30546 (ht_endhostent): Likewise.
30547 (gethostent): Likewise.
30548 (dns_service): Likewise.
30549 * stdlib/drand48.c (drand48): Likewise.
30550 * stdlib/lrand48.c (lrand48): Likewise.
30551 * stdlib/mrand48.c (mrand48): Likewise.
30552 * stdlib/rand.c (rand): Likewise.
30553 * stdlib/random.c (__random): Likewise.
30554 * stdlib/setenv.c (clearenv): Likewise.
30555 * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
30556 * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
30557 * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
30558 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
30559 (__get_nprocs): Likewise.
30560 (__get_phys_pages): Likewise.
30561 (__get_avphys_pages): Likewise.
30562 * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
30563 * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
30564 * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
30565 * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
30566 * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
30567 * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
30568 * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
30569 * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
30570 * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
30571 * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
30572 * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
30573 * sysdeps/mach/hurd/sync.c (sync): Likewise.
30574 * sysdeps/posix/clock.c (clock): Likewise.
30575 * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
30576 * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
30577 * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
30578 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
30579 * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
30580 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
30581 (__get_nprocs_conf): Likewise.
30582 (__get_phys_pages): Likewise.
30583 (__get_avphys_pages): Likewise.
30584 * time/clock.c (clock): Likewise.
30585 * time/tzset.c (__tzname_max): Likewise.
30587 2013-06-07 Joseph Myers <joseph@codesourcery.com>
30589 * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
30590 (__bswap_32): Do not use "register".
30591 * crypt/crypt.c (_ufc_doit_r): Likewise.
30592 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
30593 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
30594 * gmon/gmon.c (__monstartup): Likewise.
30595 * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
30596 * hurd/hurdmalloc.c (more_memory): Likewise.
30597 (malloc): Likewise.
30599 (realloc): Likewise.
30600 (malloc_fork_prepare): Likewise.
30601 (malloc_fork_parent): Likewise.
30602 (malloc_fork_child): Likewise.
30603 * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
30604 (_svcauth_des): Likewise.
30605 * inet/inet_lnaof.c (inet_lnaof): Likewise.
30606 * inet/inet_net.c (inet_network): Likewise.
30607 * inet/inet_netof.c (inet_netof): Likewise.
30608 * inet/rcmd.c (__validuser2_sa): Likewise.
30609 * io/fts.c (fts_open): Likewise.
30610 (fts_load): Likewise.
30611 (fts_close): Likewise.
30612 (fts_read): Likewise.
30613 (fts_children): Likewise.
30614 (fts_build): Likewise.
30615 (fts_stat): Likewise.
30616 (fts_sort): Likewise.
30617 (fts_alloc): Likewise.
30618 (fts_lfree): Likewise.
30619 * libio/fileops.c (_IO_new_file_xsputn): Likewise.
30620 (_IO_file_xsgetn): Likewise.
30621 (_IO_file_xsgetn_mmap): Likewise.
30622 * libio/iofopncook.c (_IO_cookie_read): Likewise.
30623 (_IO_cookie_write): Likewise.
30624 * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
30625 * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
30626 * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
30627 * malloc/obstack.c (_obstack_begin): Likewise.
30628 (_obstack_begin_1): Likewise.
30629 (_obstack_newchunk): Likewise.
30630 (_obstack_allocated_p): Likewise.
30631 (obstack_free): Likewise.
30632 (_obstack_memory_used): Likewise.
30633 * misc/getttyent.c (getttynam): Likewise.
30634 (getttyent): Likewise.
30637 * misc/getusershell.c (initshells): Likewise.
30638 * misc/syslog.c (__vsyslog_chk): Likewise.
30639 * misc/ttyslot.c (ttyslot): Likewise.
30640 * nis/nis_hash.c (__nis_hash): Likewise.
30641 * posix/fnmatch_loop.c (FCT): Likewise.
30642 * posix/getconf.c (print_all): Likewise.
30644 * posix/getopt.c (exchange): Likewise.
30645 * posix/glob.c (globfree): Likewise.
30646 (prefix_array): Likewise.
30647 (__glob_pattern_type): Likewise.
30648 * resolv/arpa/nameser.h (NS_GET16): Likewise.
30649 (NS_GET32): Likewise.
30650 (NS_PUT16): Likewise.
30651 (NS_PUT32): Likewise.
30652 * resolv/gethnamaddr.c (getanswer): Likewise.
30653 (gethostbyname2): Likewise.
30654 (gethostbyaddr): Likewise.
30655 (_gethtent): Likewise.
30656 (_gethtbyname2): Likewise.
30657 (_gethtbyaddr): Likewise.
30658 * resolv/ns_print.c (dst_s_get_int16): Likewise.
30659 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
30660 * resolv/res_init.c (__res_vinit): Likewise.
30661 (net_mask): Likewise.
30662 * resolv/res_mkquery.c (outchar): Likewise.
30664 * stdio-common/printf_fp.c (outchar): Likewise.
30666 * stdio-common/printf_fphex.c (outchar): Likewise.
30668 * stdio-common/printf_size.c (outchar): Likewise.
30670 * stdio-common/test_rdwr.c (main): Likewise.
30671 * stdio-common/tfformat.c (matches): Likewise.
30672 * stdio-common/vfprintf.c (outchar): Likewise.
30673 (printf_unknown): Likewise.
30674 (buffered_vfprintf): Likewise.
30675 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
30676 * stdio-common/xbug.c (AppendToBuffer): Likewise.
30677 (ReadFile): Likewise.
30678 * stdlib/qsort.c (SWAP): Likewise.
30679 (_quicksort): Likewise.
30680 * stdlib/setenv.c (__add_to_environ): Likewise.
30681 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
30682 * stdlib/strtol_l.c (__strtol_l): Likewise.
30683 * stdlib/tst-strtod.c (main): Likewise.
30684 * stdlib/tst-strtol.c (main): Likewise.
30685 * stdlib/tst-strtoll.c (main): Likewise.
30686 * string/bits/string2.h (__strcmp_cc): Likewise.
30687 (__strcmp_cg): Likewise.
30688 (__strcspn_c1): Likewise.
30689 (__strcspn_c2): Likewise.
30690 (__strcspn_c3): Likewise.
30691 (__strspn_c1): Likewise.
30692 (__strspn_c2): Likewise.
30693 (__strspn_c3): Likewise.
30694 (__strsep_1c): Likewise.
30695 (__strsep_2c): Likewise.
30696 (__strsep_3c): Likewise.
30697 * string/memccpy.c (__memccpy): Likewise.
30698 * string/stpcpy.c (__stpcpy): Likewise.
30699 * string/strcmp.c (strcmp): Likewise.
30700 * string/strrchr.c (strrchr): Likewise.
30701 * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
30703 * sysdeps/mach/hurd/getcwd.c
30704 (_hurd_canonicalize_directory_name_internal): Likewise.
30705 * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
30706 * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
30707 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
30708 * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
30709 Likewise, in both definitions.
30710 * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
30712 [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
30713 64] (__bswap_64): Likewise.
30714 * time/test_time.c (main): Likewise.
30715 * time/tzfile.c (__tzfile_read): Likewise.
30716 (__tzfile_compute): Likewise.
30717 * time/tzset.c (__tzset_parse_tz): Likewise.
30718 (tzset_internal): Likewise.
30719 (compute_change): Likewise.
30720 * wcsmbs/wcscat.c (__wcscat): Likewise.
30721 * wcsmbs/wcschr.c (wcschr): Likewise.
30722 * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
30723 * wcsmbs/wcscspn.c (wcscspn): Likewise.
30724 * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
30725 * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
30726 * wcsmbs/wcsspn.c (wcsspn): Likewise.
30727 * wcsmbs/wcsstr.c (wcsstr): Likewise.
30728 * wcsmbs/wmemchr.c (wmemchr): Likewise.
30729 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
30730 * wcsmbs/wmemset.c (wmemset): Likewise.
30732 2013-06-06 Joseph Myers <joseph@codesourcery.com>
30734 * scripts/config.guess: Update to version 2013-05-16.
30735 * scripts/config.sub: Update to version 2013-04-24.
30736 * scripts/install-sh: Update to version 2011-11-20.07.
30737 * scripts/mkinstalldirs: Update to version 2009-04-28.21.
30738 * scripts/move-if-change: Update to version 2012-01-06 07:23.
30740 2013-06-06 Ondřej Bílka <neleai@seznam.cz>
30742 * debug/fgetws_u_chk.c: Fix leading whitespaces.
30743 * elf/sln.c: Likewise.
30744 * hurd/hurd/ioctl.h: Likewise.
30745 * hurd/hurdmalloc.c: Likewise.
30746 * hurd/xattr.c: Likewise.
30747 * include/shlib-compat.h: Likewise.
30748 * inet/ruserpass.c: Likewise.
30749 * libio/iofgets_u.c: Likewise.
30750 * libio/iofgetws_u.c: Likewise.
30751 * locale/programs/ld-identification.c: Likewise.
30752 * locale/programs/ld-time.c: Likewise.
30753 * mach/msg-destroy.c: Likewise.
30754 * nss/nss_files/files-netgrp.c: Likewise.
30755 * resolv/res_data.c: Likewise.
30756 * soft-fp/op-1.h: Likewise.
30757 * soft-fp/op-2.h: Likewise.
30758 * soft-fp/op-4.h: Likewise.
30759 * soft-fp/op-common.h: Likewise.
30760 * stdio-common/printf_fphex.c: Likewise.
30761 * stdlib/strtod_l.c: Likewise.
30762 * sunrpc/rpc/clnt.h: Likewise.
30763 * sysdeps/generic/framestate.c: Likewise.
30764 * sysdeps/i386/bsd-_setjmp.S: Likewise.
30765 * sysdeps/i386/bsd-setjmp.S: Likewise.
30766 * sysdeps/i386/__longjmp.S: Likewise.
30767 * sysdeps/i386/setjmp.S: Likewise.
30768 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
30769 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
30770 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
30771 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
30772 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
30773 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
30774 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
30775 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
30776 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
30777 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
30778 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
30779 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
30780 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
30781 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
30782 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
30783 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
30784 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
30785 * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
30786 * sysdeps/ieee754/support.c: Likewise.
30787 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
30788 * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
30789 * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
30790 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
30791 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
30792 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
30793 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
30794 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
30795 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
30796 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
30797 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
30798 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
30799 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
30800 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
30801 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
30802 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
30803 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
30804 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
30806 2013-06-05 Ondřej Bílka <neleai@seznam.cz>
30808 * posix/transbug.c: Remove executable mode.
30810 2013-06-05 Joseph Myers <joseph@codesourcery.com>
30812 * crypt/speeds.c: Remove trailing whitespace.
30813 * dlfcn/default.c: Likewise.
30814 * elf/ifuncdep2.c: Likewise.
30815 * elf/ifuncmain1.c: Likewise.
30816 * elf/ifuncmain1vis.c: Likewise.
30817 * elf/testobj.h: Likewise.
30818 * elf/tst-stackguard1.c: Likewise.
30819 * gmon/sys/gmon.h: Likewise.
30820 * hurd/hurdmsg.c: Likewise.
30821 * hurd/new-fd.c: Likewise.
30822 * hurd/ports-get.c: Likewise.
30823 * iconvdata/ibm1008_420.c: Likewise.
30824 * inet/tst-getni1.c: Likewise.
30825 * inet/tst-getni2.c: Likewise.
30826 * libio/ioungetc.c: Likewise.
30827 * libio/wfiledoalloc.c: Likewise.
30828 * manual/libm-err-tab.pl: Likewise.
30829 * math/w_dremf.c: Likewise.
30830 * misc/ftruncate.c: Likewise.
30831 * posix/bug-glob2.c: Likewise.
30832 * posix/tst-pcre.c: Likewise.
30833 * posix/wait4.c: Likewise.
30834 * resolv/README: Likewise.
30835 * resolv/res_debug.h: Likewise.
30836 * resolv/tst-inet_ntop.c: Likewise.
30837 * setjmp/bug269-setjmp.c: Likewise.
30838 * soft-fp/extended.h: Likewise.
30839 * soft-fp/op-1.h: Likewise.
30840 * soft-fp/op-2.h: Likewise.
30841 * soft-fp/op-4.h: Likewise.
30842 * soft-fp/op-8.h: Likewise.
30843 * soft-fp/testit.c: Likewise.
30844 * stdio-common/bug16.c: Likewise.
30845 * stdlib/random.c: Likewise.
30846 * sunrpc/rpcsvc/rquota.x: Likewise.
30847 * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
30848 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
30849 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
30850 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
30851 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
30852 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
30853 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
30854 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
30855 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
30856 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
30857 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
30858 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
30859 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
30860 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
30861 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
30862 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
30863 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
30864 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
30865 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
30866 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
30867 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
30868 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
30869 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
30870 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
30871 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
30872 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
30873 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
30874 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
30875 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
30876 * sysdeps/ieee754/s_lib_version.c: Likewise.
30877 * sysdeps/mach/hurd/check_fds.c: Likewise.
30878 * sysdeps/mach/hurd/getsockname.c: Likewise.
30879 * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
30880 * sysdeps/mach/hurd/recvfrom.c: Likewise.
30881 * sysdeps/powerpc/bits/link.h: Likewise.
30882 * sysdeps/powerpc/dl-procinfo.c: Likewise.
30883 * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
30884 * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
30885 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
30886 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
30887 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
30888 * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
30889 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
30890 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
30891 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
30892 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
30893 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
30894 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
30895 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
30896 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
30897 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
30898 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
30899 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
30900 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
30901 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
30902 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
30903 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
30904 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
30905 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
30906 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
30907 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
30908 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
30909 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
30910 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
30911 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
30912 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
30913 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
30914 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
30915 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
30916 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
30917 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
30918 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
30919 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
30920 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
30921 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
30922 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
30923 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
30924 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
30925 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
30926 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
30927 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
30928 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
30929 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
30930 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
30931 * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
30932 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
30933 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
30934 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
30935 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
30936 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
30937 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
30938 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
30939 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
30940 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
30941 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
30942 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
30943 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
30944 * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
30945 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
30946 * sysdeps/powerpc/sysdep.h: Likewise.
30947 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
30948 * sysdeps/s390/s390-64/sub_n.S: Likewise.
30949 * sysdeps/sh/dl-trampoline.S: Likewise.
30950 * sysdeps/sh/memset.S: Likewise.
30951 * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
30952 * sysdeps/sh/strlen.S: Likewise.
30953 * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
30954 * sysdeps/sparc/sparc32/dotmul.S: Likewise.
30955 * sysdeps/sparc/sparc32/memcpy.S: Likewise.
30956 * sysdeps/sparc/sparc32/rem.S: Likewise.
30957 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
30958 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
30959 * sysdeps/sparc/sparc32/strchr.S: Likewise.
30960 * sysdeps/sparc/sparc32/udiv.S: Likewise.
30961 * sysdeps/sparc/sparc32/urem.S: Likewise.
30962 * sysdeps/sparc/sparc64/add_n.S: Likewise.
30963 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
30964 * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
30965 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
30966 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
30967 * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
30968 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
30969 * sysdeps/sparc/sparc64/strncpy.S: Likewise.
30970 * sysdeps/unix/bsd/times.c: Likewise.
30971 * sysdeps/unix/sysv/linux/a.out.h: Likewise.
30972 * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
30973 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
30974 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
30975 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
30976 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
30977 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
30978 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
30979 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
30980 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
30981 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
30982 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
30983 * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
30984 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
30985 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
30986 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
30987 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
30988 * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
30989 * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
30990 * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
30991 * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
30992 * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
30993 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
30994 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
30995 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
30996 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
30997 * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
30998 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
30999 * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
31000 * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
31001 * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
31002 * sysdeps/x86_64/strcspn.S: Likewise.
31004 2013-06-05 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
31006 * locale/C-translit.h: Revert #include <stdint.h> because this is a
31007 generated file. Regenerate properly from gen-translit.pl.
31008 * locale/gen-translit.pl: Add #include <stdint.h>. This generates
31009 locale/C-translit.h.
31011 2013-06-05 Andreas Schwab <schwab@suse.de>
31014 * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
31015 week as 6 instead of -1.
31016 * time/tst-strptime.c (day_tests): Add test case.
31018 2013-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
31020 * sysdeps/generic/math_private.h
31021 (libc_feholdexcept_setround_53bit): Replace with
31022 libc_feholdsetround_53bit.
31023 (libc_feupdateenv_53bit): Replace with
31024 libc_feresetround_53bit.
31025 (SET_RESTORE_ROUND_53BIT): Adjust.
31027 2013-06-03 Siddhesh Poyarekar <siddhesh@redhat.com>
31029 * string/test-strchrnul.c: Add copyright header.
31031 * posix/tst-getaddrinfo4.c: Increase test timeout.
31033 2013-06-03 Carlos O'Donell <carlos@redhat.com>
31036 * math/libm-test.inc (MAX_EXP): Remove
31038 (ulp): Use MIN_EXP - MANT_DIG.
31039 (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
31041 2013-05-31 Carlos O'Donell <carlos@redhat.com>
31043 * po/be.po: Revert last change.
31044 * po/zh_CN.po: Likewise.
31045 * po/header.pot: Likewise.
31047 2013-05-31 Joseph Myers <joseph@codesourcery.com>
31049 * Makefile ($(common-objpfx)linkobj/libc.so): Define
31050 link-libc-deps to empty as target-specific variable.
31051 * Makerules (link-libc-args): New variable.
31052 (libc-for-link): Likewise.
31053 (link-libc-deps): Likewise.
31054 (lib%.so): Depend on $(link-libc-deps). Link with
31056 (build-module): Link with $(link-libc-args).
31057 (build-module-asneeded): Likewise.
31058 (build-module-helper-objlist): Filter out $(link-libc-deps) from
31060 ($(common-objpfx)libc.so): Define link-libc-deps to empty as
31061 target-specific variable.
31062 ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
31063 $(link-libc-deps) instead of libc.so and libc_nonshared.a.
31064 * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
31066 * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
31068 ($(objpfx)libpcprofile.so): Likewise.
31069 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
31071 ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
31072 * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
31073 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
31075 ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
31076 * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
31077 * login/Makefile ($(objpfx)libutil.so): Likewise.
31078 * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
31079 * math/Makefile ($(objpfx)libm.so): Likewise.
31080 * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
31081 $(objpfx)libnsl.so): Define libc-for-link as target-specific
31082 variable instead of depending directly on libc.
31083 * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
31084 ($(objpfx)/libnss_test1.so): Change dependencies on libc to
31086 * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
31088 [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
31089 ($(objpfx)libnss_dns.so): Remove dependencies on libc.
31090 ($(objpfx)libanl.so): Likewise.
31091 * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
31093 * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
31095 * sysdeps/i386/fpu/Makefile: Remove file.
31096 * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
31097 ($(objpfx)libm.so): Remove dependency on ld.so.
31099 2013-05-30 Patsy Franklin <pfrankli@redhat.com>
31102 * nis/yp_xdr.c (XDRMAXNAME): Define.
31103 (XDRMAXRECORD): Define.
31104 (xdr_domainname): Use XDRMAXNAME.
31105 (xdr_mapname): Likewise.
31106 (xdr_peername): Likewise.
31107 (xdr_keydat): Use XDRMAXRECORD.
31108 (xdr_valdat): Likewise.
31110 2013-05-30 Jeff Law <law@redhat.com>
31113 * manual/errno.texi (ESTALE): Update to account for more than
31114 just NFS file systems.
31115 * sysdeps/gnu/errlist.c: Regenerated.
31117 2013-05-29 Siddhesh Poyarekar <siddhesh@redhat.com>
31120 * elf/Makefile (tests): Add tst-null-argv.
31121 (modules-names): Add tst-null-argv-lib.
31122 ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
31123 (tst-null-argv-ENV): Set environment for tst-null-argv.
31124 * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
31125 (RTLD_PROGNAME): New macro.
31126 * elf/tst-null-argv.c: New test case.
31127 * elf/tst-null-argv-lib.c: Library for test case.
31128 * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
31129 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
31130 * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
31131 * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
31132 * elf/dl-init.c (call_init): Likewise.
31133 (_dl_init): Likewise.
31134 * elf/dl-load.c (print_search_path): Likewise.
31135 (_dl_map_object): Likewise.
31136 * elf/dl-lookup.c (do_lookup_x): Likewise.
31137 (add_dependency): Likewise.
31138 (_dl_lookup_symbol_x): Likewise.
31139 (_dl_debug_bindings): Likewise.
31140 * elf/dl-open.c (_dl_show_scope): Likewise.
31141 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
31142 * elf/dl-version.c (match_symbol): Likewise.
31143 (_dl_check_map_versions): Likewise.
31144 * elf/rtld.c (dl_main): Likewise.
31145 (print_unresolved): Use RTLD_PROGNAME.
31146 (print_missing_version): Likewise.
31147 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
31148 (elf_machine_rela): Likewise.
31149 * sysdeps/powerpc/powerpc32/dl-machine.c
31150 (__process_machine_rela): Likewise.
31151 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
31153 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
31155 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
31157 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
31158 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
31160 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
31162 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
31164 2013-05-28 Carlos O'Donell <carlos@redhat.com>
31166 * po/be.po: Add descriptive title.
31167 * po/zh_CN.po: Likewise.
31168 * po/header.pot: Likewise.
31170 2013-05-28 Mike Frysinger <vapier@gentoo.org>
31172 * locale/programs/locarchive.c (create_archive): Inlucde fname in
31174 (enlarge_archive): Likewise.
31176 2013-05-28 Ben North <ben@redfrontdoor.org>
31178 * manual/arith.texi (frexp): It is the magnitude of the return
31179 value which lies in [0.5, 1), not the return value itself.
31181 2013-05-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31183 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
31185 2013-05-26 Thomas Schwinge <thomas@codesourcery.com>
31187 * stdio-common/bug26.c (main): Correct fscanf template.
31189 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
31190 declare _dl_skip_args.
31192 * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
31195 * manual/platform.texi: Add missing @end deftypefun.
31197 2013-05-24 Joseph Myers <joseph@codesourcery.com>
31200 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
31201 bit of mantissa of 2^16382.
31202 * math/libm-test.inc (hypot_test_data): Add more tests.
31204 * math/libm-test.inc: Add drem and pow10 to list of tested
31206 (pow10_test): New function.
31207 (drem_test): Likewise.
31208 (drem_test_tonearest): Likewise.
31209 (drem_test_towardzero): Likewise.
31210 (drem_test_downward): Likewise.
31211 (drem_test_upward): Likewise.
31212 (main): Call the new functions.
31214 * math/libm-test.inc (finite_test_data): Remove.
31215 (finite_test): Run tests from isfinite_test_data.
31216 (gamma_test_data): Remove.
31217 (gamma_test): Run tests from lgamma_test_data.
31218 * sysdeps/i386/fpu/libm-test-ulps: Update.
31219 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31221 2013-05-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31223 * manual/platform.texi: Add PowerPC PPR function set documentation.
31224 * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
31227 2013-05-24 Carlos O'Donell <carlos@redhat.com>
31229 * math/libm-test.inc (MAX_EXP): Define.
31231 (ulp): New function.
31232 (check_float_internal): Use ULPDIFF.
31233 (cpow_test): Disable failing test.
31234 (check_ulp): Test ulp() implemetnation.
31235 (main): Call check_ulp before starting tests.
31237 2013-05-24 Joseph Myers <joseph@codesourcery.com>
31239 * math/gen-libm-test.pl (generate_testfile): Do not handle
31240 START_DATA and END_DATA.
31241 * math/libm-test.inc (acos_test_data): Do not use START_DATA and
31243 (acos_tonearest_test_data): Likewise.
31244 (acos_towardzero_test_data): Likewise.
31245 (acos_downward_test_data): Likewise.
31246 (acos_upward_test_data): Likewise.
31247 (acosh_test_data): Likewise.
31248 (asin_test_data): Likewise.
31249 (asin_tonearest_test_data): Likewise.
31250 (asin_towardzero_test_data): Likewise.
31251 (asin_downward_test_data): Likewise.
31252 (asin_upward_test_data): Likewise.
31253 (asinh_test_data): Likewise.
31254 (atan_test_data): Likewise.
31255 (atanh_test_data): Likewise.
31256 (atan2_test_data): Likewise.
31257 (cabs_test_data): Likewise.
31258 (cacos_test_data): Likewise.
31259 (cacosh_test_data): Likewise.
31260 (carg_test_data): Likewise.
31261 (casin_test_data): Likewise.
31262 (casinh_test_data): Likewise.
31263 (catan_test_data): Likewise.
31264 (catanh_test_data): Likewise.
31265 (cbrt_test_data): Likewise.
31266 (ccos_test_data): Likewise.
31267 (ccosh_test_data): Likewise.
31268 (ceil_test_data): Likewise.
31269 (cexp_test_data): Likewise.
31270 (cimag_test_data): Likewise.
31271 (clog_test_data): Likewise.
31272 (clog10_test_data): Likewise.
31273 (conj_test_data): Likewise.
31274 (copysign_test_data): Likewise.
31275 (cos_test_data): Likewise.
31276 (cos_tonearest_test_data): Likewise.
31277 (cos_towardzero_test_data): Likewise.
31278 (cos_downward_test_data): Likewise.
31279 (cos_upward_test_data): Likewise.
31280 (cosh_test_data): Likewise.
31281 (cosh_tonearest_test_data): Likewise.
31282 (cosh_towardzero_test_data): Likewise.
31283 (cosh_downward_test_data): Likewise.
31284 (cosh_upward_test_data): Likewise.
31285 (cpow_test_data): Likewise.
31286 (cproj_test_data): Likewise.
31287 (creal_test_data): Likewise.
31288 (csin_test_data): Likewise.
31289 (csinh_test_data): Likewise.
31290 (csqrt_test_data): Likewise.
31291 (ctan_test_data): Likewise.
31292 (ctan_tonearest_test_data): Likewise.
31293 (ctan_towardzero_test_data): Likewise.
31294 (ctan_downward_test_data): Likewise.
31295 (ctan_upward_test_data): Likewise.
31296 (ctanh_test_data): Likewise.
31297 (ctanh_tonearest_test_data): Likewise.
31298 (ctanh_towardzero_test_data): Likewise.
31299 (ctanh_downward_test_data): Likewise.
31300 (ctanh_upward_test_data): Likewise.
31301 (erf_test_data): Likewise.
31302 (erfc_test_data): Likewise.
31303 (exp_test_data): Likewise.
31304 (exp_tonearest_test_data): Likewise.
31305 (exp_towardzero_test_data): Likewise.
31306 (exp_downward_test_data): Likewise.
31307 (exp_upward_test_data): Likewise.
31308 (exp10_test_data): Likewise.
31309 (exp2_test_data): Likewise.
31310 (expm1_test_data): Likewise.
31311 (fabs_test_data): Likewise.
31312 (fdim_test_data): Likewise.
31313 (finite_test_data): Likewise.
31314 (floor_test_data): Likewise.
31315 (fma_test_data): Likewise.
31316 (fma_towardzero_test_data): Likewise.
31317 (fma_downward_test_data): Likewise.
31318 (fma_upward_test_data): Likewise.
31319 (fmax_test_data): Likewise.
31320 (fmin_test_data): Likewise.
31321 (fmod_test_data): Likewise.
31322 (fpclassify_test_data): Likewise.
31323 (frexp_test_data): Likewise.
31324 (gamma_test_data): Likewise.
31325 (hypot_test_data): Likewise.
31326 (ilogb_test_data): Likewise.
31327 (isfinite_test_data): Likewise.
31328 (isgreater_test_data): Likewise.
31329 (isgreaterequal_test_data): Likewise.
31330 (isinf_test_data): Likewise.
31331 (isless_test_data): Likewise.
31332 (islessequal_test_data): Likewise.
31333 (islessgreater_test_data): Likewise.
31334 (isnan_test_data): Likewise.
31335 (isnormal_test_data): Likewise.
31336 (issignaling_test_data): Likewise.
31337 (isunordered_test_data): Likewise.
31338 (j0_test_data): Likewise.
31339 (j1_test_data): Likewise.
31340 (jn_test_data): Likewise.
31341 (ldexp_test_data): Likewise.
31342 (lgamma_test_data): Likewise.
31343 (lrint_test_data): Likewise.
31344 (lrint_tonearest_test_data): Likewise.
31345 (lrint_towardzero_test_data): Likewise.
31346 (lrint_downward_test_data): Likewise.
31347 (lrint_upward_test_data): Likewise.
31348 (llrint_test_data): Likewise.
31349 (llrint_tonearest_test_data): Likewise.
31350 (llrint_towardzero_test_data): Likewise.
31351 (llrint_downward_test_data): Likewise.
31352 (llrint_upward_test_data): Likewise.
31353 (log_test_data): Likewise.
31354 (log10_test_data): Likewise.
31355 (log1p_test_data): Likewise.
31356 (log2_test_data): Likewise.
31357 (logb_test_data): Likewise.
31358 (logb_downward_test_data): Likewise.
31359 (lround_test_data): Likewise.
31360 (llround_test_data): Likewise.
31361 (modf_test_data): Likewise.
31362 (nearbyint_test_data): Likewise.
31363 (nextafter_test_data): Likewise.
31364 (nexttoward_test_data): Likewise.
31365 (pow_test_data): Likewise.
31366 (pow_tonearest_test_data): Likewise.
31367 (pow_towardzero_test_data): Likewise.
31368 (pow_downward_test_data): Likewise.
31369 (pow_upward_test_data): Likewise.
31370 (remainder_test_data): Likewise.
31371 (remainder_tonearest_test_data): Likewise.
31372 (remainder_towardzero_test_data): Likewise.
31373 (remainder_downward_test_data): Likewise.
31374 (remainder_upward_test_data): Likewise.
31375 (remquo_test_data): Likewise.
31376 (rint_test_data): Likewise.
31377 (rint_tonearest_test_data): Likewise.
31378 (rint_towardzero_test_data): Likewise.
31379 (rint_downward_test_data): Likewise.
31380 (rint_upward_test_data): Likewise.
31381 (round_test_data): Likewise.
31382 (scalb_test_data): Likewise.
31383 (scalbn_test_data): Likewise.
31384 (scalbln_test_data): Likewise.
31385 (signbit_test_data): Likewise.
31386 (sin_test_data): Likewise.
31387 (sin_tonearest_test_data): Likewise.
31388 (sin_towardzero_test_data): Likewise.
31389 (sin_downward_test_data): Likewise.
31390 (sin_upward_test_data): Likewise.
31391 (sincos_test_data): Likewise.
31392 (sinh_test_data): Likewise.
31393 (sinh_tonearest_test_data): Likewise.
31394 (sinh_towardzero_test_data): Likewise.
31395 (sinh_downward_test_data): Likewise.
31396 (sinh_upward_test_data): Likewise.
31397 (sqrt_test_data): Likewise.
31398 (tan_test_data): Likewise.
31399 (tan_tonearest_test_data): Likewise.
31400 (tan_towardzero_test_data): Likewise.
31401 (tan_downward_test_data): Likewise.
31402 (tan_upward_test_data): Likewise.
31403 (tanh_test_data): Likewise.
31404 (tgamma_test_data): Likewise.
31405 (trunc_test_data): Likewise.
31406 (y0_test_data): Likewise.
31407 (y1_test_data): Likewise.
31408 (yn_test_data): Likewise.
31409 (significand_test_data): Likewise.
31411 * math/gen-libm-test.pl (@functions): Remove variable.
31412 (generate_testfile): Don't handle START and END lines.
31413 * math/libm-test.inc (START): New macro.
31415 (END_COMPLEX): Likewise.
31416 (acos_test): Use END macro without arguments.
31417 (acos_test_tonearest): Likewise.
31418 (acos_test_towardzero): Likewise.
31419 (acos_test_downward): Likewise.
31420 (acos_test_upward): Likewise.
31421 (acosh_test): Likewise.
31422 (asin_test): Likewise.
31423 (asin_test_tonearest): Likewise.
31424 (asin_test_towardzero): Likewise.
31425 (asin_test_downward): Likewise.
31426 (asin_test_upward): Likewise.
31427 (asinh_test): Likewise.
31428 (atan_test): Likewise.
31429 (atanh_test): Likewise.
31430 (atan2_test): Likewise.
31431 (cabs_test): Likewise.
31432 (cacos_test): Use END_COMPLEX macro without arguments.
31433 (cacosh_test): Likewise.
31434 (carg_test): Use END macro without arguments.
31435 (casin_test): Use END_COMPLEX macro without arguments.
31436 (casinh_test): Likewise.
31437 (catan_test): Likewise.
31438 (catanh_test): Likewise.
31439 (cbrt_test): Use END macro without arguments.
31440 (ccos_test): Use END_COMPLEX macro without arguments.
31441 (ccosh_test): Likewise.
31442 (ceil_test): Use END macro without arguments.
31443 (cexp_test): Use END_COMPLEX macro without arguments.
31444 (cimag_test): Use END macro without arguments.
31445 (clog_test): Use END_COMPLEX macro without arguments.
31446 (clog10_test): Likewise.
31447 (conj_test): Likewise.
31448 (copysign_test): Use END macro without arguments.
31449 (cos_test): Likewise.
31450 (cos_test_tonearest): Likewise.
31451 (cos_test_towardzero): Likewise.
31452 (cos_test_downward): Likewise.
31453 (cos_test_upward): Likewise.
31454 (cosh_test): Likewise.
31455 (cosh_test_tonearest): Likewise.
31456 (cosh_test_towardzero): Likewise.
31457 (cosh_test_downward): Likewise.
31458 (cosh_test_upward): Likewise.
31459 (cpow_test): Use END_COMPLEX macro without arguments.
31460 (cproj_test): Likewise.
31461 (creal_test): Use END macro without arguments.
31462 (csin_test): Use END_COMPLEX macro without arguments.
31463 (csinh_test): Likewise.
31464 (csqrt_test): Likewise.
31465 (ctan_test): Likewise.
31466 (ctan_test_tonearest): Likewise.
31467 (ctan_test_towardzero): Likewise.
31468 (ctan_test_downward): Likewise.
31469 (ctan_test_upward): Likewise.
31470 (ctanh_test): Likewise.
31471 (ctanh_test_tonearest): Likewise.
31472 (ctanh_test_towardzero): Likewise.
31473 (ctanh_test_downward): Likewise.
31474 (ctanh_test_upward): Likewise.
31475 (erf_test): Use END macro without arguments.
31476 (erfc_test): Likewise.
31477 (exp_test): Likewise.
31478 (exp_test_tonearest): Likewise.
31479 (exp_test_towardzero): Likewise.
31480 (exp_test_downward): Likewise.
31481 (exp_test_upward): Likewise.
31482 (exp10_test): Likewise.
31483 (exp2_test): Likewise.
31484 (expm1_test): Likewise.
31485 (fabs_test): Likewise.
31486 (fdim_test): Likewise.
31487 (finite_test): Likewise.
31488 (floor_test): Likewise.
31489 (fma_test): Likewise.
31490 (fma_test_towardzero): Likewise.
31491 (fma_test_downward): Likewise.
31492 (fma_test_upward): Likewise.
31493 (fmax_test): Likewise.
31494 (fmin_test): Likewise.
31495 (fmod_test): Likewise.
31496 (fpclassify_test): Likewise.
31497 (frexp_test): Likewise.
31498 (gamma_test): Likewise.
31499 (hypot_test): Likewise.
31500 (ilogb_test): Likewise.
31501 (isfinite_test): Likewise.
31502 (isgreater_test): Likewise.
31503 (isgreaterequal_test): Likewise.
31504 (isinf_test): Likewise.
31505 (isless_test): Likewise.
31506 (islessequal_test): Likewise.
31507 (islessgreater_test): Likewise.
31508 (isnan_test): Likewise.
31509 (isnormal_test): Likewise.
31510 (issignaling_test): Likewise.
31511 (isunordered_test): Likewise.
31512 (j0_test): Likewise.
31513 (j1_test): Likewise.
31514 (jn_test): Likewise.
31515 (ldexp_test): Likewise.
31516 (lgamma_test): Likewise.
31517 (lrint_test): Likewise.
31518 (lrint_test_tonearest): Likewise.
31519 (lrint_test_towardzero): Likewise.
31520 (lrint_test_downward): Likewise.
31521 (lrint_test_upward): Likewise.
31522 (llrint_test): Likewise.
31523 (llrint_test_tonearest): Likewise.
31524 (llrint_test_towardzero): Likewise.
31525 (llrint_test_downward): Likewise.
31526 (llrint_test_upward): Likewise.
31527 (log_test): Likewise.
31528 (log10_test): Likewise.
31529 (log1p_test): Likewise.
31530 (log2_test): Likewise.
31531 (logb_test): Likewise.
31532 (logb_test_downward): Likewise.
31533 (lround_test): Likewise.
31534 (llround_test): Likewise.
31535 (modf_test): Likewise.
31536 (nearbyint_test): Likewise.
31537 (nextafter_test): Likewise.
31538 (nexttoward_test): Likewise.
31539 (pow_test): Likewise.
31540 (pow_test_tonearest): Likewise.
31541 (pow_test_towardzero): Likewise.
31542 (pow_test_downward): Likewise.
31543 (pow_test_upward): Likewise.
31544 (remainder_test): Likewise.
31545 (remainder_test_tonearest): Likewise.
31546 (remainder_test_towardzero): Likewise.
31547 (remainder_test_downward): Likewise.
31548 (remainder_test_upward): Likewise.
31549 (remquo_test): Likewise.
31550 (rint_test): Likewise.
31551 (rint_test_tonearest): Likewise.
31552 (rint_test_towardzero): Likewise.
31553 (rint_test_downward): Likewise.
31554 (rint_test_upward): Likewise.
31555 (round_test): Likewise.
31556 (scalb_test): Likewise.
31557 (scalbn_test): Likewise.
31558 (scalbln_test): Likewise.
31559 (signbit_test): Likewise.
31560 (sin_test): Likewise.
31561 (sin_test_tonearest): Likewise.
31562 (sin_test_towardzero): Likewise.
31563 (sin_test_downward): Likewise.
31564 (sin_test_upward): Likewise.
31565 (sincos_test): Likewise.
31566 (sinh_test): Likewise.
31567 (sinh_test_tonearest): Likewise.
31568 (sinh_test_towardzero): Likewise.
31569 (sinh_test_downward): Likewise.
31570 (sinh_test_upward): Likewise.
31571 (sqrt_test): Likewise.
31572 (tan_test): Likewise.
31573 (tan_test_tonearest): Likewise.
31574 (tan_test_towardzero): Likewise.
31575 (tan_test_downward): Likewise.
31576 (tan_test_upward): Likewise.
31577 (tanh_test): Likewise.
31578 (tgamma_test): Likewise.
31579 (trunc_test): Likewise.
31580 (y0_test): Likewise.
31581 (y1_test): Likewise.
31582 (yn_test): Likewise.
31583 (significand_test): Likewise.
31585 2013-05-24 Ondřej Bílka <neleai@seznam.cz>
31588 * libio/genops.c (_IO_no_init): Initialize wide struct info.
31590 2013-05-23 Edjunior Machado <emachado@linux.vnet.ibm.com>
31593 * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
31594 __ppc_mdoio and __ppc_mdoom.
31595 * manual/platform.texi: Document new functions __ppc_yield,
31596 __ppc_mdoio and __ppc_mdoom.
31598 2013-05-22 Carlos O'Donell <carlos@redhat.com>
31600 * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
31601 (main): Mention "tls" pseudo-hwcap is legacy.
31602 * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
31604 2013-05-22 Joseph Myers <joseph@codesourcery.com>
31606 * math/gen-libm-test.pl (parse_args): Output only string of
31607 arguments as text for test name, not full call or descriptions of
31608 tests for extra outputs.
31609 (generate_testfile): Do not pass function name to parse_args.
31610 Generate this_func variable from START.
31611 * math/libm-test.inc (struct test_f_f_data): Rename test_name
31613 (struct test_ff_f_data): Likewise.
31614 (test_ff_f_data_nexttoward): Likewise.
31615 (struct test_fi_f_data): Likewise.
31616 (struct test_fl_f_data): Likewise.
31617 (struct test_if_f_data): Likewise.
31618 (struct test_fff_f_data): Likewise.
31619 (struct test_c_f_data): Likewise.
31620 (struct test_f_f1_data): Likewise. Remove field extra_name.
31621 (struct test_fF_f1_data): Likewise.
31622 (struct test_ffI_f1_data): Likewise.
31623 (struct test_c_c_data): Rename test_name field to arg_str.
31624 (struct test_cc_c_data): Likewise.
31625 (struct test_f_i_data): Likewise.
31626 (struct test_ff_i_data): Likewise.
31627 (struct test_f_l_data): Likewise.
31628 (struct test_f_L_data): Likewise.
31629 (struct test_fFF_11_data): Likewise. Remove fields extra1_name
31631 (COMMON_TEST_SETUP): New macro.
31632 (EXTRA_OUTPUT_TEST_SETUP): Likewise.
31633 (COMMON_TEST_CLEANUP): Likewise.
31634 (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
31635 (RUN_TEST_f_f): Take argument string. Call new setup and cleanup
31637 (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
31638 (RUN_TEST_2_f): Take argument string. Call new setup and cleanup
31640 (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
31641 (RUN_TEST_fff_f): Take argument string. Call new setup and
31643 (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
31644 (RUN_TEST_c_f): Take argument string. Call new setup and cleanup
31646 (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
31647 (RUN_TEST_f_f1): Take argument string. Call new setup and cleanup
31649 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
31650 (RUN_TEST_fF_f1): Take argument string. Call new setup and
31652 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
31653 (RUN_TEST_fI_f1): Take argument string. Call new setup and
31655 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
31656 (RUN_TEST_ffI_f1): Take argument string. Call new setup and
31658 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
31659 (RUN_TEST_c_c): Take argument string. Call new setup and cleanup
31661 (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
31662 (RUN_TEST_cc_c): Take argument string. Call new setup and cleanup
31664 (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
31665 (RUN_TEST_f_i): Take argument string. Call new setup and cleanup
31667 (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
31668 (RUN_TEST_f_i_tg): Take argument string. Call new setup and
31670 (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
31671 (RUN_TEST_ff_i_tg): Take argument string. Call new setup and
31673 (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
31674 (RUN_TEST_f_b): Take argument string. Call new setup and cleanup
31676 (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
31677 (RUN_TEST_f_b_tg): Take argument string. Call new setup and
31679 (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
31680 (RUN_TEST_f_l): Take argument string. Call new setup and cleanup
31682 (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
31683 (RUN_TEST_f_L): Take argument string. Call new setup and cleanup
31685 (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
31686 (RUN_TEST_fFF_11): Take argument string. Call new setup and
31688 (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
31690 2013-05-22 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
31692 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
31693 to _sifields.sigfault.
31694 (si_addr_lsb): Define new macro.
31695 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
31696 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
31697 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
31699 2013-05-03 Carlos O'Donell <carlos at redhat.com>
31702 * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
31704 (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
31706 * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
31707 loading the domain.
31709 2013-05-22 Joseph Myers <joseph@codesourcery.com>
31711 * math/gen-libm-test.pl (parse_args): Do not include expected
31712 result in test name.
31713 * sysdeps/i386/fpu/libm-test-ulps: Update test names.
31714 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
31715 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
31716 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
31717 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
31718 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31720 2013-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
31722 * benchtests/Makefile: Sort function entries.
31724 * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
31725 tanh, asinh, acosh, atanh.
31726 * benchtests/acos-inputs: New file.
31727 * benchtests/acosh-inputs: New file.
31728 * benchtests/asin-inputs: New file.
31729 * benchtests/asinh-inputs: New file.
31730 * benchtests/atanh-inputs: New file.
31731 * benchtests/cosh-inputs: New file.
31732 * benchtests/log-inputs: New file.
31733 * benchtests/sinh-inputs: New file.
31734 * benchtests/tanh-inputs: New file.
31736 2013-05-21 Dmitry V. Levin <ldv@altlinux.org>
31739 * posix/tst-getaddrinfo4.c: New test.
31740 * posix/Makefile (tests): Add it.
31742 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
31745 * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
31746 when no services were used.
31747 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
31748 Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
31750 2013-05-21 Andreas Schwab <schwab@suse.de>
31753 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
31754 [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
31756 * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
31757 redundant variable declarations and reallocation of buffer when
31758 parsing as IPv6 address. Always set NSS status when called from
31759 reentrant functions. Use NETDB_INTERNAL instead of TRY_AGAIN when
31760 buffer too small. Correct computation of needed size.
31761 * nss/Makefile (tests): Add test-digits-dots.
31762 * nss/test-digits-dots.c: New test.
31764 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
31766 * benchtests/Makefile: Remove instructions for adding
31768 * benchtests/README: New file to explain how to execute and
31769 enhance the benchmark tests.
31771 2013-05-21 Andreas Schwab <schwab@suse.de>
31774 * setjmp/Makefile (tests): Add tst-sigsetjmp.
31775 * setjmp/tst-sigsetjmp.c: New test.
31777 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
31779 * sysdeps/x86_64/memset.S (memset): New implementation.
31780 (__bzero): Likewise.
31781 (__memset_tail): New function.
31783 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
31785 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
31786 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
31787 __memcpy_sse2_unaligned ifunc selection.
31788 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
31789 Add memcpy-sse2-unaligned.S.
31790 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
31791 Add: __memcpy_sse2_unaligned.
31793 2013-05-19 Joseph Myers <joseph@codesourcery.com>
31796 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
31797 math_force_eval before restoring floating-point envrionment.
31798 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
31799 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
31801 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
31803 (__nearbyintl): Use math_force_eval before restoring
31804 floating-point environment.
31805 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
31807 * math/gen-libm-test.pl (special_functions): Remove.
31808 (parse_args): Don't handle TEST_extra. Handle functions with no
31810 * math/libm-test.inc (struct test_sincos_data): Replace with
31811 struct test_fFF_11_data.
31812 (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
31813 (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
31814 (sincos_test_data): Change element type to struct
31815 test_fFF_11_data. Use TEST_fFF_11 instead of TEST_extra.
31816 (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
31817 RUN_TEST_LOOP_sincos.
31818 * math/README.libm-test: Don't mention special handling of
31819 individual functions.
31820 * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
31821 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
31822 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
31823 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
31824 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
31825 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31827 * math/gen-libm-test.pl (get_variable): Remove function.
31828 (parse_args): Don't show pointer parameters to call in test
31829 names. Use "extra output N" in test names for extra outputs
31830 rather than naming variables.
31832 2013-05-18 Joseph Myers <joseph@codesourcery.com>
31835 * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
31836 __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
31837 * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
31839 * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
31841 (do_test) [NO_LONG_DOUBLE]: Do not disable call to
31844 * math/gen-libm-test.pl (@tests): Remove variable.
31845 ($count): Likewise.
31846 (new_test): Remove function.
31847 (show_exceptions): New function.
31848 (special_functions): Use show_exceptions instead of new_test.
31849 (parse_args): Likewise.
31850 (generate_testfile): Pass only function name in generated call to
31851 print_max_error or print_complex_max_error.
31852 (get_ulps): Do not handle complex tests specially.
31853 (output_test): Rename to ...
31854 (get_all_ulps_for_test): ... this. Return a string rather than
31855 printing to a file. Require ulps to be present.
31856 (output_ulps): Generate arrays rather than #defines.
31857 * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
31858 (struct ulp_data): New type.
31859 (BUILD_COMPLEX_ULP): Remove macro.
31860 (compare_ulp_data): New function.
31861 (find_ulps): Likewise.
31862 (find_test_ulps): Likewise.
31863 (find_function_ulps): Likewise.
31864 (find_complex_function_ulps): Likewise.
31865 (print_max_error): Determine allowed ulps using
31866 find_function_ulps.
31867 (print_complex_max_error): Determine allowed ulps using
31868 find_complex_function_ulps.
31869 (check_float_internal): Determine max ulps using find_test_ulps.
31870 (check_float): Do not take max_ulp parameter. Update call to
31871 check_float_internal.
31872 (check_complex): Likewise.
31873 (check_int): Do not take max_ulp parameter.
31874 (check_long): Likewise.
31875 (check_bool): Likewise.
31876 (check_longlong): Likewise.
31877 (struct test_f_f_data): Remove max_ulp field.
31878 (struct test_ff_f_data): Likewise.
31879 (struct test_ff_f_data_nexttoward): Likewise.
31880 (struct test_fi_f_data): Likewise.
31881 (struct test_fl_f_data): Likewise.
31882 (struct test_if_f_data): Likewise.
31883 (struct test_fff_f_data): Likewise.
31884 (struct test_c_f_data): Likewise.
31885 (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
31886 (struct test_fF_f1_data): Likewise.
31887 (struct test_ffI_f1_data): Likewise.
31888 (struct test_c_c_data): Remove max_ulp field.
31889 (struct test_cc_c_data): Likewise.
31890 (struct test_f_i_data): Likewise.
31891 (struct test_ff_i_data): Likewise.
31892 (struct test_f_l_data): Likewise.
31893 (struct test_f_L_data): Likewise.
31894 (struct test_sincos_data): Likewise.
31895 (RUN_TEST_f_f): Do not handle ulps.
31896 (RUN_TEST_LOOP_f_f): Likewise.
31897 (RUN_TEST_2_f): Likewise.
31898 (RUN_TEST_LOOP_2_f): Likewise.
31899 (RUN_TEST_fff_f): Likewise.
31900 (RUN_TEST_LOOP_fff_f): Likewise.
31901 (RUN_TEST_c_f): Likewise.
31902 (RUN_TEST_LOOP_c_f): Likewise.
31903 (RUN_TEST_f_f1): Likewise.
31904 (RUN_TEST_LOOP_f_f1): Likewise.
31905 (RUN_TEST_fF_f1): Likewise.
31906 (RUN_TEST_LOOP_fF_f1): Likewise.
31907 (RUN_TEST_fI_f1): Likewise.
31908 (RUN_TEST_LOOP_fI_f1): Likewise.
31909 (RUN_TEST_ffI_f1): Likewise.
31910 (RUN_TEST_LOOP_ffI_f1): Likewise.
31911 (RUN_TEST_c_c): Likewise.
31912 (RUN_TEST_LOOP_c_c): Likewise.
31913 (RUN_TEST_cc_c): Likewise.
31914 (RUN_TEST_LOOP_cc_c): Likewise.
31915 (RUN_TEST_f_i): Likewise.
31916 (RUN_TEST_LOOP_f_i): Likewise.
31917 (RUN_TEST_f_i_tg): Likewise.
31918 (RUN_TEST_LOOP_f_i_tg): Likewise.
31919 (RUN_TEST_ff_i_tg): Likewise.
31920 (RUN_TEST_LOOP_ff_i_tg): Likewise.
31921 (RUN_TEST_f_b): Likewise.
31922 (RUN_TEST_LOOP_f_b): Likewise.
31923 (RUN_TEST_f_b_tg): Likewise.
31924 (RUN_TEST_LOOP_f_b_tg): Likewise.
31925 (RUN_TEST_f_l): Likewise.
31926 (RUN_TEST_LOOP_f_l): Likewise.
31927 (RUN_TEST_f_L): Likewise.
31928 (RUN_TEST_LOOP_f_L): Likewise.
31929 (RUN_TEST_sincos): Likewise.
31930 (RUN_TEST_LOOP_sincos): Likewise.
31932 2013-05-17 Joseph Myers <joseph@codesourcery.com>
31936 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
31937 main case of finite arguments, set rounding mode to FE_TONEAREST
31938 and discard exceptions.
31939 * math/libm-test.inc (remainder_test_data): Disallow "inexact"
31941 (remainder_tonearest_test_data): New variable.
31942 (remainder_test_tonearest): New function.
31943 (remainder_towardzero_test_data): New variable.
31944 (remainder_test_towardzero): New function.
31945 (remainder_downward_test_data): New variable.
31946 (remainder_test_downward): New function.
31947 (remainder_upward_test_data): New variable.
31948 (remainder_test_upward): New function.
31949 (main): Call the new test functions.
31951 * math/libm-test.inc (struct test_f_f1_data): Remove field
31953 (struct test_fF_f1_data): Likewise.
31954 (struct test_ffI_f1_data): Likewise.
31955 (RUN_TEST_f_f1): Remove argument EXTRA_INIT. Initialize EXTRA_VAR
31956 based on value of EXTRA_EXPECTED.
31957 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
31958 (RUN_TEST_fF_f1): Remove argument EXTRA_INIT. Initialize
31959 EXTRA_VAR based on value of EXTRA_EXPECTED.
31960 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
31961 (RUN_TEST_fI_f1): Remove argument EXTRA_INIT. Initialize
31962 EXTRA_VAR based on value of EXTRA_EXPECTED.
31963 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
31964 (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT. Initialize
31965 EXTRA_VAR based on value of EXTRA_EXPECTED.
31966 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
31967 * math/gen-libm-test.pl (parse_args): Don't output initializers
31968 for extra output values.
31970 * math/libm-test.inc (check_int): Expect result to be exactly
31971 equal to expected value and do not handle ulps.
31972 (check_long): Likewise.
31973 (check_longlong): Likewise.
31975 * math/libm-test.inc (ceil_test_data): Test for "inexact"
31977 (cimag_test_data): Likewise.
31978 (conj_test_data): Likewise.
31979 (copysign_test_data): Likewise.
31980 (cproj_test_data): Likewise.
31981 (creal_test_data): Likewise.
31982 (fabs_test_data): Likewise.
31983 (fdim_test_data): Likewise.
31984 (finite_test_data): Likewise.
31985 (floor_test_data): Likewise.
31986 (fmax_test_data): Likewise.
31987 (fmin_test_data): Likewise.
31988 (fmod_test_data): Likewise.
31989 (fpclassify_test_data): Likewise.
31990 (frexp_test_data): Likewise.
31991 (ilogb_test_data): Likewise.
31992 (isfinite_test_data): Likewise.
31993 (isgreater_test_data): Likewise.
31994 (isgreaterequal_test_data): Likewise.
31995 (isinf_test_data): Likewise.
31996 (isless_test_data): Likewise.
31997 (islessequal_test_data): Likewise.
31998 (islessgreater_test_data): Likewise.
31999 (isnan_test_data): Likewise.
32000 (isnormal_test_data): Likewise.
32001 (issignaling_test_data): Likewise.
32002 (isunordered_test_data): Likewise.
32003 (ldexp_test_data): Likewise.
32004 (lrint_test_data): Likewise.
32005 (lrint_test_data) [TEST_FLOAT]: Disable one test.
32006 (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
32007 (lrint_tonearest_test_data): Test for "inexact" exceptions.
32008 (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
32009 (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
32010 (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
32012 (lrint_towardzero_test_data): Test for "inexact" exceptions.
32013 (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
32014 (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
32015 (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
32017 (lrint_downward_test_data): Test for "inexact" exceptions.
32018 (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
32019 (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
32020 (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
32022 (lrint_upward_test_data): Test for "inexact" exceptions.
32023 (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
32025 (llrint_test_data): Test for "inexact" exceptions.
32026 (llrint_test_data) [TEST_FLOAT]: Disable one test.
32027 (llrint_tonearest_test_data): Test for "inexact" exceptions.
32028 (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
32029 (llrint_towardzero_test_data): Test for "inexact" exceptions.
32030 (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
32031 (llrint_downward_test_data): Test for "inexact" exceptions.
32032 (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
32033 (llrint_upward_test_data): Test for "inexact" exceptions.
32034 (logb_test_data): Likewise.
32035 (logb_downward_test_data): Likewise.
32036 (nextafter_test_data): Likewise.
32037 (nexttoward_test_data): Likewise.
32038 (remainder_test_data): Likewise.
32039 (remquo_test_data): Likewise.
32040 (scalbn_test_data): Likewise.
32041 (scalbln_test_data): Likewise.
32042 (signbit_test_data): Likewise.
32043 (sqrt_test_data): Likewise.
32044 (significand_test_data): Likewise.
32046 2013-05-17 Siddhesh Poyarekar <siddhesh@redhat.com>
32049 * benchtests/bench-modf.c (struct args): Mark arg0 as
32051 * scripts/bench.pl: Mark members of struct args as volatile.
32053 2013-05-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32056 * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
32057 negative infinity on POWER6 or lower.
32058 * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
32060 2013-05-16 Maciej W. Rozycki <macro@codesourcery.com>
32063 * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
32064 (_FP_FRAC_SNANP_SEMIRAW): Likewise.
32065 (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
32066 (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
32067 (_FP_SETQNAN): New macro.
32068 (_FP_SETQNAN_SEMIRAW): Likewise.
32069 (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
32070 (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
32071 (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
32072 (FP_EXTEND): Use _FP_FRAC_SNANP.
32073 (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
32074 * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
32076 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
32078 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
32081 2013-05-16 Joseph Myers <joseph@codesourcery.com>
32083 * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
32084 with DIVIDE_BY_ZERO_EXCEPTION.
32085 (gamma_test_data): Likewise.
32086 (lgamma_test_data): Likewise.
32087 (log_test_data): Likewise.
32088 (log10_test_data): Likewise.
32089 (log2_test_data): Likewise.
32090 (tgamma_test_data): Likewise.
32092 * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
32093 (acos_test_tonearest): Likewise.
32094 (acos_test_towardzero): Likewise.
32095 (acos_test_downward): Likewise.
32096 (acos_test_upward): Likewise.
32097 (acosh_test): Likewise.
32098 (asin_test): Likewise.
32099 (asin_test_tonearest): Likewise.
32100 (asin_test_towardzero): Likewise.
32101 (asin_test_downward): Likewise.
32102 (asin_test_upward): Likewise.
32103 (asinh_test): Likewise.
32104 (atan_test): Likewise.
32105 (atanh_test): Likewise.
32106 (atan2_test): Likewise.
32107 (cabs_test): Likewise.
32108 (cacos_test): Likewise.
32109 (cacosh_test): Likewise.
32110 (casin_test): Likewise.
32111 (casinh_test): Likewise.
32112 (catan_test): Likewise.
32113 (catanh_test): Likewise.
32114 (cbrt_test): Likewise.
32115 (ccos_test): Likewise.
32116 (ccosh_test): Likewise.
32117 (cexp_test): Likewise.
32118 (clog_test): Likewise.
32119 (clog10_test): Likewise.
32120 (cos_test): Likewise.
32121 (cos_test_tonearest): Likewise.
32122 (cos_test_towardzero): Likewise.
32123 (cos_test_downward): Likewise.
32124 (cos_test_upward): Likewise.
32125 (cosh_test): Likewise.
32126 (cosh_test_tonearest): Likewise.
32127 (cosh_test_towardzero): Likewise.
32128 (cosh_test_downward): Likewise.
32129 (cosh_test_upward): Likewise.
32130 (cpow_test): Likewise.
32131 (csin_test): Likewise.
32132 (csinh_test): Likewise.
32133 (csqrt_test): Likewise.
32134 (ctan_test): Likewise.
32135 (ctan_test_tonearest): Likewise.
32136 (ctan_test_towardzero): Likewise.
32137 (ctan_test_downward): Likewise.
32138 (ctan_test_upward): Likewise.
32139 (ctanh_test): Likewise.
32140 (ctanh_test_tonearest): Likewise.
32141 (ctanh_test_towardzero): Likewise.
32142 (ctanh_test_downward): Likewise.
32143 (ctanh_test_upward): Likewise.
32144 (erf_test): Likewise.
32145 (erfc_test): Likewise.
32146 (exp_test): Likewise.
32147 (exp_test_tonearest): Likewise.
32148 (exp_test_towardzero): Likewise.
32149 (exp_test_downward): Likewise.
32150 (exp_test_upward): Likewise.
32151 (exp10_test): Likewise.
32152 (exp2_test): Likewise.
32153 (expm1_test): Likewise.
32154 (fmod_test): Likewise.
32155 (gamma_test): Likewise.
32156 (hypot_test): Likewise.
32157 (j0_test): Likewise.
32158 (j1_test): Likewise.
32159 (jn_test): Likewise.
32160 (lgamma_test): Likewise.
32161 (log_test): Likewise.
32162 (log10_test): Likewise.
32163 (log1p_test): Likewise.
32164 (log2_test): Likewise.
32165 (logb_test_downward): Likewise.
32166 (pow_test): Likewise.
32167 (pow_test_tonearest): Likewise.
32168 (pow_test_towardzero): Likewise.
32169 (pow_test_downward): Likewise.
32170 (pow_test_upward): Likewise.
32171 (remainder_test): Likewise.
32172 (remquo_test): Likewise.
32173 (sin_test): Likewise.
32174 (sin_test_tonearest): Likewise.
32175 (sin_test_towardzero): Likewise.
32176 (sin_test_downward): Likewise.
32177 (sin_test_upward): Likewise.
32178 (sincos_test): Likewise.
32179 (sinh_test): Likewise.
32180 (sinh_test_tonearest): Likewise.
32181 (sinh_test_towardzero): Likewise.
32182 (sinh_test_downward): Likewise.
32183 (sinh_test_upward): Likewise.
32184 (sqrt_test): Likewise.
32185 (tan_test): Likewise.
32186 (tan_test_tonearest): Likewise.
32187 (tan_test_towardzero): Likewise.
32188 (tan_test_downward): Likewise.
32189 (tan_test_upward): Likewise.
32190 (tanh_test): Likewise.
32191 (tgamma_test): Likewise.
32192 (y0_test): Likewise.
32193 (y1_test): Likewise.
32194 (yn_test): Likewise.
32196 * math/gen-libm-test.pl (adjust_arg): Remove function.
32197 (special_function): Remove argument $in_func. Only handle
32198 generating output for tables of tests, not inside functions.
32199 (parse_args): Likewise.
32200 (generate_testfile): Remove variable $in_func. Update call to
32202 * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
32203 (MINUS_ZERO_INIT): Rename macro to minus_zero.
32204 (PLUS_INFTY_INIT): Rename macro to plus_infty.
32205 (MINUS_INFTY_INIT): Rename macro to minus_infty.
32206 (QNAN_VALUE_INIT): Rename macro to qnan_value.
32207 (MAX_VALUE_INIT): Rename macro to max_value.
32208 (MIN_VALUE_INIT): Rename macro to min_value.
32209 (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
32210 (plus_zero): Remove variable.
32211 (minus_zero): Likewise.
32212 (plus_infty): Likewise.
32213 (minus_infty): Likewise.
32214 (qnan_value): Likewise.
32215 (max_value): Likewise.
32216 (min_value): Likewise.
32217 (min_subnorm_value): Likewise.
32219 2013-05-16 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
32221 * crypt/sha512-block.c: Add missing #include <stdint.h> due to
32222 uint64_t or uint32_t usage.
32223 * crypt/sha256-block.c: Likewise.
32224 * crypt/sha256-crypt.c: Likewise.
32225 * crypt/sha256.c: Likewise.
32226 * crypt/sha512-block.c: Likewise.
32227 * crypt/sha512-crypt.c: Likewise.
32228 * crypt/sha512.c: Likewise.
32229 * debug/backtrace-tst.c: Likewise.
32230 * debug/pcprofiledump.c: Likewise.
32231 * elf/cache.c: Likewise.
32232 * elf/dl-cache.c: Likewise.
32233 * elf/dl-misc.c: Likewise.
32234 * elf/dl-profile.c: Likewise.
32235 * elf/dl-support.c: Likewise.
32236 * elf/ldconfig.c: Likewise.
32237 * elf/sprof.c: Likewise.
32238 * iconv/dummy-repertoire.c: Likewise.
32239 * iconv/iconv_charmap.c: Likewise.
32240 * iconv/skeleton.c: Likewise.
32241 * iconvdata/8bit-generic.c: Likewise.
32242 * iconvdata/cp737.h: Likewise.
32243 * iconvdata/cp775.h: Likewise.
32244 * iconvdata/ibm1008.h: Likewise.
32245 * iconvdata/ibm1025.h: Likewise.
32246 * iconvdata/ibm1046.h: Likewise.
32247 * iconvdata/ibm1097.h: Likewise.
32248 * iconvdata/ibm1112.h: Likewise.
32249 * iconvdata/ibm1122.h: Likewise.
32250 * iconvdata/ibm1123.h: Likewise.
32251 * iconvdata/ibm1124.h: Likewise.
32252 * iconvdata/ibm1129.h: Likewise.
32253 * iconvdata/ibm1130.h: Likewise.
32254 * iconvdata/ibm1132.h: Likewise.
32255 * iconvdata/ibm1133.h: Likewise.
32256 * iconvdata/ibm1137.h: Likewise.
32257 * iconvdata/ibm1140.h: Likewise.
32258 * iconvdata/ibm1141.h: Likewise.
32259 * iconvdata/ibm1142.h: Likewise.
32260 * iconvdata/ibm1143.h: Likewise.
32261 * iconvdata/ibm1144.h: Likewise.
32262 * iconvdata/ibm1145.h: Likewise.
32263 * iconvdata/ibm1146.h: Likewise.
32264 * iconvdata/ibm1147.h: Likewise.
32265 * iconvdata/ibm1148.h: Likewise.
32266 * iconvdata/ibm1149.h: Likewise.
32267 * iconvdata/ibm1153.h: Likewise.
32268 * iconvdata/ibm1154.h: Likewise.
32269 * iconvdata/ibm1155.h: Likewise.
32270 * iconvdata/ibm1156.h: Likewise.
32271 * iconvdata/ibm1157.h: Likewise.
32272 * iconvdata/ibm1158.h: Likewise.
32273 * iconvdata/ibm1160.h: Likewise.
32274 * iconvdata/ibm1161.h: Likewise.
32275 * iconvdata/ibm1162.h: Likewise.
32276 * iconvdata/ibm1163.h: Likewise.
32277 * iconvdata/ibm1164.h: Likewise.
32278 * iconvdata/ibm1166.h: Likewise.
32279 * iconvdata/ibm1167.h: Likewise.
32280 * iconvdata/ibm12712.h: Likewise.
32281 * iconvdata/ibm1390.h: Likewise.
32282 * iconvdata/ibm1399.h: Likewise.
32283 * iconvdata/ibm16804.h: Likewise.
32284 * iconvdata/ibm4517.h: Likewise.
32285 * iconvdata/ibm4899.h: Likewise.
32286 * iconvdata/ibm4909.h: Likewise.
32287 * iconvdata/ibm4971.h: Likewise.
32288 * iconvdata/ibm5347.h: Likewise.
32289 * iconvdata/ibm803.h: Likewise.
32290 * iconvdata/ibm856.h: Likewise.
32291 * iconvdata/ibm901.h: Likewise.
32292 * iconvdata/ibm902.h: Likewise.
32293 * iconvdata/ibm9030.h: Likewise.
32294 * iconvdata/ibm9066.h: Likewise.
32295 * iconvdata/ibm921.h: Likewise.
32296 * iconvdata/ibm922.h: Likewise.
32297 * iconvdata/ibm9448.h: Likewise.
32298 * iconvdata/isiri-3342.h: Likewise.
32299 * iconvdata/jis0201.h: Likewise.
32300 * include/link.h: Likewise.
32301 * include/netdb.h: Likewise.
32302 * inet/check_native.c: Likewise.
32303 * inet/check_pf.c: Likewise.
32304 * inet/getipv4sourcefilter.c: Likewise.
32305 * inet/getnameinfo.c: Likewise.
32306 * inet/getsourcefilter.c: Likewise.
32307 * inet/htonl.c: Likewise.
32308 * inet/setipv4sourcefilter.c: Likewise.
32309 * inet/setsourcefilter.c: Likewise.
32310 * inet/test-inet6_opt.c: Likewise.
32311 * inet/tst-network.c: Likewise.
32312 * locale/C-collate.c: Likewise.
32313 * locale/C-ctype.c: Likewise.
32314 * locale/C-time.c: Likewise.
32315 * locale/C-translit.h: Likewise.
32316 * locale/loadarchive.c: Likewise.
32317 * locale/programs/3level.h: Likewise.
32318 * locale/programs/charmap.c: Likewise.
32319 * locale/programs/charmap.h: Likewise.
32320 * locale/programs/ld-address.c: Likewise.
32321 * locale/programs/ld-collate.c: Likewise.
32322 * locale/programs/ld-ctype.c: Likewise.
32323 * locale/programs/ld-identification.c: Likewise.
32324 * locale/programs/ld-measurement.c: Likewise.
32325 * locale/programs/ld-messages.c: Likewise.
32326 * locale/programs/ld-monetary.c: Likewise.
32327 * locale/programs/ld-name.c: Likewise.
32328 * locale/programs/ld-numeric.c: Likewise.
32329 * locale/programs/ld-paper.c: Likewise.
32330 * locale/programs/ld-telephone.c: Likewise.
32331 * locale/programs/ld-time.c: Likewise.
32332 * locale/programs/linereader.c: Likewise.
32333 * locale/programs/locale.c: Likewise.
32334 * locale/programs/locarchive.c: Likewise.
32335 * locale/programs/locfile.h: Likewise.
32336 * locale/programs/repertoire.c: Likewise.
32337 * locale/programs/simple-hash.c: Likewise.
32338 * locale/programs/simple-hash.h: Likewise.
32339 * malloc/memusage.c: Likewise.
32340 * malloc/memusagestat.c: Likewise.
32341 * nis/nis_defaults.c: Likewise.
32342 * nis/nis_hash.c: Likewise.
32343 * nis/nis_print.c: Likewise.
32344 * nis/nis_xdr.c: Likewise.
32345 * nscd/connections.c: Likewise.
32346 * nscd/hstcache.c: Likewise.
32347 * nscd/nscd_gethst_r.c: Likewise.
32348 * nscd/nscd_getserv_r.c: Likewise.
32349 * nscd/nscd_helper.c: Likewise.
32350 * nscd/servicescache.c: Likewise.
32351 * nss/makedb.c: Likewise.
32352 * nss/nss_db/db-XXX.c: Likewise.
32353 * nss/nss_db/db-initgroups.c: Likewise.
32354 * nss/nss_db/db-netgrp.c: Likewise.
32355 * nss/nss_files/files-network.c: Likewise.
32356 * nss/nss_files/files-parse.c: Likewise.
32357 * posix/bug-regex5.c: Likewise.
32358 * posix/fnmatch_loop.c: Likewise.
32359 * posix/regcomp.c: Likewise.
32360 * posix/regexec.c: Likewise.
32361 * posix/tst-rfc3484-2.c: Likewise.
32362 * posix/tst-rfc3484-3.c: Likewise.
32363 * posix/tst-rfc3484.c: Likewise.
32364 * resolv/nss_dns/dns-canon.c: Likewise.
32365 * resolv/nss_dns/dns-network.c: Likewise.
32366 * resolv/res_init.c: Likewise.
32367 * resolv/res_mkquery.c: Likewise.
32368 * resolv/tst-aton.c: Likewise.
32369 * stdlib/cxa_atexit.c: Likewise.
32370 * stdlib/cxa_finalize.c: Likewise.
32371 * stdlib/gen-fpioconst.c: Likewise.
32372 * stdlib/strtol_l.c: Likewise.
32373 * string/tst-endian.c: Likewise.
32374 * sunrpc/auth_des.c: Likewise.
32375 * sunrpc/clnt_udp.c: Likewise.
32376 * sunrpc/rtime.c: Likewise.
32377 * sunrpc/svcauth_des.c: Likewise.
32378 * sunrpc/xdr.c: Likewise.
32379 * sunrpc/xdr_intXX_t.c: Likewise.
32380 * sunrpc/xdr_rec.c: Likewise.
32381 * sysdeps/generic/ldconfig.h: Likewise.
32382 * sysdeps/generic/ldsodefs.h: Likewise.
32383 * sysdeps/generic/memusage.h: Likewise.
32384 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
32385 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
32386 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
32387 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
32388 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
32389 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
32390 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
32391 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
32392 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
32393 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
32394 * sysdeps/posix/getaddrinfo.c: Likewise.
32395 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
32396 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
32397 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
32398 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
32399 * sysdeps/powerpc/test-gettimebase.c: Likewise.
32400 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
32401 * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
32402 * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
32403 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
32404 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
32405 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
32406 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
32407 * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
32408 * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
32409 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
32410 * sysdeps/x86_64/dl-tls.h: Likewise.
32411 * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
32412 * time/alt_digit.c: Likewise.
32413 * time/era.c: Likewise.
32414 * wcsmbs/tst-c16c32-1.c: Likewise.
32416 2013-05-16 Joseph Myers <joseph@codesourcery.com>
32418 * math/libm-test.inc (struct test_sincos_data): New type.
32419 (RUN_TEST_LOOP_sincos): New macro.
32420 (sincos_test_data): New variable.
32421 (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
32423 2013-05-16 Richard Henderson <rth@redhat.com>
32425 * math/atest-exp2.c (LIMB64): New macro.
32426 (CONSTSZ): New macro.
32427 (mp_exp1, mp_exp_m1, mp_log2): New variables.
32429 (print_mpn_fp): ... to function scope.
32430 (read_mpn_hex): Remove.
32431 (get_log2): Remove.
32432 (exp2_mpn): Use mp_log2.
32433 (main): Use mp_exp1.
32435 2013-05-16 Joseph Myers <joseph@codesourcery.com>
32437 * math/libm-test.inc: Remove comment about not testing "inexact"
32439 (INEXACT_EXCEPTION): New macro.
32440 (NO_INEXACT_EXCEPTION): Likewise.
32441 (INVALID_EXCEPTION_OK): Update value.
32442 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
32443 (OVERFLOW_EXCEPTION_OK): Likewise.
32444 (UNDERFLOW_EXCEPTION_OK): Likewise.
32445 (IGNORE_ZERO_INF_SIGN): Likewise.
32446 (ERRNO_UNCHANGED): Likewise.
32447 (ERRNO_EDOM): Likewise.
32448 (ERRNO_ERANGE): Likewise.
32449 (test_exceptions): Handle testing "inexact" exceptions.
32450 (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
32451 (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
32452 (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
32453 (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
32455 (rint_towardzero_test_data): Likewise.
32456 (rint_downward_test_data): Likewise.
32457 (rint_upward_test_data): Likewise.
32459 * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
32460 with OVERFLOW_EXCEPTION.
32461 (exp10_test_data): Likewise.
32462 (exp2_test_data): Likewise.
32463 (expm1_test_data): Likewise.
32464 (lgamma_test_data): Likewise.
32465 (pow_test_data): Likewise.
32466 (tgamma_test_data): Likewise.
32467 (yn_test_data): Remove duplicate test of overflow.
32469 * math/libm-test.inc (struct test_cc_c_data): New type.
32470 (RUN_TEST_LOOP_cc_c): New macro.
32471 (cpow_test_data): New variable.
32472 (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
32474 * math/libm-test.inc (struct test_f_L_data): New type.
32475 (RUN_TEST_LOOP_f_L): New macro.
32476 (llrint_test_data): New variable.
32477 (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
32478 (llrint_tonearest_test_data): New variable.
32479 (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
32480 (llrint_towardzero_test_data): New variable.
32481 (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
32482 (llrint_downward_test_data): New variable.
32483 (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
32484 (llrint_upward_test_data): New variable.
32485 (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
32486 (llround_test_data): New variable.
32487 (llround_test): Run tests with RUN_TEST_LOOP_f_L.
32489 2013-05-13 Peter Collingbourne <pcc@google.com>
32491 * math/atest-exp2.c (get_log2): Remove const attribute.
32493 2013-05-15 Joseph Myers <joseph@codesourcery.com>
32495 * math/libm-test.inc (struct test_f_l_data): New type.
32496 (RUN_TEST_LOOP_f_l): New macro.
32497 (lrint_test_data): New variable.
32498 (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
32499 (lrint_tonearest_test_data): New variable.
32500 (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
32501 (lrint_towardzero_test_data): New variable.
32502 (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
32503 (lrint_downward_test_data): New variable.
32504 (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
32505 (lrint_upward_test_data): New variable.
32506 (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
32507 (lround_test_data): New variable.
32508 (lround_test): Run tests with RUN_TEST_LOOP_f_l.
32510 2013-05-15 Peter Collingbourne <pcc@google.com>
32512 * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
32513 (EXTRACT_WORDS64) Use where appropriate.
32514 (INSERT_WORDS64) Likewise.
32516 * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
32517 constraints with x constraints.
32518 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
32520 * malloc/obstack.c (_obstack_compat): Add initializer.
32522 2013-05-15 Edjunior Machado <emachado@linux.vnet.ibm.com>
32524 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
32525 si_trapno and add si_addr_lsb to _sifields.sigfault.
32526 (si_trapno): Remove macro.
32527 (si_addr_lsb): Define new macro.
32528 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
32530 2013-05-15 Joseph Myers <joseph@codesourcery.com>
32532 * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
32533 instead of TEST_f_l.
32534 (llrint_test_tonearest): Likewise.
32535 (llrint_test_towardzero): Likewise.
32536 (llrint_test_downward): Likewise.
32537 (llrint_test_upward): Likewise.
32538 (llround_test): Likewise.
32540 * math/libm-test.inc (struct test_f_i_data): Add comment.
32541 (RUN_TEST_LOOP_f_b): New macro.
32542 (RUN_TEST_LOOP_f_b_tg): Likewise.
32543 (finite_test_data): New variable.
32544 (finite_test): Run tests with RUN_TEST_LOOP_f_b.
32545 (isfinite_test_data): New variable.
32546 (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
32547 (isinf_test_data): New variable.
32548 (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
32549 (isnan_test_data): New variable.
32550 (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
32551 (isnormal_test_data): New variable.
32552 (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
32553 (issignaling_test_data): New variable.
32554 (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
32555 (signbit_test_data): New variable.
32556 (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
32558 * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
32559 with INVALID_EXCEPTION.
32560 (acosh_test_data): Likewise.
32561 (asin_test_data): Likewise.
32562 (atanh_test_data): Likewise.
32563 (fmod_test_data): Likewise.
32564 (log_test_data): Likewise.
32565 (log10_test_data): Likewise.
32566 (log2_test_data): Likewise.
32567 (pow_test_data): Likewise.
32568 (sqrt_test_data): Likewise.
32569 (y0_test_data): Likewise.
32570 (y1_test_data): Likewise.
32571 (yn_test_data): Likewise.
32573 * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
32576 * math/libm-test.inc (struct test_ff_i_data): New type.
32577 (RUN_TEST_LOOP_ff_i_tg): New macro.
32578 (isgreater_test_data): New variable.
32579 (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
32580 (isgreaterequal_test_data): New variable.
32581 (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
32582 (isless_test_data): New variable.
32583 (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
32584 (islessequal_test_data): New variable.
32585 (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
32586 (islessgreater_test_data): New variable.
32587 (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
32588 (isunordered_test_data): New variable.
32589 (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
32591 2013-05-14 David S. Miller <davem@davemloft.net>
32593 * sysdeps/sparc/fpu/libm-test-ulps: Update.
32595 2013-05-14 Joseph Myers <joseph@codesourcery.com>
32597 * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
32599 * math/libm-test.inc (struct test_fF_f1_data): Change type of
32601 (struct test_f_i_data): Change type of max_ulp to int.
32603 * math/libm-test.inc (test_ffI_f1_data): New type.
32604 (RUN_TEST_LOOP_ffI_f1): New macro.
32605 (remquo_test_data): New variable.
32606 (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
32608 * setjmp/tst-setjmp-fp.c: New file.
32609 * setjmp/Makefile (tests): Add tst-setjmp-fp.
32610 (link-libm): New variable.
32611 ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
32613 * math/libm-test.inc (struct test_f_i_data): New type.
32614 (RUN_TEST_LOOP_f_i): New macro.
32615 (RUN_TEST_LOOP_f_i_tg): Likewise.
32616 (fpclassify_test_data): New variable.
32617 (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
32618 (ilogb_test_data): New variable.
32619 (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
32621 * math/libm-test.inc (scalbln_test): Correct function name in END
32624 * math/libm-test.inc (struct test_f_f1_data): Add comment.
32625 (RUN_TEST_LOOP_fI_f1): New macro.
32626 (frexp_test_data): New variable.
32627 (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
32629 * math/libm-test.inc (struct test_fF_f1_data): New type.
32630 (RUN_TEST_LOOP_fF_f1): New macro.
32631 (modf_test_data): New variable.
32632 (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
32634 * math/libm-test.inc (struct test_f_f1_data): New type.
32635 (RUN_TEST_LOOP_f_f1): New macro.
32636 (gamma_test_data): New variable.
32637 (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
32638 (lgamma_test_data): New variable.
32639 (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
32641 2013-05-13 Carlos O'Donell <carlos@redhat.com>
32643 * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
32644 * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
32645 (main): Comment "tls" pseudo-hwcap.
32647 2013-05-13 Joseph Myers <joseph@codesourcery.com>
32649 * math/libm-test.inc (struct test_fl_f_data): New type.
32650 (RUN_TEST_LOOP_fl_f): New variable.
32651 (scalbln_test_data): New variable.
32652 (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
32654 * math/libm-test.inc (struct test_fi_f_data): New type.
32655 (RUN_TEST_LOOP_fi_f): New macro.
32656 (ldexp_test_data): New variable.
32657 (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
32658 (scalbn_test_data): New variable.
32659 (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
32661 * math/libm-test.inc (struct test_c_f_data): New type.
32662 (RUN_TEST_LOOP_c_f): New macro.
32663 (cabs_test_data): New variable.
32664 (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
32665 (carg_test_data): New variable.
32666 (carg_test): Run tests with RUN_TEST_LOOP_c_f.
32667 (cimag_test_data): New variable.
32668 (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
32669 (creal_test_data): New variable.
32670 (creal_test): Run tests with RUN_TEST_LOOP_c_f.
32672 * math/libm-test.inc (struct test_if_f_data): New type.
32673 (RUN_TEST_LOOP_if_f): New macro.
32674 (jn_test_data): New variable.
32675 (jn_test): Run tests with RUN_TEST_LOOP_if_f.
32676 (yn_test_data): New variable.
32677 (yn_test): Run tests with RUN_TEST_LOOP_if_f.
32679 * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
32681 2013-05-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32683 * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
32684 (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
32686 2013-05-13 Siddhesh Poyarekar <siddhesh@redhat.com>
32688 * benchtests/Makefile (CPPFLAGS-nonlib): Add
32689 -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
32690 (bench-deps): Add bench-timing.h.
32691 * benchtests-bench-skeleton.c: Include bench-timing.h.
32692 (main): Use TIMING_* macros instead of clock_gettime.
32693 * benchtests/bench-timing.h: New file.
32696 * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
32697 Renamed from _LIB_VERSION.
32698 (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
32700 2013-05-12 Joseph Myers <joseph@codesourcery.com>
32702 * math/libm-test.inc (struct test_fff_f_data): New type.
32703 (RUN_TEST_LOOP_fff_f): New macro.
32704 (fma_test_data): New variable.
32705 (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
32706 (fma_towardzero_test_data): New variable.
32707 (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
32708 (fma_downward_test_data): New variable.
32709 (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
32710 (fma_upward_test_data): New variable.
32711 (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
32713 * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
32714 (struct test_c_c_data): New type.
32715 (RUN_TEST_LOOP_c_c): New macro.
32716 (cacos_test_data): New variable.
32717 (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
32718 (cacosh_test_data): New variable.
32719 (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
32720 (casin_test_data): New variable.
32721 (casin_test): Run tests with RUN_TEST_LOOP_c_c.
32722 (casinh_test_data): New variable.
32723 (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
32724 (catan_test_data): New variable.
32725 (catan_test): Run tests with RUN_TEST_LOOP_c_c.
32726 (catanh_test_data): New variable.
32727 (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
32728 (ccos_test_data): New variable.
32729 (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
32730 (ccosh_test_data): New variable.
32731 (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
32732 (cexp_test_data): New variable.
32733 (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
32734 (clog_test_data): New variable.
32735 (clog_test): Run tests with RUN_TEST_LOOP_c_c.
32736 (clog10_test_data): New variable.
32737 (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
32738 (conj_test_data): New variable.
32739 (conj_test): Run tests with RUN_TEST_LOOP_c_c.
32740 (cproj_test_data): New variable.
32741 (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
32742 (csin_test_data): New variable.
32743 (csin_test): Run tests with RUN_TEST_LOOP_c_c.
32744 (csinh_test_data): New variable.
32745 (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
32746 (csqrt_test_data): New variable.
32747 (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
32748 (ctan_test_data): New variable.
32749 (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
32750 (ctan_tonearest_test_data): New variable.
32751 (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
32752 (ctan_towardzero_test_data): New variable.
32753 (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
32754 (ctan_downward_test_data): New variable.
32755 (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
32756 (ctan_upward_test_data): New variable.
32757 (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
32758 (ctanh_test_data): New variable.
32759 (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
32760 (ctanh_tonearest_test_data): New variable.
32761 (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
32762 (ctanh_towardzero_test_data): New variable.
32763 (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
32764 (ctanh_downward_test_data): New variable.
32765 (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
32766 (ctanh_upward_test_data): New variable.
32767 (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
32768 * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
32771 * math/libm-test.inc (struct test_ff_f_data): New type.
32772 (struct test_ff_f_data_nexttoward): Likewise.
32773 (RUN_TEST_LOOP_2_f): New macro.
32774 (RUN_TEST_LOOP_ff_f): Likewise.
32775 (atan2_test_data): New variable.
32776 (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
32777 (copysign_test_data): New variable.
32778 (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
32779 (fdim_test_data): New variable.
32780 (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
32781 (fmax_test_data): New variable.
32782 (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
32783 (fmin_test_data): New variable.
32784 (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
32785 (fmod_test_data): New variable.
32786 (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
32787 (hypot_test_data): New variable.
32788 (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
32789 (nextafter_test_data): New variable.
32790 (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
32791 (nexttoward_test_data): New variable.
32792 (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
32793 (pow_test_data): New variable.
32794 (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
32795 (pow_tonearest_test_data): New variable.
32796 (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
32797 (pow_towardzero_test_data): New variable.
32798 (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
32799 (pow_downward_test_data): New variable.
32800 (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
32801 (pow_upward_test_data): New variable.
32802 (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
32803 (remainder_test_data): New variable.
32804 (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
32805 (scalb_test_data): New variable.
32806 (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
32807 * sysdeps/i386/fpu/libm-test-ulps: Update.
32809 2013-05-11 Joseph Myers <joseph@codesourcery.com>
32811 * math/libm-test.inc (fma_test): Use max_value instead of local
32813 (nextafter_test): Likewise.
32815 * math/libm-test.inc (acos_towardzero_test_data): New variable.
32816 (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
32817 (acos_downward_test_data): New variable.
32818 (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
32819 (acos_upward_test_data): New variable.
32820 (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
32821 (acosh_test_data): New variable.
32822 (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
32823 (asin_test_data): New variable.
32824 (asin_test): Run tests with RUN_TEST_LOOP_f_f.
32825 (asin_tonearest_test_data): New variable.
32826 (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
32827 (asin_towardzero_test_data): New variable.
32828 (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
32829 (asin_downward_test_data): New variable.
32830 (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
32831 (asin_upward_test_data): New variable.
32832 (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
32833 (asinh_test_data): New variable.
32834 (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
32835 (atan_test_data): New variable.
32836 (atan_test): Run tests with RUN_TEST_LOOP_f_f.
32837 (atanh_test_data): New variable.
32838 (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
32839 (cbrt_test_data): New variable.
32840 (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
32841 (ceil_test_data): New variable.
32842 (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
32843 (cos_test_data): New variable.
32844 (cos_test): Run tests with RUN_TEST_LOOP_f_f.
32845 (cos_tonearest_test_data): New variable.
32846 (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
32847 (cos_towardzero_test_data): New variable.
32848 (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
32849 (cos_downward_test_data): New variable.
32850 (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
32851 (cos_upward_test_data): New variable.
32852 (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
32853 (cosh_test_data): New variable.
32854 (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
32855 (cosh_tonearest_test_data): New variable.
32856 (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
32857 (cosh_towardzero_test_data): New variable.
32858 (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
32859 (cosh_downward_test_data): New variable.
32860 (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
32861 (cosh_upward_test_data): New variable.
32862 (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
32863 (erf_test_data): New variable.
32864 (erf_test): Run tests with RUN_TEST_LOOP_f_f.
32865 (erfc_test_data): New variable.
32866 (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
32867 (exp_test_data): New variable.
32868 (exp_test): Run tests with RUN_TEST_LOOP_f_f.
32869 (exp_tonearest_test_data): New variable.
32870 (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
32871 (exp_towardzero_test_data): New variable.
32872 (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
32873 (exp_downward_test_data): New variable.
32874 (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
32875 (exp_upward_test_data): New variable.
32876 (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
32877 (exp10_test_data): New variable.
32878 (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
32879 (exp2_test_data): New variable.
32880 (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
32881 (expm1_test_data): New variable.
32882 (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
32883 (fabs_test_data): New variable.
32884 (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
32885 (floor_test_data): New variable.
32886 (floor_test): Run tests with RUN_TEST_LOOP_f_f.
32887 (j0_test_data): New variable.
32888 (j0_test): Run tests with RUN_TEST_LOOP_f_f.
32889 (j1_test_data): New variable.
32890 (j1_test): Run tests with RUN_TEST_LOOP_f_f.
32891 (log_test_data): New variable.
32892 (log_test): Run tests with RUN_TEST_LOOP_f_f.
32893 (log10_test_data): New variable.
32894 (log10_test): Run tests with RUN_TEST_LOOP_f_f.
32895 (log1p_test_data): New variable.
32896 (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
32897 (log2_test_data): New variable.
32898 (log2_test): Run tests with RUN_TEST_LOOP_f_f.
32899 (logb_test_data): New variable.
32900 (logb_test): Run tests with RUN_TEST_LOOP_f_f.
32901 (logb_downward_test_data): New variable.
32902 (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
32903 (nearbyint_test_data): New variable.
32904 (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
32905 (rint_test_data): New variable.
32906 (rint_test): Run tests with RUN_TEST_LOOP_f_f.
32907 (rint_tonearest_test_data): New variable.
32908 (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
32909 (rint_towardzero_test_data): New variable.
32910 (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
32911 (rint_downward_test_data): New variable.
32912 (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
32913 (rint_upward_test_data): New variable.
32914 (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
32915 (round_test_data): New variable.
32916 (round_test): Run tests with RUN_TEST_LOOP_f_f.
32917 (sin_test_data): New variable.
32918 (sin_test): Run tests with RUN_TEST_LOOP_f_f.
32919 (sin_tonearest_test_data): New variable.
32920 (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
32921 (sin_towardzero_test_data): New variable.
32922 (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
32923 (sin_downward_test_data): New variable.
32924 (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
32925 (sin_upward_test_data): New variable.
32926 (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
32927 (sinh_test_data): New variable.
32928 (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
32929 (sinh_tonearest_test_data): New variable.
32930 (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
32931 (sinh_towardzero_test_data): New variable.
32932 (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
32933 (sinh_downward_test_data): New variable.
32934 (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
32935 (sinh_upward_test_data): New variable.
32936 (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
32937 (sqrt_test_data): New variable.
32938 (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
32939 (tan_test_data): New variable.
32940 (tan_test): Run tests with RUN_TEST_LOOP_f_f.
32941 (tan_tonearest_test_data): New variable.
32942 (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
32943 (tan_towardzero_test_data): New variable.
32944 (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
32945 (tan_downward_test_data): New variable.
32946 (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
32947 (tan_upward_test_data): New variable.
32948 (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
32949 (tanh_test_data): New variable.
32950 (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
32951 (tgamma_test_data): New variable.
32952 (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
32953 (trunc_test_data): New variable.
32954 (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
32955 (y0_test_data): New variable.
32956 (y0_test): Run tests with RUN_TEST_LOOP_f_f.
32957 (y1_test_data): New variable.
32958 (y1_test): Run tests with RUN_TEST_LOOP_f_f.
32959 (significand_test_data): New variable.
32960 (significand_test): Run tests with RUN_TEST_LOOP_f_f.
32962 2013-05-10 Christian Grönke <cgr_bugs@sysgo.com>
32965 * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
32967 2013-05-10 Pino Toscano <toscano.pino@tiscali.it>
32969 * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
32971 2013-05-10 Andreas Jaeger <aj@suse.de>
32974 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
32975 (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
32977 2013-05-10 Joseph Myers <joseph@codesourcery.com>
32979 * math/gen-libm-test.pl (adjust_arg): New function.
32980 (special_functions): Handle generating output in both functions
32982 (parse_args): Likewise.
32983 (generate_testfile): Handle START_DATA and END_DATA. Pass extra
32984 $in_func argument to parse_args.
32985 * math/libm-test.inc (struct test_f_f_data): New type.
32986 (IF_ROUND_INIT_): New macro.
32987 (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
32988 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
32989 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
32990 (IF_ROUND_INIT_FE_UPWARD): Likewise.
32991 (ROUND_RESTORE_): Likewise.
32992 (ROUND_RESTORE_FE_DOWNWARD): Likewise.
32993 (ROUND_RESTORE_FE_TONEAREST): Likewise.
32994 (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
32995 (ROUND_RESTORE_FE_UPWARD): Likewise.
32996 (RUN_TEST_LOOP_f_f): New macro.
32997 (acos_test_data): New variable.
32998 (acos_test): Run tests with RUN_TEST_LOOP_f_f.
32999 (acos_tonearest_test_data): New variable.
33000 (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
33002 2013-05-10 Siddhesh Poyarekar <siddhesh@redhat.com>
33004 * benchtests/bench-skeleton.c (startup): Fix coding style.
33006 2013-05-10 Joseph Myers <joseph@codesourcery.com>
33009 * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
33010 negative infinity argument.
33011 * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
33012 negative infinity argument.
33013 * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
33014 negative infinity argument.
33015 * math/libm-test.inc (tgamma_test): Expect errno to be set for
33018 2013-05-10 Florian Weimer <fweimer@redhat.com>
33020 * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
33021 * iconv/iconv_charmap.c (charmap_conversion): Likewise.
33022 * iconv/iconv_prog.c (main): Likewise.
33023 * locale/programs/charmap-dir.c (charmap_readdir)
33024 (fopen_uncompressed): Likewise.
33025 * locale/programs/locfile.c (siblings_uncached)
33026 (write_locale_data): Use lstat64 instead of lstat.
33027 * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
33030 2013-05-10 Andreas Jaeger <aj@suse.de>
33033 * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
33035 Include <locale.h>.
33037 2013-05-09 Carlos O'Donell <carlos@redhat.com>
33039 * elf/dl-close.c (_dl_close_worker): Add comments.
33041 2013-05-09 Joseph Myers <joseph@codesourcery.com>
33044 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
33046 (__ieee754_rem_pio2l): Update comments.
33049 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
33051 (__ieee754_rem_pio2l): Update comments.
33053 * math/libm-test.inc (M_SQRT_2_2): Remove macro.
33054 (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
33056 * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
33059 * math/libm-test.inc (M_PI_34l): Define using decimal constant.
33060 (M_PI_34_LOG10El): Likewise.
33061 (M_PI2_LOG10El): Likewise.
33062 (M_PI4_LOG10El): Likewise.
33063 (M_PI_LOG10El): Likewise.
33065 2013-05-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33067 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33069 2013-05-08 Joseph Myers <joseph@codesourcery.com>
33071 * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
33072 (MINUS_ZERO_INIT): Likewise.
33073 (PLUS_INFTY_INIT): Likewise.
33074 (MINUS_INFTY_INIT): Likewise.
33075 (QNAN_VALUE_INIT): Likewise.
33076 (MAX_VALUE_INIT): Likewise.
33077 (MIN_VALUE_INIT): Likewise.
33078 (MIN_SUBNORM_VALUE_INIT): Likewise.
33079 (plus_zero): Initialize with PLUS_ZERO_INIT.
33080 (minus_zero): Initialize with MINUS_ZERO_INIT.
33081 (plus_infty): Initialize with PLUS_INFTY_INIT.
33082 (minus_infty): Initialize with MINUS_INFTY_INIT.
33083 (qnan_value): Initialize with QNAN_VALUE_INIT.
33084 (max_value): Initialize with MAX_VALUE_INIT.
33085 (min_value): Initialize with MIN_VALUE_INIT.
33086 (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
33088 * math/libm-test.inc (RUN_TEST_if_f): New macro.
33089 (jn_test): Use TEST_if_f instead of TEST_ff_f.
33090 (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
33091 (yn_test): Use TEST_if_f instead of TEST_ff_f.
33093 * math/libm-test.inc (RUN_TEST_f_f): New macro.
33094 (RUN_TEST_2_f): Likewise.
33095 (RUN_TEST_ff_f): Likewise.
33096 (RUN_TEST_fi_f): Likewise.
33097 (RUN_TEST_fl_f): Likewise.
33098 (RUN_TEST_fff_f): Likewise.
33099 (RUN_TEST_c_f): Likewise.
33100 (RUN_TEST_f_f1): Likewise.
33101 (RUN_TEST_fF_f1): Likewise.
33102 (RUN_TEST_fI_f1): Likewise.
33103 (RUN_TEST_ffI_f1): Likewise.
33104 (RUN_TEST_c_c): Likewise.
33105 (RUN_TEST_cc_c): Likewise.
33106 (RUN_TEST_f_i): Likewise.
33107 (RUN_TEST_f_i_tg): Likewise.
33108 (RUN_TEST_ff_i_tg): Likewise.
33109 (RUN_TEST_f_b): Likewise.
33110 (RUN_TEST_f_b_tg): Likewise.
33111 (RUN_TEST_f_l): Likewise.
33112 (RUN_TEST_f_L): Likewise.
33113 (RUN_TEST_sincos): Likewise.
33114 * math/gen-libm-test.pl (new_test): Take new argument to indicate
33115 whether to show exceptions. Do not include ");\n" in return
33117 (special_functions): Output call to RUN_TEST_sincos instead of
33118 check_float calls. Update calls to new_test.
33119 (parse_args): Output call to single RUN_TEST_* macro instead of
33120 check_* calls and other assignments. Update calls to new_test.
33126 * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
33127 input to result for tgamma overflow.
33128 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
33129 (gamma_coeff): New variable.
33130 (NCOEFF): New macro.
33131 (gamma_positive): New function.
33132 (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
33133 underflow here. Use gamma_positive instead of exp (lgamma) for
33135 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
33136 (gamma_coeff): New variable.
33137 (NCOEFF): New macro.
33138 (gammaf_positive): New function.
33139 (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
33140 underflow here. Use gamma_positive instead of exp (lgamma) for
33142 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
33143 (gamma_coeff): New variable.
33144 (NCOEFF): New macro.
33145 (gammal_positive): New function.
33146 (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
33147 underflow here. Use gamma_positive instead of exp (lgamma) for
33149 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
33150 (gamma_coeff): New variable.
33151 (NCOEFF): New macro.
33152 (gammal_positive): New function.
33153 (__ieee754_gammal_r): Handle positive infinity, overflow and
33154 underflow here. Handle NaN the same as positive infinity. Remove
33155 check x < 0xffffffff for negative integers. Use gamma_positive
33156 instead of exp (lgamma) for other arguments.
33157 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
33158 (gamma_coeff): New variable.
33159 (NCOEFF): New macro.
33160 (gammal_positive): New function.
33161 * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
33162 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
33163 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
33164 * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
33165 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
33166 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
33167 * sysdeps/generic/math_private.h (__gamma_productf): New
33169 (__gamma_product): Likewise.
33170 (__gamma_productl): Likewise.
33171 * math/Makefile (libm-calls): Add gamma_product.
33172 * math/libm-test.inc (tgamma_test): Add more tests.
33173 * sysdeps/i386/fpu/libm-test-ulps: Update.
33174 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33176 2013-05-08 Ondřej Bílka <neleai@seznam.cz>
33178 * benchtests/bench-skeleton.c (main): Preheat CPU.
33180 2013-05-07 Aurelien Jarno <aurelien@aurel32.net>
33182 * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
33184 2013-05-07 Roland McGrath <roland@hack.frob.com>
33186 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
33187 and _dl_skip_args_internal.
33189 2013-05-07 Carlos O'Donell <carlos@redhat.com>
33191 * manual/message.texi (Message Translation): Talk about users.
33192 Message to key mapping impacts design.
33194 2013-05-06 Roland McGrath <roland@hack.frob.com>
33196 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
33198 * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
33200 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
33201 * sysdeps/wordsize-64/glob64.c: ... here.
33203 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
33204 (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
33207 * debug/getlogin_r_chk.c: Moved to ...
33208 * login/getlogin_r_chk.c: ... here.
33209 * debug/Makefile (routines): Move getlogin_r_chk to ...
33210 * login/Makefile (routines): ... here.
33211 * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
33212 * login/Versions (libc: GLIBC_2.4): ... here.
33214 * io/poll.c (__poll): Renamed from poll.
33215 Add libc_hidden_def.
33216 (poll): Define as weak alias.
33218 * debug/ptsname_r_chk.c: Moved to ...
33219 * login/ptsname_r_chk.c: ... here.
33220 * debug/Makefile (routines): Move ptsname_r_chk to ...
33221 * login/Makefile (routines): ... here.
33222 * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
33223 * login/Versions (libc: GLIBC_2.4): ... here.
33225 * posix/getlogin.c: Moved to ...
33226 * login/getlogin.c: ... here.
33227 * posix/getlogin_r.c: Moved to ...
33228 * login/getlogin_r.c: ... here.
33229 * posix/getlogin_r.c: Moved to ...
33230 * login/getlogin_r.c: ... here.
33231 * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
33232 * login/Makefile (routines): ... here.
33233 * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
33234 * login/Versions (libc: GLIBC_2.0): ... here.
33236 * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
33237 (setrlimit): Define as weak alias.
33239 * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
33240 Call __ names for open, ftruncate, and close.
33241 For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
33242 (truncate): Define as weak alias.
33244 2013-05-06 Joseph Myers <joseph@codesourcery.com>
33246 * math/gen-libm-test.pl (parse_args): Initialize x before each
33247 test of frexp, modf and remquo.
33249 * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
33250 test signgam value.
33252 2013-05-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33256 * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
33258 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
33260 2013-05-06 Roland McGrath <roland@hack.frob.com>
33262 * elf/dl-writev.h: New file.
33263 * elf/dl-misc.c: Include it.
33264 (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
33265 * sysdeps/unix/sysv/linux/dl-writev.h: New file.
33267 2013-05-04 Joseph Myers <joseph@codesourcery.com>
33269 * math/libm-test.inc (noXFails): Remove variable.
33270 (noXPasses): Likewise.
33271 (BUILD_COMPLEX_INT): Remove macro.
33272 (print_screen): Remove xfail argument.
33273 (print_screen_max_error): Likewise.
33274 (update_stats): Likewise.
33275 (print_max_error): Likewise. Update calls to other affected
33277 (print_complex_max_error): Likewise.
33278 (test_single_exception): Update calls to print_screen.
33279 (test_single_errno): Likewise.
33280 (check_float_internal): Remove xfail argument. Update calls to
33281 other affected functions.
33282 (check_float): Likewise.
33283 (check_complex): Likewise.
33284 (check_int): Likewise.
33285 (check_long): Likewise.
33286 (check_bool): Likewise.
33287 (check_longlong): Likewise.
33288 (main): Don't print noXFails and noXPasses.
33289 * math/gen-libm-test.pl (top level): Don't mention expected
33290 failure handling in comment.
33291 (new_test): Don't handle expected failures.
33292 (parse_args): Don't mention expected failure handling in comment.
33293 (generate_testfile): Don't handle expected failures.
33294 (parse_ulps): Likewise.
33295 (print_ulps_file): Likewise.
33296 (get_failure): Remove function.
33297 (output_test): Don't handle expected failures.
33298 * make/README.libm-test: Don't mention expected failure handling.
33300 * math/libm-test.inc (plus_zero): Make const. Add initializer.
33301 (minus_zero): Likewise.
33302 (plus_infty): Likewise.
33303 (minus_infty): Likewise.
33304 (qnan_value): Likewise.
33305 (max_value): Likewise.
33306 (min_value): Likewise.
33307 (min_subnorm_value): Likewise.
33308 (initialize): Do not initialize those variables dynamically.
33310 2013-05-03 Roland McGrath <roland@hack.frob.com>
33312 * io/open.c (__open_2): Moved to ...
33313 * io/open_2.c: ... this new file.
33314 * io/open64.c (__open64_2): Moved to ...
33315 * io/open64_2.c: ... this new file.
33316 * io/openat.c (__openat_2): Moved to ...
33317 * io/openat_2.c: ... this new file.
33318 * io/openat64.c (__openat64_2): Moved to ...
33319 * io/openat64_2.c: ... this new file.
33320 * io/Makefile (routines): Add them.
33321 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
33322 * sysdeps/unix/sysv/linux/open_2.c: File removed.
33323 * sysdeps/unix/sysv/linux/open64_2.c: File removed.
33324 * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
33325 * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
33326 * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
33327 (__openat64): Add hidden_ver.
33328 * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
33329 * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
33331 * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
33332 Separately conditionalize setting of GLRO(dl_sysinfo) so
33333 that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
33334 as well, but the actual setting is only under [NEED_DL_SYSINFO].
33336 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33338 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
33339 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
33341 (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
33342 * sysdeps/unix/sysv/linux/powerpc/init-first.c
33343 (_libc_vdso_platform_setup): Add __vdso_time initialization.
33344 * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
33345 for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
33347 2013-05-03 Joseph Myers <joseph@codesourcery.com>
33349 * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
33350 test signgam value.
33352 * math/libm-test.inc (hypot_test): Do not use
33353 IGNORE_ZERO_INF_SIGN.
33355 2013-05-03 Andreas Jaeger <aj@suse.de>
33357 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
33359 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
33360 (PF_MAX): Adjust for VSOCK change.
33362 2013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33364 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33366 2013-05-02 Carlos O'Donell <carlos@redhat.com>
33369 * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
33370 * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
33371 * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
33373 2013-05-02 David S. Miller <davem@davemloft.net>
33375 * sysdeps/sparc/fpu/libm-test-ulps: Update.
33377 2013-05-01 Ondřej Bílka <neleai@seznam.cz>
33379 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
33381 2013-05-01 Roland McGrath <roland@hack.frob.com>
33383 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
33385 2013-05-01 Richard Smith <richard@metafoo.co.uk>
33388 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
33389 [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
33390 Use __attribute__ ((__gnu_inline__)).
33391 [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
33392 Don't use __attribute__ ((__gnu_inline__)).
33394 2013-05-01 Joseph Myers <joseph@codesourcery.com>
33397 * math/s_catan.c (__catan): Handle small real or imaginary part of
33398 input specially to avoid spurious underflow.
33399 * math/s_catanf.c (__catanf): Likewise.
33400 * math/s_catanh.c (__catanh): Likewise.
33401 * math/s_catanhf.c (__catanhf): Likewise.
33402 * math/s_catanhl.c (__catanhl): Likewise.
33403 * math/s_catanl.c (__catanl): Likewise.
33404 * math/libm-test.inc (catan_test): Add more tests.
33405 (catanh_test): Likewise.
33406 * sysdeps/i386/fpu/libm-test-ulps: Update.
33407 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33409 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33411 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33413 2013-04-30 Joseph Myers <joseph@codesourcery.com>
33416 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
33417 accurately for denominator in atan2.
33418 * math/s_catanf.c (__catanf): Likewise.
33419 * math/s_catanh.c (__catanh): Likewise.
33420 * math/s_catanhf.c (__catanhf): Likewise.
33421 * math/s_catanhl.c (__catanhl): Likewise.
33422 * math/s_catanl.c (__catanl): Likewise.
33423 * math/libm-test.inc (catan_test): Add more tests.
33424 (catanh_test): Likewise.
33425 * sysdeps/i386/fpu/libm-test-ulps: Update.
33426 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33428 2013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
33430 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
33432 * benchtests/Makefile (bench): Remove slow benchmarks.
33433 * benchtests/atan-inputs: Add slow benchmark inputs.
33434 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
33435 (BENCH_FUNC): Accept variant offset.
33437 * benchtests/bench-skeleton.c (main): Run benchmark for each
33439 * benchtests/cos-inputs: Add slow benchmark inputs.
33440 * benchtests/exp-inputs: Likewise.
33441 * benchtests/pow-inputs: Likewise.
33442 * benchtests/sin-inputs: Likewise.
33443 * benchtests/slowatan-inputs: Remove.
33444 * benchtests/slowatan.c: Remove.
33445 * benchtests/slowcos-inputs: Remove.
33446 * benchtests/slowcos.c: Remove.
33447 * benchtests/slowexp-inputs: Remove.
33448 * benchtests/slowexp.c: Remove.
33449 * benchtests/slowpow-inputs: Remove.
33450 * benchtests/slowpow.c: Remove.
33451 * benchtests/slowsin-inputs: Remove.
33452 * benchtests/slowsin.c: Remove.
33453 * benchtests/slowtan-inputs: Remove.
33454 * benchtests/slowtan.c: Remove.
33455 * benchtests/tan-inputs: Add slow benchmark inputs.
33456 * scripts/bench.pl: Parse comments and directives.
33458 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
33460 ($(objpfx)bench-%.c): Remove *-ITER.
33461 * benchtests/bench-modf.c: Remove definition of ITER.
33462 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
33463 (main): Loop for DURATION seconds instead of fixed number of
33465 * scripts/bench.pl: Don't expect iterations in parameters.
33467 2013-04-29 Roland McGrath <roland@hack.frob.com>
33469 * io/fchdir.c (__fchdir): Renamed from fchdir.
33470 (fchdir): Define as weak alias.
33472 2013-04-29 Joseph Myers <joseph@codesourcery.com>
33474 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
33475 (ERRNO_EDOM): Likewise.
33476 (ERRNO_ERANGE): Likewise.
33477 (noErrnoTests): New variable.
33478 (init_max_error): Set errno to 0.
33479 (test_single_errno): New function.
33480 (test_errno): Likewise.
33481 (check_float_internal): Call test_errno. Set errno to 0.
33482 (check_complex): Refer to errno tests in comment.
33483 (check_int): Call test_errno. Set errno to 0.
33484 (check_long): Likewise.
33485 (check_bool): Likewise.
33486 (check_longlong): Likewise.
33487 (cos_test): Use ERRNO_* flags for errno tests instead of
33489 (expm1_test): Likewise.
33490 (fmod_test): Likewise.
33491 (ilogb_test): Likewise.
33492 (lgamma_test): Likewise.
33493 (pow_test): Likewise.
33494 (remainder_test): Likewise.
33495 (sin_test): Likewise.
33496 (tan_test): Likewise.
33497 (yn_test): Likewise.
33498 (initialize): Set errno to 0.
33499 (main): Print number of errno tests.
33500 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
33502 2013-04-29 Andreas Jaeger <aj@suse.de>
33505 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
33509 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
33510 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
33514 * stdlib/random.c (__initstate): Return NULL if
33518 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
33519 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
33522 2013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33524 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33526 2013-04-29 Joseph Myers <joseph@codesourcery.com>
33528 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
33529 of individual tests.
33530 (casin_test): Likewise.
33531 (casinh_test): Likewise.
33533 2013-04-27 Joseph Myers <joseph@codesourcery.com>
33536 * math/s_catan.c (__catan): Handle arguments with large real or
33537 imaginary part separately without squaring.
33538 * math/s_catanf.c (__catanf): Likewise.
33539 * math/s_catanh.c (__catanh): Likewise.
33540 * math/s_catanhf.c (__catanhf): Likewise.
33541 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
33543 (__catanhl): Handle arguments with large real or imaginary part
33544 separately without squaring.
33545 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
33547 (__catanl): Handle arguments with large real or imaginary part
33548 separately without squaring.
33549 * math/libm-test.inc (catan_test): Add more tests.
33550 (catanh_test): Likewise.
33551 * sysdeps/i386/fpu/libm-test-ulps: Update.
33552 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33554 2013-04-27 Andreas Jaeger <aj@suse.de>
33557 * stdlib/stdlib.h: Update guards for qecvt.
33558 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
33561 2013-04-27 Allan McRae <allan@archlinux.org>
33563 * sysdeps/i386/fpu/libm-test-ulps: Update.
33565 2013-04-26 Joseph Myers <joseph@codesourcery.com>
33568 * math/s_catan.c: Include <float.h>.
33569 (__catan): Ensure underflow exception occurs for underflowed
33571 * math/s_catanf.c: Include <float.h>.
33572 (__catanf): Ensure underflow exception occurs for underflowed
33574 * math/s_catanh.c: Include <float.h>.
33575 (__catanh): Ensure underflow exception occurs for underflowed
33577 * math/s_catanhf.c: Include <float.h>.
33578 (__catanhf): Ensure underflow exception occurs for underflowed
33580 * math/s_catanhl.c: Include <float.h>.
33581 (__catanhl): Ensure underflow exception occurs for underflowed
33583 * math/s_catanl.c: Include <float.h>.
33584 (__catanl): Ensure underflow exception occurs for underflowed
33586 * math/libm-test.inc (catan_test): Add more tests.
33587 (catanh_test): Likewise.
33590 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
33591 underflowed result.
33592 * math/s_ccoshf.c (__ccoshf): Likewise.
33593 * math/s_ccoshl.c (__ccoshl): Likewise.
33594 * math/s_csin.c (__csin): Likewise.
33595 * math/s_csinf.c (__csinf): Likewise.
33596 * math/s_csinh.c (__csinh): Likewise.
33597 * math/s_csinhf.c (__csinhf): Likewise.
33598 * math/s_csinhl.c (__csinhl): Likewise.
33599 * math/s_csinl.c (__csinl): Likewise.
33600 * math/libm-test.inc (ccos_test): Add more tests.
33601 (ccosh_test): Likewise.
33602 (csin_test): Likewise.
33603 (csinh_test): Likewise.
33605 2013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33607 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
33608 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
33609 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
33610 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
33611 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
33612 powerpc/power5+/fpu folders.
33613 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
33616 2013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
33618 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
33620 2013-04-25 Joseph Myers <joseph@codesourcery.com>
33622 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
33623 additions to variable.
33624 [$(config-machine) = x86_64] (modules-names): Likewise.
33625 ($(objpfx)tst-audit3): Remove dependency.
33626 ($(objpfx)tst-audit3.out): Likewise.
33627 ($(objpfx)tst-audit4): Likewise.
33628 ($(objpfx)tst-audit4.out): Likewise.
33629 ($(objpfx)tst-audit5): Likewise.
33630 ($(objpfx)tst-audit5.out): Likewise.
33631 ($(objpfx)tst-audit6): Likewise.
33632 ($(objpfx)tst-audit6.out): Likewise.
33633 ($(objpfx)tst-audit7): Likewise.
33634 ($(objpfx)tst-audit7.out): Likewise.
33635 (tst-audit3-ENV): Remove variable.
33636 (tst-audit4-ENV): Likewise.
33637 (tst-audit5-ENV): Likewise.
33638 (tst-audit6-ENV): Likewise.
33639 (tst-audit7-ENV): Likewise.
33640 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
33641 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
33642 addition to variable.
33643 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
33644 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
33645 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
33646 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
33647 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
33648 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
33649 tst-audit3, tst-audit4 and tst-audit5.
33650 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
33651 tst-audit6 and tst-audit7.
33652 [$(subdir) = elf] (modules-names): Add audit modules for those
33654 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
33655 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
33656 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
33657 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
33658 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
33659 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
33660 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
33661 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
33662 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
33663 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
33664 [$(subdir) = elf] (tst-audit3-ENV): New variable.
33665 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
33666 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
33667 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
33668 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
33669 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
33671 [$(subdir) = elf && $(config-cflags-avx) = yes]
33672 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
33673 [$(subdir) = elf && $(config-cflags-avx) = yes]
33674 (CFLAGS-tst-auditmod4a.c): Likewise.
33675 [$(subdir) = elf && $(config-cflags-avx) = yes]
33676 (CFLAGS-tst-auditmod4b.c): Likewise.
33677 [$(subdir) = elf && $(config-cflags-avx) = yes]
33678 (CFLAGS-tst-auditmod6b.c): Likewise.
33679 [$(subdir) = elf && $(config-cflags-avx) = yes]
33680 (CFLAGS-tst-auditmod6c.c): Likewise.
33681 [$(subdir) = elf && $(config-cflags-avx) = yes]
33682 (CFLAGS-tst-auditmod7b.c): Likewise.
33683 * elf/tst-audit3.c: Move to ...
33684 * sysdeps/x86_64/tst-audit3.c: ... here.
33685 * elf/tst-audit4.c: Move to ...
33686 * sysdeps/x86_64/tst-audit4.c: ... here.
33687 * elf/tst-audit5.c: Move to ...
33688 * sysdeps/x86_64/tst-audit5.c: ... here.
33689 * elf/tst-audit6.c: Move to ...
33690 * sysdeps/x86_64/tst-audit6.c: ... here.
33691 * elf/tst-audit7.c: Move to ...
33692 * sysdeps/x86_64/tst-audit7.c: ... here.
33693 * elf/tst-auditmod3a.c: Move to ...
33694 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
33695 * elf/tst-auditmod3b.c: Move to ...
33696 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
33697 * elf/tst-auditmod4a.c: Move to ...
33698 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
33699 * elf/tst-auditmod4b.c: Move to ...
33700 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
33701 * elf/tst-auditmod5a.c: Move to ...
33702 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
33703 * elf/tst-auditmod5b.c: Move to ...
33704 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
33705 * elf/tst-auditmod6a.c: Move to ...
33706 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
33707 * elf/tst-auditmod6b.c: Move to ...
33708 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
33709 * elf/tst-auditmod6c.c: Move to ...
33710 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
33711 * elf/tst-auditmod7a.c: Move to ...
33712 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
33713 * elf/tst-auditmod7b.c: Move to ...
33714 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
33716 2013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
33719 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
33720 define unconditionally.
33721 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
33722 define unconditionally.
33723 (INT8_C, INT16_C, etc.): Likewise.
33725 2013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
33727 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
33728 __ehdr_start with hidden visibility.
33730 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
33732 2013-04-24 Carlos O'Donell <carlos@redhat.com>
33734 * math/libm-test.inc (cos_test): Use accurate hex constants.
33735 (sincost_test): Likewise.
33737 2013-04-24 Joseph Myers <joseph@codesourcery.com>
33739 * math/libm-test.inc (catan_test): Add more tests.
33740 (catanh_test): Likewise.
33742 * math/s_catanf.c (__catanf): Use suffixed floating-point
33744 * math/s_catanhf.c (__catanhf): Likewise.
33745 * math/s_catanhl.c (__catanhl): Likewise.
33746 * math/s_catanl.c (__catanl): Likewise.
33749 * math/s_catan.c (__catan): Calculate imaginary part of result
33750 with log1p not log unless computing log of number close to 0.
33751 * math/s_catanf.c (__catanf): Likewise.
33752 * math/s_catanl.c (__catanl): Likewise.
33753 * math/s_catanh.c (__catanh): Calculate real part of result with
33754 log1p not log unless computing log of number close to 0.
33755 * math/s_catanhf.c (__catanhf): Likewise.
33756 * math/s_catanhl.c (__catanhl): Likewise.
33757 * math/libm-test.inc (catan_test): Add more tests.
33758 (catanh_test): Likewise.
33759 * sysdeps/i386/fpu/libm-test-ulps: Update.
33760 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33762 2013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
33764 * benchtests/Makefile: Mention files in which fast and slow
33765 paths of math functions are implemented.
33767 2013-04-23 Roland McGrath <roland@hack.frob.com>
33769 * sysdeps/posix/timespec_get.c: New file.
33771 2013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33773 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
33775 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
33777 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
33778 powerpc/power5/fpu folders.
33779 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
33780 * benchtests/Makefile: Add modf testcase.
33781 * benchtests/bench-modf.c: New file: Benchmark test for mo
33783 2013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
33786 * time/Makefile (tests): Add tst-strptime-whitespace.
33787 * time/strptime_l.c (get_number): Use ISSPACE.
33788 (__strptime_internal): Likewise.
33789 * time/tst-strptime-whitespace.c: New test case.
33791 2013-04-23 Andreas Schwab <schwab@linux-m68k.org>
33793 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
33795 (_nss_files_init): Set it here.
33797 2013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
33799 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
33800 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
33803 2013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
33805 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
33807 2013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
33809 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
33812 2013-04-21 David S. Miller <davem@davemloft.net>
33814 * po/ru.po: Update Russion translation from translation project.
33816 2013-04-17 Adam Conrad <adconrad@0c3.net>
33818 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
33821 2013-04-17 Carlos O'Donell <carlos@redhat.com>
33823 * configure.in: Remove i386 configure warning. Remove i386 case.
33824 * configure: Regenerate.
33825 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
33826 Add example to error message.
33827 * sysdeps/i386/configure: Regenerate.
33829 2013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
33831 * benchtests/Makefile (bench): Add cos, tan, slowcos and
33833 * benchtests/cos-inputs: New file.
33834 * benchtests/slowcos-inputs: New file.
33835 * benchtests/slowcos.c: New file.
33836 * benchtests/slowtan-inputs: New file.
33837 * benchtests/slowtan.c: New file.
33838 * benchtests/tan-inputs: New file.
33840 2013-04-16 Roland McGrath <roland@hack.frob.com>
33842 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
33845 2013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
33847 * benchtests/Makefile: Include cppflags-iterator.mk to add
33848 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
33850 * Makefile.in (bench-clean): New target.
33851 * benchtests/Makefile (bench-clean): Likewise.
33853 2013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
33855 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
33857 2013-04-15 Thomas Schwinge <thomas@codesourcery.com>
33859 * stdio-common/tstdiomisc.c: Fix coding-style violation.
33861 2013-04-15 Andreas Schwab <schwab@suse.de>
33863 * nscd/grpcache.c (cache_addgr): Properly check for short write.
33864 * nscd/initgrcache.c (addinitgroupsX): Likewise.
33865 * nscd/pwdcache.c (cache_addpw): Likewise.
33866 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
33869 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
33871 * benchtests/Makefile (bench): Write all output to
33872 bench-out.tmp together.
33874 2013-04-15 Andreas Schwab <schwab@suse.de>
33876 * nscd/nscd.c (main): Don't fork again after closing files.
33878 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
33880 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
33882 * benchtests/Rules (bench-deps): Collect dependencies into a
33883 single variable. Add Makefile to dependencies.
33884 ($(objpfx)bench-%.c): Depend on bench-deps.
33886 2013-04-12 Roland McGrath <roland@hack.frob.com>
33887 Xavier Roche <roche+kml2@exalead.com>
33890 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
33891 just that it's a file descriptor.
33892 * manual/llio.texi (Synchronizing AIO Operations): Update description
33893 for EBADF error from aio_fsync.
33895 2013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
33897 * Rules (bench): Move target definition...
33898 * benchtests/Makefile: ... here.
33900 2013-04-11 Carlos O'Donell <carlos@redhat.com>
33902 * math/libm-test.inc (cos_test): Fix PI/2 test.
33903 (sincos_test): Likewise.
33904 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
33905 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
33907 2013-04-11 Andreas Schwab <schwab@suse.de>
33910 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
33911 accept exponent character only when digits were seen.
33912 * stdio-common/Makefile (tests): Add bug26.
33913 * stdio-common/bug26.c: New file.
33916 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
33919 2013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
33921 * Makeconfig (rtld-prefix): Define built linker prefix.
33922 * Rules (run-bench): Use it.
33923 * math/Makefile (run-regen-ulps): Likewise.
33925 * Rules (bench): Remove eval.
33927 2013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
33928 Roland McGrath <roland@hack.frob.com>
33929 Ondrej Bilka <neleai@seznam.cz>
33932 * time/getdate.c: Include ctype.h and alloca.h.
33933 (__getdate_r): Trim leading and trailing spaces of input.
33934 * time/tst-getdate.c (tests): Add tests with leading and
33937 2013-04-08 Roland McGrath <roland@hack.frob.com>
33940 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
33941 when computing value.
33943 2013-04-06 Carlos O'Donell <carlos@redhat.com>
33945 * math/README.libm-test (How can I generate "libm-test-ulps"?):
33946 Use testrun.sh to run libm tests.
33949 * elf/dl-open.c (dl_open_worker): memset all of seen array.
33951 2013-04-06 Marko Myllynen <myllynen@redhat.com>
33954 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
33956 2013-04-06 Carlos O'Donell <carlos@redhat.com>
33958 * Makefile.in (regen-ulps): New target.
33959 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
33960 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
33961 [ifneq (no,$(PERL)] (regen-ulps): New target.
33962 [ifeq (no,$(PERL)] (regen-ulps): New target.
33963 * math/libm-test.inc (ulps_file_name): Define.
33964 (output_dir): New variable.
33965 (options): Add "output-dir" option.
33966 (parse_opt): Handle 'o' case.
33967 (main): If output_dir is non-NULL use it as a prefix
33969 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
33971 2013-04-06 Carlos O'Donell <carlos@redhat.com>
33973 [BZ #10060, #10062]
33974 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
33975 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
33976 fail configure if __sync_val_compare_and_swap is not inlined.
33977 * sysdeps/i386/configure: Regenerate.
33978 * configure.in: Build for i686 when configured for i386.
33979 * configure: Regenerate.
33980 * README: Remove i386 reference.
33982 2013-04-06 Carlos O'Donell <carlos@redhat.com>
33984 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
33985 * sysdeps/s390/s390-64/sysdep.h: Likewise.
33987 2013-04-05 Thomas Schwinge <thomas@codesourcery.com>
33989 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
33990 (lmsnanval): New variables.
33991 (F): Add conversion tests.
33992 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
33993 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
33995 * stdio-common/tstdiomisc.c (F): Properly collect individual
33998 [BZ #14686, #15336]
33999 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
34000 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
34001 Instead, use input NaN values or generate a qNaN by arithmetic
34002 operation. Also fix bugs to comply with the standard.
34003 * math/libm-test.inc (remainder_test): Add more tests.
34005 [BZ #15335, #15342]
34006 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
34007 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
34008 input NaN values or generate a qNaN by arithmetic operation.
34010 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
34013 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
34016 2013-04-03 Joseph Myers <joseph@codesourcery.com>
34019 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
34020 underflowed result.
34021 * math/s_cexpf.c (__cexpf): Likewise.
34022 * math/s_cexpl.c (__cexpl): Likewise.
34023 * math/libm-test.inc (cexp_test): Add more tests.
34025 2013-04-03 Andreas Schwab <schwab@suse.de>
34028 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
34029 order arrays from heap if bigger than alloca cutoff.
34031 2013-04-03 Thomas Schwinge <thomas@codesourcery.com>
34033 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
34034 (SNAN_TESTS_double): Refer to GCC PR56831.
34035 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
34038 2013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
34040 * Rules (bench): Move bench.out after the run is complete.
34042 * Rules (bench): Echo currently running benchmark.
34044 * benchtests/Makefile (bench): Add atan and slowatan.
34045 * benchtests/atan-inputs: New file.
34046 * benchtests/slowatan-inputs: New file.
34047 * benchtests/slowatan.c: New file.
34049 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
34050 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
34054 * sysdeps/unix/sysv/linux/kernel-features.h
34055 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
34056 __ASSUME_XFS_RESTRICTED_CHOWN.
34057 * sysdeps/unix/sysv/linux/pathconf.c
34058 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
34059 Save and restore errno.
34061 2013-04-02 Joseph Myers <joseph@codesourcery.com>
34064 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
34065 arguments using __kernel_casinh.
34066 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
34067 arguments using __kernel_casinhf.
34068 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
34069 arguments using __kernel_casinhl.
34070 * math/libm-test.inc (cacosh_test): Add more tests.
34071 * sysdeps/i386/fpu/libm-test-ulps: Update.
34072 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34074 2013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
34076 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
34077 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
34079 * bench/Makefile (bench): Add sin and slowsin.
34080 * benchtests/sin-inputs: New file.
34081 * benchtests/slowsin-inputs: New file.
34082 * benchtests/slowsin.c: New file.
34084 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
34085 (bench): Add slowexp and slowpow.
34086 (exp-ITER): Increase iterations.
34087 (pow-ITER): Likewise.
34088 * benchtests/exp-inputs: Change input.
34089 * benchtests/pow-inputs: Likewise.
34090 * benchtests/slowexp-inputs: New file.
34091 * benchtests/slowexp.c: New file.
34092 * benchtests/slowpow-inputs: New file.
34093 * benchtests/slowpow.c: New file.
34095 2013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
34097 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
34099 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
34100 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
34101 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
34102 * benchtests/Makefile: Add rint benchtest.
34103 * benchtests/rint-inputs: Input for rint benchtest.
34105 2013-04-02 Thomas Schwinge <thomas@codesourcery.com>
34107 * Versions.def (libm): Add GLIBC_2.18.
34108 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
34109 hidden libm prototypes.
34110 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
34111 * math/Makefile (libm-calls): Add s_issignaling.
34112 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
34113 __issignalingf, __issignalingl. Adjust all libm.abilist files.
34114 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
34116 * math/math.h [__USE_GNU] (issignaling): New macro.
34117 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
34118 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
34119 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
34120 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
34121 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
34122 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
34123 * manual/arith.texi (issignaling): New section.
34124 * manual/libm-err-tab.pl (@all_functions): Update comment.
34125 * math/gen-libm-test.pl (parse_args): Apply special handling for
34127 * math/libm-test.inc (print_float, issignaling_test): New
34129 (check_float_internal): Add issignaling checks.
34130 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
34131 default definition.
34132 * sysdeps/powerpc/math-tests.h: New file.
34133 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
34135 * math/test-snan.c (TEST_FUNC): Likewise.
34137 2013-03-30 David S. Miller <davem@davemloft.net>
34139 * po/de.po: Update from translation team.
34141 2013-03-30 Joseph Myers <joseph@codesourcery.com>
34144 * math/k_casinh.c (__kernel_casinh): Handle arguments with
34145 imaginary part less than 1.0 and real part less than 0.5
34147 * math/k_casinhf.c (__kernel_casinhf): Likewise.
34148 * math/k_casinhl.c (__kernel_casinhl): Likewise.
34149 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
34150 (cacos_test): Add more tests.
34151 (casin_test): Likewise.
34152 (casinh_test): Likewise.
34153 * sysdeps/i386/fpu/libm-test-ulps: Update.
34154 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34156 2013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
34158 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
34159 ONE with its value.
34161 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
34162 (__pow_mp): Replace ONE and MONE with their values.
34163 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
34164 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
34165 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
34166 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
34167 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
34168 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
34170 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
34172 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
34173 (__pow_mp): Replace ZERO and MZERO with their values.
34174 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
34175 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
34176 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
34177 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
34178 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
34179 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
34182 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
34184 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
34186 2013-03-28 Roland McGrath <roland@hack.frob.com>
34188 * include/stdlib.h [!SHARED] (__call_tls_dtors):
34189 Declare with __attribute__ ((weak)).
34190 * stdlib/exit.c (__libc_atexit) [!SHARED]:
34191 Call __call_tls_dtors only if it's not NULL.
34193 2013-03-28 Roland McGrath <roland@hack.frob.com>
34195 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
34196 didn't do it already, then set _dl_phdr and _dl_phnum based on the
34197 magic __ehdr_start linker symbol if it's defined.
34198 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
34199 them up here if it was already done.
34201 * elf/dl-support.c (_dl_phdr): Make pointer to const.
34202 (_dl_aux_init): Use const in cast when setting it.
34203 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
34204 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
34205 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
34207 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
34209 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
34210 * csu/libc-tls.c: Nor here.
34211 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
34213 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
34214 (__libc_message): Never call vsyslog.
34216 2013-03-28 Alan Modra <amodra@gmail.com>
34218 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
34220 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
34223 2013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
34226 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
34228 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34230 2013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
34233 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
34234 Don't add gid passed as argument.
34236 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
34238 2013-03-27 Joseph Myers <joseph@codesourcery.com>
34241 * math/k_casinh.c (__kernel_casinh): Handle arguments with
34242 imaginary part between 1.0 and 1.5 and real part less than 0.5
34244 * math/k_casinhf.c (__kernel_casinhf): Likewise.
34245 * math/k_casinhl.c (__kernel_casinhl): Likewise.
34246 * math/libm-test.inc (cacos_test): Add more tests.
34247 (casin_test): Likewise.
34248 (casinh_test): Likewise.
34249 * sysdeps/i386/fpu/libm-test-ulps: Update.
34250 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34252 2013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
34254 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
34257 (denorm): Likewise.
34258 (__dbl_mp): Likewise.
34259 (add_magnitudes): Likewise.
34260 (sub_magnitudes): Likewise.
34268 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
34270 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
34271 (__dubcos): Likewise.
34272 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
34273 (__ieee754_acos): Likewise.
34274 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
34275 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
34276 (__exp1): Likewise.
34277 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
34278 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
34280 (my_log2): Likewise.
34281 (checkint): Likewise.
34282 * sysdeps/ieee754/dbl-64/e_remainder.c
34283 (__ieee754_remainder): Likewise.
34284 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
34285 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
34286 (bsloww): Likewise.
34287 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
34289 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
34290 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
34291 MANTISSA_STORE_T to store computations on mantissa. Use
34292 macros for rounding and division.
34293 (denorm): Likewise.
34294 (__dbl_mp): Likewise.
34295 (add_magnitudes): Likewise.
34296 (sub_magnitudes): Likewise.
34299 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
34300 powers of two in terms of TWOPOW macro.
34301 (mp_no): Make type of mantissa as MANTISSA_T.
34302 [!RADIXI]: Define RADIXI.
34303 [!TWO52]: Define TWO52.
34304 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
34306 2013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
34308 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
34309 llroundl symbol when building for PPC32.
34311 2013-03-24 Mark H Weaver <mhw@netris.org>
34313 * manual/arith.texi (Normalization Functions): Fix prototypes for
34314 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
34316 2013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
34319 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
34320 high value to check if expl overflow.
34321 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
34322 to check for underflow and overflow.
34323 * math/libm-test.inc: Add exp test.
34325 2013-03-21 Dmitry V. Levin <ldv@altlinux.org>
34328 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
34331 2013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
34333 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
34336 2013-03-21 Thomas Schwinge <thomas@codesourcery.com>
34338 * math/gen-libm-test.pl (parse_args, special_functions): Properly
34339 wrap blocks consisting of several statements.
34341 * sysdeps/generic/math-tests.h: New file.
34342 * sysdeps/i386/fpu/math-tests.h: Likewise.
34343 * math/test-snan.c: Include it.
34344 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
34346 2013-03-21 Joseph Myers <joseph@codesourcery.com>
34349 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
34350 (__ieee754_j0l): Do not improve calculations using cos of twice
34351 input for inputs above LDBL_MAX / 2.0L.
34352 (__ieee754_y0l): Likewise.
34353 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
34354 (__ieee754_j1l): Do not improve calculations using cos of twice
34355 input for inputs above LDBL_MAX / 2.0L.
34356 (__ieee754_y1l): Likewise.
34357 * math/libm-test.inc (j0_test): Add another test.
34358 (j1_test): Likewise.
34359 (y0_test): Likewise.
34360 (y1_test): Likewise.
34361 * sysdeps/i386/fpu/libm-test-ulps: Update.
34363 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
34365 * Rules ($(objpfx)bench-%.c): Include code from a C source
34368 2013-03-21 Joseph Myers <joseph@codesourcery.com>
34371 * math/k_casinh.c (__kernel_casinh): Handle arguments with
34372 imaginary part 1.0 and real part less than 0.5 specially.
34373 * math/k_casinhf.c (__kernel_casinhf): Likewise.
34374 * math/k_casinhl.c (__kernel_casinhl): Likewise.
34375 * math/libm-test.inc (cacos_test): Add more tests.
34376 (casin_test): Likewise.
34377 (casinh_test): Likewise.
34378 * sysdeps/i386/fpu/libm-test-ulps: Update.
34379 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34381 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
34383 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
34384 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
34386 2013-03-20 Joseph Myers <joseph@codesourcery.com>
34388 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
34389 * config.make.in (config-cflags-sse4): Remove variable.
34390 (config-cflags-avx): Likewise.
34391 (config-cflags-sse2avx): Likewise.
34392 (config-cflags-novzeroupper): Likewise.
34393 (config-asflags-i686): Likewise.
34394 (have-mfma4): Likewise.
34395 (have-as-vis3): Likewise.
34397 * configure.in (MIG): Do not AC_SUBST.
34398 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
34399 (libc_cv_cc_sse4): Do not AC_SUBST.
34400 (libc_cv_cc_avx): Likewise.
34401 (libc_cv_cc_sse2avx): Likewise.
34402 (libc_cv_cc_novzeroupper): Likewise.
34403 (libc_cv_cc_fma4): Likewise.
34404 (libc_cv_as_i686): Likewise.
34405 (libc_cv_sparc_as_vis3): Likewise.
34406 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
34408 (config-asflags-i686): Likewise.
34409 (config-cflags-avx): Likewise.
34410 (config-cflags-sse2avx): Likewise.
34411 (have-mfma4): Likewise.
34412 (config-cflags-novzeroupper): Likewise.
34413 * sysdeps/mach/configure.in (MIG): Likewise.
34414 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
34415 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
34417 (config-cflags-avx): Likewise.
34418 (config-cflags-sse2avx): Likewise.
34419 (have-mfma4): Likewise.
34420 (config-cflags-novzeroupper): Likewise.
34421 * configure: Regenerated.
34422 * sysdeps/i386/configure: Likewise.
34423 * sysdeps/mach/configure: Likewise.
34424 * sysdeps/sparc/configure: Likewise.
34425 * sysdeps/x86_64/configure: Likewise.
34427 2013-03-20 Roland McGrath <roland@hack.frob.com>
34430 * locale/programs/localedef.c (options): Put N_ translation marker
34431 on argument names, not just descriptions.
34433 2013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
34435 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
34437 2013-03-20 Ondřej Bílka <neleai@seznam.cz>
34440 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
34442 2013-03-19 Roland McGrath <roland@hack.frob.com>
34444 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
34445 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
34446 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
34447 [!BEFORE_ABORT] (before_abort): New function.
34448 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
34449 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
34450 (writev_for_fatal): New function.
34451 (WRITEV_FOR_FATAL): New macro; call that.
34452 (backtrace_and_maps): New function.
34453 (BEFORE_ABORT): New macro; call that.
34454 (struct str_list): Type removed.
34455 (__libc_message, __libc_fatal): Functions removed.
34456 Include <sysdeps/posix/libc_fatal.c> instead.
34458 2013-03-19 Joseph Myers <joseph@codesourcery.com>
34460 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
34462 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
34465 2013-03-19 Andreas Schwab <schwab@suse.de>
34467 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
34468 * sysdeps/gnu/configure: Regenerate.
34470 * configure.in: Substitute libc_cv_rtlddir.
34471 * configure: Regenerate.
34472 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
34473 * Makeconfig (rtlddir, inst_rtlddir): New variables.
34474 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
34475 * elf/Makefile (install-others, CFLAGS-interp.c)
34476 (ldso_install, common-ldd-rewrite): Likewise.
34477 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
34478 $(inst_slibdir)/$(rtld-installed-name).
34479 * scripts/rellns-sh: Add -p option.
34480 * Makerules (make-shlib-link): Use rellns-sh to get relative name
34483 2013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
34485 * manual/nptl.texi: Renamed to ...
34486 * manual/threads.texi: ... this.
34487 * manual/Makefile (chapters): Update.
34489 2013-03-18 Roland McGrath <roland@hack.frob.com>
34492 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
34493 on argument names, not just descriptions.
34494 * malloc/memusagestat.c (options): Likewise.
34495 * nss/getent.c (options): Likewise.
34497 2013-03-18 Benno Schulenberg <bensberg@justemail.net>
34500 * iconv/iconv_prog.c (options): Put N_ translation marker
34501 on argument names, not just descriptions.
34502 * iconv/iconvconfig.c (options): Likewise.
34504 2013-03-18 Ondrej Bilka <neleai@seznam.cz>
34506 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
34507 implementation which is faster on all x86_64 architectures.
34508 Tested on AMD, Intel Nehalem, SNB, IVB.
34509 * sysdeps/x86_64/strnlen.S: Likewise.
34511 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
34512 Remove all multiarch strlen and strnlen versions.
34513 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
34514 Remove strlen and strnlen related parts.
34516 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
34517 Inline strlen part.
34518 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
34520 * sysdeps/x86_64/multiarch/strlen.S: Remove.
34521 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
34522 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
34523 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
34524 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
34525 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
34527 2013-03-17 Carlos O'Donell <carlos@redhat.com>
34529 * manual/memory.texi (Malloc Tunable Parameters):
34530 Sort parameters alphabetically. Add comments for missing entries.
34532 2013-03-17 David S. Miller <davem@davemloft.net>
34534 * sysdeps/sparc/fpu/libm-test-ulps: Update.
34536 2013-03-16 Joseph Myers <joseph@codesourcery.com>
34539 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
34540 for arguments at most half maximum finite value.
34541 * math/libm-test.inc (j0_test): Add more tests.
34542 (j1_test): Likewise.
34543 (y0_test): Likewise.
34544 (y1_test): Likewise.
34545 * sysdeps/i386/fpu/libm-test-ulps: Update.
34546 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34549 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
34550 1 / x and functions P and Q for arguments above 0x1p256L.
34551 (__ieee754_y0l): Likewise.
34552 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
34553 (__ieee754_y1l): Likewise.
34554 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
34555 (j1_test): Likewise.
34556 (y0_test): Likewise.
34557 (y1_test): Likewise.
34559 2013-03-16 Thomas Schwinge <thomas@codesourcery.com>
34561 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
34564 2013-03-15 Roland McGrath <roland@hack.frob.com>
34566 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
34567 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
34568 zero since it's initialized to EXEC_PAGESIZE.
34570 * sysdeps/unix/sysv/linux/ldsodefs.h
34571 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
34572 * sysdeps/generic/ldsodefs.h: ... here.
34574 2013-03-15 Thomas Schwinge <thomas@codesourcery.com>
34576 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
34578 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
34580 * math/test-snan.c: Renamed from
34581 sysdeps/powerpc/fpu/test-powerpc-snan.c.
34582 * math/Makefile (tests): Add test-snan.
34583 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
34586 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
34587 SUFFIX. Initialize qNaN_var with __builtin_nan family of
34589 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
34590 __builtin_nan family of functions.
34591 * math/libm-test.inc (initialize): Initialize qnan_value with
34592 __builtin_nan family of functions.
34593 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
34595 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
34597 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
34598 storage class. Initialize qNaN_var and sNaN_var with
34599 __builtin_nan and __builtin_nans families of functions,
34602 * math/libm-test.inc (acosh_test): Also test with qNaN input.
34603 (sqrt_test): Remove duplicate test with qNaN input.
34604 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
34605 (round_test, signbit_test, significand_test): Note missing +/-Inf
34606 as well as qNaN tests.
34608 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
34609 qNaN_var. Fix a few strings, too.
34610 * math/libm-test.inc (nan_value): Rename to qnan_value.
34611 * math/gen-libm-test.pl (%beautify): Adjust to that.
34612 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
34613 * math/test-misc.c (main): Likewise.
34614 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
34615 to __qnan_bytes, and __qnan_union, respectively.
34616 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
34618 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
34619 and lqnanval, respectively.
34620 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
34621 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
34622 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
34623 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
34625 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
34626 * math/test-misc.c (main) [__x86_64__]: Enable test for long
34629 * math/test-misc.c (main): Fix copy'n'pastos.
34630 * misc/tst-efgcvt.c (special): Likewise.
34632 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
34633 Remove declarations.
34635 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
34637 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
34638 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
34639 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
34640 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
34642 2013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
34644 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
34645 macro to return vdso values correctly in IFUNC implementations.
34646 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
34647 Optimization by using IFUNC.
34649 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
34650 Richard Henderson <rth@redhat.com>
34651 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
34653 * Makefile.in (bench): New target.
34654 * NEWS: Mention the benchmark framework.
34655 * Rules (bench): Likewise.
34656 (binaries-bench): Generate binaries for functions to
34658 * benchtests/Makefile: New makefile for benchmark tests.
34659 * benchtests/bench-skeleton.c: New skeleton file for benchmark
34661 * benchtests/exp-inputs: New input file for EXP function.
34662 * benchtests/pow-inputs: New input file for POW function.
34663 * scripts/bench.pl: New script to generate source files for
34664 benchmark programs.
34666 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
34668 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
34669 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
34670 computations on mantissa. Use macros for rounding and
34672 (denorm): Likewise.
34673 (__dbl_mp): Likewise.
34674 (add_magnitudes): Likewise.
34675 (sub_magnitudes): Likewise.
34678 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
34679 powers of two in terms of TWOPOW macro.
34680 (mp_no): Make type of mantissa as MANTISSA_T.
34681 [!RADIXI]: Define RADIXI.
34682 [!TWO52]: Define TWO52.
34683 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
34685 * manual/nptl.texi (cindex): Modify threads to pthreads.
34687 2013-03-15 Joseph Myers <joseph@codesourcery.com>
34689 * sysdeps/x86_64/preconfigure: Regenerated.
34691 2013-03-14 Joseph Myers <joseph@codesourcery.com>
34694 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
34696 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
34697 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
34699 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
34700 * math/libm-test.inc (j0_test): Do not allow one spurious
34701 underflow exception.
34702 (y1_test): Likewise.
34704 2013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
34706 * manual/Makefile (chapters): Add nptl.
34707 * manual/debug.texi (Debugging Support): Add link to Threads
34709 * manual/nptl.texi: New file.
34711 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
34713 2013-03-14 Petr Baudis <pasky@ucw.cz>
34715 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
34716 for non-NULL pointer before the memory validity test. Pointed
34717 out by Holger Brunck <holger.brunck@keymile.com>.
34719 2013-03-13 Andreas Schwab <schwab@suse.de>
34721 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
34724 2013-03-13 Joseph Myers <joseph@codesourcery.com>
34726 * timezone/zic.c: Update from tzcode 2013b.
34728 2013-03-12 Carlos O'Donell <carlos@redhat.com>
34730 * manual/install.texi (Configuring and compiling):
34731 Mention i686 and i586.
34732 * INSTALL: Regenerate.
34734 2013-03-12 Roland McGrath <roland@hack.frob.com>
34736 * sysdeps/init_array/elf-init.c: New file.
34738 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
34739 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
34741 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
34742 __gmon_start__ as global, but as static with a .preinit_array pointer.
34743 * sysdeps/init_array/gmon-start.c: New file. Use that.
34744 * sysdeps/init_array/crti.S: New file, empty except for comments.
34745 * sysdeps/init_array/crtn.S: Likewise.
34747 2013-03-11 Ondřej Bílka <neleai@seznam.cz>
34749 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
34751 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
34752 Remove Prefer_SSE_for_memop.
34753 * sysdeps/x86_64/multiarch/init-arch.h: Remove
34754 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
34755 HAS_PREFER_SSE_FOR_MEMOP.
34756 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
34758 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
34759 Remove bzero, memset ifunc support.
34760 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
34761 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
34762 * sysdeps/x86_64/multiarch/memset.S: Likewise.
34763 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
34765 2013-03-11 Andreas Schwab <schwab@suse.de>
34768 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
34770 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
34771 (GLIBC_2.16): Remove pthread_atfork.
34773 2013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
34775 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
34776 (ptestcases.h): Likewise.
34778 2013-03-08 Roland McGrath <roland@hack.frob.com>
34780 * Makeconfig ($(common-objpfx)config.status): Depend on
34781 sysdeps/*/preconfigure{,.in} too.
34783 2013-03-08 Joseph Myers <joseph@codesourcery.com>
34785 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
34786 (__free_hook): Use void * instead of __malloc_ptr_t.
34787 (__malloc_hook): Likewise.
34788 (__realloc_hook): Likewise.
34789 (__memalign_hook): Likewise.
34790 (__after_morecore_hook): Likewise.
34791 * malloc/arena.c (save_malloc_hook): Likewise.
34792 (save_free_hook): Likewise.
34793 * malloc/hooks.c (malloc_hook_ini): Likewise.
34794 (realloc_hook_ini): Likewise.
34795 (memalign_hook_ini): Likewise.
34796 * malloc/malloc.c (malloc_hook_ini): Likewise.
34797 (realloc_hook_ini): Likewise.
34798 (memalign_hook_ini): Likewise.
34799 (__free_hook): Likewise.
34800 (__malloc_hook): Likewise.
34801 (__realloc_hook): Likewise.
34802 (__memalign_hook): Likewise.
34803 (__libc_malloc): Likewise.
34804 (__libc_free): Likewise.
34805 (__libc_realloc): Likewise.
34806 (__libc_memalign): Likewise.
34807 (__libc_valloc): Likewise.
34808 (__libc_pvalloc): Likewise.
34809 (__libc_calloc): Likewise.
34810 (__posix_memalign): Likewise.
34811 * malloc/morecore.c (__sbrk): Likewise.
34812 (__default_morecore): Likewise.
34814 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
34816 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
34817 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
34818 __malloc_ptrdiff_t.
34820 * malloc/malloc.h (__malloc_size_t): Remove macro.
34821 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
34823 (old_memalign_hook): Likewise.
34824 (old_realloc_hook): Likewise.
34825 (struct hdr): Likewise.
34827 (mallochook): Likewise.
34828 (memalignhook): Likewise.
34829 (reallochook): Likewise.
34830 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
34831 (tr_old_realloc_hook): Likewise.
34832 (tr_old_memalign_hook): Likewise.
34833 (tr_mallochook): Likewise.
34834 (tr_reallochook): Likewise.
34835 (tr_memalignhook): Likewise.
34837 2013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
34839 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
34840 default_ldbl_pack and using as default implementation.
34841 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
34843 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
34844 redundant definition.
34845 (ldbl_insert_mantissa): Likewise.
34846 (ldbl_canonicalize): Likewise.
34847 (ldbl_nearbyint): Likewise.
34848 (ldbl_pack): Rename to ldbl_pack_ppc.
34849 (ldbl_unpack): Rename to ldbl_unpack_ppc.
34850 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
34851 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
34853 2013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
34855 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
34856 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
34857 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
34858 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
34859 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
34860 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
34861 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
34862 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
34864 2013-03-07 Andreas Jaeger <aj@suse.de>
34866 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
34869 2013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
34871 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
34872 Include mpa.h and declare __MPEXP.
34873 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
34874 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
34875 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
34876 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
34877 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
34878 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
34879 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
34881 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
34882 (__slowpow): Use long double EXPL and LOGL functions to
34884 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
34885 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
34886 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
34887 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
34888 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
34889 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
34891 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
34892 intermediate variable to calculate exponent.
34894 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
34898 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
34899 [!NO__SQR]: Define __sqr.
34900 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
34901 and NO__SQR. Remove all code except __mul and __sqr. Include
34902 sysdeps/ieee754/dbl-64/mpa.c.
34903 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
34906 * posix/Makefile (tests): Add tst-pathconf.
34907 * posix/tst-pathconf.c: New test case.
34908 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
34910 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
34912 2013-03-06 Patsy Franklin <pfrankli@redhat.com>
34914 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
34916 2013-03-06 Andreas Jaeger <aj@suse.de>
34918 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
34919 definition via __MAP_ANONYMOUS.
34921 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
34922 it's not part of Linux headers.
34924 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
34925 (MAP_HUGE_MASK): Define.
34927 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
34929 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
34930 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
34932 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
34933 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
34935 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
34936 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
34938 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
34940 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
34941 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
34942 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
34943 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
34944 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
34945 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
34947 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
34950 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
34951 Handle f2fs and efivarfs.
34953 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
34956 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
34957 (EFIVARFS_MAGIC): Add.
34958 (F2FS_LINK_MAX): Add.
34960 2013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
34962 * stdio-common/vfprintf.c: Replace __builtin_expect with
34965 2013-03-06 Joseph Myers <joseph@codesourcery.com>
34968 * sysdeps/generic/bp-sym.h: Remove file.
34969 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
34970 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
34971 <bp-sym.h> and <bp-asm.h>.
34972 (__longjmp): Don't use BP_SYM.
34973 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
34975 (memcpy): Don't use BP_SYM.
34976 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
34977 <bp-sym.h> and <bp-asm.h>.
34978 (memcpy): Don't use BP_SYM.
34979 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
34981 (memcpy): Don't use BP_SYM.
34982 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
34984 (memset): Don't use BP_SYM.
34985 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
34986 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
34987 (__bzero): Don't use BP_SYM.
34988 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
34989 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
34990 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
34991 <bp-sym.h> and <bp-asm.h>.
34992 (memcmp): Don't use BP_SYM. Remove comment about bounded
34994 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
34995 <bp-sym.h> and <bp-asm.h>.
34996 (memcpy): Don't use BP_SYM.
34997 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
34998 <bp-sym.h> and <bp-asm.h>.
34999 (memset): Don't use BP_SYM.
35000 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
35001 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
35002 (__bzero): Don't use BP_SYM.
35003 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
35004 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
35005 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
35006 <bp-sym.h> and <bp-asm.h>.
35007 (strncmp): Don't use BP_SYM. Remove comment about bounded
35009 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
35010 <bp-sym.h> and <bp-asm.h>.
35011 (memcpy): Don't use BP_SYM.
35012 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
35013 <bp-sym.h> and <bp-asm.h>.
35014 (memset): Don't use BP_SYM.
35015 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
35016 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
35017 (__bzero): Don't use BP_SYM.
35018 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
35019 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
35020 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
35021 <bp-sym.h> and <bp-asm.h>.
35022 (__memchr): Don't use BP_SYM.
35023 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
35024 <bp-sym.h> and <bp-asm.h>.
35025 (memcmp): Don't use BP_SYM. Remove comment about bounded
35027 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
35028 <bp-sym.h> and <bp-asm.h>.
35029 (memcpy): Don't use BP_SYM.
35030 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
35031 <bp-sym.h> and <bp-asm.h>.
35032 (__mempcpy): Don't use BP_SYM.
35033 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
35034 <bp-sym.h> and <bp-asm.h>.
35035 (__memrchr): Don't use BP_SYM.
35036 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
35037 <bp-sym.h> and <bp-asm.h>.
35038 (memset): Don't use BP_SYM.
35039 (__bzero): Likewise.
35040 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
35041 <bp-sym.h> and <bp-asm.h>.
35042 (__rawmemchr): Don't use BP_SYM.
35043 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
35044 <bp-sym.h> and <bp-asm.h>.
35045 (__STRCMP): Don't use BP_SYM.
35046 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
35047 <bp-sym.h> and <bp-asm.h>.
35048 (strchr): Don't use BP_SYM.
35049 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
35050 <bp-sym.h> and <bp-asm.h>.
35051 (__strchrnul): Don't use BP_SYM.
35052 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
35053 <bp-sym.h> and <bp-asm.h>.
35054 (strlen): Don't use BP_SYM.
35055 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
35056 <bp-sym.h> and <bp-asm.h>.
35057 (strncmp): Don't use BP_SYM. Remove comment about bounded
35059 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
35060 <bp-sym.h> and <bp-asm.h>.
35061 (__strnlen): Don't use BP_SYM.
35062 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
35063 <bp-sym.h> and <bp-asm.h>.
35064 (__GI__setjmp): Don't use BP_SYM.
35065 (_setjmp): Likewise.
35066 (__sigsetjmp): Likewise.
35067 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
35068 (L(start_addresses)): Don't use BP_SYM.
35069 (_start): Likewise.
35070 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
35072 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
35073 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
35074 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
35075 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
35076 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
35078 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
35079 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
35080 about bounded pointers.
35081 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
35082 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
35083 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
35085 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
35086 about bounded pointers. Remove GKM FIXME comments.
35087 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
35088 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
35090 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
35091 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
35092 Remove GKM FIXME comments.
35093 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
35094 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
35095 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
35097 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
35098 about bounded pointers. Remove GKM FIXME comment.
35099 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
35101 (strncmp): Don't use BP_SYM. Remove comment about bounded
35103 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
35104 <bp-sym.h> and <bp-asm.h>.
35105 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
35106 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
35107 <bp-sym.h> and <bp-asm.h>.
35108 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
35111 2013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
35113 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
35116 2013-03-05 David S. Miller <davem@davemloft.net>
35118 * po/es.po: Update from translation team.
35120 2013-03-05 Andreas Jaeger <aj@suse.de>
35122 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
35123 <bits/mman-linux.h>.
35124 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
35126 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
35127 <bits/mman-linux.h> to end of file.
35128 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
35130 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
35131 <bits/mman-linux.h> to end of file.
35132 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
35134 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
35135 <bits/mman-linux.h> to end of file.
35137 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
35138 (MCL_CURRENT, MCL_FUTURE): Define here.
35140 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
35143 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
35145 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
35147 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
35149 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
35150 fourth parameter needed for rt_sigprocmask syscall.
35151 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
35152 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
35153 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
35154 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
35155 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
35156 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
35158 2013-03-04 Joseph Myers <joseph@codesourcery.com>
35161 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
35162 comment about bounded pointers.
35163 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
35164 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
35166 2013-03-04 Andreas Jaeger <aj@suse.de>
35168 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
35169 common definitions.
35171 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
35172 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
35173 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
35174 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
35175 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
35176 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
35178 2013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
35181 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
35182 __ieee754_sqrl instead of __sqrl.
35184 2013-03-01 Joseph Myers <joseph@codesourcery.com>
35186 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
35187 * sysdeps/powerpc/fpu_control.h: ... here.
35188 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
35189 * sysdeps/powerpc/bits/fenvinline.h: ... here.
35190 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
35191 * sysdeps/powerpc/bits/mathinline.h: ... here.
35193 2013-03-01 Roland McGrath <roland@hack.frob.com>
35195 * elf/dl-hwcaps.c (_dl_important_hwcaps):
35196 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
35197 to just [NEED_DL_SYSINFO_DSO].
35198 * elf/dl-support.c: Likewise.
35199 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
35200 * elf/rtld.c (dl_main): Likewise.
35201 * elf/setup-vdso.h (setup_vdso): Likewise.
35202 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
35203 * sysdeps/unix/sysv/linux/dl-sysdep.c
35204 (_dl_discover_osversion): Likewise.
35206 2013-03-01 Carlos O'Donell <carlos@redhat.com>
35208 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
35209 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
35211 2013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
35213 * NEWS: Mention libm performance improvements and non-x86 PI
35216 * csu/libc-start.c (__pthread_initialize_minimal): Change
35217 function arguments.
35218 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
35220 2013-02-28 Joseph Myers <joseph@codesourcery.com>
35223 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
35224 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
35225 <bp-sym.h> and <bp-asm.h>.
35226 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
35227 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
35229 (memcpy): Don't use BP_SYM.
35230 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
35232 (__mpn_add_n): Don't use BP_SYM.
35233 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
35234 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
35236 (__mpn_addmul_1): Don't use BP_SYM.
35237 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
35238 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
35240 (_setjmp): Don't use BP_SYM.
35241 (__novmx_setjmp): Likewise.
35242 (__GI__setjmp): Likewise.
35243 (__vmx_setjmp): Likewise.
35244 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
35246 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
35247 (__bzero): Don't use BP_SYM.
35248 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
35249 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
35250 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
35251 <bp-sym.h> and <bp-asm.h>.
35252 (memcpy): Don't use BP_SYM.
35253 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
35254 <bp-sym.h> and <bp-asm.h>.
35255 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
35256 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
35257 <bp-sym.h> and <bp-asm.h>.
35258 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
35259 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
35261 (__mpn_lshift): Don't use BP_SYM.
35262 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
35263 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
35265 (memset): Don't use BP_SYM.
35266 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
35267 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
35268 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
35270 (__mpn_mul_1): Don't use BP_SYM.
35271 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
35272 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
35273 <bp-sym.h> and <bp-asm.h>.
35274 (memcmp): Don't use BP_SYM.
35275 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
35276 <bp-sym.h> and <bp-asm.h>.
35277 (memcpy): Don't use BP_SYM.
35278 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
35279 <bp-sym.h> and <bp-asm.h>.
35280 (memset): Don't use BP_SYM.
35281 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
35282 <bp-sym.h> and <bp-asm.h>.
35283 (strncmp): Don't use BP_SYM.
35284 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
35285 <bp-sym.h> and <bp-asm.h>.
35286 (memcpy): Don't use BP_SYM.
35287 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
35288 <bp-sym.h> and <bp-asm.h>.
35289 (memset): Don't use BP_SYM.
35290 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
35291 <bp-sym.h> and <bp-asm.h>.
35292 (__memchr): Don't use BP_SYM.
35293 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
35294 <bp-sym.h> and <bp-asm.h>.
35295 (memcmp): Don't use BP_SYM.
35296 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
35297 <bp-sym.h> and <bp-asm.h>.
35298 (memcpy): Don't use BP_SYM.
35299 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
35300 <bp-sym.h> and <bp-asm.h>.
35301 (__mempcpy): Don't use BP_SYM.
35302 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
35303 <bp-sym.h> and <bp-asm.h>.
35304 (__memrchr): Don't use BP_SYM.
35305 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
35306 <bp-sym.h> and <bp-asm.h>.
35307 (memset): Don't use BP_SYM.
35308 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
35309 <bp-sym.h> and <bp-asm.h>.
35310 (__rawmemchr): Don't use BP_SYM.
35311 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
35312 <bp-sym.h> and <bp-asm.h>.
35313 (__STRCMP): Don't use BP_SYM.
35314 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
35315 <bp-sym.h> and <bp-asm.h>.
35316 (strchr): Don't use BP_SYM.
35317 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
35318 <bp-sym.h> and <bp-asm.h>.
35319 (__strchrnul): Don't use BP_SYM.
35320 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
35321 <bp-sym.h> and <bp-asm.h>.
35322 (strlen): Don't use BP_SYM.
35323 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
35324 <bp-sym.h> and <bp-asm.h>.
35325 (strncmp): Don't use BP_SYM.
35326 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
35327 <bp-sym.h> and <bp-asm.h>.
35328 (__strnlen): Don't use BP_SYM.
35329 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
35331 (__mpn_rshift): Don't use BP_SYM.
35332 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
35333 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
35334 <bp-sym.h> and <bp-asm.h>.
35335 (__sigsetjmp): Don't use BP_SYM.
35336 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
35337 (L(start_addresses)): Don't use BP_SYM.
35338 (_start): Likewise.
35339 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
35341 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
35342 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
35343 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
35344 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
35346 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
35347 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
35348 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
35349 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
35351 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
35353 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
35354 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
35356 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
35358 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
35359 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
35360 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
35362 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
35364 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
35366 (strncmp): Don't use BP_SYM,
35367 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
35369 (__mpn_sub_n): Don't use BP_SYM.
35370 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
35371 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
35373 (__mpn_submul_1): Don't use BP_SYM.
35374 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
35375 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
35376 <bp-sym.h> and <bp-asm.h>.
35377 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
35378 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
35379 <bp-sym.h> and <bp-asm.h>.
35380 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
35383 2013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
35385 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
35386 Use ZK to minimize writes to Z.
35387 (sub_magnitudes): Simplify code a bit.
35388 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
35389 Use ZK to minimize writes to Z.
35390 (sub_magnitudes): Simplify code a bit.
35392 2013-02-27 Roland McGrath <roland@hack.frob.com>
35394 * csu/gmon-start.c: Add special exception to license text.
35396 2013-02-27 Richard Henderson <rth@redhat.com>
35398 * scripts/config.guess: Update from config.git.
35399 * scripts/config.sub: Likewise.
35401 2013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
35403 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
35405 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
35407 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
35409 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
35411 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
35413 2013-02-26 Roland McGrath <roland@hack.frob.com>
35415 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
35416 [$(build-shared = yes].
35418 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
35420 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
35421 (__mul): Reduce iterations for calculating mantissa.
35423 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
35425 (__mpranred): Likewise.
35428 * malloc/memusagestat.c (main): Draw graphs for heap and stack
35429 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
35431 2013-02-26 Paul Eggert <eggert@cs.ucla.edu>
35433 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
35434 Define __attribute__.
35436 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
35438 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
35440 * posix/regex_internal.h (__attribute): Remove.
35441 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
35442 (re_string_context_at): Likewise.
35443 (bitset_not): Use __attribute__ and mark function as possibly
35445 (bitset_merge): Likewise.
35446 (bitset_mask): Likewise.
35447 (re_string_char_size_at): Likewise.
35448 (re_string_wchar_at): Likewise.
35449 (re_string_elem_size_at): Likewise.
35451 2013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
35453 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
35457 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
35461 (denorm): Likewise.
35462 (__dbl_mp): Likewise.
35463 (add_magnitudes): Likewise.
35464 (sub_magnitudes): Likewise.
35468 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
35471 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
35474 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
35477 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
35478 up changes with default code.
35479 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
35482 2013-02-24 Allan McRae <allan@archlinux.org>
35484 * manual/socket.texi (The Internet Namespace): Order menu items
35485 to match that in the file.
35487 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
35488 node listing of the info page menu.
35490 2013-02-21 Joseph Myers <joseph@codesourcery.com>
35493 * sysdeps/i386/bp-asm.h: Remove file.
35494 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
35495 (PARMS): Do not use macros from bp-asm.h.
35499 (__mpn_add_n): Do not use BP_SYM
35500 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
35502 (PARMS): Do not use macros from bp-asm.h.
35505 (__mpn_addmul_1): Do not use BP_SYM
35506 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
35508 (PARMS): Do not use macros from bp-asm.h.
35509 (SIGMSK): Likewise.
35510 (_setjmp): Likewise. Do not use BP_SYM.
35511 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
35513 (PARMS): Do not use macros from bp-asm.h.
35514 (SIGMSK): Likewise.
35515 (setjmp): Likewise. Do not use BP_SYM.
35516 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
35518 (PARMS): Do not use macros from bp-asm.h.
35519 (__frexp): Do not use BP_SYM.
35521 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
35523 (PARMS): Do not use macros from bp-asm.h.
35524 (__frexpf): Do not use BP_SYM.
35525 (frexpf): Likewise.
35526 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
35528 (PARMS): Do not use macros from bp-asm.h.
35529 (__frexpl): Do not use BP_SYM.
35530 (frexpl): Likewise.
35531 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
35533 (PARMS): Do not use macros from bp-asm.h.
35534 (__remquo): Do not use BP_SYM.
35535 (remquo): Likewise.
35536 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
35538 (PARMS): Do not use macros from bp-asm.h.
35539 (__remquof): Do not use BP_SYM.
35540 (remquof): Likewise.
35541 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
35543 (PARMS): Do not use macros from bp-asm.h.
35544 (__remquol): Do not use BP_SYM.
35545 (remquol): Likewise.
35546 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
35548 (PARMS): Do not use macros from bp-asm.h.
35551 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
35552 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
35554 (PARMS): Do not use macros from bp-asm.h.
35555 (strlen): Do not use BP_SYM.
35556 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
35558 (PARMS): Do not use macros from bp-asm.h.
35562 (__mpn_add_n): Do not use BP_SYM.
35563 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
35565 (PARMS): Do not use macros from bp-asm.h.
35568 (__mpn_addmul_1): Do not use BP_SYM.
35569 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
35572 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
35574 (PARMS): Do not use macros from bp-asm.h.
35577 (__mpn_lshift): Do not use BP_SYM.
35578 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
35580 (PARMS): Do not use macros from bp-asm.h.
35584 (memcpy): Likewise. Do not use BP_SYM.
35585 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
35586 libc_hidden_def and weak_alias.
35587 (mempcpy): Do not use BP_SYM in weak_alias.
35588 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
35590 (PARMS): Do not use macros from bp-asm.h.
35593 [!BZERO_P] (CHR): Likewise.
35594 (memset): Likewise. Do not use BP_SYM.
35595 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
35597 (PARMS): Do not use macros from bp-asm.h.
35600 (__mpn_mul_1): Do not use BP_SYM.
35601 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
35603 (PARMS): Do not use macros from bp-asm.h.
35606 (__mpn_rshift): Do not use BP_SYM.
35607 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
35609 (PARMS): Do not use macros from bp-asm.h.
35612 (strchr): Likewise. Do not use BP_SYM.
35613 (index): Do not use BP_SYM in weak_alias.
35614 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
35616 (PARMS): Do not use macros from bp-asm.h.
35619 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
35620 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
35622 (PARMS): Do not use macros from bp-asm.h.
35623 (strlen): Do not use BP_SYM.
35624 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
35626 (PARMS): Do not use macros from bp-asm.h.
35630 (__mpn_sub_n): Do not use BP_SYM.
35631 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
35633 (PARMS): Do not use macros from bp-asm.h.
35636 (__mpn_submul_1): Do not use BP_SYM.
35637 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
35639 (PARMS): Do not use macros from bp-asm.h.
35643 (__mpn_add_n): Do not use BP_SYM.
35644 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
35647 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
35649 (PARMS): Do not use macros from bp-asm.h.
35652 (memcmp): Do not use BP_SYM.
35653 (bcmp): Do not use BP_SYM in weak_alias.
35654 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
35656 (PARMS): Do not use macros from bp-asm.h.
35660 (memcpy): Likewise. Do not use BP_SYM.
35661 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
35663 (PARMS): Do not use macros from bp-asm.h.
35667 (memmove): Likewise. Do not use BP_SYM.
35668 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
35670 (PARMS): Do not use macros from bp-asm.h.
35674 (__mempcpy): Likewise. Do not use BP_SYM.
35675 (mempcpy): Do not use BP_SYM in weak_alias.
35676 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
35678 (PARMS): Do not use macros from bp-asm.h.
35681 [!BZERO_P] (CHR): Likewise.
35682 (memset): Likewise. Do not use BP_SYM.
35683 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
35685 (PARMS): Do not use macros from bp-asm.h.
35687 (strcmp): Do not use BP_SYM.
35688 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
35690 (PARMS): Do not use macros from bp-asm.h.
35693 [USE_AS_STRTOK_R] (SAVE): Likewise.
35694 (FUNCTION): Likewise. Do not use BP_SYM.
35695 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
35697 (strtok_r): Likewise.
35698 (__GI___strtok_r): Likewise.
35699 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
35700 (PARMS): Do not use macros from bp-asm.h.
35703 (__mpn_lshift): Do not use BP_SYM.
35704 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
35705 (PARMS): Do not use macros from bp-asm.h.
35708 (__memchr): Do not use BP_SYM.
35709 (memchr): Do not use BP_SYM in weak_alias.
35710 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
35711 (PARMS): Do not use macros from bp-asm.h.
35714 (memcmp): Do not use BP_SYM.
35715 (bcmp): Do not use BP_SYM in weak_alias.
35716 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
35717 (PARMS): Do not use macros from bp-asm.h.
35720 (__mpn_mul_1): Do not use BP_SYM.
35721 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
35723 (PARMS): Do not use macros from bp-asm.h.
35726 (__rawmemchr): Do not use BP_SYM.
35727 (rawmemchr): Do not use BP_SYM in weak_alias.
35728 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
35729 (PARMS): Do not use macros from bp-asm.h.
35732 (__mpn_rshift): Do not use BP_SYM.
35733 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
35734 (PARMS): Do not use macros from bp-asm.h.
35735 (SIGMSK): Likewise.
35736 (__sigsetjmp): Likewise. Do not use BP_SYM.
35737 * sysdeps/i386/start.S: Do not include "bp-sym.h".
35738 (_start): Do not use BP_SYM.
35739 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
35740 (PARMS): Do not use macros from bp-asm.h.
35743 (__stpcpy): Likewise. Do not use BP_SYM.
35744 (stpcpy): Do not use BP_SYM in weak_alias.
35745 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
35747 (PARMS): Do not use macros from bp-asm.h.
35751 (__stpncpy): Likewise. Do not use BP_SYM.
35752 (stpncpy): Do not use BP_SYM in weak_alias.
35753 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
35754 (PARMS): Do not use macros from bp-asm.h.
35757 (strchr): Likewise. Do not use BP_SYM.
35758 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
35760 (PARMS): Do not use macros from bp-asm.h.
35763 (__strchrnul): Likewise. Do not use BP_SYM.
35764 (strchrnul): Do not use BP_SYM in weak_alias.
35765 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
35767 (PARMS): Do not use macros from bp-asm.h.
35769 (strcspn): Do not use BP_SYM.
35770 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
35772 (PARMS): Do not use macros from bp-asm.h.
35775 (strpbrk): Likewise. Do not use BP_SYM.
35776 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
35778 (PARMS): Do not use macros from bp-asm.h.
35781 (strrchr): Likewise. Do not use BP_SYM.
35782 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
35783 (PARMS): Do not use macros from bp-asm.h.
35785 (strspn): Do not use BP_SYM.
35786 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
35787 (PARMS): Do not use macros from bp-asm.h.
35791 (FUNCTION): Likewise. Do not use BP_SYM.
35792 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
35794 (strtok_r): Likewise.
35795 (__GI___strtok_r): Likewise.
35796 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
35797 (PARMS): Do not use macros from bp-asm.h.
35801 (__mpn_sub_n): Do not use BP_SYM.
35802 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
35804 (PARMS): Do not use macros from bp-asm.h.
35807 (__mpn_submul_1): Do not use BP_SYM.
35808 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
35810 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
35812 (PARMS): Do not use macros from bp-asm.h.
35817 (__clone): Do not use BP_SYM.
35818 (clone): Do not use BP_SYM in weak_alias.
35819 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
35821 (PARMS): Do not use macros from bp-asm.h.
35823 (__mmap64): Do not use BP_SYM.
35824 (mmap64): Do not use BP_SYM in weak_alias.
35825 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
35826 <bp-sym.h> and <bp-asm.h>.
35827 (PARMS): Do not use macros from bp-asm.h.
35828 (__posix_fadvise64_l64): Do not use BP_SYM.
35829 * sysdeps/unix/sysv/linux/i386/semtimedop.S
35830 (PARMS): Do not use macros from bp-asm.h.
35832 (semtimedop): Do not use BP_SYM.
35833 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
35836 2013-02-21 Allan McRae <allan@archlinux.org>
35838 * manual/message.texi (Charset conversion in gettext):
35839 Move @end statement to beginning of line.
35841 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
35843 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
35845 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
35848 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
35849 (denorm): Likewise.
35850 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
35851 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
35853 2013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
35855 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
35856 tail-call to the resolved function if pltexit isn't needed.
35858 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
35860 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
35861 or Y being zero as being unlikely.
35862 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
35865 2013-02-20 Carlos O'Donell <carlos@redhat.com>
35867 * manual/nss.texi (System Databases and Name Service Switch):
35868 Remove frobnicate @pxref.
35870 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
35872 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
35873 __attribute__ ((unused)) to __attribute__ ((__unused__)).
35875 2013-02-20 Petr Machata <pmachata@redhat.com>
35877 * elf/elf.h (R_ARM_TARGET1): New macro.
35878 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
35879 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
35880 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
35881 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
35882 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
35883 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
35884 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
35885 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
35886 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
35887 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
35888 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
35889 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
35890 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
35891 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
35892 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
35893 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
35894 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
35895 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
35896 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
35897 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
35898 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
35899 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
35900 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
35901 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
35902 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
35903 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
35904 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
35905 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
35906 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
35907 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
35908 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
35909 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
35910 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
35911 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
35912 (R_ARM_THM_GOT_BREL12): Likewise.
35913 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
35914 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
35915 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
35916 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
35917 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
35918 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
35919 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
35920 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
35921 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
35923 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
35925 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
35926 __attribute_used__ to __attribute__ ((unused)).
35928 2013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
35930 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
35932 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
35933 comment formatting.
35934 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
35936 2013-02-19 Joseph Myers <joseph@codesourcery.com>
35939 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
35941 (ENTER): Remove both macro definitions.
35943 (CHECK_BOUNDS_LOW): Likewise.
35944 (CHECK_BOUNDS_HIGH): Likewise.
35945 (CHECK_BOUNDS_BOTH): Likewise.
35946 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
35947 (RETURN_BOUNDED_POINTER): Likewise.
35948 (RETURN_NULL_BOUNDED_POINTER): Likewise.
35949 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
35950 (POP_ERRNO_LOCATION_RETURN): Likewise.
35951 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
35952 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
35953 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
35955 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
35956 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
35957 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
35958 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
35959 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
35960 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
35961 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
35962 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
35963 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
35964 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
35965 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
35966 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
35967 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
35968 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
35970 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
35971 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
35973 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
35974 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
35975 * sysdeps/i386/i586/memset.S (memset): Likewise.
35976 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
35977 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
35978 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
35980 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
35981 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
35982 Change uses of L(2) to L(out).
35983 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
35984 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
35985 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
35986 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
35987 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
35989 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
35990 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
35992 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
35993 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
35994 (RETURN): Do not use macro LEAVE.
35995 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
35996 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
35997 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
35998 * sysdeps/i386/i686/memset.S (memset): Likewise.
35999 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
36000 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
36001 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
36002 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
36004 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
36005 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
36006 L(1_2) and L(1_3) into L(1).
36007 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
36008 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
36009 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
36010 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
36011 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
36012 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
36013 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
36014 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
36015 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
36017 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
36018 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
36019 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
36020 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
36021 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
36022 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
36023 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
36024 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
36025 * sysdeps/i386/strcspn.S (strcspn): Likewise.
36026 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
36027 * sysdeps/i386/strrchr.S (strrchr): Likewise.
36028 * sysdeps/i386/strspn.S (strspn): Likewise.
36029 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
36031 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
36032 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
36033 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
36034 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
36035 L(1_3) into L(1_1).
36036 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
36037 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
36038 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
36040 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
36042 2013-02-19 Jakub Jelinek <jakub@redhat.com>
36044 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
36047 2013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
36049 * math/atest-exp.c (exp_mpn): Remove ROUND.
36050 * math/atest-exp2.c (exp_mpn): Likewise.
36051 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
36053 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
36054 * stdlib/tst-tls-atexit-lib.c: Likewise.
36055 * stdlib/tst-tls-atexit.c: Likewise.
36057 2013-02-18 Mike Frysinger <vapier@gentoo.org>
36059 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
36060 and __attribute_alloc_size__.
36062 2013-02-18 Mike Frysinger <vapier@gentoo.org>
36064 * include/programs/xmalloc.h: Change __attribute_alloc_size to
36065 __attribute_alloc_size__.
36066 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
36067 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
36069 2013-02-18 Mike Frysinger <vapier@gentoo.org>
36071 * include/programs/xmalloc.h: New file.
36072 * catgets/gencat.c: Include it.
36073 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
36074 * elf/pldd.c: Likewise.
36075 * iconv/iconv_charmap.c: Likewise.
36076 * iconv/iconvconfig.c: Likewise.
36077 * iconv/strtab.c: Likewise.
36078 * locale/programs/locale.c: Likewise.
36079 * locale/programs/localedef.h: Likewise.
36080 * locale/programs/simple-hash.c: Likewise.
36081 * nscd/nscd.h: Likewise.
36082 * nss/makedb.c: Likewise.
36083 * sysdeps/generic/ldconfig.h: Likewise.
36085 2013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
36087 * Versions.def: Add GLIBC_2.18.
36088 * include/link.h (struct link_map): New member l_tls_dtor_count.
36089 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
36090 (__call_tls_dtors): Likewise.
36091 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
36092 __cxa_thread_atexit_impl.
36093 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
36095 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
36097 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
36099 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
36101 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
36102 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
36104 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
36106 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
36107 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
36109 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
36110 (tests): Add test case tst-tls-atexit.
36111 (modules-names): Add shared library for tst-tls-atexit.
36112 * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
36113 (GLIBC_PRIVATE): Add __call_tls_dtors.
36114 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
36116 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
36117 * stdlib/tst-tls-atexit.c: New test case.
36118 * stdlib/tst-tls-atexit-lib.c: New test case.
36120 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
36122 * elf/Versions (ld): Add _dl_find_dso_for_object.
36123 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
36124 * elf/dl-open.c (_dl_find_dso_for_object): New function.
36125 (dl_open_worker): Use _dl_find_dso_for_object.
36126 * elf/dl-sym.c (do_sym): Likewise.
36127 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
36129 2013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
36131 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
36132 Syntactic changes only.
36133 (_dl_runtime_profile): Do a tail-call to the resolved function.
36135 2013-02-17 Joseph Myers <joseph@codesourcery.com>
36138 * sysdeps/x86_64/bp-asm.h: Remove file.
36139 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
36140 <bp-sym.h> and <bp-asm.h>.
36141 (__clone): Do not use BP_SYM.
36142 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
36143 <bp-sym.h> and <bp-asm.h>.
36144 * sysdeps/unix/x86_64/sysdep.S: Likewise.
36145 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
36147 (_setjmp): Do not use BP_SYM.
36148 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
36150 (setjmp): Do not use BP_SYM.
36151 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
36153 (mempcpy): Do not use BP_SYM in weak_alias.
36154 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
36156 (strchr): Do not use BP_SYM.
36157 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
36159 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
36160 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
36161 (_start): Do not use BP_SYM.
36162 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
36164 (strcat): Do not use BP_SYM.
36165 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
36167 (STRCMP): Do not use BP_SYM.
36168 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
36170 (STRCPY): Do not use BP_SYM.
36171 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
36173 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
36175 (FUNCTION): Do not use BP_SYM.
36176 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
36178 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
36180 2013-02-17 Andreas Jaeger <aj@suse.de>
36182 * time/Versions: Sort entries.
36183 * string/Versions: Likewise.
36184 * resolv/Versions: Likewise.
36185 * posix/Versions: Likewise.
36186 * iconv/Versions: Likewise.
36187 * elf/Versions: Likewise.
36188 * wcsmbs/Versions: Likewise.
36190 2013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
36192 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
36193 loop termination condition.
36195 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
36196 variable to calculate EZ.
36199 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
36200 the lower precision input.
36202 2013-02-15 Joseph Myers <joseph@codesourcery.com>
36205 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
36206 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
36207 (run-via-rtld-prefix): Do not handle %-bp tests.
36208 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
36209 (all-object-suffixes): Remove .ob.
36210 (bppfx): Remove variable.
36211 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
36212 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
36213 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
36214 [$(build-bounded) = yes] (libtype.ob): Likewise.
36215 * Makerules (elide-routines.ob): Remove variable.
36216 (do-tests-clean): Do not handle *-bp.out.
36217 (common-mostlyclean): Do not handle *-bp and *-bp.out.
36218 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
36219 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
36220 (tests): Do not include $(tests-bp.out).
36221 (xtests): Do not include $(xtests-bp.out).
36222 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
36223 [$(build-bounded) = yes] ($(addprefix
36224 $(objpfx),$(binaries-bounded))): Remove rule.
36225 ($(objpfx)%-bp.out): Remove rule.
36226 * config.make.in (build-bounded): Remove variable.
36227 * crypt/Makefile [$(build-bounded) = yes]
36228 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
36229 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
36230 append to variable.
36231 [$(build-bounded) = yes] (install-lib): Likewise.
36232 [$(build-bounded) = yes] (generated): Likewise.
36233 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
36235 * intl/Makefile [$(build-bounded) = yes]
36236 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
36237 * math/Makefile [$(build-bounded) = yes]
36238 ($(tests:%=$(objpfx)%-bp): Likewise.
36239 * misc/Makefile [$(build-bounded) = yes]
36240 ($(objpfx)tst-tsearch-bp): Likewise.
36241 * nptl/Makeconfig (bounded-thread-library): Remove variable.
36242 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
36244 * string/Makefile (o-objects.ob): Remove variable.
36245 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
36246 (CFLAGS-.ob): Remove variable.
36247 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
36248 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
36249 both definitions of variable.
36250 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
36251 (ASFLAGS-.ob): Remove variable.
36253 2013-02-14 Joseph Myers <joseph@codesourcery.com>
36256 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
36257 Remove __BOUNDED_POINTERS__ from condition.
36258 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
36259 * string/bits/string2.h [!__NO_STRING_INLINES &&
36260 !__BOUNDED_POINTERS__]: Likewise.
36261 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
36263 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
36264 Remove conditional code.
36265 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
36266 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
36267 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
36271 * csu/libc-start.c: Do not include <bp-sym.h>.
36272 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
36273 * elf/dl-open.c: Do not include <bp-sym.h>.
36274 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
36275 * math/fegetenv.c: Do not include <bp-sym.h>.
36276 (fegetenv): Do not use BP_SYM in versioned symbols.
36277 * nptl/sysdeps/pthread/bits/libc-lockP.h
36278 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
36280 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
36281 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
36282 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
36283 (__pthread_mutex_destroy): Likewise.
36284 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
36285 (__pthread_mutex_lock): Likewise.
36286 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
36287 (__pthread_mutex_trylock): Likewise.
36288 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
36289 (__pthread_mutex_unlock): Likewise.
36290 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
36291 (__pthread_mutexattr_init): Likewise.
36292 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
36293 (__pthread_mutexattr_destroy): Likewise.
36294 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
36295 (__pthread_mutexattr_settype): Likewise.
36296 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
36297 (__pthread_rwlock_init): Likewise.
36298 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
36299 (__pthread_rwlock_destroy): Likewise.
36300 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
36301 (__pthread_rwlock_rdlock): Likewise.
36302 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
36303 (__pthread_rwlock_tryrdlock): Likewise.
36304 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
36305 (__pthread_rwlock_wrlock): Likewise.
36306 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
36307 (__pthread_rwlock_trywrlock): Likewise.
36308 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
36309 (__pthread_rwlock_unlock): Likewise.
36310 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
36311 (__pthread_key_create): Likewise.
36312 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
36313 (__pthread_setspecific): Likewise.
36314 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
36315 (__pthread_getspecific): Likewise.
36316 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
36318 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
36319 (_pthread_cleanup_push_defer): Likewise.
36320 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
36321 (_pthread_cleanup_pop_restore): Likewise.
36322 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
36323 (pthread_setcancelstate): Likewise.
36324 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
36326 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
36327 (memchr): Do not use BP_SYM in weak_alias.
36328 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
36329 (fegetenv): Do not use BP_SYM in versioned symbols.
36330 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
36331 (fesetenv): Do not use BP_SYM in versioned symbols.
36332 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
36333 (feupdateenv): Do not use BP_SYM in versioned symbols.
36334 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
36335 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
36336 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
36337 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
36338 (open64): Do not use BP_SYM in weak_alias.
36339 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
36340 (fegetenv): Do not use BP_SYM in versioned symbols.
36341 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
36342 (fesetenv): Do not use BP_SYM in versioned symbols.
36343 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
36344 (feupdateenv): Do not use BP_SYM in versioned symbols.
36345 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
36346 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
36347 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
36348 (feraiseexcept): Do not use BP_SYM in versioned symbols.
36349 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
36350 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
36351 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
36353 (__libc_start_main): Do not use BP_SYM.
36355 2013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
36357 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
36358 redundant return line.
36360 (denorm): Likewise.
36361 (dbl_mp): Likewise.
36362 (sub_magnitudes): Likewise.
36368 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
36370 (denorm): Likewise.
36371 (dbl_mp): Likewise.
36372 (sub_magnitudes): Likewise.
36379 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
36381 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
36382 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
36385 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
36386 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
36387 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
36388 of __mul for squares.
36389 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
36391 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
36393 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
36394 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
36396 2013-02-13 Joseph Myers <joseph@codesourcery.com>
36399 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
36401 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
36402 prototype or function definition. Rename ubp_* variables and
36403 parameters. Remove argv definitions conditional on
36404 [__BOUNDED_POINTERS__].
36405 * debug/backtrace.c (__backtrace): Do not use __unbounded.
36406 * elf/dl-runtime.c (_dl_fixup): Likewise.
36407 * include/set-hooks.h (RUN_HOOK): Likewise.
36408 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
36410 * string/strcpy.c (strcpy): Do not use __unbounded.
36411 * sysdeps/generic/frame.h (struct layout): Likewise.
36412 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
36413 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
36414 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
36415 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
36416 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
36417 (__backtrace): Likewise.
36418 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
36420 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
36421 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
36422 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
36424 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
36425 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
36426 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
36427 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
36428 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
36429 Do not use __unbounded.
36430 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
36431 Rename __unboundedrlimits parameter to rlimits in prototype.
36432 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
36433 Do not use __unbounded.
36434 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
36435 not use __ptrvalue.
36436 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
36437 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
36438 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
36439 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
36440 __ptrvalue or __unbounded.
36441 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
36442 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
36444 (__new_msgctl): Do not use __ptrvalue.
36445 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
36447 (__libc_msgrcv): Do not use __ptrvalue.
36448 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
36449 startup_info): Do not use __unbounded.
36450 (__libc_start_main): Likewise. Rename ubp_* variables and
36451 parameters. Remove argv definitions conditional on
36452 [__BOUNDED_POINTERS__].
36453 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
36455 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
36457 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
36459 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
36461 (__new_shmctl): Do not use __ptrvalue.
36462 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
36463 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
36465 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
36466 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
36467 (__libc_sigaction): Likewise.
36468 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
36469 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
36471 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
36473 2013-02-13 Ondřej Bílka <neleai@seznam.cz>
36475 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
36477 * string/mempcpy.c: Implement by calling memcpy.
36479 2013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
36481 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
36483 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
36486 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
36487 values in the mantissa.
36489 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
36490 minimize writes to Z.
36491 (sub_magnitudes): Simplify code a bit.
36493 2013-02-12 Roland McGrath <roland@hack.frob.com>
36495 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
36496 from the message. The linker prefixes all warnings with that already.
36498 2013-02-12 Andreas Schwab <schwab@suse.de>
36501 * posix/regexec.c (extend_buffers): Add parameter min_len.
36502 (check_matching): Pass minimum needed length.
36503 (clean_state_log_if_needed): Likewise.
36504 (get_subexp): Likewise.
36505 * posix/Makefile (tests): Add bug-regex34.
36506 (bug-regex34-ENV): Define.
36507 * posix/bug-regex34.c: New file.
36510 * posix/regcomp.c (parse_bracket_exp): When looking up collating
36511 elements compare against the byte sequence of it, not its name.
36512 * posix/Makefile (tests): Add bug-regex35.
36513 (bug-regex35-ENV): Define.
36514 * posix/bug-regex35.c: New file.
36516 2013-02-11 Tom de Vries <tom@codesourcery.com>
36518 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
36520 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
36521 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
36522 (CHECK_EOL): Add undef.
36524 2013-02-11 Ondřej Bílka <neleai@seznam.cz>
36526 * bits/stdlib-bsearch.h: New file.
36527 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
36528 * stdlib/stdlib.h: Likewise.
36530 2013-02-11 Roland McGrath <roland@hack.frob.com>
36532 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
36533 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
36535 * manual/search.texi (Array Search Function): Add missing const in
36537 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
36538 declaration to use rlim_t.
36539 (Basic Scheduling Functions): Remove erroneous const from
36540 sched_getparam prototype. Remove erroneous * from
36541 sched_get_priority_max and sched_get_priority_min prototypes.
36542 (Resource Usage): Fix summary @comment on vtimes to refer to
36543 sys/vtimes.h rather than vtimes.h.
36544 Add missing *s in vtimes prototype.
36545 (Limits on Resources): Fix ulimit prototype to return long int.
36546 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
36547 prototypes to use long int rather than double.
36548 (BSD Random): Fix initstate and setstate to use char *, not void *.
36549 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
36550 prototype to make second argument 'struct aiocb64 *const[]'.
36551 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
36552 (Status of AIO Operations): Remove erroneous const in aio_return and
36553 aio_return64 prototypes.
36554 (Synchronizing I/O): Fix sync prototype to return void.
36555 * manual/startup.texi (Suboptions): Remove an erroneous const in
36556 getsubopt prototype.
36557 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
36558 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
36559 use size_t rather than int.
36560 (Scanning All Users): Likewise for getpwent_r.
36561 (Setting Groups): Add missing const to setgroups prototype.
36562 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
36563 * manual/socket.texi (Host Names): Fix gethostbyaddr and
36564 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
36565 'const void *' rather than 'const char *'.
36566 (Host Address Functions): Likewise for inet_ntop.
36567 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
36568 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
36569 ssize_t for return value.
36570 (Sending Data): Likewise for send, sendto, sendmsg.
36571 (Socket Option Functions): Add a missing const in setsockopt prototype.
36572 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
36573 use wchar_t for the argument.
36574 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
36575 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
36577 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
36578 double/float/long double for second argument.
36579 Fix return types of significand, significandf, significandl.
36580 * manual/filesys.texi (Setting Permissions): Use mode_t for second
36581 argument in fchmod prototype.
36582 (File Owner): Use uid_t and gid_t in fchown prototype.
36583 (File Times): Add const to utimes, futimes, and lutimes prototypes.
36584 (Making Special Files): Use mode_t and dev_t in mknod prototype.
36585 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
36586 use 'const struct dirent **' as argument types to CMP function pointer
36588 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
36589 (File Times): Fix summary magic @comment for struct utimbuf and utime
36590 to refer to utime.h, not time.h.
36591 * manual/string.texi (Argz Functions): Add missing const in
36592 argz_extract and argz_next prototypes.
36593 (Finding Tokens in a String): Likewise for basename.
36594 (String/Array Comparison): Fix typo in wcscasecmp prototype.
36595 (Copying and Concatenation): Fix typo in wmemmove prototype.
36596 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
36597 (Signal Stack): Remove erroneous const in sigstack prototype.
36598 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
36600 (Simple Calendar Time): Likewise for stime.
36601 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
36603 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
36604 say sys/sysctl.h instead.
36605 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
36606 and vsyslog prototypes.
36608 2013-02-11 Tom de Vries <tom@codesourcery.com>
36610 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
36613 2013-02-11 Roland McGrath <roland@hack.frob.com>
36615 * misc/sys/mman.h: Fix typo in mremap comment.
36617 2013-02-08 Roland McGrath <roland@hack.frob.com>
36619 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
36620 the '\0' terminator.
36622 2013-02-08 Joseph Myers <joseph@codesourcery.com>
36625 * debug/segfault.c: Don't include <bp-checks.h>.
36626 * sysdeps/generic/bp-checks.h: Remove file.
36627 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
36628 (__GETDENTS): Don't use CHECK_N.
36629 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
36630 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
36631 (__getgroups): Don't use CHECK_N.
36632 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
36633 (setgroups): Don't use CHECK_N.
36634 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
36635 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
36636 (__libc_msgrcv): Don't use CHECK_N.
36637 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
36638 (__libc_msgsnd): Don't use CHECK_N.
36639 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
36641 (__libc_pread): Don't use CHECK_N.
36642 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
36643 include <bp-checks.h>.
36644 (__libc_pread64): Don't use CHECK_N.
36645 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
36646 include <bp-checks.h>.
36647 (__libc_pwrite): Don't use CHECK_N.
36648 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
36649 include <bp-checks.h>.
36650 (__libc_pwrite64): Don't use CHECK_N.
36651 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
36653 (__libc_pread): Don't use CHECK_N.
36654 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
36655 include <bp-checks.h>.
36656 (__libc_pread64): Don't use CHECK_N.
36657 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
36658 include <bp-checks.h>.
36659 (__libc_pwrite): Don't use CHECK_N.
36660 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
36661 include <bp-checks.h>.
36662 (__libc_pwrite64): Don't use CHECK_N.
36663 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
36664 (do_pread): Don't use CHECK_N.
36665 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
36666 (do_pread64): Don't use CHECK_N.
36667 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
36668 (do_pwrite): Don't use CHECK_N.
36669 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
36670 (do_pwrite64): Don't use CHECK_N.
36671 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
36672 (__libc_readv): Don't use CHECK_N.
36673 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
36674 (semop): Don't use CHECK_N.
36675 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
36677 (semtimedop): Don't use CHECK_N.
36678 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
36679 (__libc_pread): Don't use CHECK_N.
36680 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
36682 (__libc_pread64): Don't use CHECK_N.
36683 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
36685 (__libc_pwrite): Don't use CHECK_N.
36686 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
36688 (__libc_pwrite64): Don't use CHECK_N.
36689 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
36691 (__libc_msgrcv): Don't use CHECK_N.
36692 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
36693 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
36694 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
36695 (__libc_writev): Don't use CHECK_N.
36697 2013-02-08 Roland McGrath <roland@hack.frob.com>
36699 * string/strcpy.c: Removed unused variable.
36701 * Makeconfig (+sysdep-includes): Define with := rather than =.
36702 Use an existing include/ subdir of each sysdeps dir before it.
36704 2013-02-08 Carlos O'Donell <carlos@redhat.com>
36706 * nscd/connection.c (register_traced_file): Comment function.
36707 [HAVE_INOTIFY] (union __inev): Define.
36708 [HAVE_INOTIFY] (inotify_check_files): New function.
36709 [HAVE_INOTIFY] (clear_db_cache): Likewise.
36710 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
36712 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
36714 2013-02-08 Carlos O'Donell <carlos@redhat.com>
36716 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
36717 loaded if not already and that a failure is permanent.
36719 2013-02-08 Carlos O'Donell <carlos@redhat.com>
36722 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
36723 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
36725 2013-02-08 Joseph Myers <joseph@codesourcery.com>
36728 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
36729 (CHECK_1_NULL_OK): Likewise.
36730 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
36731 (__fxstat): Do not use CHECK_1.
36732 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
36734 (___fxstat64): Do not use CHECK_1.
36735 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
36737 (__fxstatat): Do not use CHECK_1.
36738 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
36740 (__fxstatat64): Do not use CHECK_1.
36741 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
36743 (__fxstat): Do not use CHECK_1.
36744 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
36746 (__fxstatat): Do not use CHECK_1.
36747 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
36749 (__getresgid): Do not use CHECK_1.
36750 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
36752 (__getresuid): Do not use CHECK_1.
36753 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
36755 (__lxstat): Do not use CHECK_1.
36756 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
36758 (__old_msgctl): Do not use CHECK_1.
36759 (__new_msgctl): Likewise.
36760 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
36762 (__new_setrlimit): Do not use CHECK_1.
36763 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
36765 (__old_shmctl): Do not use CHECK_1.
36766 (__new_shmctl): Likewise.
36767 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
36769 (__xstat): Do not use CHECK_1.
36770 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
36771 (__lxstat): Do not use CHECK_1.
36772 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
36774 (___lxstat64): Do not use CHECK_1.
36775 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
36776 (__old_msgctl): Do not use CHECK_1.
36777 (__new_msgctl): Likewise.
36778 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
36780 (__gettimeofday): Do not use CHECK_1.
36781 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
36782 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
36783 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
36785 (__gettimeofday): Do not use CHECK_1.
36786 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
36787 (__old_shmctl): Do not use CHECK_1_NULL_OK.
36788 (__new_shmctl): Do not use CHECK_1.
36789 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
36791 (do_sigtimedwait): Do not use CHECK_1.
36792 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
36794 (do_sigwaitinfo): Do not use CHECK_1.
36795 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
36797 (msgctl): Do not use CHECK_1.
36798 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
36800 (shmctl): Do not use CHECK_1.
36801 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
36802 (ustat): Do not use CHECK_1.
36803 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
36805 (__fxstat): Do not use CHECK_1.
36806 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
36808 (__fxstatat): Do not use CHECK_1.
36809 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
36811 (__lxstat): Do not use CHECK_1.
36812 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
36814 (__xstat): Do not use CHECK_1.
36815 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
36816 (__xstat): Do not use CHECK_1.
36817 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
36818 (___xstat64): Do not use CHECK_1.
36821 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
36823 (CHECK_BOUNDS_HIGH): Likewise.
36824 * string/strcpy.c: Do not include <bp-checks.h>.
36825 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
36827 2013-02-07 Roland McGrath <roland@hack.frob.com>
36829 * nscd/nscd-client.h (__nscd_drop_map_ref):
36830 Add __attribute__ ((unused)).
36831 * nis/nss-nisplus.h (niserr2nss): Likewise.
36833 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
36834 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
36836 * csu/libc-tls.c (init_static_tls, init_slotinfo):
36837 Remove inline keyword.
36838 * include/rounding-mode.h (round_away): Likewise.
36839 * libio/wfileops.c (adjust_wide_data): Likewise.
36840 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
36841 (__m128i_strloadu_tolower): Likewise.
36842 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
36843 (__m128i_strloadu_tolower): Likewise.
36844 * time/mktime.c (ydhms_diff): Likewise.
36845 * locale/elem-hash.h (elem_hash): Likewise.
36846 * locale/setlocale.c (setdata): Likewise.
36847 * posix/regex_internal.h (re_string_char_size_at): Likewise.
36848 (re_string_wchar_at): Likewise.
36849 (bitset_not, bitset_merge, bitset_mask): Likewise.
36850 [!(__GNUC__ > 3)] (inline): Remove macro.
36851 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
36852 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
36853 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
36854 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
36855 * string/memcmp.c (memcmp_bytes): Likewise.
36856 * locale/programs/locarchive.c (compute_hashval): Likewise.
36857 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
36858 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
36859 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
36860 * nss/getent.c (print_rpc, print_protocols): Likewise.
36861 (print_passwd, print_group, print_aliases): Likewise.
36862 * nis/nss-nisplus.h (niserr2nss): Likewise.
36863 * nscd/connections.c (restart_p): Likewise.
36864 Change return type to bool.
36866 2013-02-05 Roland McGrath <roland@hack.frob.com>
36868 * Makeconfig (all-Depend-files): Add existing
36869 $(sorted-subdirs:=/Depend) files.
36870 (all-subdirs): Remove nss.
36871 * sysdeps/unix/inet/Subdirs: Add it here instead.
36872 * hesiod/Depend: New file.
36874 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
36875 instead of calling alloca.
36877 * io/lseek.c (__lseek): Rename to __libc_lseek.
36878 Define __lseek as an alias.
36880 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
36882 2013-02-04 Carlos O'Donell <carlos@redhat.com>
36884 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
36885 else clause and remove check for non-standard endianness.
36887 2013-02-04 David S. Miller <davem@davemloft.net>
36889 * sysdeps/sparc/fpu/libm-test-ulps: Update.
36891 2013-02-04 Joseph Myers <joseph@codesourcery.com>
36894 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
36895 (__ubp_memchr): Remove prototype.
36896 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
36897 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
36898 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
36899 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
36900 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
36902 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
36903 (__ubp_memchr): Likewise.
36904 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
36905 (__ubp_memchr): Likewise.
36906 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
36907 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
36908 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
36909 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
36911 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
36912 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
36913 (__getcwd): Do not use CHECK_STRING.
36914 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
36916 (__real_chown): Do not use CHECK_STRING.
36917 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
36919 (fchownat): Do not use CHECK_STRING.
36920 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
36922 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
36924 (__lchown): Do not use CHECK_STRING.
36925 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
36926 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
36927 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
36928 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
36929 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
36930 include <bp-checks.h>.
36931 (truncate64): Do not use CHECK_STRING.
36932 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
36934 (__real_chown): Do not use CHECK_STRING.
36935 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
36937 (__lchown): Do not use CHECK_STRING.
36938 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
36940 (__chown): Do not use CHECK_STRING.
36941 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
36943 (truncate64): Do not use CHECK_STRING.
36944 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
36946 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
36947 (__xmknod): Do not use CHECK_STRING.
36948 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
36950 (__xmknodat): Do not use CHECK_STRING.
36951 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
36952 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
36954 2013-02-04 Andreas Schwab <schwab@suse.de>
36957 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
36958 * include/netdb.h: Likewise for h_errno.
36959 * elf/tst-stackguard1.c: Include <tls.h>.
36961 2013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
36963 * elf/link.h (struct link_map): Extend the l_addr comment.
36964 * include/link.h (struct link_map): Likewise.
36966 2013-02-01 Joseph Myers <joseph@codesourcery.com>
36969 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
36970 (BOUNDED_1): Remove macro.
36971 * debug/backtrace.c: Don't include <bp-checks.h>.
36972 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
36973 (__backtrace): Likewise.
36974 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
36976 (__backtrace): Don't use BOUNDED_1.
36977 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
36979 (__backtrace): Don't use BOUNDED_1.
36980 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
36981 (__backtrace): Don't use BOUNDED_1.
36982 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
36983 (shmat): Don't use BOUNDED_N.
36985 2013-01-31 Joseph Myers <joseph@codesourcery.com>
36988 * sysdeps/generic/bp-start.h: Remove file.
36989 * csu/libc-start.c: Don't include <bp-start.h>.
36990 (LIBC_START_MAIN): Set up __environ directly instead of using
36991 INIT_ARGV_and_ENVIRON.
36992 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
36996 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
36998 (CHECK_FCNTL): Likewise.
36999 (CHECK_N_PAGES): Likewise.
37002 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
37004 (CHECK_SIGSET_NULL_OK): Likewise.
37005 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
37007 (sigpending): Don't use CHECK_SIGSET.
37008 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
37010 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
37011 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
37013 (do_sigsuspend): Don't use CHECK_SIGSET.
37014 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
37016 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
37017 (do_sigwait): Don't use CHECK_SIGSET.
37018 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
37020 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
37021 include <bp-checks.h>.
37022 (sigpending): Don't use CHECK_SIGSET.
37023 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
37024 include <bp-checks.h>.
37025 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
37026 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
37028 (sigpending): Don't use CHECK_SIGSET.
37029 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
37031 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
37034 * sysdeps/generic/bp-semctl.h: Remove file.
37035 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
37036 <bp-checks.h> and <bp-semctl.h>.
37037 (__old_semctl): Don't use CHECK_SEMCTL.
37038 (__new_semctl): Likewise.
37039 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
37041 (__old_semctl): Don't use CHECK_SEMCTL.
37042 (__new_semctl): Likewise.
37043 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
37044 <bp-checks.h> and <bp-semctl.h>.
37045 (__old_semctl): Don't use CHECK_SEMCTL.
37046 (__new_semctl): Likewise.
37047 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
37048 <bp-checks.h> and <bp-semctl.h>.
37049 (semctl): Don't use CHECK_SEMCTL.
37052 * Makerules (elide-bp-thunks): Remove variable.
37053 (elide-routines.oS): Don't use $(elide-bp-thunks).
37054 (elide-routines.os): Likewise.
37055 (elide-routines.o): Likewise.
37056 (elide-routines.op): Likewise.
37057 (elide-routines.og): Likewise.
37058 (objects): Don't use $(bp-thunks).
37059 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
37061 (common-generated): Do not add s-proto-bp.d.
37062 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
37065 Do not generate makefile rules for bounded-pointer thunks.
37066 * sysdeps/generic/bp-thunks.h: Remove file.
37067 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
37068 * sysdeps/unix/s-proto-bp.S: Likewise.
37071 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
37072 parts of result separately when argument is not close to line from
37073 -i to i and one part of argument is small.
37074 * math/k_casinhf.c (__kernel_casinhf): Likewise.
37075 * math/k_casinhl.c (__kernel_casinhl): Likewise.
37076 * math/libm-test.inc (cacos_test): Add more tests.
37077 (casin_test): Likewise.
37078 (casinh_test): Likewise.
37079 * sysdeps/i386/fpu/libm-test-ulps: Update.
37080 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37082 2013-01-31 David S. Miller <davem@davemloft.net>
37084 * po/de.po: Update from translation team.
37086 2013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
37088 * time/tzfile.c: Include stdint.h for SIZE_MAX.
37090 2013-01-25 Thomas Schwinge <thomas@codesourcery.com>
37092 * configure.in (_AC_PROG_CC_C89): New definition.
37093 * configure: Regenerate.
37095 * configure.in (AC_PROG_CPP): New definition.
37096 * configure: Regenerate.
37098 2013-01-23 Joseph Myers <joseph@codesourcery.com>
37100 * debug/tst-backtrace.h: New file.
37101 * debug/tst-backtrace2.c: Include tst-backtrace.h.
37102 (ret): Remove variable.
37104 (FAIL): Remove macro.
37105 (NO_INLINE): Likewise.
37106 (fn1): Use match function instead of strstr.
37107 * debug/tst-backtrace3.c: Include tst-backtrace.h.
37108 (ret): Remove variable.
37110 (FAIL): Remove macro.
37111 (NO_INLINE): Likewise.
37112 (fn): Use match function instead of strstr.
37113 * debug/tst-backtrace4.c: Include tst-backtrace.h.
37114 (ret): Remove variable.
37116 (FAIL): Remove macro.
37117 (NO_INLINE): Likewise.
37118 (handle_signal): Use match function instead of strstr.
37119 * debug/tst-backtrace5.c: Include tst-backtrace.h.
37120 (ret): Remove variable.
37122 (FAIL): Remove macro.
37123 (NO_INLINE): Likewise.
37124 (handle_signal): Use match function instead of strstr.
37126 2013-01-23 Roland McGrath <roland@hack.frob.com>
37128 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
37130 2013-01-23 David S. Miller <davem@davemloft.net>
37132 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
37133 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
37134 argument of CAS if possible.
37135 * sysdeps/sparc/sparc64/bits/atomic.h
37136 (__arch_compare_and_exchange_val_32_acq): Likewise.
37137 (__arch_compare_and_exchange_val_64_acq): Likewise.
37139 2013-01-23 Pino Toscano <toscano.pino@tiscali.it>
37141 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
37142 * sysdeps/posix/ulimit.c: ... this.
37143 Include <limits.h>.
37144 * sysdeps/unix/bsd/ulimit.c: Remove file.
37146 2013-01-23 Adam Conrad <adconrad@0c3.net>
37148 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
37149 (LDFLAGS-tst-array5): Likewise.
37151 2013-01-23 Joseph Myers <joseph@codesourcery.com>
37154 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
37155 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
37156 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
37157 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
37159 2013-01-21 David S. Miller <davem@davemloft.net>
37161 * sysdeps/sparc/backtrace.c: New file.
37162 * sysdeps/sparc/sparc32/backtrace.h: New file.
37163 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
37164 * sysdeps/sparc/sparc64/backtrace.h: New file.
37165 * sysdeps/sparc/sparc64/backtrace.c: Delete.
37166 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
37169 2013-01-21 Andreas Schwab <schwab@suse.de>
37172 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
37175 2013-01-20 Andreas Schwab <schwab@linux-m68k.org>
37177 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
37179 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
37181 2013-01-18 Joseph Myers <joseph@codesourcery.com>
37182 Mark Mitchell <mark@codesourcery.com>
37183 Tom de Vries <tom@codesourcery.com>
37184 Paul Pluzhnikov <ppluzhnikov@google.com>
37186 * debug/tst-backtrace2.c: New file.
37187 * debug/tst-backtrace3.c: Likewise.
37188 * debug/tst-backtrace4.c: Likewise.
37189 * debug/tst-backtrace5.c: Likewise.
37190 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
37191 (CFLAGS-tst-backtrace3.c): Likewise.
37192 (CFLAGS-tst-backtrace4.c): Likewise.
37193 (CFLAGS-tst-backtrace5.c): Likewise.
37194 (LDFLAGS-tst-backtrace2): Likewise.
37195 (LDFLAGS-tst-backtrace3): Likewise.
37196 (LDFLAGS-tst-backtrace4): Likewise.
37197 (LDFLAGS-tst-backtrace5): Likewise.
37198 (tests): Add new tests tst-backtrace2, tst-backtrace3,
37199 tst-backtrace4 and tst-backtrace5.
37201 2013-01-18 Anton Blanchard <anton@samba.org>
37202 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
37204 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
37205 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
37206 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
37207 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
37208 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
37209 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
37210 "+r" and remove output regs list as redundant. Add explicit inline
37211 asm to specify register of return val to work around compiler codegen
37212 bug. Remove (int) cast on return value. Add return type parameter to
37213 use in macro so that this macro does not truncate return value for
37215 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
37216 pass to INTERNAL_VSYSCALL_NCS.
37217 (INLINE_VSYSCALL): Add 'long int' as return type to
37218 INTERNAL_VSYSCALL_NCS macro invocation.
37219 (INTERNAL_VSYSCALL): Add 'long int' as return type to
37220 INTERNAL_VSYSCALL_NCS macro invocation.
37221 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
37223 2013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
37226 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
37227 Fix application of SIMD FP exception mask.
37229 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
37230 mp_no from a power of two.
37231 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
37232 __mpexp_twomm1. Use __pow_mp.
37234 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
37237 2013-01-17 David S. Miller <davem@davemloft.net>
37239 * sysdeps/sparc/fpu/libm-test-ulps: Update.
37241 2013-01-17 Joseph Myers <joseph@codesourcery.com>
37244 * include/complex.h: Condition contents on [!_COMPLEX_H].
37245 (__kernel_casinhf): New prototype.
37246 (__kernel_casinh): Likewise.
37247 (__kernel_casinhl): Likewise.
37248 * math/Makefile (libm_calls): Add k_casinh.
37249 * math/k_casinh.c: New file.
37250 * math/k_casinhf.c: Likewise.
37251 * math/k_casinhl.c: Likewise.
37252 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
37253 finite nonzero arguments.
37254 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
37255 finite nonzero arguments.
37256 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
37257 finite nonzero arguments.
37258 * math/s_casinh.c: Do not include <float.h>.
37259 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
37260 * math/s_casinhf.c: Do not include <float.h>.
37261 (__casinhf): Move code for finite nonzero arguments to
37263 * math/s_casinhl.c: Do not include <float.h>.
37264 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
37266 (__casinhl): Move code for finite nonzero arguments to
37268 * math/libm-test.inc (cacos_test): Add more tests.
37269 * sysdeps/i386/fpu/libm-test-ulps: Update.
37270 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37272 2013-01-17 Pino Toscano <toscano.pino@tiscali.it>
37274 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
37275 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
37276 [!HAVE_MREMAP]: Remove [defined linux] case.
37277 * malloc/arena.c: Do not include <malloc-sysdep.h>.
37279 2013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
37281 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
37283 2013-01-17 H.J. Lu <hongjiu.lu@intel.com>
37285 * elf/elf.h (R_386_SIZE32): New relocation.
37286 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
37288 (elf_machine_rela): Likewise.
37289 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
37290 R_X86_64_SIZE64 and R_X86_64_SIZE32.
37292 2013-01-17 Joseph Myers <joseph@codesourcery.com>
37294 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
37295 (FP_FAST_FMA): Do not define.
37296 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
37297 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
37298 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
37299 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
37300 !_SOFT_FLOAT]: Likewise.
37301 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
37302 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
37304 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
37305 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
37306 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
37307 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
37308 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
37309 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
37312 2013-01-16 Andreas Schwab <schwab@suse.de>
37315 * include/stdlib.h (__mktemp): Add declaration.
37316 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
37317 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
37319 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
37321 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
37323 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
37324 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
37325 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
37327 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
37328 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
37330 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
37332 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
37333 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
37334 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
37336 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
37337 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
37339 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
37341 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
37343 2013-01-15 David S. Miller <davem@davemloft.net>
37345 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
37346 trunc{,f} to libm-sysdep_routes.
37347 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
37348 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
37350 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
37351 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
37353 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
37355 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
37356 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
37357 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
37358 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
37359 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
37360 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
37361 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
37362 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
37364 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
37365 nearbyint{,f} to libm-sysdep_routes.
37366 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
37367 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
37369 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
37371 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
37373 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
37375 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
37376 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
37377 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
37379 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
37380 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
37382 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
37383 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
37384 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
37386 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
37387 libc_feholdexcept and libc_fesetenv.
37389 2013-01-15 Mike Frysinger <vapier@gentoo.org>
37391 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
37393 2013-01-14 David S. Miller <davem@davemloft.net>
37395 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
37396 (SPARC_ASM_VIS2_IFUNC): Likewise.
37397 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
37398 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
37399 use of 'siam' instruction.
37400 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
37402 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
37404 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
37406 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
37407 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
37408 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
37409 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
37410 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
37412 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
37414 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
37416 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
37418 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
37419 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
37420 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
37421 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
37422 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
37424 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
37425 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
37426 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
37428 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
37429 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
37430 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
37431 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
37432 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
37433 routines to libm-sysdep_routines.
37434 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
37436 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
37437 fdim/fdimf to libm-sysdep_routines.
37438 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
37440 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
37441 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
37443 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
37444 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
37445 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
37446 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
37447 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
37448 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
37449 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
37451 2013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
37453 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
37454 to optimize copies.
37456 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
37457 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
37458 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
37460 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
37461 local variable MPTWO.
37462 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
37465 2013-01-13 Mike Frysinger <vapier@gentoo.org>
37467 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
37470 2013-01-13 Mike Frysinger <vapier@gentoo.org>
37472 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
37474 2013-01-13 Mike Frysinger <vapier@gentoo.org>
37476 * manual/pattern.texi (glob_t): Document gl_flags.
37477 (glob64_t): Likewise.
37479 2013-01-11 David S. Miller <davem@davemloft.net>
37481 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
37482 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
37483 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
37484 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
37485 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
37486 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
37487 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
37488 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
37489 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
37490 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
37491 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
37492 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
37493 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
37495 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
37496 sparc V9 rather than using V8 code.
37497 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
37498 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
37500 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
37502 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
37505 2013-01-11 Roland McGrath <roland@hack.frob.com>
37507 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
37508 not in the main loop.
37509 * configure: Regenerated.
37511 2013-01-11 Joseph Myers <joseph@codesourcery.com>
37513 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
37514 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
37516 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
37517 [!__GLIBC_HAVE_LONG_LONG] case.
37518 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
37519 condition to just #else.
37520 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
37521 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
37522 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
37523 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
37525 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
37526 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
37527 #elif condition to just #else.
37528 * sysdeps/unix/sysv/linux/sys/sysmacros.h
37529 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
37530 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
37531 #elif condition to just #else.
37533 2013-01-11 Steve Ellcey <sellcey@mips.com>
37535 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
37536 (EF_MIPS_ARCH_64): Fix value.
37537 (EF_MIPS_ARCH_32R2): New.
37538 (EF_MIPS_ARCH_64R2): New.
37540 2013-01-11 H.J. Lu <hongjiu.lu@intel.com>
37542 * Makeconfig (+link-pie-before-libc): New.
37543 (+link-pie-after-libc): Likewise.
37544 (+link-pie-tests): Likewise.
37545 (+link-pie): Rewritten.
37546 (link-before-libc): Remove $(config-LDFLAGS).
37547 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
37548 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
37549 (config-LDFLAGS): Renamed to ...
37550 (rtld-LDFLAGS): This.
37551 (rtld-tests-LDFLAGS): New macro.
37552 (link-libc-rpath-link): Likewise.
37553 (link-libc-tests-rpath-link): Likewise.
37554 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
37555 (link-libc): Prepand $(link-libc-rpath-link).
37556 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
37557 (test-program-prefix): New macro.
37558 (test-via-rtld-prefix): Likewise.
37559 (test-program-cmd): Likewise.
37560 (host-test-program-cmd): Likewise.
37561 * Makefile ($(common-objpfx)testrun.sh): Replace
37562 $(run-program-prefix) with $(test-program-prefix).
37563 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
37565 ($(common-objpfx)shlib.lds): Likewise.
37566 (build-module-helper): Likewise.
37567 ($(common-objpfx)format.lds): Likewise.
37568 * Rules (binaries-pie-tests): New.
37569 (binaries-pie-notests): Likewise.
37570 (binaries-pie): Rewritten.
37571 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
37572 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
37573 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
37574 (make-test-out): Replace $(host-built-program-cmd) with
37575 $(host-test-program-cmd).
37576 * config.make.in (build-hardcoded-path-in-tests): New variable.
37577 * configure.in (--enable-hardcoded-path-in-tests): New configure
37579 (hardcoded_path_in_tests): New AC_SUBST.
37580 * configure: Regenerated.
37581 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
37582 $(built-program-cmd) with $(test-program-cmd).
37583 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
37584 (test_program_cmd): This.
37585 * elf/Makefile ($(objpfx)order.out): Run test with
37586 $(test-program-prefix).
37587 ($(objpfx)order2.out): Likewise.
37588 ($(objpfx)tst-initorder.out): Likewise.
37589 ($(objpfx)tst-initorder2.out): Likewise.
37590 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
37591 $(test-program-cmd).
37592 ($(objpfx)tst-array1-static.out): Likewise.
37593 ($(objpfx)tst-array2.out): Likewise.
37594 ($(objpfx)tst-array3.out): Likewise.
37595 ($(objpfx)tst-array4.out): Likewise.
37596 ($(objpfx)tst-array5.out): Likewise.
37597 ($(objpfx)tst-array5-static.out): Likewise.
37598 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
37599 $(test-program-cmd).
37600 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
37601 $(run-program-prefix) with $(test-program-prefix).
37602 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
37603 (test_program_prefix): This.
37604 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
37605 $(run-program-prefix) with $(test-program-prefix).
37606 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
37607 (test_program_prefix): This.
37608 * iconvdata/tst-tables.sh: Likewise.
37609 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
37610 $(run-program-prefix) with $(test-program-prefix).
37611 ($(objpfx)tst-translit.out): Likewise.
37612 ($(objpfx)tst-gettext2.out): Likewise.
37613 ($(objpfx)tst-gettext4.out): Likewise.
37614 ($(objpfx)tst-gettext6.out): Likewise.
37615 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
37616 (test_program_prefix): This.
37617 * intl/tst-gettext2.sh: Likewise.
37618 * intl/tst-gettext4.sh Likewise.
37619 * intl/tst-gettext6.sh: Likewise.
37620 * intl/tst-translit.sh: Likewise.
37621 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
37622 with $(test-program-cmd).
37623 * libio/Makefile ($(objpfx)test-freopen.out): Replace
37624 $(run-program-prefix) with $(test-program-prefix).
37625 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
37626 (test_program_prefix): This.
37627 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
37628 $(run-program-prefix) with $(test-program-prefix).
37629 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
37630 (test_program_prefix): This.
37631 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
37632 * posix/Makefile ($(objpfx)globtest.out): Replace
37633 $(run-via-rtld-prefix) and $(test-wrapper) with
37634 $(test-program-prefix) and $(test-via-rtld-prefix).
37635 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
37636 $(test-program-prefix).
37637 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
37638 $(host-test-program-cmd).
37639 (tst-spawn-ARGS): Likewise.
37640 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
37641 $(test-program-prefix).
37642 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
37643 (test_via_rtld_prefix): This.
37644 (test_wrapper): Renamed to ...
37645 (test_program_prefix): This.
37646 (run_program_prefix): Replaced by test_program_prefix.
37647 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
37648 (test_program_prefix): This.
37649 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
37650 with $(host-test-program-cmd).
37651 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
37652 $(run-program-prefix) with $(test-program-prefix).
37653 ($(objpfx)tst-printf.out): Likewise.
37654 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
37655 $(test-program-cmd).
37656 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
37657 (test_program_prefix): This.
37658 * stdio-common/tst-unbputc.sh: Likewise.
37659 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
37660 $(run-program-prefix) with $(test-program-prefix).
37661 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
37662 (test_program_prefix): This.
37663 * string/Makefile ($(objpfx)tst-svc.out): Replace
37664 $(built-program-cmd) with $(test-program-cmd).
37666 2013-01-11 Andreas Jaeger <aj@suse.de>
37669 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
37670 value. Sync with Linux 3.7.
37672 2013-01-10 David S. Miller <davem@davemloft.net>
37674 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
37675 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
37676 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
37678 2013-01-10 Roland McGrath <roland@hack.frob.com>
37680 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
37682 * configure: Regenerated.
37684 2013-01-10 David S. Miller <davem@davemloft.net>
37686 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
37687 sparc V9 rather than using V8 code.
37688 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
37689 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
37691 2013-01-10 Roland McGrath <roland@hack.frob.com>
37693 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
37694 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
37695 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
37696 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
37697 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
37698 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
37699 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
37700 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
37701 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
37702 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
37703 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
37704 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
37705 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
37706 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
37707 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
37708 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
37709 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
37710 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
37711 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
37712 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
37713 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
37714 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
37715 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
37716 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
37717 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
37718 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
37719 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
37721 2013-01-10 David S. Miller <davem@davemloft.net>
37723 * sysdeps/sparc/fpu/libm-test-ulps: Update.
37725 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
37727 * posix/Makefile (tests-static): New variable.
37728 (tests): Add $(tests-static).
37729 (tst-exec-static-ARGS): New variable.
37730 (tst-spawn-static-ARGS): Likewise.
37731 * posix/tst-exec-static.c: New file.
37732 * posix/tst-spawn-static.c: Likewise.
37733 * posix/tst-exec.c: Support run directly.
37734 * posix/tst-spawn.c: Likewise.
37736 2013-01-10 Joseph Myers <joseph@codesourcery.com>
37738 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
37740 * math/bits/mathcalls.h (llrint): Likewise.
37741 (llround): Likewise.
37742 * stdlib/stdlib.h (struct drand48_data): Likewise.
37743 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
37744 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
37745 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
37747 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
37749 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
37750 (elf_greg_t): Likewise.
37751 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
37752 (__jmp_buf): Likewise.
37753 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
37755 (llrint): Likewise, for all definitions.
37756 (llrintl): Likewise.
37758 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
37759 Remove [__GNUC__] condition.
37760 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
37761 condition to just [__USE_ISOC99].
37762 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
37764 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
37767 * sysdeps/unix/sysv/linux/x86/bits/environments.h
37768 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
37770 (_POSIX_V6_ILP32_OFF32): Likewise.
37771 (_XBS5_ILP32_OFF32): Likewise.
37772 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
37773 (__ILP32_OFFBIG_LDFLAGS): Likewise.
37775 2013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
37777 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
37779 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
37780 doubles __mpexp_twomm1. Adjust usage.
37781 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
37784 2013-01-10 Andreas Schwab <schwab@suse.de>
37787 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
37788 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
37790 2013-01-09 David S. Miller <davem@davemloft.net>
37793 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
37794 (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
37795 (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
37796 (TCP_FASTOPEN): Define.
37797 (tcp_repair_opt): New structure.
37798 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
37800 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
37801 (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
37802 (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
37803 (tcp_cookie_transactions): New structure.
37805 2013-01-09 Anton Blanchard <anton@samba.org>
37807 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
37808 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
37809 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
37810 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
37812 2013-01-09 Joseph Myers <joseph@codesourcery.com>
37814 * include/features.h (__USE_ANSI): Remove.
37816 2013-01-09 Roland McGrath <roland@hack.frob.com>
37818 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
37820 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
37822 2013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
37824 * sysdeps/s390/fpu/libm-test-ulps: Update.
37826 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
37828 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
37832 (denorm): Likewise.
37833 (__mp_dbl): Likewise.
37834 (__dbl_mp): Likewise.
37835 (add_magnitudes): Likewise.
37836 (sub_magnitudes): Likewise.
37842 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
37846 (denorm): Likewise.
37847 (__mp_dbl): Likewise.
37848 (__dbl_mp): Likewise.
37849 (add_magnitudes): Likewise.
37850 (sub_magnitudes): Likewise.
37856 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
37860 (denorm): Likewise.
37861 (__mp_dbl): Likewise.
37862 (__dbl_mp): Likewise.
37863 (add_magnitudes): Likewise.
37864 (sub_magnitudes): Likewise.
37871 2013-01-08 Joseph Myers <joseph@codesourcery.com>
37873 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
37874 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
37875 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
37876 2 && __USE_EXTERN_INLINES]: Likewise.
37878 2013-01-08 Andreas Jaeger <aj@suse.de>
37881 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
37883 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
37884 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
37886 2013-01-07 Anton Blanchard <anton@samba.org>
37888 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
37889 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
37890 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
37891 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
37892 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
37893 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
37894 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
37895 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
37896 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
37897 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
37898 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
37899 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
37900 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
37901 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
37902 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
37903 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
37904 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
37905 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
37906 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
37907 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
37908 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
37909 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
37910 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
37911 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
37912 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
37913 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
37914 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
37915 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
37916 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
37917 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
37918 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
37919 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
37920 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
37921 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
37922 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
37923 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
37924 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
37925 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
37926 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
37927 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
37928 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
37929 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
37930 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
37932 2013-01-07 Joseph Myers <joseph@codesourcery.com>
37934 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
37935 (__MALLOC_PMT): Likewise.
37936 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
37937 [__GNUC__], only on [_LIBC].
37938 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
37939 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
37940 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
37941 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
37942 forward declaration.
37943 (realloc_hook_ini): Likewise.
37944 (memalign_hook_ini): Likewise.
37945 (__libc_memalign): Do not use __MALLOC_PMT in variable
37947 (__libc_valloc): Likewise.
37948 (__libc_pvalloc): Likewise.
37949 (__libc_calloc): Likewise.
37950 (__posix_memalign): Likewise.
37953 * math/s_casinh.c: Include <float.h>.
37954 (__casinh): Do not do computation with squaring and square root
37955 for large arguments.
37956 * math/s_casinhf.c: Include <float.h>.
37957 (__casinhf): Do not do computation with squaring and square root
37958 for large arguments.
37959 * math/s_casinhl.c: Include <float.h>.
37960 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
37961 (__casinhl): Do not do computation with squaring and square root
37962 for large arguments.
37963 * math/libm-test.inc (casin_test): Add more tests.
37964 (casinh_test): Likewise.
37965 * sysdeps/i386/fpu/libm-test-ulps: Update.
37966 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37968 2013-01-04 H.J. Lu <hongjiu.lu@intel.com>
37970 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
37971 (__x86_64_raw_data_cache_size): Likewise.
37972 (__x86_64_data_cache_size_half): Likewise.
37973 (__x86_64_raw_data_cache_size_half): Likewise.
37974 (__x86_64_shared_cache_size): Likewise.
37975 (__x86_64_raw_shared_cache_size): Likewise.
37976 (__x86_64_shared_cache_size_half): Likewise.
37977 (__x86_64_raw_shared_cache_size_half): Likewise.
37978 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
37980 (__x86_data_cache_size): This.
37981 (__x86_64_raw_data_cache_size): Renamed to ...
37982 (__x86_raw_data_cache_size): This.
37983 (__x86_64_data_cache_size_half): Renamed to ...
37984 (__x86_data_cache_size_half): This.
37985 (__x86_64_raw_data_cache_size_half): Renamed to ...
37986 (__x86_raw_data_cache_size_half): This.
37987 (__x86_64_shared_cache_size): Renamed to ...
37988 (__x86_shared_cache_size): This.
37989 (__x86_64_raw_shared_cache_size): Renamed to ...
37990 (__x86_raw_shared_cache_size): This.
37991 (__x86_64_shared_cache_size_half): Renamed to ...
37992 (__x86_shared_cache_size_half): This.
37993 (__x86_64_raw_shared_cache_size_half): Renamed to ...
37994 (__x86_raw_shared_cache_size_half): This.
37995 * sysdeps/x86_64/memcpy.S: Updated.
37996 * sysdeps/x86_64/memset.S: Likewise.
37997 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
37998 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
37999 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
38001 2013-01-04 David S. Miller <davem@davemloft.net>
38003 * sysdeps/sparc/fpu/libm-test-ulps: Update.
38005 2013-01-04 Andreas Schwab <schwab@linux-m68k.org>
38007 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
38008 1 to avoid redefinition warning.
38009 (__USE_GNU): Don't define.
38010 (init_signaling_nan): Protoize.
38012 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
38014 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
38016 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
38017 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
38018 (__cpymn): Likewise.
38019 (norm): Remove commented code.
38020 (denorm): Likewise.
38021 (__mp_dbl): Likewise.
38023 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
38024 (__cpymn): Likewise.
38025 (norm): Remove commented code.
38026 (denorm): Likewise.
38027 (__mp_dbl): Likewise.
38030 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
38031 mp_no value for 1.0 and 2.0.
38032 (norm): Use RADIXI instead of radixi.d.
38033 (denorm): Likewise.
38034 (__mul): Use 0.0 instead of zero.d.
38035 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
38036 mp_no value for 1.0 and 2.0.
38037 (norm): Use RADIXI instead of radixi.d.
38038 (denorm): Likewise.
38039 (__mul): Use 0.0 instead of zero.d.
38041 2013-01-04 Joseph Myers <joseph@codesourcery.com>
38044 * math/s_casinh.c (__casinh): Reduce finite argument to first
38045 quadrant then set signs of results at the end.
38046 * math/s_casinhf.c (__casinhf): Likewise.
38047 * math/s_casinhl.c (__casinhl): Likewise.
38048 * math/libm-test.inc (casin_test): Add more tests.
38049 (casinh_test): Likewise.
38050 * sysdeps/i386/fpu/libm-test-ulps: Update.
38051 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38053 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
38055 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
38057 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
38059 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
38061 (denorm): Likewise.
38062 (__mp_dbl): Likewise.
38065 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
38066 and adjust the header comment.
38068 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
38069 variable name from declaration.
38071 2013-01-03 H.J. Lu <hongjiu.lu@intel.com>
38073 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
38074 Initialize COMMON_CPUID_INDEX_7 element.
38075 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
38076 (CPUID_RTM): Likewise.
38077 (HAS_RTM): Likewise.
38078 (COMMON_CPUID_INDEX_7): New enum.
38080 2013-01-03 Andreas Schwab <schwab@linux-m68k.org>
38083 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
38084 size is zero, record memory as freed.
38086 2013-01-03 Andreas Jaeger <aj@suse.de>
38088 * po/ia.po: Add new Interlingua translation.
38090 2012-01-03 Allan McRae <allan@archlinux.org>
38092 * locale/programs/localedef.c: Fix description of '--posix' flag.
38094 2013-01-02 Joseph Myers <joseph@codesourcery.com>
38096 * NEWS: Update dates in second copyright notice.
38097 * README: Update copyright dates in example.
38098 * manual/libc.texinfo: Update copyright dates.
38099 * scripts/test-installation.pl: Update copyright date in --version
38102 * hurd/ctty-input.c: Fix copyright notice formatting.
38103 * hurd/ctty-output.c: Likewise.
38104 * hurd/dtable.c: Likewise.
38105 * hurd/hurd-raise.c: Likewise.
38106 * hurd/hurdprio.c: Likewise.
38107 * hurd/msgportdemux.c: Likewise.
38108 * misc/sys/file.h: Likewise.
38109 * misc/sys/ioctl.h: Likewise.
38110 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
38111 * sysdeps/mach/hurd/chdir.c: Likewise.
38112 * sysdeps/mach/hurd/fchdir.c: Likewise.
38113 * sysdeps/mach/hurd/rename.c: Likewise.
38114 * sysdeps/mach/hurd/rmdir.c: Likewise.
38115 * sysdeps/mach/hurd/seekdir.c: Likewise.
38116 * sysdeps/mach/hurd/setsid.c: Likewise.
38117 * sysdeps/posix/wait3.c: Likewise.
38119 * All files with FSF copyright notices: Update copyright dates
38120 using scripts/update-copyrights.
38121 * intl/plural.c: Regenerated.
38122 * locale/programs/charmap-kw.h: Likewise.
38123 * locale/programs/locfile-kw.h: Likewise.
38125 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
38127 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
38130 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
38131 calculation loop and add branch prediction.
38133 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
38134 check access beyond bounds of m1np.
38136 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
38138 (__inv): Remove local variable MPTWO to use the global
38140 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
38141 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
38143 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
38144 MP3HALFS static const.
38146 2013-01-01 David S. Miller <davem@davemloft.net>
38148 * po/ca.po: Update from translation team.
38150 2013-01-01 Joseph Myers <joseph@codesourcery.com>
38152 * scripts/update-copyrights: New file.
38153 * Makeconfig: Reformat copyright notice.
38154 * ctype/ctype.h: Likewise.
38155 * debug/swprintf_chk.c: Likewise.
38156 * elf/dl-cache.c: Likewise.
38157 * elf/dl-debug.c: Likewise.
38158 * elf/dl-object.c: Likewise.
38159 * grp/initgroups.c: Likewise.
38160 * hurd/Makefile: Likewise.
38161 * hurd/hurd/signal.h: Likewise.
38162 * hurd/hurdfault.c: Likewise.
38163 * hurd/hurdioctl.c: Likewise.
38164 * hurd/hurdlookup.c: Likewise.
38165 * hurd/intr-msg.c: Likewise.
38166 * iconv/gconv_open.c: Likewise.
38167 * libio/swprintf.c: Likewise.
38168 * locale/lc-ctype.c: Likewise.
38169 * locale/nl_langinfo.c: Likewise.
38170 * mach/Machrules: Likewise.
38171 * mach/Makefile: Likewise.
38172 * malloc/obstack.h: Likewise.
38173 * manual/Makefile: Likewise.
38174 * manual/tsort.awk: Likewise.
38175 * misc/bits/stab.def: Likewise.
38176 * nis/nis_print_group_entry.c: Likewise.
38177 * nis/nis_table.c: Likewise.
38178 * nis/nss_compat/compat-pwd.c: Likewise.
38179 * nis/nss_compat/compat-spwd.c: Likewise.
38180 * po/Makefile: Likewise.
38181 * posix/fnmatch.c: Likewise.
38182 * posix/regex.h: Likewise.
38183 * resolv/Makefile: Likewise.
38184 * resolv/nss_dns/dns-network.c: Likewise.
38185 * resolv/res_hconf.c: Likewise.
38186 * scripts/gen-sorted.awk: Likewise.
38187 * soft-fp/soft-fp.h: Likewise.
38188 * stdio-common/printf.h: Likewise.
38189 * stdlib/monetary.h: Likewise.
38190 * stdlib/random.c: Likewise.
38191 * stdlib/random_r.c: Likewise.
38192 * sysdeps/generic/Makefile: Likewise.
38193 * sysdeps/gnu/Makefile: Likewise.
38194 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
38195 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
38196 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
38197 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
38198 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
38199 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
38200 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
38201 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
38202 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
38203 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
38204 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
38205 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
38206 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
38207 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
38208 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
38209 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
38210 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
38211 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
38212 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
38213 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
38214 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
38215 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
38216 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
38217 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
38218 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
38219 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
38220 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
38221 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
38222 * sysdeps/mach/hurd/errnos.awk: Likewise.
38223 * sysdeps/mach/hurd/fork.c: Likewise.
38224 * sysdeps/mach/hurd/getcwd.c: Likewise.
38225 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
38226 * sysdeps/mach/hurd/mmap.c: Likewise.
38227 * sysdeps/mach/hurd/utimes.c: Likewise.
38228 * sysdeps/mach/hurd/xmknod.c: Likewise.
38229 * sysdeps/posix/profil.c: Likewise.
38230 * sysdeps/posix/readdir_r.c: Likewise.
38231 * sysdeps/powerpc/bits/mathdef.h: Likewise.
38232 * sysdeps/powerpc/bits/setjmp.h: Likewise.
38233 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
38234 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
38235 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
38236 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
38237 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
38238 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
38239 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
38240 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
38241 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
38242 * sysdeps/pthread/lio_listio.c: Likewise.
38243 * sysdeps/sparc/dl-procinfo.h: Likewise.
38244 * sysdeps/unix/i386/sysdep.S: Likewise.
38245 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
38246 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
38247 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
38248 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
38249 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
38250 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
38251 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
38252 * sysdeps/unix/sysv/linux/speed.c: Likewise.
38253 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
38254 * sysdeps/wordsize-32/divdi3.c: Likewise.
38255 * time/sys/time.h: Likewise.
38256 * wcsmbs/Makefile: Likewise.
38258 2013-01-01 David S. Miller <davem@davemloft.net>
38260 * po/fr.po: Update from translation team.
38262 * catgets/gencat.c: Update copyright year.
38263 * csu/version.c: Likewise.
38264 * debug/catchsegv.sh: Likewise.
38265 * debug/pcprofiledump.c: Likewise.
38266 * debug/xtrace.sh: Likewise.
38267 * elf/ldconfig.c: Likewise.
38268 * elf/ldd.bash.in: Likewise.
38269 * elf/pldd.c: Likewise.
38270 * elf/sotruss.ksh: Likewise.
38271 * elf/sprof.c: Likewise.
38272 * iconv/iconv_prog.c: Likewise.
38273 * iconv/iconvconfig.c: Likewise.
38274 * locale/programs/locale.c: Likewise.
38275 * locale/programs/localedef.c: Likewise.
38276 * login/programs/pt_chown.c: Likewise.
38277 * malloc/memusage.sh: Likewise.
38278 * malloc/memusagestat.c: Likewise.
38279 * malloc/mtrace.pl: Likewise.
38280 * nscd/nscd.c: Likewise.
38281 * nss/getent.c: Likewise.
38282 * nss/makedb.c: Likewise.
38283 * posix/getconf.c: Likewise.
38285 2012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
38287 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
38290 2012-12-30 Mike Frysinger <vapier@gentoo.org>
38292 * math/bits/mathcalls.h (modf): Use __nonnull.
38294 2012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
38296 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
38297 (split): Use macro CN instead of the bare value.
38298 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
38300 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
38301 instead of the bare value.
38302 (power1): Likewise.
38304 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
38306 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
38308 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
38310 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
38312 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
38313 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
38314 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
38315 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
38317 2012-12-28 Andreas Jaeger <aj@suse.de>
38319 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
38320 values are from Linux 3.7.
38322 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
38323 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
38325 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
38327 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
38330 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
38332 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
38333 variables with preprocessor constants.
38334 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
38335 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
38336 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
38338 2012-12-27 Bruno Haible <bruno@clisp.org>
38341 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
38344 2012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
38346 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
38347 and use variable directly.
38348 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
38350 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
38352 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
38353 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
38355 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
38356 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
38357 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
38358 include directive. Remove local variable MPONE.
38359 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
38360 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
38361 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
38363 2012-12-25 David S. Miller <davem@davemloft.net>
38365 * version.h (RELEASE): Set to "development".
38366 (VERSION): Set to "2.17.90".
38367 * NEWS: Add 2.18 section.
38369 2012-12-21 David S. Miller <davem@davemloft.net>
38371 * po/hr.po: Update from translation team.
38373 2012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
38375 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
38377 2012-12-19 Steve Ellcey <sellcey@mips.com>
38379 * NEWS: Mention new memcpy for MIPS.
38381 2012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
38383 * manual/contrib.texi (Contributors): Spelling correction.
38385 2012-12-15 David S. Miller <davem@davemloft.net>
38387 * po/ru.po: Update from translation team.
38389 2012-12-13 David S. Miller <davem@davemloft.net>
38391 * NEWS: Mention IFUNC testsuite enhancements.
38393 * po/pl.po: Update from translation team.
38394 * po/bg.po: Likewise.
38396 * manual/contrib.texi (Contributors): Update entries for Hongjiu
38397 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
38399 2012-12-11 David S. Miller <davem@davemloft.net>
38401 * po/sv.po: Update from translation team.
38403 * po/vi.po: Update from translation team.
38405 * po/cs.po: Update from translation team.
38407 * po/de.po: Update from translation team.
38408 * po/eo.po: Likewise.
38409 * po/nl.po: Likewise.
38411 2012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
38414 * manual/argp.texi (Argp Helper Functions): Move node to follow
38415 Argp Parsing State.
38418 * manual/conf.texi (Limits on File System Capacity): Mention if
38419 terminating null is included in the max size.
38421 2012-12-10 Andreas Jaeger <aj@suse.de>
38423 * po/cs.po: Update from translation team.
38425 2012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
38427 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
38428 void pointer and cast to uintptr_t.
38429 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
38431 * sysdeps/s390/s390-64/memcpy.S: Likewise.
38432 * sysdeps/s390/s390-64/memset.S: Likewise.
38434 2012-12-08 Benno Schulenberg <bensberg@justemail.net>
38437 * menual/message.texi (Message Translation): Fix typos.
38438 (Helper programs for gettext): Likewise.
38440 2012-12-07 Andreas Schwab <schwab@linux-m68k.org>
38443 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
38446 2012-12-07 David S. Miller <davem@davemloft.net>
38448 * po/libc.pot: Update.
38450 2012-12-07 Richard Henderson <rth@redhat.com>
38453 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
38454 normal/normal case to before the switch.
38455 (_FP_DIV): Likewise.
38457 2012-12-06 Carlos O'Donell <carlos@systemhalted.org>
38458 Mike Frysinger <vapier@gentoo.org>
38460 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
38461 check for __NR_fadvise64_64.
38463 2012-12-06 Chris Metcalf <cmetcalf@tilera.com>
38465 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
38466 0, not just to plain "0" as a statement.
38467 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
38470 2012-12-06 Joseph Myers <joseph@codesourcery.com>
38472 * NEWS: Use sourceware.org in Bugzilla URL.
38474 2012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
38476 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
38477 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
38479 * stdio-common/tst-put-error.c (do_test): Add newline to the
38480 padded test to ensure flush.
38482 2012-12-05 Jeff Law <law@redhat.com>
38484 * sunrpc/etc.rpc (fedfs_admin): Add entry.
38486 2012-12-05 Joseph Myers <joseph@codesourcery.com>
38488 * README: Don't refer to ports add-on as distributed separately.
38489 Mention AArch64 in list of systems supported in the ports add-on.
38491 * LICENSES: Add more non-FSF copyright and license notices.
38493 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
38496 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
38498 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
38499 10000 as width of padded output.
38501 2012-12-04 Joseph Myers <joseph@codesourcery.com>
38503 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
38505 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
38506 variable LX with __attribute__ ((unused)).
38507 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
38509 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
38510 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
38511 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
38512 with __attribute__ ((unused)).
38514 2012-12-04 David S. Miller <davem@abraco.davemloft.net>
38516 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
38518 2012-12-04 Joseph Myers <joseph@codesourcery.com>
38520 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
38521 (CFLAGS-nldbl-acos.c): New variable.
38522 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
38523 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
38524 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
38525 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
38526 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
38527 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
38528 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
38529 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
38530 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
38531 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
38532 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
38533 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
38534 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
38535 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
38536 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
38537 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
38538 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
38539 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
38540 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
38541 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
38542 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
38543 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
38544 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
38545 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
38546 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
38547 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
38548 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
38549 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
38550 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
38551 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
38552 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
38553 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
38554 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
38555 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
38556 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
38557 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
38558 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
38559 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
38560 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
38561 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
38562 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
38563 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
38564 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
38565 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
38566 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
38567 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
38568 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
38569 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
38570 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
38571 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
38572 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
38573 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
38574 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
38575 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
38576 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
38577 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
38578 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
38579 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
38580 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
38581 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
38582 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
38583 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
38584 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
38585 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
38586 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
38587 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
38588 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
38589 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
38590 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
38591 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
38592 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
38593 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
38594 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
38595 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
38596 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
38597 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
38598 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
38599 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
38600 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
38601 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
38602 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
38603 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
38604 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
38605 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
38606 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
38607 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
38608 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
38609 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
38610 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
38611 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
38612 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
38613 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
38614 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
38615 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
38616 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
38617 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
38618 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
38620 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
38621 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
38624 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
38625 whole low double instead of just low 47 bits when splitting values
38628 2012-12-03 Allan McRae <allan@archlinux.org>
38630 * manual/stdio.texi (Predefined Printf Handlers): Remove
38631 @hsep and @vsep usage.
38633 2012-12-03 Mike Frysinger <vapier@gentoo.org>
38635 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
38636 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
38638 2012-12-03 Jeff Law <law@redhat.com>
38640 * time/sys/time.h (settimeofday): Do not mark TV argument
38643 2012-12-01 Mike Frysinger <vapier@gentoo.org>
38645 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
38646 when currently writing and seek to current position when not.
38647 * libio/Makefile (tests): Remove bug-fclose1.
38648 * libio/bug-fclose1.c: Delete.
38650 2012-12-01 Joseph Myers <joseph@codesourcery.com>
38652 * manual/arith.texi (feenableexcept): Fix typo.
38653 (fedisableexcept): Likewise.
38655 2012-11-30 Roland McGrath <roland@hack.frob.com>
38657 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
38658 second, differently-typed declaration, rather than a cast.
38660 2012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
38662 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
38663 * include/rpc/svc.h: ... here.
38665 2012-11-30 Aurelien Jarno <aurel32@debian.org>
38668 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
38669 depending n and resplen2 to catch cases where answer
38672 2012-11-29 Carlos O'Donell <carlos@systemhalted.org>
38674 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
38675 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
38677 2012-11-29 Mike Frysinger <vapier@gentoo.org>
38679 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
38681 2012-11-29 Roland McGrath <roland@hack.frob.com>
38683 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
38685 2012-11-28 Jeff Law <law@redhat.com>
38688 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
38689 dataset_temporary. Track alloca usage into alloca_used.
38690 If dataset is large allocate and release it via malloc/free.
38692 2012-06-04 Florian Weimer <fweimer@redhat.com>
38695 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
38697 2012-11-28 David S. Miller <davem@davemloft.net>
38699 * sysdeps/sparc/fpu/libm-test-ulps: Update.
38701 2012-11-28 Joseph Myers <joseph@codesourcery.com>
38704 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
38705 of pi/2 rounded to nearest to 64 bits.
38706 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
38707 nearest to 64 bits.
38708 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
38711 2012-11-28 Jeff Law <law@redhat.com>
38712 Martin Osvald <mosvald@redhat.com>
38715 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
38716 * sunrpc/svc.c: Include time.h.
38717 (__svc_accept_failed): New function.
38718 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
38719 any reason other than EINTR, call __svc_accept_failed.
38720 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
38721 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
38723 2012-11-28 Andreas Schwab <schwab@suse.de>
38725 * scripts/abilist.awk: Also handle indirect functions in .opd
38728 2012-11-28 Joseph Myers <joseph@codesourcery.com>
38731 * sysdeps/x86/fpu/powl_helper.c: New file.
38732 * sysdeps/x86/fpu/Makefile: Likewise.
38733 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
38735 (__ieee754_powl): Use __powl_helper for finite arguments except
38736 integer exponents below 8.
38737 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
38739 (__ieee754_powl): Use __powl_helper for finite arguments except
38740 integer exponents below 8.
38741 * math/libm-test.inc (pow_test): Add more tests and enable some
38742 previously disabled tests.
38743 * sysdeps/i386/fpu/libm-test-ulps: Update.
38744 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38746 2012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
38747 Carlos O'Donell <carlos_odonell@mentor.com>
38749 * nss/makedb.c (is_prime): Assert that input is odd and greater
38750 than 4. Note that fact in a comment too.
38751 (next_prime): Add 4 to input.
38753 2012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
38756 * libio/Makefile (tests): Add test case tst-fwrite-error.
38757 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
38758 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
38759 * libio/tst-fwrite-error.c: New test case.
38761 2012-11-26 H.J. Lu <hongjiu.lu@intel.com>
38763 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
38764 before casting to void *.
38765 * include/libc-internal.h (__pointer_type): New macro.
38766 (__integer_if_pointer_type_sub): Likewise.
38767 (__integer_if_pointer_type): Likewise.
38768 (cast_to_integer): Likewise.
38769 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
38770 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
38771 before casting to atomic64_t.
38772 (atomic_exchange_acq): Likewise.
38773 (__arch_exchange_and_add_body): Likewise.
38774 (__arch_add_body): Likewise.
38775 (atomic_add_negative): Likewise.
38776 (atomic_add_zero): Likewise.
38778 2012-11-26 Joseph Myers <joseph@codesourcery.com>
38780 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
38781 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
38782 (add_fdes): Likewise.
38783 (linear_search_fdes): Likewise.
38784 (binary_search_unencoded_fdes): Likewise.
38786 2012-11-26 Andreas Schwab <schwab@linux-m68k.org>
38788 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
38790 2012-11-24 Adam Conrad <adconrad@0c3.net>
38792 * configure.in: Autodetect C++ header directories.
38793 * configure: Regenerated.
38795 2012-11-23 Mike Frysinger <vapier@gentoo.org>
38797 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
38799 2012-11-23 Andreas Schwab <schwab@linux-m68k.org>
38801 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
38803 2012-11-22 Joseph Myers <joseph@codesourcery.com>
38805 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
38806 LDBL_MANT_DIG == 106]: Disable some tests.
38807 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
38809 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
38813 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
38814 input for small inputs. Return +/- pi/2 for large inputs.
38815 * math/libm-test.inc (atan_test): Add more tests.
38817 * sysdeps/generic/unwind-dw2-fde-glibc.c
38818 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
38819 __attribute__ ((unused)).
38822 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
38823 x * y if x and y are nonzero and z is zero.
38826 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
38827 nonzero exponents with absolute value below 0x1p-117 to +/-
38831 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
38832 up arguments below 2**-450, not just those below 2**-500.
38833 * math/libm-test.inc (hypot_test): Add another test.
38836 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
38837 Return a+b for ratio over 2**120, not 2**60.
38838 * math/libm-test.inc (hypot_test): Add another test.
38840 * math/libm-test.inc (clog_test): Use
38841 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
38842 (clog10_test): Likewise.
38845 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
38847 2012-11-22 Andreas Schwab <schwab@suse.de>
38849 * sysdeps/i386/fpu/libm-test-ulps: Update.
38851 2012-11-22 Pino Toscano <toscano.pino@tiscali.it>
38853 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
38854 printf output with newline.
38856 2012-11-21 H.J. Lu <hongjiu.lu@intel.com>
38859 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
38860 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
38861 -z nodlopen, -z initfirst and -z execstack support.
38862 * configure: Regenerated.
38864 * elf/elf.h (DF_1_NODIRECT): New macro.
38865 (DF_1_IGNMULDEF): Likewise.
38866 (DF_1_NOKSYMS): Likewise.
38867 (DF_1_NOHDR): Likewise.
38868 (DF_1_EDITED): Likewise.
38869 (DF_1_NORELOC): Likewise.
38870 (DF_1_SYMINTPOSE): Likewise.
38871 (DF_1_GLOBAUDIT): Likewise.
38872 (DF_1_SINGLETON): Likewise.
38873 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
38874 DT_1_SUPPORTED_MASK bits.
38875 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
38877 2012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
38879 * sysdeps/unix/make-syscalls.sh: Document prefixes.
38881 2012-11-20 Thomas Schwinge <thomas@codesourcery.com>
38883 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
38886 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
38887 (sendmmsg): Move declarations...
38888 * socket/sys/socket.h: ... here.
38889 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
38890 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
38892 * socket/recvmmsg.c: ... this new file.
38893 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
38894 (sendmmsg): Rename to __sendmmsg, create weak alias and make
38895 definition of __sendmmsg hidden.
38896 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
38897 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
38898 Move ENOSYS stub into and include it from...
38899 * socket/sendmmsg.c: ... this new file.
38900 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
38901 (sysdep_routines): Move recvmmsg and sendmmsg...
38902 * socket/Makefile (routines): ... here.
38903 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
38904 (GLIBC_PRIVATE): Add __sendmmsg.
38905 * include/sys/socket.h (__sendmmsg): Add declarations.
38906 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
38909 2012-11-20 Joseph Myers <joseph@codesourcery.com>
38911 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
38912 variable I1 with __attribute__ ((unused)).
38913 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
38915 2012-11-19 Joseph Myers <joseph@codesourcery.com>
38917 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
38918 DUMMY variables with __attribute__ ((unused)).
38920 * bits/byteswap.h: Include <bits/types.h>.
38921 (__bswap_64): Use __uint64_t instead of unsigned long long int.
38923 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
38925 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
38926 string_t. Do not manually set errno.
38927 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
38928 length with __strnlen. Make sure to both set errno and return it on
38931 2012-11-19 David S. Miller <davem@davemloft.net>
38933 With help from Joseph Myers.
38934 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
38935 very large arguments properly.
38936 * math/libm-test.inc (atan_test): New tests.
38937 (atan2_test): New tests.
38938 * sysdeps/sparc/fpu/libm-test-ulps: Update.
38939 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
38941 2012-11-19 Joseph Myers <joseph@codesourcery.com>
38944 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
38947 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
38948 [POSIX] (EADDRNOTAVAIL): Likewise.
38949 [POSIX] (EAFNOSUPPORT): Likewise.
38950 [POSIX] (EALREADY): Likewise.
38951 [POSIX] (ECONNABORTED): Likewise.
38952 [POSIX] (ECONNREFUSED): Likewise.
38953 [POSIX] (ECONNRESET): Likewise.
38954 [POSIX] (EDESTADDRREQ): Likewise.
38955 [POSIX] (EDQUOT): Likewise.
38956 [POSIX] (EHOSTUNREACH): Likewise.
38957 [POSIX] (EIDRM): Likewise.
38958 [POSIX] (EISCONN): Likewise.
38959 [POSIX] (ELOOP): Likewise.
38960 [POSIX] (EMULTIHOP): Likewise.
38961 [POSIX] (ENETDOWN): Likewise.
38962 [POSIX] (ENETUNREACH): Likewise.
38963 [POSIX] (ENOBUFS): Likewise.
38964 [POSIX] (ENODATA): Likewise.
38965 [POSIX] (ENOLINK): Likewise.
38966 [POSIX] (ENOMSG): Likewise.
38967 [POSIX] (ENOPROTOOPT): Likewise.
38968 [POSIX] (ENOSR): Likewise.
38969 [POSIX] (ENOSTR): Likewise.
38970 [POSIX] (ENOTCONN): Likewise.
38971 [POSIX] (ENOTSOCK): Likewise.
38972 [POSIX] (EOPNOTSUPP): Likewise.
38973 [POSIX] (EOVERFLOW): Likewise.
38974 [POSIX] (EPROTO): Likewise.
38975 [POSIX] (EPROTONOSUPPORT): Likewise.
38976 [POSIX] (EPROTOTYPE): Likewise.
38977 [POSIX] (ESTALE): Likewise.
38978 [POSIX] (ETIME): Likewise.
38979 [POSIX] (ETXTBSY): Likewise.
38980 [POSIX] (EWOULDBLOCK): Likewise.
38981 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
38982 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
38983 [POSIX] (SEEK_CUR): Likewise.
38984 [POSIX] (SEEK_END): Likewise.
38985 [POSIX || UNIX98] (mode_t): Do not require.
38986 [POSIX] (off_t): Likewise.
38987 [POSIX] (pid_t): Likewise.
38988 [POSIX] (sys/stat.h): Do not allow header.
38989 [POSIX] (unistd.h): Likewise.
38990 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
38991 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
38992 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
38993 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
38995 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
38996 sigevent): Specify elements.
38997 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
38999 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
39000 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
39002 * conform/data/cpio.h-data [POSIX]: Disable whole file.
39003 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
39004 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
39005 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
39006 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
39007 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
39008 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
39009 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
39010 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
39011 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
39012 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
39013 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
39014 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
39015 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
39017 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
39019 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
39021 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
39023 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
39024 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
39025 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
39026 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
39027 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
39028 Specify lower bound on value.
39029 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
39030 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
39031 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
39032 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
39033 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
39034 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
39035 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
39036 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
39038 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
39040 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
39041 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
39042 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
39043 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
39044 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
39045 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
39046 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
39047 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
39048 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
39049 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
39050 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
39051 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
39052 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
39053 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
39054 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
39055 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
39057 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
39059 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
39060 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
39061 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
39062 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
39063 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
39064 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
39066 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
39067 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
39068 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
39069 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
39070 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
39071 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
39072 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
39074 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
39075 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
39076 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
39077 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
39078 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
39079 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
39080 specify as optional.
39081 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
39082 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
39083 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
39084 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
39085 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
39086 [XPG3] (NL_LANGMAX): Likewise.
39087 [POSIX || XPG3] (NL_MSGMAX): Likewise.
39088 [POSIX || XPG3] (NL_NMAX): Likewise.
39089 [POSIX || XPG3] (NL_SETMAX): Likewise.
39090 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
39091 [XPG3] (NZERO): Likewise.
39092 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
39093 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
39094 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
39095 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
39096 (REG_ERANGE): Expect.
39097 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
39099 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
39100 Use (void) in prototype.
39101 [POSIX] (*_t): Allow.
39102 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
39103 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
39104 (WRDE_BADVAL): Expect.
39106 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
39108 [XPG3 || XPG4] (O_RSYNC): Likewise.
39109 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
39111 [XPG3 || XPG4] (pthread_sigmask): Likewise.
39112 [XPG3 || XPG4] (sigqueue): Likewise.
39113 [XPG3 || XPG4] (sigtimedwait): Likewise.
39114 [XPG3 || XPG4] (sigwaitinfo): Likewise.
39115 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
39116 [XPG3 || XPG4] (vsnprintf): Likewise.
39117 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
39119 [XPG3 || XPG4] (blksize_t): Likewise.
39120 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
39122 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
39123 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
39124 [XPG3 || XPG4] (struct itimerspec): Likewise.
39125 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
39126 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
39127 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
39128 [XPG3 || XPG4] (clockid_t): Likewise.
39129 [XPG3 || XPG4] (timer_t): Likewise.
39130 [XPG3 || XPG4] (clock_getres): Likewise.
39131 [XPG3 || XPG4] (clock_gettime): Likewise.
39132 [XPG3 || XPG4] (clock_settime): Likewise.
39133 [XPG3 || XPG4] (nanosleep): Likewise.
39134 [XPG3 || XPG4] (timer_create): Likewise.
39135 [XPG3 || XPG4] (timer_delete): Likewise.
39136 [XPG3 || XPG4] (timer_gettime): Likewise.
39137 [XPG3 || XPG4] (timer_getoverrun): Likewise.
39138 [XPG3 || XPG4] (timer_settime): Likewise.
39139 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
39140 [XPG3 || XPG4] (getlogin_r): Likewise.
39141 [XPG3 || XPG4] (pread): Likewise.
39142 [XPG3 || XPG4] (pthread_atfork): Likewise.
39143 [XPG3 || XPG4] (pwrite): Likewise.
39146 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
39149 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
39151 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
39152 finalizing MALLSTREAM.
39154 * sysdeps/mach/hurd/syncfs.c: New file.
39156 2012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
39159 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
39160 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
39161 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
39162 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
39163 (_nss_dns_gethostbyname4_r): Likewise.
39164 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
39165 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
39167 2012-11-19 Peng Haitao <penght@cn.fujitsu.com>
39170 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
39172 2012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
39174 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
39175 * elf/cache.c (print_entry): Print ",AArch64" for
39178 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
39179 * elf/cache.c (print_entry): Print ",hard-float" for
39182 2012-11-18 David S. Miller <davem@davemloft.net>
39184 With help from Joseph Myers.
39185 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
39187 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
39189 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
39190 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
39192 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
39193 * math/libm-test.inc (y0_test): New tests.
39194 (y1_test): New tests.
39195 * sysdeps/i386/fpu/libm-test-ulps: Update.
39196 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
39197 * sysdeps/sparc/fpu/libm-test-ulps: Update.
39199 2012-11-18 Andreas Schwab <schwab@linux-m68k.org>
39201 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
39203 * configure: Regenerated.
39205 2012-11-17 David S. Miller <davem@davemloft.net>
39208 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
39209 nonzero exponents with absolute value below 0x1p-128 to +/-
39212 2012-11-17 Joseph Myers <joseph@codesourcery.com>
39214 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
39216 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
39218 * posix/getconf-speclist.c: New file.
39219 * posix/posix-envs.def: Likewise.
39220 * posix/confstr.c (START_ENV_GROUP): New macro.
39221 (END_ENV_GROUP): Likewise.
39222 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
39223 (KNOWN_PRESENT_ENV_STRING): Likewise.
39224 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
39225 (UNKNOWN_ENVIRONMENT): Likewise.
39226 (confstr): Include posix-envs.def instead of handling
39227 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
39228 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
39229 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
39230 (END_ENV_GROUP): Likewise.
39231 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
39232 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
39233 (UNKNOWN_ENVIRONMENT): Likewise.
39234 (__sysconf): Include posix-envs.def instead of handling associated
39235 cases directly here.
39236 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
39237 preprocessing getconf-speclist.c rather than running getconf or
39238 generating empty file.
39240 2012-11-16 Pino Toscano <toscano.pino@tiscali.it>
39242 * scripts/check-local-headers.sh: Ignore 'mach' headers.
39244 2012-11-16 Andrej Lajovic <natrij@gmail.com>
39247 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
39249 2012-11-16 David S. Miller <davem@davemloft.net>
39251 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
39252 smaller than LDBL_EPSILON/2.0L, just return xm1.
39254 2012-11-16 H.J. Lu <hongjiu.lu@intel.com>
39256 * elf/tst-array1.c (init): Set constructor priority to 1000.
39257 (fini): Set destructor priority to 1000.
39258 * elf/tst-array2dep.c: Likewise.
39260 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
39263 * libio/fileops.c (_IO_new_file_write): Correctly return error.
39264 (_IO_new_file_xsputn): Also return EOF if none of the input
39265 data was written when overflow failed.
39266 * libio/iopadn.c (_IO_padn): Likewise.
39267 * libio/iowpadn.c (_IO_wpadn): Likewise.
39268 * stdio-common/tst-put-error.c: Add copyright notice.
39269 (do_test): Add case for printing padded string.
39270 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
39271 _IO_padn returned error.
39272 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
39273 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
39276 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
39278 * libio/libioP.h: Add comment note that the references to C++
39279 bits are now obsolete.
39281 2012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
39283 * math/libm-test.inc (check_complex): Use asprintf.
39285 2012-11-14 Joseph Myers <joseph@codesourcery.com>
39287 * debug/pcprofiledump.c (print_version): Update copyright year.
39288 * malloc/memusagestat.c (print_version): Likewise.
39290 2012-11-14 H.J. Lu <hongjiu.lu@intel.com>
39293 * elf/Makefile (tests): Add tst-audit8.
39294 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
39295 ($(objpfx)tst-audit8.out): New target.
39296 (tst-audit8-ENV): New variable.
39297 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
39298 audit if l_reloc_result is NULL.
39299 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
39300 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
39301 * elf/tst-audit8.c: New file.
39303 2012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
39305 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
39306 * misc/Makefile (CFLAGS-select.c): Define.
39307 * posix/Makefile (CFLAGS-pause.c): Define.
39309 2012-11-13 David S. Miller <davem@davemloft.net>
39311 * crypt/Makefile: Move test targets after toplevel Rules
39312 inclusion. Grab any necessary sysdep routines when linking.
39313 * crypt/md5.c (md5_process_block): Remove define, we will always
39314 name it __md5_process_block.
39315 (md5_finish_ctx): Update md5_process_block call.
39316 (md5_stream): Likewise.
39317 (md5_process_bytes): Likewise.
39318 (md5_process_block): Rename to __md5_process_block and move to ...
39319 * crypt/md5-block.c: ... here.
39320 * crypt/sha256.c (sha256_process_block): Move to ...
39321 * crypt/sha256-block.c: ... here.
39322 * crypt/sha512.c (sha512_process_block): Move to ...
39323 * crypt/sha512-block.c: ... here.
39324 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
39326 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
39327 * sysdeps/sparc/sparc64/multiarch/Makefile
39328 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
39330 (localedef-aux): Add md5 crypto assembler when in locale subdir.
39331 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
39333 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
39334 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
39335 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
39336 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
39337 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
39338 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
39339 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
39340 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
39341 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
39343 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
39344 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
39346 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
39348 2012-11-13 Joseph Myers <joseph@codesourcery.com>
39350 * timezone/tzselect.ksh: Update from tzcode git revision
39351 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
39352 * timezone/zdump.c: Likewise.
39353 * timezone/zic.c: Likewise.
39354 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
39355 in TZVERSION setting, not $(PKGVERSION).
39356 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
39357 REPORT_BUGS_TO settings.
39360 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
39363 2012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
39365 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
39366 detection to immediately after _FP_ROUND().
39367 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
39370 2012-11-11 David S. Miller <davem@davemloft.net>
39372 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
39374 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
39375 __close rather than their public counterparts.
39377 2012-11-10 Joseph Myers <joseph@codesourcery.com>
39379 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
39381 [UNIX98] (sem_timedwait): Do not expect.
39382 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
39383 [XPG4 || UNIX98] (sockatmark): Do not expect.
39384 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
39385 (clock_getcpuclockid): Do not expect.
39386 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
39387 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
39389 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
39390 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
39391 [UNIX98] (vwscanf): Likewise.
39392 [UNIX98] (vswscanf): Likewise.
39394 2012-11-09 Joseph Myers <joseph@codesourcery.com>
39396 * timezone/version.h: Remove file.
39397 * timezone/README: Do not refer to version.h.
39398 * timezone/Makefile ($(objpfx)zic.o): New dependency on
39399 $(objpfx)version.h.
39400 ($(objpfx)zdump.o): Likewise.
39401 ($(objpfx)version.h): New target.
39403 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
39405 * timezone/README: Don't mention modification to tzselect.ksh.
39406 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
39407 work on unmodified tzselect.ksh. Substitute version numbers in
39410 * Makefile (format-me): Remove.
39411 (INSTALL): Adjust indentation. Use commands directly instead of
39412 using $(format-me).
39414 * aclocal.m4 (ACX_PKGVERSION): New macro.
39415 (ACX_BUGURL): Likewise.
39416 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
39417 (PKGVERSION): New AC_DEFINE_UNQUOTED.
39418 (REPORT_BUGS_TO): Likewise.
39419 * configure: Regenerated.
39420 * config.h.in (PKGVERSION): New macro.
39421 (REPORT_BUGS_TO): Likewise.
39422 * config.make.in (PKGVERSION): New variable.
39423 (PKGVERSION_TEXI): Likewise.
39424 (REPORT_BUGS_TO): Likewise.
39425 (REPORT_BUGS_TEXI): Likewise.
39426 * Makefile (format-me): Use -I$(common-objpfx)manual.
39427 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
39428 ($(common-objpfx)manual/%): New target.
39429 (manual/%): Remove target.
39430 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
39431 (print_version): Use PKGVERSION.
39432 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
39433 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
39434 and REPORT_BUGS_TO.
39435 ($(objpfx)xtrace): Likewise.
39436 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
39437 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
39438 (print_version): Use PKGVERSION.
39439 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
39440 (do_version): Use PKGVERSION.
39441 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
39443 (common-ldd-rewrite): Likewise.
39444 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
39445 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
39446 (print_version): Use PKGVERSION.
39447 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
39448 * elf/pldd.c (argp_program_bug_address): Remove variable.
39449 (more_help): New function.
39450 (argp): Use more_help.
39451 (print_version): Use PKGVERSION.
39452 * elf/sln.c (main): Use PKGVERSION.
39453 (usage): Use REPORT_BUGS_TO.
39454 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
39455 (top level): Use PKGVERSION.
39456 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
39457 (print_version): Use PKGVERSION.
39458 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
39459 (print_version): Use PKGVERSION.
39460 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
39461 (print_version): Use PKGVERSION.
39462 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
39463 (print_version): Use PKGVERSION.
39464 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
39465 (print_version): Use PKGVERSION.
39466 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
39467 (print_version): Use PKGVERSION.
39468 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
39470 ($(objpfx)memusage): Likewise.
39471 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
39472 (do_version): Use PKGVERSION.
39473 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
39474 (print_version): Use PKGVERSION.
39475 * malloc/mtrace.pl ($PACKAGE): Remove variable.
39476 ($PKGVERSION): New variable.
39477 ($REPORT_BUGS_TO): Likewise.
39478 (usage): Use $REPORT_BUGS_TO.
39479 (top level): Use $PKGVERSION.
39480 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
39481 ($(objpfx)pkgvers.texi): New rule.
39482 ($(objpfx)stamp-pkgvers): Likewise.
39483 * manual/install.texi: Include pkgvers.texi.
39484 (--with-pkgversion): Document new configure option.
39485 (--with-bugurl): Likewise.
39486 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
39487 than necessarily for this particular distribution. Use
39488 REPORT_BUGS_TO for where to report bugs.
39489 * INSTALL: Regenerated.
39490 * manual/libc.texinfo: Include pkgvers.texi.
39491 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
39492 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
39493 (print_version): Use PKGVERSION.
39494 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
39495 (print_version): Use PKGVERSION.
39496 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
39497 (print_version): Use PKGVERSION.
39498 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
39499 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
39501 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
39502 (print_version): Use PKGVERSION.
39503 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
39504 (print_version): Use PKGVERSION.
39505 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
39508 * timezone/checktab.awk: Update from tzcode 2012i.
39509 * timezone/ialloc.c: Likewise.
39510 * timezone/private.h: Likewise.
39511 * timezone/scheck.c: Likewise.
39512 * timezone/tzfile.h: Likewise.
39513 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
39514 (TZVERSION): Hardcode tzcode version number.
39515 * timezone/zdump.c: Update from tzcode 2012i.
39516 * timezone/zic.c: Likewise.
39517 * timezone/version.h: New file.
39518 * timezone/README: Describe version.h. Update upstream location.
39521 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
39522 (mktemp): Enable declaration.
39523 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
39524 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
39525 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
39526 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
39528 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
39530 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
39532 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
39534 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
39536 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
39540 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
39541 offset in buffer as u_int32_t not u_long. Consistently use memcpy
39542 for copies of such integer values.
39543 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
39544 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
39546 2012-11-09 Andreas Jaeger <aj@suse.de>
39548 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
39549 definitions and declarations that are provided by
39550 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
39552 2012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
39554 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
39555 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
39556 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
39559 2012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
39561 * elf/elf.h: Update comment before AArch64 relocations.
39563 2012-11-07 David S. Miller <davem@davemloft.net>
39565 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
39566 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
39567 (__start_context): Declare.
39568 (__makecontext_ret): Delete.
39569 (__makecontext): Hook up __start_context instead of
39571 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
39572 (sysdep_routines): Add __start_context when in stdlib.
39574 2012-11-07 Joseph Myers <joseph@codesourcery.com>
39576 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
39577 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
39578 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
39580 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
39581 (READELF): New variable. Use it instead of hardcoded "readelf".
39583 2012-11-07 H.J. Lu <hongjiu.lu@intel.com>
39585 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
39586 * sysdeps/x86/Makefile: Here.
39587 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
39588 * sysdeps/x86/tst-xmmymm.sh: This.
39590 2012-11-07 Joseph Myers <joseph@codesourcery.com>
39592 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
39594 [UNIX98] (pthread_barrier_t): Do not expect.
39595 [UNIX98] (pthread_barrierattr_t): Likewise.
39596 [UNIX98] (pthread_spinlock_t): Likewise.
39597 [UNIX98] (pthread_barrier_destroy): Likewise.
39598 [UNIX98] (pthread_barrier_init): Likewise.
39599 [UNIX98] (pthread_barrier_wait): Likewise.
39600 [UNIX98] (pthread_barrierattr_destroy): Likewise.
39601 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
39602 [UNIX98] (pthread_barrierattr_init): Likewise.
39603 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
39604 [UNIX98] (pthread_getcpuclockid): Likewise.
39605 [UNIX98] (pthread_mutex_timedlock): Likewise.
39606 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
39607 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
39608 [UNIX98] (pthread_sigmask): Likewise.
39609 [UNIX98] (pthread_spin_destroy): Likewise.
39610 [UNIX98] (pthread_spin_init): Likewise.
39611 [UNIX98] (pthread_spin_lock): Likewise.
39612 [UNIX98] (pthread_spin_trylock): Likewise.
39613 [UNIX98] (pthread_spin_unlock): Likewise.
39614 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
39616 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
39617 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
39618 [XPG3 || XPG4] (pthread_cond_t): Likewise.
39619 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
39620 [XPG3 || XPG4] (pthread_key_t): Likewise.
39621 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
39622 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
39623 [XPG3 || XPG4] (pthread_once_t): Likewise.
39624 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
39625 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
39626 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
39627 [XPG3 || XPG4] (pthread_t): Likewise.
39629 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
39631 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
39633 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
39634 Change function return type to int.
39636 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
39637 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
39638 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
39639 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
39640 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
39641 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
39642 [!POSIX] (posix_madvise): Likewise.
39643 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
39645 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
39646 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
39647 (mode_t): Likewise.
39648 (posix_mem_offset): Likewise.
39649 (posix_typed_mem_get_info): Likewise.
39650 (posix_typed_mem_open): Likewise.
39652 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
39653 Change condition to [XOPEN2K8].
39655 * conform/conformtest.pl: Preprocess allow-header data with -x c
39656 instead of from stdin.
39657 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
39658 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
39659 [C99-based standards] (cerfc): Likewise.
39660 [C99-based standards] (cexp2): Likewise.
39661 [C99-based standards] (cexpm1): Likewise.
39662 [C99-based standards] (clog10): Likewise.
39663 [C99-based standards] (clog1p): Likewise.
39664 [C99-based standards] (clog2): Likewise.
39665 [C99-based standards] (clgamma): Likewise.
39666 [C99-based standards] (ctgamma): Likewise.
39667 [C99-based standards] (cerff): Likewise.
39668 [C99-based standards] (cerfcf): Likewise.
39669 [C99-based standards] (cexp2f): Likewise.
39670 [C99-based standards] (cexpm1f): Likewise.
39671 [C99-based standards] (clog10f): Likewise.
39672 [C99-based standards] (clog1pf): Likewise.
39673 [C99-based standards] (clog2f): Likewise.
39674 [C99-based standards] (clgammaf): Likewise.
39675 [C99-based standards] (ctgammaf): Likewise.
39676 [C99-based standards] (cerfl): Likewise.
39677 [C99-based standards] (cerfcl): Likewise.
39678 [C99-based standards] (cexp2l): Likewise.
39679 [C99-based standards] (cexpm1l): Likewise.
39680 [C99-based standards] (clog10l): Likewise.
39681 [C99-based standards] (clog1pl): Likewise.
39682 [C99-based standards] (clog2l): Likewise.
39683 [C99-based standards] (clgammal): Likewise.
39684 [C99-based standards] (ctgammal): Likewise.
39685 * conform/data/inttypes.h-data [C99-based standards]: Include
39686 stdint.h-data. Remove all expectations for stdint.h contents.
39687 [C99-based standards] (PRI*): Do not allow.
39688 [C99-based standards] (SCN*): Likewise.
39689 [C99-based standards] (*_t): Likewise.
39690 [C99-based-standards] (PRId8): Expect macro.
39691 [C99-based-standards] (PRIi8): Likewise.
39692 [C99-based-standards] (PRIo8): Likewise.
39693 [C99-based-standards] (PRIu8): Likewise.
39694 [C99-based-standards] (PRIx8): Likewise.
39695 [C99-based-standards] (PRIX8): Likewise.
39696 [C99-based-standards] (SCNd8): Likewise.
39697 [C99-based-standards] (SCNi8): Likewise.
39698 [C99-based-standards] (SCNo8): Likewise.
39699 [C99-based-standards] (SCNu8): Likewise.
39700 [C99-based-standards] (SCNx8): Likewise.
39701 [C99-based-standards] (PRIdLEAST8): Likewise.
39702 [C99-based-standards] (PRIiLEAST8): Likewise.
39703 [C99-based-standards] (PRIoLEAST8): Likewise.
39704 [C99-based-standards] (PRIuLEAST8): Likewise.
39705 [C99-based-standards] (PRIxLEAST8): Likewise.
39706 [C99-based-standards] (PRIXLEAST8): Likewise.
39707 [C99-based-standards] (SCNdLEAST8): Likewise.
39708 [C99-based-standards] (SCNiLEAST8): Likewise.
39709 [C99-based-standards] (SCNoLEAST8): Likewise.
39710 [C99-based-standards] (SCNuLEAST8): Likewise.
39711 [C99-based-standards] (SCNxLEAST8): Likewise.
39712 [C99-based-standards] (PRIdFAST8): Likewise.
39713 [C99-based-standards] (PRIiFAST8): Likewise.
39714 [C99-based-standards] (PRIoFAST8): Likewise.
39715 [C99-based-standards] (PRIuFAST8): Likewise.
39716 [C99-based-standards] (PRIxFAST8): Likewise.
39717 [C99-based-standards] (PRIXFAST8): Likewise.
39718 [C99-based-standards] (SCNdFAST8): Likewise.
39719 [C99-based-standards] (SCNiFAST8): Likewise.
39720 [C99-based-standards] (SCNoFAST8): Likewise.
39721 [C99-based-standards] (SCNuFAST8): Likewise.
39722 [C99-based-standards] (SCNxFAST8): Likewise.
39723 [C99-based-standards] (PRId16): Likewise.
39724 [C99-based-standards] (PRIi16): Likewise.
39725 [C99-based-standards] (PRIo16): Likewise.
39726 [C99-based-standards] (PRIu16): Likewise.
39727 [C99-based-standards] (PRIx16): Likewise.
39728 [C99-based-standards] (PRIX16): Likewise.
39729 [C99-based-standards] (SCNd16): Likewise.
39730 [C99-based-standards] (SCNi16): Likewise.
39731 [C99-based-standards] (SCNo16): Likewise.
39732 [C99-based-standards] (SCNu16): Likewise.
39733 [C99-based-standards] (SCNx16): Likewise.
39734 [C99-based-standards] (PRIdLEAST16): Likewise.
39735 [C99-based-standards] (PRIiLEAST16): Likewise.
39736 [C99-based-standards] (PRIoLEAST16): Likewise.
39737 [C99-based-standards] (PRIuLEAST16): Likewise.
39738 [C99-based-standards] (PRIxLEAST16): Likewise.
39739 [C99-based-standards] (PRIXLEAST16): Likewise.
39740 [C99-based-standards] (SCNdLEAST16): Likewise.
39741 [C99-based-standards] (SCNiLEAST16): Likewise.
39742 [C99-based-standards] (SCNoLEAST16): Likewise.
39743 [C99-based-standards] (SCNuLEAST16): Likewise.
39744 [C99-based-standards] (SCNxLEAST16): Likewise.
39745 [C99-based-standards] (PRIdFAST16): Likewise.
39746 [C99-based-standards] (PRIiFAST16): Likewise.
39747 [C99-based-standards] (PRIoFAST16): Likewise.
39748 [C99-based-standards] (PRIuFAST16): Likewise.
39749 [C99-based-standards] (PRIxFAST16): Likewise.
39750 [C99-based-standards] (PRIXFAST16): Likewise.
39751 [C99-based-standards] (SCNdFAST16): Likewise.
39752 [C99-based-standards] (SCNiFAST16): Likewise.
39753 [C99-based-standards] (SCNoFAST16): Likewise.
39754 [C99-based-standards] (SCNuFAST16): Likewise.
39755 [C99-based-standards] (SCNxFAST16): Likewise.
39756 [C99-based-standards] (PRId32): Likewise.
39757 [C99-based-standards] (PRIi32): Likewise.
39758 [C99-based-standards] (PRIo32): Likewise.
39759 [C99-based-standards] (PRIu32): Likewise.
39760 [C99-based-standards] (PRIx32): Likewise.
39761 [C99-based-standards] (PRIX32): Likewise.
39762 [C99-based-standards] (SCNd32): Likewise.
39763 [C99-based-standards] (SCNi32): Likewise.
39764 [C99-based-standards] (SCNo32): Likewise.
39765 [C99-based-standards] (SCNu32): Likewise.
39766 [C99-based-standards] (SCNx32): Likewise.
39767 [C99-based-standards] (PRIdLEAST32): Likewise.
39768 [C99-based-standards] (PRIiLEAST32): Likewise.
39769 [C99-based-standards] (PRIoLEAST32): Likewise.
39770 [C99-based-standards] (PRIuLEAST32): Likewise.
39771 [C99-based-standards] (PRIxLEAST32): Likewise.
39772 [C99-based-standards] (PRIXLEAST32): Likewise.
39773 [C99-based-standards] (SCNdLEAST32): Likewise.
39774 [C99-based-standards] (SCNiLEAST32): Likewise.
39775 [C99-based-standards] (SCNoLEAST32): Likewise.
39776 [C99-based-standards] (SCNuLEAST32): Likewise.
39777 [C99-based-standards] (SCNxLEAST32): Likewise.
39778 [C99-based-standards] (PRIdFAST32): Likewise.
39779 [C99-based-standards] (PRIiFAST32): Likewise.
39780 [C99-based-standards] (PRIoFAST32): Likewise.
39781 [C99-based-standards] (PRIuFAST32): Likewise.
39782 [C99-based-standards] (PRIxFAST32): Likewise.
39783 [C99-based-standards] (PRIXFAST32): Likewise.
39784 [C99-based-standards] (SCNdFAST32): Likewise.
39785 [C99-based-standards] (SCNiFAST32): Likewise.
39786 [C99-based-standards] (SCNoFAST32): Likewise.
39787 [C99-based-standards] (SCNuFAST32): Likewise.
39788 [C99-based-standards] (SCNxFAST32): Likewise.
39789 [C99-based-standards] (PRId64): Likewise.
39790 [C99-based-standards] (PRIi64): Likewise.
39791 [C99-based-standards] (PRIo64): Likewise.
39792 [C99-based-standards] (PRIu64): Likewise.
39793 [C99-based-standards] (PRIx64): Likewise.
39794 [C99-based-standards] (PRIX64): Likewise.
39795 [C99-based-standards] (SCNd64): Likewise.
39796 [C99-based-standards] (SCNi64): Likewise.
39797 [C99-based-standards] (SCNo64): Likewise.
39798 [C99-based-standards] (SCNu64): Likewise.
39799 [C99-based-standards] (SCNx64): Likewise.
39800 [C99-based-standards] (PRIdLEAST64): Likewise.
39801 [C99-based-standards] (PRIiLEAST64): Likewise.
39802 [C99-based-standards] (PRIoLEAST64): Likewise.
39803 [C99-based-standards] (PRIuLEAST64): Likewise.
39804 [C99-based-standards] (PRIxLEAST64): Likewise.
39805 [C99-based-standards] (PRIXLEAST64): Likewise.
39806 [C99-based-standards] (SCNdLEAST64): Likewise.
39807 [C99-based-standards] (SCNiLEAST64): Likewise.
39808 [C99-based-standards] (SCNoLEAST64): Likewise.
39809 [C99-based-standards] (SCNuLEAST64): Likewise.
39810 [C99-based-standards] (SCNxLEAST64): Likewise.
39811 [C99-based-standards] (PRIdFAST64): Likewise.
39812 [C99-based-standards] (PRIiFAST64): Likewise.
39813 [C99-based-standards] (PRIoFAST64): Likewise.
39814 [C99-based-standards] (PRIuFAST64): Likewise.
39815 [C99-based-standards] (PRIxFAST64): Likewise.
39816 [C99-based-standards] (PRIXFAST64): Likewise.
39817 [C99-based-standards] (SCNdFAST64): Likewise.
39818 [C99-based-standards] (SCNiFAST64): Likewise.
39819 [C99-based-standards] (SCNoFAST64): Likewise.
39820 [C99-based-standards] (SCNuFAST64): Likewise.
39821 [C99-based-standards] (SCNxFAST64): Likewise.
39822 [C99-based-standards] (PRIdMAX): Likewise.
39823 [C99-based-standards] (PRIiMAX): Likewise.
39824 [C99-based-standards] (PRIoMAX): Likewise.
39825 [C99-based-standards] (PRIuMAX): Likewise.
39826 [C99-based-standards] (PRIxMAX): Likewise.
39827 [C99-based-standards] (PRIXMAX): Likewise.
39828 [C99-based-standards] (SCNdMAX): Likewise.
39829 [C99-based-standards] (SCNiMAX): Likewise.
39830 [C99-based-standards] (SCNoMAX): Likewise.
39831 [C99-based-standards] (SCNuMAX): Likewise.
39832 [C99-based-standards] (SCNxMAX): Likewise.
39833 [C99-based-standards] (PRIdPTR): Likewise.
39834 [C99-based-standards] (PRIiPTR): Likewise.
39835 [C99-based-standards] (PRIoPTR): Likewise.
39836 [C99-based-standards] (PRIuPTR): Likewise.
39837 [C99-based-standards] (PRIxPTR): Likewise.
39838 [C99-based-standards] (PRIXPTR): Likewise.
39839 [C99-based-standards] (SCNdPTR): Likewise.
39840 [C99-based-standards] (SCNiPTR): Likewise.
39841 [C99-based-standards] (SCNoPTR): Likewise.
39842 [C99-based-standards] (SCNuPTR): Likewise.
39843 [C99-based-standards] (SCNxPTR): Likewise.
39844 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
39846 * conform/data/stdint.h-data: Update comments to clarify
39848 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
39850 [C99-based standards] (INT8_MAX): Likewise.
39851 [C99-based standards] (INT16_MIN): Likewise.
39852 [C99-based standards] (INT16_MAX): Likewise.
39853 [C99-based standards] (INT32_MIN): Likewise.
39854 [C99-based standards] (INT32_MAX): Likewise.
39855 [C99-based standards] (INT64_MIN): Likewise.
39856 [C99-based standards] (INT64_MAX): Likewise.
39857 [C99-based standards] (UINT8_MAX): Likewise.
39858 [C99-based standards] (UINT16_MAX): Likewise.
39859 [C99-based standards] (UINT32_MAX): Likewise.
39860 [C99-based standards] (UINT64_MAX): Likewise.
39861 [C99-based standards] (INT_LEAST8_MIN): Likewise.
39862 [C99-based standards] (INT_LEAST8_MAX): Likewise.
39863 [C99-based standards] (INT_LEAST16_MIN): Likewise.
39864 [C99-based standards] (INT_LEAST16_MAX): Likewise.
39865 [C99-based standards] (INT_LEAST32_MIN): Likewise.
39866 [C99-based standards] (INT_LEAST32_MAX): Likewise.
39867 [C99-based standards] (INT_LEAST64_MIN): Likewise.
39868 [C99-based standards] (INT_LEAST64_MAX): Likewise.
39869 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
39870 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
39871 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
39872 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
39873 [C99-based standards] (INT_FAST8_MIN): Likewise.
39874 [C99-based standards] (INT_FAST8_MAX): Likewise.
39875 [C99-based standards] (INT_FAST16_MIN): Likewise.
39876 [C99-based standards] (INT_FAST16_MAX): Likewise.
39877 [C99-based standards] (INT_FAST32_MIN): Likewise.
39878 [C99-based standards] (INT_FAST32_MAX): Likewise.
39879 [C99-based standards] (INT_FAST64_MIN): Likewise.
39880 [C99-based standards] (INT_FAST64_MAX): Likewise.
39881 [C99-based standards] (UINT_FAST8_MAX): Likewise.
39882 [C99-based standards] (UINT_FAST16_MAX): Likewise.
39883 [C99-based standards] (UINT_FAST32_MAX): Likewise.
39884 [C99-based standards] (UINT_FAST64_MAX): Likewise.
39885 [C99-based standards] (INTPTR_MIN): Likewise.
39886 [C99-based standards] (INTPTR_MAX): Likewise.
39887 [C99-based standards] (UINTPTR_MAX): Likewise.
39888 [C99-based standards] (INTMAX_MIN): Likewise.
39889 [C99-based standards] (INTMAX_MAX): Likewise.
39890 [C99-based standards] (UINTMAX_MAX): Likewise.
39891 [C99-based standards] (PTRDIFF_MIN): Likewise.
39892 [C99-based standards] (PTRDIFF_MAX): Likewise.
39893 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
39894 [C99-based standards] (SIZE_MAX): Likewise.
39895 [C99-based standards] (WCHAR_MAX): Likewise.
39896 [C99-based standards] (WINT_MAX): Likewise.
39897 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
39898 constraint on value.
39899 [C99-based standards] (WCHAR_MIN): Likewise.
39900 [C99-based standards] (WINT_MIN): Likewise.
39901 [C99-based standards] (*_t): Allow.
39902 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
39903 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
39904 Include math.h-data and complex.h-data. Remove all expectations
39905 of math.h and complex.h contents.
39906 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
39908 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
39909 (struct tm): Expect tag.
39910 [C99-based-standards] (wcstof): Expect function.
39911 [C99-based-standards] (wcstold): Likewise.
39912 [C99-based-standards] (wcstoll): Likewise.
39913 [C99-based-standards] (wcstoull): Likewise.
39914 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
39915 macro-int-constant. Specify type.
39916 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
39917 constraint on value.
39918 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
39920 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
39922 [ISO C standards]: Do not allow headers.
39923 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
39924 wcs[abcdefghijklmnopqrstuvwxyz]*.
39925 [ISO C standards] (*_t): Do not allow.
39926 * conform/data/wctype.h-data [C99-based standards] (iswblank):
39928 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
39929 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
39931 [ISO C standards]: Do not allow headers.
39932 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
39933 is[abcdefghijklmnopqrstuvwxyz]*.
39934 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
39935 to[abcdefghijklmnopqrstuvwxyz]*.
39936 [ISO C standards] (*_t): Do not allow.
39937 * conform/data/stdalign.h-data: New file.
39938 * conform/data/stdbool.h-data: Likewise.
39939 * conform/data/stdnoreturn.h-data: Likewise.
39941 2012-11-07 Roland McGrath <roland@hack.frob.com>
39944 * manual/filesys.texi (Directory Entries): Typo fix.
39945 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
39947 2012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
39949 * elf/elf.h (EM_AARCH64): New macro.
39950 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
39951 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
39952 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
39953 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
39954 (R_AARCH64_TLSDESC): Likewise.
39955 (NT_ARM_TLS): Likewise.
39956 (NT_ARM_HW_BREAK): Likewise.
39957 (NT_ARM_HW_WATCH): Likewise.
39959 2012-11-07 Joseph Myers <joseph@codesourcery.com>
39962 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
39963 (__ieee754_powl): Saturate nonzero exponents with absolute value
39964 below 0x1p-79 to +/- 0x1p-79.
39965 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
39966 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
39967 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
39968 nonzero exponents with absolute value below 0x1p-32 to +/-
39970 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
39971 (__ieee754_powl): Saturate nonzero exponents with absolute value
39972 below 0x1p-79 to +/- 0x1p-79.
39973 * math/libm-test.inc (pow_test): Add more tests.
39975 2012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
39977 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
39978 _dl_s390_cap_flags with kernel. Increase string length.
39979 (_dl_s390_platforms): Add z196 and zEC12.
39981 2012-11-07 Joseph Myers <joseph@codesourcery.com>
39983 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
39984 Change XOPEN21K to XOPEN2K.
39986 2012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
39988 * string/memmove.c: Use memcpy when possible.
39990 2012-11-06 Andreas Jaeger <aj@suse.de>
39992 * po/eo.po: Update from translation team.
39994 2012-11-06 Joseph Myers <joseph@codesourcery.com>
39997 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
39998 exponent and small x and y exponents, scale x or y up. Increase
39999 by 2 the exponent used in scaling up.
40000 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
40001 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
40002 * math/libm-test.inc (fma_test): Add more tests.
40003 (fma_test_towardzero): Likewise.
40004 (fma_test_downward): Likewise.
40005 (fma_test_upward): Likewise.
40007 2012-11-05 Joseph Myers <joseph@codesourcery.com>
40010 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
40014 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
40015 namespace for names of struct fields.
40016 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
40018 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
40019 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
40021 2012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
40024 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
40026 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
40028 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
40032 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
40035 2012-11-04 Joseph Myers <joseph@codesourcery.com>
40038 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
40039 definitely overflow as x * y not x * y + z.
40040 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
40041 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
40042 * math/libm-test.inc (fma_test): Add more tests.
40043 (fma_test_towardzero): Likewise.
40044 (fma_test_downward): Likewise.
40045 (fma_test_upward): Likewise.
40047 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
40051 * include/stub-tag.h: Remove file.
40052 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
40054 * manual/maint.texi (Porting): Don't reference it.
40055 * Makerules ($(objpfx)stubs): Likewise.
40056 * dirent/closedir.c: Don't include <stub-tag.h>.
40057 * dirent/dirfd.c: Likewise.
40058 * dirent/fdopendir.c: Likewise.
40059 * dirent/getdents.c: Likewise.
40060 * dirent/getdents64.c: Likewise.
40061 * dirent/opendir.c: Likewise.
40062 * dirent/readdir.c: Likewise.
40063 * dirent/readdir64.c: Likewise.
40064 * dirent/readdir64_r.c: Likewise.
40065 * dirent/readdir_r.c: Likewise.
40066 * dirent/rewinddir.c: Likewise.
40067 * dirent/seekdir.c: Likewise.
40068 * dirent/telldir.c: Likewise.
40069 * gmon/profil.c: Likewise.
40070 * grp/setgroups.c: Likewise.
40071 * inet/if_index.c: Likewise.
40072 * io/access.c: Likewise.
40073 * io/chdir.c: Likewise.
40074 * io/chmod.c: Likewise.
40075 * io/chown.c: Likewise.
40076 * io/close.c: Likewise.
40077 * io/dup.c: Likewise.
40078 * io/dup2.c: Likewise.
40079 * io/dup3.c: Likewise.
40080 * io/euidaccess.c: Likewise.
40081 * io/faccessat.c: Likewise.
40082 * io/fchdir.c: Likewise.
40083 * io/fchmod.c: Likewise.
40084 * io/fchmodat.c: Likewise.
40085 * io/fchown.c: Likewise.
40086 * io/fchownat.c: Likewise.
40087 * io/fcntl.c: Likewise.
40088 * io/flock.c: Likewise.
40089 * io/fstatfs.c: Likewise.
40090 * io/fstatfs64.c: Likewise.
40091 * io/fstatvfs.c: Likewise.
40092 * io/fstatvfs64.c: Likewise.
40093 * io/futimens.c: Likewise.
40094 * io/fxstat.c: Likewise.
40095 * io/fxstat64.c: Likewise.
40096 * io/fxstatat.c: Likewise.
40097 * io/fxstatat64.c: Likewise.
40098 * io/getcwd.c: Likewise.
40099 * io/isatty.c: Likewise.
40100 * io/lchmod.c: Likewise.
40101 * io/lchown.c: Likewise.
40102 * io/link.c: Likewise.
40103 * io/linkat.c: Likewise.
40104 * io/lseek.c: Likewise.
40105 * io/lseek64.c: Likewise.
40106 * io/lxstat64.c: Likewise.
40107 * io/mkdir.c: Likewise.
40108 * io/mkdirat.c: Likewise.
40109 * io/mkfifo.c: Likewise.
40110 * io/mkfifoat.c: Likewise.
40111 * io/open.c: Likewise.
40112 * io/open64.c: Likewise.
40113 * io/openat.c: Likewise.
40114 * io/openat64.c: Likewise.
40115 * io/pipe.c: Likewise.
40116 * io/pipe2.c: Likewise.
40117 * io/poll.c: Likewise.
40118 * io/posix_fadvise.c: Likewise.
40119 * io/posix_fadvise64.c: Likewise.
40120 * io/posix_fallocate.c: Likewise.
40121 * io/posix_fallocate64.c: Likewise.
40122 * io/read.c: Likewise.
40123 * io/readlink.c: Likewise.
40124 * io/readlinkat.c: Likewise.
40125 * io/rmdir.c: Likewise.
40126 * io/sendfile.c: Likewise.
40127 * io/sendfile64.c: Likewise.
40128 * io/statfs.c: Likewise.
40129 * io/statfs64.c: Likewise.
40130 * io/statvfs.c: Likewise.
40131 * io/statvfs64.c: Likewise.
40132 * io/symlink.c: Likewise.
40133 * io/symlinkat.c: Likewise.
40134 * io/ttyname.c: Likewise.
40135 * io/ttyname_r.c: Likewise.
40136 * io/umask.c: Likewise.
40137 * io/unlink.c: Likewise.
40138 * io/unlinkat.c: Likewise.
40139 * io/utime.c: Likewise.
40140 * io/utimensat.c: Likewise.
40141 * io/write.c: Likewise.
40142 * io/xmknod.c: Likewise.
40143 * io/xmknodat.c: Likewise.
40144 * io/xstat.c: Likewise.
40145 * io/xstat64.c: Likewise.
40146 * login/getpt.c: Likewise.
40147 * login/grantpt.c: Likewise.
40148 * login/unlockpt.c: Likewise.
40149 * math/e_acoshl.c: Likewise.
40150 * math/e_acosl.c: Likewise.
40151 * math/e_asinl.c: Likewise.
40152 * math/e_atan2l.c: Likewise.
40153 * math/e_atanhl.c: Likewise.
40154 * math/e_coshl.c: Likewise.
40155 * math/e_expl.c: Likewise.
40156 * math/e_fmodl.c: Likewise.
40157 * math/e_gammal_r.c: Likewise.
40158 * math/e_hypotl.c: Likewise.
40159 * math/e_j0l.c: Likewise.
40160 * math/e_j1l.c: Likewise.
40161 * math/e_jnl.c: Likewise.
40162 * math/e_lgammal_r.c: Likewise.
40163 * math/e_log10l.c: Likewise.
40164 * math/e_log2l.c: Likewise.
40165 * math/e_logl.c: Likewise.
40166 * math/e_powl.c: Likewise.
40167 * math/e_rem_pio2l.c: Likewise.
40168 * math/e_sinhl.c: Likewise.
40169 * math/e_sqrtl.c: Likewise.
40170 * math/fclrexcpt.c: Likewise.
40171 * math/fedisblxcpt.c: Likewise.
40172 * math/feenablxcpt.c: Likewise.
40173 * math/fegetenv.c: Likewise.
40174 * math/fegetexcept.c: Likewise.
40175 * math/fegetround.c: Likewise.
40176 * math/feholdexcpt.c: Likewise.
40177 * math/fesetenv.c: Likewise.
40178 * math/fesetround.c: Likewise.
40179 * math/feupdateenv.c: Likewise.
40180 * math/fgetexcptflg.c: Likewise.
40181 * math/fraiseexcpt.c: Likewise.
40182 * math/fsetexcptflg.c: Likewise.
40183 * math/ftestexcept.c: Likewise.
40184 * math/k_cosl.c: Likewise.
40185 * math/k_rem_pio2l.c: Likewise.
40186 * math/k_sinl.c: Likewise.
40187 * math/k_tanl.c: Likewise.
40188 * math/s_asinhl.c: Likewise.
40189 * math/s_atanl.c: Likewise.
40190 * math/s_cbrtl.c: Likewise.
40191 * math/s_erfl.c: Likewise.
40192 * math/s_expm1l.c: Likewise.
40193 * math/s_log1pl.c: Likewise.
40194 * math/s_tanhl.c: Likewise.
40195 * misc/acct.c: Likewise.
40196 * misc/brk.c: Likewise.
40197 * misc/chflags.c: Likewise.
40198 * misc/chroot.c: Likewise.
40199 * misc/fchflags.c: Likewise.
40200 * misc/fgetxattr.c: Likewise.
40201 * misc/flistxattr.c: Likewise.
40202 * misc/fremovexattr.c: Likewise.
40203 * misc/fsetxattr.c: Likewise.
40204 * misc/fsync.c: Likewise.
40205 * misc/ftruncate.c: Likewise.
40206 * misc/futimes.c: Likewise.
40207 * misc/futimesat.c: Likewise.
40208 * misc/getdomain.c: Likewise.
40209 * misc/getdtsz.c: Likewise.
40210 * misc/gethostid.c: Likewise.
40211 * misc/gethostname.c: Likewise.
40212 * misc/getloadavg.c: Likewise.
40213 * misc/getpagesize.c: Likewise.
40214 * misc/getsysstats.c: Likewise.
40215 * misc/getxattr.c: Likewise.
40216 * misc/gtty.c: Likewise.
40217 * misc/ioctl.c: Likewise.
40218 * misc/lgetxattr.c: Likewise.
40219 * misc/listxattr.c: Likewise.
40220 * misc/llistxattr.c: Likewise.
40221 * misc/lremovexattr.c: Likewise.
40222 * misc/lsetxattr.c: Likewise.
40223 * misc/lutimes.c: Likewise.
40224 * misc/madvise.c: Likewise.
40225 * misc/mincore.c: Likewise.
40226 * misc/mlock.c: Likewise.
40227 * misc/mlockall.c: Likewise.
40228 * misc/mmap.c: Likewise.
40229 * misc/mprotect.c: Likewise.
40230 * misc/msync.c: Likewise.
40231 * misc/munlock.c: Likewise.
40232 * misc/munlockall.c: Likewise.
40233 * misc/munmap.c: Likewise.
40234 * misc/preadv.c: Likewise.
40235 * misc/preadv64.c: Likewise.
40236 * misc/ptrace.c: Likewise.
40237 * misc/pwritev.c: Likewise.
40238 * misc/pwritev64.c: Likewise.
40239 * misc/readv.c: Likewise.
40240 * misc/reboot.c: Likewise.
40241 * misc/remap_file_pages.c: Likewise.
40242 * misc/removexattr.c: Likewise.
40243 * misc/revoke.c: Likewise.
40244 * misc/select.c: Likewise.
40245 * misc/setdomain.c: Likewise.
40246 * misc/setegid.c: Likewise.
40247 * misc/seteuid.c: Likewise.
40248 * misc/sethostid.c: Likewise.
40249 * misc/sethostname.c: Likewise.
40250 * misc/setregid.c: Likewise.
40251 * misc/setreuid.c: Likewise.
40252 * misc/setxattr.c: Likewise.
40253 * misc/sstk.c: Likewise.
40254 * misc/stty.c: Likewise.
40255 * misc/swapoff.c: Likewise.
40256 * misc/swapon.c: Likewise.
40257 * misc/sync.c: Likewise.
40258 * misc/syncfs.c: Likewise.
40259 * misc/syscall.c: Likewise.
40260 * misc/truncate.c: Likewise.
40261 * misc/ualarm.c: Likewise.
40262 * misc/usleep.c: Likewise.
40263 * misc/ustat.c: Likewise.
40264 * misc/utimes.c: Likewise.
40265 * misc/vhangup.c: Likewise.
40266 * misc/writev.c: Likewise.
40267 * posix/_exit.c: Likewise.
40268 * posix/alarm.c: Likewise.
40269 * posix/execve.c: Likewise.
40270 * posix/fexecve.c: Likewise.
40271 * posix/fork.c: Likewise.
40272 * posix/fpathconf.c: Likewise.
40273 * posix/getaddrinfo.c: Likewise.
40274 * posix/getegid.c: Likewise.
40275 * posix/geteuid.c: Likewise.
40276 * posix/getgid.c: Likewise.
40277 * posix/getgroups.c: Likewise.
40278 * posix/getlogin.c: Likewise.
40279 * posix/getlogin_r.c: Likewise.
40280 * posix/getpgid.c: Likewise.
40281 * posix/getpid.c: Likewise.
40282 * posix/getppid.c: Likewise.
40283 * posix/getresgid.c: Likewise.
40284 * posix/getresuid.c: Likewise.
40285 * posix/getsid.c: Likewise.
40286 * posix/getuid.c: Likewise.
40287 * posix/glob64.c: Likewise.
40288 * posix/nanosleep.c: Likewise.
40289 * posix/pathconf.c: Likewise.
40290 * posix/pause.c: Likewise.
40291 * posix/posix_madvise.c: Likewise.
40292 * posix/pread.c: Likewise.
40293 * posix/pread64.c: Likewise.
40294 * posix/pwrite.c: Likewise.
40295 * posix/pwrite64.c: Likewise.
40296 * posix/sched_getaffinity.c: Likewise.
40297 * posix/sched_getp.c: Likewise.
40298 * posix/sched_gets.c: Likewise.
40299 * posix/sched_primax.c: Likewise.
40300 * posix/sched_primin.c: Likewise.
40301 * posix/sched_rr_gi.c: Likewise.
40302 * posix/sched_setaffinity.c: Likewise.
40303 * posix/sched_setp.c: Likewise.
40304 * posix/sched_sets.c: Likewise.
40305 * posix/sched_yield.c: Likewise.
40306 * posix/setgid.c: Likewise.
40307 * posix/setlogin.c: Likewise.
40308 * posix/setpgid.c: Likewise.
40309 * posix/setresgid.c: Likewise.
40310 * posix/setresuid.c: Likewise.
40311 * posix/setsid.c: Likewise.
40312 * posix/setuid.c: Likewise.
40313 * posix/sleep.c: Likewise.
40314 * posix/spawni.c: Likewise.
40315 * posix/sysconf.c: Likewise.
40316 * posix/times.c: Likewise.
40317 * posix/wait.c: Likewise.
40318 * posix/wait3.c: Likewise.
40319 * posix/wait4.c: Likewise.
40320 * posix/waitpid.c: Likewise.
40321 * resolv/gai_sigqueue.c: Likewise.
40322 * resource/getpriority.c: Likewise.
40323 * resource/getrlimit.c: Likewise.
40324 * resource/getrusage.c: Likewise.
40325 * resource/nice.c: Likewise.
40326 * resource/setpriority.c: Likewise.
40327 * resource/setrlimit.c: Likewise.
40328 * resource/ulimit.c: Likewise.
40329 * rt/aio_cancel.c: Likewise.
40330 * rt/aio_fsync.c: Likewise.
40331 * rt/aio_read.c: Likewise.
40332 * rt/aio_sigqueue.c: Likewise.
40333 * rt/aio_suspend.c: Likewise.
40334 * rt/aio_write.c: Likewise.
40335 * rt/clock_getres.c: Likewise.
40336 * rt/clock_gettime.c: Likewise.
40337 * rt/clock_nanosleep.c: Likewise.
40338 * rt/clock_settime.c: Likewise.
40339 * rt/lio_listio.c: Likewise.
40340 * rt/mq_close.c: Likewise.
40341 * rt/mq_getattr.c: Likewise.
40342 * rt/mq_notify.c: Likewise.
40343 * rt/mq_open.c: Likewise.
40344 * rt/mq_receive.c: Likewise.
40345 * rt/mq_send.c: Likewise.
40346 * rt/mq_setattr.c: Likewise.
40347 * rt/mq_timedreceive.c: Likewise.
40348 * rt/mq_timedsend.c: Likewise.
40349 * rt/mq_unlink.c: Likewise.
40350 * rt/shm_open.c: Likewise.
40351 * rt/shm_unlink.c: Likewise.
40352 * rt/timer_create.c: Likewise.
40353 * rt/timer_delete.c: Likewise.
40354 * rt/timer_getoverr.c: Likewise.
40355 * rt/timer_gettime.c: Likewise.
40356 * rt/timer_settime.c: Likewise.
40357 * setjmp/__longjmp.c: Likewise.
40358 * setjmp/setjmp.c: Likewise.
40359 * signal/kill.c: Likewise.
40360 * signal/killpg.c: Likewise.
40361 * signal/raise.c: Likewise.
40362 * signal/sigaction.c: Likewise.
40363 * signal/sigaltstack.c: Likewise.
40364 * signal/sigblock.c: Likewise.
40365 * signal/sigignore.c: Likewise.
40366 * signal/sigintr.c: Likewise.
40367 * signal/signal.c: Likewise.
40368 * signal/sigpause.c: Likewise.
40369 * signal/sigpending.c: Likewise.
40370 * signal/sigqueue.c: Likewise.
40371 * signal/sigreturn.c: Likewise.
40372 * signal/sigset.c: Likewise.
40373 * signal/sigsetmask.c: Likewise.
40374 * signal/sigstack.c: Likewise.
40375 * signal/sigsuspend.c: Likewise.
40376 * signal/sigtimedwait.c: Likewise.
40377 * signal/sigvec.c: Likewise.
40378 * signal/sigwait.c: Likewise.
40379 * signal/sigwaitinfo.c: Likewise.
40380 * signal/sysv_signal.c: Likewise.
40381 * socket/accept.c: Likewise.
40382 * socket/accept4.c: Likewise.
40383 * socket/bind.c: Likewise.
40384 * socket/connect.c: Likewise.
40385 * socket/getpeername.c: Likewise.
40386 * socket/getsockname.c: Likewise.
40387 * socket/getsockopt.c: Likewise.
40388 * socket/isfdtype.c: Likewise.
40389 * socket/listen.c: Likewise.
40390 * socket/recv.c: Likewise.
40391 * socket/recvfrom.c: Likewise.
40392 * socket/recvmsg.c: Likewise.
40393 * socket/send.c: Likewise.
40394 * socket/sendmsg.c: Likewise.
40395 * socket/sendto.c: Likewise.
40396 * socket/setsockopt.c: Likewise.
40397 * socket/shutdown.c: Likewise.
40398 * socket/sockatmark.c: Likewise.
40399 * socket/socket.c: Likewise.
40400 * socket/socketpair.c: Likewise.
40401 * stdio-common/ctermid.c: Likewise.
40402 * stdio-common/cuserid.c: Likewise.
40403 * stdio-common/remove.c: Likewise.
40404 * stdio-common/rename.c: Likewise.
40405 * stdio-common/renameat.c: Likewise.
40406 * stdio-common/tempname.c: Likewise.
40407 * stdlib/getcontext.c: Likewise.
40408 * stdlib/makecontext.c: Likewise.
40409 * stdlib/setcontext.c: Likewise.
40410 * stdlib/swapcontext.c: Likewise.
40411 * stdlib/system.c: Likewise.
40412 * streams/fattach.c: Likewise.
40413 * streams/fdetach.c: Likewise.
40414 * streams/getmsg.c: Likewise.
40415 * streams/getpmsg.c: Likewise.
40416 * streams/putmsg.c: Likewise.
40417 * streams/putpmsg.c: Likewise.
40418 * sysdeps/unix/bsd/getpt.c: Likewise.
40419 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
40420 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
40421 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
40422 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
40424 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
40425 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
40426 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
40427 * sysvipc/msgctl.c: Likewise.
40428 * sysvipc/msgget.c: Likewise.
40429 * sysvipc/msgrcv.c: Likewise.
40430 * sysvipc/msgsnd.c: Likewise.
40431 * sysvipc/semctl.c: Likewise.
40432 * sysvipc/semget.c: Likewise.
40433 * sysvipc/semop.c: Likewise.
40434 * sysvipc/semtimedop.c: Likewise.
40435 * sysvipc/shmat.c: Likewise.
40436 * sysvipc/shmctl.c: Likewise.
40437 * sysvipc/shmdt.c: Likewise.
40438 * sysvipc/shmget.c: Likewise.
40439 * termios/tcdrain.c: Likewise.
40440 * termios/tcflow.c: Likewise.
40441 * termios/tcflush.c: Likewise.
40442 * termios/tcgetattr.c: Likewise.
40443 * termios/tcgetpgrp.c: Likewise.
40444 * termios/tcsendbrk.c: Likewise.
40445 * termios/tcsetattr.c: Likewise.
40446 * termios/tcsetpgrp.c: Likewise.
40447 * time/adjtime.c: Likewise.
40448 * time/clock.c: Likewise.
40449 * time/getitimer.c: Likewise.
40450 * time/gettimeofday.c: Likewise.
40451 * time/setitimer.c: Likewise.
40452 * time/settimeofday.c: Likewise.
40453 * time/stime.c: Likewise.
40454 * time/time.c: Likewise.
40456 2012-11-04 Pino Toscano <toscano.pino@tiscali.it>
40458 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
40461 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
40463 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
40465 2012-11-03 Joseph Myers <joseph@codesourcery.com>
40468 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
40469 FE_TONEAREST before applying Dekker multiplication and Knuth
40470 addition. Clear inexact exceptions and check for exact zero
40471 results afterwards.
40472 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
40473 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
40474 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
40475 * math/libm-test.inc (fma_test): Add more tests.
40476 (fma_test_towardzero): Likewise.
40477 (fma_test_downward): Likewise.
40478 (fma_test_upward): Likewise.
40479 * sysdeps/generic/math_private.h (default_libc_fesetround): New
40481 (libc_fesetround): New macro.
40482 (libc_fesetroundf): Likewise.
40483 (libc_fesetroundl): Likewise.
40484 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
40486 (libc_fesetround_387): Likewise.
40487 (libc_fesetroundf): New macro.
40488 (libc_fesetround): Likewise.
40489 (libc_fesetroundl): Likewise.
40490 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
40492 (libc_fesetroundf): New macro.
40493 (libc_fesetround): Likewise.
40494 (libc_fesetroundl): Likewise.
40495 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
40496 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
40497 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
40499 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
40500 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
40502 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
40503 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
40505 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
40509 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
40510 integer constant usable in #if and use that to give value to enum
40512 (FE_DIVBYZERO): Likewise.
40513 (FE_UNDERFLOW): Likewise.
40514 (FE_OVERFLOW): Likewise.
40515 (FE_INVALID): Likewise.
40516 (FE_INVALID_SNAN): Likewise.
40517 (FE_INVALID_ISI): Likewise.
40518 (FE_INVALID_IDI): Likewise.
40519 (FE_INVALID_ZDZ): Likewise.
40520 (FE_INVALID_IMZ): Likewise.
40521 (FE_INVALID_COMPARE): Likewise.
40522 (FE_INVALID_SOFTWARE): Likewise.
40523 (FE_INVALID_SQRT): Likewise.
40524 (FE_INVALID_INTEGER_CONVERSION): Likewise.
40525 (FE_TONEAREST): Likewise.
40526 (FE_TOWARDZERO): Likewise.
40527 (FE_UPWARD): Likewise.
40528 (FE_DOWNWARD): Likewise.
40529 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
40530 (FE_DIVBYZERO): Likewise.
40531 (FE_OVERFLOW): Likewise.
40532 (FE_UNDERFLOW): Likewise.
40533 (FE_INEXACT): Likewise.
40534 (FE_TONEAREST): Likewise.
40535 (FE_DOWNWARD): Likewise.
40536 (FE_UPWARD): Likewise.
40537 (FE_TOWARDZERO): Likewise.
40538 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
40539 (FE_UNDERFLOW): Likewise.
40540 (FE_OVERFLOW): Likewise.
40541 (FE_DIVBYZERO): Likewise.
40542 (FE_INVALID): Likewise.
40543 (FE_TONEAREST): Likewise.
40544 (FE_TOWARDZERO): Likewise.
40545 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
40546 (FE_OVERFLOW): Likewise.
40547 (FE_UNDERFLOW): Likewise.
40548 (FE_DIVBYZERO): Likewise.
40549 (FE_INEXACT): Likewise.
40550 (FE_TONEAREST): Likewise.
40551 (FE_TOWARDZERO): Likewise.
40552 (FE_UPWARD): Likewise.
40553 (FE_DOWNWARD): Likewise.
40554 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
40555 (FE_DIVBYZERO): Likewise.
40556 (FE_OVERFLOW): Likewise.
40557 (FE_UNDERFLOW): Likewise.
40558 (FE_INEXACT): Likewise.
40559 (FE_TONEAREST): Likewise.
40560 (FE_DOWNWARD): Likewise.
40561 (FE_UPWARD): Likewise.
40562 (FE_TOWARDZERO): Likewise.
40564 2012-11-02 Chris Metcalf <cmetcalf@tilera.com>
40566 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
40568 2012-11-03 Andreas Schwab <schwab@linux-m68k.org>
40570 * scripts/cross-test-ssh.sh (command): Use newlines to separate
40571 commands. Quote $PWD.
40572 (blacklist_exports): Don't use remove_newlines. Replace "declare
40574 (remove_newlines): Remove.
40576 2012-11-02 H.J. Lu <hongjiu.lu@intel.com>
40578 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
40579 * stdlib/stdlib.h (atof): Moved to ...
40580 * include/bits/stdlib-float.h: Here. New file.
40581 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
40582 * stdlib/bits/stdlib-float.h: New file.
40583 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
40585 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
40588 2012-11-02 Joseph Myers <joseph@codesourcery.com>
40590 * conform/conformtest.pl (@headers): Add fenv.h.
40591 * conform/data/fenv.h-data: New file.
40592 * include/fenv.h [_ISOMAC]: Disable all contents of file except
40593 include of <math/fenv.h>.
40595 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
40596 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
40597 && !UNIX98]. Enables tests for XOPEN2K8.
40598 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
40599 POSIX2008]: Likewise.
40601 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
40602 (struct rusage): Do not expect type or its members.
40605 * math/math.h (FP_NAN): Define macro to integer constant usable in
40606 #if and use that to give value to enum constant.
40607 (FP_INFINITE): Likewise.
40608 (FP_ZERO): Likewise.
40609 (FP_SUBNORMAL): Likewise.
40610 (FP_NORMAL): Likewise.
40612 2012-11-02 Andreas Schwab <schwab@linux-m68k.org>
40614 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
40615 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
40618 2012-11-02 Roland McGrath <roland@hack.frob.com>
40620 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
40621 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
40622 autoconf-time if not.
40623 * configure.in: Remove AC_PREREQ.
40625 2012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
40627 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
40628 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
40629 of the internal implementation.
40631 2012-11-02 Joseph Myers <joseph@codesourcery.com>
40633 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
40634 except include of <misc/sys/syslog.h>.
40636 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
40638 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
40639 function returns with a NULL context exit with zero.
40641 2012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
40643 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
40645 2012-11-01 H.J. Lu <hongjiu.lu@intel.com>
40647 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
40648 (run_program_cmd): This.
40649 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
40650 (tst_langinfo): New variable. Use it.
40652 2012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
40654 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
40655 floating point opcodes.
40657 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
40659 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
40662 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
40664 * sysdeps/mach/hurd/powerpc: Remove directory.
40665 * sysdeps/mach/powerpc: Likewise.
40667 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
40669 * scripts/check-local-headers.sh: Ignore c++ headers.
40671 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
40673 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
40674 __libc_cleanup_region_start argument.
40676 2012-11-01 Joseph Myers <joseph@codesourcery.com>
40680 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
40681 x * y using scaling, not as x * y + z.
40682 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
40683 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
40684 * math/libm-test.inc (fma_test): Add more tests.
40685 (fma_test_towardzero): Likewise.
40686 (fma_test_downward): Likewise.
40687 (fma_test_upward): Likewise.
40689 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
40691 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
40693 2012-10-31 Joseph Myers <joseph@codesourcery.com>
40695 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
40698 2012-10-31 Thomas Schwinge <thomas@codesourcery.com>
40700 * rt/tst-shm.c (worker): Correct checking for mmap failure.
40702 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
40704 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
40706 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
40709 2012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
40711 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
40712 Fix the order of the list for glibc 2.17.
40713 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
40716 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
40718 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
40720 2012-10-31 Joseph Myers <joseph@codesourcery.com>
40723 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
40724 for low part of x being zero before using __atanl (y).
40725 * math/libm-test.inc (atan2_test): Add another test.
40727 * manual/install.texi (Configuring and compiling): Document
40728 general use of test-wrapper and test-wrapper-env.
40729 * INSTALL: Regenerated.
40731 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
40732 (__fma): Do not extract and scale down low bits on after-rounding
40733 systems when result rounded to normal precision would have normal
40735 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
40736 (__fmal): Do not extract and scale down low bits on after-rounding
40737 systems when result rounded to normal precision would have normal
40739 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
40740 (__fmal): Do not extract and scale down low bits on after-rounding
40741 systems when result rounded to normal precision would have normal
40743 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
40745 (fma_test): Add more tests.
40746 (fma_test_towardzero): Likewise.
40747 (fma_test_downward): Likewise.
40748 (fma_test_upward): Likewise.
40750 2012-10-30 H.J. Lu <hongjiu.lu@intel.com>
40752 * sysdeps/i386/tininess.h: Renamed to ...
40753 * sysdeps/x86/tininess.h: This.
40754 * sysdeps/x86_64/tininess.h: Removed.
40756 2012-10-30 Joseph Myers <joseph@codesourcery.com>
40758 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
40759 input. Use $(build-program-cmd).
40760 ($(objpfx)tst-array1-static.out): Likewise.
40761 ($(objpfx)tst-array2.out): Likewise.
40762 ($(objpfx)tst-array3.out): Likewise.
40763 ($(objpfx)tst-array4.out): Likewise.
40764 ($(objpfx)tst-array5.out): Likewise.
40765 ($(objpfx)tst-array5-static.out): Likewise.
40767 2012-10-30 Chris Metcalf <cmetcalf@tilera.com>
40769 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
40772 * nss/nsswitch.h (nss_interface_function): Provide new
40773 macro for use with NSS functions.
40774 * grp/initgroups.c: Use new macro.
40775 * nss/getXXbyYY.c: Likewise.
40776 * nss/getXXbyYY_r.c: Likewise.
40777 * nss/getXXent.c: Likewise.
40778 * nss/getXXent_r.c: Likewise.
40779 * sysdeps/posix/getaddrinfo.c: Likewise.
40781 2012-10-30 Andreas Jaeger <aj@suse.de>
40783 * po/ru.po: Update Russion translation from translation project.
40785 2012-10-30 Joseph Myers <joseph@codesourcery.com>
40789 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
40790 result and shift together with sticky bit instead of replicating
40791 round-to-nearest rounding.
40792 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
40793 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
40794 * math/libm-test.inc (fma_test): Add more tests. Do not permit
40795 missing underflow exceptions.
40796 (fma_test_towardzero): Add more tests.
40797 (fma_test_downward): Likewise.
40798 (fma_test_upward): Likewise.
40801 * sysdeps/generic/tininess.h: New file.
40802 * sysdeps/i386/tininess.h: Likewise.
40803 * sysdeps/sh/tininess.h: Likewise.
40804 * sysdeps/x86_64/tininess.h: Likewise.
40805 * stdlib/tst-strtod-underflow.c: Likewise.
40806 * stdlib/tst-tininess.c: Likewise.
40807 * stdlib/strtod_l.c: Include <tininess.h>.
40808 (round_and_return): Do not set errno for exact underflow cases.
40809 Force an underflow exception when setting errno for underflow.
40810 Determine underflow based on rounding to normal precision if
40811 TININESS_AFTER_ROUNDING.
40812 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
40813 ERANGE for exact underflow cases.
40814 * stdlib/Makefile (tests): Add tst-tininess and
40815 tst-strtod-underflow.
40816 ($(objpfx)tst-tininess): Use $(link-libm).
40817 ($(objpfx)tst-strtod-underflow): Likewise.
40819 2012-10-30 Andreas Jaeger <aj@suse.de>
40822 * elf/Makefile (tests): Remove conditional for have-initfini-array
40823 since this is now always required and the variable does not exist
40825 (tests-static): Likewise.
40826 (modules-names): Likewise.
40828 * po/eo.po: Add Esperanto translation from translation project.
40830 * elf/tst-array1.c (fini_array): Make writeable so that it can be
40831 merged with constructor/destructor.
40832 (init_array): Likewise.
40833 * elf/tst-array2dep.c (fini_array): Likewise.
40834 (init_array): Likewise.
40836 2012-10-29 Mike Frysinger <vapier@gentoo.org>
40838 * manual/message.texi: Delete @cartouche tags.
40840 2012-10-29 Pino Toscano <toscano.pino@tiscali.it>
40842 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
40844 * sysdeps/mach/hurd/fsync.c: Likewise.
40846 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
40847 [_POSIX_REALTIME_SIGNALS]: Change condition to
40848 [_POSIX_REALTIME_SIGNALS > 0].
40850 2012-10-27 Andreas Jaeger <aj@suse.de>
40852 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
40853 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
40854 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
40855 [__WORDSIZE != 64]: Likewise.
40857 2012-10-26 H.J. Lu <hongjiu.lu@intel.com>
40859 * iconvdata/tst-table.sh: Remove ${SHELL}.
40860 * iconvdata/tst-tables.sh: Likewise.
40862 2012-10-25 David S. Miller <davem@davemloft.net>
40864 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
40865 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
40868 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
40870 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
40871 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
40872 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
40875 2012-10-25 Roland McGrath <roland@hack.frob.com>
40877 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
40878 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
40881 2012-10-25 Joseph Myers <joseph@codesourcery.com>
40882 Jim Blandy <jimb@codesourcery.com>
40884 * scripts/cross-test-ssh.sh: New file.
40885 * manual/install.texi (Configuring and compiling): Document use of
40887 * INSTALL: Regenerated.
40889 2012-10-25 Pino Toscano <toscano.pino@tiscali.it>
40891 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
40894 2012-10-25 Joseph Myers <joseph@codesourcery.com>
40896 * Makeconfig (run-program-prefix): Fix comment.
40898 2012-10-24 Joseph Myers <joseph@codesourcery.com>
40899 Jim Blandy <jimb@codesourcery.com>
40901 * Makeconfig (test-wrapper): New variable,
40902 (test-wrapper-env): Likewise.
40903 [$(cross-compiling) = yes && $(test-wrapper) != ""]
40904 (run-built-tests): Define to yes.
40905 (run-program-prefix): Use $(test-wrapper).
40906 (built-program-cmd): Likewise.
40907 * Rules (make-test-out): Use $(test-wrapper-env) and
40908 $(host-built-program-cmd).
40909 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
40910 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
40912 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
40913 $(test-wrapper-env) to tst-rtld-load-self.sh.
40914 ($(objpfx)order2.out): Use $(test-wrapper).
40915 ($(objpfx)tst-initorder.out): Likewise.
40916 ($(objpfx)tst-initorder2.out): Likewise.
40917 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
40918 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
40919 (test_wrapper_env): New variable. Use it to run ld.so.
40920 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
40921 Use it to run ld.so.
40922 (test_wrapper_env): Likewise.
40923 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
40924 $(test-wrapper) to run-iconv-test.sh.
40925 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
40926 (ICONV): Use $test_wrapper.
40927 * posix/Makefile ($(objpfx)globtest.out): Pass
40928 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
40929 globtest.sh, not $(run-program-prefix).
40930 * posix/globtest.sh (run_via_rtld_prefix): New variable.
40931 (test_wrapper): Likewise.
40932 (test_wrapper_env): Likewise. Use it to run globtest with HOME
40933 set together with run_via_rtld_prefix.
40934 (run_program_prefix): Define in terms of test_wrapper and
40935 run_via_rtld_prefix.
40937 2012-10-24 Roland McGrath <roland@hack.frob.com>
40939 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
40940 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
40944 * include/time.h: Remove librt_hidden_proto (clock_gettime).
40945 Declare __clock_getres, __clock_gettime, __clock_settime,
40946 __clock_nanosleep, and __clock_getcpuclockid.
40947 * rt/clock_gettime.c: Define __clock_gettime as an alias.
40948 Remove librt_hidden_def (clock_gettime).
40949 * sysdeps/unix/clock_gettime.c: Likewise.
40950 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
40951 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
40952 * rt/clock_getres.c: Define __clock_getres as an alias.
40953 * sysdeps/posix/clock_getres.c: Likewise.
40954 * rt/clock_settime.c: Define __clock_settime as an alias.
40955 * sysdeps/unix/clock_settime.c: Likewise.
40956 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
40957 * sysdeps/unix/clock_nanosleep.c: Likewise.
40958 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
40959 * rt/clock-compat.c: New file.
40960 * rt/Makefile (librt-routines): Add clock-compat and move
40961 $(clock-routines) to ...
40962 (routines): ... here, new variable.
40963 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
40964 Don't add get_clockfreq here.
40965 * rt/Versions (libc: GLIBC_2.17): New version set.
40966 Add clock_* symbols here.
40967 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
40968 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
40969 (GLIBC_2.17): Add clock_* symbols.
40970 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
40971 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
40972 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
40973 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
40975 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
40977 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
40978 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
40979 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
40980 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
40981 * NEWS: Mention the move.
40983 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
40984 Use __open, __read, __close rather than their public counterparts.
40985 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
40986 (__get_clockfreq_via_cpuinfo): Likewise.
40987 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
40988 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
40990 * config.h.in (HAVE_IFUNC): New #undef.
40991 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
40993 * configure: Regenerated.
40995 2012-10-24 Mike Frysinger <vapier@gentoo.org>
40997 * configure.in: Move READELF check to start of file.
40998 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
40999 libc_cv_asm_gnu_indirect_function in the process.
41000 * configure: Regenerated.
41002 2012-10-24 Mike Frysinger <vapier@gentoo.org>
41004 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
41005 send the output to /dev/null.
41006 (libc_cv_cc_with_libunwind): Likewise.
41007 (libc_cv_as_noexecstack): Likewise.
41008 * configure: Regenerate.
41010 2012-10-24 Joseph Myers <joseph@codesourcery.com>
41012 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
41014 * posix/globtest.sh (TMPDIR): Do not set.
41015 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
41016 (testout): Likewise.
41018 2012-10-24 Andreas Jaeger <aj@suse.de>
41020 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
41021 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
41022 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
41023 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
41024 posix_fadvise64, posix_fallocate64.
41026 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
41027 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
41028 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
41030 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
41032 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
41034 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
41035 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
41036 <bits/fcntl-linux.h>.
41037 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
41039 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
41040 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
41041 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
41042 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
41043 [__WORDSIZE != 64]: Likewise.
41045 2012-10-23 Joseph Myers <joseph@codesourcery.com>
41047 * Makeconfig (run-built-tests): New variable.
41048 * Rules [$(cross-compiling) = yes]: Change condition to
41049 [$(run-built-tests) = no].
41050 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
41051 to [$(run-built-tests) = yes].
41052 * elf/Makefile [$(cross-compiling) = no]: Likewise
41053 * grp/Makefile [$(cross-compiling) = no]: Likewise.
41054 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
41055 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
41056 * intl/Makefile [$(cross-compiling) = no]: Likewise.
41057 * io/Makefile [$(cross-compiling) = no]: Likewise.
41058 * libio/Makefile [$(cross-compiling) = no]: Likewise.
41059 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
41060 * misc/Makefile [$(cross-compiling) = no]: Likewise.
41061 * posix/Makefile [$(cross-compiling) = no]: Likewise.
41062 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
41063 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
41064 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
41065 * string/Makefile [$(cross-compiling) = no]: Likewise.
41067 * posix/Makefile ($(objpfx)globtest.out): Pass
41068 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
41069 $(rtld-installed-name).
41070 * posix/globtest.sh (elf_objpfx): Remove variable.
41071 (rtld_installed_name): Likewise.
41072 (library_path): Likewise.
41073 (run_program_prefix): New variable. Use for running globtest
41076 2012-10-23 Jim Blandy <jimb@codesourcery.com>
41077 Joseph Myers <joseph@codesourcery.com>
41079 * Makeconfig (host-built-program-cmd): New variable.
41080 * elf/Makefile (tst-stackguard1-ARGS): Use
41081 $(host-built-program-cmd).
41082 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
41083 (tst-spawn-ARGS): Likewise.
41084 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
41086 2012-10-23 Joseph Myers <joseph@codesourcery.com>
41087 Jim Blandy <jimb@codesourcery.com>
41089 * Makeconfig (run-via-rtld-prefix): New variable.
41090 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
41091 (built-program-cmd): Likewise.
41093 2012-10-22 Andreas Jaeger <aj@suse.de>
41095 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
41096 __O_RSYNC if it exists, otherwise to O_SYNC.
41098 2012-10-22 Jim Blandy <jimb@codesourcery.com>
41099 Joseph Myers <joseph@codesourcery.com>
41101 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
41103 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
41105 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
41108 2012-10-22 Andreas Jaeger <aj@suse.de>
41110 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
41112 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
41114 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
41115 bits/fcntl-linux.h.
41117 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
41118 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
41120 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
41122 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
41125 2012-10-21 Jim Blandy <jimb@codesourcery.com>
41126 Joseph Myers <joseph@codesourcery.com>
41128 * config.make.in (NM): New variable.
41130 2012-10-21 Andreas Jaeger <aj@suse.de>
41132 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
41133 definitions and declarations that are provided by
41134 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
41136 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
41139 * elf/Makefile (tests-static): Add tst-leaks1-static.
41140 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
41141 ($(objpfx)tst-leaks1-static): New rule.
41142 ($(objpfx)tst-leaks1-static-mem): Likewise.
41143 (tst-leaks1-static-ENV): New macro.
41144 * elf/dl-open.c (dl_open_worker): Check the main application
41145 only if SHARED is defined.
41146 * elf/tst-leaks1-static.c: New file.
41148 2012-10-20 Andreas Jaeger <aj@suse.de>
41150 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
41151 generic values for Linux.
41152 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
41153 and declarations that are provided by <bits/fcntl-linux.h> and
41154 include <bits/fcntl-linux.h>.
41155 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
41156 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
41158 2012-10-20 Roland McGrath <roland@hack.frob.com>
41160 * io/fcntl.h: Move include of <bits/types.h> to the top and
41161 include it unconditionally.
41163 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
41165 * wcsmbs/Makefile (tests-ifunc): New variable.
41166 (tests): Add $(tests-ifunc).
41167 * wcsmbs/test-wcschr-ifunc.c: New file.
41168 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
41169 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
41170 * wcsmbs/test-wcslen-ifunc.c: Likewise.
41171 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
41172 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
41174 * string/Makefile (tests-ifunc): New variable.
41175 (tests): Add $(tests-ifunc).
41176 * string/test-memccpy.c (TEST_NAME): New macro.
41177 * string/test-memchr.c (TEST_NAME): Likewise.
41178 * string/test-memcmp.c (TEST_NAME): Likewise.
41179 * string/test-memcpy.c (TEST_NAME): Likewise.
41180 * string/test-memmem.c (TEST_NAME): Likewise.
41181 * string/test-memmove.c (TEST_NAME): Likewise.
41182 * string/test-memset.c (TEST_NAME): Likewise.
41183 * string/test-rawmemchr.c (TEST_NAME): Likewise.
41184 * string/test-stpcpy.c (TEST_NAME): Likewise.
41185 * string/test-stpncpy.c (TEST_NAME): Likewise.
41186 * string/test-strcasecmp.c (TEST_NAME): Likewise.
41187 * string/test-strcasestr.c (TEST_NAME): Likewise.
41188 * string/test-strcat.c (TEST_NAME): Likewise.
41189 * string/test-strchr.c (TEST_NAME): Likewise.
41190 * string/test-strcmp.c(TEST_NAME): Likewise.
41191 * string/test-strcpy.c (TEST_NAME): Likewise.
41192 * string/test-strcspn.c (TEST_NAME): Likewise.
41193 * string/test-strlen.c (TEST_NAME): Likewise.
41194 * string/test-strncasecmp.c (TEST_NAME): Likewise.
41195 * string/test-strncmp.c (TEST_NAME): Likewise.
41196 * string/test-strncpy.c (TEST_NAME): Likewise.
41197 * string/test-strnlen.c (TEST_NAME): Likewise.
41198 * string/test-strpbrk.c (TEST_NAME): Likewise.
41199 * string/test-strrchr.c (TEST_NAME): Likewise.
41200 * string/test-strspn.c (TEST_NAME): Likewise.
41201 * string/test-strstr.c (TEST_NAME): Likewise.
41202 * string/test-bcopy-ifunc.c: New file.
41203 * string/test-bzero-ifunc.c: Likewise.
41204 * string/test-memccpy-ifunc.c: Likewise.
41205 * string/test-memchr-ifunc.c: Likewise.
41206 * string/test-memcmp-ifunc.c: Likewise.
41207 * string/test-memcpy-ifunc.c: Likewise.
41208 * string/test-memmem-ifunc.c: Likewise.
41209 * string/test-memmove-ifunc.c: Likewise.
41210 * string/test-mempcpy-ifunc.c: Likewise.
41211 * string/test-memset-ifunc.c: Likewise.
41212 * string/test-rawmemchr-ifunc.c: Likewise.
41213 * string/test-stpcpy-ifunc.c: Likewise.
41214 * string/test-stpncpy-ifunc.c: Likewise.
41215 * string/test-strcasecmp-ifunc.c: Likewise.
41216 * string/test-strcasestr-ifunc.c: Likewise.
41217 * string/test-strcat-ifunc.c: Likewise.
41218 * string/test-strchr-ifunc.c: Likewise.
41219 * string/test-strchrnul-ifunc.c: Likewise.
41220 * string/test-strcmp-ifunc.c: Likewise.
41221 * string/test-strcpy-ifunc.c: Likewise.
41222 * string/test-strcspn-ifunc.c: Likewise.
41223 * string/test-strlen-ifunc.c: Likewise.
41224 * string/test-strncasecmp-ifunc.c: Likewise.
41225 * string/test-strncat-ifunc.c: Likewise.
41226 * string/test-strncmp-ifunc.c: Likewise.
41227 * string/test-strncpy-ifunc.c: Likewise.
41228 * string/test-strnlen-ifunc.c: Likewise.
41229 * string/test-strpbrk-ifunc.c: Likewise.
41230 * string/test-strrchr-ifunc.c: Likewise.
41231 * string/test-strspn-ifunc.c: Likewise.
41232 * string/test-strstr-ifunc.c: Likewise.
41234 * debug/Makefile (tests-ifunc): New variable.
41235 (tests): Add $(tests-ifunc).
41236 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
41237 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
41238 * debug/test-stpcpy_chk-ifunc.c: New file.
41239 * debug/test-strcpy_chk-ifunc.c: Likewise.
41241 2012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
41244 * elf/dl-load.c (open_verify): Retry read if the entire ELF
41245 header is not read in.
41247 2012-10-19 Joseph Myers <joseph@codesourcery.com>
41249 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
41250 script to $(SHELL) as $<. Pass $(common-objpfx) to script
41251 directly. Pass built executable to script as
41252 $(built-program-cmd).
41253 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
41254 $testprogram without using LD_LIBRARY_PATH and $ldso.
41256 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
41257 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
41258 $(rtld-installed-name).
41259 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
41260 (rtld_installed_name): Likewise.
41261 (library_path): Likewise.
41262 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
41263 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
41264 $(run-program-prefix) to tst-tables.sh.
41265 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
41266 it to run tst-table-from and tst-table-to.
41267 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
41268 Pass it to tst-table.sh.
41269 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
41270 $(run-program-prefix) to tst-gettext.sh.
41271 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
41273 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
41275 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
41276 to run tst-gettext.
41277 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
41278 to run tst-gettext2.
41279 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
41280 to run tst-translit.
41281 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
41282 $(run-program-prefix) to tst-mtrace.sh.
41283 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
41285 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
41286 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
41287 $(rtld-installed-name).
41288 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
41289 (rtld_installed_name): Likewise.
41290 (run_program_prefix): New variable. Use it to run wordexp-test.
41292 * Makeconfig (ARCH): Remove all definitions.
41293 (machine): Likewise.
41294 [ARCH]: Remove conditional code.
41295 [!objdir]: Give error.
41296 [!objdir] (objpfx): Remove.
41297 [!objdir] (common-objpfx): Likewise.
41298 [!objdir] (common-objdir): Likewise.
41299 * configure.in (config_makefile): Remove. Hardcode Makefile in
41300 AC_CONFIG_FILES call.
41301 * configure: Regenerated.
41304 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
41306 (testout): Likewise.
41308 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
41309 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
41310 $(rtld-installed-name).
41311 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
41312 (rtld_installed_name): Likwise.
41313 (runit): Remove function.
41314 (run_getconf): New variable, Use it for running getconf binary.
41316 2012-10-18 H.J. Lu <hongjiu.lu@intel.com>
41319 * string/test-memmem.c (check_result): New function.
41320 (do_one_test): Use it.
41321 (check1): New function.
41322 (test_main): Use it.
41324 2012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
41326 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
41328 2012-10-18 Joseph Myers <joseph@codesourcery.com>
41330 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
41331 (_G_LSEEK64): Likewise.
41332 (_G_MMAP64): Likewise.
41333 (_G_FSTAT64): Likewise.
41334 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
41335 (_G_LSEEK64): Likewise.
41336 (_G_MMAP64): Likewise.
41337 (_G_FSTAT64): Likewise.
41338 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
41339 unconditional. Call __mmap64 directly.
41340 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
41341 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
41342 __lseek64 directly.
41343 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
41344 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
41346 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
41347 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
41348 __lseek64 directly.
41349 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
41350 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
41351 __lseek64 directly.
41352 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
41353 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
41354 __lseek64 directly.
41355 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
41356 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
41357 __fxstat64 directly.
41358 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
41359 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
41361 (freopen64) [!_G_OPEN64]: Remove conditional code.
41362 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
41364 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
41365 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
41367 (ftello64) [!_G_LSEEK64]: Remove conditional code.
41368 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
41370 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
41371 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
41373 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
41374 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
41376 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
41377 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
41379 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
41380 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
41382 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
41384 2012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
41387 * manual/memory.texi (Malloc Tunable Parameters): Add note
41388 about free list pointers overwriting some perturb bytes.
41389 Wording suggested by Roland McGrath.
41391 2012-10-17 Joseph Myers <joseph@codesourcery.com>
41393 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
41394 (lgamma_test): Likewise.
41395 (tgamma_test): Likewise.
41397 2012-10-16 Florian Weimer <fweimer@redhat.com>
41400 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
41401 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
41403 2012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
41405 * NEWS: Mention BZ #14716.
41406 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
41407 when removing AVAILABLE1_USES_J macro.
41409 2012-10-12 H.J. Lu <hongjiu.lu@intel.com>
41411 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
41412 (__bswap_64): __uint64_t for unsigned 64-bit int.
41414 2012-10-12 Andreas Schwab <schwab@linux-m68k.org>
41416 * include/string.h (memmem): Declare libc hidden alias.
41417 * string/memmem.c (memmem): Define libc hidden alias.
41418 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
41419 __read, __close instead of open, read, close.
41421 2012-10-11 H.J. Lu <hongjiu.lu@intel.com>
41423 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
41424 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
41426 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
41427 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
41428 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
41430 (__rawmemchr_sse2): Likewise.
41431 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
41432 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
41433 (__strchr_sse2): Likewise.
41434 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
41435 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
41436 (__strcasecmp_sse2): Likewise.
41437 (__strncasecmp_sse2): Likewise.
41438 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
41439 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
41440 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
41441 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
41442 (__strrchr_sse2): Likewise.
41443 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
41445 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
41446 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
41447 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
41448 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
41449 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
41450 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
41451 * sysdeps/x86_64/multiarch/memset.S: Likewise.
41452 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
41453 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
41454 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
41455 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
41456 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
41457 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
41458 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
41459 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
41460 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
41461 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
41462 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
41463 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
41464 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
41465 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
41466 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
41467 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
41468 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
41469 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
41470 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
41471 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
41472 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
41473 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
41474 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
41476 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
41478 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
41479 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
41480 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
41481 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
41483 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
41485 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
41486 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
41487 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
41488 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
41490 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
41491 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
41492 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
41493 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
41494 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
41495 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
41496 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
41497 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
41498 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
41499 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
41500 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
41501 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
41502 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
41503 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
41504 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
41505 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
41506 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
41507 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
41508 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
41509 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
41510 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
41511 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
41512 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
41513 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
41514 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
41515 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
41516 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
41517 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
41518 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
41519 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
41520 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
41521 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
41522 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
41523 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
41524 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
41525 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
41526 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
41527 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
41528 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
41529 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
41530 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
41532 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
41533 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
41534 * include/ifunc-impl-list.h: New file.
41535 * misc/ifunc-impl-list.c: Likewise.
41536 * misc/Makefile (routines): Add ifunc-impl-list.
41537 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
41538 * string/test-string.h: Include <ifunc-impl-list.h>.
41539 (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
41540 TEST_NAME]: New variables.
41541 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
41543 (test_init): Call __libc_ifunc_impl_list to initialize
41544 func_list if TEST_IFUNC and TEST_NAME are defined.
41546 * string/Makefile (strop-tests): Add bcopy and bzero.
41547 * string/test-bcopy.c: New file.
41548 * string/test-bzero.c: Likewise.
41549 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
41551 * string/test-memset.c: Support bzero test if TEST_BZERO is
41553 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
41555 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
41557 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
41560 2012-10-10 Joseph Myers <joseph@codesourcery.com>
41562 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
41563 * configure: Regenerated.
41565 * Makeconfig (+link-static-before-libc): Don't include
41566 $(link-static-libc).
41568 * libio/libio.h (_IO_pos_t): Remove.
41570 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
41572 * NEWS: Add note about FIPS mode. Wording suggested by Roland
41575 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
41577 * crypt/crypt-entry.c: Include fips-private.h.
41578 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
41579 * crypt/md5c-test.c (main): Tolerate disabled MD5.
41580 * sysdeps/unix/sysv/linux/fips-private.h: New file.
41581 * sysdeps/generic/fips-private.h: New file, dummy fallback.
41583 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
41585 * crypt/crypt-private.h: Include stdbool.h.
41586 (_ufc_setup_salt_r): Return bool.
41587 * crypt/crypt-entry.c: Include errno.h.
41588 (__crypt_r): Return NULL with EINVAL for bad salt.
41589 * crypt/crypt_util.c (bad_for_salt): New.
41590 (_ufc_setup_salt_r): Check that salt is long enough and within
41591 the specified alphabet.
41592 * crypt/badsalttest.c: New file.
41593 * crypt/Makefile (tests): Add it.
41594 ($(objpfx)badsalttest): New.
41596 2012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
41598 * NEWS: Add entry for BZ #14602.
41600 2012-10-09 Joseph Myers <joseph@codesourcery.com>
41602 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
41604 * math/libm-test.inc: Update comment listing what functions and
41606 (isgreater_test): New function.
41607 (isgreaterequal_test): Likewise.
41608 (isless_test): Likewise.
41609 (islessequal_test): Likewise.
41610 (islessgreater_test): Likewise.
41611 (isunordered_test): Likewise.
41612 (main): Call the new functions.
41614 2012-10-09 Roland McGrath <roland@hack.frob.com>
41616 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
41617 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
41618 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
41619 * sysdeps/i386/configure: Regenerated.
41620 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
41621 * sysdeps/mach/configure: Regenerated.
41622 * sysdeps/mach/hurd/configure: Regenerated.
41623 * sysdeps/powerpc/configure: Regenerated.
41624 * sysdeps/powerpc/powerpc32/configure: Regenerated.
41625 * sysdeps/powerpc/powerpc64/configure: Regenerated.
41626 * sysdeps/s390/s390-32/configure: Regenerated.
41627 * sysdeps/s390/s390-64/configure: Regenerated.
41628 * sysdeps/sh/configure: Regenerated.
41629 * sysdeps/sparc/configure: Regenerated.
41630 * sysdeps/unix/sysv/linux/configure: Regenerated.
41631 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
41632 * sysdeps/x86_64/configure: Regenerated.
41634 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
41635 defined. Don't check if MAP is NULL.
41637 2012-10-09 Joseph Myers <joseph@codesourcery.com>
41639 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
41640 (_G_stat64): Likewise.
41641 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
41642 (_G_stat64): Likewise.
41643 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
41644 instead of struct _G_stat64.
41645 * libio/fileops.c (mmap_remap_check): Likewise.
41646 (decide_maybe_mmap): Likewise.
41647 (_IO_new_file_seekoff): Likewise.
41648 (_IO_file_stat): Likewise.
41649 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
41651 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
41652 instead of struct _G_stat64.
41653 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
41655 2012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
41658 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
41660 (CHECK_EOL): New macro.
41661 (two_way_short_needle): Check beginning of haystack for EOL. Use
41663 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
41664 Replace with CHECK_EOL.
41665 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
41666 Replace with CHECK_EOL.
41668 2012-10-08 Joseph Myers <joseph@codesourcery.com>
41670 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
41672 * math/libm-test.inc: Update comment listing what functions and
41674 (finite_test): New function.
41675 (isinf_test): Likewise.
41676 (isnan_test): Likewise.
41677 (fpclassify_test): Test subnormal input.
41678 (isfinite_test): Likewise.
41679 (isnormal_test): Likewise.
41680 (main): Call the new functions.
41682 2012-10-08 Jonathan Nieder <jrnieder@gmail.com>
41685 * Makerules (%.dynsym): Force C locale when running
41686 $(OBJDUMP) --dynamic-syms.
41688 2012-10-08 Andreas Schwab <schwab@linux-m68k.org>
41690 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
41693 2012-10-06 David S. Miller <davem@davemloft.net>
41695 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
41696 upper 32-bits of the length value in %o2 since we use branch-on-register
41697 tests which consider the entire 64-bit register.
41699 2012-10-06 H.J. Lu <hongjiu.lu@intel.com>
41701 * string/test-strstr.c (check2): Add a test for page boundary.
41703 2012-10-05 David S. Miller <davem@davemloft.net>
41705 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
41706 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
41708 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
41710 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
41711 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
41712 and bzero when HWCAP_SPARC_CRYPTO is present.
41714 2012-10-05 H.J. Lu <hongjiu.lu@intel.com>
41717 * string/test-strstr.c (check2): New function.
41718 (test_main): Call check2.
41720 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
41722 * string/bug-strcasestr1.c (do_test): Moved to ...
41723 * string/test-strcasestr.c (check1): Here. New function.
41724 (do_one_test): Break out result checking code into ...
41725 (check_result): This. New function.
41726 (do_one_test): Call check_result.
41727 (test_main): Call check1.
41728 * string/bug-strchr1.c (do_test): Moved to ...
41729 * string/test-strchr.c (check1): Here. New function.
41730 (do_one_test): Break out result checking code into ...
41731 (check_result): This. New function.
41732 (do_one_test): Call check_result.
41733 (test_main): Call check1.
41734 * string/bug-strstr1.c (main): Moved to ...
41735 * string/test-strstr.c (check1): Here. New function.
41736 (do_one_test): Break out result checking code into ...
41737 (check_result): This. New function.
41738 (do_one_test): Call check_result.
41739 (test_main): Call check1.
41740 * string/bug-strcasestr1.c: Removed.
41741 * string/bug-strchr1.c: Likewise.
41742 * string/bug-strstr1.c: Likewise.
41744 * elf/Makefile (dl-routines): Add hwcaps.
41745 * elf/dl-support.c (_dl_important_hwcaps): Removed.
41746 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
41747 (_dl_important_hwcaps): Moved to ...
41748 * elf/dl-hwcaps.c: Here. New file.
41749 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
41752 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
41753 if IS_IN_rtld isn't defined.
41755 * elf/dl-support.c (_dl_sysinfo_map): New.
41756 Include "get-dynamic-info.h" and "setup-vdso.h".
41757 (_dl_non_dynamic_init): Call setup_vdso.
41758 * elf/dynamic-link.h: Don't include <assert.h>.
41759 (elf_get_dynamic_info): Moved to ...
41760 * elf/get-dynamic-info.h: Here. New file.
41761 * elf/dynamic-link.h: Include "get-dynamic-info.h".
41762 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
41763 * elf/setup-vdso.h: Here. New file.
41764 * elf/rtld.c: Include "setup-vdso.h".
41765 (dl_main): Call setup_vdso.
41767 2012-10-05 Joseph Myers <joseph@codesourcery.com>
41769 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
41770 creal in comment listing functions tested. List finite, isinf,
41771 isnan, isless, islessequal, isgreater, isgreaterequal,
41772 islessgreater, isunordered, lgamma_r and pow10 as functions and
41773 macros not tested. Mention which functions not tested are aliases
41774 for other functions. Fix typo. Note that signs of NaNs are not
41777 * scripts/config.guess: Update from config.git.
41778 * scripts/config.sub: Likewise.
41780 2012-10-04 Roland McGrath <roland@hack.frob.com>
41782 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
41783 * misc/madvise.c (madvise): Renamed to __madvise.
41784 Make madvise a weak alias.
41785 * include/sys/mman.h: Declare __madvise.
41786 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
41787 * sysdeps/unix/syscalls.list
41788 (madvise): Make __madvise the strong name, and madvise a weak alias.
41789 * sysdeps/unix/sysv/linux/syscalls.list
41790 (madvise, mmap): Remove redundant entries.
41791 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
41792 * malloc/malloc.c (mtrim): Likewise.
41793 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
41795 2012-10-03 Roland McGrath <roland@hack.frob.com>
41797 * sysdeps/mach/hurd/dl-cache.c: File removed.
41798 * config.h.in (USE_LDCONFIG): New #undef.
41799 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
41800 * configure: Regenerated.
41801 * elf/Makefile (dl-routines): Add dl-cache only under
41802 [$(use-ldconfig) = yes].
41803 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
41804 cache on [USE_LDCONFIG].
41805 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
41807 * elf/rtld.c (dl_main): Likewise.
41809 2012-10-03 Pino Toscano <toscano.pino@tiscali.it>
41811 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
41812 _SC_LEVEL4_CACHE_LINESIZE.
41814 2012-10-03 Roland McGrath <roland@hack.frob.com>
41816 * sysdeps/unix/bsd/confstr.h: File removed.
41818 2012-10-02 Alexandre Oliva <aoliva@redhat.com>
41820 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
41823 2012-10-02 Roland McGrath <roland@hack.frob.com>
41825 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
41826 Make 'mapoff' field ElfW(Off) rather than off_t.
41828 2012-10-02 Dmitry V. Levin <ldv@altlinux.org>
41830 * nscd/Makefile: Remove nscd-cflags and all its users.
41831 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
41832 (CFLAGS-nonlib): Add compiler flags for nscd modules.
41835 * malloc.c (malloc_printerr): Clarify error message.
41837 2012-10-02 H.J. Lu <hongjiu.lu@intel.com>
41840 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
41841 Set bit_FMA_Usable if FMA is supported.
41842 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
41844 (bit_FMA4_Usable): Updated.
41845 (index_FMA_Usable): New macro.
41846 (CPUID_FMA): Likewise
41847 (HAS_FMA): Defined with bit_FMA_Usable.
41849 2012-10-01 Roland McGrath <roland@hack.frob.com>
41851 * bits/types.h (__swblk_t): Type removed.
41852 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
41853 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
41854 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
41855 (__SWBLK_T_TYPE): Likewise.
41856 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
41857 (__SWBLK_T_TYPE): Likewise.
41858 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
41859 (__SWBLK_T_TYPE): Likewise.
41860 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
41861 (__SWBLK_T_TYPE): Likewise.
41863 2012-10-01 Patsy Franklin <pfrankli@redhat.com>
41864 Honza Horak <hhorak@redhat.com>
41866 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
41867 (xdr_mapname): Use YPMAXMAP as maxsize.
41868 (xdr_peername): Use YPMAXPEER as maxsize.
41869 (xdr_keydat): Use YPAXRECORD as maxsize.
41870 (xdr_valdat): Use YPMAXRECORD as maxsize.
41872 2012-10-01 Roland McGrath <roland@hack.frob.com>
41874 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
41876 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
41877 * csu/init-first.c: ... here.
41878 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
41879 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
41880 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
41881 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
41882 * sysdeps/i386/init-first.c: File removed.
41883 * sysdeps/sh/init-first.c: File removed.
41885 2012-10-01 Joseph Myers <joseph@codesourcery.com>
41888 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
41889 if x * y might underflow to zero and z is zero.
41890 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
41891 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
41892 * math/libm-test.inc (min_subnorm_value): New variable.
41893 (fma_test): Add more tests.
41894 (fma_test_towardzero): Likewise.
41895 (fma_test_downward): Likewise
41896 (fma_test_upward): Likewise.
41897 (initialize): Set min_subnorm_value.
41899 2012-09-29 Joseph Myers <joseph@codesourcery.com>
41902 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
41904 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
41905 mode for addition resulting in exact zero.
41906 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
41907 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
41909 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
41910 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
41911 * math/libm-test.inc (fma_test): Add more tests.
41912 (fma_test_towardzero): New function.
41913 (fma_test_downward): Likewise.
41914 (fma_test_upward): Likewise.
41915 (main): Call the new functions.
41917 2012-09-28 David S. Miller <davem@davemloft.net>
41919 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
41921 2012-09-28 Roland McGrath <roland@hack.frob.com>
41923 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
41924 instead of SIGALRM.
41926 * sysdeps/gnu/_G_config.h: Moved to ...
41927 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
41928 * sysdeps/mach/hurd/_G_config.h: Moved to ...
41929 * sysdeps/generic/_G_config.h: ... here.
41931 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
41933 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
41935 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
41936 Conditionalize target on [libnss_test1.so-version].
41938 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
41940 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
41941 (elfobjdir): Move out of conditionals.
41943 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
41944 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
41945 (__nss_lookup_function): Conditionalize label remove_from_tree on
41946 [!DO_STATIC_NSS || SHARED], matching its only use.
41948 2012-09-28 David S. Miller <davem@davemloft.net>
41950 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
41951 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
41953 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
41955 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
41956 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
41957 when HWCAP_SPARC_CRYPTO is present.
41959 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
41961 * io/tst-mknodat.c: Create a FIFO instead of a socket.
41963 2012-09-28 Andreas Schwab <schwab@linux-m68k.org>
41966 * stdio-common/vfprintf.c (process_string_arg): Revert
41969 2011-09-28 Jonathan Nieder <jrnieder@gmail.com>
41971 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
41973 * stdio-common/tst-sprintf.c: Include <locale.h>
41974 (main): Test sprintf's handling of incomplete multibyte
41977 2012-09-28 H.J. Lu <hongjiu.lu@intel.com>
41979 * elf/dl-runtime.c (VERSYMIDX): Removed.
41980 * elf/dl-version.c (VERSYMIDX): Likewise.
41981 * elf/do-rel.h (VERSYMIDX): Likewise.
41982 (VALIDX): Likewise.
41983 * elf/dynamic-link.h (VERSYMIDX): Likewise.
41984 * elf/rtld.c (VALIDX): Likewise.
41985 (ADDRIDX): Likewise.
41986 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
41987 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
41988 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
41989 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
41990 (VALIDX): Likewise.
41991 (ADDRIDX): Likewise.
41993 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
41995 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
41997 2012-09-28 Dmitry V. Levin <ldv@altlinux.org>
42000 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
42002 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
42003 addresses are in the same scope as 192.0.2/24.
42004 * posix/gai.conf: Document new scope table defaults.
42006 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
42009 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
42010 for ftell. Compute offsets from write pointers instead.
42011 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
42013 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
42016 * libio/Makefile (tests): New test case tst-fseek.
42017 * libio/tst-fseek.c: New test case to verify that fseek/ftell
42018 combination works in wide mode.
42019 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
42020 state when the external buffer state changes.
42022 2012-09-27 David S. Miller <davem@davemloft.net>
42025 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
42026 pass reloc->r_addend in as the 'high' argument to
42027 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
42029 * sysdeps/sparc/fpu/libm-test-ulps: Update.
42031 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
42033 * rt/tst-aio2.c: Include <pthread.h>.
42034 * rt/tst-aio3.c: Likewise.
42036 2012-09-27 Steve Ellcey <sellcey@mips.com>
42038 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
42040 2012-09-27 H.J. Lu <hongjiu.lu@intel.com>
42042 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
42043 contents on [SHARED].
42045 2012-09-26 Marek Polacek <polacek@redhat.com>
42049 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
42050 for C++ and GCC <4.3 as well as for non GCC compilers.
42052 2012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
42054 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
42056 2012-09-25 Roland McGrath <roland@hack.frob.com>
42058 * Makefile.in (all, install): Declare with .PHONY.
42059 Reported by Michael Hope <michael.hope@linaro.org>.
42061 2012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
42063 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
42064 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
42066 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
42068 (sydep_routines): Add the new and the internal functions.
42069 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
42070 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
42071 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
42072 (GLIBC_2.17): Add the new function.
42073 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
42074 (GLIBC_2.17): Likewise.
42075 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
42076 (GLIBC_2.17): Likewise.
42077 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
42078 (GLIBC_2.17): Likewise.
42079 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
42081 2012-09-25 Alan Modra <amodra@gmail.com>
42083 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
42084 Add release barrier before setting once_control to say
42085 initialisation is done. Add hints on lwarx. Use macro in
42087 (clear_once_control): Add release barrier.
42089 2012-09-25 Joseph Myers <joseph@codesourcery.com>
42092 * math/s_clog.c (__clog): Handle more values close to |z| = 1
42094 * math/s_clog10.c (__clog10): Likewise.
42095 * math/s_clog10f.c (__clog10f): Likewise.
42096 * math/s_clog10l.c (__clog10l): Likewise.
42097 * math/s_clogf.c (__clogf): Likewise.
42098 * math/s_clogl.c (__clogl): Likewise.
42099 * math/Makefile (libm-calls): Add x2y2m1.
42100 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
42101 (__x2y2m1): Likewise.
42102 (__x2y2m1l): Likewise.
42103 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
42104 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
42105 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
42106 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
42107 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
42108 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
42109 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
42110 * sysdeps/i386/fpu/libm-test-ulps: Update.
42111 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42114 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
42115 int as type of variable DEPTH.
42116 (glob): Use size_t instead of int as type of variables NEWCOUNT
42119 2012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
42121 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
42122 Add s_sincosf-sse2.
42123 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
42124 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
42125 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
42126 macros for using routine as __sincosf_ia32.
42127 Use macro for function declaration and weak_alias.
42128 * sysdeps/i386/fpu/libm-test-ulps: Update.
42130 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
42131 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
42133 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
42134 subnormal argument.
42135 * math/s_cexpf.c (__cexpf): Likewise.
42136 * math/s_csinf.c (__csinf): Likewise.
42137 * math/s_csinhf.c (__csinhf): Likewise.
42138 * math/s_ctanf.c (__ctanf): Likewise.
42139 * math/s_ctanhf.c (__ctanhf): Likewise.
42140 * math/s_ccosh.c (__ccoshf): Likewise.
42141 * math/s_cexp.c (__cexpl): Likewise.
42142 * math/s_csin.c (__csin): Likewise.
42143 * math/s_csinh.c (__csinh): Likewise.
42144 * math/s_ctan.c (__ctan): Likewise.
42145 * math/s_ctanh.c (ctanh): Likewise.
42146 * math/s_ccoshl.c (__ccoshl): Likewise.
42147 * math/s_cexpl.c (__cexpl): Likewise.
42148 * math/s_csinl.c (__csinl): Likewise.
42149 * math/s_csinhl.c (__csinhl): Likewise.
42150 * math/s_ctanl.c (__ctanl): Likewise.
42151 * math/s_ctanhl.c (__ctanhl): Likewise.
42153 2012-09-25 Joseph Myers <joseph@codesourcery.com>
42155 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
42156 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
42157 (_IO_off_t): Define to __off_t, not _G_off_t.
42158 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
42159 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
42160 (_IO_wint_t): Define to wint_t, not _G_wint_t.
42161 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
42162 type of __dummy and __dummy2 fields.
42163 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
42164 (_G_ssize_t): Likewise.
42165 (_G_off_t): Likewise.
42166 (_G_pid_t): Likewise.
42167 (_G_uid_t): Likewise.
42168 (_G_wchar_t): Likewise.
42169 (_G_wint_t): Likewise.
42170 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
42171 (_G_ssize_t): Likewise.
42172 (_G_off_t): Likewise.
42173 (_G_pid_t): Likewise.
42174 (_G_uid_t): Likewise.
42175 (_G_wchar_t): Likewise.
42176 (_G_wint_t): Likewise.
42177 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
42178 (_G_ssize_t): Likewise.
42179 (_G_off_t): Likewise.
42180 (_G_pid_t): Likewise.
42181 (_G_uid_t): Likewise.
42182 (_G_wchar_t): Likewise.
42183 (_G_wint_t): Likewise.
42185 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
42187 * malloc/arena.c: Include malloc-sysdep.h.
42188 (shrink_heap): Use check_may_shrink_heap to decide if madvise
42189 is sufficient to shrink the heap or an unmap is needed.
42190 * sysdeps/generic/malloc-sysdep.h: New file. Define
42191 new function check_may_shrink_heap.
42192 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
42193 new function check_may_shrink_heap.
42195 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
42197 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
42200 2012-09-24 Dmitry V. Levin <ldv@altlinux.org>
42202 * catgets/test-gencat.sh: Add "set -e".
42203 * elf/tst-pathopt.sh: Likewise.
42204 * grp/tst_fgetgrent.sh: Likewise.
42205 * iconvdata/run-iconv-test.sh: Likewise.
42206 * intl/tst-gettext.sh: Likewise.
42207 * intl/tst-gettext2.sh: Likewise.
42208 * intl/tst-gettext4.sh: Likewise.
42209 * intl/tst-gettext6.sh: Likewise.
42210 * intl/tst-translit.sh: Likewise.
42211 * io/ftwtest-sh: Likewise.
42212 * libio/test-freopen.sh: Likewise.
42213 * malloc/tst-mtrace.sh: Likewise.
42214 * posix/globtest.sh: Likewise.
42215 * posix/tst-getconf.sh: Likewise.
42216 * posix/wordexp-tst.sh: Likewise.
42217 * stdio-common/tst-printf.sh: Likewise.
42218 * stdio-common/tst-unbputc.sh: Likewise.
42219 * stdlib/tst-fmtmsg.sh: Likewise.
42220 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
42221 * catgets/Makefile: Do not specify -e option when running
42222 testsuite shell scripts.
42223 * elf/Makefile: Likewise.
42224 * grp/Makefile: Likewise.
42225 * iconvdata/Makefile: Likewise.
42226 * intl/Makefile: Likewise.
42227 * io/Makefile: Likewise.
42228 * libio/Makefile: Likewise.
42229 * malloc/Makefile: Likewise.
42230 * posix/Makefile: Likewise.
42231 * stdio-common/Makefile: Likewise.
42232 * stdlib/Makefile: Likewise.
42233 * sysdeps/x86_64/Makefile: Likewise.
42235 * io/ftwtest-sh: Add copyright header.
42236 * posix/globtest.sh: Likewise.
42237 * posix/tst-getconf.sh: Likewise.
42238 * posix/wordexp-tst.sh: Likewise.
42239 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
42241 2012-09-24 H.J. Lu <hongjiu.lu@intel.com>
42244 * Makeconfig (+link): Defined as $(+link-static) if
42245 $(build-shared) isn't yes.
42246 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
42248 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
42250 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
42253 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
42254 new chunk size with MALLOC_ALIGN_MASK.
42256 2012-09-24 Joseph Myers <joseph@codesourcery.com>
42259 * stdio-common/printf_fphex.c: Include <stdbool.h> and
42261 (__printf_fphex): Determine rounding using get_rounding_mode and
42263 * stdio-common/tst-printf-round.c (struct hex_test): New
42265 (hex_tests): New variable.
42266 (test_hex_in_one_mode): New function.
42267 (do_test): Also run tests for hex float output.
42269 2012-09-21 Joseph Myers <joseph@codesourcery.com>
42271 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
42272 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
42273 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
42274 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
42275 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
42276 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
42277 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
42278 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
42280 2012-09-20 Joseph Myers <joseph@codesourcery.com>
42282 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
42283 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
42284 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
42285 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
42287 2012-09-19 Dmitry V. Levin <ldv@altlinux.org>
42290 * elf/rtld.c (dl_main): Limit the check for self loading to normal
42292 * elf/tst-rtld-load-self.sh: New test.
42293 * elf/Makefile: Run it.
42295 2012-09-18 Joseph Myers <joseph@codesourcery.com>
42297 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
42298 (tst-writev-ENV): Remove.
42299 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
42301 2012-09-17 Chris Metcalf <cmetcalf@tilera.com>
42303 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
42305 2012-09-17 Joseph Myers <joseph@codesourcery.com>
42307 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
42309 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
42311 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
42312 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
42313 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
42316 2012-09-14 H.J. Lu <hongjiu.lu@intel.com>
42319 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
42320 * config.make.in (have-cpp-asm-debuginfo): Removed.
42321 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
42322 * configure: Regenerated.
42324 2012-09-14 Joseph Myers <joseph@codesourcery.com>
42327 * stdio-common/printf_fp.c: Include <stdbool.h> and
42329 (___printf_fp): Determine rounding using get_rounding_mode and
42331 * stdio-common/tst-printf-round.c: New file.
42332 * stdio-common/Makefile (tests): Add tst-printf-round.
42333 (link-libm): New variable.
42334 ($(objpfx)tst-printf-round): Depend in $(link-libm).
42336 2012-09-13 H.J. Lu <hongjiu.lu@intel.com>
42339 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
42340 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
42342 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
42345 2012-09-13 Joseph Myers <joseph@codesourcery.com>
42347 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
42348 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
42349 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
42350 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
42352 2012-09-12 Joseph Myers <joseph@codesourcery.com>
42355 * include/rounding-mode.h: New file.
42356 * sysdeps/generic/get-rounding-mode.h: Likewise.
42357 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
42358 * stdlib/strtod_l.c: Include <rounding-mode.h>.
42359 (MAX_VALUE): New macro.
42360 (MIN_VALUE): Likewise.
42361 (overflow_value): New function.
42362 (underflow_value): Likewise.
42363 (round_and_return): Use overflow_value and underflow_value to
42364 determine return values in overflow and underflow cases. Use
42365 round_away to determine rounding depending on rounding mode.
42366 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
42367 determine return values in overflow and underflow cases.
42368 * stdlib/tst-strtod-round.c: Include <fenv.h>.
42369 (struct test_results): New structure.
42370 (struct test): Use struct test_results to store expected results
42371 for all rounding modes.
42372 (TEST): Include expected results for all rounding modes.
42373 (test_in_one_mode): New function.
42374 (do_test): Use test_in_one_mode to compute and check results.
42375 Check results for all rounding modes.
42376 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
42379 2012-12-09 Allan McRae <allan@archlinux.org>
42381 * sysdeps/i386/fpu/libm-test-ulps: Update
42383 2012-09-11 Joseph Myers <joseph@codesourcery.com>
42385 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
42386 (_G_int32_t): Likewise.
42387 (_G_uint16_t): Likewise.
42388 (_G_uint32_t): Likewise.
42389 (_G_HAVE_BOOL): Likewise.
42390 (_G_HAVE_ATEXIT): Likewise.
42391 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
42392 (_G_HAVE_IO_FILE_OPEN): Likewise.
42393 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
42394 (_G_int32_t): Likewise.
42395 (_G_uint16_t): Likewise.
42396 (_G_uint32_t): Likewise.
42397 (_G_HAVE_BOOL): Likewise.
42398 (_G_HAVE_ATEXIT): Likewise.
42399 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
42400 (_G_HAVE_IO_FILE_OPEN): Likewise.
42401 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
42402 (_G_int32_t): Likewise.
42403 (_G_uint16_t): Likewise.
42404 (_G_uint32_t): Likewise.
42405 (_G_HAVE_BOOL): Likewise.
42406 (_G_HAVE_ATEXIT): Likewise.
42407 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
42408 (_G_HAVE_IO_FILE_OPEN): Likewise.
42410 2012-09-11 H.J. Lu <hongjiu.lu@intel.com>
42412 * csu/libc-tls.c: Update copyright years.
42414 2012-09-10 Joseph Myers <joseph@codesourcery.com>
42416 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
42417 [!_G_USING_THUNKS]: Remove conditional code.
42418 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
42419 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
42421 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
42422 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
42423 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
42424 (_G_VTABLE_LABEL_PREFIX): Likewise.
42425 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
42426 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
42427 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
42428 (_G_VTABLE_LABEL_PREFIX): Likewise.
42429 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
42430 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
42431 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
42432 (_G_VTABLE_LABEL_PREFIX): Likewise.
42433 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
42435 2012-09-10 H.J. Lu <hongjiu.lu@intel.com>
42437 * libio/Makefile: Include ../Makeconfig before tests.
42438 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
42439 only if $(build-shared) is yes.
42441 * iconv/gconv_db.c: Update copyright years.
42443 2012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
42445 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
42446 unwind info if defined PIC. Fix special cases description.
42447 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
42449 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
42451 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
42453 2012-09-07 H.J. Lu <hongjiu.lu@intel.com>
42455 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
42457 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
42460 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
42461 (LDLIBS-tst-chk4): This.
42462 (LDFLAGS-tst-chk5): Renamed to ...
42463 (LDLIBS-tst-chk5): This.
42464 (LDFLAGS-tst-chk6): Renamed to ...
42465 (LDLIBS-tst-chk6): This.
42466 (LDFLAGS-tst-lfschk4): Renamed to ...
42467 (LDLIBS-tst-lfschk4): This.
42468 (LDFLAGS-tst-lfschk5): Renamed to ...
42469 (LDLIBS-tst-lfschk5): This.
42470 (LDFLAGS-tst-lfschk6): Renamed to ...
42471 (LDLIBS-tst-lfschk6): This.
42473 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
42474 on $(common-objpfx)soversions.mk.
42476 2012-09-07 Joseph Myers <joseph@codesourcery.com>
42479 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
42482 2012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
42484 * malloc/arena.c (arena_get_retry): New function that gets
42485 another arena for the caller to try its request on.
42486 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
42487 current arena cannot fulfill the request.
42488 (__libc_memalign): Likewise.
42489 (__libc_memalign): Likewise.
42490 (__libc_pvalloc): Likewise.
42491 (__libc_calloc): Likewise.
42493 2012-09-05 John Tobey <john.tobey@gmail.com>
42496 * manual/arith.texi (Operations on Complex): Fix description
42497 of carg branch cut.
42499 2012-09-06 Joseph Myers <joseph@codesourcery.com>
42502 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
42506 * manual/memory.texi (Memory): Make order of menu items match
42509 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
42511 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
42512 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
42513 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
42515 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
42517 * csu/libc-tls.c (static_dtv): Renamed to ...
42518 (_dl_static_dtv): This. Make it global.
42519 (_dl_initial_dtv): Removed.
42520 (__libc_setup_tls): Updated.
42521 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
42522 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
42525 2012-09-06 Petr Machata <pmachata@redhat.com>
42527 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
42528 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
42529 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
42530 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
42532 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
42535 * csu/libc-tls.c (_dl_initial_dtv): New variable.
42536 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
42539 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
42542 * Makeconfig (link-static-before-libc): Replace $(+prector)
42544 (link-static-after-libc): Replace $(+postctor) with
42546 (link-bounded): Replace $(+prector)/$(+postctor) with
42547 $(+prectorT)/$(+postctorT).
42548 (+prectorT): New macro.
42549 (+postctorT): Likewise.
42551 2012-09-06 Joseph Myers <joseph@codesourcery.com>
42553 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
42554 (round_str): Handle values above the maximum for IBM long double
42556 * stdlib/tst-strtod-round.c (tests): Regenerated.
42558 2012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
42560 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
42562 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
42563 zarch_nohighgprs around the zarch optimized routines.
42564 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
42565 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
42566 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
42569 2012-09-05 David S. Miller <davem@davemloft.net>
42571 * sysdeps/sparc/fpu/libm-test-ulps: Update.
42573 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
42574 (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
42575 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
42576 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
42579 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
42581 * malloc/arena.c: Fold copyright years.
42582 * malloc/mcheck.c, malloc/memusage.c: Likewise.
42584 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
42586 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
42588 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
42590 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
42592 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
42594 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
42595 change internal state upon failure.
42597 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
42599 * malloc/mcheck.c (mcheck_check_all): Fix typo.
42600 * malloc/memusage.c (mmap): Likewise.
42601 (mmap64, mremap): Likewise. Adjust name in comment.
42603 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
42605 * libio/fileops.c: Fix typos in comments.
42606 * libio/oldfileops.c: Likewise.
42607 * libio/wfileops.c: Likewise.
42609 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
42612 * malloc/Makefile (tests): Add tst-malloc-usable test case.
42613 (tst-malloc-usable-ENV): Set environment for test case.
42614 * malloc/hooks.c (malloc_check_get_size): New function to get
42616 * malloc/malloc.c (musable): Use malloc_check_get_size.
42617 * malloc/tst-malloc-usable.c: New test case.
42619 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
42621 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
42623 2012-09-05 Allan McRae <allan@archlinux.org>
42626 * configure.in (CXX_SYSINCLUDES): Use compiler output to
42627 determine header location.
42628 * configure: Regenerated.
42630 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
42632 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
42634 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
42635 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
42637 (test): Regenerate.
42639 2012-09-04 David S. Miller <davem@davemloft.net>
42641 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
42642 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
42643 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
42645 2012-09-04 Florian Weimer <fweimer@redhat.com>
42647 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
42650 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
42652 2012-09-04 Joseph Myers <joseph@codesourcery.com>
42655 * libio/iogetdelim.c: Include <limits.h>.
42656 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
42657 + len + 1 would overflow.
42659 2012-09-03 Andreas Jaeger <aj@suse.de>
42661 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
42662 * sysdeps/i386/fpu/libm-test-ulps: Update.
42664 2012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
42666 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
42667 Add s_sinf-sse2, s_conf-sse2.
42669 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
42670 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
42671 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
42672 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
42674 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
42675 for using routine as __sinf_ia32.
42676 Use macro for function declaration and weak_alias.
42677 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
42678 for using routine as __cosf_ia32.
42679 Use macro for function declaration and weak_alias.
42681 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
42682 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
42684 * sysdeps/x86_64/fpu/s_sinf.S: New file.
42685 * sysdeps/x86_64/fpu/s_cosf.S: New file.
42686 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
42688 * math/libm-test.inc (cos_test): Add more test cases.
42689 (sin_test): Likewise.
42690 (sincos_test): Likewise.
42692 2012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
42694 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
42695 (IFUNC_RESOLVE): Make pointers to the specialized implementations
42697 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
42699 2012-09-02 H.J. Lu <hongjiu.lu@intel.com>
42702 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
42703 first element of the GOT.
42704 (elf_machine_load_address): Return the difference between
42705 the runtime address of _DYNAMIC and elf_machine_dynamic ().
42707 2012-09-01 Allan McRae <allan@archlinux.org>
42710 * configure.in (AWK): Require gawk version 3.0 or later.
42711 * configure: Regenerated.
42713 2012-09-01 Joseph Myers <joseph@codesourcery.com>
42715 * sysdeps/unix/sysv/linux/kernel-features.h
42716 (__ASSUME_POSIX_CPU_TIMERS): Remove.
42717 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
42718 [__NR_clock_getres]: Make code unconditional.
42719 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
42720 (clock_getcpuclockid): Remove code left unreachable by removal of
42722 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
42723 code unconditional.
42724 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
42725 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
42726 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
42727 Make code unconditional.
42728 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
42729 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
42730 * sysdeps/unix/sysv/linux/clock_settime.c
42731 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
42733 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
42734 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
42736 2012-08-29 H.J. Lu <hongjiu.lu@intel.com>
42739 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
42740 scripts/test-installation.pl.
42742 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
42743 and $ld_so_version if it is set.
42745 2012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
42748 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
42749 failure if reading from procfs failed.
42750 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
42752 2012-08-27 Joseph Myers <joseph@codesourcery.com>
42754 * sysdeps/unix/sysv/linux/kernel-features.h
42755 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
42756 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
42757 Remove conditional code.
42758 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
42759 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
42760 Remove conditional code.
42761 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
42762 * sysdeps/unix/sysv/linux/i386/fxstat.c
42763 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
42764 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
42765 * sysdeps/unix/sysv/linux/i386/fxstatat.c
42766 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
42767 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
42768 * sysdeps/unix/sysv/linux/i386/lxstat.c
42769 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
42770 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
42771 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
42772 Remove conditional code.
42773 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
42774 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
42775 Remove conditional code.
42776 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
42777 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
42778 <kernel-features.h>.
42779 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
42781 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
42782 Remove conditional code.
42783 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
42784 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
42785 Remove conditional.
42787 2012-08-27 Mike Frysinger <vapier@gentoo.org>
42790 * NEWS: Add fixed bug number.
42792 2012-08-27 Joseph Myers <joseph@codesourcery.com>
42795 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
42796 underflowing exponent in case of negative sign.
42797 * stdlib/tst-strtod-round-data: Add more tests.
42798 * stdlib/tst-strtod-round.c (tests): Regenerated.
42801 * stdlib/strtod_l.c (NDIG): Remove.
42802 (HEXNDIG): Likewise.
42803 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
42804 smallest representable value.
42805 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
42806 lie within an exact representation of 1/2 ulp of the result.
42807 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
42809 (TENS_P9_IDX): Define unconditionally.
42810 (TENS_P9_SIZE): Likewise.
42811 (TENS_P10_IDX): Likewise.
42812 (TENS_P10_SIZE): Likewise.
42813 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
42814 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
42815 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
42816 entries for 10^2^13 and 10^2^14.
42817 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
42818 (TENS_P13_IDX): Define.
42819 (TENS_P13_SIZE): Likewise.
42820 (TENS_P14_IDX): Likewise.
42821 (TENS_P14_SIZE): Likewise.
42822 (_fpioconst_pow10): Change array size to
42823 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
42825 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
42826 1024]: Add entries for 10^2^13 and 10^2^14.
42827 [LAST_POW10 > _LAST_POW10]: Remove #error.
42828 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
42829 (_fpioconst_pow10): Change array size to
42830 FPIOCONST_POW10_ARRAY_SIZE.
42831 * stdlib/gen-fpioconst.c: New file.
42832 * stdlib/gen-tst-strtod-round.c: Likewise.
42833 * stdlib/tst-strtod-round-data: Likewise.
42834 * stdlib/tst-strtod-round.c: Likewise.
42835 * stdlib/Makefile (tests): Add tst-strtod-round.
42838 * stdlib/strtod_l.c: Include <stdint.h>.
42839 (NDEBUG): Do not define.
42840 (round_and_return): Change EXPONENT parameter to type intmax_t.
42841 Rearrange calculations to avoid internal overflow possibilities.
42842 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
42843 Rearrange calculations to avoid internal overflow possibilities.
42844 Assert that number fits inside MPNSIZE limbs.
42845 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
42846 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
42847 calculations and add assertions to avoid internal overflow
42848 possibilities. Add casts to avoid signed/unsigned operations.
42849 * stdlib/tst-strtod-overflow.c: New file.
42850 * stdlib/Makefile (tests): Add tst-strtod-overflow.
42852 2012-08-25 Marek Polacek <polacek@redhat.com>
42854 * time/time.h: Fix some typos in comments.
42856 2012-08-23 Roland McGrath <roland@hack.frob.com>
42858 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
42859 * posix/tst-rfc3484-2.c: Likewise.
42860 * posix/tst-rfc3484-3.c: Likewise.
42862 2012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
42864 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
42865 (EF_ARM_ABI_FLOAT_HARD): Likewise.
42867 2012-08-23 Joseph Myers <joseph@codesourcery.com>
42869 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
42870 #include of fxstatat64.c.
42872 2012-08-22 Roland McGrath <roland@hack.frob.com>
42874 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
42875 * shadow/getspent_r.c: Likewise.
42876 * shadow/getspnam.c: Likewise.
42877 * shadow/getspnam_r.c: Likewise.
42878 * gshadow/getsgent.c: Likewise.
42879 * gshadow/getsgent_r.c: Likewise.
42880 * gshadow/getsgnam.c: Likewise.
42881 * gshadow/getsgnam_r.c: Likewise.
42882 * inet/getnetbyad.c: Likewise.
42883 * inet/getnetbyad_r.c: Likewise.
42884 * inet/getnetbynm.c: Likewise.
42885 * inet/getnetbynm_r.c: Likewise.
42886 * inet/getnetent.c: Likewise.
42887 * inet/getnetent_r.c: Likewise.
42888 * inet/getproto.c: Likewise.
42889 * inet/getproto_r.c: Likewise.
42890 * inet/getprtent.c: Likewise.
42891 * inet/getprtent_r.c: Likewise.
42892 * inet/getprtname.c: Likewise.
42893 * inet/getprtname_r.c: Likewise.
42894 * inet/getrpcbyname.c: Likewise.
42895 * inet/getrpcbyname_r.c: Likewise.
42896 * inet/getrpcbynumber.c: Likewise.
42897 * inet/getrpcbynumber_r.c: Likewise.
42898 * inet/getrpcent.c: Likewise.
42899 * inet/getrpcent_r.c: Likewise.
42900 * inet/getaliasent.c: Likewise.
42901 * inet/getaliasent_r.c: Likewise.
42902 * inet/getaliasname.c: Likewise.
42903 * inet/getaliasname_r.c: Likewise.
42904 * nscd/getgrgid_r.c: Likewise.
42905 * nscd/getgrnam_r.c: Likewise.
42906 * nscd/gethstbyad_r.c: Likewise.
42907 * nscd/gethstbynm3_r.c: Likewise.
42908 * nscd/getpwnam_r.c: Likewise.
42909 * nscd/getpwuid_r.c: Likewise.
42910 * nscd/getsrvbynm_r.c: Likewise.
42911 * nscd/getsrvbypt_r.c: Likewise.
42912 * nscd/gai.c: Likewise.
42914 * configure.in (build_nscd): New substituted variable, set
42915 by --disable-build-nscd and defaults to $use_nscd.
42916 * configure: Regenerated.
42917 * config.make.in (build-nscd): New substituted variable.
42918 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
42919 Change conditional to require [$(build-nscd) = yes] as well.
42920 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
42923 * configure.in (use_nscd): New substituted variable, set by
42924 --disable-nscd. If enabled, define USE_NSCD.
42925 * configure: Regenerated.
42926 * config.h.in: Add USE_NSCD.
42927 * config.make.in (use-nscd): New substituted variable.
42928 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
42929 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
42930 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
42931 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
42932 (CFLAGS-getgrnam_r.c): Likewise.
42933 (CFLAGS-initgroups.c): Likewise.
42934 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
42935 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
42937 * inet/getnetgrent_r.c
42938 (nscd_setnetgrent): New function, broken out of ...
42939 (setnetgrent): ... here. Call it.
42940 (innetgr): Conditionalize nscd bits on [USE_NSCD].
42941 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
42942 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
42943 * nscd/Makefile (routines, aux): Move definitions after include of
42944 Makeconfig. Conditionalize on [$(use-nscd) != no].
42945 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
42946 Conditionalize on [USE_NSCD].
42947 (is_nscd, nscd_init_cb): Likewise.
42948 (nss_load_library): Conditionalize init callback on [USE_NSCD].
42949 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
42950 * nss/nss_db/db-init.c: Likewise.
42951 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
42953 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
42954 (make_request): Use it.
42955 (cache_valid_p): New function.
42956 (__check_pf): Use it.
42957 * NEWS: Add item for --disable-nscd.
42959 2012-08-22 Dmitry V. Levin <ldv@altlinux.org>
42961 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
42962 to support sed >= 4.2.1-20-ga9bf076.
42963 * configure: Regenerated.
42965 2012-08-22 Roland McGrath <roland@hack.frob.com>
42967 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
42968 Conditionalize whole body on [IREL].
42970 2012-08-22 Jeff Law <law@redhat.com>
42973 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
42974 if the family is PF_UNSPEC.
42976 2012-08-22 Mike Frysinger <vapier@gentoo.org>
42978 * Makerules (lib-version): Rename from V.
42979 (install-lib-nosubdir): Change V to lib-version.
42981 2012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
42984 * powerpc32/power6/wcschr.c: New file.
42985 * powerpc32/power6/wcscpy.c: New file.
42986 * powerpc32/power6/wcsrchr.c: New file.
42987 * powerpc64/power6/wcschr.c: New file.
42988 * powerpc64/power6/wcscpy.c: New file.
42989 * powerpc64/power6/wcsrchr.c: New file.
42991 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
42993 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
42994 (two_way_short_needle): Use it.
42995 * string/strstr.c (AVAILABLE1_USES_J): Define.
42996 * string/strcasestr.c: Likewise.
42998 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
43000 * string/strcasestr.c (TOLOWER): Make side-effect safe.
43003 * NEWS: Add an entry.
43004 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
43005 define their defaults.
43006 (two_way_short_needle): Detect end-of-string on-the-fly.
43007 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
43008 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
43009 * string/bug-strcasestr1.c: New test.
43010 * string/Makefile: Run it.
43012 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
43015 * string/str-two-way.h (two_way_short_needle): Optimize matching of
43016 the first character.
43018 2012-08-21 Roland McGrath <roland@hack.frob.com>
43020 * csu/elf-init.c (__libc_csu_irel): Function removed.
43021 * csu/libc-start.c (apply_irel): New function.
43022 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
43024 2012-08-21 Joseph Myers <joseph@codesourcery.com>
43026 * sysdeps/unix/sysv/linux/kernel-features.h
43027 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
43028 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
43029 <kernel-features.h>.
43030 [__NR_fadvise64_64]: Make code unconditional.
43031 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
43032 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
43033 !__NR_fadvise64_64)]: Likewise.
43034 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
43035 !__NR_fadvise64_64))]: Likewise.
43036 [__NR_fadvise64]: Make code unconditional.
43037 [!__NR_fadvise64]: Remove conditional code.
43038 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
43039 <kernel-features.h>.
43040 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
43042 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
43044 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
43045 not include <kernel-features.h>.
43046 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
43048 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
43050 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
43051 include <kernel-features.h>.
43052 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
43054 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
43057 2012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
43059 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
43060 slight instruction rearrangements per scrollpipe analysis.
43061 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
43063 2012-08-20 Roland McGrath <roland@hack.frob.com>
43065 * manual/syslog.texi (syslog; vsyslog, closelog):
43066 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
43067 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
43069 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
43070 DSOCAPS to match condition on defining it.
43072 2012-08-20 Joseph Myers <joseph@codesourcery.com>
43074 * sysdeps/unix/sysv/linux/kernel-features.h
43075 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
43076 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
43077 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
43078 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
43079 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
43080 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
43081 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
43082 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
43083 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
43084 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
43086 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
43087 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
43089 * sysdeps/unix/sysv/linux/kernel-features.h
43090 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
43091 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
43093 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
43094 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
43095 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
43096 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
43097 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
43098 Make code unconditional.
43099 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
43100 (__mmap64) [!__NR_mmap2]: Likewise.
43101 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
43102 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
43103 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
43104 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
43105 [__NR_mmap2]: Make code unconditional.
43106 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
43107 (__mmap64) [!__NR_mmap2]: Likewise.
43109 2012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
43111 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
43113 2012-08-18 Andreas Jaeger <aj@suse.de>
43115 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
43117 2012-08-18 Mike Frysinger <vapier@gentoo.org>
43119 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
43120 * include/unistd.h (__have_sock_cloexec): Likewise.
43121 (__have_pipe2): Likewise.
43122 (__have_dup3): Likewise.
43124 2012-08-18 Mike Frysinger <vapier@gentoo.org>
43127 * include/unistd.h (__have_pipe2): Change define into an extern int.
43128 (__have_dup3): Likewise.
43129 * socket/have_sock_cloexec.c: Include fcntl.h.
43130 (__have_pipe2): New variable.
43131 (__have_dup3): Likewise.
43133 2012-08-17 Mike Frysinger <vapier@gentoo.org>
43135 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
43137 2012-08-17 Marek Polacek <polacek@redhat.com>
43139 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
43140 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
43142 2012-08-17 Roland McGrath <roland@hack.frob.com>
43144 * configure.in: Add AC_SUBST for sysheaders.
43145 * configure: Regenerated.
43146 * config.make.in (sysheaders): New substituted variable.
43148 * sysdeps/unix/mkfifo.c: Moved ...
43149 * sysdeps/posix/mkfifo.c: ... here.
43150 * sysdeps/unix/mkfifoat.c: Moved ...
43151 * sysdeps/posix/mkfifoat.c: ... here.
43153 * sysdeps/unix/utime.c: Moved ...
43154 * sysdeps/posix/utime.c: ... here.
43156 * sysdeps/unix/time.c: Moved ...
43157 * sysdeps/posix/time.c: ... here.
43158 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
43159 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
43161 * sysdeps/unix/nice.c: Moved ...
43162 * sysdeps/posix/nice.c: ... here.
43164 * sysdeps/unix/alarm.c: Moved ...
43165 * sysdeps/posix/alarm.c: ... here.
43167 * intl/Makefile ($(codeset_mo)): Depend on the input file.
43169 2012-08-17 Jeff Law <law@redhat.com>
43171 * intl/Makefile (codeset_mo): New variable.
43172 ($(codeset_mo)): New target.
43173 (tst-codeset.out): Depend on that. Remove explicit rule.
43174 (tst-gettext3.out, tst-gettext5.out): Likewise.
43175 (LOCPATH-ENV, tst-codeset-ENV): New variables.
43176 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
43177 * intl/tst-codeset.sh: Remove.
43178 * intl/tst-gettext3.sh: Likewise.
43179 * intl/tst-gettext5.sh: Likewise.
43181 2012-08-17 Roland McGrath <roland@hack.frob.com>
43183 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
43184 * sysdeps/unix/syscalls.list: ... here.
43186 * sysdeps/posix/getaddrinfo.c
43187 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
43188 (gaiconf_init, gaiconf_reload): Use them.
43189 [!_STATBUF_ST_NSEC]
43190 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
43191 Define using time_t rather than struct timespec.
43193 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
43194 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
43196 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
43198 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
43199 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
43202 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
43203 __libc_cleanup_push argument.
43205 * bits/param.h: New file.
43206 * misc/sys/param.h: New file.
43207 * include/sys/param.h: New file.
43208 * misc/Makefile (headers): Add bits/param.h.
43209 * sysdeps/generic/sys/param.h: File removed.
43210 * sysdeps/unix/sysv/linux/bits/param.h: New file.
43211 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
43212 * sysdeps/mach/hurd/bits/param.h: New file.
43213 * sysdeps/mach/hurd/sys/param.h: File removed.
43215 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
43218 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
43220 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
43221 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
43224 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
43225 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
43226 rather than -D_IO_MTSAFE_IO conditionally.
43227 * stdio-common/Makefile (CPPFLAGS): Likewise.
43228 * wcsmbs/Makefile (CPPFLAGS): Likewise.
43229 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
43230 Use $(libio-mtsafe).
43231 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
43232 of -D_IO_MTSAFE_IO.
43233 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
43234 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
43235 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
43236 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
43237 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
43238 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
43239 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
43240 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
43241 (CFLAGS-fread_u_chk.c): Likewise.
43242 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
43243 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
43244 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
43245 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
43246 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
43247 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
43248 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
43249 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
43250 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
43252 * libio/Makefile: Test [$(libc-reentrant) = yes]
43253 instead of [$(filter %REENTRANT, $(defines)) nonempty].
43256 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
43257 * sysdeps/pthread/configure: File removed.
43258 * sysdeps/pthread/Makeconfig: New file.
43259 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
43260 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
43262 2012-08-16 Gary Benson <gbenson@redhat.com>
43264 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
43265 unmapping the first object in a namespace.
43267 2012-08-16 Roland McGrath <roland@hack.frob.com>
43269 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
43270 (__internal_setnetgrent): ... this. Add internal_function to
43271 definition. Add libc_hidden_def.
43272 (setnetgrent): Update caller.
43273 (internal_endnetgrent): Renamed to ...
43274 (__internal_endnetgrent): ... this. Add internal_function to
43275 definition. Add libc_hidden_def.
43276 (endnetgrent): Update caller.
43277 (internal_getnetgrent_r): Renamed to ...
43278 (__internal_getnetgrent_r): ... this. Add internal_function to
43279 definition. Add libc_hidden_def.
43280 (__getnetgrent_r): Update caller.
43281 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
43283 2012-08-16 Joseph Myers <joseph@codesourcery.com>
43285 * stdlib/longlong.h: Update from GCC.
43287 2012-08-16 Roland McGrath <roland@hack.frob.com>
43289 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
43290 on _QL, which is set by umul_ppmm but never used.
43291 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
43292 variables, which are set by GMP macros but never used.
43293 * stdio-common/_itowa.c (_itowa): Likewise.
43294 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
43295 * stdlib/mod_1.c (mpn_mod_1): Likewise.
43297 2012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
43299 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
43300 struct La_sh_regs is not constant.
43301 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
43302 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
43303 and struct La_sparc64_regs are not constant.
43305 2012-08-16 Joseph Myers <joseph@codesourcery.com>
43307 * sysdeps/unix/sysv/linux/kernel-features.h
43308 (__ASSUME_POSIX_TIMERS): Remove.
43309 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
43310 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
43311 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
43312 Make code unconditional.
43313 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
43314 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
43315 Make code unconditional.
43316 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
43317 * sysdeps/unix/sysv/linux/clock_nanosleep.c
43318 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
43319 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
43320 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
43321 Make code unconditional.
43322 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
43323 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
43324 (__libc_missing_posix_timers): Remove.
43326 2012-08-15 Roland McGrath <roland@hack.frob.com>
43328 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
43329 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
43331 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
43333 * elf/dl-sym.c: Include <stdlib.h>.
43335 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
43336 constants, which avoids warnings in 32-bit builds.
43338 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
43339 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
43341 * misc/lseek.c: File moved to ...
43342 * io/lseek.c: ... here.
43344 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
43346 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
43347 shifting LEN more than 31 bits at once.
43349 2012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
43352 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
43353 segmentation fault for a case of two empty input strings.
43354 * string/test-strncasecmp.c (check1): Renamed to...
43355 (bz12205): ...this.
43356 (bz14195): Add new testcase for two empty input strings and N > 0.
43357 (test_main): Call new testcase, adapt for renamed function.
43359 2012-08-15 Andreas Jaeger <aj@suse.de>
43362 * crypt/md5test2.c: New test, based on test supplied by Serge
43363 Belyshev <belyshev@depni.sinp.msu.ru>.
43364 * crypt/Makefile (xtests): Add md5test-giant..
43365 * crypt/Makefile ($(objpfx)md5test-giant): Add.
43367 2012-08-15 Paul Eggert <eggert@cs.ucla.edu>
43370 * crypt/md5.c (md5_process_block): Don't assume the buffer
43371 length is less than 2**32.
43372 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
43373 length is less than 2**64.
43375 2012-08-15 Roland McGrath <roland@hack.frob.com>
43377 * string/str-two-way.h: Include <sys/param.h>.
43378 (MAX): Macro removed.
43380 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
43381 Move #define and #undef of memmove to just before and after
43382 including <string.h>.
43384 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
43385 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
43386 and after including <string.h>. Move declarations of
43387 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
43388 to before #include "string/memmove.c".
43390 * include/dirent.h: Declare __getdirentries.
43392 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
43393 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
43395 2012-08-14 Mike Frysinger <vapier@gentoo.org>
43397 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
43398 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
43399 * sysdeps/i386/configure: Regenerated.
43400 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
43401 STABS_CURRENT_FILE, and STABS_FUN.
43402 (END): Remove call to STABS_FUN_END.
43403 (STABS_CURRENT_FILE1): Delete.
43404 (STABS_CURRENT_FILE): Likewise.
43405 (STABS_FUN): Likewise.
43406 (STABS_FUN_END): Likewise.
43407 (STABS_FUN2): Likewise.
43408 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
43409 * sysdeps/x86_64/configure: Regenerated.
43411 2012-08-14 Roland McGrath <roland@hack.frob.com>
43413 * elf/dl-open.c: Include <atomic.h>.
43414 * elf/dl-lookup.c: Likewise.
43416 2012-08-14 Joseph Myers <joseph@codesourcery.com>
43418 * sysdeps/unix/sysv/linux/kernel-features.h
43419 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
43420 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
43422 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
43424 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
43425 condition on __ASSUME_CLONE_THREAD_FLAGS.
43427 2012-08-14 Andreas Jaeger <aj@suse.de>
43429 * sysdeps/i386/fpu/libm-test-ulps: Update.
43431 2012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
43433 * include/atomic.h (atomic_exchange_and_add): Split into ...
43434 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
43437 2012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
43439 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
43441 2012-08-13 Jeff Law <law@redhat.com>
43443 * manual/stdio.texi (snprintf): Clarify handling of the trailing
43444 null byte in the output string.
43446 2012-08-10 Joseph Myers <joseph@codesourcery.com>
43448 * sysdeps/unix/sysv/linux/kernel-features.h
43449 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
43450 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
43451 (__ASSUME_ARG_MAX_STACK_BASED): Define.
43452 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
43453 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
43454 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
43455 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
43457 2012-08-09 Jeff Law <law@redhat.com>
43460 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
43461 When avoid_arena is set, don't retry in the that arena. Pick the
43462 next one, whatever it might be.
43463 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
43464 (arena_lock): Pass in new parameter to arena_get2.
43465 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
43467 (__libc_malloc): Unify retrying after main arena failure with
43468 __libc_memalign version.
43469 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
43471 2012-08-09 H.J. Lu <hongjiu.lu@intel.com>
43474 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
43475 to __redirect_strstr.
43476 (__strstr_sse42): Use typeof __redirect_strstr.
43477 (__strstr_ia32): Likewise.
43478 (__libc_strstr): New prototype.
43479 (strstr): Renamed to ...
43480 (__libc_strstr): This.
43481 (strstr): New strong alias of __libc_strstr.
43482 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
43483 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
43486 (__libc_time): New prototype.
43487 (time_ifunc): Replace time with __libc_time.
43488 (time): New strong alias and hidden definition of __libc_time.
43489 (__GI_time): Remove strong alias.
43490 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
43491 Include <stddef.h>.
43492 (memmove): Redefined to __redirect_memmove.
43493 (__memmove_sse2): Use typeof __redirect_memmove.
43494 (__memmove_ssse3): Likewise.
43495 (__memmove_ssse3_back): Likewise.
43496 (__libc_memmove): New prototype.
43497 (memmove): Renamed to ...
43498 (__libc_memmove): This.
43499 (memmove): New strong alias of __libc_memmove.
43501 2012-08-08 Mark Salter <msalter@redhat.com>
43504 (R_MN10300_TLS_GD): Define.
43505 (R_MN10300_TLS_LD): Likewise.
43506 (R_MN10300_TLS_LDO): Likewise.
43507 (R_MN10300_TLS_GOTIE): Likewise.
43508 (R_MN10300_TLS_IE): Likewise.
43509 (R_MN10300_TLS_LE): Likewise.
43510 (R_MN10300_TLS_DTPMOD): Likewise.
43511 (R_MN10300_TLS_DTPOFF): Likewise.
43512 (R_MN10300_TLS_TPOFF): Likewise.
43513 (R_MN10300_SYM_DIFF): Likewise.
43514 (R_MN10300_ALIGN): Likewise.
43515 (R_MN10300_NUM): Update.
43517 2012-08-08 Joseph Myers <joseph@codesourcery.com>
43519 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
43522 2012-08-08 Roland McGrath <roland@hack.frob.com>
43524 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
43526 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
43527 sysdeps/unix -> sysdeps/posix move.
43528 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
43530 2012-08-07 Allan McRae <allan@archlinux.org>
43533 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
43534 (SUNOS_CPP): Likewise.
43535 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
43537 (open_input): Call CPP using execvp.
43539 2012-08-07 Joseph Myers <joseph@codesourcery.com>
43541 * sysdeps/unix/sysv/linux/kernel-features.h
43542 (__ASSUME_PROT_GROWSUPDOWN): Remove.
43543 (__ASSUME_NO_CLONE_DETACHED): Likewise.
43544 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
43545 (__ASSUME_WAITID_SYSCALL): Likewise.
43546 * sysdeps/unix/sysv/linux/dl-execstack.c
43547 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
43548 code unconditional.
43549 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
43551 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
43552 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
43553 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
43555 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
43557 [__ASSUME_WAITID_SYSCALL]: Likewise.
43558 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
43560 2012-08-07 Roland McGrath <roland@hack.frob.com>
43562 * sysdeps/unix/closedir.c: Renamed to ...
43563 * sysdeps/posix/closedir.c: ... here.
43564 * sysdeps/unix/dirfd.c: Renamed to ...
43565 * sysdeps/posix/dirfd.c: ... here.
43566 * sysdeps/unix/dirstream.h: Renamed to ...
43567 * sysdeps/posix/dirstream.h: ... here.
43568 * sysdeps/unix/fdopendir.c: Renamed to ...
43569 * sysdeps/posix/fdopendir.c: ... here.
43570 * sysdeps/unix/opendir.c: Renamed to ...
43571 * sysdeps/posix/opendir.c: ... here.
43572 * sysdeps/unix/readdir.c: Renamed to ...
43573 * sysdeps/posix/readdir.c: ... here.
43574 * sysdeps/unix/readdir_r.c: Renamed to ...
43575 * sysdeps/posix/readdir_r.c: ... here.
43576 * sysdeps/unix/rewinddir.c: Renamed to ...
43577 * sysdeps/posix/rewinddir.c: ... here.
43578 * sysdeps/unix/seekdir.c: Renamed to ...
43579 * sysdeps/posix/seekdir.c: ... here.
43580 * sysdeps/unix/telldir.c: Renamed to ...
43581 * sysdeps/posix/telldir.c: ... here.
43582 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
43583 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
43584 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
43585 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
43587 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
43588 * bits/fcntl.h: ... here.
43590 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
43592 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
43593 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
43594 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
43595 (struct flock): Move l_start, l_len to the beginning.
43596 Use __pid_t for l_pid.
43597 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
43598 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
43599 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
43600 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
43601 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
43602 [__USE_LARGEFILE64] (struct flock64): New type.
43603 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
43605 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
43606 * bits/dirent.h: ... here.
43608 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
43609 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
43611 2012-08-07 Joseph Myers <joseph@codesourcery.com>
43613 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
43614 Change from 2.6.0 to 2.6.16.
43615 * sysdeps/unix/sysv/linux/configure: Regenerated.
43616 * sysdeps/unix/sysv/linux/kernel-features.h
43617 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
43618 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
43620 (__ASSUME_UTIMES): Likewise.
43621 (__ASSUME_CLONE_STOPPED): Remove.
43622 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
43623 architectures, not kernel version.
43624 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
43625 (__ASSUME_NO_CLONE_DETACHED): Likewise.
43626 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
43627 (__ASSUME_WAITID_SYSCALL): Likewise.
43628 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
43629 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
43630 * README: State 2.6.16 as minimum Linux kernel version. Do not
43631 refer to older versions.
43633 2012-08-06 Roland McGrath <roland@hack.frob.com>
43635 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
43636 Define alphasort64 as an alias.
43637 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
43638 Define versionsort64 as an alias.
43639 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
43640 Define scandir64 as an alias.
43641 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
43642 Define scandirat64 as an alias.
43643 * dirent/alphasort64.c (alphasort64):
43644 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
43645 * dirent/versionsort64.c: Likewise.
43646 * dirent/scandir64.c: Likewise.
43647 * dirent/scandirat64.c: Likewise.
43648 * sysdeps/wordsize-64/alphasort.c: File removed.
43649 * sysdeps/wordsize-64/alphasort64.c: File removed.
43650 * sysdeps/wordsize-64/scandir.c: File removed.
43651 * sysdeps/wordsize-64/scandir64.c: File removed.
43652 * sysdeps/wordsize-64/scandirat.c: File removed.
43653 * sysdeps/wordsize-64/scandirat64.c: File removed.
43654 * sysdeps/wordsize-64/versionsort.c: File removed.
43655 * sysdeps/wordsize-64/versionsort64.c: File removed.
43656 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
43657 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
43658 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
43659 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
43660 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
43661 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
43662 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
43663 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
43665 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
43666 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
43667 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
43668 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
43669 [defined __arch64__ || defined __sparcv9]
43670 (__INO_T_MATCHES_INO64_T): New macro.
43671 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
43672 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
43673 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
43674 * sysdeps/unix/sysv/linux/bits/dirent.h
43675 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
43676 (_DIRENT_MATCHES_DIRENT64): New macro.
43678 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
43679 Define lockf64 as an alias.
43680 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
43681 Define fseeko64 as an alias.
43682 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
43683 Define ftello64 as an alias.
43684 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
43685 Define _IO_fgetpos64 and fgetpos64 as aliases.
43686 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
43687 Define _IO_fsetpos64 and fsetpos64 as aliases.
43688 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
43689 Conditionalize body on this.
43690 * libio/fseeko64.c: Likewise.
43691 * libio/ftello64.c: Likewise.
43692 * libio/iofgetpos64.c: Likewise.
43693 * libio/iofsetpos64.c: Likewise.
43694 * sysdeps/wordsize-64/lockf.c: File removed.
43695 * sysdeps/wordsize-64/lockf64.c: File removed.
43696 * sysdeps/wordsize-64/fseeko.c: File removed.
43697 * sysdeps/wordsize-64/fseeko64.c: File removed.
43698 * sysdeps/wordsize-64/ftello.c: File removed.
43699 * sysdeps/wordsize-64/ftello64.c: File removed.
43700 * sysdeps/wordsize-64/iofgetpos.c: File removed.
43701 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
43702 * sysdeps/wordsize-64/iofsetpos.c: File removed.
43703 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
43704 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
43705 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
43706 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
43707 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
43708 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
43709 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
43710 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
43711 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
43712 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
43713 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
43715 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
43716 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
43717 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
43718 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
43719 [defined __arch64__ || defined __sparcv9]
43720 (__OFF_T_MATCHES_OFF64_T): New macro.
43721 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
43722 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
43723 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
43724 (__OFF_T_MATCHES_OFF64_T): New macro.
43726 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
43728 * stdlib/secure-getenv.c (__secure_getenv): Replace
43729 GLIBC_2_16 with GLIBC_2_17.
43731 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
43733 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
43734 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
43736 2012-08-03 David S. Miller <davem@davemloft.net>
43738 * sysdeps/sparc/fpu/libm-test-ulps: Update.
43740 2012-08-03 Joseph Myers <joseph@codesourcery.com>
43742 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
43744 (__ASSUME_CORRECT_SI_PID): Likewise.
43745 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
43746 (__ASSUME_TMPFS_NAME): Likewise.
43747 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
43748 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
43749 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
43750 (HAVE_AUX_SECURE): Make definition unconditional.
43751 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
43752 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
43754 2012-08-03 Roland McGrath <roland@hack.frob.com>
43756 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
43757 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
43758 * sysdeps/mach/hurd/eloop-threshold.h: New file.
43759 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
43760 __eloop_threshold instead of SYMLOOP_MAX.
43762 * sysdeps/generic/eloop-threshold.h: New file.
43763 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
43765 * elf/chroot_canon.c (chroot_canon): Likewise.
43767 2012-08-03 Joseph Myers <joseph@codesourcery.com>
43770 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
43771 Change to 2.6.0 everywhere.
43772 * sysdeps/unix/sysv/linux/configure: Regenerated.
43773 * sysdeps/unix/sysv/linux/kernel-features.h
43774 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
43775 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
43777 (__ASSUME_POSIX_TIMERS): Define unconditionally.
43778 (__ASSUME_FUTEX_REQUEUE): Remove.
43779 (__ASSUME_STATFS64): Define unconditionally.
43780 (__ASSUME_AT_SECURE): Likewise.
43781 (__ASSUME_CORRECT_SI_PID): Likewise.
43782 (__ASSUME_TGKILL): Define without depending on kernel version for
43784 (__ASSUME_UTIMES): Likewise.
43785 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
43787 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
43788 (__ASSUME_TMPFS_NAME): Likewise.
43789 * README: Update reference to Linux kernel versions.
43791 2012-08-02 Marek Polacek <polacek@redhat.com>
43794 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
43795 libc_cv_asm_type_prefix with %.
43796 * configure: Regenerated.
43797 * include/libc-symbols.h: Remove comment about
43798 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
43799 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
43800 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
43801 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
43802 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
43803 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
43804 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
43805 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
43806 * elf/tst-unique2mod1.c: Likewise.
43807 * elf/tst-unique1mod2.c: Likewise.
43808 * elf/tst-unique1mod1.c: Likewise.
43809 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
43810 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
43811 Replace ASM_TYPE_DIRECTIVE with .type.
43812 * sysdeps/s390/s390-64/sysdep.h: Likewise.
43813 * sysdeps/i386/sysdep.h: Likewise.
43814 * sysdeps/x86_64/sysdep.h: Likewise.
43815 * sysdeps/sh/sysdep.h: Likewise.
43816 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
43817 Do not define ASM_TYPE_DIRECTIVE.
43818 * sysdeps/powerpc/sysdep.h: Likewise.
43819 * sysdeps/powerpc/powerpc32/sysdep.h:
43820 Replace ASM_TYPE_DIRECTIVE with .type.
43821 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
43822 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
43823 * sysdeps/i386/fpu/e_powf.S: Likewise.
43824 * sysdeps/i386/fpu/e_expl.S: Likewise.
43825 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
43826 * sysdeps/i386/fpu/e_acosh.S: Likewise.
43827 * sysdeps/i386/fpu/e_pow.S: Likewise.
43828 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
43829 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
43830 * sysdeps/i386/fpu/s_expm1.S: Likewise.
43831 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
43832 * sysdeps/i386/fpu/e_log2.S: Likewise.
43833 * sysdeps/i386/fpu/e_log2l.S: Likewise.
43834 * sysdeps/i386/fpu/e_scalb.S: Likewise.
43835 * sysdeps/i386/fpu/e_powl.S: Likewise.
43836 * sysdeps/i386/fpu/e_log10f.S: Likewise.
43837 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
43838 * sysdeps/i386/fpu/e_logl.S: Likewise.
43839 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
43840 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
43841 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
43842 * sysdeps/i386/fpu/e_log2f.S: Likewise.
43843 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
43844 * sysdeps/i386/fpu/e_log.S: Likewise.
43845 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
43846 * sysdeps/i386/fpu/e_logf.S: Likewise.
43847 * sysdeps/i386/fpu/e_log10l.S: Likewise.
43848 * sysdeps/i386/fpu/e_atanh.S: Likewise.
43849 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
43850 * sysdeps/i386/fpu/e_log10.S: Likewise.
43851 * sysdeps/i386/fpu/s_frexp.S: Likewise.
43852 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
43853 * sysdeps/i386/fpu/s_asinh.S: Likewise.
43854 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
43855 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
43856 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
43857 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
43858 * sysdeps/i386/i686/strtok.S: Likewise.
43859 * sysdeps/i386/i386-mcount.S: Likewise.
43860 * sysdeps/i386/strtok.S: Likewise.
43861 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
43862 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
43863 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
43864 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
43865 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
43866 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
43867 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
43868 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
43869 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
43870 * sysdeps/x86_64/_mcount.S: Likewise.
43871 * sysdeps/x86_64/strtok.S: Likewise.
43872 * sysdeps/sh/_mcount.S: Likewise.
43874 2012-08-01 Roland McGrath <roland@hack.frob.com>
43876 * libio/iofopen.c: Include <fcntl.h>.
43877 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
43878 (_IO_fopen64, fopen64): Define as aliases.
43879 * libio/iofopen64.c: Include <fcntl.h>.
43880 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
43881 Conditionalize body on this.
43882 * sysdeps/wordsize-64/iofopen.c: File removed.
43883 * sysdeps/wordsize-64/iofopen64.c: File removed.
43885 2012-08-01 Marek Polacek <polacek@redhat.com>
43887 * libc/Makeconfig: Use elf in place of binfmt-subdir.
43888 Use dlfcn directly instead of a variable.
43889 (binfmt-subdir): Do not define.
43892 2012-08-01 Joseph Myers <joseph@codesourcery.com>
43894 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
43895 Remove all definitions.
43896 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
43897 <kernel-features.h>.
43898 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
43899 (miss_F_GETOWN_EX): Remove all definitions.
43900 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
43902 [!__ASSUME_FCNTL64]: Remove conditional code.
43903 [__ASSUME_FCNTL64]: Make code unconditional.
43904 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
43905 <kernel-features.h>.
43906 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
43907 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
43908 (lockf64) [__NR_fcntl64]: Make code unconditional.
43909 (lockf64) [__ASSUME_FCNTL64]: Likewise.
43911 * sysdeps/unix/sysv/linux/kernel-features.h
43912 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
43913 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
43914 Make code unconditional.
43915 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
43916 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
43917 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
43918 [__NR_vfork]: Make code unconditional.
43919 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
43920 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
43921 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
43922 [__NR_vfork]: Make code unconditional.
43923 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
43924 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
43926 2012-08-01 Roland McGrath <roland@hack.frob.com>
43928 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
43929 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
43931 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
43932 Define mkstemp64 as an alias.
43933 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
43934 Define mkstemps64 as an alias.
43935 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
43936 Define mkostemp64 as an alias.
43937 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
43938 Define mkostemps64 as an alias.
43939 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
43940 Conditionalize body on this.
43941 * misc/mkostemp64.c: Likewise.
43942 * misc/mkostemps64.c: Likewise.
43943 * misc/mkstemps64.c: Likewise.
43944 * sysdeps/wordsize-64/mkstemp64.c: File removed.
43945 * sysdeps/wordsize-64/mkostemp64.c: File removed.
43946 * sysdeps/wordsize-64/mkostemp.c: File removed.
43947 * sysdeps/wordsize-64/mkstemp.c: File removed.
43948 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
43949 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
43950 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
43951 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
43954 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
43955 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
43956 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
43957 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
43959 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
43960 compat_symbol macros from <shlib-compat.h> rather than the underlying
43961 default_symbol_version and symbol_version macros, so that DEFAULT
43962 lines in shlib-versions are respected.
43963 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
43965 2012-08-01 Florian Weimer <fweimer@redhat.com>
43967 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
43968 Declare with warn_unused_result.
43969 (setgid, setregid, setegid, setresgid): Likewise.
43970 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
43972 * WUR-REPORT: Remove set*id functions.
43974 2012-07-31 Pino Toscano <toscano.pino@tiscali.it>
43976 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
43978 2012-07-31 Roland McGrath <roland@hack.frob.com>
43981 * include/sys/socket.h (__libc_accept, __libc_accept4):
43982 Add attribute_hidden.
43983 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
43985 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
43987 * inet/getnetgrent_r.c (setup): Likewise.
43989 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
43991 2012-07-31 David S. Miller <davem@davemloft.net>
43993 * sysdeps/sparc/fpu/libm-test-ulps: Update.
43995 2012-07-31 Joseph Myers <joseph@codesourcery.com>
43998 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
43999 value between 1.0 and 2.0 and smaller part has absolute value less
44001 * math/s_clog10.c (__clog10): Likewise.
44002 * math/s_clog10f.c (__clog10f): Likewise.
44003 * math/s_clog10l.c (__clog10l): Likewise.
44004 * math/s_clogf.c (__clogf): Likewise.
44005 * math/s_clogl.c (__clogl): Likewise.
44006 * math/libm-test.inc (clog_test): Add more tests.
44007 (clog10_test): Likewise.
44008 * sysdeps/i386/fpu/libm-test-ulps: Update.
44009 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44011 2012-07-31 Florian Weimer <fweimer@redhat.com>
44013 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
44014 Exit with zero in case no suitable GID is found, and write a
44015 message to standard error.
44017 2012-07-30 Roland McGrath <roland@hack.frob.com>
44019 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
44021 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
44022 (MAXPATHLEN): Removed.
44023 (NOGROUP, NODEV): New macros.
44024 (setbit, clrbit, isset, isclr): New macros.
44025 (howmany, roundup, powerof2): New macros.
44026 (DEV_BSIZE): New macro.
44028 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
44029 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
44031 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
44032 definition on [!__NO_LONG_DOUBLE_MATH].
44034 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
44035 PTR_MANGLE and PTR_DEMANGLE.
44037 * socket/accept4.c (accept4): Rename to __libc_accept4.
44038 Define accept4 as a weak alias.
44040 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
44041 on [_DIRENT_HAVE_D_TYPE].
44042 * io/ftw.c (ftw_dir): Likewise.
44044 * io/xmknod.c (__xmknod): Don't check PATH for being null.
44046 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
44048 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
44049 Use the BSD numbers rather than the arbitrary ones we had.
44050 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
44051 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
44052 (SIGXCPU, SIGXFSZ): New macros.
44055 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
44056 initializer on [_LIBC_REENTRANT].
44058 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
44059 definitions inside [_POSIX_MAPPED_FILES].
44061 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
44063 * dirent/opendir.c: Include <fcntl.h>.
44065 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
44066 (__libc_getspecific): Likewise.
44067 (__libc_key_create): Likewise.
44069 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
44070 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
44071 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
44072 (tmpfile64): Define as alias.
44073 * sysdeps/wordsize-64/tmpfile.c: File removed.
44074 * sysdeps/wordsize-64/tmpfile64.c: File removed.
44075 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
44076 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
44078 * stdio-common/vfscanf.c: Include <stdbool.h>.
44079 * nss/makedb.c: Likewise.
44080 * stdio-common/_i18n_number.h: Likewise.
44081 * argp/argp-help.c: Likewise.
44082 * posix/wordexp.c: Likewise.
44083 * sysdeps/posix/spawni.c: Likewise.
44084 * nss/nss_files/files-initgroups.c: Likewise.
44085 * stdio-common/reg-modifier.c: Include <stdlib.h>.
44086 * nss/nss_files/files-initgroups.c: Likewise.
44087 * nss/nss_db/db-netgrp.c: Likewise.
44088 * nss/nss_db/db-initgroups.c: Likewise.
44089 * io/fchmodat.c: Include <sys/stat.h>.
44091 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
44092 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
44094 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
44097 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
44098 Add multiple inclusion protection.
44100 2012-07-27 David S. Miller <davem@davemloft.net>
44102 * sysdeps/sparc/fpu/libm-test-ulps: Update.
44104 2012-07-27 Gary Benson <gbenson@redhat.com>
44107 * elf/rtld.c: Include <stap-probe.h>.
44108 (dl_main): Added static probes "init_start" and "init_complete".
44109 * elf/dl-load.c: Include <stap-probe.h>.
44110 (lose): Take new parameter "nsid".
44111 Added static probe "map_failed".
44112 (_dl_map_object_from_fd): Pass namespace id to lose.
44113 Added static probe "map_start".
44114 (open_verify): Pass namespace id to lose.
44115 * elf/dl-open.c: Include <stap-probe.h>.
44116 (dl_open_worker) Added static probes "map_complete", "reloc_start"
44117 and "reloc_complete".
44118 * elf/dl-close.c: Include <stap-probe.h>.
44119 (_dl_close_worker): Added static probes "unmap_start" and
44121 * elf/rtld-debugger-interface.txt: New file documenting the above.
44123 2012-07-26 Roland McGrath <roland@hack.frob.com>
44125 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
44126 rather than a string variable.
44127 * sunrpc/rpc_main.c (h_output): Likewise.
44128 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
44130 2012-07-26 Pino Toscano <toscano.pino@tiscali.it>
44132 * inet/check_native.c: New file.
44134 2012-07-26 Joseph Myers <joseph@codesourcery.com>
44137 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
44138 if larger part has absolute value 1.0.
44139 * math/s_clog10.c (__clog10): Likewise.
44140 * math/s_clog10f.c (__clog10f): Likewise.
44141 * math/s_clog10l.c (__clog10l): Likewise.
44142 * math/s_clogf.c (__clogf): Likewise.
44143 * math/s_clogl.c (__clogl): Likewise.
44144 * math/libm-test.inc (clog_test): Add more tests.
44145 (clog10_test): Likewise.
44146 * sysdeps/i386/fpu/libm-test-ulps: Update.
44147 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44149 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
44150 (pltexit): Likewise.
44151 (La_regs): Likewise.
44152 (La_retval): Likewise.
44153 (int_retval): Likewise.
44154 Update #error for removed macros to refer only to definitions in
44156 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
44158 (pltexit): Likewise.
44159 (La_regs): Likewise.
44160 (La_retval): Likewise.
44161 (int_retval): Likewise.
44162 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
44164 (pltexit): Likewise.
44165 (La_regs): Likewise.
44166 (La_retval): Likewise.
44167 (int_retval): Likewise.
44168 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
44170 (pltexit): Likewise.
44171 (La_regs): Likewise.
44172 (La_retval): Likewise.
44173 (int_retval): Likewise.
44174 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
44176 (pltexit): Likewise.
44177 (La_regs): Likewise.
44178 (La_retval): Likewise.
44179 (int_retval): Likewise.
44180 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
44182 (pltexit): Likewise.
44183 (La_regs): Likewise.
44184 (La_retval): Likewise.
44185 (int_retval): Likewise.
44186 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
44188 (pltexit): Likewise.
44189 (La_regs): Likewise.
44190 (La_retval): Likewise.
44191 (int_retval): Likewise.
44192 * sysdeps/generic/tst-audit.h: Update comment to refer only to
44193 macro definitions in tst-audit.h.
44194 * sysdeps/i386/tst-audit.h: New file.
44195 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
44196 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
44197 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
44198 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
44199 * sysdeps/sh/tst-audit.h: Likewise.
44200 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
44201 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
44202 * sysdeps/x86_64/tst-audit.h: Likewise.
44204 2012-07-26 Andreas Jaeger <aj@suse.de>
44206 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
44209 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
44210 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
44211 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
44213 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
44214 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
44215 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
44217 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
44220 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
44222 (si_call_addr, si_syscall, si_arch): Define new macro.
44223 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
44225 (si_call_addr, si_syscall, si_arch): Define new marcro.
44226 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
44228 (si_call_addr, si_syscall, si_arch): Define new macro.
44229 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
44231 (si_call_addr, si_syscall, si_arch): Define new macro.
44233 2012-07-25 Joseph Myers <joseph@codesourcery.com>
44236 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
44237 Change to 2.4.21 where previously 2.4.1.
44238 * sysdeps/unix/sysv/linux/configure: Regenerated.
44239 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
44240 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
44241 Linux kernel version.
44242 (__ASSUME_STD_AUXV): Remove.
44243 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
44245 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
44246 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
44247 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
44248 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
44249 (__ASSUME_NETLINK_SUPPORT): Likewise.
44250 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
44251 (__no_netlink_support): Remove conditional definition.
44252 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
44254 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
44255 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
44256 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
44257 (if_nameindex_ioctl): Remove.
44258 (if_nameindex_netlink): Do not handle __no_netlink_support.
44259 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
44261 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
44262 Remove conditional code.
44263 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
44265 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
44267 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
44268 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
44269 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
44271 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
44272 [!__ASSUME_STD_AUXV]: Remove conditional code.
44273 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
44274 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
44275 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
44276 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
44277 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
44278 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
44280 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
44281 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
44282 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
44283 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
44285 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
44286 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
44287 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
44289 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
44290 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
44292 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
44293 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
44294 code unconditional.
44295 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
44297 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
44299 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
44301 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
44302 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
44304 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
44306 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
44307 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
44308 code unconditional.
44309 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
44311 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
44313 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
44315 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
44316 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
44317 code unconditional.
44318 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
44320 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
44322 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
44325 2012-07-25 Andreas Schwab <schwab@linux-m68k.org>
44327 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
44328 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
44329 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
44330 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
44331 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
44332 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
44333 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
44334 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
44335 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
44336 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
44337 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
44338 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
44339 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
44340 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
44341 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
44342 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
44343 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
44344 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
44345 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
44346 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
44347 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
44348 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
44349 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
44351 2012-07-25 Florian Weimer <fweimer@redhat.com>
44353 * Versions.def: Add GLIBC_2.17.
44354 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
44355 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
44356 Introduce __libc_secure_getenv.
44357 * stdlib/Versions (2.17): Add secure_getenv
44358 (GLIBC_PRIVATE): Add __libc_secure_getenv.
44359 * stdlib/secure-getenv.c: Rename __secure_getenv to
44360 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
44361 symbol __secure_getenv for GLIBC_2.0.
44362 * stdlib/tst-secure-getenv.c: New.
44363 * stdlib/Makefile (tests): Add testcase.
44364 * manual/startup.texi (Environment Access): Document
44366 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
44367 __libc_secure_getenv.
44368 * inet/ruserpass.c (ruserpass): Likewise.
44369 * malloc/mtrace.c (mtrace): Likewise.
44370 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
44371 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
44372 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
44373 * sysdeps/posix/tempname.c: Likewise. Evaluate
44374 HAVE_SECURE_GETENV.
44375 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
44376 __secure_getenv to __libc_secure_getenv.
44377 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
44378 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
44380 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
44382 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
44383 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
44384 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
44385 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
44386 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
44387 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
44388 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
44390 2012-07-25 Joseph Myers <joseph@codesourcery.com>
44392 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
44393 (struct La_i86_retval): Likewise.
44394 (struct La_x86_64_regs): Likewise.
44395 (struct La_x86_64_retval): Likewise.
44396 (struct La_x32_regs): Likewise.
44397 (struct La_x32_retval): Likewise.
44398 (struct La_ppc32_regs): Likewise.
44399 (struct La_ppc32_retval): Likewise.
44400 (struct La_ppc64_regs): Likewise.
44401 (struct La_ppc64_retval): Likewise.
44402 (struct La_sh_regs): Likewise.
44403 (struct La_sh_retval): Likewise.
44404 (struct La_s390_32_regs): Likewise.
44405 (struct La_s390_32_retval): Likewise.
44406 (struct La_s390_64_regs): Likewise.
44407 (struct La_s390_64_retval): Likewise.
44408 (struct La_sparc32_regs): Likewise.
44409 (struct La_sparc32_retval): Likewise.
44410 (struct La_sparc64_regs): Likewise.
44411 (struct La_sparc64_retval): Likewise.
44412 (struct audit_ifaces): Remove architecture-specific pltenter and
44414 * sysdeps/i386/ldsodefs.h: New file.
44415 * sysdeps/powerpc/ldsodefs.h: Likewise.
44416 * sysdeps/s390/ldsodefs.h: Likewise.
44417 * sysdeps/sh/ldsodefs.h: Likewise.
44418 * sysdeps/sparc/ldsodefs.h: Likewise.
44419 * sysdeps/x86_64/ldsodefs.h: Likewise.
44421 2012-07-25 Marek Polacek <polacek@redhat.com>
44424 * math/libm-test.inc (yn_test): Add another test.
44425 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
44426 to ERANGE when the result is +-Inf.
44427 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
44428 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
44429 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
44430 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
44432 2012-07-24 Joseph Myers <joseph@codesourcery.com>
44434 * conform/data/time.h-data (NULL): Use macro-constant. Require
44436 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
44438 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
44440 2012-07-23 Thomas Schwinge <thomas@codesourcery.com>
44442 * configure.in <sysdeps resolving>: Correct printing
44444 * configure: Regenerate.
44446 2012-07-22 Thomas Schwinge <thomas@codesourcery.com>
44448 * math/w_ilogb.c: Include <limits.h>.
44449 * math/w_ilogbl.c: Likewise.
44451 2012-07-20 Joseph Myers <joseph@codesourcery.com>
44453 * manual/lang.texi (__va_copy): Document primarily as ISO C99
44454 va_copy. Document allowing for unavailable va_copy only as
44455 pre-C99 compatibility.
44456 * manual/string.texi (Copying and Concatenation): Use va_copy
44457 instead of __va_copy in concat example.
44459 2012-07-20 Pino Toscano <toscano.pino@tiscali.it>
44461 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
44462 (__sendto): Use create_address_port. Initialize APORT and deallocate
44465 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
44466 with O_NOLINK passed to __file_name_lookup.
44468 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
44469 with O_NOLINK passed to __file_name_lookup.
44471 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
44472 negative N or less than NGIDS.
44474 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
44475 type to string_t. Set ERANGE as errno and return it if NAME is not big
44476 enough. Use memcpy instead of strncpy.
44478 2012-07-20 Joseph Myers <joseph@codesourcery.com>
44480 * elf/Makefile (check-data): Remove.
44481 (localplt.data): New vpath directive.
44482 ($(objpfx)check-localplt.out): Use localplt.data from vpath
44483 instead of $(check-data).
44484 * scripts/data/localplt-generic.data: Move to ...
44485 * sysdeps/generic/localplt.data: ... here.
44486 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
44487 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
44488 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
44489 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
44491 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
44492 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
44494 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
44495 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
44497 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
44498 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
44500 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
44501 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
44503 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
44504 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
44507 2012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
44509 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
44510 PPC32 and PPC64 files.
44511 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
44512 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
44514 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
44516 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
44517 __makecontext_ret to ...
44518 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
44519 ... here and call exit if uc_link is NULL. New file.
44520 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
44521 __makecontext_ret.S.
44522 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
44523 __makecontext_ret to ...
44524 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
44525 ... here and call exit if uc_link is NULL. New file.
44526 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
44527 __makecontext_ret.S.
44529 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
44531 * elf/elf.h (R_390_IRELATIVE): New definition.
44532 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
44533 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
44534 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
44535 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
44536 (elf_machine_lazy_rel): Likewise.
44537 * sysdeps/s390/dl-irel.h: New file.
44538 * sysdeps/s390/s390-64/memcpy.S: New asm code.
44539 * sysdeps/s390/s390-64/memset.S: New asm code.
44540 * sysdeps/s390/s390-64/memcmp.S: New asm code.
44541 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
44542 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
44543 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
44544 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
44545 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
44546 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
44547 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
44548 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
44549 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
44550 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
44551 * sysdeps/s390/s390-32/memcpy.S: New asm code.
44552 * sysdeps/s390/s390-32/memset.S: New asm code.
44553 * sysdeps/s390/s390-32/memcmp.S: New asm code.
44555 2012-07-17 Marek Polacek <polacek@redhat.com>
44558 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
44559 * sysdeps/s390/s390-64/configure.in: Likewise.
44560 * sysdeps/sparc/configure.in: Likewise.
44561 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
44562 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
44563 * sysdeps/i386/configure.in: Likewise.
44564 * sysdeps/x86_64/configure.in: Likewise.
44565 * sysdeps/sh/configure.in: Likewise.
44566 * sysdeps/s390/s390-32/configure: Regenerated.
44567 * sysdeps/s390/s390-64/configure: Likewise.
44568 * sysdeps/x86_64/configure: Likewise.
44569 * sysdeps/sh/configure: Likewise.
44570 * sysdeps/powerpc/powerpc64/configure: Likewise.
44571 * sysdeps/powerpc/powerpc32/configure: Likewise.
44572 * sysdeps/sparc/configure: Likwise.
44573 * sysdeps/i386/configure: Likewise.
44575 * elf/dl-open.c: Comment fixes.
44577 2012-07-17 Joseph Myers <joseph@codesourcery.com>
44579 * Makefile [CXX] (check-data): Remove.
44580 [CXX] (c++-types.data): New vpath directive.
44581 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
44582 vpath. Do not allow for C++ type data being missing.
44583 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
44584 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
44585 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
44586 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
44587 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
44588 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
44589 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
44590 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
44592 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
44593 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
44595 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
44596 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
44598 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
44599 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
44601 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
44602 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
44604 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
44605 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
44607 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
44608 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
44610 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
44611 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
44613 * elf/tls-macros.h (TLS_LE): Move architecture-specific
44614 definitions to architecture-specific files.
44615 (TLS_IE): Likewise.
44616 (TLS_LD): Likewise.
44617 (TLS_GD): Likewise.
44618 * sysdeps/i386/tls-macros.h: New file.
44619 * sysdeps/powerpc/tls-macros.h: Likewise.
44620 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
44621 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
44622 * sysdeps/sh/tls-macros.h: Likewise.
44623 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
44624 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
44625 * sysdeps/x86_64/tls-macros.h: Likewise.
44627 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
44629 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
44630 zero value for regular exit case.
44632 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
44633 (__start_context): Preserve zero value for regular exit case.
44635 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
44636 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
44638 * manual/setjmp.texi (setcontext): Clarify normal process
44639 termination when uc_link is the null pointer.
44640 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
44643 2012-07-16 Andreas Schwab <schwab@linux-m68k.org>
44645 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
44646 preprocessor. Test for each exception mask separately.
44648 2012-07-16 Andreas Jaeger <aj@suse.de>
44650 * po/ru.po: Update from translation team.
44652 2012-07-15 Joseph Myers <joseph@codesourcery.com>
44654 * conform/data/string.h-data (NULL): Use macro-constant. Require
44656 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
44657 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
44658 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
44659 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
44660 [ISO || ISO99 || ISO11] (*_t): Do not allow.
44662 2012-07-13 Andreas Jaeger <aj@suse.de>
44664 * po/fr.po: Update from translation team.
44666 2012-07-12 Marek Polacek <polacek@redhat.com>
44669 * math/libm-test.inc (yn_test): Add test for BZ #14173.
44670 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
44673 2012-07-12 Joseph Myers <joseph@codesourcery.com>
44676 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
44677 Change to 2.4.1 where previously 2.4.0.
44678 * sysdeps/unix/sysv/linux/configure: Regenerated.
44679 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
44680 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
44682 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
44683 (__ASSUME_AT_CLKTCK): Remove.
44684 (__ASSUME_AT_PAGESIZE): Likewise.
44685 (__ASSUME_AT_XID): Likewise.
44686 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
44687 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
44688 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
44690 (HAVE_AUX_PAGESIZE): Likewise.
44691 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
44692 [__ASSUME_AT_CLKTCK]: Make code unconditional.
44693 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
44695 2012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
44698 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
44699 the temporary buffer used to invoke __gethostbyname2_r,
44700 __gethostbyaddr_r and gethostbyname4_r to make room for struct
44701 host_data / struct gaih_addrtuple.
44702 * resolv/nss_dns/dns-host.c (global scope): Move definition of
44703 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
44704 header file nss/nsswitch.h.
44705 * nss/nsswitch.h (global scope): Add definition of implementation
44706 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
44707 resolv/nss_dns/dns-host.c).
44709 2012-07-11 Andreas Jaeger <aj@suse.de>
44711 * po/fr.po: Update from translation team.
44713 * po/sv.po: Update from translation team
44714 * po/fr.po: Another update from translation team.
44716 2012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
44718 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
44719 for subnormals or multiply small sinh result by itself.
44720 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
44721 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
44723 2012-07-11 David S. Miller <davem@davemloft.net>
44725 * sysdeps/sparc/fpu/libm-test-ulps: Update.
44727 2012-07-10 Andreas Schwab <schwab@linux-m68k.org>
44730 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
44731 (INTERNAL_MARK): Shift it here.
44733 2012-07-10 Marek Polacek <polacek@redhat.com>
44736 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
44737 libc_cv_asm_global_directive with .globl.
44738 * configure: Regenerated.
44739 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
44741 * sysdeps/i386/configure: Regenerated.
44742 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
44744 * sysdeps/x86_64/configure: Regenerated.
44745 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
44746 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
44747 * elf/tst-unique2mod2.c: Likewise.
44748 * elf/tst-unique2mod1.c: Likewise.
44749 * elf/tst-unique1mod2.c: Likewise.
44750 * elf/tst-unique1mod1.c: Likewise.
44751 * sysdeps/s390/s390-32/sysdep.h: Likewise.
44752 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
44753 * sysdeps/s390/s390-64/sysdep.h: Likewise.
44754 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
44755 * sysdeps/mach/sysdep.h: Likewise.
44756 * sysdeps/i386/sysdep.h: Likewise.
44757 * sysdeps/i386/i386-mcount.S: Likewise.
44758 * sysdeps/x86_64/_mcount.S: Likewise.
44759 * sysdeps/x86_64/sysdep.h: Likewise.
44760 * sysdeps/sh/_mcount.S: Likewise.
44761 * sysdeps/sh/sysdep.h: Likewise.
44762 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
44763 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
44764 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
44765 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
44766 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
44767 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
44768 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
44769 * locale/localeinfo.h: Likewise.
44770 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
44771 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
44773 2012-07-09 Roland McGrath <roland@hack.frob.com>
44776 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
44778 * manual/message.texi (The Uniforum approach): Likewise.
44779 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
44780 (glibc iconv Implementation): Likewise.
44782 2012-07-09 Joseph Myers <joseph@codesourcery.com>
44785 * math/s_clog.c (__clog): Avoid scaling a value down where that
44786 could result in underflow.
44787 * math/s_clog10.c (__clog10): Likewise.
44788 * math/s_clog10f.c (__clog10f): Likewise.
44789 * math/s_clog10l.c (__clog10l): Likewise.
44790 * math/s_clogf.c (__clogf): Likewise.
44791 * math/s_clogl.c (__clogl): Likewise.
44792 * math/libm-test.inc (clog_test): Add more tests.
44793 (clog10_test): Likewise.
44794 * sysdeps/i386/fpu/libm-test-ulps: Update.
44795 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44797 2012-07-06 Andreas Schwab <schwab@linux-m68k.org>
44800 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
44801 by 7 not 8 to examine high bit of fractional part.
44804 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
44805 for call to __mcount_internal.
44806 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
44807 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
44808 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
44810 2012-07-06 Joseph Myers <joseph@codesourcery.com>
44813 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
44814 approximation for values within 0x1p-13f of an odd multiple of
44816 * math/libm-test.inc (tan_test): Do not allow spurious underflow
44817 exception. Add more tests.
44818 * sysdeps/i386/fpu/libm-test-ulps: Update.
44821 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
44822 inputs and return -1 for them. Do not check for +Inf in case not
44823 reachable for +Inf.
44824 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
44825 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
44826 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
44827 and return -1 for them. Do not check for +Inf in case not
44828 reachable for +Inf.
44829 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
44831 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
44832 and return -1 for them. Do not check for +Inf in case not
44833 reachable for +Inf.
44834 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
44835 spurious underflow.
44836 * sysdeps/i386/fpu/libm-test-ulps: Update.
44837 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44839 2012-07-06 Mike Frysinger <vapier@gentoo.org>
44841 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
44843 2012-07-05 Joseph Myers <joseph@codesourcery.com>
44847 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
44848 could result in spurious underflow. Scale down values above
44849 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
44850 * math/s_csqrtf.c (__csqrtf): Likewise.
44851 * math/s_csqrtl.c (__csqrtl): Likewise.
44852 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
44853 spurious underflow.
44854 * sysdeps/i386/fpu/libm-test-ulps: Update.
44855 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44857 2012-07-04 Andreas Schwab <schwab@linux-m68k.org>
44859 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
44861 * catgets/xopen-msg.awk: New file.
44862 * catgets/xopen-msg.sed: Removed.
44864 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
44866 * intl/po2test.awk: New file.
44867 * intl/po2test.sed: Removed.
44869 2012-07-04 Joseph Myers <joseph@codesourcery.com>
44872 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
44873 or multiply small sinh result by itself.
44874 * math/s_ctanf.c (__ctanf): Likewise.
44875 * math/s_ctanh.c (__ctanh): Likewise.
44876 * math/s_ctanhf.c (__ctanhf): Likewise.
44877 * math/s_ctanhl.c (__ctanhl): Likewise.
44878 * math/s_ctanl.c (__ctanl): Likewise.
44879 * math/libm-test.inc (ctan_test_tonearest): New function.
44880 (ctan_test_towardzero): Likewise.
44881 (ctan_test_downward): Likewise.
44882 (ctan_test_upward): Likewise.
44883 (ctanh_test_tonearest): Likewise.
44884 (ctanh_test_towardzero): Likewise.
44885 (ctanh_test_downward): Likewise.
44886 (ctanh_test_upward): Likewise.
44887 (main): Call these new functions.
44888 * sysdeps/i386/fpu/libm-test-ulps: Update.
44889 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44891 2012-07-03 Mike Frysinger <vapier@gentoo.org>
44893 * .gitignore: Delete /ports entry.
44895 2012-07-03 Andreas Jaeger <aj@suse.de>
44897 * po/bg.po: Update from translation team.
44898 * po/cs.po: Likewise.
44899 * po/de.po: Likewise.
44900 * po/hr.po: Likewise.
44901 * po/nl.pl: Likewise.
44902 * po/pl.po: Likewise.
44903 * po/vi.po: Likewise.
44905 2012-07-03 Joseph Myers <joseph@codesourcery.com>
44907 * Makeconfig [!+link] (+link-before-libc): New variable.
44908 [!+link] (+link-after-libc): Likewise.
44909 [!+link] (+link-tests): Likewise.
44910 [!+link] (+link): Define in terms of $(+link-before-libc) and
44911 $(+link-after-libc).
44912 [!+link-static] (+link-static-before-libc): New variable.
44913 [!+link-static] (+link-static-after-libc): Likewise.
44914 [!+link-static] (+link-static-tests): Likewise.
44915 [!+link-static] (+link-static): Define in terms of
44916 $(+link-static-before-libc) and $(+link-static-after-libc).
44917 [build-shared] (link-libc-before-gnulib): New variable.
44918 [build-shared] (link-libc-tests): Likewise.
44919 [build-shared] (link-libc): Define in terms of
44920 $(link-libc-before-gnulib).
44921 [!build-shared] (link-libc-tests): New variable.
44922 (link-libc-static-tests): New variable.
44923 [!gnulib] (gnulib-arch): New variable.
44924 [!gnulib] (gnulib-tests): Likewise.
44925 [!gnulib] (static-gnulib-arch): Likewise.
44926 [!gnulib] (static-gnulib-tests): Likewise.
44927 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
44928 Define with "=" instead of ":=".
44929 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
44930 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
44931 * Rules (binaries-all-notests): New variable.
44932 (binaries-all-tests): Likewise.
44933 (binaries-static-notests): Likewise.
44934 (binaries-static-tests): Likewise.
44935 (binaries-all): Define using $(binaries-all-notests) and
44936 $(binaries-all-tests).
44937 (binaries-static): Define using $(binaries-static-notests) and
44938 $(binaries-static-tests).
44939 (binaries-shared-tests): New variable.
44940 (binaries-shared-notests): Likewise.
44941 (binaries-shared): Remove variable.
44942 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
44943 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
44944 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
44945 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
44946 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
44947 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
44948 * elf/Makefile (sln-modules): New variable.
44949 (extra-objs): Add $(sln-modules:=.o).
44950 (ldconfig-modules): Add static-stubs.
44951 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
44952 * elf/static-stubs.c: New file.
44955 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
44956 by 7 not 8 to examine high bit of fractional part. Use volatile
44957 variables when splitting into final array of floats if
44958 __FLT_EVAL_METHOD__ != 0.
44959 * math/libm-test.inc (cos_test): Add another test.
44960 (sin_test): Likewise.
44961 * sysdeps/i386/fpu/libm-test-ulps: Update.
44964 * math/libm-test.inc (cosh_test): Add more tests.
44966 * version.h (RELEASE): Set to "development".
44967 (VERSION): Set to "2.16.90".
44969 2012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
44971 * NEWS: Update copyright. Remove last-updated date.
44972 Mention math library bug fixes and timezone data changes.
44973 * README: Mention GNU/Hurd, x32, and HPPA support status.
44975 2012-06-28 Thomas Schwinge <thomas@codesourcery.com>
44977 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
44979 2012-06-27 Andreas Jaeger <aj@suse.de>
44981 * manual/contrib.texi (Contributors): Add Samuel Thibault.
44983 2012-06-25 Andreas Jaeger <aj@suse.de>
44985 * sysdeps/s390/fpu/libm-test-ulps: Update.
44987 2012-06-23 Andreas Schwab <schwab@linux-m68k.org>
44988 Thomas Schwinge <thomas@codesourcery.com>
44990 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
44991 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
44992 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
44995 2012-06-23 Thomas Schwinge <thomas@codesourcery.com>
44997 * sysdeps/mach/start.c: Remove file.
44998 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
44999 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
45000 * sysdeps/sh/init-first.c: Likewise.
45002 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
45003 registers for frame unwinding purposes, add CFI directives.
45004 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
45005 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
45006 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
45009 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
45010 __fortify_fail returning.
45011 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
45013 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
45014 sysdeps/sh/____longjmp_chk.S.
45015 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
45016 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
45017 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
45018 (gen-as-const-headers): Append sigaltstack-offsets.sym.
45020 * sysdeps/sh/abort-instr.h: New file.
45021 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
45022 process in case exit returns.
45024 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
45025 initialize the GOT register before use.
45027 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
45028 calculation of ARGC > 4.
45030 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
45031 meaningful names to some local labels.
45033 2012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
45034 Kaz Kojima <kkojima@rr.iij4u.or.jp>
45036 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
45037 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
45038 (__arch_compare_and_exchange_val_16_acq): Likewise.
45039 (__arch_compare_and_exchange_val_32_acq): Likewise.
45040 (atomic_exchange_and_add): Fix gUSA sequence.
45041 (atomic_add): Likewise.
45042 (atomic_add_negative): Likewise.
45043 (atomic_add_zero): Likewise.
45044 (atomic_bit_test_set): Likewise.
45046 2012-06-22 Andreas Schwab <schwab@redhat.com>
45049 * include/link.h (struct link_map): Add l_free_initfini.
45050 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
45052 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
45053 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
45054 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
45057 2012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
45059 * configure.in: Use AC_LANG_SOURCE.
45060 * configure: Regenerate.
45062 2012-06-22 Roland McGrath <roland@hack.frob.com>
45064 * configure.in (libc_cv_localstatedir): New substituted variable.
45065 * configure: Regenerated.
45066 * config.make.in (localstatedir): New variable, substituted from
45067 libc_cv_localstatedir.
45068 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
45069 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
45070 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
45071 * sysdeps/gnu/configure: Regenerated.
45073 2012-06-21 Jeff Law <law@redhat.com>
45076 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
45077 free. Simplify list management for _LIBC case.
45079 2012-06-21 Joseph Myers <joseph@codesourcery.com>
45082 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
45083 Clear sign bit of 64-bit integer value before comparing against
45086 * sysdeps/mach/configure: Regenerated.
45088 2012-06-21 H.J. Lu <hongjiu.lu@intel.com>
45091 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
45093 2012-06-21 Jeff Law <law@redhat.com>
45096 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
45097 uint16_t for elements in the "seen" array to avoid char overflows.
45098 * elf/dl-fini.c (_dl_sort_fini): Likewise.
45099 * elf/dl-open.c (dl_open_worker): Likewise.
45101 2012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
45103 * scripts/list-sources.sh: Scan PORTS for translations.
45104 * po/libc.pot: Regenerated.
45106 2012-06-21 Andreas Jaeger <aj@suse.de>
45109 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
45111 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
45112 * bits/byteswap-16.h (__bswap_16): Likewise.
45113 * bits/byteswap.h (__bswap_constant_16): Likewise.
45115 2012-06-18 H.J. Lu <hongjiu.lu@intel.com>
45118 * sysdeps/i386/fpu_control.h: Removed.
45119 * sysdeps/x86_64/fpu_control.h: Moved to ...
45120 * sysdeps/x86/fpu_control.h: Here.
45122 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
45123 (_FPU_SETCW): Likewise.
45125 2012-06-15 H.J. Lu <hongjiu.lu@intel.com>
45128 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
45129 * sysdeps/x86/fpu/bits/mathinline.h: This.
45130 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
45134 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
45135 functions if __x86_64__ is defined.
45137 2012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
45139 * string/endian.h: Add !__ASSEMBLER__ condition for including
45140 conversion interfaces.
45142 2012-06-15 Joseph Myers <joseph@codesourcery.com>
45145 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
45146 of ABS(x) in calculating zero to negative powers other than odd
45148 * math/libm-test.inc (pow_test): Add more tests.
45150 2012-06-15 Andreas Jaeger <aj@suse.de>
45152 * manual/contrib.texi (Contributors): Update entry of Liubov
45153 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
45156 2012-06-15 Cyril Hrubis <metan@ucw.cz>
45158 * string/string.h: Add __wur to GNU version of strerror_r.
45160 2012-06-14 H.J. Lu <hongjiu.lu@intel.com>
45163 * string/Makefile (tests): Add tst-strtok_r.
45164 * string/tst-strtok_r.c: New file.
45165 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
45166 RAX_LP/RDX_LP on SAVE_PTR.
45168 2012-06-14 Roland McGrath <roland@hack.frob.com>
45170 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
45172 2012-06-14 Joseph Myers <joseph@codesourcery.com>
45174 * libm_test.inc (csqrt_test): Allow more spurious underflow
45176 (j0_test): Likewise.
45177 (j1_test): Likewise.
45178 (y0_test): Likewise.
45179 (y1_test): Likewise.
45181 2012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
45183 * po/Makefile (libc.pot): Use UTF-8 charset.
45185 2012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
45188 Suppress sign-conversion warning from FD_SET.
45189 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
45190 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
45191 not unsigned long int.
45192 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
45194 2012-06-12 H.J. Lu <hongjiu.lu@intel.com>
45198 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
45199 __extern_always_inline instead of __extern_inline.
45200 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
45201 (__signbit): Likewise.
45202 (__signbitl): Support C++ namespace.
45203 (lrintf): New inline function.
45205 (llrintf): Likewise.
45206 (llrint): Likewise.
45216 (floorf): Likewise.
45217 (nearbyint): Likewise.
45218 (nearbyintf): Likewise.
45220 2012-06-12 Thomas Schwinge <thomas@codesourcery.com>
45222 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
45223 non-default versions.
45225 2012-06-11 Roland McGrath <roland@hack.frob.com>
45228 * manual/argp.texi (Argp): Reword argp_parse description slightly.
45230 2012-06-09 Thomas Schwinge <thomas@codesourcery.com>
45232 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
45233 (FE_UPWARD, FE_DOWNWARD): Don't define.
45234 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
45235 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
45237 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
45239 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
45240 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
45242 2012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
45244 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
45245 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
45246 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
45247 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
45249 2012-06-06 H.J. Lu <hongjiu.lu@intel.com>
45252 * sysdeps/i386/fpu/bits/fenv.h: Removed.
45253 * sysdeps/i386/fpu/Implies: New file.
45254 * sysdeps/x86_64/fpu/Implies: Likewise.
45255 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
45256 * sysdeps/x86/fpu/bits/fenv.h: This.
45258 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
45261 2012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
45264 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
45265 character 0xffff that matches the last element of the
45268 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
45270 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
45273 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
45275 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
45276 values higher than 25.6283.
45278 2012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
45280 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
45281 subnormal exponent extraction and add some __builtin_expect.
45282 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
45283 Fix for subnormal mantissa calculation.
45285 2012-06-04 Mike Frysinger <vapier@gentoo.org>
45287 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
45288 cpu2 is -1 and errno is not ENOSYS.
45290 2012-06-04 H.J. Lu <hongjiu.lu@intel.com>
45293 * sysdeps/i386/i486/bits/string.h: Renamed to ...
45294 * sysdeps/x86/bits/string.h: This.
45295 * sysdeps/x86_64/bits/string.h: Removed.
45297 * sysdeps/i386/i486/bits/string.h: Define inline functions only
45298 if not compiling for x86-64, but compiling for >= i486.
45300 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
45301 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
45303 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
45304 New macro from Linux kernel 3.4.0.
45305 (FP_XSTATE_MAGIC2): Likewise.
45306 (FP_XSTATE_MAGIC2_SIZE): Likewise.
45307 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
45308 (struct _fpx_sw_bytes): New struct.
45309 (struct _xsave_hdr): Likewise.
45310 (struct _ymmh_state): Likewise.
45311 (struct _xstate): Likewise.
45313 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
45314 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
45315 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
45316 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
45317 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
45318 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
45320 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
45321 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
45322 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
45323 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
45324 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
45325 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
45327 2012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
45330 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
45331 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
45332 (sysdep_headers): Include sys/platform/ppc.h.
45333 * sysdeps/powerpc/test-gettimebase.c: Test for
45334 __ppc_get_timebase() to catch future ISA opcode/insn changes.
45335 * manual/Makefile (appendices): Include platform.texi.
45336 * manual/contrib.texi (Contributors): Update @node pointers.
45337 * manual/maint.texi (Maintenance): Likewise.
45338 (Platform): New node.
45339 * manual/platform.texi: New file. Document the new features.
45341 2012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
45342 Jakub Jelinek <jakub@redhat.com>
45345 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
45346 where __builtin_expect is unavailable.
45348 2012-06-03 David S. Miller <davem@davemloft.net>
45350 * stdlib/longlong.h: Updated from GCC.
45352 2012-06-02 Andreas Schwab <schwab@linux-m68k.org>
45355 * sysdeps/powerpc/powerpc32/mcount.c: New file.
45356 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
45358 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
45359 (GLIBC_2.16): Likewise.
45361 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
45363 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
45365 2012-06-01 Joseph Myers <joseph@codesourcery.com>
45367 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
45368 (default-abi): New variable.
45369 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
45370 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
45372 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
45374 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
45376 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
45379 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
45380 definition. Document in comment.
45382 2012-06-01 David S. Miller <davem@davemloft.net>
45384 * stdlib/longlong.h: Updated from GCC.
45386 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
45389 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
45390 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
45391 sys/debugreg.h sys/io.h here.
45392 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
45393 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
45395 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
45396 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
45397 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
45398 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
45399 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
45400 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
45402 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
45403 Define only if __x86_64__ is defined.
45405 2012-06-01 Joseph Myers <joseph@codesourcery.com>
45408 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
45409 Use int64_t for variable i.
45410 * math/libm-test.inc (fmod_test): Add more tests.
45412 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
45413 z computation is not scheduled after fetestexcept.
45414 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
45415 Use math_force_eval instead of asm to ensure calculation scheduled
45416 before exception test.
45417 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
45418 Ensure a1 + u.d computation is not scheduled after fetestexcept.
45420 2012-06-01 Aurelien Jarno <aurelien@aurel32.net>
45422 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
45423 computation is not scheduled after fetestexcept.
45425 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
45428 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
45429 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
45431 2012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
45433 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
45434 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
45436 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
45439 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
45441 (__WCHAR_MIN): Support __WORDSIZE == 64.
45442 (__WCHAR_MAX): Likewise.
45444 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
45445 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
45448 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
45449 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
45452 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
45453 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
45455 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
45456 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
45458 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
45459 Defined to 1 if __x86_64__ isn't defined.
45460 (_STAT_VER_LINUX_OLD): New.
45461 (st_atime): Remove duplicate.
45462 (st_mtime): Likewise.
45463 (st_ctime): Likewise.
45465 2012-05-31 David S. Miller <davem@davemloft.net>
45467 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
45470 2012-06-01 Andreas Schwab <schwab@linux-m68k.org>
45472 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
45476 * elf/dl-reloc.c: Include <_itoa.h>.
45477 (_dl_reloc_bad_type): Remove use of INTUSE.
45478 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
45479 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
45480 * stdio-common/psiginfo.c (psiginfo): Likewise.
45481 * stdio-common/psignal.c (psignal): Likewise.
45482 * string/strsignal.c (strsignal): Likewise.
45483 * include/signal.h (_sys_siglist): Declare hidden proto.
45484 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
45485 INTVARDEF with libc_hidden_data_def.
45486 * stdio-common/itoa-udigits.c: Likewise.
45487 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
45488 (_itoa_lower_digits_internal): Remove declaration.
45489 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
45490 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
45491 (_sys_sigabbrev_internal): Remove aliases.
45492 (_sys_siglist): Define hidden alias.
45494 2012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
45496 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
45499 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
45502 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
45503 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
45505 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
45506 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
45507 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
45508 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
45509 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
45510 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
45512 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
45513 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
45514 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
45516 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
45524 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
45525 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
45526 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
45528 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
45529 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
45530 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
45531 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
45532 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
45533 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
45535 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
45536 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
45538 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
45539 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
45541 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
45542 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
45543 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
45545 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
45546 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
45548 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
45550 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
45551 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
45552 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
45554 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
45556 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
45558 2012-05-31 Joseph Myers <joseph@codesourcery.com>
45560 * math/math.h (M_El): Use two more decimal places.
45561 (M_LOG2El): Likewise.
45562 (M_LOG10El): Likewise.
45563 (M_LN2l): Likewise.
45564 (M_LN10l): Likewise.
45566 (M_PI_2l): Likewise.
45567 (M_PI_4l): Likewise.
45568 (M_1_PIl): Likewise.
45569 (M_2_PIl): Likewise.
45570 (M_2_SQRTPIl): Likewise.
45571 (M_SQRT2l): Likewise.
45572 (M_SQRT1_2l): Likewise.
45574 2012-05-31 David S. Miller <davem@davemloft.net>
45576 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
45577 values between float registers.
45578 * sysdeps/sparc/sparc64/memset.S: Likewise.
45579 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
45581 2012-05-31 Mike Frysinger <vapier@gentoo.org>
45583 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
45584 -D_FORTIFY_SOURCE=1.
45585 (CPPFLAGS-tst-longjmp_chk.c): Define.
45586 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
45587 (CPPFLAGS-tst-longjmp_chk2.c): Define.
45588 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
45589 CFLAGS-tst-wchar-h.c.
45591 2012-05-31 Marek Polacek <polacek@redhat.com>
45594 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
45595 __endmntent_internal): Remove declaration.
45596 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
45597 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
45598 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
45600 2012-05-30 David S. Miller <davem@davemloft.net>
45602 * sysdeps/sparc/sparc32/soft-fp/q_util.c
45603 (___Q_simulate_exceptions): Use real FP ops rather than writing
45605 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
45608 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
45611 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
45612 * sysdeps/x86/bits/xtitypes.h: This.
45614 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
45615 * sysdeps/x86/bits/wordsize.h: This.
45617 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
45618 * sysdeps/x86/bits/huge_vall.h: This.
45620 * sysdeps/i386/bits/select.h: Removed.
45621 * sysdeps/x86_64/bits/select.h: Renamed to ...
45622 * sysdeps/x86/bits/select.h: This.
45624 * sysdeps/i386/bits/setjmp.h: Removed.
45625 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
45626 * sysdeps/x86/bits/setjmp.h: This.
45628 * sysdeps/i386/bits/mathdef.h: Removed.
45629 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
45630 * sysdeps/x86/bits/mathdef.h: This.
45632 2012-05-30 Andreas Schwab <schwab@linux-m68k.org>
45635 * include/sys/socket.h (__connect_internal)
45636 (__libc_sa_len_internal): Remove declaration.
45637 (__connect, __libc_sa_len): Declare hidden_proto.
45638 (SA_LEN): Remove use of INTUSE.
45639 * socket/connect.c: Add libc_hidden_def.
45640 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
45641 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
45642 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
45644 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
45645 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
45646 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
45647 of adding _internal alias.
45649 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
45652 * sysdeps/i386/bits/link.h: Removed.
45653 * sysdeps/i386/bits/linkmap.h: Likewise.
45654 * sysdeps/x86_64/bits/link.h: Renamed to ...
45655 * sysdeps/x86/bits/link.h: This.
45656 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
45657 * sysdeps/x86/bits/linkmap.h: This.
45659 * sysdeps/i386/bits/endian.h: Removed.
45660 * sysdeps/x86_64/bits/endian.h: Renamed to ...
45661 * sysdeps/x86/bits/endian.h: This.
45663 * sysdeps/i386/bits/byteswap.h: Removed.
45664 * sysdeps/i386/bits/byteswap-16.h: Likewise.
45665 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
45666 * sysdeps/x86/bits/byteswap.h: This.
45667 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
45668 * sysdeps/x86/bits/byteswap-16.h: This.
45669 * sysdeps/i386/Implies: Add x86.
45670 * sysdeps/x86_64/Implies: Likewise.
45672 2012-05-30 David S. Miller <davem@davemloft.net>
45674 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
45675 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
45676 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
45677 (FP_TRAPPING_EXCEPTIONS): Define.
45678 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
45679 (FP_TRAPPING_EXCEPTIONS): Define.
45680 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
45681 subnormals only when inexact has been signalled or underflow
45682 exceptions are enabled.
45683 (_FP_PACK_CANONICAL): Likewise.
45685 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
45688 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
45689 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
45691 2012-05-30 Richard Henderson <rth@twiddle.net>
45693 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
45694 with #ifndef NOT_IN_libc.
45696 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
45697 marked to avoid plt entry.
45699 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
45702 * Makeconfig (default-abi): New macro.
45703 (abi-includes): Likewise.
45704 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
45705 $(abi-$(default-abi)-lib-soname) for soname if defined.
45706 ($(common-objpfx)gnu/lib-names.stmp): Generate from
45708 * Makefile (installed-stubs): Likewise.
45709 * include/stubs-biarch.h: Removed.
45710 * scripts/lib-names.awk: Only handle one library at a time.
45711 * scripts/soversions.awk: Remove WORDSIZE support.
45712 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
45714 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
45716 (syscall-list-default-condition): Likewise.
45717 (syscall-list-default-condition): Likewise.
45718 (syscall-list-includes): Likewise.
45719 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
45720 syscall-list-* with abi-*. Handle undefined abi-variants.
45721 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
45722 * sysdeps/unix/sysv/linux/i386/Implies: New file.
45723 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
45724 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
45725 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
45726 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
45728 (syscall-list-32-options): Likewise.
45729 (syscall-list-32-condition): Likewise.
45730 (syscall-list-64-options): Likewise.
45731 (syscall-list-64-condition): Likewise.
45732 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
45734 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
45737 (abi-64-ld-soname): New macro.
45738 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
45739 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
45742 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
45743 * sysdeps/x86_64/x32/shlib-versions: Likewise.
45745 2012-05-30 Joseph Myers <joseph@codesourcery.com>
45747 * sysdeps/unix/sysv/linux/kernel-features.h
45748 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
45749 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
45750 include <kernel-features.h>.
45751 [!__NR_ftruncate64]: Remove conditional code.
45752 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
45753 [__NR_ftruncate64]: Make code unconditional.
45754 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
45755 * sysdeps/unix/sysv/linux/truncate64.c: Do not
45756 include <kernel-features.h>.
45757 [!__NR_ftruncate64]: Remove conditional code.
45758 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
45759 [__NR_ftruncate64]: Make code unconditional.
45760 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
45761 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
45762 include <kernel-features.h>.
45763 [!__NR_ftruncate64]: Remove conditional code.
45764 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
45765 [__NR_ftruncate64]: Make code unconditional.
45766 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
45767 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
45768 include <kernel-features.h>.
45769 [!__NR_ftruncate64]: Remove conditional code.
45770 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
45771 [__NR_ftruncate64]: Make code unconditional.
45772 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
45774 * configure.in (libc_cv_fpie): Weaken to a compile test using
45775 LIBC_TRY_CC_OPTION.
45776 * configure: Regenerated.
45778 2012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
45780 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
45781 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
45782 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
45783 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
45785 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
45786 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
45787 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
45788 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
45789 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
45790 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
45793 2012-05-27 David S. Miller <davem@davemloft.net>
45795 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
45797 (__Q_simulate_exceptions): Return void. Change to simulate
45798 exceptions by writing into the %fsr.
45799 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
45800 (__Qp_handle_exceptions): Likewise.
45802 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
45803 __Qp_handle_exceptions.
45804 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
45805 __Qp_handle_exceptions.
45806 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
45807 as unused and give dummy FP_RND_NEAREST initializer.
45808 (FP_INHIBIT_RESULTS): Define.
45809 (___Q_simulate_exceptions): Update declaration.
45810 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
45812 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
45813 as unused and give dummy FP_RND_NEAREST initializer.
45814 (__Qp_handle_exceptions): Update declaration.
45815 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
45818 2012-05-27 Thomas Schwinge <thomas@codesourcery.com>
45820 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
45821 the temporary FPU control word.
45822 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
45823 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
45824 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
45825 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
45826 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
45827 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
45828 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
45829 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
45830 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
45831 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
45832 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
45834 2012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
45836 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
45839 2012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
45841 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
45842 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
45843 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
45844 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
45846 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
45847 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
45850 2012-05-27 Ulrich Drepper <drepper@gmail.com>
45852 * po/h.po: Update from translation team.
45854 2012-05-26 Andreas Schwab <schwab@linux-m68k.org>
45856 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
45858 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
45859 handling of denormals.
45860 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
45861 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
45862 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
45863 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
45864 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
45865 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
45866 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
45869 2012-05-26 Marek Polacek <polacek@redhat.com>
45872 * math/libm-test.inc (fma_test): Don't always expect underflow
45875 2012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
45878 * elf/tst-execstack.c: Include stackinfo.h.
45879 (do_test): Adjust test case to ensure that pthread_getattr_np
45880 behaviour remains the same after marking stack executable.
45882 2012-05-25 Joseph Myers <joseph@codesourcery.com>
45884 * sysdeps/unix/sysv/linux/kernel-features.h
45885 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
45886 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
45888 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
45889 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
45890 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
45892 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
45893 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
45895 2012-05-25 H.J. Lu <hongjiu.lu@intel.com>
45897 * configure.in: Define the default includes to being none.
45898 * configure: Regenerated.
45900 2012-05-25 Roland McGrath <roland@hack.frob.com>
45902 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
45903 * sysdeps/x86_64/setjmp.S: Likewise.
45904 * sysdeps/i386/bsd-setjmp.S: Likewise.
45905 * sysdeps/i386/bsd-_setjmp.S: Likewise.
45906 * sysdeps/i386/setjmp.S: Likewise.
45907 * sysdeps/i386/__longjmp.S: Likewise.
45908 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
45909 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
45911 * include/stap-probe.h: New file.
45912 * configure.in: Handle --enable-systemtap.
45913 * configure: Regenerated.
45914 * config.h.in (USE_STAP_PROBE): New #undef.
45915 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
45916 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
45917 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
45919 2012-05-25 Joseph Myers <joseph@codesourcery.com>
45922 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
45923 to 2.4.0 where earlier.
45924 * sysdeps/unix/sysv/linux/configure: Regenerated.
45925 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
45926 <kernel-features.h>.
45927 [__ASSUME_32BITUIDS]: Make code unconditional.
45928 [!__ASSUME_32BITUIDS]: Remove conditional code.
45929 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
45930 <kernel-features.h>.
45931 [__ASSUME_32BITUIDS]: Make code unconditional.
45932 [!__ASSUME_32BITUIDS]: Remove conditional code.
45933 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
45934 [__ASSUME_32BITUIDS]: Make code unconditional.
45935 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
45936 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
45937 <kernel-features.h>.
45938 [__ASSUME_32BITUIDS]: Make code unconditional.
45939 [!__ASSUME_32BITUIDS]: Remove conditional code.
45940 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
45941 <kernel-features.h>.
45942 [__ASSUME_32BITUIDS]: Make code unconditional.
45943 [!__ASSUME_32BITUIDS]: Remove conditional code.
45944 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
45945 <kernel-features.h>.
45946 [__ASSUME_32BITUIDS]: Make code unconditional.
45947 [!__ASSUME_32BITUIDS]: Remove conditional code.
45948 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
45949 <kernel-features.h>.
45950 [__ASSUME_32BITUIDS]: Make code unconditional.
45951 [!__ASSUME_32BITUIDS]: Remove conditional code.
45952 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
45953 <kernel-features.h>.
45954 [__ASSUME_32BITUIDS]: Make code unconditional.
45955 [!__ASSUME_32BITUIDS]: Remove conditional code.
45956 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
45957 <kernel-features.h>.
45958 [__ASSUME_32BITUIDS]: Make code unconditional.
45959 [!__ASSUME_32BITUIDS]: Remove conditional code.
45960 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
45961 <kernel-features.h>.
45962 [__ASSUME_32BITUIDS]: Make code unconditional.
45963 [!__ASSUME_32BITUIDS]: Remove conditional code.
45964 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
45965 <kernel-features.h>.
45966 [__ASSUME_32BITUIDS]: Make code unconditional.
45967 [!__ASSUME_32BITUIDS]: Remove conditional code.
45968 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
45969 <kernel-features.h>.
45970 [__ASSUME_32BITUIDS]: Make code unconditional.
45971 [!__ASSUME_32BITUIDS]: Remove conditional code.
45972 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
45973 <kernel-features.h>.
45974 [__ASSUME_32BITUIDS]: Make code unconditional.
45975 [!__ASSUME_32BITUIDS]: Remove conditional code.
45976 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
45977 <kernel-features.h>.
45978 [__NR_setresgid] (__setresgid): Do not declare.
45979 [__ASSUME_32BITUIDS]: Make code unconditional.
45980 [!__ASSUME_32BITUIDS]: Remove conditional code.
45981 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
45982 <kernel-features.h>.
45983 [__NR_setresuid] (__setresuid): Do not declare.
45984 [__ASSUME_32BITUIDS]: Make code unconditional.
45985 [!__ASSUME_32BITUIDS]: Remove conditional code.
45986 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
45987 <kernel-features.h>.
45988 [__ASSUME_32BITUIDS]: Make code unconditional.
45989 [!__ASSUME_32BITUIDS]: Remove conditional code.
45990 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
45991 <kernel-features.h>.
45992 [__ASSUME_32BITUIDS]: Make code unconditional.
45993 [!__ASSUME_32BITUIDS]: Remove conditional code.
45994 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
45995 <kernel-features.h>.
45996 [__ASSUME_32BITUIDS]: Make code unconditional.
45997 [!__ASSUME_32BITUIDS]: Remove conditional code.
45998 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
45999 <kernel-features.h>.
46000 [__ASSUME_32BITUIDS]: Make code unconditional.
46001 [!__ASSUME_32BITUIDS]: Remove conditional code.
46002 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
46003 <kernel-features.h>.
46004 [__ASSUME_32BITUIDS]: Make code unconditional.
46005 [!__ASSUME_32BITUIDS]: Remove conditional code.
46006 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
46007 <kernel-features.h>.
46008 [__ASSUME_32BITUIDS]: Make code unconditional.
46009 [!__ASSUME_32BITUIDS]: Remove conditional code.
46010 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
46011 <kernel-features.h>.
46012 [__ASSUME_32BITUIDS]: Make code unconditional.
46013 [!__ASSUME_32BITUIDS]: Remove conditional code.
46014 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
46015 <kernel-features.h>.
46016 [__ASSUME_32BITUIDS]: Make code unconditional.
46017 [!__ASSUME_32BITUIDS]: Remove conditional code.
46018 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
46019 <kernel-features.h>.
46020 [__ASSUME_32BITUIDS]: Make code unconditional.
46021 [!__ASSUME_32BITUIDS]: Remove conditional code.
46022 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
46023 <kernel-features.h>.
46024 [__ASSUME_32BITUIDS]: Make code unconditional.
46025 [!__ASSUME_32BITUIDS]: Remove conditional code.
46026 * sysdeps/unix/sysv/linux/kernel-features.h
46027 (__ASSUME_SETRESUID_SYSCALL): Remove.
46028 (__ASSUME_SETRESGID_SYSCALL): Likewise.
46029 (__ASSUME_32BITUIDS): Likewise.
46030 (__ASSUME_LDT_WORKS): Likewise.
46031 (__ASSUME_O_DIRECTORY): Likewise.
46032 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
46033 architecture but not kernel version.
46034 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
46035 (__ASSUME_MMAP2_SYSCALL): Likewise.
46036 (__ASSUME_STAT64_SYSCALL): Likewise.
46037 (__ASSUME_IPC64): Likewise.
46038 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
46039 <kernel-features.h>.
46040 [__ASSUME_32BITUIDS]: Make code unconditional.
46041 [!__ASSUME_32BITUIDS]: Remove conditional code.
46042 * sysdeps/unix/sysv/linux/opendir.c: Do not include
46043 <kernel-features.h>.
46044 [__ASSUME_O_DIRECTORY]: Make code unconditional.
46045 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
46046 132096]: Remove conditional code.
46047 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
46048 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
46049 <kernel-features.h>.
46050 [__ASSUME_32BITUIDS]: Make code unconditional.
46051 [!__ASSUME_32BITUIDS]: Remove conditional code.
46052 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
46053 <kernel-features.h>.
46054 [__ASSUME_32BITUIDS]: Make code unconditional.
46055 [!__ASSUME_32BITUIDS]: Remove conditional code.
46056 * sysdeps/unix/sysv/linux/setegid.c: Do not include
46057 <kernel-features.h>.
46058 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
46060 (__setresgid): Do not declare.
46061 [__ASSUME_32BITUIDS]: Make code unconditional.
46062 [!__ASSUME_32BITUIDS]: Remove conditional code.
46063 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
46064 <kernel-features.h>.
46065 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
46067 (__setresuid): Do not declare.
46068 [__ASSUME_32BITUIDS]: Make code unconditional.
46069 [!__ASSUME_32BITUIDS]: Remove conditional code.
46070 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
46071 <kernel-features.h>.
46072 [__ASSUME_32BITUIDS]: Make code unconditional.
46073 [!__ASSUME_32BITUIDS]: Remove conditional code.
46074 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
46075 <kernel-features.h>.
46076 [__ASSUME_32BITUIDS]: Make code unconditional.
46077 [!__ASSUME_32BITUIDS]: Remove conditional code.
46079 2012-05-25 Richard Henderson <rth@twiddle.net>
46081 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
46082 dl_hwcap to ifunc resolver.
46083 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
46085 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
46086 dl_hwcap to ifunc resolver.
46087 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
46089 2012-05-24 Joseph Myers <joseph@codesourcery.com>
46092 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
46093 for |x| <= 2**-26, not 2**-57.
46094 * math/libm-test.inc (acos_test): Do not allow spurious underflow
46097 2012-05-24 Jeff Law <law@redhat.com>
46099 * stdio-common/Makefile (tests): Add bug25.
46100 * stdio-common/bug25.c: New test.
46102 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
46105 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
46106 multiple of MALLOC_ALIGNMENT in size.
46107 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
46109 2012-05-24 Joseph Myers <joseph@codesourcery.com>
46111 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
46113 (FILENAME_MAX): Use macro-int-constant.
46114 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
46115 (_IOFBF): Use macro-int-constant.
46116 (_IOLBF): Likewise.
46117 (_IONBF): Likewise.
46118 (SEEK_CUR): Likewise.
46119 (SEEK_END): Likewise.
46120 (SEEK_SET): Likewise.
46121 (TMP_MAX): Likewise.
46122 (EOF): Use macro-int-constant. Require < 0.
46123 (NULL): Use macro-constant. Require == 0.
46124 (stdin): Require type to be FILE *.
46125 (stdout): Likewise.
46126 (stderr): Likewise.
46127 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
46128 macro-int-constant.
46129 (EXIT_SUCCESS): Likewise.
46130 (NULL): Use macro-constant. Require == 0.
46131 (RAND_MAX): Use macro-int-constant.
46132 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
46133 [C99-based standards] (strtof): Require function.
46134 [C99-based standards] (strtold): Likewise.
46135 [C99-based standards] (strtoll): Likewise.
46136 [C99-based standards] (strtoull): Likewise.
46137 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
46138 [ISO || ISO99 || ISO11] (limits.h): Likewise.
46139 [ISO || ISO99 || ISO11] (math.h): Likewise.
46140 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
46141 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
46142 [ISO || ISO99 || ISO11] (*_t): Do not allow.
46144 2012-05-24 Andreas Schwab <schwab@linux-m68k.org>
46147 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
46148 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
46149 * intl/dgettext.c (DCGETTEXT): Likewise.
46150 * intl/gettext.c (DCGETTEXT): Likewise.
46151 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
46152 * posix/regex_internal.h (gettext): Likewise.
46153 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
46154 Remove declaration.
46155 * include/argz.h (__argz_count_internal)
46156 (__argz_stringify_internal): Remove declaration.
46157 (__argz_count, __argz_stringify): Declare hidden proto.
46158 * intl/dcgettext.c: Remove use of INTDEF.
46159 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
46160 * string/argz-stringify.c: Likewise.
46161 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
46162 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
46163 Declare hidden proto.
46164 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
46165 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
46166 Declare hidden proto.
46167 * include/stdio.h (__asprintf_internal): Don't declare.
46168 (__asprintf): Don't define as macro. Declare hidden proto.
46169 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
46170 (__fsetlocking): Declare hidden proto.
46171 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
46172 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
46174 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
46175 (_IO_setlinebuf): Remove use of INTUSE.
46176 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
46177 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
46178 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
46179 Remove declaration.
46180 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
46181 (_IO_do_flush): Remove use of INTUSE.
46182 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
46183 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
46184 (_IO_adjust_column, _IO_least_wmarker)
46185 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
46186 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
46187 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
46188 (_IO_default_doallocate, _IO_wdefault_doallocate)
46189 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
46190 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
46191 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
46192 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
46193 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
46194 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
46195 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
46196 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
46197 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
46198 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
46199 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
46200 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
46201 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
46203 (_IO_flush_all_internal, _IO_adjust_column_internal)
46204 (_IO_default_uflow_internal, _IO_default_finish_internal)
46205 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
46206 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
46207 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
46208 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
46209 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
46210 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
46211 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
46212 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
46213 (_IO_file_close_internal, _IO_file_close_it_internal)
46214 (_IO_file_underflow_internal, _IO_file_overflow_internal)
46215 (_IO_file_init_internal, _IO_file_attach_internal)
46216 (_IO_file_fopen_internal, _IO_file_read_internal)
46217 (_IO_file_sync_internal, _IO_file_seek_internal)
46218 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
46219 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
46220 (_IO_str_underflow_internal, _IO_str_overflow_internal)
46221 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
46222 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
46223 (_IO_list_all_internal, _IO_link_in_internal)
46224 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
46225 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
46226 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
46227 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
46228 (_IO_do_write_internal, _IO_padn_internal)
46229 (_IO_getline_info_internal, _IO_getline_internal)
46230 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
46231 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
46232 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
46233 (_IO_vfscanf_internal, _IO_vfprintf_internal)
46234 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
46235 (_IO_init_internal, _IO_un_link_internal): Don't declare.
46236 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
46237 with libc_hidden_ver, remove use of INTUSE.
46238 * libio/genops.c: Likewise.
46239 * libio/freopen.c: Likewise.
46240 * libio/freopen64.c: Likewise.
46241 * libio/iofclose.c: Likewise.
46242 * libio/iofdopen.c: Likewise.
46243 * libio/iofflush.c: Likewise.
46244 * libio/iofflush_u.c: Likewise.
46245 * libio/iofgets.c: Likewise.
46246 * libio/iofgets_u.c: Likewise.
46247 * libio/iofopen.c: Likewise.
46248 * libio/iofopncook.c: Likewise.
46249 * libio/iofread.c: Likewise.
46250 * libio/iofread_u.c: Likewise.
46251 * libio/ioftell.c: Likewise.
46252 * libio/iofwrite.c: Likewise.
46253 * libio/iogetline.c: Likewise.
46254 * libio/iogets.c: Likewise.
46255 * libio/iogetwline.c: Likewise.
46256 * libio/iopadn.c: Likewise.
46257 * libio/iopopen.c: Likewise.
46258 * libio/ioseekoff.c: Likewise.
46259 * libio/ioseekpos.c: Likewise.
46260 * libio/iosetbuffer.c: Likewise.
46261 * libio/iosetvbuf.c: Likewise.
46262 * libio/ioungetc.c: Likewise.
46263 * libio/ioungetwc.c: Likewise.
46264 * libio/iovdprintf.c: Likewise.
46265 * libio/iovsprintf.c: Likewise.
46266 * libio/iovsscanf.c: Likewise.
46267 * libio/memstream.c: Likewise.
46268 * libio/obprintf.c: Likewise.
46269 * libio/oldfileops.c: Likewise.
46270 * libio/oldiofclose.c: Likewise.
46271 * libio/oldiofdopen.c: Likewise.
46272 * libio/oldiofopen.c: Likewise.
46273 * libio/oldiopopen.c: Likewise.
46274 * libio/oldstdfiles.c: Likewise.
46275 * libio/putc.c: Likewise.
46276 * libio/setbuf.c: Likewise.
46277 * libio/setlinebuf.c: Likewise.
46278 * libio/stdfiles.c: Likewise.
46279 * libio/strops.c: Likewise.
46280 * libio/vasprintf.c: Likewise.
46281 * libio/vscanf.c: Likewise.
46282 * libio/vsnprintf.c: Likewise.
46283 * libio/vswprintf.c: Likewise.
46284 * libio/wfiledoalloc.c: Likewise.
46285 * libio/wfileops.c: Likewise.
46286 * libio/wgenops.c: Likewise.
46287 * libio/wmemstream.c: Likewise.
46288 * libio/wstrops.c: Likewise.
46289 * libio/__fpurge.c: Likewise.
46290 * libio/__fsetlocking.c: Likewise.
46291 * assert/assert.c: Likewise.
46292 * debug/fgets_chk.c: Likewise.
46293 * debug/fgets_u_chk.c: Likewise.
46294 * debug/fread_chk.c: Likewise.
46295 * debug/fread_u_chk.c: Likewise.
46296 * debug/gets_chk.c: Likewise.
46297 * debug/obprintf_chk.c: Likewise.
46298 * debug/vasprintf_chk.c: Likewise.
46299 * debug/vdprintf_chk.c: Likewise.
46300 * debug/vsnprintf_chk.c: Likewise.
46301 * debug/vsprintf_chk.c: Likewise.
46302 * malloc/mtrace.c: Likewise.
46303 * misc/error.c: Likewise.
46304 * misc/syslog.c: Likewise.
46305 * stdio-common/asprintf.c: Likewise.
46306 * stdio-common/fxprintf.c: Likewise.
46307 * stdio-common/getw.c: Likewise.
46308 * stdio-common/isoc99_fscanf.c: Likewise.
46309 * stdio-common/isoc99_scanf.c: Likewise.
46310 * stdio-common/isoc99_vfscanf.c: Likewise.
46311 * stdio-common/isoc99_vscanf.c: Likewise.
46312 * stdio-common/isoc99_vsscanf.c: Likewise.
46313 * stdio-common/printf-prs.c: Likewise.
46314 * stdio-common/printf_fp.c: Likewise.
46315 * stdio-common/printf_fphex.c: Likewise.
46316 * stdio-common/printf_size.c: Likewise.
46317 * stdio-common/putw.c: Likewise.
46318 * stdio-common/scanf.c: Likewise.
46319 * stdio-common/sprintf.c: Likewise.
46320 * stdio-common/tmpfile.c: Likewise.
46321 * stdio-common/vfprintf.c: Likewise.
46322 * stdio-common/vfscanf.c: Likewise.
46323 * stdlib/strfmon_l.c: Likewise.
46324 * sunrpc/openchild.c: Likewise.
46325 * sunrpc/xdr_stdio.c: Likewise.
46326 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
46327 * sysdeps/mach/hurd/tmpfile.c: Likewise.
46329 2012-05-24 Roland McGrath <roland@hack.frob.com>
46331 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
46333 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
46334 in the third column, to generate for the shared library an IFUNC
46335 that uses _dl_vdso_vsym.
46336 * Makerules (COMPILE.c, compile-stdin.c): New variables.
46337 * Makeconfig (object-suffixes-noshared): New variable.
46339 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
46340 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
46341 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
46342 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
46345 * include/sys/time.h (__gettimeofday): Remove macro.
46346 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
46347 * time/gettimeofday.c (__gettimeofday): Remove #undef.
46349 (__gettimeofday): Add libc_hidden_def.
46350 (gettimeofday): Add libc_hidden_weak.
46351 * sysdeps/mach/gettimeofday.c: Likewise.
46352 * sysdeps/posix/gettimeofday.c: Likewise.
46353 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
46354 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
46355 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
46356 (__gettimeofday_internal): Remove strong_alias.
46357 (__gettimeofday): Add libc_hidden_def.
46358 (gettimeofday): Add libc_hidden_weak.
46359 * sysdeps/unix/syscalls.list (gettimeofday):
46360 Remove __gettimeofday_internal alias.
46362 2012-05-24 Daniel Jacobowitz <drow@false.org>
46363 H.J. Lu <hongjiu.lu@intel.com>
46366 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
46367 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
46368 (largebin_index_32_big): New.
46369 (largebin_index): Use it for 16-byte alignment.
46370 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
46371 correction with front_misalign.
46373 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
46375 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
46376 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
46378 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
46380 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
46382 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
46384 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
46386 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
46388 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
46390 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
46392 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
46394 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
46396 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
46398 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
46401 * scripts/data/c++-types-x32-linux-gnu.data: New file.
46402 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
46404 2012-05-24 Joseph Myers <joseph@codesourcery.com>
46408 * math/libm-test.inc (exp_test): Add test from bug 14036.
46409 (pow_test): Add test from bug 10846.
46411 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
46413 (special_function): Do not include flags in test name.
46414 (parse_args): Likewise.
46415 * sysdeps/i386/fpu/libm-test-ulps: Update.
46416 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
46417 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
46418 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
46419 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46421 * math/gen-libm-test.pl (%beautify): Add entries for underflow
46423 * math/libm-test.inc ("Philosophy"): Update comment about
46425 (UNDERFLOW_EXCEPTION): New macro.
46426 (UNDERFLOW_EXCEPTION_OK): Likewise.
46427 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
46428 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
46429 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
46430 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
46431 (INVALID_EXCEPTION_OK): Update value.
46432 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
46433 (OVERFLOW_EXCEPTION_OK): Likewise.
46434 (IGNORE_ZERO_INF_SIGN): Likewise.
46435 (test_exceptions): Handle underflow exceptions.
46436 (acos_test): Update for underflow exception expectations.
46437 (cexp_test): Likewise.
46438 (clog_test): Likewise.
46439 (clog10_test): Likewise.
46440 (csqrt_test): Likewise.
46441 (ctan_test): Likewise.
46442 (ctanh_test): Likewise.
46443 (exp_test): Likewise.
46444 (exp10_test): Likewise.
46445 (exp2_test): Likewise.
46446 (expm1_test): Likewise.
46447 (fma_test): Likewise.
46448 (j0_test): Likewise.
46449 (jn_test): Likewise.
46450 (nexttoward_test): Likewise.
46451 (pow_test): Likewise.
46452 (scalbn_test): Likewise.
46453 (scalbln_test): Likewise.
46454 (tan_test): Likewise.
46455 (y1_test): Likewise.
46456 * sysdeps/i386/fpu/libm-test-ulps: Update.
46457 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46459 2012-05-23 David S. Miller <davem@davemloft.net>
46461 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
46462 (__libc_sigaction): Remove unused local variables.
46464 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
46466 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
46468 2012-05-23 Paul Eggert <eggert@cs.ucla.edu>
46470 mktime: avoid signed integer overflow
46471 * time/mktime.c (__mktime_internal): Do not mishandle the case
46472 where diff == INT_MIN.
46474 mktime: simplify computation of average
46475 * time/mktime.c (ranged_convert): Use new time_t_avg function
46476 instead of rolling our own (probably-slower) code.
46478 mktime: do not assume signed right shift propagates sign bit
46479 * time/mktime.c (isdst_differ): New static function.
46480 (__mktime_internal): No need to normalize tm_isdst now.
46481 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
46484 mktime: merge another wrapv change from gnulib
46485 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
46486 from some compilers.
46488 mktime: remove incorrect attempt at unusual arithmetics
46489 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
46490 The code didn't really work on such machines anyway.
46491 (TYPE_MINIMUM): Assume two's complement.
46492 (twos_complement_arithmetic): Verify that long_int and time_t
46493 are two's complement (or unsigned, in the latter case).
46495 mktime: check signed shifts on long_int and time_t, too
46496 * time/mktime.c (SHR): Check that shifts work as desired
46497 on the types long_int and time_t too, as SHR is used on
46500 mktime: do not assume 'long' is wide enough
46501 * time/mktime.c (verify): Move decl up.
46502 (long_int): New type.
46503 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
46504 to remove assumption in the code that 'long' is wide enough to
46505 store year values. This assumption is not true on x32 and on
46506 some non-glibc platforms.
46508 mktime: merge wrapv change from gnulib
46509 * time/mktime.c (WRAPV): New macro.
46510 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
46511 (guess_time_tm, __mktime_internal): Do not assume that signed
46512 integer overflow wraps around; modern compilers generate code
46513 where this assumption is no longer valid.
46515 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
46517 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
46518 Replace "jmp L(pseudo_end)" with "ret".
46519 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
46522 2012-05-23 Andreas Jaeger <aj@suse.de>
46524 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
46525 * sysdeps/unix/sysv/linux/poll.c: Remove file.
46527 2012-05-23 Andreas Jaeger <aj@suse.de>
46528 Maximilian Attems <max@stro.at>
46530 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
46533 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
46535 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
46536 code so that pseudo_end is just ret and the stack pointer is
46537 correct also for static library in error case.
46539 2012-05-23 Joseph Myers <joseph@codesourcery.com>
46541 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
46542 move to syscalls.list.
46543 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
46544 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
46545 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
46546 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
46548 * manual/install.texi (Running make install): Do not mention Linux
46549 kernel version for which pt_chown is not needed.
46550 (Linux): Do not mention problems with nscd with 2.0 kernels.
46551 * INSTALL: Regenerated.
46553 2012-05-23 Andreas Jaeger <aj@suse.de>
46555 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
46556 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
46558 * sysdeps/unix/sysv/linux/s390/bits/mman.h
46559 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
46560 * sysdeps/unix/sysv/linux/sh/bits/mman.h
46561 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
46562 * sysdeps/unix/sysv/linux/i386/bits/mman.h
46563 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
46564 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
46565 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
46566 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
46567 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
46568 * sysdeps/unix/sysv/linux/bits/in.h
46569 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
46571 2012-05-22 Roland McGrath <roland@hack.frob.com>
46573 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
46574 (PREPARE_VERSION): Just use assert instead, it will be elided
46575 under [NDEBUG] anyway.
46577 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
46579 * sysdeps/unix/sysv/linux/Makefile: Include
46580 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
46581 (sysdep_routines): Remove sysctl.
46582 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
46583 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
46584 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
46585 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
46586 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
46588 2012-05-22 Andreas Jaeger <aj@suse.de>
46590 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
46591 that pseudo_end is just ret and the stack pointer is correct also
46592 for static library in error case.
46594 2012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
46597 * nss/nsswitch.c (defconfig_entries): New variable.
46598 (__nss_database_lookup): Don't leak defconfig entries.
46599 (nss_parse_service_list): Don't leak on error paths.
46600 (free_database_entries): New function.
46601 (free_defconfig): New function.
46602 (free_mem): Move common code to free_database_entries.
46604 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
46606 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
46608 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
46610 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
46611 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
46612 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
46614 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
46615 (INTERNAL_SYSCALL_TYPES): Likewise.
46616 (LOAD_ARGS_TYPES_[1-6]): Likewise.
46617 (LOAD_REGS_TYPES_[1-6]): Likewise.
46618 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
46619 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
46621 2012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
46623 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
46624 copysignl for GLIBC_2_0.
46625 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
46626 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
46627 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
46628 logbl for GLIBC_2_0.
46629 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
46630 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
46632 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
46634 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
46635 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
46637 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
46640 * time/mktime.c: Update copyright years.
46642 2012-05-22 Paul Eggert <eggert@cs.ucla.edu>
46644 mktime: merge comment-quoting-style change from gnulib
46645 * time/mktime.c: Quote 'like this' in comments.
46646 The GNU coding standards suggest that we no longer quote `like this',
46647 as "`" and "'" are typically rendered asymmetrically nowadays.
46648 The typical gnulib style is to quote 'like this' when quoting
46649 code, and "like this" when quoting English.
46651 * time/mktime.c (compile-command): Add "-I.".
46653 mktime: merge mktime-internal.h change from gnulib
46654 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
46656 mktime: merge time_r change from gnulib
46657 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
46659 mktime: merge DEBUG change from gnulib
46660 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
46661 case system <time.h> has a #define.
46663 mktime: merge <sys/types.h> change from gnulib
46664 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
46665 since <time.t> is now guaranteed to define time_t.
46667 mktime: merge HAVE_CONFIG_H change from gnulib
46668 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
46670 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
46672 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
46675 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
46677 (struct rusage): Use anonymous union to pad each field to
46680 2012-05-21 David S. Miller <davem@davemloft.net>
46682 * Makefules (o-iterator): Remove .s cases.
46683 (compile-command.s): Delete.
46684 (COMPILE.s): Delete.
46685 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
46687 2012-05-21 Joseph Myers <joseph@codesourcery.com>
46689 * configure.in (libc_cv_predef_stack_protector): Only consider
46690 "foobar" and "__stack_chk_fail" lines in libc_undefs.
46691 * configure: Regenerated.
46693 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
46695 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
46696 New macro. Use R*LP on int and pointer.
46697 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
46698 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
46699 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
46700 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
46702 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
46703 [__WORDSIZE_TIME64_COMPAT32] instead of
46704 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
46705 (struct utmp): Likewise.
46706 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
46707 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
46709 (__WORDSIZE_TIME64_COMPAT32): This.
46710 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
46711 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
46712 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
46713 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
46714 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
46715 (__WORDSIZE_TIME64_COMPAT32): New macro.
46717 2012-05-21 Andreas Jaeger <aj@suse.de>
46719 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
46720 only if [SHARED]. Add prototype for __wcschr_ia32.
46722 2012-05-21 Roland McGrath <roland@hack.frob.com>
46724 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
46725 of %rbp unmolested in the jmp_buf while mangling the low bits.
46726 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
46727 unmolested high bits of %rbp while demangling the low bits.
46728 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
46730 2012-05-21 Andreas Jaeger <aj@suse.de>
46732 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
46733 * sunrpc/svc_simple.c: Use it for registerrpc.
46734 * sunrpc/xcrypt.c: Use it for passwd2des.
46736 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
46738 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
46740 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
46741 Don't define if [__SYSCALL_WORDSIZE != 32].
46742 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
46745 2012-05-21 Bruno Haible <bruno@clisp.org>
46746 Andreas Jaeger <aj@suse.de>
46748 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
46749 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
46750 inptr and inend for must_buffer_ch.
46751 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
46752 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
46753 * stdio-common/Makefile (tests): Remove bug15.
46754 (bug15-ENV): Remove macro.
46755 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
46758 2012-05-19 Andreas Jaeger <aj@suse.de>
46759 Roland McGrath <roland@hack.frob.com>
46761 * manual/contrib.texi: Completely rewritten. It contains now an
46762 alphabetical list of contributors and their contributions.
46764 2012-05-21 Richard Henderson <rth@twiddle.net>
46766 * misc/getauxval.c (__getauxval): Use unsigned long int.
46767 * misc/sys/auxv.h: Include <sys/cdefs.h>.
46768 (getauxval): Use unsigned long int.
46770 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
46772 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
46774 2012-05-21 Roland McGrath <roland@hack.frob.com>
46776 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
46777 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
46778 __alignof__ (long double).
46780 2012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
46782 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
46784 2012-05-20 Richard Henderson <rth@twiddle.net>
46786 * misc/getauxval.c: New file.
46787 * misc/sys/auxv.h: New file.
46788 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
46789 (routines): Add getauxval.
46790 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
46791 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
46792 * elf/dl-sysdep.c (_dl_auxv): Remove.
46793 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
46794 * elf/dl-support.c (_dl_auxv): New variable.
46795 (_dl_aux_init): Initialize it.
46796 * manual/startup.texi (Auxiliary Vector): New node.
46797 * sysdeps/generic/bits/hwcap.h: New file.
46798 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
46799 * sysdeps/powerpc/sysdep.h: ... here. Include it.
46800 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
46801 * sysdeps/sparc/sysdep.h: ... here. Include it.
46802 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
46803 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
46804 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
46806 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
46807 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
46808 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
46809 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
46810 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
46811 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
46812 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
46813 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
46815 2012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
46817 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
46819 2012-05-19 David S. Miller <davem@davemloft.net>
46821 * sysdeps/sparc/fpu/libm-test-ulps: Update.
46823 2012-05-19 Joseph Myers <joseph@codesourcery.com>
46826 * math/s_ccosh.c: Include <float.h>
46827 (__ccosh): Avoid internal overflow calculating sinh and cosh
46828 values before multiplying by sin and cos values.
46829 * math/s_ccoshf.c: Likewise.
46830 * math/s_ccoshl.c: Likewise.
46831 * math/s_csin.c: Likewise.
46832 * math/s_csinf.c: Likewise.
46833 * math/s_csinl.c: Likewise.
46834 * math/s_csinh.c: Likewise.
46835 * math/s_csinhf.c: Likewise.
46836 * math/s_csinhl.c: Likewise.
46837 * math/libm-test.inc (ccos_test): Add more tests.
46838 (ccosh_test): Likewise.
46839 (csin_test): Likewise.
46840 (csinh_test): Likewise.
46841 * sysdeps/i386/fpu/libm-test-ulps: Update.
46842 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46844 2012-05-19 H.J. Lu <hongjiu.lu@intel.com>
46846 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
46847 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
46849 * sysdeps/x86_64/x32/_itoa.h: Add comment.
46851 2012-05-19 Joseph Myers <joseph@codesourcery.com>
46853 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
46854 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
46855 * sysdeps/powerpc/soft-fp/Versions: Likewise.
46856 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
46857 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
46858 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
46859 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
46860 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
46861 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
46862 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
46863 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
46864 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
46865 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
46866 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
46867 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
46868 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
46869 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
46870 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
46871 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
46872 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
46873 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
46874 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
46875 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
46876 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
46877 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
46878 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
46879 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
46880 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
46881 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
46882 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
46883 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
46885 2012-05-18 Andreas Jaeger <aj@suse.de>
46887 * csu/.gitignore: Delete.
46889 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
46891 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
46892 (timex): Use __syscall_slong_t.
46894 2012-05-18 Andreas Jaeger <aj@suse.de>
46895 Carlos O'Donell <carlos_odonell@mentor.com>
46897 * manual/install.texi (Configuring and compiling): Update
46898 description about files modified in the source directory.
46899 * INSTALL: Regenerated.
46901 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
46903 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
46904 value. Use "or" to set return value to -1.
46905 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
46906 negate return value.
46908 2012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
46910 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
46911 (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
46912 failure if the compiler has Graphite support disabled.
46913 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
46915 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
46916 (CFLAGS-memmove.c): Likewise.
46917 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
46920 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
46922 * sysdeps/x86_64/x32/_itoa.h: New file.
46924 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
46925 getdents system call only if kernel and user dirents have the
46926 same d_ino and d_off.
46928 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
46929 LLONG_MAX != LONG_MAX.
46930 (_itoa_word): Use _ITOA_WORD_TYPE on value.
46931 (_fitoa_word): Likewise.
46933 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
46935 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
46936 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
46937 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
46939 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
46940 include <bits/wordsize.h>. Check __x86_64__ instead of
46942 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
46943 if __x86_64__ is defined. Use anonymous union on fpstate.
46945 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
46948 2012-05-18 Andreas Schwab <schwab@linux-m68k.org>
46950 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
46951 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
46952 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
46953 Refer to _rtld_local_ro instead of _rtld_global_ro.
46954 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
46956 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
46958 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
46960 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
46961 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
46962 of _rtld_global, and rtld_progname instead of _dl_argv[0].
46964 * sysdeps/powerpc/powerpc32/dl-machine.c
46965 (__elf_machine_runtime_setup) [PROF]: Don't reference
46968 2012-05-18 Andreas Jaeger <aj@suse.de>
46970 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
46971 function only available for GCCs before 3.4 since GCC 3.4
46972 introduced a builtin.
46974 (llrintf): Likewise.
46975 (llrint): Likewise.
46982 (nearbyint): Likewise.
46983 (nearbyintf): Likewise.
46987 (floorf): Likewise.
46989 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
46991 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
46992 on both fields and cast pointer to __syscall_ulong_t.
46994 * bits/types.h (__fsword_t): New type.
46995 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
46996 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
46997 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
46998 (__FSWORD_T_TYPE): Likewise.
46999 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
47000 (__FSWORD_T_TYPE): Likewise.
47001 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
47002 (__FSWORD_T_TYPE): Likewise.
47003 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
47004 (__FSWORD_T_TYPE): Likewise.
47005 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
47006 __SWORD_TYPE with __fsword_t.
47007 (statfs64): Likewise.
47009 2012-05-17 David S. Miller <davem@davemloft.net>
47011 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
47013 2012-05-17 Andreas Jaeger <aj@suse.de>
47015 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
47018 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
47020 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
47022 2012-05-17 Andreas Jaeger <aj@suse.de>
47024 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
47027 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
47029 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
47031 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
47033 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
47034 * sysdeps/x86_64/tst-mallocalign1.c: New file.
47036 2012-05-17 Andreas Jaeger <aj@suse.de>
47037 Carlos O'Donell <carlos_odonell@mentor.com>
47040 * sysdeps/x86_64/multiarch/init-arch.h
47041 (bit_YMM_Usable): Rename to...
47042 (bit_AVX_Usable): ... this.
47043 (bit_FMA4_Usable): New macro.
47044 (bit_XMM_state): New macro.
47045 (bit_YMM_state): New macro.
47046 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
47047 [__ASSEMBLER__] (index_AVX_Usable): ... this.
47048 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
47049 (CPUID_OSXSAVE): New macro.
47050 (CPUID_AVX): New macro.
47051 (CPUID_FMA4): New macro.
47052 (index_YMM_Usable): Rename to...
47053 (index_AVX_Usable): ... this.
47054 (HAS_AVX): Use HAS_ARCH_FEATURE.
47055 (HAS_FMA4): Likewise.
47056 (HAS_YMM_USABLE): Remove.
47057 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
47058 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
47060 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
47061 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
47062 * sysdeps/x86_64/multiarch/Makefile: Likewise.
47063 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
47064 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
47066 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
47068 * math/libm-test.c: Support platforms without multiple rounding modes.
47069 * math/bug-nextafter.c: Support platforms without FP exceptions.
47070 * math/bug-nexttoward.c: Likewise.
47071 * math/test-fenv.c: Likewise.
47072 * math/test-misc.c: Likewise.
47073 * stdlib/bug-getcontext.c: Likewise.
47075 2012-05-17 Andreas Jaeger <aj@suse.de>
47077 * manual/examples/search.c (critter_cmp): Change signature to
47079 * manual/string.texi (Collation Functions): Likewise.
47081 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
47083 * bits/types.h: Fold copyright years.
47084 * bits/typesizes.h: Likewise.
47085 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
47086 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
47087 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
47088 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
47089 * time/time.h: Likewise.
47091 2012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
47094 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
47095 in instead of returning them. Return void.
47096 (__libc_mallinfo): Accumulate over all arenas.
47097 (__malloc_stats): Adjust for change in int_mallinfo interface.
47099 2012-05-16 Roland McGrath <roland@hack.frob.com>
47102 * configure.in (NM): Add AC_CHECK_TOOL for it.
47103 (libc_extra_cflags): New substituted variable.
47104 Check for -fstack-protector being used implicitly.
47105 * configure: Regenerated.
47106 * config.make.in (config-extra-cflags): New variable,
47107 gets @libc_extra_cflags@.
47108 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
47111 * configure.in: Check for _FORTIFY_SOURCE being predefined.
47112 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
47113 * configure: Regenerated.
47114 * config.make.in (CPPUNDEFS): New substituted variable.
47115 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
47116 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
47117 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
47119 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
47121 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
47122 (mq_attr): Use __syscall_slong_t.
47124 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
47126 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
47127 Check __x86_64__ instead of __WORDSIZE.
47128 (_STAT_VER_LINUX): Likewise.
47129 (stat): Check __x86_64__ instead of __WORDSIZE. Use
47130 __syscall_ulong_t and __syscall_slong_t.
47131 (stat64): Likewise.
47133 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
47135 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
47137 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
47139 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
47141 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
47143 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
47146 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
47147 include <bits/wordsize.h>. Check __x86_64__ instead of
47149 (greg_t): Use "__extension__ long long int" if __x86_64__ is
47151 (mcontext_t): Replace "unsigned long" with "unsigned long long".
47153 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
47154 include <bits/wordsize.h>. Check __x86_64__ instead of
47156 (user_regs_struct): Use "__extension__ unsigned long long"
47157 instead of "unsigned long" if __x86_64__ is defined.
47158 (user): Likewise. Pad after pointer field if __ILP32__ is
47161 2012-05-16 Joseph Myers <joseph@codesourcery.com>
47163 * configure.in (makeinfo): Require version 4.5 or later. Allow
47165 * configure: Regenerated.
47166 * manual/install.texi (texinfo): Increase version requirement to
47168 * INSTALL: Regenerated.
47170 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
47172 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
47174 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
47176 * sysdeps/x86_64/x32/ffs.c: New file.
47178 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
47180 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
47181 defined. Use __syscall_ulong_t.
47182 (shminfo): Use __syscall_ulong_t.
47183 (shm_info): Likewise.
47185 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
47188 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
47190 (msgqnum_t): Use __syscall_ulong_t.
47191 (msglen_t): Likewise.
47192 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
47195 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
47196 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
47198 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
47200 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
47201 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
47203 * sysvipc/sys/msg.h (msgbuf): Replace long int with
47206 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
47207 include <bits/wordsize.h>. Check __x86_64__ instead of
47210 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
47211 "unsigned long long int" if __x86_64__ is defined.
47212 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
47214 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
47215 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
47216 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
47218 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
47220 (GET_PC): Cast to uintptr_t first.
47221 (GET_FRAME): Likewise.
47222 (GET_STACK): Likewise.
47224 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
47225 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
47226 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
47227 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
47228 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
47229 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
47230 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
47231 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
47232 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
47233 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
47234 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
47235 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
47236 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
47237 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
47238 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
47239 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
47240 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
47241 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
47242 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
47243 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
47244 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
47245 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
47246 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
47247 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
47248 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
47249 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
47250 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
47251 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
47252 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
47254 2012-05-16 Andreas Schwab <schwab@linux-m68k.org>
47256 * Makerules (+depfiles): Also collect depfiles from .oS in
47258 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
47259 .oS, $(libnldbl-routines)).
47261 * Makerules (native-compile-mkdep-flags): Define.
47262 * sunrpc/Makefile (extra-objs): Add $(addprefix
47263 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
47264 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
47265 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
47266 calling $(make-target-directory).
47268 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
47270 * bits/types.h (__snseconds_t): Removed.
47271 * time/time.h (struct timespec): Replace __snseconds_t with
47273 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
47274 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
47276 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
47277 (__SNSECONDS_T_TYPE): Likewise.
47278 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
47279 (__SNSECONDS_T_TYPE): Likewise.
47280 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
47281 (__SNSECONDS_T_TYPE): Likewise.
47283 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
47285 * sysdeps/mach/hurd/bits/typesizes.h
47286 (__SYSCALL_SLONG_TYPE): New macro.
47287 (__SYSCALL_ULONG_TYPE): Likewise.
47289 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
47291 * bits/types.h (__syscall_slong_t): New type.
47292 (__syscall_ulong_t): Likewise.
47294 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
47295 (__SYSCALL_ULONG_TYPE): Likewise.
47296 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
47297 (__SYSCALL_SLONG_TYPE): Likewise.
47298 (__SYSCALL_ULONG_TYPE): Likewise.
47299 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
47300 (__SYSCALL_SLONG_TYPE): Likewise.
47301 (__SYSCALL_ULONG_TYPE): Likewise.
47302 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
47303 (__SYSCALL_SLONG_TYPE): Likewise.
47304 (__SYSCALL_ULONG_TYPE): Likewise.
47306 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
47308 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
47309 Add sigaltstack-offsets.sym.
47310 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
47311 <sigaltstack-offsets.h>.
47312 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
47313 longjmp_msg pointer.
47314 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
47315 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
47317 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
47319 2012-05-15 Joseph Myers <joseph@codesourcery.com>
47321 * elf/stackguard-macros.h: Remove file.
47322 * sysdeps/generic/stackguard-macros.h: New file.
47323 * sysdeps/i386/stackguard-macros.h: Likewise.
47324 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
47325 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
47326 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
47327 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
47328 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
47329 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
47330 * sysdeps/x86_64/stackguard-macros.h: Likewise.
47331 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
47332 <elf/stackguard-macros.h>.
47335 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
47336 __aligned__ in attribute.
47337 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
47338 (gregset_t): Likewise.
47340 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
47342 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
47343 * sysdeps/x86_64/64/Implies-after: Here. New file.
47344 * sysdeps/x86_64/x32/Implies-after: New file.
47346 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
47348 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
47349 and access return value for _dl_profile_fixup. Use R10_LP to
47352 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
47354 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
47356 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
47358 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
47359 * sysdeps/x86_64/x32/sysdep.h: New file.
47361 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
47363 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
47364 * sysdeps/x86_64/setjmp.S: Likewise.
47366 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
47368 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
47369 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
47370 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
47371 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
47372 remove unused global constant.
47374 2012-05-15 Chris Metcalf <cmetcalf@tilera.com>
47376 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
47377 include of <not-cancel.h>.
47379 2012-05-15 Roland McGrath <roland@hack.frob.com>
47381 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
47383 2012-05-15 Jeff Law <law@redhat.com>
47384 Andreas Jaeger <aj@suse.de>
47387 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
47389 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
47390 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
47391 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
47392 code changing __hst_map_handle.map.
47394 2012-05-15 Roland McGrath <roland@hack.frob.com>
47396 * configure.in (sysnames): Look for Implies-before and Implies-after
47398 * configure: Regenerated.
47400 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
47402 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
47403 8-byte data alignment with LP_SIZE alignment.
47405 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
47407 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
47410 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
47412 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
47414 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
47416 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
47417 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
47418 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
47420 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
47422 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
47424 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
47425 (stackinfo_sub_sp): Likewise.
47427 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
47429 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
47432 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
47434 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
47437 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
47439 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
47442 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
47444 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
47446 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
47448 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
47449 into R11_LP and load __x86_64_shared_cache_size_half into
47452 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
47454 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
47457 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
47459 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
47461 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
47463 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
47465 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
47466 powerpc32/power7/fpu/s_logb.c via #include.
47467 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
47468 powerpc32/power7/fpu/s_logbf.c via #include.
47469 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
47470 powerpc32/power7/fpu/s_logbl.c via #include.
47472 2012-05-15 Joseph Myers <joseph@codesourcery.com>
47474 * README.libm: Remove file.
47476 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
47478 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
47479 count for x32. Use R*_LP and omit operand-size suffix.
47481 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
47483 * shlib-versions: Move x86_64-.*-linux.* entries to ...
47484 * sysdeps/x86_64/64/shlib-versions: Here. New file.
47485 * sysdeps/x86_64/x32/shlib-versions: New file.
47487 2012-05-14 Roland McGrath <roland@hack.frob.com>
47489 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
47490 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
47491 Use _dl_fatal_printf instead.
47493 2012-05-14 Joseph Myers <joseph@codesourcery.com>
47495 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
47496 set if not set by the user. Do not allow for being unset.
47497 * sysdeps/unix/sysv/linux/configure: Regenerated.
47499 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
47501 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
47502 the `q' suffix from lea and replace .quad with ASM_ADDR.
47504 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
47506 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
47507 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
47509 (PTR_DEMANGLE): Likewise.
47511 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
47513 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
47515 (ASM_ADDR): Likewise.
47516 (RAX_LP): Likewise.
47517 (RBP_LP): Likewise.
47518 (RBX_LP): Likewise.
47519 (RCX_LP): Likewise.
47520 (RDI_LP): Likewise.
47521 (RSI_LP): Likewise.
47522 (RSP_LP): Likewise.
47525 (R10_LP): Likewise.
47526 (R10_LP): Likewise.
47527 (R11_LP): Likewise.
47528 (R12_LP): Likewise.
47529 (R13_LP): Likewise.
47530 (R14_LP): Likewise.
47531 (R15_LP): Likewise.
47533 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
47535 * sysdeps/x86_64/x32/dl-machine.h: New file.
47537 2012-05-14 Andreas Jaeger <aj@suse.de>
47539 * manual/Makefile (subdir): Remove export of subdir.
47540 (all): Remove target.
47541 (.PHONY): Remove all from list.
47542 (mkinstalldirs): Remove.
47543 (.PHONY): Remove installdirs from list.
47544 ($(inst_infodir)/libc.info): Use make-target-directory.
47545 (installdirs): Remove.
47546 (subdir_%): Remove.
47547 (glibc-targets): Remove.
47550 ($(objpfx)stubs ../po/manual.pot): Remove.
47551 ($(objpfx)stamp%): Remove.
47552 (make-target-directory): Remove.
47553 (subdir_install): Remove.
47554 (routines): Remove.
47561 * manual/.gitignore: Remove, it's not needed anymore.
47562 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
47564 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
47566 (texis): Renamed to $(objpfx)texis.
47567 (texis-path): New, contains path to generated files.
47568 (chapters.%): Use texis-path for complete path, add extra argument
47570 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
47571 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
47572 (summary,texi, stamp-summary): Use complete path of
47573 files. Generate files in build dir.
47574 (dir-add.texi): Build in build dir.
47575 (libm-err.texi,stamp-libm-err): Likewise.
47576 (version.texi, stamp-version): Likewise.
47577 (.%c.texi): Likewise.
47578 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
47579 (mostlyclean): Remove target.
47580 (realclean): Remove target.
47581 (generated): Add new variable with contents from mostlyclean and
47582 realclean, remove entries duplicated in common-mostlyclean, add
47583 stamp-libm-err and stamp-version.
47584 (generated-dirs): Add libc directory.
47585 ($(inst_infodir)/libc.info): Install files from build dir.
47587 * manual/install.texi (Configuring and compiling): Adjust since
47588 the info files are not part of the tar ball anymore.
47590 2012-05-14 Andreas Jaeger <aj@suse.de>
47592 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
47595 2012-05-14 Joseph Myers <joseph@codesourcery.com>
47598 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
47599 to 2.2.0 where earlier.
47600 * sysdeps/unix/sysv/linux/configure: Regenerated.
47601 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
47602 Remove conditional code.
47603 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
47604 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
47605 Remove conditional code.
47606 [!__NR_lchown]: Likewise.
47607 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
47608 [__NR_lchown]: Likewise.
47609 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
47610 comment referencing __ASSUME_LCHOWN_SYSCALL.
47611 * sysdeps/unix/sysv/linux/i386/sigaction.c
47612 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
47613 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
47614 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
47615 Remove conditional code.
47616 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
47617 (__protocol_available): Remove #if 0 code.
47618 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
47620 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
47621 * sysdeps/unix/sysv/linux/kernel-features.h
47622 (__ASSUME_GETCWD_SYSCALL): Don't define.
47623 (__ASSUME_REALTIME_SIGNALS): Likewise.
47624 (__ASSUME_PREAD_SYSCALL): Likewise.
47625 (__ASSUME_PWRITE_SYSCALL): Likewise.
47626 (__ASSUME_POLL_SYSCALL): Likewise.
47627 (__ASSUME_LCHOWN_SYSCALL): Likewise.
47628 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
47630 (__ASSUME_SIOCGIFNAME): Don't define.
47631 (__ASSUME_MSG_NOSIGNAL): Likewise.
47632 (__ASSUME_SENDFILE): Define unconditionally.
47633 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
47634 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
47636 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
47637 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
47638 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
47639 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
47640 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
47641 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
47642 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
47643 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
47644 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
47645 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
47646 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
47647 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
47648 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
47649 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
47650 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
47651 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
47652 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
47653 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
47654 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
47655 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
47656 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
47657 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
47658 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
47659 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
47660 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
47661 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
47662 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
47663 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
47664 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
47665 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
47666 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
47667 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
47668 Remove conditional code.
47669 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
47670 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
47671 Remove conditional code.
47672 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
47673 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
47674 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
47675 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
47676 Remove conditional code.
47677 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
47678 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
47679 Remove conditional code.
47680 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
47681 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
47682 Remove conditional code.
47683 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
47684 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
47685 Remove conditional code.
47686 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
47687 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
47688 Remove conditional code.
47689 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
47690 * sysdeps/unix/sysv/linux/sh/pwrite64.c
47691 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
47692 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
47693 * sysdeps/unix/sysv/linux/sigaction.c
47694 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
47695 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
47696 * sysdeps/unix/sysv/linux/sigpending.c
47697 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
47698 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
47699 * sysdeps/unix/sysv/linux/sigprocmask.c
47700 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
47701 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
47702 * sysdeps/unix/sysv/linux/sigsuspend.c
47703 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
47704 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
47705 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
47706 (__libc_missing_rt_sigs): Remove.
47707 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
47708 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
47709 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
47710 Remove conditional code.
47711 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
47712 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
47714 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
47715 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
47716 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
47717 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
47719 2012-05-14 Andreas Jaeger <aj@suse.de>
47721 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
47722 it's not used in glibc.
47723 (__coshm1): Likewise.
47724 (__acosh1p): Likewise.
47727 * manual/string.texi (Copying and Concatenation): Add missing
47728 variable in concat example.
47729 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
47731 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
47734 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
47735 __builtin_clzl with __builtin_clzll.
47737 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
47740 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
47743 2012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
47745 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
47746 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
47747 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
47748 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
47750 2012-05-14 Mike Frysinger <vapier@gentoo.org>
47752 * NEWS: Update ia64 info.
47754 2012-05-12 Andreas Schwab <schwab@linux-m68k.org>
47756 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
47759 2012-05-12 Thomas Schwinge <thomas@codesourcery.com>
47761 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
47762 * sysdeps/unix/syscalls.list (dup3): Likewise.
47763 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
47764 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
47766 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
47768 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
47769 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
47771 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
47773 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
47775 (TLS_IE): Use mov/add instead of movq/addq to load thread
47777 (TLS_GD_PREFIX): New.
47780 2012-05-11 David S. Miller <davem@davemloft.net>
47782 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
47783 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
47784 (_FPU_SETCW): Likewise.
47786 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
47788 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
47789 is 32-byte aligned.
47791 2012-05-11 Andreas Schwab <schwab@linux-m68k.org>
47794 * iconvdata/gb18030.c: Update tables.
47795 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
47796 characters specially.
47797 (BODY for TO_LOOP): Add encoding of missing ranges.
47799 2012-05-11 Thomas Schwinge <thomas@codesourcery.com>
47802 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
47803 * sysdeps/mach/hurd/dup3.c: Likewise.
47804 * sysdeps/mach/hurd/readlinkat.c: Likewise.
47805 * sysdeps/powerpc/memmove.c:: Likewise.
47807 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
47809 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
47810 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
47812 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
47814 * elf/elf.h (R_X86_64_RELATIVE64): New.
47815 (R_X86_64_NUM): Updated.
47816 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
47817 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
47818 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
47819 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
47820 tst-quad1pie tst-quad2pie
47821 (modules-names): Add tst-quadmod1 tst-quadmod2.
47822 ($(objpfx)tst-quad1): New dependency.
47823 ($(objpfx)tst-quad2): Likewise.
47824 ($(objpfx)tst-quad1pie): Likewise.
47825 ($(objpfx)tst-quad2pie): Likewise.
47826 * sysdeps/x86_64/tst-quad1.c: New file.
47827 * sysdeps/x86_64/tst-quad1pie.c: New file.
47828 * sysdeps/x86_64/tst-quad2.c: Likewise.
47829 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
47830 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
47831 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
47832 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
47833 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
47835 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
47837 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
47838 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
47839 * streams/stropts.h (t_scalar_t): Define type.
47841 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
47842 (_PATH_PRESERVE): Set to "/var/lib".
47843 (_PATH_RWHODIR): Set to "/var/spool/rwho".
47845 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
47848 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
47849 if __dir_mkfile succeeded.
47851 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
47852 checking for _hurd_dtablesize. Unlock it right after having
47853 finished _hurd_dtable allocation.
47855 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
47857 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
47858 * sysdeps/mach/hurd/configure: Regenerated.
47859 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
47860 special-casing to...
47861 * sysdeps/gnu/configure.in: ... this new file.
47862 * sysdeps/unix/sysv/linux/configure: Regenerated.
47863 * sysdeps/gnu/configure: New generated file.
47865 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
47866 for Linux: use nsec instead of usec, as well as:
47867 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
47868 members of type struct timespec.
47869 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
47871 (struct stat64): Likewise.
47872 (_STATBUF_ST_NSEC): New macro.
47873 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
47875 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
47876 __strtoul_internal rather than strtoul.
47878 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
47880 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
47883 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
47885 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
47886 which preserves existing values.
47887 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
47889 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
47891 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
47892 TIMEOUT values. Return EINVAL for NFDS values either negative or
47893 greater than FD_SETSIZE.
47895 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
47897 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
47898 allocated, call __vm_protect to finish enabling the existing space, and
47899 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
47900 allocate the remainder.
47902 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
47904 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
47905 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
47907 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
47909 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
47910 sysdeps/mach/hurd/readlink.c.
47912 * posix/tst-sysconf.c (posix_options): Only use
47913 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
47914 _POSIX_SYNCHRONIZED_IO when they are defined
47915 * sysdeps/mach/hurd/bits/posix_opt.h:
47916 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
47917 (_XOPEN_REALTIME): Undefine macro.
47918 (_XOPEN_REALTIME_THREADS): Undefine macro.
47919 (_XOPEN_SHM): Undefine macro.
47920 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
47922 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
47924 (_POSIX_ASYNC_IO): Undefine macro.
47925 (_POSIX_PRIORITIZED_IO): Undefine macro.
47926 (_POSIX_SPIN_LOCKS): Define macro to -1.
47928 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
47929 SA_NODEFER, SA_RESETHAND.
47930 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
47931 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
47934 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
47936 * elf/Makefile (pldd-modules): Define unconditionally.
47938 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
47940 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
47942 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
47944 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
47945 Return ENOENT when name is empty.
47946 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
47948 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
47950 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
47952 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
47954 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
47956 Fix mlock in all cases except non-readable pages.
47957 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
47958 instead of VM_PROT_ALL as parameter to __vm_wire function.
47960 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
47961 (__mkdir): When path is `/', just fail with EEXIST.
47962 * sysdeps/mach/hurd/mkdirat.c: Likewise.
47964 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
47966 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
47967 <sys/uio.h> (for writev).
47968 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
47969 and <sys/param.h> (for MIN).
47971 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
47973 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
47974 REQUESTED_TIME. Properly set the remaining time and return EINTR
47977 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
47979 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
47980 Depend on against $(link-rpcuserlibs).
47982 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
47984 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
47985 (__libc_stack_end): Do not use attribute_relro.
47986 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
47987 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
47988 to libthread-provided value.
47989 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
47992 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
47995 * bits/libc-lock.h (__libc_once_get): New macro.
47996 * sysdeps/mach/bits/libc-lock.h: Likewise.
47997 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
47998 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
47999 instead of using implementation details.
48001 * libio/fileops.c: Unconditionally include <kernel-features.h>.
48002 * libio/freopen.c: Likewise.
48003 * libio/freopen64.c: Likewise.
48004 * misc/syslog.c: Likewise.
48005 * nscd/connections.c: Likewise.
48006 * nscd/netgroupcache.c: Likewise.
48007 * sysdeps/posix/getcwd.c: Likewise.
48009 2012-05-10 Roland McGrath <roland@hack.frob.com>
48011 * math/w_ilogbf.c: Add #include <limits.h>.
48013 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
48015 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
48016 path instead of returning without unlocking.
48018 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
48019 immediate-write ioctls.
48020 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
48022 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
48024 * sysdeps/mach/hurd/i386/init-first.c (init): Use
48025 __builtin_frame_address instead of making assumptions about the
48026 location of the return address relative to DATA. Force early load of
48027 the return address.
48028 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
48029 __builtin_frame_address.
48032 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
48033 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
48034 implement dup3 and do some further code clean-ups.
48035 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
48036 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
48038 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
48040 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
48042 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
48043 HURD_CRITICAL_END around holding _hurd_dtable_lock.
48044 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
48045 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
48046 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
48049 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
48050 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
48051 when handler == SIG_ERR, not when handler != SIG_ERR.
48053 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
48055 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
48056 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
48059 accept4 for GNU Hurd.
48060 * include/sys/socket.h (__libc_accept4): New prototype.
48061 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
48062 to implement __libc_accept4.
48063 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
48065 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
48067 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
48068 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
48069 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
48070 signal-defines.sym.
48072 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
48074 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
48076 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
48078 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
48079 assertion on O_CLOEXEC flag.
48080 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
48081 * hurd/intern-fd.c: Likewise.
48082 * hurd/port2fd.c: Likewise.
48084 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
48087 * bits/in.h (IPV6_PKTINFO): Define new macro.
48088 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
48090 2012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
48095 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
48096 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
48097 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
48098 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
48099 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
48100 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
48101 * math/libm-test.inc (logb_test) : Additional logb tests.
48103 2012-05-09 Andreas Schwab <schwab@linux-m68k.org>
48104 Andreas Jaeger <aj@suse.de>
48106 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
48107 * configure: Regenerated.
48108 * config.h.in (LINK_OBSOLETE_RPC): New macro.
48109 * config.make.in (link-obsolete-rpc): New substituted variable.
48110 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
48111 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
48112 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
48113 (shared-only-routines): Don't set it under [link-obsolete-rpc],
48114 so that libc.a contains the symbols.
48115 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
48116 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
48117 * sunrpc/auth_none.c: Likewise.
48118 * sunrpc/auth_unix.c: Likewise.
48119 * sunrpc/authdes_prot.c: Likewise.
48120 * sunrpc/authuxprot.c: Likewise.
48121 * sunrpc/clnt_gen.c: Likewise.
48122 * sunrpc/clnt_perr.c: Likewise.
48123 * sunrpc/clnt_raw.c: Likewise.
48124 * sunrpc/clnt_simp.c: Likewise.
48125 * sunrpc/clnt_tcp.c: Likewise.
48126 * sunrpc/clnt_udp.c: Likewise.
48127 * sunrpc/clnt_unix.c: Likewise.
48128 * sunrpc/des_crypt.c: Likewise.
48129 * sunrpc/des_soft.c: Likewise.
48130 * sunrpc/get_myaddr.c: Likewise.
48131 * sunrpc/key_call.c: Likewise.
48132 * sunrpc/key_prot.c: Likewise.
48133 * sunrpc/netname.c: Likewise.
48134 * sunrpc/pm_getmaps.c: Likewise.
48135 * sunrpc/pm_getport.c: Likewise.
48136 * sunrpc/pmap_clnt.c: Likewise.
48137 * sunrpc/pmap_prot.c: Likewise.
48138 * sunrpc/pmap_prot2.c: Likewise.
48139 * sunrpc/pmap_rmt.c: Likewise.
48140 * sunrpc/publickey.c: Likewise.
48141 * sunrpc/rpc_cmsg.c: Likewise.
48142 * sunrpc/rpc_common.c: Likewise.
48143 * sunrpc/rpc_dtable.c: Likewise.
48144 * sunrpc/rpc_prot.c: Likewise.
48145 * sunrpc/rpc_thread.c: Likewise.
48146 * sunrpc/rtime.c: Likewise.
48147 * sunrpc/svc.c: Likewise.
48148 * sunrpc/svc_auth.c: Likewise.
48149 * sunrpc/svc_raw.c: Likewise.
48150 * sunrpc/svc_run.c: Likewise.
48151 * sunrpc/svc_tcp.c: Likewise.
48152 * sunrpc/svc_udp.c: Likewise.
48153 * sunrpc/svc_unix.c: Likewise.
48154 * sunrpc/svcauth_des.c: Likewise.
48155 * sunrpc/xcrypt.c: Likewise.
48156 * sunrpc/xdr.c: Likewise.
48157 * sunrpc/xdr_array.c: Likewise.
48158 * sunrpc/xdr_float.c: Likewise.
48159 * sunrpc/xdr_intXX_t.c: Likewise.
48160 * sunrpc/xdr_mem.c: Likewise.
48161 * sunrpc/xdr_rec.c: Likewise.
48162 * sunrpc/xdr_ref.c: Likewise.
48163 * sunrpc/xdr_sizeof.c: Likewise.
48164 * sunrpc/xdr_stdio.c: Likewise.
48166 2012-05-10 Roland McGrath <roland@hack.frob.com>
48168 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
48169 change. Update copyright years.
48171 2012-05-10 Joseph Myers <joseph@codesourcery.com>
48173 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
48175 2012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
48176 Joseph Myers <joseph@codesourcery.com>
48177 Paul Pluzhnikov <ppluzhnikov@google.com>
48180 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
48182 [cross-compiling] (extra-libs): Likewise.
48183 [cross-compiling] (extra-libs-others): Likewise.
48184 [cross-compiling] (librpcsvc-routines): Likewise.
48185 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
48186 [cross-compiling] (omit-deps): Likewise.
48187 (sunrpc-CPPFLAGS): New variable.
48188 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
48189 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
48190 (cross-rpcgen-objs): New variable.
48191 (extra-objs): Append $(cross-rpcgen-objs).
48192 ($(cross-rpcgen-objs)): New rule.
48193 ($(objpfx)cross-rpcgen): Likewise.
48194 (rpcgen-cmd): Define to use $(built-program-file). Expand
48196 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
48197 ($(objpfx)x%.stmp): Likewise.
48198 * sunrpc/proto.h [IS_IN_build] (_): Define.
48199 [IS_IN_build] (_libc_intl_domainname): Likewise.
48201 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
48203 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
48204 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
48205 and R_X86_64_TPOFF64.
48207 2012-05-10 Joseph Myers <joseph@codesourcery.com>
48209 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
48210 sysdeps/unix/sysv/syscalls.list.
48213 * sysdeps/unix/sysv/syscalls.list: Remove file.
48215 2012-05-10 Paul Eggert <eggert@cs.ucla.edu>
48218 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
48219 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
48220 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
48221 (__LC_IDENTIFICATION): Make these macros useful in #if
48222 expressions, as required by C99.
48224 2012-05-10 Andreas Schwab <schwab@linux-m68k.org>
48226 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
48227 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
48230 2012-05-09 H.J. Lu <hongjiu.lu@intel.com>
48232 * stdlib/longlong.h: Updated from GCC.
48234 2012-05-09 Andreas Jaeger <aj@suse.de>
48236 * nscd/nscd.c (run_modes): Make named enum, reorder so that
48237 default is first entry.
48238 (run_mode): Set type.
48239 (main): Remove informal message about syslog.
48240 (options): Fix typo.
48243 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
48246 (llrintf): Likewise.
48247 (llrint): Likewise.
48250 (nearbyint): Likewise.
48251 (nearbyintf): Likewise.
48253 2012-05-09 Andreas Jaeger <aj@suse.de>
48254 Pedro Alves <palves@redhat.com>
48256 * nscd/nscd.c (run_mode): Use enum.
48257 (main): Cleanup coding style issue.
48259 2012-05-09 Alexandre Oliva <aoliva@redhat.com>
48260 Andreas Jaeger <aj@suse.de>
48262 * nscd/nscd.c (go_background): Replaced with...
48263 (run_mode): ... this.
48264 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
48265 (options): Add -F --foreground.
48266 (main): Implement it.
48267 (parse_opt): Parse it.
48269 2012-05-09 Andreas Jaeger <aj@suse.de>
48272 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
48273 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
48274 -Wconversion warning.
48275 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
48278 2012-05-09 Joseph Myers <joseph@codesourcery.com>
48280 * conform/data/locale.h-data (NULL): Use macro-constant. Require
48282 (LC_ALL): Use macro-int-constant.
48283 (LC_COLLATE): Likewise.
48284 (LC_CTYPE): Likewise.
48285 (LC_MESSAGES): Likewise.
48286 (LC_MONETARY): Likewise.
48287 (LC_NUMERIC): Likewise.
48288 (LC_TIME): Likewise.
48289 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
48290 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
48291 [ISO || ISO99 || ISO11] (*_t): Do not allow.
48292 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
48294 [C99-based standards] (float_t): Expect type.
48295 [C99-based standards] (double_t): Expect type.
48296 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
48298 [C99-based standards] (HUGE_VALL): Likewise.
48299 [C99-based standards] (INFINITY): Likewise.
48300 [C99-based standards] (NAN): Likewise.
48301 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
48302 [C99-based standards] (FP_NAN): Likewise.
48303 [C99-based standards] (FP_NORMAL): Likewise.
48304 [C99-based standards] (FP_SUBNORMAL): Likewise.
48305 [C99-based standards] (FP_ZERO): Likewise.
48306 [C99-based standards] (FP_FAST_FMA): Use
48307 optional-macro-int-constant. Specify type. Require == 1.
48308 [C99-based standards] (FP_FAST_FMAF): Likewise.
48309 [C99-based standards] (FP_FAST_FMAL): Likewise.
48310 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
48311 [C99-based standards] (FP_ILOGBNAN): Likewise.
48312 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
48314 [C99-based standards] (MATH_ERREXCEPT): Likewise.
48315 [C99-based standards] (math_errhandling): Specify type.
48316 [ISO99 || ISO11] (signgam): Do not allow.
48317 [non-C99-based standards] (copysignf): Do not allow.
48318 [non-C99-based standards] (exp2f): Likewise.
48319 [non-C99-based standards] (log2f): Likewise.
48320 [non-C99-based standards] (modff): Allow.
48321 [non-C99-based standards] (erff): Do not allow.
48322 [non-C99-based standards] (erfcf): Likewise.
48323 [non-C99-based standards] (gammaf): Likewise.
48324 [non-C99-based standards] (hypotf): Likewise.
48325 [non-C99-based standards] (j0f): Likewise.
48326 [non-C99-based standards] (j1f): Likewise.
48327 [non-C99-based standards] (jnf): Likewise.
48328 [non-C99-based standards] (lgammaf): Likewise.
48329 [non-C99-based standards] (tgammaf): Likewise.
48330 [non-C99-based standards] (y0f): Likewise.
48331 [non-C99-based standards] (y1f): Likewise.
48332 [non-C99-based standards] (ynf): Likewise.
48333 [non-C99-based standards] (isnanf): Likewise.
48334 [non-C99-based standards] (acoshf): Likewise.
48335 [non-C99-based standards] (asinhf): Likewise.
48336 [non-C99-based standards] (atanhf): Likewise.
48337 [non-C99-based standards] (cbrtf): Likewise.
48338 [non-C99-based standards] (expm1f): Likewise.
48339 [non-C99-based standards] (ilogbf): Likewise.
48340 [non-C99-based standards] (log1pf): Likewise.
48341 [non-C99-based standards] (logbf): Likewise.
48342 [non-C99-based standards] (nextafterf): Likewise.
48343 [non-C99-based standards] (remainderf): Likewise.
48344 [non-C99-based standards] (rintf): Likewise.
48345 [non-C99-based standards] (scalbf): Likewise.
48346 [non-C99-based standards] (copysignl): Likewise.
48347 [non-C99-based standards] (exp2l): Likewise.
48348 [non-C99-based standards] (log2l): Likewise.
48349 [non-C99-based standards] (modfl): Allow.
48350 [non-C99-based standards] (erfl): Do not allow.
48351 [non-C99-based standards] (erfcl): Likewise.
48352 [non-C99-based standards] (gammal): Likewise.
48353 [non-C99-based standards] (hypotl): Likewise.
48354 [non-C99-based standards] (j0l): Likewise.
48355 [non-C99-based standards] (j1l): Likewise.
48356 [non-C99-based standards] (jnl): Likewise.
48357 [non-C99-based standards] (lgammal): Likewise.
48358 [non-C99-based standards] (tgammal): Likewise.
48359 [non-C99-based standards] (y0l): Likewise.
48360 [non-C99-based standards] (y1l): Likewise.
48361 [non-C99-based standards] (ynl): Likewise.
48362 [non-C99-based standards] (isnanl): Likewise.
48363 [non-C99-based standards] (acoshl): Likewise.
48364 [non-C99-based standards] (asinhl): Likewise.
48365 [non-C99-based standards] (atanhl): Likewise.
48366 [non-C99-based standards] (cbrtl): Likewise.
48367 [non-C99-based standards] (expm1l): Likewise.
48368 [non-C99-based standards] (ilogbl): Likewise.
48369 [non-C99-based standards] (log1pl): Likewise.
48370 [non-C99-based standards] (logbl): Likewise.
48371 [non-C99-based standards] (nextafterl): Likewise.
48372 [non-C99-based standards] (remainderl): Likewise.
48373 [non-C99-based standards] (rintl): Likewise.
48374 [non-C99-based standards] (scalbl): Likewise.
48375 [ISO || ISO99 || ISO11] (*_t): Do not allow.
48376 [non-C99-based standards] (FP_*): Do not allow.
48377 [C99-based standards] (FP_*): Change to
48378 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
48379 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
48381 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
48382 (SIG_ERR): Likewise.
48383 [X/Open-based standards] (SIG_HOLD): Likewise.
48384 (SIG_IGN): Likewise.
48385 (SIGABRT): Use macro-int-constant. Specify type. Require
48387 (SIGFPE): Likewise.
48388 (SIGILL): Likewise.
48389 (SIGINT): Likewise.
48390 (SIGSEGV): Likewise.
48391 (SIGTER): Likewise.
48392 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
48393 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
48394 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
48395 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
48396 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
48397 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
48398 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
48399 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
48400 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
48401 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
48402 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
48403 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
48404 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
48405 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
48406 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
48407 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
48408 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
48409 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
48410 [X/Open-based standards] (SIGTRAP): Likewise.
48411 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
48412 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
48413 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
48414 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
48415 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
48418 2012-05-08 Ian Wienand <ianw@vmware.com>
48421 * time/tzset.c (__tzset_parse_tz): Update default rules for
48422 daylight time changes in the Energy Policy Act of 2005.
48424 2012-05-09 Andreas Jaeger <aj@suse.de>
48427 * elf/ldconfig.c (parse_conf): Change string to make clear that
48428 ldconfig only issued a warning if ld.so.conf does not exist.
48430 2012-05-08 David S. Miller <davem@davemloft.net>
48432 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
48433 movxtod instead of popping the value on the stack.
48435 * sysdeps/sparc/fpu/libm-test-ulps: Update.
48437 2012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
48439 * config.h.in: Add HAVE_ARM_PCS_VFP.
48441 2012-05-08 Roland Mc Grath <roland@hack.frob.com>
48444 * include/features.h: Warn if user requests __FORTIFY_SOURCE
48445 checking but the checks are disabled for any reason.
48447 2012-05-08 H.J. Lu <hongjiu.lu@intel.com>
48449 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
48450 and ELF64_R_TYPE with ELFW(R_TYPE).
48452 2012-05-08 Joseph Myers <joseph@codesourcery.com>
48454 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
48455 (ulimit): Likewise.
48457 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
48458 (settimeofday): Likewise.
48460 2012-05-08 Mike Frysinger <vapier@gentoo.org>
48462 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
48463 a struct th_u2 inside the union, and move tu_block/tu_code into
48464 a new th_u3 union of tu_block/tu_code inside of that. Move
48465 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
48466 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
48467 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
48468 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
48469 (th_stuff): Change to th_u1.tu_stuff.
48471 (th_msg): Change to th_u1.th_u2.tu_data.
48473 2012-05-07 David S. Miller <davem@davemloft.net>
48475 * sysdeps/sparc/fpu/libm-test-ulps: Update.
48478 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
48479 (SETUP_PIC_REG): Use it.
48480 (SETUP_PIC_REG_LEAF): Use it.
48482 2012-05-07 Joseph Myers <joseph@codesourcery.com>
48486 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
48488 (EXPL_FINITE): Likewise.
48489 (FLDLOG): Likewise.
48490 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
48491 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
48493 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
48495 (EXPL_FINITE): Likewise.
48496 (FLDLOG): Likewise.
48497 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
48498 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
48500 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
48501 test of -max_value argument for long double.
48502 * sysdeps/i386/fpu/libm-test-ulps: Update.
48503 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48505 2012-05-06 David S. Miller <davem@davemloft.net>
48507 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
48508 quad soft-float symbols whose references which are compiler
48510 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
48512 2012-05-06 Joseph Myers <joseph@codesourcery.com>
48516 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
48518 (EXPL_FINITE): Likewise.
48519 (FLDLOG): Likewise.
48522 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
48523 Adjust comments for base varying.
48524 (__expl_finite): Change alias to EXPL_FINITE.
48525 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
48527 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
48528 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
48529 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
48530 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
48531 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
48533 (EXPL_FINITE): Likewise.
48534 (FLDLOG): Likewise.
48537 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
48538 Adjust comments for base varying.
48539 (__expl_finite): Change alias to EXPL_FINITE.
48540 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
48542 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
48545 * math/libm-test.inc (check_float_internal): Correct ulp
48546 calculation for subnormal expected results.
48548 2012-05-06 Andreas Jaeger <aj@suse.de>
48550 * Makeconfig (+math-flags): New, set to -frounding-math.
48551 (+cflags): Add +math-flags so that all of glibc gets compiled with
48554 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
48556 2012-05-05 Joseph Myers <joseph@codesourcery.com>
48558 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
48564 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
48565 (__ieee754_expl): Allow for and saturate large arguments.
48566 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
48567 (u_threshold): Likewise.
48568 (__exp): Call __ieee754_exp before checking for overflow and
48570 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
48571 (u_threshold): Likewise.
48572 (__expf): Call __ieee754_expf before checking for overflow and
48574 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
48575 (u_threshold): Likewise.
48576 (__expl): Call __ieee754_expl before checking for overflow and
48578 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
48579 (__ieee754_expl): Allow for and saturate large arguments.
48580 * math/libm-test.inc (exp_test): Add another test. Do not allow
48581 missing overflow exception on overflow.
48582 (expm1_test): Do not allow missing overflow exception on overflow.
48584 * sysdeps/i386/fpu/e_expl.c: Move to ...
48585 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
48586 rather than using inline asm.
48587 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
48588 * sysdeps/x86_64/fpu/e_expl.S: Copy from
48589 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
48591 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
48594 (signal): Likewise.
48598 2012-05-04 Joseph Myers <joseph@codesourcery.com>
48600 * sysdeps/unix/syscalls.list (adjtime): Add entry from
48601 sysdeps/unix/common/syscalls.list.
48602 (fchmod): Likewise.
48603 (fchown): Likewise.
48604 (ftruncate): Likewise.
48605 (getrusage): Likewise.
48606 (gettimeofday): Likewise.
48607 (setpgid): Likewise.
48608 (setregid): Likewise.
48609 (setreuid): Likewise.
48610 (sigaction): Likewise.
48611 (truncate): Likewise.
48612 (vhangup): Likewise.
48613 * sysdeps/unix/common/syscalls.list: Remove file.
48614 * sysdeps/unix/bsd/Implies: Don't include unix/common.
48615 * sysdeps/unix/sysv/linux/Implies: Likewise.
48617 2012-05-04 H.J. Lu <hongjiu.lu@intel.com>
48619 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
48620 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
48621 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
48623 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
48625 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
48627 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
48628 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
48630 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
48631 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
48633 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
48634 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
48636 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
48637 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
48639 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
48640 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
48642 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
48643 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
48645 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
48647 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
48649 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
48651 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
48653 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
48654 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
48656 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
48658 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
48660 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
48662 2012-05-04 Joseph Myers <joseph@codesourcery.com>
48664 * sysdeps/unix/common/bits/dirent.h: Remove file.
48665 * sysdeps/unix/common/bits/fcntl.h: Likewise.
48667 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
48668 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
48669 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
48670 * sysdeps/unix/bsd/isatty.c: Likewise.
48671 * sysdeps/unix/bsd/tcdrain.c: Likewise.
48672 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
48673 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
48675 2012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
48678 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
48679 long double comparison inaccuracies.
48680 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
48681 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
48683 2012-05-04 Andreas Schwab <schwab@linux-m68k.org>
48685 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
48686 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
48688 2012-05-04 Joseph Myers <joseph@codesourcery.com>
48691 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
48692 nonzero digits before rounding a hex value.
48693 * stdlib/tst-strtod.c (tests): Add another test.
48695 2012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
48697 * sysdeps/s390/fpu/libm-test-ulps: Update.
48699 2012-05-03 Andreas Jaeger <aj@suse.de>
48701 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
48702 does not get optimized out.
48703 (malloc_opt_barrier): New.
48705 2012-05-03 Andreas Jaeger <aj@suse.de>
48706 Roland McGrath <roland@hack.frob.com>
48708 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
48709 intermediate file deletion.
48710 (generated): Add .symlist files.
48712 2012-05-03 Joseph Myers <joseph@codesourcery.com>
48715 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
48716 Redirect under this condition.
48717 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
48718 [__USE_GNU] (__dprintf_chk): Not under this condition.
48719 [__USE_GNU] (__vdprintf_chk): Likewise.
48720 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
48721 under this condition.
48722 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
48723 [__USE_XOPEN2K8] (dprintf): Define under this condition.
48724 [__USE_XOPEN2K8] (vdprintf): Likewise.
48725 [__USE_GNU] (__dprintf_chk): Not under this condition.
48726 [__USE_GNU] (__vdprintf_chk): Likewise.
48727 [__USE_GNU] (dprintf): Likewise.
48728 [__USE_GNU] (vdprintf): Likewise.
48730 2012-05-03 Roland McGrath <roland@hack.frob.com>
48732 * elf/Makefile (common-generated): Set this instead of generated for
48733 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
48734 $(all-built-dso)-derived lists.
48736 2012-05-03 Andreas Jaeger <aj@suse.de>
48738 * sysdeps/i386/fpu/libm-test-ulps: Update.
48741 * FAQ.in: Likewise.
48742 * scripts/gen-FAQ.pl: Likewise.
48743 * manual/install.texi (Installation): Point to online location of
48745 * Makefile (files-for-dist): Remove FAQ.
48748 2012-05-02 Allan McRae <allan@archlinux.org>
48750 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
48751 (LDFLAGS-reldepmod5.so): Likewise.
48752 (LDFLAGS-reldep6mod1.so): Likewise.
48753 (LDFLAGS-reldep6mod4.so): Likewise.
48754 (LDFLAGS-reldep8mod3.so): Likewise.
48755 (LDFLAGS-unload4mod1.so): Likewise.
48756 (LDFLAGS-unload4mod2.so): Likewise.
48757 (LDFLAGS-tst-initorder): Likewise.
48758 (LDFLAGS-tst-initordera2.so): Likewise.
48759 (LDFLAGS-tst-initordera3.so): Likewise.
48760 (LDFLAGS-tst-initordera4.so): Likewise.
48761 (LDFLAGS-tst-initorderb2.so): Likewise.
48762 (LDFLAGS-noload): Likewise.
48763 (LDFLAGS-next): Likewise.
48764 (LDFLAGS-order2mod1.so): Likewise.
48765 (LDFLAGS-order2mod2.so): Likewise.
48766 (LDFLAGS-tst-initorder2): Likewise.
48767 (LDFLAGS-tst-initorder2a.so): Likewise.
48768 (LDFLAGS-tst-initorder2b.so): Likewise.
48769 (LDFLAGS-tst-initorder2c.so): Likewise.
48770 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
48772 2012-05-02 David S. Miller <davem@davemloft.net>
48774 * sysdeps/sparc/fpu/libm-test-ulps: Update.
48776 2012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
48779 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
48781 2012-05-02 Andreas Jaeger <aj@suse.de>
48783 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
48784 since we manipulate rounding mode.
48785 (CPPFLAGS-test-idouble.c): Likewise.
48786 (CPPFLAGS-test-ifloat.c): Likewise.
48787 (CFLAGS-test-ldouble.c): Likewise.
48788 (CFLAGS-test-double.c): Likewise.
48789 (CFLAGS-test-float.c): Likewise.
48790 (CFLAGS-test-misc.c): Likewise.
48791 (CFLAGS-test-test-fenv.c): Likewise.
48793 2012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
48797 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
48798 comparisons to determine direction to adjust input.
48800 2012-05-01 Roland McGrath <roland@hack.frob.com>
48802 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
48803 output to the target.
48805 * scripts/localplt.awk: New file.
48806 * elf/Makefile ($(objpfx)check-localplt): Target removed.
48807 (check-localplt-CFLAGS): Variable removed.
48808 ($(all-built-dso:=.jmprel)): New static pattern rule.
48809 (generated): Add those targets.
48810 (localplt-built-dso): New variable.
48811 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
48813 * elf/check-localplt.c: File removed.
48815 * scripts/check-execstack.awk: New file.
48816 * elf/Makefile ($(objpfx)check-execstack): Target removed.
48817 (check-execstack-CFLAGS): Variable removed.
48818 ($(objpfx)check-execstack.h): Target removed.
48819 ($(objpfx)execstack-default): New target.
48820 (generated): Add that instead of check-execstack.h.
48821 ($(all-built-dso:=.phdr)): New static pattern rule.
48822 (generated): Add those targets.
48823 * elf/check-execstack.c: File removed.
48825 * scripts/check-textrel.awk: New file.
48826 * elf/Makefile ($(objpfx)check-textrel): Target removed.
48827 (check-textrel-CFLAGS): Variable removed.
48828 (all-built-dso): Use := to define.o
48829 ($(all-built-dso:=.dyn)): New static pattern rule.
48830 (generated): Add those targets.
48831 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
48832 * config.make.in (READELF): New substituted variable.
48833 * elf/check-textrel.c: File removed.
48835 2012-05-01 Joseph Myers <joseph@codesourcery.com>
48837 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
48839 * conform/data/ctype.h-data [C99-based standards] (isblank):
48841 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
48842 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
48843 [ISO || ISO99 || ISO11] (*_t): Do not allow.
48844 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
48845 Specify type. Require positive value.
48846 (EILSEQ): Likewise.
48847 (ERANGE): Likewise.
48848 [ISO || POSIX] (EILSEQ): Do not expect.
48849 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
48850 Specify type. Require positive value.
48851 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
48852 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
48853 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
48854 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
48855 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
48856 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
48857 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
48858 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
48859 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
48860 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
48861 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
48862 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
48863 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
48864 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
48865 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
48866 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
48867 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
48868 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
48869 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
48870 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
48871 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
48872 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
48873 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
48874 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
48875 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
48876 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
48877 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
48878 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
48879 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
48880 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
48881 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
48882 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
48883 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
48884 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
48885 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
48886 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
48887 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
48888 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
48889 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
48890 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
48891 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
48892 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
48893 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
48894 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
48895 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
48896 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
48897 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
48898 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
48899 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
48900 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
48901 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
48902 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
48903 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
48904 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
48905 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
48906 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
48907 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
48908 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
48909 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
48910 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
48911 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
48912 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
48913 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
48914 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
48915 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
48916 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
48917 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
48918 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
48919 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
48920 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
48921 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
48922 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
48923 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
48924 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
48925 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
48926 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
48927 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
48929 (FLT_ROUNDS): Expect as macro, not constant.
48930 (FLT_MANT_DIG): Use macro-int-constant.
48931 (DBL_MANT_DIG): Likewise.
48932 (LDBL_MANT_DIG): Likewise.
48933 (FLT_DIG): Likewise.
48934 (DBL_DIG): Likewise.
48935 (LDBL_DIG): Likewise.
48936 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
48937 (DBL_MIN_EXP): Likewise.
48938 (LDBL_MIN_EXP): Likewise.
48939 (FLT_MAX_EXP): Use macro-int-constant.
48940 (DBL_MAX_EXP): Likewise.
48941 (LDBL_MAX_EXP): Likewise.
48942 (FLT_MAX_10_EXP): Likewise.
48943 (DBL_MAX_10_EXP): Likewise.
48944 (LDBL_MAX_10_EXP): Likewise.
48945 (FLT_MAX): Use macro-constant.
48946 (DBL_MAX): Likewise.
48947 (LDBL_MAX): Likewise.
48948 (FLT_EPSILON): Use macro-constant. Give upper bound.
48949 (DBL_EPSILON): Likewise.
48950 (LDBL_EPSILON): Likewise.
48951 (FLT_MIN): Likewise.
48952 (DBL_MIN): Likewise.
48953 (LDBL_MIN): Likewise.
48954 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
48955 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
48956 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
48957 [ISO11] (FLT_HAS_SUBNORM): Likewise.
48958 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
48959 [ISO11] (DBL_DECIMAL_DIG): Likewise.
48960 [ISO11] (FLT_DECIMAL_DIG): Likewise.
48961 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
48962 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
48963 [ISO11] (FLT_TRUE_MIN): Likewise.
48964 [ISO11] (LDBL_TRUE_MIN): Likewise.
48965 [ISO || ISO99 || ISO11] (*_t): Do not allow.
48966 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
48967 (SCHAR_MIN): Use macro-int-constant. Specify type.
48968 (SCHAR_MAX): Likewise.
48969 (UCHAR_MAX): Likewise.
48970 (CHAR_MIN): Likewise.
48971 (CHAR_MAX): Likewise.
48972 (MB_LEN_MAX): Use macro-int-constant.
48973 (SHRT_MIN): Use macro-int-constant. Specify type.
48974 (SHRT_MAX): Likewise.
48975 (USHRT_MAX): Likewise.
48976 (INT_MAX): Likewise.
48977 (INT_MIN): Use macro-int-constant. Specify type. Make upper
48979 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
48981 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
48983 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
48984 bound negative. Suffix upper bound with "L".
48985 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
48987 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
48989 [C99-based standards] (LLONG_MAX): Likewise.
48990 [C99-based standards] (ULLONG_MAX): Likewise.
48991 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
48993 [ISO11] (max_align_t): Require type.
48994 [ISO || ISO99 || ISO11] (*_t): Do not allow.
48996 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
48997 from $CFLAGS, without defining away __attribute__ calls.
48998 (checknamespace): Use $CFLAGS_namespace.
49000 * conform/conformtest.pl (@keywords): Only include C99 keywords
49001 for standards based on C99 or C11.
49003 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
49005 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
49008 * conform/conformtest.pl: Handle "macro-int-constant" and test for
49009 usability of symbols in #if.
49011 * conform/conformtest.pl: If macro or constant types start
49012 "promoted:", expect the symbol to be of the following type
49013 promoted by the integer promotions.
49015 * conform/conformtest.pl: Parse all "constant" and "macro" lines
49016 in one place. Also handle "macro-constant".
49018 * conform/conformtest.pl: Only accept expected macro values with
49019 "==". Parse all "macro" lines in one place.
49020 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
49022 * conform/conformtest.pl: Handle braced types on "constant" lines
49023 instead of handling "typed-constant".
49024 * conform/data/signal.h-data: Use "constant" instead of
49027 * conform/conformtest.pl: Handle "optional-" at start of lines in
49028 one place rather than duplicating several cases. Handle each
49029 format of "macro" line with initial "optional-".
49031 * conform/conformtest.pl: Only accept expected constant or
49032 optional-constant values with "==". Parse all "constant" lines in
49033 one place. Parse all "optional-constant" lines in one place.
49034 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
49035 * conform/data/fmtmsg.h-data: Likewise.
49036 * conform/data/netinet/in.h-data: Likewise.
49037 * conform/data/tar.h-data: Likewise.
49038 * conform/data/limits.h-data: Use "==" form on "constant" and
49039 "optional-constant" lines.
49041 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
49042 Use -std=c99 for XOPEN2K.
49043 (@knownproblems): Remove.
49044 (newtoken): Don't check %isknown.
49046 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
49047 Do not expect macro.
49048 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
49049 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
49050 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
49051 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
49052 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
49053 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
49054 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
49055 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
49056 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
49057 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
49058 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
49059 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
49060 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
49061 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
49062 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
49063 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
49064 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
49065 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
49066 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
49067 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
49068 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
49069 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
49070 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
49071 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
49072 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
49073 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
49074 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
49075 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
49076 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
49077 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
49078 [XPG3] (acosh): Likewise.
49079 [XPG3] (asinh): Likewise.
49080 [XPG3] (atanh): Likewise.
49081 [XPG3] (cbrt): Likewise.
49082 [XPG3] (expm1): Likewise.
49083 [XPG3] (ilogb): Likewise.
49084 [XPG3] (log1p): Likewise.
49085 [XPG3] (logb): Likewise.
49086 [XPG3] (nextafter): Likewise.
49087 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
49088 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
49089 [XPG3] (remainder): Likewise.
49090 [XPG3] (rint): Likewise.
49091 [XPG3 || XPG4 || UNIX98] (round): Likewise.
49092 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
49093 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
49094 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
49095 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
49096 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
49097 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
49098 [UNIX98 || XOPEN2K] (scalb): Expect.
49099 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
49100 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
49101 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
49102 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
49103 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
49104 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
49105 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
49106 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
49107 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
49108 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
49109 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
49110 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
49111 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
49112 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
49113 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
49114 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
49115 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
49116 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
49117 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
49118 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
49119 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
49120 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
49121 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
49122 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
49123 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
49124 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
49125 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
49126 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
49127 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
49128 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
49129 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
49130 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
49131 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
49132 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
49133 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
49134 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
49135 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
49136 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
49137 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
49138 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
49139 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
49140 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
49141 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
49142 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
49143 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
49144 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
49145 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
49146 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
49147 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
49148 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
49149 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
49150 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
49151 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
49152 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
49153 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
49154 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
49155 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
49156 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
49157 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
49158 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
49159 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
49160 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
49161 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
49162 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
49163 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
49164 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
49165 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
49166 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
49167 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
49168 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
49169 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
49170 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
49171 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
49172 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
49173 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
49174 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
49175 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
49176 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
49177 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
49178 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
49179 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
49180 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
49181 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
49182 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
49183 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
49184 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
49185 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
49186 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
49187 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
49188 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
49189 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
49190 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
49191 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
49192 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
49193 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
49194 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
49195 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
49196 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
49197 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
49198 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
49199 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
49200 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
49201 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
49202 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
49203 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
49204 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
49205 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
49206 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
49207 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
49208 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
49209 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
49210 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
49211 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
49212 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
49213 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
49214 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
49215 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
49216 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
49217 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
49218 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
49219 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
49220 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
49221 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
49222 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
49223 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
49224 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
49225 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
49226 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
49227 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
49228 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
49229 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
49230 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
49231 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
49232 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
49233 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
49234 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
49235 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
49237 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
49238 _XOPEN_SOURCE_EXTENDED for XPG4.
49240 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
49242 * Makeconfig (localtime): Remove variable.
49243 (inst_localtime-file): Likewise.
49245 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
49247 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
49249 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
49251 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
49253 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
49255 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
49257 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
49259 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
49261 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
49263 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
49266 2012-05-01 Joseph Myers <joseph@codesourcery.com>
49270 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
49271 comparisons to determine direction to adjust input.
49272 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
49273 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
49274 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
49276 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
49278 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
49280 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
49281 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
49283 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
49285 * math/libm-test.inc (nexttoward_test): Add more tests.
49287 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
49290 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
49291 in version GLIBC_2.1, not GLIBC_2.0.
49292 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
49295 2012-04-30 Joseph Myers <joseph@codesourcery.com>
49298 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
49300 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
49301 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
49302 * math/libm-test.inc (acos_test): Add more tests.
49303 (asin_test): Likewise.
49304 * sysdeps/i386/fpu/libm-test-ulps: Update.
49305 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49308 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
49310 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
49311 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
49312 * math/libm-test.inc (acos_test_tonearest): New function.
49313 (acos_test_towardzero): Likewise.
49314 (acos_test_downward): Likewise.
49315 (acos_test_upward): Likewise.
49316 (asin_test_tonearest): Likewise.
49317 (asin_test_towardzero): Likewise.
49318 (asin_test_downward): Likewise.
49319 (asin_test_upward): Likewise.
49320 (main): Call the new functions.
49321 * sysdeps/i386/fpu/libm-test-ulps: Update.
49322 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
49326 * math/e_exp10.c: Include <float.h>.
49327 (__ieee754_exp10): Handle underflow here rather than multiplying
49328 large negative argument by M_LN10.
49329 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
49331 * math/e_exp10l.c: Include <float.h>.
49332 (__ieee754_exp10l): Handle underflow here rather than multiplying
49333 large negative argument by M_LN10l.
49334 * math/libm-test.inc (exp10_test): Add another test. Do not allow
49335 spurious overflow exception on underflow.
49337 2012-04-29 Marek Polacek <polacek@redhat.com>
49339 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
49340 (__fortify_function): New macro.
49341 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
49342 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
49343 __extern_always_inline.
49344 * libio/bits/stdio2.h: Likewise.
49345 * libio/bits/stdio.h: Likewise.
49346 * string/string.h: Likewise.
49347 * string/bits/string3.h: Likewise.
49348 * include/stdio.h: Likewise.
49349 * stdlib/bits/stdlib.h: Likewise.
49350 * stdlib/stdlib.h: Likewise.
49351 * rt/bits/mqueue2.h: Likewise.
49352 * rt/mqueue.h: Likewise.
49353 * posix/bits/unistd.h: Likewise.
49354 * posix/unistd.h: Likewise.
49355 * io/bits/poll2.h: Likewise.
49356 * io/bits/fcntl2.h: Likewise.
49357 * io/fcntl.h: Likewise.
49358 * io/sys/poll.h: Likewise.
49359 * misc/bits/syslog.h: Likewise.
49360 * misc/bits/syslog-ldbl.h: Likewise.
49361 * misc/sys/syslog.h: Likewise.
49362 * socket/bits/socket2.h: Likewise.
49363 * socket/sys/socket.h: Likewise.
49364 * debug/tst-chk1.c: Likewise.
49365 * wcsmbs/bits/wchar2.h: Likewise.
49366 * wcsmbs/bits/wchar-ldbl.h: Likewise.
49367 * wcsmbs/wchar.h: Likewise.
49369 2012-04-29 Andreas Jaeger <aj@suse.de>
49371 * Makerules (tests): Remove enable-check-abi protection.
49372 (check-abi-warn): Remove.
49373 (check-abi-%): Remove check-abi-warn usage.
49375 * configure.in: Remove check-abi configure option.
49376 * configure: Regenerated.
49377 * config.make.in (enable-check-abi): Remove.
49379 2012-04-28 Andreas Schwab <schwab@linux-m68k.org>
49382 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
49383 double functions to double *_finite functions.
49386 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
49387 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
49389 * stdio-common/Makefile (tests): Add tst-sprintf3.
49390 * stdio-common/tst-sprintf3.c: New file.
49392 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
49393 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
49395 2012-04-28 Joseph Myers <joseph@codesourcery.com>
49397 * conform/conformtest.pl: Remove duplicate typed-constant
49400 2012-04-28 David S. Miller <davem@davemloft.net>
49402 * Makerules (%.abilist): Add vpath on sysdep_dirs.
49403 (check-abi-%): Remove AWK script prerequisite and explicit
49405 (check-abi): Rewrite to just diff the symlist with the abilist.
49406 (config-tls, config-abi-config): Delete, no longer used.
49407 (update-abi-%): Remove AWK script and explicit abilist directory.
49408 (update-abi): Rewrite to simply compare and conditionally copy the
49409 symlist and the sysdep abilist file. Remove update-abi-config
49411 * abilist/ld.abilist: Remove.
49412 * abilist/libBrokenLocale.abilist: Remove.
49413 * abilist/libanl.abilist: Remove.
49414 * abilist/libcrypt.abilist: Remove.
49415 * abilist/libdl.abilist: Remove.
49416 * abilist/librt.abilist: Remove.
49417 * abilist/libthread_db.abilist: Remove.
49418 * abilist/libutil.abilist: Remove.
49419 * scripts/extract-abilist.awk: Remove.
49420 * scripts/merge-abilist.awk: Remove.
49421 * sysdeps/generic/libcidn.abilist: New file.
49422 * sysdeps/generic/libnss_compat.abilist: New file.
49423 * sysdeps/generic/libnss_db.abilist: New file.
49424 * sysdeps/generic/libnss_dns.abilist: New file.
49425 * sysdeps/generic/libnss_files.abilist: New file.
49426 * sysdeps/generic/libnss_hesiod.abilist: New file.
49427 * sysdeps/generic/libnss_nis.abilist: New file.
49428 * sysdeps/generic/libnss_nisplus.abilist: New file.
49429 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
49430 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
49431 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
49433 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
49434 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
49435 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
49436 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
49437 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
49438 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
49439 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
49440 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
49441 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
49443 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
49444 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
49445 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
49446 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
49448 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
49449 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
49450 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
49451 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
49452 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
49453 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
49455 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
49456 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
49457 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
49459 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
49460 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
49462 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
49464 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
49466 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
49468 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
49470 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
49472 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
49474 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
49476 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
49478 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
49480 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
49482 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
49484 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
49486 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
49488 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
49490 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
49492 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
49494 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
49496 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
49498 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
49500 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
49502 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
49504 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
49506 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
49508 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
49510 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
49512 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
49513 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
49515 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
49517 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
49519 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
49521 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
49523 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
49525 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
49527 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
49529 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
49531 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
49533 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
49535 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
49537 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
49538 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
49540 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
49542 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
49544 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
49546 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
49548 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
49550 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
49552 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
49554 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
49556 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
49558 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
49560 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
49562 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
49563 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
49564 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
49566 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
49567 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
49568 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
49569 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
49570 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
49571 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
49572 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
49573 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
49574 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
49575 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
49576 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
49577 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
49579 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
49581 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
49583 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
49585 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
49587 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
49589 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
49591 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
49593 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
49595 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
49597 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
49599 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
49601 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
49602 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
49604 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
49606 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
49608 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
49610 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
49612 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
49614 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
49616 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
49618 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
49620 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
49622 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
49624 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
49627 2012-04-28 Joseph Myers <joseph@codesourcery.com>
49629 * conform/conformtest.pl: Fix typo in handling typed-constant from
49632 2012-04-27 Joseph Myers <joseph@codesourcery.com>
49634 * README: Cut down references to pre-2.6 Linux kernels and
49635 Linuxthreads. Update lists of configurations in libc and ports
49636 and sort alphabetically. Say "or newer" with Linux kernel version
49639 * config.h.in [IS_IN_build]: Allow compiling without optimization.
49641 2012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
49644 * math/libm-test.inc (logb_test_downward): New test to expose
49645 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
49648 2012-04-27 Joseph Myers <joseph@codesourcery.com>
49651 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
49653 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
49654 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
49656 2012-04-26 Joseph Myers <joseph@codesourcery.com>
49658 * sysdeps/unix/i386/brk.S: Remove file.
49659 * sysdeps/unix/i386/dl-brk.S: Likewise.
49660 * sysdeps/unix/i386/pipe.S: Likewise.
49661 * sysdeps/unix/i386/sigreturn.S: Likewise.
49662 * sysdeps/unix/i386/syscall.S: Likewise.
49663 * sysdeps/unix/i386/vfork.S: Likewise.
49664 * sysdeps/unix/i386/wait.S: Likewise.
49666 * sysdeps/unix/common/tcsendbrk.c: Move to ...
49667 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
49669 * configure.in (arm*-none*): Do not allow without
49670 --enable-hacker-mode.
49671 (netbsd*): Remove case setting base_os.
49672 (386bsd*): Likewise.
49673 (freebsd*): Likewise.
49676 (sunos*): Likewise.
49677 (ultrix*): Likewise.
49678 (newsos*): Likewise.
49679 (dynix*): Likewise.
49685 (minix*): Likewise.
49686 (irix4*): Likewise.
49687 (irix6*): Likewise.
49688 (solaris[2-9]*): Likewise.
49690 * configure: Regenerated.
49692 2012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
49695 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
49696 overflow or cancellation in calculating denominator.
49697 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
49698 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
49699 down expression to avoid unexpected rounding in newer GCCs.
49700 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
49702 2012-04-26 David S. Miller <davem@davemloft.net>
49704 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
49705 long-double compat symbols.
49706 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
49707 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
49708 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
49709 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
49710 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
49711 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
49712 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
49713 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
49714 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
49715 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
49716 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
49717 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
49718 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
49720 2012-04-25 David S. Miller <davem@davemloft.net>
49722 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
49723 HWCAP_* values only after the memory barriers have been defined.
49724 (atomic_full_barrier): Define.
49725 (atomic_read_barrier): Define.
49726 (atomic_write_barrier): Define.
49728 2012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
49730 * shlib-versions: Add libgcc_s version information.
49731 * sysdeps/generic/libgcc_s.h: Remove.
49732 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
49734 * sysdeps/gnu/unwind-resume.c: Likewise.
49735 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
49737 2012-04-25 David S. Miller <davem@davemloft.net>
49739 * sysdeps/unix/sparc/brk.S: Delete.
49740 * sysdeps/unix/sparc/dl-brk.S: Delete.
49741 * sysdeps/unix/sparc/pipe.S: Delete.
49742 * sysdeps/unix/sparc/sysdep.S: Delete.
49743 * sysdeps/unix/sparc/sysdep.h: Delete.
49744 * sysdeps/unix/sparc/vfork.S: Delete.
49745 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
49746 (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
49747 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
49748 (ret_ERRVAL, r0, r1, MOVE): Define.
49749 (JUMPTARGET): Remove.
49750 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
49751 sysdeps/unix/sparc/sysdep.h
49752 (ENTRY, END): Remove.
49753 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
49755 2012-04-25 Joseph Myers <joseph@codesourcery.com>
49757 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
49758 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
49761 * timezone/README: Update upstream location and email address for
49763 * timezone/zdump.c: Update from tzcode 2012b.
49764 * timezone/zic.c: Likewise.
49766 * configure.in (libc_cv_as_needed): Remove test.
49767 * configure: Regenerated.
49768 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
49769 conditional definition.
49770 [$(have-as-needed) != yes] (no-as-needed): Likewise.
49771 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
49772 * config.make.in (have-as-needed): Remove variable.
49774 2012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
49775 Paul Pluzhnikov <ppluzhnikov@google.com>
49777 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
49780 2012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
49782 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
49783 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
49784 * sysdeps/sh/strlen.S: Likewise.
49786 2012-04-24 Joseph Myers <joseph@codesourcery.com>
49788 * sysdeps/unix/fork.S: Remove file.
49789 * sysdeps/unix/i386/fork.S: Likewise.
49790 * sysdeps/unix/sparc/fork.S: Likewise.
49792 * sysdeps/unix/system.c: Remove file.
49793 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
49795 * sysdeps/unix/getegid.S: Remove file.
49796 * sysdeps/unix/geteuid.S: Likewise.
49798 2012-04-24 Roland McGrath <roland@hack.frob.com>
49800 * scripts/check-localplt.awk: New file.
49801 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
49803 * scripts/data/localplt-generic.data: Add a comment.
49805 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
49806 NODE when __dir_mkfile failed.
49807 * sysdeps/mach/hurd/symlinkat.c: Likewise.
49808 Reported by Ludovic Courtès <ludo@gnu.org>.
49810 2012-04-24 Andreas Jaeger <aj@suse.de>
49812 * Makerules (common-clean): Also remove gen-as-const-headers
49815 2012-04-24 Joseph Myers <joseph@codesourcery.com>
49817 * Makerules (native-compile): Do not change working directory for
49818 build. Use $(OUTPUT_OPTION) in command.
49819 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
49821 2012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
49824 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
49825 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
49826 * math/libm-test.inc (floor_test): Add more tests.
49827 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
49829 2012-04-24 Joseph Myers <joseph@codesourcery.com>
49831 * sysdeps/unix/getdents.c: Remove file.
49832 * sysdeps/unix/sysv/getdents.c: Likewise.
49833 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
49835 * sysdeps/unix/syscalls.list (madvise): Add syscall from
49836 sysdeps/unix/mman/syscalls.list.
49838 (mprotect): Likewise.
49840 (munmap): Likewise.
49841 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
49842 * sysdeps/unix/mman/syscalls.list: Remove.
49843 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
49845 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
49846 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
49847 * configure: Regenerated.
49848 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
49849 $(libgcc_s_suffix).
49850 * config.make.in (libgcc_s_suffix): Remove variable.
49852 2012-04-23 Joseph Myers <joseph@codesourcery.com>
49854 * sysdeps/unix/sysv/gethostname.c: Move to ...
49855 * sysdeps/posix/gethostname.c: ... here.
49857 * sysdeps/unix/execve.S: Remove file.
49859 * sysdeps/unix/_exit.S: Remove file.
49861 2012-04-23 Andreas Jaeger <aj@suse.de>
49864 * manual/Makefile: Remove make dist support, there's no
49865 need for a stand-alone documentation tar ball.
49866 (TEXI2DVI): Define always, it's not in Makeconfig.
49869 (edition): Removed.
49870 (glibc-doc-$(edition).tar): Removed
49874 (ETAGS): Remove, it's in Makeconfig.
49875 (move-if-change): Remove, it's in Makeconfig.
49877 2012-04-23 Paul Eggert <eggert@cs.ucla.edu>
49880 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
49881 (strtod, strtof, strtold, strtol, strtoul, strtoq)
49882 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
49883 (strtod_l, strtof_l, strtold_l): Remove __wur.
49884 It is not necessarily an error to ignore strtol's return value.
49885 One can reliably look at the stored endptr to decide whether
49886 the number had valid syntax.
49888 2012-04-21 Andreas Jaeger <aj@suse.de>
49891 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
49893 2012-04-21 Joseph Myers <joseph@codesourcery.com>
49895 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
49896 * sysdeps/unix/sysv/Versions: Remove file.
49898 2012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
49901 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
49903 2012-04-21 Nick Alcock <nick.alcock@oracle.com>
49906 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
49907 version from __vm86.
49909 2012-04-20 Joseph Myers <joseph@codesourcery.com>
49911 * sysdeps/unix/common/lxstat.c: Remove file.
49912 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
49914 * sysdeps/unix/sysv/Makefile: Remove file.
49916 * sysdeps/unix/sysv/direct.h: Remove file.
49918 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
49919 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
49920 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
49921 * sysdeps/unix/sysv/bits/signum.h: Likewise.
49922 * sysdeps/unix/sysv/bits/stat.h: Likewise.
49923 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
49924 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
49926 * sysdeps/unix/sysv/setrlimit.c: Remove file.
49928 * sysdeps/unix/xmknod.c: Remove file.
49929 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
49931 * sysdeps/unix/sysv/settimeofday.c: Remove file.
49933 * sysdeps/unix/sysv/i386/time.S: Remove file.
49935 * sysdeps/unix/fxstat.c: Remove file.
49936 * sysdeps/unix/xstat.c: Likewise.
49937 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
49939 * sysdeps/unix/sysv/sigaction.c: Remove file.
49941 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
49942 (sysdep_headers): Remove variable.
49943 [termio.h not in sysdep_headers] (generated): Likewise.
49944 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
49945 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
49946 * sysdeps/unix/sysv/tcdrain.c: Likewise.
49947 * sysdeps/unix/sysv/tcflow.c: Likewise.
49948 * sysdeps/unix/sysv/tcflush.c: Likewise.
49949 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
49950 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
49951 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
49952 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
49953 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
49955 * sysdeps/unix/siglist.c: Remove file.
49957 * sysdeps/unix/getppid.S: Remove file.
49959 * sysdeps/unix/mkdir.c: Remove file.
49960 * sysdeps/unix/rmdir.c: Likewise.
49962 2012-04-19 Andreas Schwab <schwab@linux-m68k.org>
49964 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
49966 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
49967 errlist-compat value.
49969 2012-04-18 David S. Miller <davem@davemloft.net>
49971 * sysdeps/generic/memcopy.h (reg_char): Delete.
49972 * debug/strcat_chk.c: Use char, not reg_char.
49973 * debug/strcpy_chk.c: Likewise.
49974 * debug/strncat_chk.c: Likewise.
49975 * debug/strncpy_chk.c: Likewise.
49976 * string/memchr.c: Likewise.
49977 * string/memrchr.c: Likewise.
49978 * string/rawmemchr.c: Likewise.
49979 * string/strcat.c: Likewise.
49980 * string/strchr.c: Likewise.
49981 * string/strchrnul.c: Likewise.
49982 * string/strcmp.c: Likewise.
49983 * string/strcpy.c: Likewise.
49984 * string/strncat.c: Likewise.
49985 * string/strncmp.c: Likewise.
49986 * string/strncpy.c: Likewise.
49988 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
49990 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
49991 __builtin_memcopy is called when src and dest ranges are known to not
49994 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
49996 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
49997 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
49998 fwd_align_merge macro call.
49999 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
50000 bwd_align_merge macro call.
50001 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
50003 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
50005 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
50006 bwd_align_merge macros.
50007 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
50008 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
50009 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
50011 2012-04-18 David S. Miller <davem@davemloft.net>
50013 * sysdeps/sparc/sparc64/memcopy.h: Delete.
50015 2012-04-18 Andreas Jaeger <aj@suse.de>
50018 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
50019 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
50020 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
50022 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
50023 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
50024 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
50026 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
50027 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
50028 Adjust for changed ldbl-128 files.
50030 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
50031 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
50032 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
50034 2012-04-17 David S. Miller <davem@davemloft.net>
50036 * sysdeps/sparc/sparc32/memcopy.h: Delete.
50038 2012-04-17 Andreas Schwab <schwab@linux-m68k.org>
50040 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
50041 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
50042 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
50043 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
50044 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
50045 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
50047 2012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
50050 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
50051 * math/libm-test.inc: Add ilogb errno and exception tests.
50052 * math/w_ilogb.c: New file: ilogb wrapper.
50053 * math/w_ilogbf.c: New file: ilogbf wrapper.
50054 * math/w_ilogbl.c: New file: ilogbl wrapper.
50055 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
50056 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
50057 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
50058 exception being thrown with 0.0 as argument.
50059 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
50060 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
50061 exception being thrown with 0.0 as argument.
50062 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
50063 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
50064 exception being thrown with 0.0 as argument.
50065 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
50066 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
50067 exception being thrown with 0.0 as argument.
50068 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
50069 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
50070 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
50071 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
50072 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
50073 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
50074 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
50075 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
50076 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
50078 2012-04-17 Petr Baudis <pasky@ucw.cz>
50080 * include/sys/uio.h: Change __vector to __iovec to avoid clash
50083 2012-04-16 Marek Polacek <polacek@redhat.com>
50085 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
50087 2012-04-16 Marek Polacek <polacek@redhat.com>
50089 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
50090 operands of fdivp instruction.
50092 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
50094 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
50095 * elf/tst-auditmod3b.c: Likewise.
50096 * elf/tst-auditmod4b.c: Likewise.
50097 * elf/tst-auditmod5b.c: Likewise.
50098 * elf/tst-auditmod6b.c: Likewise.
50099 * elf/tst-auditmod6c.c: Likewise.
50100 * elf/tst-auditmod7b.c: Likewise.
50101 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
50102 * sysdeps/x86_64/preconfigure.in: Likewise.
50103 * sysdeps/x86_64/preconfigure: Regenerated.
50105 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
50107 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
50110 2012-04-13 Antoine Balestrat <merkil33@gmail.com>
50112 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
50113 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
50115 2012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
50118 * locale/iso-639.def: Fix gl language name. Spotted by
50121 2012-04-12 Roland McGrath <roland@hack.frob.com>
50124 * libio/libio.h (__io_write_fn): Update comment.
50126 2012-04-12 Petr Baudis <pasky@ucw.cz>
50129 * stdio.texi (Hook Functions): The user provided writer function
50130 is not allowed to return -1.
50132 2012-04-11 David S. Miller <davem@davemloft.net>
50134 * sysdeps/sparc/fpu/libm-test-ulps: Update.
50136 2012-04-11 Mike Frysinger <vapier@gentoo.org>
50138 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
50139 Add a leading slash to rtkaio.
50141 2012-04-11 Jim Meyering <meyering@redhat.com>
50144 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
50145 It is not necessarily an error to ignore fwrite's return
50146 value. One can reliably use ferror to test for errors after
50149 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
50151 * bits/types.h (__snseconds_t): New type.
50152 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
50154 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
50155 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
50156 (__SNSECONDS_T_TYPE): Likewise.
50157 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
50158 (__SNSECONDS_T_TYPE): Likewise.
50159 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
50160 (__SNSECONDS_T_TYPE): Likewise.
50162 2012-04-10 Andreas Jaeger <aj@suse.de>
50165 * manual/time.texi (Processor Time): Return type of times is
50166 elapsed real time since an arbitrary point in the past.
50167 (CPU Time): Move CLK_TCK from here...
50168 (Processor Time): ...to here. Correct description.
50169 * manual/conf.texi (Constants for Sysconf): Correct description of
50172 2012-04-10 David S. Miller <davem@davemloft.net>
50175 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
50176 where the is a gap between DT_REL(A) and DT_JMPREL.
50178 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
50180 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
50181 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
50182 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
50184 2012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
50186 * elf/dl-support.c (_dl_inhibit_cache): New variable.
50187 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
50188 (dl_main): Handle --inhibit-cache.
50189 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
50191 * elf/dl-load.c (_dl_map_object): Use it.
50192 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
50194 2012-04-09 Joseph Myers <joseph@codesourcery.com>
50197 * sysdeps/i386/fpu/e_powl.S (p78): New object.
50198 (__ieee754_powl): Saturate large exponents rather than testing for
50199 overflow of y*log2(x).
50200 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
50201 * math/libm-test.inc (pow_test): Do not permit spurious overflow
50205 * math/s_ctan.c: Include <float.h>.
50206 (__ctan): Avoid internal overflow or cancellation in calculating
50208 * math/s_ctanf.c: Likewise.
50209 * math/s_ctanl.c: Likewise.
50210 * math/s_ctanh.c: Likewise.
50211 * math/s_ctanhf.c: Likewise.
50212 * math/s_ctanhl.c: Likewise.
50213 * math/libm-test.inc (ctan_test): Add more tests.
50214 (ctanh_test): Likewise.
50215 * sysdeps/i386/fpu/libm-test-ulps: Update.
50216 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50218 2012-04-09 Andreas Jaeger <aj@suse.de>
50221 * manual/filesys.texi (Directory Entries): Mention that d_namlen
50222 is an optional BSD extension.
50225 * manual/stdio.texi (Opening Streams): Document additional fopen
50228 2012-04-09 Roland McGrath <roland@hack.frob.com>
50230 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
50231 %eax without telling the compiler.
50233 2012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
50236 * manual/install.texi: Use sourceware.org.
50238 2012-04-09 Joseph Myers <joseph@codesourcery.com>
50241 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
50242 (__ieee754_pow): Generate overflow and underflow using huge*huge
50243 and tiny*tiny rather than just returning constant infinity or zero
50244 for large exponents.
50245 * math/libm-test.inc (pow_test): Require overflow exceptions for
50246 applicable cases of large exponents.
50249 * sysdeps/i386/fpu/e_pow.S (p10): New object.
50250 (__ieee754_pow): Use iterative multiplication algorithm only for
50251 integer exponents with absolute value below 1024. Check for odd
50252 integer exponents when using algorithm for real exponents.
50253 * math/libm-test.inc (pow_test): Add more tests.
50254 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
50256 2012-04-08 Joseph Myers <joseph@codesourcery.com>
50259 * math/libm-test.inc (exp_test): Do not allow overflow exception
50262 2012-04-08 Aurelien Jarno <aurelien@aurel32.net>
50265 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
50266 instead of __kernel_standard_f.
50268 2012-04-08 Mike Frysinger <vapier@gentoo.org>
50270 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
50271 * sysdeps/x86_64/memset_chk.S: Likewise.
50273 2012-04-08 Andreas Jaeger <aj@suse.de>
50276 * manual/startup.texi (Environment Access): Describe return value
50277 for putenv and setenv.
50280 * manual/filesys.texi (Directory Entries): Add description for
50284 * manual/filesys.texi (Directory Entries): Clarify that it's file
50285 system not operating system in the description of DT_UNKNOWN.
50288 * manual/syslog.texi (closelog): Fix reference, it's openlog.
50290 2012-04-08 Stephen Compall <s11@member.fsf.org>
50293 * manual/llio.texi (Opening and Closing Files): Add cross
50294 reference to explain mode argument.
50296 2012-04-07 Mike Frysinger <vapier@gentoo.org>
50298 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
50299 * sysdeps/x86_64/memset_chk.S: Likewise.
50301 2012-04-07 David S. Miller <davem@davemloft.net>
50303 * elf/elf.h (R_SPARC_WDISP10): Define.
50304 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
50306 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
50307 R_SPARC_SIZE64 and R_SPARC_H34.
50309 2012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
50311 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
50312 conditions and remove no longer applicable assertion.
50314 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
50316 * bits/byteswap.h: Include <features.h>.
50317 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
50318 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
50320 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
50322 * bits/byteswap.h (__bswap_16): Removed.
50323 Include <bits/byteswap-16.h> to get __bswap_16.
50324 * sysdeps/i386/bits/byteswap.h: Likewise.
50325 * sysdeps/s390/bits/byteswap.h: Likewise.
50326 * sysdeps/x86_64/bits/byteswap.h: Likewise.
50327 * bits/byteswap-16.h: New file.
50328 * sysdeps/i386/bits/byteswap-16.h: Likewise.
50329 * sysdeps/s390/bits/byteswap-16.h: Likewise.
50330 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
50331 * string/Makefile (headers): Add bits/byteswap-16.h.
50333 2012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
50336 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
50338 * nss/Makefile (tests-static, tests): Add tst-nss-static.
50339 * nss/tst-nss-static.c: New.
50341 2012-04-06 Robert Millan <rmh@gnu.org>
50344 * manual/llio.texi (File Position Primitive): lseek
50345 refers to WHENCE when it really means OFFSET.
50347 2012-04-06 Andreas Jaeger <aj@suse.de>
50349 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
50350 strncmp declarations.
50352 * abilist/libc.abilist: Add __poll and __ppoll.
50354 2012-04-05 David S. Miller <davem@davemloft.net>
50356 * scripts/check-local-headers.sh: Accept a host triplet in the
50357 path matched by the exclude regexp.
50359 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
50361 * sysdeps/powerpc/powerpc32/dl-machine.h
50362 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
50363 * sysdeps/s390/s390-32/dl-machine.h
50364 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
50365 * sysdeps/sparc/sparc32/dl-machine.h
50366 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
50367 * sysdeps/sparc/sparc64/dl-machine.h
50368 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
50370 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
50372 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
50373 undefined symbol errors.
50375 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
50378 2012-04-05 Michael Matz <matz@suse.de>
50381 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
50383 2012-04-05 Andreas Jaeger <aj@suse.de>
50386 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
50389 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
50391 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
50392 which ROUND is no valid rounding mode.
50394 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
50396 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
50398 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
50400 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
50402 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
50403 an exception using FPU order intentionally.
50405 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
50407 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
50408 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
50409 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
50410 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
50412 2012-04-05 Simon Josefsson <simon@josefsson.org>
50415 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
50416 EINVAL when BUFLEN is too smal.
50418 2012-04-05 Thomas Schwinge <thomas@codesourcery.com>
50421 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
50422 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
50424 2012-04-03 Andreas Jaeger <aj@suse.de>
50427 * manual/setjmp.texi (System V contexts): Fix sentence.
50430 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
50431 New macro for this case.
50432 [!__GNUC__] (__bswap_64): New inline function for this case.
50433 * sysdeps/x86_64/bits/byteswap.h: Likewise.
50434 * bits/byteswap.h: Likewise.
50435 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
50436 ull, guard with __GLIBC_HAVE_LONG_LONG.
50438 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
50439 __GLIBC_HAVE_LONG_LONG.
50441 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
50442 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
50444 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
50447 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
50448 inptr and inend, rather than using last_ch.
50450 2012-04-02 David S. Miller <davem@davemloft.net>
50452 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
50453 * stdio-common/printf-parse.h (read_int): Change return type to
50454 'int', return -1 on INT_MAX overflow.
50455 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
50456 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
50457 overflows INT_MAX. Check for overflow of in-format-string precision
50458 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
50459 SIZE_MAX not INT_MAX for integer overflow test.
50460 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
50461 skip the construct in the format string but do not record anything.
50462 * stdio-common/bug22.c: Adjust to test both width/prevision
50463 INT_MAX overflow as well as total length INT_MAX overflow. Check
50464 explicitly for proper errno values.
50466 2012-04-02 Thomas Schwinge <thomas@codesourcery.com>
50468 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
50470 * string/test-strcmp.c [! WIDE]: Likewise.
50471 * time/tst-mktime2.c: Likewise for INT_MAX.
50472 * string/test-string.h: #include <sys/param.h> for MIN.
50474 * csu/init-first.c (__libc_init_first): Call __ctype_init.
50475 * sysdeps/i386/init-first.c (init): Likewise.
50476 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
50477 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
50478 * sysdeps/sh/init-first.c (init): Likewise.
50480 2012-04-01 Ulrich Drepper <drepper@gmail.com>
50482 * po/ru.po: Update from translation team.
50483 * po/vi.po: Likewise.
50485 2012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
50487 * resolv/nss_dns/dns-host.c: Merge copyright years.
50489 2012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
50491 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
50492 Optimize memcpy with prefetch if
50493 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
50494 src, dst pointers have unequal 16 byte alignments.
50496 2012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
50499 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
50500 from a CNAME entry and return the minimum ttl for the query.
50501 (gaih_getanswer_slice): Likewise.
50503 2012-03-30 Jeff Law <law@redhat.com>
50505 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
50507 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
50508 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
50510 * resolv/nss_dns/dns-host.c: Update copyright year.
50512 2012-03-30 Ulrich Drepper <drepper@gmail.com>
50514 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
50515 requests to save a system call. Fix check that all bytes are sent.
50517 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
50518 comments for sendmmsg.
50520 2012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
50523 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
50524 with only 1 character between 0x0041 and 0x01b0.
50525 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
50526 * wcsmbs/tst-mbsnrtowcs.c: New file.
50528 2012-03-29 David S. Miller <davem@davemloft.net>
50530 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
50531 small copies by hand.
50533 2012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
50536 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
50537 (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
50540 2012-03-28 David S. Miller <davem@davemloft.net>
50542 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
50543 that branches into memcpy.
50544 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
50545 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
50546 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
50547 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
50548 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
50550 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
50551 implementation too.
50552 * sysdeps/sparc/mempcpy.S: New file.
50554 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
50555 the IFUNC routine in the libc case.
50556 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
50558 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
50559 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
50560 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
50561 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
50562 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
50563 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
50564 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
50565 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
50567 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
50568 loop to 256 bytes instead of 64 bytes and fix test signedness.
50570 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
50571 * sysdeps/sparc/sparc32/Makefile: rather than here...
50572 * sysdeps/sparc/sparc64/Makefile: and here.
50574 2012-03-28 Ulrich Drepper <drepper@gmail.com>
50576 * malloc/mallocbug.c: Avoid warnings about unused variables.
50578 2012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
50581 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
50582 in the right place. Discard and retry query if response is
50583 larger than input buffer size.
50585 2012-03-28 Joseph Myers <joseph@codesourcery.com>
50590 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
50591 x for large integer exponent.
50592 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
50593 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
50594 sign of result as needed afterwards.
50595 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
50596 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
50597 result for underflowing pow the same as for overflow.
50598 (__kernel_standard_l): Handle powl overflow and underflow here
50599 rather than calling __kernel_standard.
50600 * math/libm-test.inc (pow_test): Add more tests.
50615 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
50616 * sysdeps/ieee754/k_standard.c: Include <float.h>.
50617 (__kernel_standard_l): New function.
50618 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
50620 * math/w_acosl.c (__acosl): Likewise.
50621 * math/w_asinl.c (__asinl): Likewise.
50622 * math/w_atan2l.c (__atan2l): Likewise.
50623 * math/w_atanhl.c (__atanhl): Likewise.
50624 * math/w_coshl.c (__coshl): Likewise.
50625 * math/w_exp10l.c (__exp10l): Likewise.
50626 * math/w_exp2l.c (__exp2l): Likewise.
50627 * math/w_fmodl.c (__fmodl): Likewise.
50628 * math/w_hypotl.c (__hypotl): Likewise.
50629 * math/w_j0l.c (__j0l, __y0l): Likewise.
50630 * math/w_j1l.c (__j1l, __y1l): Likewise.
50631 * math/w_jnl.c (__jnl, __ynl): Likewise.
50632 * math/w_lgammal.c (__lgammal): Likewise.
50633 * math/w_log10l.c (__log10l): Likewise.
50634 * math/w_log2l.c (__log2l): Likewise.
50635 * math/w_logl.c (__logl): Likewise.
50636 * math/w_powl.c (__powl): Likewise.
50637 * math/w_remainderl.c (__remainderl): Likewise.
50638 * math/w_scalbl.c (sysv_scalbl): Likewise.
50639 * math/w_sinhl.c (__sinhl): Likewise.
50640 * math/w_sqrtl.c (__sqrtl): Likewise.
50641 * math/w_tgammal.c (__tgammal): Likewise.
50642 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
50643 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
50644 * math/libm-test.inc (acos_test): Add more tests.
50645 (acosh_test): Likewise.
50646 (asin_test): Likewise.
50647 (atanh_test): Likewise.
50648 (exp_test): Likewise.
50649 (exp10_test): Likewise.
50650 (exp2_test): Likewise.
50651 (expm1_test): Likewise.
50652 (lgamma_test): Likewise.
50653 (log_test): Likewise.
50654 (log10_test): Likewise.
50655 (log1p_test): Likewise.
50656 (log2_test): Likewise.
50657 (pow_test): Do not allow some spurious overflow exceptions.
50658 (sqrt_test): Add more tests.
50659 (tgamma_test): Likewise.
50660 (y0_test): Likewise.
50661 (y1_test): Likewise.
50662 (yn_test): Likewise.
50664 2012-03-27 Anton Blanchard <anton@samba.org>
50666 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
50668 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
50669 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
50670 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
50672 2012-03-27 David S. Miller <davem@davemloft.net>
50674 * conform/Makefile: Run run-conformtest.sh using $(BASH).
50676 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
50677 have-as-vis3 check.
50679 2012-03-27 Andreas Jaeger <aj@suse.de>
50681 * sysdeps/x86_64/elf/configure.in: Moved to ...
50682 * sysdeps/x86_64/configure.in: ... here.
50683 * sysdeps/x86_64/elf/start.S: Moved to ...
50684 * sysdeps/x86_64/start.S: ... here.
50685 * sysdeps/x86_64/elf/configure: Delete.
50687 * sysdeps/x86_64/configure.in: Merge contents from
50688 sysdeps/i386/configure.in (without i686 check).
50690 * sysdeps/i386/elf/Versions: Merge into ...
50691 * sysdeps/i386/Versions: ... this.
50692 * sysdeps/i386/elf/Versions: Delete file.
50693 * sysdeps/i386/elf/start.S: Moved to ...
50694 * sysdeps/i386/start.S: ...here.
50695 * sysdeps/i386/elf/configure.in: Merge into...
50696 * sysdeps/i386/configure.in: ...here.
50697 * sysdeps/i386/elf/configure.in: Delete file.
50698 * sysdeps/i386/elf/configure: Delete file.
50700 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
50701 * debug/backtracesyms.c: ... here.
50702 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
50703 * debug/backtracesymsfd.c: ... here.
50704 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
50705 * sysdeps/generic/ifunc-sel.h: ... here.
50707 * sysdeps/unix/i386/start.c: Delete file.
50708 * sysdeps/unix/sparc/start.c: Delete file.
50709 * sysdeps/unix/start.c: Delete file.
50711 * sysdeps/sh/elf/configure.in: Moved to ...
50712 * sysdeps/sh/configure.in: ... here.
50713 * sysdeps/sh/elf/start.S: Moved to ...
50714 * sysdeps/sh/start.S: ... here.
50715 * sysdeps/sh/elf/configure: Delete file.
50717 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
50718 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
50719 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
50720 * sysdeps/powerpc/powerpc64/entry.h: ... here.
50721 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
50722 * sysdeps/powerpc/powerpc64/start.S: here.
50723 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
50724 * sysdeps/powerpc/powerpc64/Makefile: ... this.
50725 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
50726 * sysdeps/powerpc/powerpc64/configure.in: ... this.
50727 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
50729 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
50730 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
50731 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
50732 * sysdeps/powerpc/powerpc32/start.S: ... here.
50733 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
50734 * sysdeps/powerpc/powerpc32/configure.in: ... this.
50735 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
50737 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
50738 * sysdeps/powerpc/ifunc-sel.h: ... here.
50739 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
50740 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
50742 * sysdeps/sparc/elf/configure.in: Moved to ...
50743 * sysdeps/sparc/configure.in: ... here.
50744 * sysdeps/sparc/elf/configure: Delete file.
50745 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
50746 * sysdeps/sparc/sparc32/start.S: ... here.
50747 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
50748 * sysdeps/sparc/sparc64/start.S: ... here.
50749 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
50750 * sysdeps/sparc/sparc32/Makefile: ... this.
50751 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
50752 * sysdeps/sparc/sparc64/Makefile: ... this.
50754 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
50755 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
50756 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
50757 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
50758 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
50759 * sysdeps/s390/s390-32/setjmp.S: ... here.
50760 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
50761 * sysdeps/s390/s390-32/configure.in: ... here.
50762 * sysdeps/s390/s390-32/elf/configure: Delete file.
50763 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
50764 * sysdeps/s390/s390-32/start.S: ... here.
50766 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
50767 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
50768 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
50769 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
50770 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
50771 * sysdeps/s390/s390-64/setjmp.S: ... here.
50772 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
50773 * sysdeps/s390/s390-64/configure.in: ... here
50774 * sysdeps/s390/s390-64/elf/configure: Delete file.
50775 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
50776 * sysdeps/s390/s390-64/start.S: ... here.
50777 * sysdeps/s390/s390-64/elf/configure: Delete.
50779 * configure.in: Remove support for elf directories in sysdeps.
50781 * configure: Regenerated.
50782 * sysdeps/i386/configure: Regenerated.
50783 * sysdeps/powerpc/powerpc32/configure: Regenerated.
50784 * sysdeps/powerpc/powerpc64/configure: Regenerated.
50785 * sysdeps/s390/s390-32/configure: Regenerated.
50786 * sysdeps/s390/s390-64/configure: Regenerated.
50787 * sysdeps/sh/configure: Regenerated.
50788 * sysdeps/sparc/configure: Regenerated.
50789 * sysdeps/x86_64/configure: Regenerated.
50791 2012-03-26 Andreas Schwab <schwab@linux-m68k.org>
50793 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
50795 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
50796 denormal result into account.
50798 2012-03-25 Roland McGrath <roland@hack.frob.com>
50800 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
50801 Reported by Allan McRae <allan@archlinux.org>.
50803 2012-03-23 Jeff Law <law@redhat.com>
50805 * nss/getnssent.c (__nss_getent): Fix typo.
50807 2012-03-23 David S. Miller <davem@davemloft.net>
50809 * sysdeps/sparc/fpu/libm-test-ulps: Update.
50811 2012-03-23 H.J. Lu <hongjiu.lu@intel.com>
50813 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
50814 to pad to uint64_t for each field.
50815 (dl_tls_index): Replace unsigned long with uint64_t.
50817 2012-03-23 Daniel Jacobowitz <dmj@google.com>
50818 Paul Pluzhnikov <ppluzhnikov@google.com>
50821 * grp/Makefile (otherlibs): Don't set it.
50822 * inet/Makefile (otherlibs): Likewise.
50823 * login/Makefile (otherlibs): Likewise.
50824 * nscd/Makefile (otherlibs): Likewise.
50825 * posix/Makefile (otherlibs): Likewise.
50826 * pwd/Makefile (otherlibs): Likewise.
50827 * rt/Makefile (otherlibs): Likewise.
50828 * sunrpc/Makefile (otherlibs): Likewise.
50829 * nss/Makefile (otherlibs): Likewise.
50830 Add libnss_files to routines and static-only-routines.
50831 ($(objpfx)getent): Remove rule.
50832 * resolv/Makefile: Add libnss_dns and libresolv to routines and
50833 static-only-routines.
50835 2012-03-22 Joseph Myers <joseph@codesourcery.com>
50838 * math/s_cexp.c: Include <float.h>.
50839 (__cexp): Handle exp result overflowing not necessarily
50840 overflowing both real and imaginary parts of result.
50841 * math/s_cexpf.c: Likewise.
50842 * math/s_cexpl.c: Likewise.
50843 * math/libm-test.inc (cexp_test): Add more tests.
50844 * sysdeps/i386/fpu/libm-test-ulps: Update.
50845 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50847 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
50849 * include/link.h (ELFW): New macro.
50850 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
50851 Replace ELF64_R_TYPE with ELFW(R_TYPE).
50853 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
50855 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
50858 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
50860 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
50862 (struct La_x32_retval): Likewise.
50864 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
50866 * sysdeps/x86_64/preconfigure.in: New file.
50867 * sysdeps/x86_64/preconfigure: New generated file.
50869 2012-03-22 Joseph Myers <joseph@codesourcery.com>
50872 * math/e_exp2l.c: Include <float.h>.
50873 (__ieee754_exp2l): Handle overflow and underflow cases
50874 separately. Only pass fractional part of argument to
50876 * math/libm-test.inc (exp2_test): Add more tests.
50878 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
50879 negating x to take absolute value.
50880 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
50882 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
50883 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
50885 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
50886 computing low part if x was negated.
50887 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
50889 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
50891 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
50892 la_x32_gnu_pltexit.
50893 (pltexit): Cast int_retval to ptrdiff_t.
50894 * elf/tst-auditmod3b.c: Likewise.
50895 * elf/tst-auditmod4b.c: Likewise.
50896 * elf/tst-auditmod5b.c: Likewise.
50897 * elf/tst-auditmod6b.c: Likewise.
50898 * elf/tst-auditmod6c.c: Likewise.
50899 * elf/tst-auditmod7b.c: Likewise.
50901 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
50902 and x32_gnu_pltexit.
50904 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
50905 __ELF_NATIVE_CLASS.
50906 (La_x32_regs): New macro.
50907 (La_x32_retval): Likewise.
50908 (la_x32_gnu_pltenter): New function prototype.
50909 (la_x32_gnu_pltexit): Likewise.
50911 2012-03-21 Andreas Schwab <schwab@linux-m68k.org>
50913 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
50916 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
50918 * configure.in (libc_cv_cc_nofma): Check for option to disable
50919 generation of FMA instructions.
50920 * configure: Regenerate.
50921 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
50922 * sysdeps/ieee754/dbl-64/Makefile: New file.
50923 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
50924 Remove brandred-fma4.
50925 (CFLAGS-brandred-fma4.c): Remove.
50926 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
50927 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
50929 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
50932 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
50934 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
50935 LLONG_MAX != LONG_MAX.
50936 (_itoa_word): Use _ITOA_WORD_TYPE on value.
50937 (_fitoa_word): Likewise.
50938 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
50939 LLONG_MAX != LONG_MAX.
50940 * stdio-common/_itowa.h: Include <_itoa.h>.
50941 (_itowa_word): Use _ITOA_WORD_TYPE on value.
50942 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
50943 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
50944 only if not defined.
50945 (_ITOA_WORD_TYPE): Likewise.
50946 (_itoa_word): Use _ITOA_WORD_TYPE on value.
50947 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
50949 2012-03-21 David S. Miller <davem@davemloft.net>
50951 * sysdeps/sparc/fpu/libm-test-ulps: Update.
50953 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
50955 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
50956 of x86_64 when setting libc_cv_slibdir, libdir and
50958 * sysdeps/unix/sysv/linux/configure: Regenerated.
50960 2012-03-21 Joseph Myers <joseph@codesourcery.com>
50962 * manual/lang.texi (Old Varargs): Remove section.
50963 (How Variadic): Update menu.
50964 (va_start): Do not mention varargs.h.
50966 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
50967 Joseph Myers <joseph@codesourcery.com>
50969 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
50971 * configure: Regenerated.
50973 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
50975 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
50976 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
50979 2012-03-21 Joseph Myers <joseph@codesourcery.com>
50982 * Makefile (files-for-dist): Remove NOTES.
50983 (NOTES): Remove rule.
50984 * README: Don't refer to NOTES.
50985 * manual/creature.texi: Don't include macros.texi.
50986 * manual/intro.texi (creature.texi): Remove comment referring to
50989 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
50990 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
50991 * configure: Regenerated.
50992 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
50993 LIBC_TRY_CC_OPTION.
50994 (libc_cv_as_i686): Likewise.
50995 (libc_cv_cc_avx): Likewise.
50996 (libc_cv_cc_sse2avx): Likewise.
50997 (libc_cv_cc_fma4): Likewise.
50998 (libc_cv_cc_novzeroupper): Likewise.
50999 * sysdeps/i386/configure: Regenerated.
51002 * sysdeps/i386/fpu/s_cexp.S: Remove.
51003 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
51004 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
51005 * math/libm-test.inc (cexp_test): Add more tests.
51006 * sysdeps/i386/fpu/libm-test-ulps: Update.
51007 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51009 2012-03-21 Allan McRae <allan@archlinux.org>
51011 * timezone/Makefile: Do not install iso3166.tab and zone.tab
51013 2012-03-21 Joseph Myers <joseph@codesourcery.com>
51016 * math/w_exp2.c: Do not include <float.h>.
51017 (o_threshold, u_threshold): Remove.
51018 (__exp2): Calculate result before checking finiteness and calling
51020 * math/w_exp2f.c: Likewise.
51021 * math/w_exp2l.c: Likewise.
51022 * math/libm-test.inc (exp2_test): Require overflow exception for
51026 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
51027 range of signed 64-bit integers before using fistpll. Remove
51028 checks for whether integers fit in mantissa bits.
51029 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
51030 the range of signed 32-bit integers before using fistpl. Remove
51031 checks for whether integers fit in mantissa bits.
51032 * sysdeps/i386/fpu/e_powl.S (p64): New object.
51033 (__ieee754_powl): Test for y outside the range of signed 64-bit
51034 integers before using fistpll. Reduce 64-bit values to 63-bit
51036 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
51037 divide-by-zero is raised for zero to large negative powers.
51038 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
51039 (__ieee754_powl): Test for y outside the range of signed 64-bit
51040 integers before using fistpll. Reduce 64-bit values to 63-bit
51042 * math/libm-test.inc (pow_test): Add more tests.
51044 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
51046 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
51047 <stdio-common/_itoa.h>.
51048 * debug/segfault.c: Likewise.
51049 * elf/dl-cache.c: Likewise.
51050 * elf/dl-minimal.c: Likewise.
51051 * elf/dl-misc.c: Likewise.
51052 * elf/dl-sysdep.c: Likewise.
51053 * elf/dl-version.c: Likewise.
51054 * elf/rtld.c: Likewise.
51055 * hurd/hurdsock.c: Likewise.
51056 * hurd/lookup-retry.c: Likewise.
51057 * malloc/malloc.c: Likewise.
51058 * malloc/mtrace.c: Likewise.
51059 * nscd/nscd_getgr_r.c: Likewise.
51060 * nscd/nscd_getpw_r.c: Likewise.
51061 * nscd/nscd_getserv_r.c: Likewise.
51062 * posix/getopt_init.c: Likewise.
51063 * posix/wordexp.c: Likewise.
51064 * stdio-common/_itoa.c: Likewise.
51065 * stdio-common/printf_fphex.c: Likewise.
51066 * stdio-common/vfprintf.c: Likewise.
51067 * string/_strerror.c: Likewise.
51068 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
51069 * sysdeps/i386/i686/hp-timing.h: Likewise.
51070 * sysdeps/mach/_strerror.c: Likewise.
51071 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
51072 * sysdeps/mach/hurd/sethostid.c: Likewise.
51073 * sysdeps/mach/hurd/xmknodat.c: Likewise.
51074 * sysdeps/mach/xpg-strerror.c: Likewise.
51075 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
51076 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
51077 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
51078 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
51079 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
51080 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
51081 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
51082 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
51083 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
51084 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
51085 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
51086 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
51087 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
51088 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
51089 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
51090 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
51091 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
51092 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
51093 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
51094 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
51095 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
51097 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
51099 * stdio-common/_itoa.h: Moved to ...
51100 * sysdeps/generic/_itoa.h: Here.
51102 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
51104 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
51105 instead of "_itoa.h" and "_itowa.h".
51106 * stdio-common/vfprintf.: Likewise.
51108 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
51110 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
51112 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
51113 (__signbit): Likwise.
51114 (llrintf): Likwise.
51117 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
51119 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
51122 2012-03-20 Joseph Myers <joseph@codesourcery.com>
51124 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
51125 OVERFLOW_EXCEPTION_OK.
51126 * math/libm-test.inc ("Philosophy"): Update comment about
51128 (OVERFLOW_EXCEPTION): Define.
51129 (OVERFLOW_EXCEPTION_OK): Likewise.
51130 (INVALID_EXCEPTION_OK): Renumber.
51131 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
51132 (IGNORE_ZERO_INF_SIGN): Likewise.
51133 (test_exceptions): Handle FE_OVERFLOW.
51134 (exp10_test): Expect overflow exceptions.
51135 (exp2_test): Likewise.
51136 (expm1_test): Likewise.
51137 (nextafter_test): Likewise.
51138 (pow_test): Likewise.
51139 (scalbn_test): Likewise.
51140 (scalbln_test): Likewise.
51142 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
51144 * sysdeps/x86_64/bits/atomic.h
51145 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
51147 (atomic_exchange_acq): Likewise.
51148 (__arch_exchange_and_add_body): Likewise.
51149 (__arch_add_body): Likewise.
51150 (atomic_add_negative): Likewise.
51151 (atomic_add_zero): Likewise.
51153 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
51155 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
51156 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
51158 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
51160 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
51161 Check __x86_64__ instead of __WORDSIZE.
51163 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
51165 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
51167 2012-03-19 David S. Miller <davem@davemloft.net>
51169 * sysdeps/sparc/fpu/libm-test-ulps: Update.
51171 * sysdeps/sparc/fpu/fenv_private.h: New file.
51172 * sysdeps/sparc/fpu/math_private.h: Use it.
51173 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
51175 (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
51176 (libc_feholdexcept_setroundl): Remove.
51177 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
51179 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
51180 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
51182 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
51184 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
51185 int64_t instead of long int.
51186 (INSERT_WORDS64): Likwise.
51188 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
51190 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
51191 _Unwind_GetCFA return to _Unwind_Ptr first.
51193 2012-03-19 Joseph Myers <joseph@codesourcery.com>
51196 * math/s_clog.c: Include <float.h>.
51197 (__clog): Scale large or subnormal inputs.
51198 * math/s_clogf.c: Likewise.
51199 * math/s_clogl.c: Likewise.
51200 * math/s_clog10.c: Include <float.h>.
51201 (M_LOG10_2): Define.
51202 (__clog10): Scale large or subnormal inputs.
51203 * math/s_clog10f.c: Likewise.
51204 * math/s_clog10l.c: Likewise.
51205 * math/libm-test.inc (clog_test): Add more tests.
51206 (clog10_test): Likewise.
51207 * sysdeps/i386/fpu/libm-test-ulps: Update.
51208 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51211 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
51213 * math/libm-test.inc (atan2_test): Add another test.
51215 * Makerules (common-objdir-compile): Remove.
51216 * sysdeps/unix/Makefile (config-generated): Do not add
51217 $(unix-generated) to variable.
51218 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
51219 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
51221 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
51223 [generic bits/local_lim.h] (before-compile): Do not append to
51225 [generic bits/local_lim.h] (common-generated): Likewise.
51226 [generic sys/param.h] (before-compile): Do not append to variable.
51227 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
51228 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
51229 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
51230 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
51232 [generic sys/param.h] (sys/param.h-includes): Remove variable.
51233 [generic sys/param.h] (sys/param.h-includes): Remove rule.
51234 [generic sys/param.h] ($(addprefix
51235 $(common-objpfx),$(sys/param.h-includes))): Likewise.
51236 [generic sys/param.h] (common-generated): Do not append to
51238 [generic sys/param.h] (sysdep_headers): Likewise.
51239 [generic bits/errno.h] (before-compile): Do not append to
51241 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
51243 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
51244 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
51245 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
51246 [generic bits/errno.h] (common-generated): Do not append to
51248 [generic bits/ioctls.h] (before-compile): Do not append to
51250 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
51252 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
51253 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
51254 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
51256 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
51257 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
51258 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
51259 [generic bits/ioctls.h] (common-generated): Do not append to
51261 [generic sys/syscall.h] (syscall.h): Remove variable.
51262 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
51264 [generic sys/syscall.h] (before-compile): Do not append to
51266 [generic sys/syscall.h] (common-generated): Likewise.
51267 * sysdeps/unix/errnos-tmpl.c: Remove file.
51268 * sysdeps/unix/errnos.awk: Likewise.
51269 * sysdeps/unix/ioctls-tmpl.c: Likewise.
51270 * sysdeps/unix/ioctls.awk: Likewise.
51271 * sysdeps/unix/mk-local_lim.c: Likewise.
51272 * sysdeps/unix/snarf-ioctls: Likewise.
51274 2012-03-19 Richard Henderson <rth@twiddle.net>
51276 * sysdeps/i386/fpu/fenv_private.h: New file.
51277 * sysdeps/i386/fpu/math_private.h: Use it.
51278 (math_opt_barrier, math_force_eval): Remove.
51279 (libc_feholdexcept_setround_53bit): Remove.
51280 (libc_feupdateenv_53bit): Remove.
51281 * sysdeps/x86_64/fpu/math_private.h: Likewise.
51282 (math_opt_barrier, math_force_eval): Remove.
51283 (libc_feholdexcept): Remove.
51284 (libc_feholdexcept_setround): Remove.
51285 (libc_fetestexcept, libc_fesetenv): Remove.
51286 (libc_feupdateenv_test): Remove.
51287 (libc_feupdateenv, libc_feholdsetround): Remove.
51288 (libc_feresetround): Remove.
51290 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
51291 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
51293 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
51294 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
51295 (libc_feupdateenv_testl): New.
51296 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
51297 (libc_feupdateenv_testf): New.
51298 (libc_feupdateenv): Use libc_feupdateenv_test.
51299 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
51300 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
51302 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
51303 (libc_feholdsetroundf, libc_feholdsetroundl): New.
51304 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
51305 (libc_feresetround_noex): New.
51306 (libc_feresetround_noexf): New.
51307 (libc_feresetround_noexl): New.
51308 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
51309 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
51310 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
51311 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
51313 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
51314 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
51316 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
51317 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
51318 SET_RESTORE_ROUND_NOEX.
51319 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
51320 SET_RESTORE_ROUND_NOEXF.
51321 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
51322 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
51323 (libc_feholdsetroundf): New.
51324 (libc_feresetround, libc_feresetroundf): New.
51326 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
51327 (libc_feholdexcept_setround_53bit): Convert from macro to function.
51328 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
51330 * sysdeps/generic/math_private.h: Include <fenv.h>.
51331 (default_libc_feholdexcept): New.
51332 (default_libc_feholdexcept_setround): New.
51333 (default_libc_fesetenv, default_libc_feupdateenv): New.
51334 (libc_feholdexcept): Only define if undefined.
51335 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
51336 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
51337 (libc_feholdexcept_setroundl): Likewise.
51338 (libc_feholdexcept_setround_53bit): Likewise.
51339 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
51340 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
51341 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
51342 (libc_feupdateenv_53bit): Likewise.
51343 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
51344 (libc_feholdexcept): Convert from macro to inline function.
51345 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
51346 (libc_fesetenv, libc_feupdateenv): Likewise.
51348 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
51349 not previously defined.
51350 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
51351 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
51352 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
51353 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
51354 * sysdeps/ieee754/flt-32/math_private.h: New file.
51355 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
51356 math_private.h below SET_FLOAT_WORD.
51357 (__isnan, __isinf_ns, __finite): Remove.
51358 (__isnanf, __isinf_nsf, __finitef): Remove.
51360 2012-03-18 Andreas Schwab <schwab@linux-m68k.org>
51362 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
51364 2012-03-17 David S. Miller <davem@davemloft.net>
51367 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
51370 2012-03-16 David S. Miller <davem@davemloft.net>
51372 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
51376 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
51378 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
51379 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
51380 sysdep_routines when subdir is sysvipc.
51381 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
51382 __getshmlba helper.
51384 * sysdeps/sparc/fpu/libm-test/ulps: Update.
51386 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
51388 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
51391 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
51393 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
51394 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
51395 (__lround): Renamed to ...
51396 (__llround): This. Replace long int with long long int.
51397 Define lround functions as aliases of llround functions.
51398 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
51400 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
51402 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
51403 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
51404 adresses to uintptr_t. Replace "long int" and "unsigned long
51405 int" with "greg_t" on va_arg.
51407 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
51409 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
51410 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
51412 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
51413 Move e_machine check before EI_CLASS check. Handle x32
51414 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
51415 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
51416 SKIP_EM_IA_64 and include
51417 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
51419 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
51420 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
51421 (add_system_dir): New macro.
51423 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
51424 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
51426 2012-03-16 Joseph Myers <joseph@codesourcery.com>
51437 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
51439 * math/w_j0f.c (j0f): Likewise.
51441 * math/w_j0l.c (__j0l): Likewise.
51443 * math/w_j1.c (j1): Likewise.
51445 * math/w_j1f.c (j1f): Likewise.
51447 * math/w_j1l.c (__j1l): Likewise.
51449 * math/w_jn.c (jn): Likewise.
51451 * math/w_jnf.c (jnf): Likewise.
51453 * math/w_jnl.c (__jnl): Likewise.
51455 * math/libm-test.inc (j0_test): Add more tests.
51456 (j1_test): Likewise.
51457 (jn_test): Likewise. Add trailing semicolon to existing test.
51458 (y0_test): Likewise.
51459 (y1_test): Likewise.
51460 * sysdeps/i386/fpu/libm-test-ulps: Update.
51461 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51465 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
51466 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
51467 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
51468 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
51469 (__tanl): Set errno for infinite argument.
51470 * sysdeps/i386/fpu/mptan.c: Remove.
51471 * sysdeps/i386/fpu/s_tan.S: Likewise.
51472 * sysdeps/i386/fpu/s_tanl.S: Likewise.
51473 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
51474 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
51475 * math/libm-test.inc (tan_test): Add more tests and enable more
51476 tests for double and long double.
51477 * sysdeps/i386/fpu/libm-test-ulps: Update.
51478 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51480 2012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
51482 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
51483 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
51485 2012-03-16 Roland McGrath <roland@hack.frob.com>
51487 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
51488 * configure.in: Use it for both main tree and add-ons.
51489 * configure: Regenerated.
51491 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
51493 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
51495 2012-03-16 Joseph Myers <joseph@codesourcery.com>
51497 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
51501 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
51502 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
51503 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
51504 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
51505 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
51507 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
51508 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
51509 != 0 for prec == 2.
51510 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
51511 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
51512 * sysdeps/i386/fpu/s_cosl.S: Likewise.
51513 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
51514 * sysdeps/i386/fpu/s_sinl.S: Likewise.
51515 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
51516 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
51517 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
51518 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
51519 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
51520 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
51521 * math/libm-test.inc (cos_test): Add more tests and enable more
51522 tests for long double.
51523 (sin_test): Likewise.
51524 (sincos_test): Likewise.
51525 * sysdeps/i386/fpu/libm-test-ulps: Update.
51526 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51528 2012-03-16 David S. Miller <davem@davemloft.net>
51530 * sysdeps/sparc/fpu/math_private.h: New file.
51532 2012-03-15 David S. Miller <davem@davemloft.net>
51534 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
51536 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
51537 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
51539 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
51540 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
51541 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
51542 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
51543 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
51544 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
51546 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
51548 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
51549 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
51551 * sysdeps/sparc/sparc-ifunc.h: New file.
51552 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
51554 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
51555 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
51557 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
51559 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
51560 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
51561 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
51562 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
51564 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
51565 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
51566 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
51567 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
51568 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
51570 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
51572 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
51573 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
51574 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
51575 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
51576 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
51577 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
51578 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
51579 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
51580 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
51581 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
51582 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
51583 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
51584 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
51585 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
51586 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
51587 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
51588 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
51589 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
51590 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
51591 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
51592 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
51593 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
51594 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
51595 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
51597 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
51599 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
51601 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
51603 2012-03-15 Andreas Jaeger <aj@suse.de>
51606 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
51607 ieee754/flt-32 implementation for sin, cos and sincos.
51608 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
51609 * sysdeps/i386/fpu/s_cosf.S: Likewise.
51610 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
51611 * sysdeps/i386/fpu/s_sinf.S: Likewise.
51612 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
51613 ieee754/flt-32 implementation for tan.
51615 * math/libm-test.inc (cos_test): Enable some large input tests for
51617 (sin_test): Likewise.
51618 (sincos_test): Likewise.
51619 (tan_test): Add tests for large input.
51621 * sysdeps/i386/fpu/libm-test-ulps: Update.
51623 2012-03-15 Andreas Jaeger <aj@suse.de>
51626 * math/libm-test.inc (cos_test): Add more test cases.
51627 (sin_test): Likewise.
51628 (sincos_test): Likewise.
51630 2012-03-15 Andreas Jaeger <aj@suse.de>
51633 * math/libm-test.inc (cos_test): Add a test case for large input
51635 (sin_test): Likewise.
51636 (sincos_test): Likewise.
51638 2012-03-15 Andreas Jaeger <aj@suse.de>
51639 Joseph Myers <joseph@codesourcery.com>
51642 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
51643 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
51644 * sysdeps/i386/fpu/branred.c: Likewise.
51645 * sysdeps/i386/fpu/dosincos.c: Likewise.
51646 * sysdeps/i386/fpu/mpa.c: Likewise.
51647 * sysdeps/i386/fpu/s_cos.S: Likewise.
51648 * sysdeps/i386/fpu/s_sin.S: Likewise.
51649 * sysdeps/i386/fpu/s_sincos.S: Likewise.
51650 * sysdeps/i386/fpu/sincos32.c: Likewise.
51652 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
51654 (libc_feupdateenv_53bit): Define.
51655 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
51657 (libc_feupdateenv_53bit): Define.
51659 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
51660 53 bit (without extend i386 double precision).
51662 * math/libm-test.inc (sincos_test): Add tests for large input.
51666 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
51668 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
51670 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
51672 2012-03-15 David S. Miller <davem@davemloft.net>
51674 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
51675 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
51676 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
51677 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
51678 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
51679 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
51680 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
51681 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
51682 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
51683 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
51684 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
51685 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
51686 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
51687 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
51688 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
51689 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
51691 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
51692 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
51694 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
51695 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
51697 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
51698 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
51700 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
51701 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
51702 fmin/fmax sysdep routines.
51703 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
51705 2012-03-14 David S. Miller <davem@davemloft.net>
51707 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
51708 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
51709 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
51710 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
51711 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
51712 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
51713 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
51714 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
51715 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
51716 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
51717 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
51718 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
51719 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
51720 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
51721 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
51722 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
51723 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
51724 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
51725 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
51726 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
51727 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
51728 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
51729 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
51730 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
51731 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
51732 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
51733 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
51734 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
51735 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
51737 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
51739 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
51740 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
51742 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
51743 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
51745 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
51746 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
51748 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
51749 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
51751 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
51752 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
51754 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
51756 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
51758 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
51760 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
51762 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
51764 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
51766 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
51767 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
51769 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
51770 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
51772 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
51773 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
51775 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
51776 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
51779 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
51782 * sysdeps/sparc/fpu/libm-test-ulps: Update.
51784 * sysdeps/sparc/configure.in: New file.
51785 * sysdeps/sparc/configure: Generate.
51786 * configure.in (libc_cv_sparc_as_vis3): Substitute.
51787 * configure: Regenerate.
51788 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
51789 * config.make.in (have-as-vis3): New.
51790 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
51791 available use -Av9d instead of -Av9a.
51792 * sysdeps/sparc/sparc64/Makefile: Likewise.
51793 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
51794 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
51796 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
51798 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
51800 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
51802 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
51803 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
51804 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
51805 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
51806 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
51808 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
51809 fzeros/fnegs to load 0x80000000 into a float register instead of
51811 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
51813 2012-03-14 Joseph Myers <joseph@codesourcery.com>
51815 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
51817 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
51818 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
51819 ($(inst_includedir)/bits/syscall.h): Remove rule.
51820 ($(objpfx)bits/syscall.d): Include instead of
51821 $(objpfx)syscall-list.d.
51822 (generated): Change syscall-list.h and syscall-list.d to
51823 bits/syscall.h and bits/syscall.d.
51825 2012-03-14 Roland McGrath <roland@hack.frob.com>
51828 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
51830 2012-03-14 Joseph Myers <joseph@codesourcery.com>
51833 * math/s_csqrt.c: Include <float.h>.
51834 (__csqrt): Scale large or subnormal inputs.
51835 * math/s_csqrtf.c: Likewise.
51836 * math/s_csqrtl.c: Likewise.
51837 * math/libm-test.inc (csqrt_test): Add more tests.
51838 * sysdeps/i386/fpu/libm-test-ulps: Update.
51839 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51842 * math/libm-test.inc (hypot_test): Add more tests.
51844 2012-03-13 David S. Miller <davem@davemloft.net>
51847 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
51848 double-precision for the calculation instead of scaling.
51850 2012-03-13 Joseph Myers <joseph@codesourcery.com>
51852 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
51853 manipulate bits before adding and subtracting TWO52[sx].
51854 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
51855 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
51857 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
51859 2012-03-13 David S. Miller <davem@davemloft.net>
51861 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
51862 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
51863 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
51864 rtld-global-offsets.h
51865 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
51867 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
51870 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
51872 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
51873 'err' in the ifdef scope in which it is actually used.
51875 * nss/nss_db/db-init.c: Include string.h
51877 2012-03-12 David S. Miller <davem@davemloft.net>
51879 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
51880 masking out of the most significant byte of random value used.
51881 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
51882 Fix coding style in previous change.
51884 * sysdeps/unix/sysv/linux/kernel-features.h
51885 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
51886 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
51888 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
51891 2012-03-11 David S. Miller <davem@davemloft.net>
51893 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
51894 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
51895 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
51896 for 'resultvar' otherwise things get truncated on 64-bit.
51898 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
51899 Fix masking out of the most significant byte of random value used.
51901 * sysdeps/sparc/fpu/libm-test-ulps: Update.
51903 2012-03-10 Andreas Schwab <schwab@linux-m68k.org>
51905 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
51907 2012-03-09 David S. Miller <davem@davemloft.net>
51909 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
51910 variables with appropriate CPP guards.
51911 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
51912 from the frame pointer, not the stack pointer. Correct layout
51913 comments. Fix test on resulting framesize and the management of
51914 the outregs buffer for pltexit. Preserve floating point return
51915 values across _dl_call_pltexit call.
51916 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
51917 framesize and the management of the outregs buffer for pltexit.
51918 Preserve floating point return values across _dl_call_pltexit
51920 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
51921 (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
51922 (la_sparc64_gnu_pltexit): New functions.
51923 (print_exit): Fix format string for return register value.
51925 2012-03-10 Joseph Myers <joseph@codesourcery.com>
51927 * sunrpc/Makefile (others): Add rpcgen.
51928 ($(objpfx)rpcgen): Remove special build rule and dependency on
51930 * sunrpc/rpcgen.c: New file.
51932 2012-03-09 Paul Eggert <eggert@cs.ucla.edu>
51935 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
51936 * stdio-common/bug-vfprintf-nargs.c: Likewise.
51937 * sysdeps/i386/crti.S: Likewise.
51938 * sysdeps/i386/crtn.S: Likewise.
51939 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
51940 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
51941 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
51942 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
51943 * sysdeps/sh/crti.S: Likewise.
51944 * sysdeps/sh/crtn.S: Likewise.
51945 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
51948 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
51950 * locale/programs/locfile-kw.gperf: Likewise.
51951 * locale/programs/charmap-kw.h: Regenerated.
51952 * locale/programs/locfile-kw.h: Likewise.
51955 * intl/plural.y: Replace FSF snail mail address with URL.
51956 * intl/plural.c: Regenerated.
51958 2012-03-09 Richard Henderson <rth@twiddle.net>
51960 * include/math_private.h: Remove file.
51961 * math/math_private.h: Move file ...
51962 * sysdeps/generic/math_private.h: ... here.
51964 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
51965 * sysdeps/powerpc/fpu/math_private.h: Likewise.
51966 * sysdeps/x86_64/fpu/math_private.h: Likewise.
51968 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
51969 and <math_private.h>.
51970 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
51971 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
51972 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
51973 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
51974 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
51975 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
51976 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
51977 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
51978 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
51979 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
51980 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
51981 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
51982 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
51983 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
51984 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
51985 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
51986 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
51987 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
51988 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
51989 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
51990 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
51991 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
51992 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
51993 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
51994 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
51995 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
51996 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
51997 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
51998 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
51999 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
52000 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
52001 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
52002 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
52003 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
52004 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
52005 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
52006 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
52007 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
52008 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
52009 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
52010 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
52011 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
52012 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
52013 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
52014 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
52015 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
52016 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
52017 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
52018 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
52019 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
52020 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
52021 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
52022 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
52023 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
52024 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
52025 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
52026 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
52027 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
52028 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
52029 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
52030 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
52031 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
52032 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
52033 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
52034 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
52035 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
52036 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
52037 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
52038 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
52039 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
52040 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
52041 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
52042 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
52043 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
52044 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
52045 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
52046 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
52047 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
52048 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
52049 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
52050 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
52051 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
52052 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
52053 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
52054 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
52055 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
52056 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
52057 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
52058 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
52059 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
52060 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
52061 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
52062 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
52063 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
52064 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
52065 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
52066 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
52067 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
52068 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
52069 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
52070 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
52071 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
52072 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
52073 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
52074 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
52075 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
52076 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
52077 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
52078 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
52079 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
52080 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
52081 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
52082 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
52083 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
52084 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
52085 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
52086 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
52087 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
52088 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
52089 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
52090 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
52091 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
52092 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
52093 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
52094 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
52095 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
52096 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
52097 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
52098 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
52099 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
52100 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
52101 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
52102 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
52103 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
52104 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
52105 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
52106 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
52107 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
52108 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
52109 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
52110 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
52111 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
52112 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
52113 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
52114 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
52115 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
52116 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
52117 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
52118 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
52119 * sysdeps/ieee754/k_standard.c: Likewise.
52120 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
52121 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
52122 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
52123 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
52124 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
52125 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
52126 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
52127 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
52128 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
52129 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
52130 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
52131 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
52132 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
52133 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
52134 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
52135 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
52136 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
52137 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
52138 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
52139 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
52140 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
52141 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
52142 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
52143 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
52144 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
52145 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
52146 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
52147 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
52148 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
52149 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
52150 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
52151 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
52152 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
52153 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
52154 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
52155 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
52156 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
52157 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
52158 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
52159 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
52160 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
52161 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
52162 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
52163 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
52164 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
52165 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
52166 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
52167 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
52168 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
52169 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
52170 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
52171 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
52172 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
52173 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
52174 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
52175 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
52176 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
52177 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
52178 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
52179 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
52180 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
52181 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
52182 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
52183 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
52184 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
52185 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
52186 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
52187 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
52188 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
52189 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
52190 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
52191 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
52192 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
52193 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
52194 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
52195 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
52196 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
52197 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
52198 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
52199 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
52200 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
52201 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
52202 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
52203 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
52204 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
52205 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
52206 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
52207 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
52208 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
52209 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
52210 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
52211 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
52212 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
52213 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
52214 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
52215 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
52216 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
52217 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
52218 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
52219 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
52220 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
52221 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
52222 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
52223 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
52224 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
52225 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
52226 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
52227 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
52228 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
52229 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
52230 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
52231 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
52232 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
52233 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
52234 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
52235 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
52236 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
52237 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
52238 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
52239 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
52240 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
52241 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
52242 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
52243 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
52244 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
52245 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
52246 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
52247 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
52248 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
52249 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
52250 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
52251 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
52252 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
52253 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
52254 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
52255 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
52256 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
52257 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
52258 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
52259 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
52260 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
52261 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
52262 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
52263 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
52264 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
52265 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
52266 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
52267 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
52268 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
52269 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
52270 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
52271 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
52272 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
52273 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
52274 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
52275 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
52276 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
52277 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
52278 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
52279 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
52280 * sysdeps/ieee754/s_lib_version.c: Likewise.
52281 * sysdeps/ieee754/s_matherr.c: Likewise.
52282 * sysdeps/ieee754/s_signgam.c: Likewise.
52283 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
52284 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
52285 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
52286 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
52287 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
52288 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
52289 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
52290 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
52291 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
52292 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
52293 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
52294 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
52295 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
52296 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
52297 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
52298 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
52299 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
52300 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
52301 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
52302 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
52303 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
52305 2012-03-09 Joseph Myers <joseph@codesourcery.com>
52307 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
52308 * sunrpc/rpc_main.c: Likewise.
52309 * sunrpc/rpc_svcout.c: Likewise.
52311 2012-03-09 David S. Miller <davem@davemloft.net>
52313 * include/math_private.h: New file.
52315 2012-03-09 Joseph Myers <joseph@codesourcery.com>
52317 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
52318 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
52319 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
52320 from <bits/socket_type.h>.
52321 (enum __socket_type): Don't define here.
52322 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
52323 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
52324 bits/socket_type.h.
52327 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
52328 checking __USE_GNU.
52330 * Makerules ($(inst_includedir)/%.h): New rule.
52331 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
52332 (install-others): Remove variable setting.
52333 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
52335 2012-03-08 Richard Henderson <rth@twiddle.net>
52337 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
52338 from macro to inline function; merge with the
52339 !__LIBC_INTERNAL_MATH_INLINES version.
52340 (__ieee754_sqrtf): Likewise.
52342 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
52343 to inline function.
52344 (__rintf, __floor, __floorf): Likewise.
52346 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
52347 macro to inline function.
52348 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
52350 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
52351 not <math/math_private.h>.
52353 2012-03-08 David S. Miller <davem@davemloft.net>
52355 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
52357 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
52359 2012-03-08 Thomas Schwinge <thomas@codesourcery.com>
52361 * resolv/gai_misc.c (handle_requests): Fix struct timespec
52363 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
52364 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
52366 2012-03-08 Ulrich Drepper <drepper@gmail.com>
52368 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
52369 be defined individually, they must be defined as a block. Define
52370 S for printing a string instead of hidint the different by using a
52371 macro for adding the 'l'.
52372 * stdio-common/tst-fphex-wide.c: Adjust.
52374 2012-03-07 Marek Polacek <polacek@redhat.com>
52376 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
52378 2012-03-08 Marek Polacek <polacek@redhat.com>
52381 * stdio-common/Makefile (tests): Add tst-fphex-wide.
52382 * stdio-common/tst-fphex.c: Define a few macros to make the
52383 test reusable. Use them.
52384 * stdio-common/tst-fphex-wide.c: New file.
52386 2012-03-08 Joseph Myers <joseph@codesourcery.com>
52389 * manual/macros.texi (gnusystems): New macro.
52390 (nongnusystems): Likewise.
52391 (gnulinuxhurdsystems): Likewise.
52392 (gnuhurdsystems): Likewise..
52393 (gnulinuxsystems): Likewise.
52394 * manual/charset.texi: Use new macros or @theglibc{} to refer to
52395 variants of the GNU system, not "GNU system".
52396 * manual/conf.texi: Likewise.
52397 * manual/errno.texi: Likewise. Update example of errno macro
52399 * manual/filesys.texi: Likewise.
52400 (getumask): Document as specific to GNU/Hurd.
52401 * manual/install.texi: Likewise. Reword some references to
52403 * manual/intro.texi: Likewise.
52404 * manual/io.texi: Likewise.
52405 (File Name Portability): Detail which constraints are inapplicable
52406 to all GNU systems and which are only inapplicable to GNU/Hurd.
52407 * manual/job.texi: Likewise.
52408 * manual/llio.texi: Likewise.
52409 (O_NOCTTY): Document as present on GNU/Linux.
52410 * manual/maint.texi: Likewise.
52411 * manual/memory.texi: Likewise.
52412 * manual/pattern.texi: Likewise.
52413 * manual/pipe.texi: Likewise.
52414 * manual/process.texi: Likewise.
52415 * manual/resource.texi: Likewise.
52416 (RUSAGE_CHILDREN): Remove statement about specifying a particular
52418 * manual/setjmp.texi: Likewise.
52419 * manual/signal.texi: Likewise.
52420 * manual/startup.texi: Likewise.
52421 * manual/stdio.texi: Likewise.
52422 * manual/terminal.texi: Likewise.
52423 (ONLCR): Document as POSIX.
52424 (OXTABS): Document availability on GNU/Linux as XTABS.
52425 (ONOEOT): Document availability separately from other bits.
52426 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
52427 * manual/time.texi: Likewise.
52428 * manual/users.texi: Likewise.
52429 * INSTALL: Regenerated.
52430 * sysdeps/gnu/errlist.c: Regenerated.
52432 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
52433 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
52434 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
52436 * configure: Regenerated.
52438 2012-03-07 Joseph Myers <joseph@codesourcery.com>
52440 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
52441 default includes instead of AC_HEADER_CHECK.
52442 * sysdeps/i386/configure: Regenerated.
52445 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
52446 * math/s_cacoshf.c (__cacoshf): Likewise.
52447 * math/s_cacoshl.c (__cacoshl): Likewise.
52448 * math/s_casinh.c (__casinh): Set signs of result from argument.
52449 * math/s_casinhf.c (__casinhf): Likewise.
52450 * math/s_casinhl.c (__casinhl): Likewise.
52451 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
52452 (casinh_test): Add more tests.
52453 * sysdeps/i386/fpu/libm-test-ulps: Update.
52454 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52456 2012-03-07 Ulrich Drepper <drepper@gmail.com>
52458 * po/zh_TW.po: Update from translation team.
52460 * login/Makefile (distribute): Remove variable.
52461 * catgets/Makefile: Likewise.
52462 * mach/Makefile: Likewise.
52463 * malloc/Makefile: Likewise.
52464 * misc/Makefile: Likewise.
52465 * iconv/Makefile: Likewise.
52466 * nscd/Makefile: Likewise.
52467 * hurd/Makefile: Likewise.
52468 * manual/Makefile: Likewise.
52469 * locale/Makefile: Likewise.
52470 * intl/Makefile: Likewise.
52471 * conform/Makefile: Likewise.
52472 * nss/Makefile: Likewise.
52473 * time/Makefile: Likewise.
52474 * soft-fp/Makefile: Likewise.
52475 * dirent/Makefile: Likewise.
52476 * gmon/Makefile: Likewise.
52477 * po/Makefile: Likewise.
52478 * rt/Makefile: Likewise.
52479 * socket/Makefile: Likewise.
52480 * math/Makefile: Likewise.
52481 * signal/Makefile: Likewise.
52482 * debug/Makefile: Likewise.
52483 * elf/Makefile: Likewise.
52484 * timezone/Makefile: Likewise.
52485 * stdlib/Makefile: Likewise.
52486 * iconvdata/Makefile: Likewise.
52487 * sunrpc/Makefile: Likewise.
52488 * io/Makefile: Likewise.
52489 * argp/Makefile: Likewise.
52490 * inet/Makefile: Likewise.
52491 * hesiod/Makefile: Likewise.
52492 * grp/Makefile: Likewise.
52493 * csu/Makefile: Likewise.
52494 * wctype/Makefile: Likewise.
52495 * crypt/Makefile: Likewise.
52496 * libio/Makefile: Likewise.
52497 * string/Makefile: Likewise.
52498 * nis/Makefile: Likewise.
52499 * resolv/Makefile: Likewise.
52500 * stdio-common/Makefile: Likewise.
52501 * wcsmbs/Makefile: Likewise.
52502 * dlfcn/Makefile: Likewise.
52503 * posix/Makefile: Likewise.
52506 * timezone/Makefile: Don't install timezone files, just the programs
52509 2012-03-06 Ulrich Drepper <drepper@gmail.com>
52511 * nss/databases.def: Add missing gshadow entry.
52513 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
52515 2012-03-06 Marek Polacek <polacek@redhat.com>
52518 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
52519 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
52520 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
52521 * stdio-common/tst-long-dbl-fphex.c: New file.
52523 2012-03-06 David S. Miller <davem@davemloft.net>
52525 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
52526 (set_obp_int): New function.
52527 (get_obp_int): New function.
52528 (__get_clockfreq_via_dev_openprom): Likewise.
52529 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
52530 Avoid unused variable warnings on 'val' and use builtin_expect.
52531 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
52533 (INLINE_CLONE_SYSCALL): Likewise.
52535 2012-03-05 David S. Miller <davem@davemloft.net>
52537 * sysdeps/sparc/fpu/libm-test-ulps: Update.
52539 2012-03-05 Andreas Schwab <schwab@linux-m68k.org>
52541 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
52543 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
52544 only for |x| >= 40.
52545 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
52547 2012-03-05 H.J. Lu <hongjiu.lu@intel.com>
52549 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
52550 Replace gettimeofday with __vdso_gettimeofday.
52552 * sysdeps/unix/sysv/linux/x86_64/init-first.c
52553 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
52554 __vdso_clock_gettime and __vdso_getcpu.
52556 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
52557 time with __vdso_time.
52559 2012-03-05 Joseph Myers <joseph@codesourcery.com>
52561 * manual/lang.texi (size_t): Note types to which size_t may be
52562 equivalent with the GNU C Library, but do not describe when
52563 differences between them are significant.
52565 2012-03-05 Andreas Jaeger <aj@suse.de>
52567 * sysdeps/i386/fpu/libm-test-ulps: Update.
52569 2012-03-05 Joseph Myers <joseph@codesourcery.com>
52572 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
52573 (__ieee754_pow): Save and restore rounding mode and use
52574 round-to-nearest for main computations.
52575 * math/libm-test.inc (pow_test_tonearest): New function.
52576 (pow_test_towardzero): Likewise.
52577 (pow_test_downward): Likewise.
52578 (pow_test_upward): Likewise.
52579 (main): Call the new functions.
52580 * sysdeps/i386/fpu/libm-test-ulps: Update.
52581 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52584 * math/libm-test.inc (cosh_test_tonearest): New function.
52585 (cosh_test_towardzero): Likewise.
52586 (cosh_test_downward): Likewise.
52587 (cosh_test_upward): Likewise.
52588 (sinh_test_tonearest): Likewise.
52589 (sinh_test_towardzero): Likewise.
52590 (sinh_test_downward): Likewise.
52591 (sinh_test_upward): Likewise.
52592 (main): Call the new functions.
52593 * sysdeps/i386/fpu/libm-test-ulps: Update.
52594 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52596 2012-03-05 Tom de Vries <tom@codesourcery.com>
52598 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
52599 default stack guard is set in last bytes.
52600 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
52602 2012-03-05 Kees Cook <keescook@chromium.org>
52604 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
52607 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
52608 possibly allocate from heap instead of stack.
52609 * stdio-common/bug-vfprintf-nargs.c: New file.
52610 * stdio-common/Makefile (tests): Add nargs overflow test.
52612 2012-03-03 Andreas Schwab <schwab@linux-m68k.org>
52614 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
52616 2012-03-03 Marek Polacek <polacek@redhat.com>
52618 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
52619 * math/math_private.h: Likewise.
52620 * stdlib/tst-strtod.c: Likewise.
52621 * sysdeps/i386/i486/bits/atomic.h: Likewise.
52622 * sysdeps/x86_64/bits/atomic.h: Likewise.
52624 2012-03-02 David S. Miller <davem@davemloft.net>
52626 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
52627 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
52628 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
52629 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
52630 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
52631 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
52632 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
52633 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
52635 2012-03-02 Roland McGrath <roland@hack.frob.com>
52638 * manual/examples/README: New file, says the example source files
52639 can be used under GPL>=2.
52640 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
52641 line containing just "*/".
52642 * manual/examples/add.c: Add copyright header (GPL>=2).
52643 * manual/examples/argp-ex1.c: Likewise.
52644 * manual/examples/argp-ex2.c: Likewise.
52645 * manual/examples/argp-ex3.c: Likewise.
52646 * manual/examples/argp-ex4.c: Likewise.
52647 * manual/examples/atexit.c: Likewise.
52648 * manual/examples/db.c: Likewise.
52649 * manual/examples/dir.c: Likewise.
52650 * manual/examples/dir2.c: Likewise.
52651 * manual/examples/execinfo.c: Likewise.
52652 * manual/examples/filecli.c: Likewise.
52653 * manual/examples/filesrv.c: Likewise.
52654 * manual/examples/fmtmsgexpl.c: Likewise.
52655 * manual/examples/genpass.c: Likewise.
52656 * manual/examples/inetcli.c: Likewise.
52657 * manual/examples/inetsrv.c: Likewise.
52658 * manual/examples/isockad.c: Likewise.
52659 * manual/examples/longopt.c: Likewise.
52660 * manual/examples/memopen.c: Likewise.
52661 * manual/examples/memstrm.c: Likewise.
52662 * manual/examples/mkfsock.c: Likewise.
52663 * manual/examples/mkisock.c: Likewise.
52664 * manual/examples/mygetpass.c: Likewise.
52665 * manual/examples/pipe.c: Likewise.
52666 * manual/examples/popen.c: Likewise.
52667 * manual/examples/rprintf.c: Likewise.
52668 * manual/examples/search.c: Likewise.
52669 * manual/examples/select.c: Likewise.
52670 * manual/examples/setjmp.c: Likewise.
52671 * manual/examples/sigh1.c: Likewise.
52672 * manual/examples/sigusr.c: Likewise.
52673 * manual/examples/stpcpy.c: Likewise.
52674 * manual/examples/strdupa.c: Likewise.
52675 * manual/examples/strftim.c: Likewise.
52676 * manual/examples/strncat.c: Likewise.
52677 * manual/examples/subopt.c: Likewise.
52678 * manual/examples/swapcontext.c: Likewise.
52679 * manual/examples/termios.c: Likewise.
52680 * manual/examples/testopt.c: Likewise.
52681 * manual/examples/testpass.c: Likewise.
52682 * manual/examples/timeval_subtract.c: Likewise.
52685 * manual/time.texi (Elapsed Time): Move timeval_subtract example
52687 * manual/timeval_subtract.c.texi: ... here, new file.
52689 2012-03-02 David S. Miller <davem@davemloft.net>
52691 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
52693 2012-03-02 Joseph Myers <joseph@codesourcery.com>
52696 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
52697 (__sin): Save and restore rounding mode and use round-to-nearest
52698 for all computations.
52699 (__cos): Save and restore rounding mode and use round-to-nearest
52700 for all computations.
52701 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
52703 (tan): Save and restore rounding mode and use round-to-nearest for
52705 * math/libm-test.inc (cos_test_tonearest): New function.
52706 (cos_test_towardzero): Likewise.
52707 (cos_test_downward): Likewise.
52708 (cos_test_upward): Likewise.
52709 (sin_test_tonearest): Likewise.
52710 (sin_test_towardzero): Likewise.
52711 (sin_test_downward): Likewise.
52712 (sin_test_upward): Likewise.
52713 (tan_test_tonearest): Likewise.
52714 (tan_test_towardzero): Likewise.
52715 (tan_test_downward): Likewise.
52716 (tan_test_upward): Likewise.
52717 (main): Call the new functions.
52718 * sysdeps/i386/fpu/libm-test-ulps: Update.
52719 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52722 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
52723 small n, then large n, before computing and testing k+n.
52724 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
52725 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
52727 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
52729 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
52730 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
52731 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
52732 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
52733 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
52734 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
52735 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
52736 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
52737 * math/libm-test.inc (scalbn_test): Add more tests.
52738 (scalbln_test): Likewise.
52740 * manual/filesys.texi (mode_t): Describe constraints on size and
52741 signedness, not exact equivalence to a particular type.
52743 (ino64_t): Likewise.
52745 (nlink_t): Likewise.
52746 (blkcnt_t): Likewise.
52747 (blkcnt64_t): Likewise.
52748 * manual/llio.texi (off_t): Likewise.
52751 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
52752 (__ieee754_exp): Save and restore rounding mode and use
52753 round-to-nearest for all computations.
52754 * math/libm-test.inc (exp_test_tonearest): New function.
52755 (exp_test_towardzero): Likewise.
52756 (exp_test_downward): Likewise.
52757 (exp_test_upward): Likewise.
52758 (main): Call the new functions.
52759 * sysdeps/i386/fpu/libm-test-ulps: Update.
52760 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52762 2012-03-01 Chris Demetriou <cgd@google.com>
52764 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
52765 have predictable order.
52767 2012-03-01 David S. Miller <davem@davemloft.net>
52769 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
52771 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
52772 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
52773 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
52774 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
52776 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
52777 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
52778 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
52779 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
52780 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
52781 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
52782 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
52783 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
52784 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
52786 * sysdeps/sparc/fpu/libm-test-ulps: Update.
52788 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
52789 * sysdeps/sparc/fpu/libm-test-ulps: to here.
52790 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
52792 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
52793 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
52794 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
52795 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
52796 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
52797 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
52798 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
52799 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
52800 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
52801 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
52802 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
52803 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
52804 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
52805 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
52806 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
52807 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
52808 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
52809 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
52810 * sysdeps/sparc/elf/configure: Regenerated.
52812 2012-03-01 Joseph Myers <joseph@codesourcery.com>
52814 * configure.in (AS, LD): Require binutils 2.20 or later.
52815 * configure: Regenerated.
52816 * manual/install.texi (Tools for Compilation): Give binutils 2.20
52817 as required minimum version.
52818 * INSTALL: Regenerated.
52822 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
52823 before squaring exponent.
52824 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
52825 bottom long double and 27 bits of top long double before squaring
52827 * math/libm-test.inc (erfc_test): Add more tests.
52828 * sysdeps/i386/fpu/libm-test-ulps: Update.
52829 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
52830 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52832 2012-03-01 Kai Tietz <ktietz@redhat.com>
52834 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
52835 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
52836 containing bit-fields.
52837 * soft-fp/extended.h (_FP_UNION_E): Likewise.
52838 * soft-fp/single.h (_FP_UNION_S): Likewise.
52839 * soft-fp/double.h (_FP_UNION_D): Likewise.
52841 2012-02-29 Joseph Myers <joseph@codesourcery.com>
52844 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
52845 not include ../strcmp.S.
52846 [USE_AS_STRNCASECMP_L]: Likewise.
52847 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
52848 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
52849 * sysdeps/i386/i686/multiarch/strncase_l-c.c
52850 (__strncasecmp_l_ia32): Define as alias to
52851 __strncasecmp_l_nonascii.
52854 * math/libm-test.inc (expm1_test): Add test for bug 5794.
52855 * sysdeps/i386/fpu/libm-test-ulps: Update.
52856 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52858 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
52859 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52861 2012-02-29 Jeff Law <law@redhat.com>
52863 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
52864 out of bounds read.
52866 2012-02-29 Marek Polacek <polacek@redhat.com>
52869 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
52870 * elf/Makefile: Add rules to run tst-unused-dep.out.
52872 2012-02-28 David S. Miller <davem@davemloft.net>
52874 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
52875 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
52876 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
52877 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
52878 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
52879 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
52881 2012-02-29 Joseph Myers <joseph@codesourcery.com>
52883 * math/libm-test.inc (llround_test): Move one test from
52884 lround_test. Use TEST_f_L in moved test.
52885 (lround_test): Move misplaced test to llround_test. Add testcase
52888 2012-02-28 Ulrich Drepper <drepper@gmail.com>
52890 * sysdeps/x86_64/fpu/e_expf.S: New file.
52891 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
52893 2012-02-28 Stanislav Brabec <sbrabec@suse.cz>
52896 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
52897 of remain_len that may cause incomplete multi-byte character and
52899 * posix/bug-regex33.c: New file.
52900 * posix/Makefile (tests): Add bug-regex33.
52902 2012-02-28 Joseph Myers <joseph@codesourcery.com>
52904 * manual/macros.texi: New file.
52905 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
52906 * manual/libc.texinfo: Include macros.texi.
52907 * manual/creatute.texi: Likewise.
52908 * manual/install.texi: Likewise.
52909 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
52910 @glibcadj{} in references to the GNU C Library.
52911 * manual/charset.texi: Likewise.
52912 * manual/conf.texi: Likewise.
52913 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
52914 when not using those macros.
52915 * manual/creature.texi: Likewise.
52916 * manual/crypt.texi: Likewise.
52917 * manual/errno.texi: Likewise.
52918 * manual/filesys.texi: Likewise.
52919 * manual/header.texi: Likewise.
52920 * manual/install.texi: Likewise.
52921 * manual/intro.texi: Likewise.
52922 * manual/io.texi: Likewise.
52923 * manual/job.texi: Likewise.
52924 * manual/lang.texi: Likewise.
52925 * manual/libc.texiinfo: Likewise.
52926 * manual/llio.texi: Likewise.
52927 * manual/locale.texi: Likewise.
52928 * manual/maint.texi: Likewise.
52929 * manual/math.texi: Likewise.
52930 * manual/memory.texi: Likewise.
52931 * manual/message.texi: Likewise.
52932 * manual/nss.texi: Likewise.
52933 * manual/pattern.texi: Likewise.
52934 * manual/process.texi: Likewise.
52935 * manual/resource.texi: Likewise.
52936 * manual/search.texi: Likewise.
52937 * manual/setjmp.texi: Likewise.
52938 * manual/signal.texi: Likewise.
52939 * manual/socket.texi: Likewise.
52940 * manual/startup.texi: Likewise.
52941 * manual/stdio.texi: Likewise.
52942 * manual/string.texi: Likewise.
52943 * manual/sysinfo.texi: Likewise.
52944 * manual/syslog.texi: Likewise.
52945 * manual/terminal.texi: Likewise.
52946 * manual/time.texi: Likewise.
52947 * manual/users.texi: Likewise.
52948 * INSTALL: Regenerated.
52949 * NOTES: Regenerated.
52950 * sysdeps/gnu/errlist.c: Regenerated.
52952 2012-02-28 Andreas Schwab <schwab@linux-m68k.org>
52954 * include/dirent.h: Include <dirstream.h> before
52957 2012-02-28 David S. Miller <davem@davemloft.net>
52959 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
52960 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
52961 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
52962 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
52964 2012-02-27 David S. Miller <davem@davemloft.net>
52966 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
52967 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
52968 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
52969 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
52971 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
52972 frame pointer instead of stack pointer relative arg slot.
52973 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
52974 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
52975 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
52977 2012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
52980 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
52982 2012-02-27 David S. Miller <davem@davemloft.net>
52984 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
52985 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
52986 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
52987 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
52988 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
52989 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
52990 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
52991 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
52993 2012-02-27 Joseph Myers <joseph@codesourcery.com>
52995 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
52996 later. Allow versions 5-9.
52997 * configure: Regenerated.
52998 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
52999 required minimum version and 4.6 as recommended version. Do not
53000 mention bugs in GCC 2.7 and 2.8.
53001 * INSTALL: Regenerated.
53003 2012-02-27 David S. Miller <davem@davemloft.net>
53005 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
53006 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
53007 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
53008 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
53009 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
53010 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
53011 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
53012 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
53014 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
53015 manipulate bits before adding and subtracting TWO112[sx].
53016 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
53018 2012-02-27 Roland McGrath <roland@hack.frob.com>
53021 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
53022 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
53023 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
53024 being in POSIX, because they are in 1003.1-2008.
53026 * rt/tst-aio.c: Include <fcntl.h>.
53027 * rt/tst-aio7.c: Likewise.
53028 * rt/tst-aio64.c: Likewise.
53030 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
53032 2012-02-27 Joseph Myers <joseph@codesourcery.com>
53034 * manual/install.texi (--with-headers): Describe headers as
53035 interface headers, not private headers.
53036 (Specific advice for GNU/Linux systems): Describe use of headers
53037 from "make headers_install", not private headers from older
53039 * INSTALL: Regenerated.
53040 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
53042 * sysdeps/unix/sysv/linux/configure: Regenerated.
53044 * manual/llio.texi (fclean): Remove documentation.
53046 * manual/Makefile (libc-texi-generated): New variable. Include
53048 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
53049 $(libc-texi-generated), not duplicated list of files.
53050 (version.texi, stamp-version): New rules.
53051 (realclean): Remove $(libc-texi-generated), not individual files
53052 from that list. Do not remove dir-add.texinfo.
53053 * manual/libc.texinfo: Comment out uses of edition numbers and
53054 references to printed manual. Remove last-updated dates.
53055 (EDITION): Comment out.
53057 (VERSION, UPDATED): Remove.
53058 (version.texi): Include.
53060 2012-02-27 Andreas Schwab <schwab@linux-m68k.org>
53062 * sysdeps/posix/spawni.c: Include <signal.h>.
53063 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
53064 * sysdeps/pthread/aio_fsync.c: Likewise.
53066 2012-02-26 Ulrich Drepper <drepper@gmail.com>
53068 * conform/Makefile (tests): Run only when not cross-compiling and
53069 when fast-check is not defined.
53071 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
53072 * conform/data/limits.h-data: Fixes for POSIX2008.
53073 * conform/run-conformtest.sh: Run all tests.
53074 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
53076 * include/bits/dlfcn.h: Likewise.
53077 * include/langinfo.h: Likewise.
53078 * include/monetary.h: Likewise.
53079 * include/sys/poll.h: Likewise.
53081 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
53083 * posix/spawn.h: Define __need_sigset_t.
53084 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
53085 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
53086 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
53087 to get sigevent_t only.
53088 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
53089 only for __USE_GNU.
53090 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
53091 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
53092 process_vm_writev only for __USE_GNU.
53093 * termios/termios.h: Declare tcgetsid also for POSIX2008.
53095 * conform/Makefile: For now ignore errors from run-conformtest.
53096 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
53097 POSIX to avoid namespace pollution. Don't prepend headers.
53098 * conform/data/aio.h-data: Fixes for POSIX testing.
53099 * conform/data/fcntl.h-data: Likewise.
53100 * conform/data/glob.h-data: Likewise.
53101 * conform/data/grp.h-data: Likewise.
53102 * conform/data/pthread.h-data: Likewise.
53103 * conform/data/pwd.h-data: Likewise.
53104 * conform/data/signal.h-data: Likewise.
53105 * conform/data/spawn.h-data: Likewise.
53106 * conform/data/stdio.h-data: Likewise.
53107 * conform/data/stdlib.h-data: Likewise.
53108 * conform/data/stropts.h-data: Likewise.
53109 * conform/data/sys/mman.h-data: Likewise.
53110 * conform/data/sys/stat.h-data: Likewise.
53111 * conform/data/sys/types.h-data: Likewise.
53112 * conform/data/sys/wait.h-data: Likewise.
53113 * conform/data/time.h-data: Likewise.
53114 * conform/data/unistd.h-data: Likewise.
53115 * conform/data/utime.h-data: Likewise.
53117 * io/sys/stat.h: fchmod was always in POSIX.
53118 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
53119 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
53120 * rt/aio.h: Define __need_timespec before including <time.h>.
53121 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
53122 struct. Add forward declaration of pthread_attr_t and use it in
53124 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
53125 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
53126 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
53127 always remove CLK_TCK definition.
53129 2012-02-26 Andreas Schwab <schwab@linux-m68k.org>
53131 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
53133 2012-02-25 Ulrich Drepper <drepper@gmail.com>
53135 * conform/run-conformtest.sh: New file.
53136 * conform/Makefile: Run run-conformtest for tests.
53137 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
53140 * conform/data/uchar.h-data: New file.
53141 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
53142 * conform/data/arpa/inet.h-data: Likewise.
53143 * conform/data/assert.h-data: Likewise.
53144 * conform/data/complex.h-data: Likewise.
53145 * conform/data/cpio.h-data: Likewise.
53146 * conform/data/ctype.h-data: Likewise.
53147 * conform/data/dirent.h-data: Likewise.
53148 * conform/data/dlfcn.h-data: Likewise.
53149 * conform/data/errno.h-data: Likewise.
53150 * conform/data/fcntl.h-data: Likewise.
53151 * conform/data/float.h-data: Likewise.
53152 * conform/data/fmtmsg.h-data: Likewise.
53153 * conform/data/fnmatch.h-data: Likewise.
53154 * conform/data/ftw.h-data: Likewise.
53155 * conform/data/glob.h-data: Likewise.
53156 * conform/data/grp.h-data: Likewise.
53157 * conform/data/iconv.h-data: Likewise.
53158 * conform/data/inttypes.h-data: Likewise.
53159 * conform/data/langinfo.h-data: Likewise.
53160 * conform/data/libgen.h-data: Likewise.
53161 * conform/data/limits.h-data: Likewise.
53162 * conform/data/locale.h-data: Likewise.
53163 * conform/data/math.h-data: Likewise.
53164 * conform/data/monetary.h-data: Likewise.
53165 * conform/data/mqueue.h-data: Likewise.
53166 * conform/data/ndbm.h-data: Likewise.
53167 * conform/data/net/if.h-data: Likewise.
53168 * conform/data/netdb.h-data: Likewise.
53169 * conform/data/netinet/in.h-data: Likewise.
53170 * conform/data/nl_types.h-data: Likewise.
53171 * conform/data/poll.h-data: Likewise.
53172 * conform/data/pthread.h-data: Likewise.
53173 * conform/data/pwd.h-data: Likewise.
53174 * conform/data/regex.h-data: Likewise.
53175 * conform/data/sched.h-data: Likewise.
53176 * conform/data/search.h-data: Likewise.
53177 * conform/data/semaphore.h-data: Likewise.
53178 * conform/data/setjmp.h-data: Likewise.
53179 * conform/data/signal.h-data: Likewise.
53180 * conform/data/spawn.h-data: Likewise.
53181 * conform/data/stdarg.h-data: Likewise.
53182 * conform/data/stdio.h-data: Likewise.
53183 * conform/data/stdlib.h-data: Likewise.
53184 * conform/data/string.h-data: Likewise.
53185 * conform/data/strings.h-data: Likewise.
53186 * conform/data/stropts.h-data: Likewise.
53187 * conform/data/sys/ipc.h-data: Likewise.
53188 * conform/data/sys/mman.h-data: Likewise.
53189 * conform/data/sys/msg.h-data: Likewise.
53190 * conform/data/sys/resource.h-data: Likewise.
53191 * conform/data/sys/select.h-data: Likewise.
53192 * conform/data/sys/sem.h-data: Likewise.
53193 * conform/data/sys/shm.h-data: Likewise.
53194 * conform/data/sys/socket.h-data: Likewise.
53195 * conform/data/sys/stat.h-data: Likewise.
53196 * conform/data/sys/statvfs.h-data: Likewise.
53197 * conform/data/sys/time.h-data: Likewise.
53198 * conform/data/sys/timeb.h-data: Likewise.
53199 * conform/data/sys/times.h-data: Likewise.
53200 * conform/data/sys/types.h-data: Likewise.
53201 * conform/data/sys/uio.h-data: Likewise.
53202 * conform/data/sys/un.h-data: Likewise.
53203 * conform/data/sys/utsname.h-data: Likewise.
53204 * conform/data/sys/wait.h-data: Likewise.
53205 * conform/data/syslog.h-data: Likewise.
53206 * conform/data/tar.h-data: Likewise.
53207 * conform/data/termios.h-data: Likewise.
53208 * conform/data/utime.h-data: Likewise.
53209 * conform/data/utmpx.h-data: Likewise.
53210 * conform/data/varargs.h-data: Likewise.
53211 * conform/data/wchar.h-data: Likewise.
53212 * conform/data/wctype.h-data: Likewise.
53213 * conform/data/wordexp.h-data: Likewise.
53215 * include/stropts.h: New file.
53216 * include/uchar.h: New file.
53217 * include/aio.h: Changes to allow conformtest.pl to use the headers.
53218 * include/assert.h: Likewise.
53219 * include/ctype.h: Likewise.
53220 * include/dirent.h: Likewise.
53221 * include/dlfcn.h: Likewise.
53222 * include/fcntl.h: Likewise.
53223 * include/fnmatch.h: Likewise.
53224 * include/glob.h: Likewise.
53225 * include/grp.h: Likewise.
53226 * include/libio.h: Likewise.
53227 * include/locale.h: Likewise.
53228 * include/math.h: Likewise.
53229 * include/net/if.h: Likewise.
53230 * include/netdb.h: Likewise.
53231 * include/netinet/in.h: Likewise.
53232 * include/pthread.h: Likewise.
53233 * include/pwd.h: Likewise.
53234 * include/regex.h: Likewise.
53235 * include/sched.h: Likewise.
53236 * include/search.h: Likewise.
53237 * include/setjmp.h: Likewise.
53238 * include/signal.h: Likewise.
53239 * include/stdio.h: Likewise.
53240 * include/stdlib.h: Likewise.
53241 * include/string.h: Likewise.
53242 * include/sys/cdefs.h: Likewise.
53243 * include/sys/mman.h: Likewise.
53244 * include/sys/msg.h: Likewise.
53245 * include/sys/resource.h: Likewise.
53246 * include/sys/select.h: Likewise.
53247 * include/sys/socket.h: Likewise.
53248 * include/sys/stat.h: Likewise.
53249 * include/sys/statvfs.h: Likewise.
53250 * include/sys/time.h: Likewise.
53251 * include/sys/times.h: Likewise.
53252 * include/sys/uio.h: Likewise.
53253 * include/sys/utsname.h: Likewise.
53254 * include/sys/wait.h: Likewise.
53255 * include/termios.h: Likewise.
53256 * include/time.h: Likewise.
53257 * include/ulimit.h: Likewise.
53258 * include/unistd.h: Likewise.
53259 * include/utime.h: Likewise.
53260 * include/wchar.h: Likewise.
53261 * include/wctype.h: Likewise.
53262 * include/wordexp.h: Likewise.
53264 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
53266 * time/time.h: TIME_UTC must be a macro.
53267 Make timespec_get available for ISO C11 only as well.
53269 2012-02-24 Ulrich Drepper <drepper@gmail.com>
53271 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
53272 Reported by Peng Haitao <penght@cn.fujitsu.com>.
53274 2012-02-24 Joseph Myers <joseph@codesourcery.com>
53276 * configure.in: Use -o not -a in test for unsupported multi-arch.
53278 2012-02-24 Joseph Myers <joseph@codesourcery.com>
53280 * manual/texinfo.tex: Update to version 2012-01-19.16.
53282 2012-02-24 Joseph Myers <joseph@codesourcery.com>
53284 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
53286 2012-02-24 Roland McGrath <roland@hack.frob.com>
53289 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
53290 * manual/fdl-1.3.texi: New file.
53291 * manual/fdl-1.1.texi: File removed.
53294 * manual/libc.texinfo (FDL_VERSION): New @set.
53295 Use it for mention of FDL in cover text.
53296 (Documentation License): Use it in @include file name.
53298 2012-02-22 Joseph Myers <joseph@codesourcery.com>
53299 Roland McGrath <roland@hack.frob.com>
53302 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
53303 (not LONG_LONG_MAX and LONG_LONG_MIN.
53304 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
53305 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
53307 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
53309 2012-02-22 Joseph Myers <joseph@codesourcery.com>
53313 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
53314 manipulate bits before adding and subtracting TWO23[sx].
53315 * math/libm-test.inc (nearbyint_test): Add more tests.
53317 2012-02-22 Joseph Myers <joseph@codesourcery.com>
53320 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
53321 bits before adding and subtracting TWO23[sx].
53322 * math/libm-test.inc (rint_test): Add more tests.
53323 (rint_test_tonearest): Likewise.
53324 (rint_test_towardzero): Likewise.
53325 (rint_test_downward): Likewise.
53326 (rint_test_upward: Likewise.
53328 2012-02-22 Joseph Myers <joseph@codesourcery.com>
53331 * include/stdc-predef.h: New file. Extracted from features.h.
53332 * include/features.h: Include stdc-predef.h.
53333 * Makefile (headers): Add stdc-predef.h.
53334 * CONFORMANCE (Compiler limitations): Update.
53336 2012-02-22 Joseph Myers <joseph@codesourcery.com>
53338 * manual/libc.texinfo (VERSION, UPDATED): Revert.
53340 2012-02-21 David S. Miller <davem@davemloft.net>
53342 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
53343 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
53345 2012-02-20 David S. Miller <davem@davemloft.net>
53347 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
53348 using a normal save/restore sequence, rather than allocating a
53349 dummy stack frame just to store a frame pointer and restore.
53350 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
53352 2012-02-21 Joseph Myers <joseph@codesourcery.com>
53354 * manual/install.texi: Fix stray word in line-wrapped comment.
53356 2012-02-20 David S. Miller <davem@davemloft.net>
53358 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
53359 both binutils and gcc support GOTDATA.
53361 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
53362 "rd %pc" in the PIC register setup sequences.
53364 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
53365 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
53366 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
53367 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
53368 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
53369 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
53370 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
53371 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
53372 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
53373 (SYSCALL_ERROR_HANDLER): Likewise.
53374 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
53375 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
53376 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
53377 (SYSCALL_ERROR_HANDLER): Likewise.
53379 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
53380 (HAVE_GCC_GOTDATA): New.
53381 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
53382 relocation support in both binutils and gcc.
53383 * sysdeps/sparc/elf/configure: Regenerate.
53385 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
53386 * sysdeps/sparc/sparc32/elf/configure: Delete.
53387 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
53388 * sysdeps/sparc/sparc64/elf/configure: Delete.
53389 * sysdeps/sparc/elf/configure.in: New file.
53390 * sysdeps/sparc/elf/configure: Generate.
53392 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
53393 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
53394 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
53395 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
53396 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
53398 2012-02-21 Joseph Myers <joseph@codesourcery.com>
53400 * manual/install.texi: Do not mention specific glibc version
53402 * manual/libc.texinfo (VERSION, UPDATED): Update.
53403 (@copying): Use @copyright{} and range of years.
53405 2012-02-21 Joseph Myers <joseph@codesourcery.com>
53408 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
53409 [crti.S not in sysdirs] (generated): Do not append.
53410 [crti.S not in sysdirs] (omit-deps): Likewise.
53411 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
53412 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
53413 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
53414 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
53415 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
53417 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
53418 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
53419 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
53420 * csu/defs.awk: Remove file.
53421 * sysdeps/generic/initfini.c: Likewise.
53422 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
53424 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
53427 2012-02-20 Joseph Myers <joseph@codesourcery.com>
53429 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
53430 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
53431 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
53432 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
53433 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
53434 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
53436 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
53437 (__EPOLL_PACKED): Define to empty if not defined by
53439 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
53440 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
53443 2012-02-20 Joseph Myers <joseph@codesourcery.com>
53445 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
53446 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
53447 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
53448 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
53450 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
53451 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
53454 2012-02-20 Joseph Myers <joseph@codesourcery.com>
53456 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
53458 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
53459 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
53460 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
53461 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53463 2012-02-20 Aurelien Jarno <aurelien@aurel32.net>
53465 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
53466 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
53468 2012-02-19 Andreas Schwab <schwab@linux-m68k.org>
53470 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
53471 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
53473 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
53475 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
53478 2012-02-19 Aurelien Jarno <aurelien@aurel32.net>
53480 * math/w_acos.c: Use non-signaling floating-point comparisons.
53481 * math/w_acosf.c: Likewise.
53482 * math/w_acosh.c: Likewise.
53483 * math/w_acoshf.c: Likewise.
53484 * math/w_acoshl.c: Likewise.
53485 * math/w_acosl.c: Likewise.
53486 * math/w_asin.c: Likewise.
53487 * math/w_asinf.c: Likewise.
53488 * math/w_asinl.c: Likewise.
53489 * math/w_atanh.c: Likewise.
53490 * math/w_atanhf.c: Likewise.
53491 * math/w_atanhl.c: Likewise.
53492 * math/w_exp2.c: Likewise.
53493 * math/w_exp2f.c: Likewise.
53494 * math/w_exp2l.c: Likewise.
53495 * math/w_j0.c: Likewise.
53496 * math/w_j0f.c: Likewise.
53497 * math/w_j0l.c: Likewise.
53498 * math/w_j1.c: Likewise.
53499 * math/w_j1f.c: Likewise.
53500 * math/w_j1l.c: Likewise.
53501 * math/w_jn.c: Likewise.
53502 * math/w_jnf.c: Likewise.
53503 * math/w_log.c: Likewise.
53504 * math/w_log10.c: Likewise.
53505 * math/w_log10f.c: Likewise.
53506 * math/w_log10l.c: Likewise.
53507 * math/w_log2.c: Likewise.
53508 * math/w_log2f.c: Likewise.
53509 * math/w_log2l.c: Likewise.
53510 * math/w_logf.c: Likewise.
53511 * math/w_logl.c: Likewise.
53512 * math/w_sqrt.c: Likewise.
53513 * math/w_sqrtf.c: Likewise.
53514 * math/w_sqrtl.c: Likewise.
53515 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
53516 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
53517 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
53518 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
53519 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
53521 2012-02-19 Joseph Myers <joseph@codesourcery.com>
53524 * manual/string.texi (strnlen): Use correct parameter name in
53525 equivalent expression.
53527 2012-02-19 Joseph Myers <joseph@codesourcery.com>
53530 * manual/users.texi (seteuid): Consistently use neweuid for
53533 2012-02-19 Joseph Myers <joseph@codesourcery.com>
53536 * manual/nss.texi (Services in the NSS configuration): Correct
53537 list of services in example configuration file.
53539 2012-02-19 Nick Bowler <nbowler@draconx.ca>
53542 * manual/arith.texi: Remove statements about negative zero
53543 behaving identically to zero.
53545 2012-02-18 Joseph Myers <joseph@codesourcery.com>
53548 * manual/install.texi: Do not document upgrading from libc5.
53550 2012-02-18 Joseph Myers <joseph@codesourcery.com>
53553 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
53555 2012-02-18 David S. Miller <davem@davemloft.net>
53557 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
53558 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
53559 %o7 across the call.
53560 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
53562 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
53563 SETUP_PIC_REG_LEAF.
53564 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
53565 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
53566 * sysdeps/sparc/crtn.S: Likewise.
53568 2012-02-17 Ulrich Drepper <drepper@gmail.com>
53570 * aout/Makefile: Remove.
53572 2012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
53575 * manual/examples/argp-ex1.c (main): Format definition in GNU
53577 * manual/examples/argp-ex2.c (main): Likewise.
53578 * manual/examples/argp-ex3.c (main): Likewise.
53579 * manual/examples/argp-ex4.c (main): Likewise.
53580 * manual/examples/longopt.c (main): Use new-style prototype
53582 * manual/examples/strncat.c (main): Specify return type and use
53583 (void) for arguments.
53584 * manual/examples/subopt.c (main): Use char **argv argument.
53586 2012-02-17 Joseph Myers <joseph@codesourcery.com>
53589 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
53592 2012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
53595 * manual/string.texi (strchr): Change when strchrnul is
53598 2012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
53601 * manual/locale.texi (setlocale): Document LOCPATH.
53603 2012-02-17 Joseph Myers <joseph@codesourcery.com>
53606 * manual/process.texi (execle): Move @dots{} before last argument.
53608 2012-02-17 Paul Bolle <pebolle@tiscali.nl>
53611 * manual/charset.texi (Generic Charset Conversion): Fix typo
53612 (LC_TYPE -> LC_CTYPE).
53614 2012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
53617 * manual/arith.texi (scalbn): Use @var{} on parameter names.
53618 (scalbnf): Likewise.
53619 (scalbnl): Likewise.
53620 (scalbln): Likewise.
53621 (scalblnf): Likewise.
53622 (scalblnl): Likewise.
53623 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
53624 (vwarnx): Likewise.
53627 * manual/filesys.texi (telldir): Use braces around return type.
53628 * manual/llio.texi (mmap): Add space after comma.
53629 (mmap64): Likewise.
53630 * manual/math.texi (jn): Use @var{} on parameter names.
53636 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
53638 * manual/resource.texi (ulimit): Use @dots{} instead of literal
53640 (sched_get_priority_min): Remove semicolon on @deftypefun line.
53641 (sched_get_priority_max): Likewise.
53642 * manual/signal.texi (sigvec): Add space after comma.
53643 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
53645 (if_indextoname): Likewise.
53646 (if_freenameindex): Likewise.
53647 (sendto): Use ',' instead of '.' in prototype.
53648 * manual/startup.texi (syscall): Use @dots{} instead of literal
53650 * manual/stdio.texi (__fpending): Separate initial words of
53651 paragraph from @deftypefun line.
53652 * manual/syslog.texi (syslog): Use @dots{} instead of literal
53654 (vsyslog): Use @var{} on parameter names.
53655 * manual/terminal.texi (stty): Use @var{} on parameter names.
53656 * manual/users.texi (getutmp): Use @var{} on parameter names.
53657 (getutmpx): Likewise.
53659 2012-02-17 Joseph Myers <joseph@codesourcery.com>
53662 * manual/stdio.texi (fopen): Fix typos in description of
53665 2012-02-17 Aurelien Jarno <aurelien@aurel32.net>
53668 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
53669 get clock_id definition.
53671 2012-02-17 Thomas Schwinge <thomas@schwinge.name>
53674 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
53675 (madvise): Cast every argument to void on its own.
53677 2012-02-17 Joseph Myers <joseph@codesourcery.com>
53680 * manual/startup.texi (Exit Status): Fix typo.
53682 2012-02-17 Joseph Myers <joseph@codesourcery.com>
53685 * manual/examples/argp-ex1.c: Include <stdlib.h>.
53686 * manual/examples/argp-ex2.c: Likewise.
53687 * manual/examples/argp-ex3.c: Likewise.
53689 2012-02-16 Richard Henderson <rth@redhat.com>
53691 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
53692 * sysdeps/s390/s390-32/initfini.c: Remove.
53693 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
53694 * sysdeps/s390/s390-64/initfini.c: Remove.
53696 2012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
53698 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
53699 compiler output for sysdeps/generic/initfini.c.
53700 * sysdeps/sh/elf/initfini.c: Remove file.
53702 2012-02-16 David S. Miller <davem@davemloft.net>
53705 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
53707 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
53708 * sysdeps/sparc/crti.S: New file.
53709 * sysdeps/sparc/crtn.S: New file.
53710 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
53711 * sysdeps/sparc/sparc64/Makefile: Likewise.
53713 2012-02-15 Mike Frysinger <vapier@gentoo.org>
53716 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
53718 2012-02-15 Roland McGrath <roland@hack.frob.com>
53721 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
53723 * mach/devstream.c (cookie_io_functions_t): Macro removed.
53724 (write, read, close): Likewise.
53725 Patch by Aurelien Jarno <aurelien@aurel32.net>.
53727 2012-02-15 Joseph Myers <joseph@codesourcery.com>
53729 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
53730 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
53731 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
53732 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
53734 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
53735 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
53738 2012-02-14 Marek Polacek <polacek@redhat.com>
53740 * sysdeps/x86_64/crti.S: New file.
53741 * sysdeps/x86_64/crtn.S: New file.
53742 * sysdeps/x86_64/elf/initfini.c: Remove file.
53744 2012-02-13 Joseph Myers <joseph@codesourcery.com>
53746 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
53747 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
53748 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
53749 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
53751 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
53752 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
53755 2012-02-13 Joseph Myers <joseph@codesourcery.com>
53757 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
53758 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
53759 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
53760 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
53762 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
53763 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
53766 2012-02-10 Thomas Schwinge <thomas@codesourcery.com>
53768 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
53769 __feraiseexcept instead of feraiseexcept.
53771 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
53772 nanosleep invocations.
53773 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
53774 strings, and add error checking for a nanosleep invocations.
53776 2012-02-09 Paul Eggert <eggert@cs.ucla.edu>
53778 Replace FSF snail mail address with URLs, as per GNU coding standards.
53779 Most of the snail mail addresses were wrong anyway, and omitting
53780 them makes the source code easier to maintain. Almost all of the
53781 changes are to license notices and to locale LC_IDENTIFICATION
53782 addresses, except for this one:
53783 * manual/libc.texinfo: In "Published by", give the FSF's URL,
53784 not its snail mail address.
53786 2012-02-09 Richard Henderson <rth@twiddle.net>
53788 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
53789 of kernel-features.h.
53791 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
53793 2012-02-08 Marek Polacek <polacek@redhat.com>
53795 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
53796 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
53797 * sysdeps/gnu/_G_config.h: Likewise.
53798 * sysdeps/generic/_G_config.h: Likewise.
53800 2012-02-08 Andreas Schwab <schwab@linux-m68k.org>
53802 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
53804 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53806 * sysdeps/powerpc/powerpc32/crti.S: New file.
53807 * sysdeps/powerpc/powerpc32/crtn.S: New file.
53808 * sysdeps/powerpc/powerpc64/crti.S: New file.
53809 * sysdeps/powerpc/powerpc64/crtn.S: New file.
53811 * Makeconfig (have-initfini): Don't set.
53812 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
53813 * configure.in (nopic_initfini): Don't substitute.
53814 * config.h.in (HAVE_INITFINI): Don't #undef.
53815 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
53816 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
53818 2012-02-08 Joseph Myers <joseph@codesourcery.com>
53820 Support crti.S and crtn.S provided directly by architectures.
53821 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
53822 [crti.S in sysdirs] (omit-deps): Likewise.
53823 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
53824 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
53825 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
53826 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
53827 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
53828 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
53829 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
53830 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
53831 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
53832 compiler output for sysdeps/generic/initfini.c.
53833 * sysdeps/i386/elf/Makefile: Remove file.
53834 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
53836 2012-02-07 Marek Polacek <polacek@redhat.com>
53838 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
53839 * sysdeps/gnu/_G_config.h: Likewise.
53840 * sysdeps/mach/hurd/_G_config.h: Likewise.
53842 2012-02-07 Marek Polacek <polacek@redhat.com>
53844 * math/Makefile (tests): Add tst-CMPLX2.
53845 * math/tst-CMPLX2.c: New file.
53847 2012-02-07 Andreas Schwab <schwab@linux-m68k.org>
53849 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
53851 * math/libm-test.inc (jn_test): Add missing L suffix.
53853 2012-02-06 Marek Polacek <polacek@redhat.com>
53855 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
53856 * sysdeps/i386/fpu/e_powf.S: Likewise.
53857 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
53858 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
53859 * sysdeps/i386/fpu/e_acosh.S: Likewise.
53860 * sysdeps/i386/fpu/e_pow.S: Likewise.
53861 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
53862 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
53863 * sysdeps/i386/fpu/s_expm1.S: Likewise.
53864 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
53865 * sysdeps/i386/fpu/e_log2.S: Likewise.
53866 * sysdeps/i386/fpu/e_log2l.S: Likewise.
53867 * sysdeps/i386/fpu/e_scalb.S: Likewise.
53868 * sysdeps/i386/fpu/e_powl.S: Likewise.
53869 * sysdeps/i386/fpu/s_log1p.S: Likewise.
53870 * sysdeps/i386/fpu/e_log10f.S: Likewise.
53871 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
53872 * sysdeps/i386/fpu/e_logl.S: Likewise.
53873 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
53874 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
53875 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
53876 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
53877 * sysdeps/i386/fpu/e_log2f.S: Likewise.
53878 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
53879 * sysdeps/i386/fpu/e_log.S: Likewise.
53880 * sysdeps/i386/fpu/s_cexp.S: Likewise.
53881 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
53882 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
53883 * sysdeps/i386/fpu/e_logf.S: Likewise.
53884 * sysdeps/i386/fpu/e_log10l.S: Likewise.
53885 * sysdeps/i386/fpu/e_atanh.S: Likewise.
53886 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
53887 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
53888 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
53889 * sysdeps/i386/fpu/e_log10.S: Likewise.
53890 * sysdeps/i386/fpu/s_frexp.S: Likewise.
53891 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
53892 * sysdeps/i386/fpu/s_asinh.S: Likewise.
53893 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
53894 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
53895 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
53896 * sysdeps/i386/asm-syntax.h: Likewise.
53897 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
53898 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
53899 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
53900 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
53901 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
53902 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
53903 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
53904 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
53905 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
53906 * sysdeps/powerpc/sysdep.h: Likewise.
53907 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
53908 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
53910 2012-02-06 Joseph Myers <joseph@codesourcery.com>
53913 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
53915 2012-02-06 Joseph Myers <joseph@codesourcery.com>
53917 * sysdeps/i386/sysdep.h: Include <features.h>.
53918 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
53921 2012-02-05 Joseph Myers <joseph@codesourcery.com>
53923 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
53925 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
53928 2012-02-03 Joseph Myers <joseph@codesourcery.com>
53930 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
53931 (SETUP_PIC_REG): Use GET_PC_THUNK.
53932 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
53935 2012-02-03 Joseph Myers <joseph@codesourcery.com>
53937 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
53938 for non-PIC compilation.
53939 (SETUP_PIC_REG): Add .p2align directive.
53940 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
53941 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
53942 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
53943 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
53944 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
53945 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
53946 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
53947 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
53948 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
53949 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
53950 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
53951 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
53952 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
53953 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
53954 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
53955 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
53956 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
53957 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
53958 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
53959 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
53960 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
53961 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
53962 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
53963 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
53964 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
53965 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
53966 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
53967 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
53968 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
53969 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
53970 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
53971 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
53972 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
53973 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
53974 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
53975 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
53976 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
53977 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
53978 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
53979 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
53980 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
53982 2012-02-03 Joseph Myers <joseph@codesourcery.com>
53984 * math/tst-CMPLX.c: Include <stdio.h>.
53986 2012-01-31 Joseph Myers <joseph@codesourcery.com>
53988 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
53990 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
53991 * sysdeps/sparc/bits/mathdef.h: Likewise.
53993 2012-01-31 Marek Polacek <polacek@redhat.com>
53995 * libio/libio.h: Don't define _PARAMS.
53996 * locale/programs/config.h: Don't define PARAMS.
53997 * stdlib/strtol_l.c: Likewise.
53998 (__strtol_l): Remove PARAMS from the prototype.
54000 2012-01-31 Ulrich Drepper <drepper@gmail.com>
54002 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
54003 names. Just use the correct names. Remove unnecessary wrapper
54005 * malloc/arena.c: Likewise.
54006 * malloc/hooks.c: Likewise.
54008 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
54009 ARENA_TEST says not to. Simplify test for creation of a new arena.
54010 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
54012 2012-01-30 Ulrich Drepper <drepper@gmail.com>
54014 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
54016 (update_get_addr): New function.
54017 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
54018 GET_ADDR_MODULE parameter.
54020 2012-01-30 Joseph Myers <joseph@codesourcery.com>
54022 * crypt/cert.c: Remove __STDC__ conditionals.
54023 * crypt/crypt-entry.c: Likewise.
54024 * crypt/crypt_util.c: Likewise.
54025 * libio/filedoalloc.c: Likewise.
54026 * libio/fileops.c: Likewise.
54027 * libio/genops.c: Likewise.
54028 * libio/iofclose.c: Likewise.
54029 * libio/iofdopen.c: Likewise.
54030 * libio/iofopen.c: Likewise.
54031 * libio/iofopen64.c: Likewise.
54032 * libio/iogetdelim.c: Likewise.
54033 * libio/iopopen.c: Likewise.
54034 * libio/obprintf.c: Likewise.
54035 * libio/oldfileops.c: Likewise.
54036 * libio/oldiofclose.c: Likewise.
54037 * libio/oldiofdopen.c: Likewise.
54038 * libio/oldiofopen.c: Likewise.
54039 * libio/oldiopopen.c: Likewise.
54040 * libio/wfiledoalloc.c: Likewise.
54041 * libio/wgenops.c: Likewise.
54042 * locale/programs/xmalloc.c: Likewise.
54043 * misc/syslog.c: Likewise.
54044 * stdio-common/xbug.c: Likewise.
54045 * string/memchr.c: Likewise.
54046 * string/memcmp.c: Likewise.
54047 * string/memrchr.c: Likewise.
54048 * string/rawmemchr.c: Likewise.
54049 * sysdeps/posix/getcwd.c: Likewise.
54050 * time/strftime_l.c: Likewise.
54052 2012-01-30 Joseph Myers <joseph@codesourcery.com>
54054 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
54055 * config.make.in (config-cflags-sse2avx): Define.
54056 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
54059 2012-01-29 Chris Metcalf <cmetcalf@tilera.com>
54061 * scripts/config.guess: Update from upstream config git repository.
54062 * scripts/config.sub: Likewise.
54064 2012-01-28 Chris Metcalf <cmetcalf@tilera.com>
54066 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
54068 (R_TILEPRO_*, R_TILEGX_*): New macros.
54070 * scripts/firstversions.awk: Fix bug in version range handling.
54072 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
54074 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
54076 * include/sys/epoll.h: New file.
54077 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
54080 2012-01-28 Ulrich Drepper <drepper@gmail.com>
54082 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
54083 Avoid unnecessary __WORDSIZE == 64 test.
54084 (fmaxf): Use VEX format if possible.
54089 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
54090 * math/math_private.h: Remove libc_fegetround* and
54092 * sysdeps/i386/configure.in: Check for -msse2avx.
54093 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
54094 also if SSE2AVX is defined.
54095 Remove libc_fegetround* and libc_fesetround*.
54096 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
54097 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
54098 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
54100 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
54101 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
54102 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
54103 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
54104 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
54106 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
54108 2012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
54110 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
54112 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
54114 2012-01-27 Ulrich Drepper <drepper@gmail.com>
54117 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
54119 * Makeconfig (libm): Define.
54120 * elf/Makefile: Add rules to build and run tst-relsort1.
54121 * elf/tst-relsort1.c: New file.
54122 * elf/tst-relsort1mod1.c: New file.
54123 * elf/tst-relsort1mod2.c: New file.
54125 2012-01-27 Joseph Myers <joseph@codesourcery.com>
54127 * math/s_ldexp.c: Remove __STDC__ conditionals.
54128 * math/s_ldexpf.c: Likewise.
54129 * math/s_ldexpl.c: Likewise.
54130 * math/s_nextafter.c: Likewise.
54131 * math/s_nexttowardf.c: Likewise.
54132 * math/s_significand.c: Likewise.
54133 * math/s_significandf.c: Likewise.
54134 * math/s_significandl.c: Likewise.
54135 * math/w_jnl.c: Likewise.
54136 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
54137 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
54138 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
54139 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
54140 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
54141 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
54142 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
54143 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
54144 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
54145 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
54146 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
54147 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
54148 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
54149 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
54150 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
54151 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
54152 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
54153 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
54154 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
54155 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
54156 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
54157 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
54158 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
54159 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
54160 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
54161 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
54162 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
54163 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
54164 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
54165 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
54166 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
54167 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
54168 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
54169 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
54170 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
54171 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
54172 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
54173 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
54174 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
54175 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
54176 * sysdeps/ieee754/k_standard.c: Likewise.
54177 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
54178 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
54179 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
54180 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
54181 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
54182 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
54183 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
54184 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
54185 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
54186 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
54187 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
54188 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
54189 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
54190 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
54191 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
54192 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
54193 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
54194 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
54195 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
54196 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
54197 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
54198 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
54199 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
54200 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
54201 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
54202 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
54203 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
54204 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
54205 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
54206 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
54207 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
54208 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
54209 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
54210 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
54211 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
54212 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
54213 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
54214 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
54215 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
54216 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
54217 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
54218 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
54219 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
54220 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
54221 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
54222 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
54223 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
54224 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
54225 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
54226 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
54227 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
54228 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
54229 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
54230 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
54231 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
54232 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
54233 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
54234 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
54235 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
54236 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
54237 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
54238 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
54239 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
54240 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
54241 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
54242 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
54243 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
54244 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
54245 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
54246 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
54247 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
54248 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
54249 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
54250 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
54251 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
54252 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
54253 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
54254 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
54255 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
54256 * sysdeps/ieee754/s_matherr.c: Likewise.
54257 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
54258 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
54259 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
54260 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
54262 2012-01-26 Joseph Myers <joseph@codesourcery.com>
54264 * crypt/md5.h: Remove __STDC__ conditionals.
54265 * libio/libioP.h: Likewise.
54266 * locale/programs/config.h: Likewise.
54267 * sysdeps/generic/sysdep.h: Likewise.
54268 * sysdeps/i386/asm-syntax.h: Likewise.
54269 * sysdeps/s390/asm-syntax.h: Likewise.
54270 * sysdeps/unix/sysdep.h: Likewise.
54271 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
54272 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
54274 2012-01-26 Joseph Myers <joseph@codesourcery.com>
54276 * libio/libio.h: Remove __STDC__ conditionals.
54277 * malloc/obstack.h: Likewise.
54278 * math/complex.h: Likewise.
54279 * math/math.h: Likewise.
54280 * sysdeps/generic/_G_config.h: Likewise.
54281 * sysdeps/gnu/_G_config.h: Likewise.
54282 * sysdeps/mach/hurd/_G_config.h: Likewise.
54283 * sysdeps/powerpc/bits/mathdef.h: Likewise.
54284 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
54285 * sysdeps/sparc/bits/mathdef.h: Likewise.
54287 2012-01-26 Ulrich Drepper <drepper@gmail.com>
54290 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
54291 Clean up HAS_* macros.
54292 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
54293 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
54295 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
54297 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
54298 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
54299 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
54300 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
54301 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
54303 2012-01-25 Joseph Myers <joseph@codesourcery.com>
54305 * elf/tst-unique3.cc (gets): Remove declaration.
54306 * elf/tst-unique3lib.cc (gets): Likewise.
54307 * elf/tst-unique3lib2.cc (gets): Likewise.
54308 * elf/tst-unique4.cc (gets): Likewise.
54310 2012-01-24 Ulrich Drepper <drepper@gmail.com>
54312 * include/stdio.h: Add C++ protection. Add gets declarations and
54314 * debug/tst-chk1.c: Don't declare gets here.
54315 * stdio-common/tst-gets.c: Likewise.
54317 2012-01-24 Joseph Myers <joseph@codesourcery.com>
54319 * posix/glob: Remove directory.
54321 2012-01-24 Joseph Myers <joseph@codesourcery.com>
54323 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
54325 2012-01-22 Pino Toscano <toscano.pino@tiscali.it>
54327 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
54328 of the non-standard EPFNOSUPPORT.
54330 2011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
54332 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
54333 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
54334 ANYWHERE set to 1 only on KERN_NO_SPACE error.
54336 2012-01-21 Ulrich Drepper <drepper@gmail.com>
54338 * wcsmbs/uchar.h: Test __STDC_VERSION__.
54340 2012-01-20 Ulrich Drepper <drepper@gmail.com>
54342 * nscd/aicache.c (addhstaiX): Do not cache negative results of
54344 * nscd/grpcache.c (cache_addgr): Likewise.
54345 * nscd/hstcache.c (cache_addhst): Likewise.
54346 * nscd/initgrcache.c (addinitgroupsX): Likewise.
54347 * nscd/pwdcache.c (cache_addpw): Likewise.
54348 * nscd/servicescache.c (cache_addserv): Likewise.
54350 2012-01-16 Ulrich Drepper <drepper@gmail.com>
54352 * malloc/malloc.c: Various cleanups.
54353 * malloc/hooks.c: Likewise.
54355 * stdlib/Makefile (tests): Add bug-fmtmsg1.
54356 * stdlib/bug-fmtmsg1.c: New file.
54358 * stdlib/fmtmsg.c (init): Add missing unlock.
54359 Patch by Peng Haitao <penght@cn.fujitsu.com>.
54361 2012-01-12 Marek Polacek <polacek@redhat.com>
54363 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
54366 2012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
54368 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
54369 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
54370 macro to ensure uniqueness of label name.
54371 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
54372 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
54374 2012-01-11 Ulrich Drepper <drepper@gmail.com>
54376 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
54378 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
54379 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
54380 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
54381 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
54383 2012-01-10 Ulrich Drepper <drepper@gmail.com>
54385 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
54387 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
54388 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
54389 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
54391 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
54393 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
54394 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
54395 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
54396 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
54398 * math/bits/math-finite.h: Add ldexp support.
54400 2012-01-10 Marek Polacek <polacek@redhat.com>
54402 * locale/programs/localedef.h (show_archive_content): Add noreturn
54405 2012-01-09 Ulrich Drepper <drepper@gmail.com>
54407 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
54409 2012-01-08 Ulrich Drepper <drepper@gmail.com>
54411 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
54413 * io/Makefile (headers): Add bits/poll2.h.
54415 2011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
54417 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
54418 typo #include statement.
54420 2012-01-08 Ulrich Drepper <drepper@gmail.com>
54422 * include/sys/cdefs.h: Define __attribute_alloc_size.
54423 * catgets/gencat.c: Add alloc_size attribute and apply consistently
54424 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
54425 * elf/pldd.c: Likewise.
54426 * iconv/iconv_charmap.c: Likewise.
54427 * iconv/iconvconfig.c: Likewise.
54428 * iconv/strtab.c: Likewise.
54429 * locale/programs/locale.c: Likewise.
54430 * locale/programs/localedef.h: Likewise.
54431 * locale/programs/simple-hash.c: Likewise.
54432 * nscd/nscd.h: Likewise.
54433 * nss/makedb.c: Likewise.
54434 * sysdeps/generic/ldconfig.h: Likewise.
54435 * locale/programs/localedef.c: Remove xmalloc prototype.
54436 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
54438 2012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
54440 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
54443 2012-01-08 Ulrich Drepper <drepper@gmail.com>
54445 * math/Makefile (tests): Add tst-CMPLX.
54446 * math/tst-CMPLX.c: New file.
54448 * math/complex.h (CMPLXL): Fix typo.
54450 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
54451 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
54453 * debug/tst-chk1.c: Add poll and ppoll tests.
54454 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
54455 * include/sys/poll.h: Add hidden proto for ppoll.
54456 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
54457 * sysdeps/mach/hurd/ppoll.c: Likewise.
54458 * io/ppoll.c: Likewise.
54459 * debug/poll_chk.c: New file.
54460 * debug/ppoll_chk.c: New file.
54461 * include/bits/poll2.h: New file.
54462 * io/bits/poll2.h: New file.
54465 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
54467 * configure.in: static is always set to yes. Remove.
54468 * config.make.in: Don't set build-static.
54469 * Makeconfig: Remove use of build-static.
54470 * dlfcn/Makefile: Likewise.
54471 * elf/Makefile: Likewise.
54472 * math/Makefile: Likewise.
54473 * misc/Makefile: Likewise.
54474 * nptl/Makefile: Likewise.
54475 * sysdeps/mach/hurd/Makefile: Likewise.
54477 * configure.in: PWD_P is not used anymore.
54478 * config.make.in: Remove PWD_P entry.
54480 * configure.in: Remove last remnants of RANLIB.
54481 No need to check for signed size_t anymore.
54482 Don't set libc_commonpagesize and libc_relro_required here for Alpha
54484 Remove __builtin_expect test because we require at least gcc 3.4.
54485 * aclocal.m4: Likewise.
54487 * wcsmbs/mbrtoc16.c: Implement using towc function.
54488 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
54489 * wcsmbs/wcsmbsload.c: Likewise.
54490 * iconv/gconv_simple.c: Likewise.
54491 * iconv/gconv_int.h: Likewise.
54492 * iconv/gconv_builtin.h: Likewise.
54493 * iconv/iconv_prog.c: Remove CHAR16 handling.
54495 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
54497 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
54499 * configure.in: Remove --with-elf and --enable-bounded options.
54500 Dont set base_machine for ia64. More non-ELF conditions removed.
54501 Remove testing and setting of leading underscore information.
54502 * config.make.in (build-bounded): Set to no.
54503 * config.h.in: Remove NO_UNDERSCORES entry.
54504 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
54506 * csu/start.c: Remove !NO_UNDERSCORE code.
54507 * locale/localeinfo.h: Likewise.
54508 * sysdeps/generic/machine-gmon.h: Likewise.
54509 * sysdeps/generic/sysdep.h: Likewise.
54510 * sysdeps/i386/sysdep.h: Likewise.
54511 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
54512 * sysdeps/mach/sysdep.h: Likewise.
54513 * sysdeps/s390/s390-32/sysdep.h: Likewise.
54514 * sysdeps/s390/s390-64/sysdep.h: Likewise.
54515 * sysdeps/sh/sysdep.h: Likewise.
54516 * sysdeps/sparc/sparc32/alloca.S: Likewise.
54517 * sysdeps/unix/i386/sysdep.S: Likewise.
54518 * sysdeps/unix/sparc/start.c: Likewise.
54519 * sysdeps/unix/sparc/sysdep.S: Likewise.
54520 * sysdeps/unix/sparc/sysdep.h: Likewise.
54521 * sysdeps/unix/start.c: Likewise.
54522 * sysdeps/unix/x86_64/sysdep.S: Likewise.
54523 * sysdeps/x86_64/sysdep.h: Likewise.
54525 2012-01-07 Ulrich Drepper <drepper@gmail.com>
54528 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
54530 * argp/argp-fmtstream.h: Use const instead __const.
54531 * argp/argp.h: Likewise.
54532 * assert/assert.h: Likewise.
54533 * bits/fenv.h: Likewise.
54534 * bits/sched.h: Likewise.
54535 * bits/sigset.h: Likewise.
54536 * bits/sigthread.h: Likewise.
54537 * catgets/nl_types.h: Likewise.
54538 * conform/data/pthread.h-data: Likewise.
54539 * crypt/crypt-private.h: Likewise.
54540 * crypt/crypt.h: Likewise.
54541 * crypt/crypt_util.c: Likewise.
54542 * ctype/ctype.h: Likewise.
54543 * debug/execinfo.h: Likewise.
54544 * debug/mbsnrtowcs_chk.c: Likewise.
54545 * debug/mbsrtowcs_chk.c: Likewise.
54546 * debug/wcsnrtombs_chk.c: Likewise.
54547 * debug/wcsrtombs_chk.c: Likewise.
54548 * debug/wcstombs_chk.c: Likewise.
54549 * dirent/dirent.h: Likewise.
54550 * dlfcn/dlfcn.h: Likewise.
54551 * elf/neededtest4.c: Likewise.
54552 * grp/grp.h: Likewise.
54553 * gshadow/gshadow.h: Likewise.
54554 * iconv/gconv.h: Likewise.
54555 * iconv/gconv_int.h: Likewise.
54556 * iconv/gconv_simple.c: Likewise.
54557 * iconv/iconv.h: Likewise.
54558 * iconv/loop.c: Likewise.
54559 * iconv/skeleton.c: Likewise.
54560 * include/aio.h: Likewise.
54561 * include/aliases.h: Likewise.
54562 * include/argz.h: Likewise.
54563 * include/arpa/inet.h: Likewise.
54564 * include/assert.h: Likewise.
54565 * include/dirent.h: Likewise.
54566 * include/dlfcn.h: Likewise.
54567 * include/execinfo.h: Likewise.
54568 * include/fcntl.h: Likewise.
54569 * include/fenv.h: Likewise.
54570 * include/glob.h: Likewise.
54571 * include/grp.h: Likewise.
54572 * include/libintl.h: Likewise.
54573 * include/mntent.h: Likewise.
54574 * include/netdb.h: Likewise.
54575 * include/pwd.h: Likewise.
54576 * include/rpc/netdb.h: Likewise.
54577 * include/sched.h: Likewise.
54578 * include/search.h: Likewise.
54579 * include/shadow.h: Likewise.
54580 * include/signal.h: Likewise.
54581 * include/stdio.h: Likewise.
54582 * include/stdlib.h: Likewise.
54583 * include/string.h: Likewise.
54584 * include/sys/socket.h: Likewise.
54585 * include/sys/stat.h: Likewise.
54586 * include/sys/statfs.h: Likewise.
54587 * include/sys/statvfs.h: Likewise.
54588 * include/sys/syslog.h: Likewise.
54589 * include/sys/time.h: Likewise.
54590 * include/sys/uio.h: Likewise.
54591 * include/time.h: Likewise.
54592 * include/unistd.h: Likewise.
54593 * include/utmp.h: Likewise.
54594 * include/wchar.h: Likewise.
54595 * include/wctype.h: Likewise.
54596 * inet/aliases.h: Likewise.
54597 * inet/arpa/inet.h: Likewise.
54598 * inet/netinet/ether.h: Likewise.
54599 * inet/netinet/in.h: Likewise.
54600 * intl/libintl.h: Likewise.
54601 * io/bits/fcntl2.h: Likewise.
54602 * io/fcntl.h: Likewise.
54603 * io/ftw.h: Likewise.
54604 * io/sys/poll.h: Likewise.
54605 * io/sys/stat.h: Likewise.
54606 * io/sys/statfs.h: Likewise.
54607 * io/sys/statvfs.h: Likewise.
54608 * io/utime.h: Likewise.
54609 * libio/bits/stdio.h: Likewise.
54610 * libio/bits/stdio2.h: Likewise.
54611 * libio/libio.h: Likewise.
54612 * libio/libioP.h: Likewise.
54613 * libio/stdio.h: Likewise.
54614 * locale/lc-ctype.c: Likewise.
54615 * locale/locale.h: Likewise.
54616 * login/utmp.h: Likewise.
54617 * malloc/arena.c: Likewise.
54618 * malloc/malloc.c: Likewise.
54619 * malloc/malloc.h: Likewise.
54620 * malloc/mcheck.c: Likewise.
54621 * malloc/mtrace.c: Likewise.
54622 * math/bits/mathcalls.h: Likewise.
54623 * math/fenv.h: Likewise.
54624 * math/math_private.h: Likewise.
54625 * misc/bits/error.h: Likewise.
54626 * misc/bits/syslog.h: Likewise.
54627 * misc/err.h: Likewise.
54628 * misc/error.h: Likewise.
54629 * misc/fstab.h: Likewise.
54630 * misc/mntent.h: Likewise.
54631 * misc/regexp.h: Likewise.
54632 * misc/search.h: Likewise.
54633 * misc/sgtty.h: Likewise.
54634 * misc/sys/mman.h: Likewise.
54635 * misc/sys/syslog.h: Likewise.
54636 * misc/sys/uio.h: Likewise.
54637 * misc/sys/xattr.h: Likewise.
54638 * misc/ttyent.h: Likewise.
54639 * nis/rpcsvc/ypclnt.h: Likewise.
54640 * nss/nss.h: Likewise.
54641 * posix/bits/unistd.h: Likewise.
54642 * posix/fnmatch.h: Likewise.
54643 * posix/glob.h: Likewise.
54644 * posix/sched.h: Likewise.
54645 * posix/spawn.h: Likewise.
54646 * posix/sys/wait.h: Likewise.
54647 * posix/unistd.h: Likewise.
54648 * posix/wordexp.h: Likewise.
54649 * pwd/pwd.h: Likewise.
54650 * resolv/netdb.h: Likewise.
54651 * resource/sys/resource.h: Likewise.
54652 * rt/aio.h: Likewise.
54653 * rt/bits/mqueue2.h: Likewise.
54654 * rt/mqueue.h: Likewise.
54655 * shadow/shadow.h: Likewise.
54656 * signal/signal.h: Likewise.
54657 * socket/send.c: Likewise.
54658 * socket/sendto.c: Likewise.
54659 * socket/sys/socket.h: Likewise.
54660 * stdio-common/printf.h: Likewise.
54661 * stdlib/bits/stdlib.h: Likewise.
54662 * stdlib/fmtmsg.h: Likewise.
54663 * stdlib/monetary.h: Likewise.
54664 * stdlib/stdlib.h: Likewise.
54665 * stdlib/ucontext.h: Likewise.
54666 * streams/stropts.h: Likewise.
54667 * string/argz.h: Likewise.
54668 * string/bits/string2.h: Likewise.
54669 * string/string.h: Likewise.
54670 * string/strings.h: Likewise.
54671 * sunrpc/rpc/auth.h: Likewise.
54672 * sunrpc/rpc/auth_des.h: Likewise.
54673 * sunrpc/rpc/clnt.h: Likewise.
54674 * sunrpc/rpc/netdb.h: Likewise.
54675 * sunrpc/rpc/pmap_clnt.h: Likewise.
54676 * sunrpc/rpc/xdr.h: Likewise.
54677 * sysdeps/generic/inttypes.h: Likewise.
54678 * sysdeps/generic/net/if.h: Likewise.
54679 * sysdeps/generic/sys/swap.h: Likewise.
54680 * sysdeps/gnu/net/if.h: Likewise.
54681 * sysdeps/gnu/utmpx.h: Likewise.
54682 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
54683 * sysdeps/i386/i486/bits/string.h: Likewise.
54684 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
54685 * sysdeps/s390/bits/string.h: Likewise.
54686 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
54687 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
54688 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
54689 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
54690 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
54691 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
54692 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
54693 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
54694 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
54695 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
54696 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
54697 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
54698 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
54699 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
54700 * sysdeps/unix/sysv/linux/readv.c: Likewise.
54701 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
54702 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
54703 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
54704 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
54705 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
54706 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
54707 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
54708 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
54709 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
54710 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
54711 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
54712 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
54713 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
54714 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
54715 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
54716 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
54717 * sysvipc/sys/ipc.h: Likewise.
54718 * sysvipc/sys/msg.h: Likewise.
54719 * sysvipc/sys/sem.h: Likewise.
54720 * sysvipc/sys/shm.h: Likewise.
54721 * termios/termios.h: Likewise.
54722 * time/sys/time.h: Likewise.
54723 * time/time.h: Likewise.
54724 * wcsmbs/bits/wchar2.h: Likewise.
54725 * wcsmbs/uchar.h: Likewise.
54726 * wcsmbs/wchar.h: Likewise.
54727 * wctype/wctype.h: Likewise.
54730 * Makeconfig: Remove all but ELF support including AIX support.
54731 * Makerules: Likewise.
54732 * config.h.in: Likewise.
54733 * config.make.in: Likewise.
54734 * configure: Likewise.
54735 * configure.in: Likewise.
54736 * csu/Makefile: Likewise.
54737 * csu/version.c: Likewise.
54738 * debug/Makefile: Likewise.
54739 * dlfcn/Makefile: Likewise.
54740 * elf/Makefile: Likewise.
54741 * extra-lib.mk: Likewise.
54742 * iconv/Makefile: Likewise.
54743 * include/libc-symbols.h: Likewise.
54744 * include/shlib-compat.h: Likewise.
54745 * resolv/Makefile: Likewise.
54746 * resolv/res_libc.c: Likewise.
54747 * rt/Makefile: Likewise.
54748 * sysdeps/i386/asm-syntax.h: Likewise.
54749 * sysdeps/i386/sysdep.h: Likewise.
54750 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
54751 * sysdeps/mach/sysdep.h: Likewise.
54752 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
54753 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
54754 * sysdeps/s390/asm-syntax.h: Likewise.
54755 * sysdeps/s390/s390-32/sysdep.h: Likewise.
54756 * sysdeps/s390/s390-64/sysdep.h: Likewise.
54757 * sysdeps/sh/sysdep.h: Likewise.
54758 * sysdeps/unix/sparc/sysdep.h: Likewise.
54759 * sysdeps/wordsize-32/divdi3.c: Likewise.
54760 * sysdeps/x86_64/sysdep.h: Likewise.
54762 * argp/Versions: Remove _argp_unlock_xxx.
54765 * abilist/ld.abilist: Update. Adjust for removal of tls option.
54766 * abilist/libBrokenLocale.abilist: Likewise.
54767 * abilist/libanl.abilist: Likewise.
54768 * abilist/libc.abilist: Likewise.
54769 * abilist/libcrypt.abilist: Likewise.
54770 * abilist/libdl.abilist: Likewise.
54771 * abilist/libm.abilist: Likewise.
54772 * abilist/libnsl.abilist: Likewise.
54773 * abilist/libpthread.abilist: Likewise.
54774 * abilist/libresolv.abilist: Likewise.
54775 * abilist/librt.abilist: Likewise.
54776 * abilist/libthread_db.abilist: Likewise.
54777 * abilist/libutil.abilist: Likewise.
54778 * abilist/libnss_db.abilist: New file.
54780 * scripts/abilist.awk: Add support for indirect functions.
54782 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
54784 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
54786 * shlib-versions: Remove entries for ports architectures.
54788 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
54790 * elf/stackguard-macros.h: Remove support for IA-64.
54791 * elf/tst-auditmod1.c: Likewise.
54792 * sysdeps/generic/ldsodefs.h: Likewise.
54794 * sysdeps/unix/sysv/linux/configure.in: Ports should define
54795 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
54799 * configure.in: Remove --enable-omitfp support.
54801 * config.make.in: Likewise.
54802 * Makeconfig: Likewise.
54803 * manual/install.texi: Likewise.
54805 In case anyone cares, the IA-64 architecture could move to ports.
54806 * sysdeps/ia64/*: Removed.
54807 * sysdeps/unix/sysv/linux/ia64/*: Removed.
54808 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
54811 * configure.in: Remove entries for unsupported architectures.
54814 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
54815 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
54817 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
54818 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
54819 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
54820 fall back to using wcrtomb.
54821 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
54822 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
54824 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
54825 * wcsmbs/tst-c16c32-1.c: New file.
54827 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
54830 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
54832 * elf/tst-unique3.cc: Add explicit declaration of gets.
54833 * elf/tst-unique3lib.cc: Likewise.
54834 * elf/tst-unique3lib2.cc: Likewise.
54835 * elf/tst-unique4.cc: Likewise.
54837 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
54839 2012-01-06 Joseph Myers <joseph@codesourcery.com>
54842 * assert/assert.h (static_assert): Don't define for C++.
54843 * libio/stdio.h (gets): Do declare for C++ <= C++11.
54844 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
54846 2012-01-03 Ulrich Drepper <drepper@gmail.com>
54848 * iconv/loop.c (single loop): Fix assertion in storing of
54851 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
54853 2012-01-01 Ulrich Drepper <drepper@gmail.com>
54855 * posix/getconf.c: Update copyright year.
54856 * nss/getent.c: Likewise.
54857 * nss/makedb.c: Likewise.
54858 * iconv/iconvconfig.c: Likewise.
54859 * iconv/iconv_prog.c: Likewise.
54860 * elf/ldconfig.c: Likewise.
54861 * elf/pldd.c: Likewise.
54862 * elf/sotruss.ksh: Likewise.
54863 * catgets/gencat.c: Likewise.
54864 * csu/version.c: Likewise.
54865 * elf/ldd.bash.in: Likewise.
54866 * elf/sprof.c (print_version): Likewise.
54867 * locale/programs/locale.c: Likewise.
54868 * locale/programs/localedef.c: Likewise.
54869 * login/programs/pt_chown.c: Likewise.
54870 * nscd/nscd.c (print_version): Likewise.
54871 * debug/xtrace.sh: Likewise.
54872 * malloc/memusage.sh: Likewise.
54873 * malloc/mtrace.pl: Likewise.
54874 * debug/catchsegv.sh: Likewise.
54876 2011-12-30 Jakub Jelinek <jakub@redhat.com>
54878 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
54881 2011-12-24 Ulrich Drepper <drepper@gmail.com>
54884 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
54885 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
54887 * iconv/gconv_int.h: Likewise.
54888 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
54889 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
54890 from libc for GLIBC_2.16.
54891 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
54892 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
54893 * wcsmbs/uchar.h: Really define mbstate_t.
54894 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
54895 * wcsmbs/c16rtomb.c: New file.
54896 * wcsmbs/mbrtoc16.c: New file.
54897 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
54898 for C/POSIX locale.
54899 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
54900 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
54902 * wcsmbs/wchar.h: Add missing __restrict.
54904 2011-12-23 Ulrich Drepper <drepper@gmail.com>
54907 * time/Makefile (routines): Add timespec_get.
54908 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
54909 * time/time.h: Define TIME_UTC and declare timespec_get. Define
54910 timespec for ISO C11.
54911 * time/timespec_get.c: New file.
54912 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
54913 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
54916 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
54917 * stdlib/stdlib.h: Declare aligned_alloc.
54918 * Versions.def: Add GLIBC_2.16 for libc.
54919 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
54922 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
54925 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
54929 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
54932 * assert/assert.h (static_assert): Define.
54934 * version.h: Update for 2.16 development version.
54937 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
54940 * version.h (RELEASE): Bump for 2.15 release.
54941 * include/features.h (__GLIBC_MINOR__): Bump to 15.
54943 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
54944 Patch by Marek Polacek <mpolacek@redhat.com>.
54946 * bits/byteswap.h: Protect long long constants with __extension__.
54947 * sysdeps/i386/bits/byteswap.h: Likewise.
54948 * sysdeps/ia64/bits/byteswap.h: Likewise.
54949 * sysdeps/s390/bits/byteswap.h: Likewise.
54950 * sysdeps/x86_64/bits/byteswap.h: Likewise.
54952 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
54955 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
54956 destination buffer.
54957 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
54959 2011-12-23 Marek Polacek <polacek@redhat.com>
54961 * elf/dl-addr.c (determine_info): Add inline keyword.
54962 * elf/tst-auditmod4b.c (check_avx): Likewise.
54963 * elf/tst-auditmod6b.c (check_avx): Likewise.
54964 * elf/tst-auditmod6c.c (check_avx): Likewise.
54965 * elf/tst-auditmod7b.c (check_avx): Likewise.
54967 2011-12-23 Ulrich Drepper <drepper@gmail.com>
54969 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
54972 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
54975 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
54976 processing for last bytes.
54978 2011-08-06 Bruno Haible <bruno@clisp.org>
54981 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
54982 U+0385, not to U+1FEE.
54985 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
54986 entry for U+00A5 U+0301.
54988 2011-12-22 Ulrich Drepper <drepper@gmail.com>
54991 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
54992 buffer for the output is too small.
54994 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
54998 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
54999 SSE flags if possible.
55001 2011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
55004 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
55005 processing for last bytes.
55007 2011-12-22 Joseph Myers <joseph@codesourcery.com>
55009 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
55010 (syscall-list-default-options, syscall-list-default-condition)
55011 (syscall-list-includes): Define.
55012 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
55013 list of ABIs and options and #if conditions for each ABI. Do not
55014 handle common syscalls between ABIs specially.
55015 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
55017 (syscall-list-variants, syscall-list-32bit-options)
55018 (syscall-list-32bit-condition, syscall-list-64bit-options)
55019 (syscall-list-64bit-condition): Define.
55020 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
55021 (syscall-list-variants, syscall-list-32bit-options)
55022 (syscall-list-32bit-condition, syscall-list-64bit-options)
55023 (syscall-list-64bit-condition): Define.
55024 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
55026 (syscall-list-variants, syscall-list-32bit-options)
55027 (syscall-list-32bit-condition, syscall-list-64bit-options)
55028 (syscall-list-64bit-condition): Define.
55029 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
55031 (syscall-list-variants, syscall-list-32bit-options)
55032 (syscall-list-32bit-condition, syscall-list-64bit-options)
55033 (syscall-list-64bit-condition): Define.
55035 2011-12-22 Ulrich Drepper <drepper@gmail.com>
55037 * locale/iso-639.def: Add brx entry.
55040 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
55041 Proposed by Mariusz_Cukr <marcukr@op.pl>.
55043 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
55044 __feraiseexcept_renamed.
55046 2011-12-21 Ulrich Drepper <drepper@gmail.com>
55049 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
55050 EPOLLET with unsigned values.
55051 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
55052 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
55054 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
55055 to large cancellation.
55056 * math/s_cacoshf.c: Likewise.
55057 * math/s_cacoshl.c: Likewise.
55059 2011-11-18 Richard B. Kreckel <kreckel@ginac.de>
55063 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
55064 * math/s_cacoshf.c: Likewise.
55065 * math/s_cacoshl.c: Likewise.
55067 2011-12-21 Ulrich Drepper <drepper@gmail.com>
55070 * iconv/gconv.h: Define __GCONV_SWAP.
55071 * iconvdata/unicode.c: The swap bit must be stored in __flags.
55072 * iconvdata/utf-16.c: Likewise.
55073 * iconvdata/utf-32.c: Likewise.
55075 2011-12-21 Andreas Schwab <schwab@linux-m68k.org>
55078 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
55079 numerator after shifting it by one limb.
55081 2011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
55083 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
55084 under [__USE_EXTERN_INLINES].
55086 2011-12-17 Ulrich Drepper <drepper@gmail.com>
55089 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
55091 2011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
55093 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
55094 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
55096 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
55097 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
55098 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
55099 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
55100 for strncasecmp/strncasecmp_l compilation.
55101 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
55102 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
55104 2011-12-08 Marek Polacek <mpolacek@redhat.com>
55107 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
55110 2011-12-17 Ulrich Drepper <drepper@gmail.com>
55113 * time/tzfile.c (__tzfile_read): Check values from file header.
55115 2011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
55117 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
55118 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
55119 * powerpc/powerpc32/dl-start.S: Likewise.
55120 * powerpc/powerpc32/elf/start.S: Likewise.
55121 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
55122 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
55123 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
55124 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
55125 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
55126 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
55127 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
55128 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
55129 * powerpc/powerpc32/fpu/s_round.S: Likewise.
55130 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
55131 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
55132 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
55133 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
55134 * powerpc/powerpc32/memset.S: Likewise.
55135 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
55136 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
55137 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
55138 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
55139 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
55140 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
55141 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
55142 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
55143 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
55144 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
55145 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
55146 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
55147 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
55149 2011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
55151 * math/libm-test.inc: Added more nearbyint tests.
55152 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
55153 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
55154 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
55155 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
55157 2011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
55159 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
55162 2011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
55164 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
55165 Add wcscpy-ssse3 wcscpy-c.
55166 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
55167 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
55168 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
55169 * sysdeps/x86_64/wcschr.S: New file.
55170 * sysdeps/x86_64/wcsrchr.S: New file.
55171 * string/test-strcmp.c: Remove checking of wcscmp function for
55173 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
55174 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
55175 wcsrchr-sse2 wcsrchr-c.
55176 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
55177 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
55178 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
55179 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
55180 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
55181 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
55182 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
55183 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
55184 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
55185 * wcsmbc/wcschr.c (WCSCHR): New macro.
55187 2011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
55189 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
55190 * wcsmbs/test-wcsrchr.c: New file.
55191 * string/test-strrchr.c: Add wcsrchr support.
55193 * wcsmbs/test-wcscpy.c: New file.
55194 * string/test-strcpy.c: Add wcscpy support.
55197 2011-12-10 Ulrich Drepper <drepper@gmail.com>
55199 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
55202 2011-12-06 Andreas Schwab <schwab@linux-m68k.org>
55205 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
55207 2011-12-04 Ulrich Drepper <drepper@gmail.com>
55209 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
55210 Minor optimizations.
55212 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
55213 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
55214 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
55216 2011-12-03 Ulrich Drepper <drepper@gmail.com>
55218 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
55219 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
55220 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
55221 for gcc to avoid warnings.
55222 * inet/Makefile (tests): Add tst-checks.
55223 * inet/tst-checks.c: New file.
55225 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
55228 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
55231 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
55232 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
55234 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
55236 2011-12-02 Ulrich Drepper <drepper@gmail.com>
55238 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
55241 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
55243 2011-11-29 Joseph Myers <joseph@codesourcery.com>
55245 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
55246 conditional on GCC version.
55247 (__arch_compare_and_exchange_val_8_acq)
55248 (__arch_compare_and_exchange_val_16_acq)
55249 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
55250 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
55251 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
55253 2011-12-02 Joseph Myers <joseph@codesourcery.com>
55255 * sysdeps/sh/backtrace.c: New file.
55257 2011-12-02 Andreas Schwab <schwab@redhat.com>
55259 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
55262 2011-12-01 Andreas Schwab <schwab@redhat.com>
55264 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
55265 falling back to utime.
55267 2011-11-30 Andreas Schwab <schwab@redhat.com>
55269 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
55270 expectations for float.
55272 2011-11-29 Andreas Schwab <schwab@redhat.com>
55274 * locale/weight.h (findidx): Add parameter len.
55275 * locale/weightwc.h (findidx): Likewise.
55276 * posix/fnmatch_loop.c (FCT): Adjust caller.
55277 * posix/regcomp.c (build_equiv_class): Likewise.
55278 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
55279 * posix/regexec.c (check_node_accept_bytes): Likewise.
55280 * string/strcoll_l.c (STRCOLL): Likewise.
55281 * string/strxfrm_l.c (STRXFRM): Likewise.
55283 2011-11-17 Ulrich Drepper <drepper@gmail.com>
55285 * Makefile.in: Remove CVSOPT handling.
55286 * configure.in: Remove use of AC_REVISION.
55287 * iconvdata/Makefile (distribute): No need to filter out CVS.
55288 * scripts/list-sources.sh: Remove CVS, subversion and monotone
55291 2011-11-16 Andreas Schwab <schwab@redhat.com>
55293 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
55294 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
55295 [USE_AS_STRNCASECMP_L]: Likewise.
55296 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
55297 NO_TLS_DIRECT_SEG_REFS.
55298 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
55299 Fix argument offsets for non-PIC.
55300 [USE_AS_STRNCASECMP_L]: Likewise.
55301 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
55302 NO_TLS_DIRECT_SEG_REFS.
55304 2011-11-15 Ulrich Drepper <drepper@gmail.com>
55306 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
55308 * locale/loadlocale.c (_nl_load_locale): Likewise.
55310 2011-11-15 Andreas Schwab <schwab@redhat.com>
55312 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
55313 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
55314 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
55315 (SYSCALL_GETTIME): Set errno on error.
55317 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
55318 count references to noai6ai_cached.
55320 2011-11-15 Ulrich Drepper <drepper@gmail.com>
55322 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
55324 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
55325 FD_CLOEXEC for /proc/self/maps.
55327 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
55328 FD_CLOEXEC for /proc/meminfo.
55330 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
55333 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
55334 FD_CLOEXEC for given file.
55336 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
55338 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
55339 FD_CLOEXEC for /etc/hosts.
55340 (_gethtent): Likewise.
55342 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
55344 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
55345 cancellation and set FD_CLOEXEC for /etc/netgroup.
55347 * nss/nss_files/files-key.c (search): Don't allow cancellation when
55348 reading /etc/publickey.
55350 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
55351 allow cancellation when reading /etc/group.
55353 * nss/nss_files/files-alias.c (internal_setent): Don't allow
55355 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
55357 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
55358 when using data file.
55360 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
55362 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
55363 (write_nis_obj): Use "c" and "e" in fopen.
55365 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
55367 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
55369 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
55371 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
55373 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
55376 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
55378 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
55380 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
55382 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
55383 file parsing and set FD_CLOEXEC.
55385 2011-11-14 Ulrich Drepper <drepper@gmail.com>
55387 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
55389 2011-11-14 Andreas Schwab <schwab@redhat.com>
55391 * malloc/arena.c (arena_get2): Don't call reused_arena when
55392 _int_new_arena failed.
55394 2011-11-14 Ulrich Drepper <drepper@gmail.com>
55396 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
55397 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
55398 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
55399 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
55400 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
55401 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
55402 to compile strcasecmp and strncasecmp.
55403 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
55404 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
55406 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
55408 2011-11-13 Ulrich Drepper <drepper@gmail.com>
55410 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
55411 locale-defines.sym to gen-as-const-headers.
55412 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
55413 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
55414 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
55415 to compile strcasecmp and strncasecmp.
55416 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
55417 strcasecmp_l and strncasecmp_l.
55418 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
55419 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
55420 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
55421 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
55422 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
55423 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
55424 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
55425 * sysdeps/i386/i686/multiarch/strncase.S: New file.
55426 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
55427 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
55428 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
55430 2011-11-12 Ulrich Drepper <drepper@gmail.com>
55432 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
55433 result of SYSDEP_GETTIME_CPU to retval.
55434 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
55435 parameter list to macro. Remove trailing semicolon. Adjust users.
55437 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
55440 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
55442 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
55444 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
55445 from unused variable.
55447 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
55449 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
55452 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
55455 * sunrpc/rpc_prot.c (rejected): Fix case value.
55457 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
55458 unsigned long long int to avoid warnings in shift.
55460 * posix/regex_internal.c (re_string_reconstruct): Actually use result
55462 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
55465 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
55466 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
55467 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
55469 * nis/nis_table.c (nis_list): Use variable of correct type for
55470 result of __follow_path call.
55472 2011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
55474 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
55475 of math functions ceil, trunc, floor, round, and sqrt, when
55476 avaliable on the platform.
55477 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
55479 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
55480 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
55481 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
55483 2011-10-30 Marek Polacek <mpolacek@redhat.com>
55485 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
55486 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
55488 2011-11-11 Roland McGrath <roland@hack.frob.com>
55490 * include/unistd.h: Fix __readlink return type.
55491 Reported by Chris Metcalf <cmetcalf@tilera.com>.
55493 2011-11-11 Ulrich Drepper <drepper@gmail.com>
55495 * stdlib/ucontext.h: Undo last change for makecontext.
55497 2011-11-11 Andreas Schwab <schwab@redhat.com>
55499 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
55501 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
55502 * setjmp/setjmp.h: Mark functions as non-leaf.
55503 * setjmp/bits/setjmp2.h: Likewise.
55504 * stdlib/ucontext.h: Likewise.
55506 2011-11-10 Andreas Schwab <schwab@redhat.com>
55508 * malloc/arena.c (_int_new_arena): Don't increment narenas.
55509 (reused_arena): Don't check arena limit.
55510 (arena_get2): Atomically check arena limit.
55512 2011-11-08 Ulrich Drepper <drepper@gmail.com>
55514 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
55515 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
55517 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
55520 2011-11-07 Andreas Schwab <schwab@redhat.com>
55522 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
55523 handler when locking.
55525 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
55526 Fix size of allocated buffer.
55528 2011-11-04 Andreas Schwab <schwab@redhat.com>
55531 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
55532 declarations for long double functions.
55533 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
55535 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
55537 2011-11-03 Andreas Schwab <schwab@redhat.com>
55539 * nscd/nscd.c (main): Don't start AVC thread until credentials are
55542 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
55545 2011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
55547 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
55549 2011-11-01 Andreas Schwab <schwab@linux-m68k.org>
55551 * include/alloca.h (stackinfo_alloca_round): Define.
55552 (extend_alloca): Use it.
55553 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
55554 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
55557 * scripts/check-local-headers.sh: Ignore libaudit.h.
55559 * nscd/Makefile (extra-objs): Make recursively expanded.
55561 2011-11-01 Ulrich Drepper <drepper@gmail.com>
55563 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
55564 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
55566 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
55567 * posix/tst-rfc3484-2.c: Likewise.
55568 * posix/tst-rfc3484-3.c: Likewise.
55570 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
55572 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
55574 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
55575 process_vm_writev from libc using GLIBC_2.15 version.
55577 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
55579 2011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
55581 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
55584 2011-10-31 Ulrich Drepper <drepper@gmail.com>
55587 * nss/getent.c (initgroups_keys): Show error message in case no group
55590 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
55591 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
55592 __bump_nl_timestamp.
55593 * nscd/connections (nscd_init): When host database is served open
55594 netlink socket and request notification about configuration changes.
55595 (main_loop_poll): Track netlink file descriptor and bump timestamp
55596 in case data becomes available.
55597 (main_loop_epoll): Likewise.
55598 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
55599 (database_pers_head): Add extra_data fileds.
55600 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
55601 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
55602 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
55604 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
55605 in6ai data, call __free_in6ai.
55606 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
55607 Add -DHAVE_NETLINK.
55608 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
55609 interface information. Reuse previous data if netlink timestamp
55611 (__bump_nl_timestamp): New function.
55612 (__free_in6ai): New function.
55614 2011-10-30 Ulrich Drepper <drepper@gmail.com>
55616 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
55617 close_not_cancel_no_status here.
55618 (__check_pf): Reorganize code a bit to not call close twice if OOM.
55620 2011-10-29 Ulrich Drepper <drepper@gmail.com>
55623 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
55626 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
55627 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
55628 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
55630 2011-07-03 Andreas Jaeger <aj@suse.de>
55633 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
55634 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
55635 * math/libm-test.inc (sin_test): Add test case.
55637 2011-10-29 Ulrich Drepper <drepper@gmail.com>
55640 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
55641 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
55643 * elf/chroot_canon.c (chroot_canon): Cleanups.
55645 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
55648 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
55649 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
55651 * string/test-strchr.c: Make usable for strchrnul testing.
55652 * string/test-strchrnul.c: New file.
55653 * string/Makefile (strop-tests): Add strchrnul.
55655 * po/it.po: Update from translation team.
55656 * po/es.po: Likewise.
55658 2011-10-28 Ulrich Drepper <drepper@gmail.com>
55660 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
55661 the three constants needed as parameters. Drop the others.
55662 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
55663 __m128i_strloadu_tolower.
55664 Create and initialize variable zero and use it in all the places
55665 where _mm_setzero_si128 was used.
55667 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
55668 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
55669 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
55670 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
55672 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
55673 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
55674 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
55675 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
55676 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
55677 __mpranred, __mptan.
55678 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
55679 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
55680 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
55681 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
55682 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
55683 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
55684 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
55685 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
55686 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
55688 2011-10-28 Andreas Schwab <schwab@redhat.com>
55690 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
55691 redefine if SHARED.
55692 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
55694 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
55695 wide char related routines to wcsmbs subdir.
55697 2011-10-27 Andreas Schwab <schwab@redhat.com>
55700 * misc/sys/cdefs.h (__THROWNL): Define.
55701 * posix/unistd.h: Use __THREADNL instead of __THREAD
55702 for memory synchronization functions.
55704 2011-10-26 Roland McGrath <roland@hack.frob.com>
55707 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
55709 * manual/stdio.texi (Obstack Streams): Node removed.
55711 2011-10-26 Andreas Schwab <schwab@redhat.com>
55713 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
55714 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
55715 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
55717 * math/math_private.h (math_force_eval): Allow non-addressable
55719 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
55721 2011-10-25 Ulrich Drepper <drepper@gmail.com>
55723 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
55724 file is not needed.
55726 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
55727 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
55728 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
55729 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
55730 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
55731 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
55732 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
55733 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
55735 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
55736 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
55737 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
55738 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
55739 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
55740 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
55741 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
55742 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
55743 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
55744 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
55745 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
55746 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
55747 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
55748 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
55749 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
55750 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
55751 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
55752 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
55753 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
55755 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
55756 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
55758 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
55759 place. Use VEX encoding when compiling for AVX.
55761 2011-10-25 Andreas Schwab <schwab@redhat.com>
55763 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
55764 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
55766 * string/test-strchr.c (do_test): Don't generate NUL bytes.
55768 2011-10-25 Ulrich Drepper <drepper@gmail.com>
55770 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
55771 useless if() expression.
55772 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
55773 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
55774 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
55775 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
55776 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
55777 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
55778 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
55779 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
55780 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
55781 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
55782 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
55783 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
55784 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
55785 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
55786 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
55787 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
55788 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
55789 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
55790 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
55792 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
55794 2011-10-25 Andreas Schwab <schwab@redhat.com>
55796 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
55798 * elf/dl-fini.c (_dl_sort_fini): Likewise.
55800 2011-10-25 Ulrich Drepper <drepper@gmail.com>
55802 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
55803 .text section. Avoid duplicate constants.
55804 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
55805 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
55806 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
55807 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
55808 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
55809 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
55810 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
55811 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
55812 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
55813 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
55814 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
55815 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
55816 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
55817 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
55818 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
55819 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
55820 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
55821 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
55822 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
55823 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
55824 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
55825 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
55826 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
55827 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
55828 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
55829 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
55830 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
55831 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
55832 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
55833 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
55834 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
55835 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
55836 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
55837 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
55838 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
55839 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
55840 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
55841 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
55842 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
55843 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
55844 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
55845 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
55846 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
55847 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
55848 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
55850 2011-10-24 Ulrich Drepper <drepper@gmail.com>
55852 * sysdeps/x86_64/dla.h: Move to ...
55853 * sysdeps/x86_64/fpu/dla.h: ...here.
55854 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
55855 situations. Use __builtin_fma only for gcc 4.6 and up.
55857 * config.make.in: Add have-mfma4 entry.
55858 * configure.in: Substitute libc_cv_cc_fma4.
55859 * math/Makefile (dbl-only-routines): Add sincostab.
55860 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
55861 Use __sincostab not sincos.
55862 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
55864 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
55865 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
55866 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
55867 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
55869 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
55870 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
55871 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
55872 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
55874 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
55875 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
55877 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
55878 define aliases when function name is a macro.
55879 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
55880 sysdeps/ieee754/dbl-64/sincos.tbl.
55881 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
55882 fma4-enabled routines.
55883 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
55884 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
55885 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
55886 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
55887 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
55888 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
55889 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
55890 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
55891 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
55892 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
55893 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
55894 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
55895 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
55896 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
55897 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
55898 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
55899 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
55900 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
55901 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
55902 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
55903 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
55904 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
55905 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
55906 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
55907 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
55908 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
55909 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
55910 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
55911 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
55912 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
55914 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
55916 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
55917 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
55918 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
55919 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
55920 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
55921 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
55922 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
55923 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
55925 2011-10-24 Andreas Schwab <schwab@redhat.com>
55927 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
55929 2011-10-23 Ulrich Drepper <drepper@gmail.com>
55931 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
55933 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
55935 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
55937 * string/strnlen.c: Don't define STRNLEN, reverse logic.
55938 Remove unused variable magic_bits.
55939 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
55941 * string/strnlen.c: Define and use STRNLEN macro.
55942 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
55943 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
55944 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
55945 * wcsmbs/wcslen.c: Define and use WCSLEN.
55946 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
55947 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
55948 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
55949 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
55950 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
55951 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
55952 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
55954 2011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
55956 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
55957 strnlen-sse2-no-bsf.
55958 Rename strlen-no-bsf to strlen-sse2-no-bsf.
55959 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
55960 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
55961 Add strnlen support.
55962 (USE_AS_STRNLEN): New macro.
55963 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
55964 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
55965 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
55966 * sysdeps/x86_64/wcslen.S: New file.
55968 2011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
55970 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
55971 XMM-moves are used for copying on small sizes.
55973 2011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
55975 * wcsmbs/Makefile (strop-tests): Add wcschr.
55976 * wcsmbs/test-wcschr.c: New file.
55977 * string/test-strchr.c: Update.
55978 Add wcschr support.
55981 2011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
55983 * wcsmbs/Makefile (strop-tests): Add wcslen.
55984 * wcsmbs/test-wcslen.c: New file.
55985 * string/test-strlen.c: Update.
55986 Add wcslen support.
55989 2011-10-23 Ulrich Drepper <drepper@gmail.com>
55991 * po/it.po: Update from translation team.
55993 2011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
55995 * sysdeps/x86_64/wcscmp.S: Update.
55996 Fix wrong comparison semantics.
55997 wcscmp shall use signed comparison not unsigned.
55998 Don't use substraction to avoid overflow bug.
55999 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
56000 * wcsmbc/wcscmp.c: Likewise.
56001 * string/test-strcmp.c: Likewise.
56002 Add new tests to check cases with negative values.
56004 2011-10-23 Ulrich Drepper <drepper@gmail.com>
56006 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
56007 * sysdeps/x86_64/dla.h: ...here. New file.
56008 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
56009 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
56010 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
56011 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
56012 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
56013 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
56014 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
56015 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
56016 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
56018 2011-10-23 Andreas Schwab <schwab@linux-m68k.org>
56020 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
56021 __ynl_finite aliases.
56023 2011-10-22 Ulrich Drepper <drepper@gmail.com>
56025 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
56027 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
56029 [DLA_FMA] (EMULV): Use DLA_FMA.
56030 [DLA_FMA] (MUL12): Use EMULV.
56031 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
56032 that are not needed.
56033 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
56034 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
56035 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
56036 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
56037 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
56038 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
56039 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
56041 2011-10-22 Andreas Schwab <schwab@linux-m68k.org>
56043 * math/s_nan.c: Undef __nan.
56044 * math/s_nanf.c: Undef __nanf.
56045 * math/s_nanl.c: Undef __nanl.
56046 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
56049 2011-10-22 Ulrich Drepper <drepper@gmail.com>
56051 * math/s_catan.c: Add branch predictions.
56052 * math/s_catanf.c: Likewise.
56053 * math/s_catanh.c: Likewise.
56054 * math/s_catanhf.c: Likewise.
56055 * math/s_catanhl.c: Likewise.
56056 * math/s_catanl.c: Likewise.
56057 * math/s_cexp.c: Likewise.
56058 * math/s_cexpf.c: Likewise.
56059 * math/s_cexpl.c: Likewise.
56060 * math/s_clog.c: Likewise.
56061 * math/s_clog10.c: Likewise.
56062 * math/s_clog10f.c: Likewise.
56063 * math/s_clog10l.c: Likewise.
56064 * math/s_clogf.c: Likewise.
56065 * math/s_clogl.c: Likewise.
56066 * math/s_csqrt.c: Likewise.
56067 * math/s_csqrtf.c: Likewise.
56068 * math/s_csqrtl.c: Likewise.
56069 * math/s_ctanf.c: Likewise.
56070 * math/s_ctanh.c: Likewise.
56071 * math/s_ctanhf.c: Likewise.
56072 * math/s_ctanhl.c: Likewise.
56073 * math/s_ctanl.c: Likewise.
56075 * math/math_private.h: Define __nan, __nanf, __nanl.
56076 * math/s_cacosh.c: Include <math_private.h>.
56077 * math/s_cacoshl.c: Likewise.
56078 * math/s_casinh.c: Likewise.
56079 * math/s_casinhf.c: Likewise.
56080 * math/s_casinhl.c: Likewise.
56081 * math/s_ccos.c: Rely entire on ccosh.
56082 * math/s_ccosf.c: Rely entire on ccoshf.
56083 * math/s_ccosl.c: Rely entirely on ccoshl.
56084 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
56085 Remove tests for FE_INVALID.
56086 * math/s_ccoshf.c: Likewise.
56087 * math/s_ccoshl.c: Likewise.
56088 * math/s_csin.c: Likewise.
56089 * math/s_csinf.c: Likewise.
56090 * math/s_csinh.c Likewise.
56091 * math/s_csinhf.c: Likewise.
56092 * math/s_csinhl.c: Likewise.
56093 * math/s_csinl.c: Likewise.
56094 * math/s_ctan.c: Likewise.
56095 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
56096 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
56097 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
56099 2011-10-21 Ulrich Drepper <drepper@gmail.com>
56101 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
56102 compilation problems.
56104 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
56107 2011-10-20 Ulrich Drepper <drepper@gmail.com>
56109 * sysdeps/i386/configure.in: Test for -mfma4 option.
56110 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
56111 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
56112 COMMON_CPUID_INDEX_80000001.
56113 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
56114 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
56115 use it if FMA3 is not supported.
56116 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
56118 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
56119 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
56121 2011-10-20 Andreas Schwab <schwab@redhat.com>
56124 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
56125 it would create a cycle with a link time dependency.
56127 2011-10-19 Ulrich Drepper <drepper@gmail.com>
56129 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
56131 * string/Makefile (strop-tests): Add rawmemchr.
56132 * string/test-rawmemchr.c: New file.
56134 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
56135 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
56136 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
56137 when compiling str{,n}casecmp and when AVX is available. Hook up
56138 new optimized code in initializers.
56140 2011-10-19 Andreas Schwab <schwab@redhat.com>
56142 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
56143 __feraiseexcept instead of feraiseexcept.
56145 2011-10-18 Ulrich Drepper <drepper@gmail.com>
56147 * math/math_private.h: Define defaults for libc_fetestexcept and
56149 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
56150 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
56151 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
56152 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
56153 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
56154 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
56155 libc_fetestexcept and libc_feupdateenv.
56157 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
56158 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
56159 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
56160 * sysdeps/x86_64/fpu/math_private.h: Define special version of
56161 libc_feholdexcept_setround.
56163 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
56164 Add s_nearbyint-c and s_nearbyintf-c.
56165 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
56166 nearbyintf inlines.
56167 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
56168 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
56169 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
56170 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
56172 * math/math_private.h: Define defaults for libc_fegetround,
56173 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
56174 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
56175 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
56176 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
56177 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
56178 standard functions.
56179 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
56180 Remove comments and hacks for old compiler versions.
56181 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
56182 libc_fegetround, libc_fesetround, libc_feholdexcept, and
56183 libc_feholdexceptl.
56185 2011-10-18 Andreas Schwab <schwab@redhat.com>
56187 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
56188 (__feraiseexcept_renamed): Add __NTH.
56189 (feraiseexcept): Add __NTH. Rename local variables to fix
56190 namespace violations.
56192 2011-10-17 Ulrich Drepper <drepper@gmail.com>
56194 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
56196 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
56198 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
56199 recently added interfaces.
56200 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
56202 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
56203 about macro parameter expansion.
56205 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
56206 __NO_MATH_INLINES is defined. Cleanups.
56208 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
56209 and __floorf is target has SSE4.1.
56210 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
56211 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
56212 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
56213 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
56215 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
56217 (floorf): Likewise.
56219 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
56221 2011-10-17 Andreas Schwab <schwab@redhat.com>
56223 * misc/sys/cdefs.h: Fix last change.
56225 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
56228 2011-10-16 Ulrich Drepper <drepper@gmail.com>
56230 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
56232 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
56233 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
56234 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
56235 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
56236 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
56237 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
56238 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
56239 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
56240 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
56241 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
56242 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
56243 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
56244 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
56245 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
56246 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
56247 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
56248 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
56249 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
56250 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
56251 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
56252 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
56253 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
56255 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
56256 ceil, ceilf, floor, floorf.
56258 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
56259 Perform IRELATIVE relocations last.
56261 * elf/do-rel.h: Add another parameter nrelative, replacing the
56262 local variable with the same name. Change name of the function
56263 to end in Rel or Rela (uppercase).
56264 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
56265 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
56266 elf_dynamic_do_##reloc function.
56268 2011-10-15 Ulrich Drepper <drepper@gmail.com>
56270 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
56271 is sufficient, at least on modern CPUs.
56273 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
56275 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
56276 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
56278 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
56280 * math/bits/math-finite.h: Add entries for exp.
56281 * math/e_expl.c: Add __*_finite alias.
56282 * sysdeps/i386/fpu/e_exp.S: Likewise.
56283 * sysdeps/i386/fpu/e_expf.S: Likewise.
56284 * sysdeps/i386/fpu/e_expl.c: Likewise.
56285 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
56286 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
56287 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
56288 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
56289 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
56290 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
56291 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
56293 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
56294 is sufficient, at least on modern CPUs.
56296 * ctype/ctype-info.c (__ctype_init): Define.
56297 * include/ctype.h (__ctype_init): Declare.
56298 (__ctype_b_loc): The variable is always initialized.
56299 (__ctype_toupper_loc): Likewise.
56300 (__ctype_tolower_loc): Likewise.
56301 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
56302 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
56304 2011-10-15 Andreas Schwab <schwab@linux-m68k.org>
56306 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
56308 * configure.in: Also look in $cxxmachine/include for C++ system
56311 2011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
56313 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
56314 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
56315 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
56316 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
56317 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
56318 (USE_AS_WMEMCMP): New macro.
56320 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
56321 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
56322 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
56323 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
56324 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
56325 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
56326 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
56327 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
56328 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
56329 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
56330 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
56331 (USE_AS_WMEMCMP): New macro.
56332 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
56333 * sysdeps/string/test-memcmp.c: Update.
56334 Fix simple_wmemcmp.
56336 * wcsmbs/wmemcmp.c: Update.
56337 (WMEMCMP): New macro.
56340 2011-10-12 Andreas Jaeger <aj@suse.de>
56343 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
56345 2011-10-15 Ulrich Drepper <drepper@gmail.com>
56347 * libio/iofwide.c (do_length): Avoid warning.
56349 * ctype/ctype.h (__isctype_f): Add missing __THROW.
56351 2011-10-14 Ulrich Drepper <drepper@gmail.com>
56353 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
56355 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
56356 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
56357 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
56358 * sysdeps/i386/i686/fpu/e_log.S: New file.
56359 * sysdeps/i386/i686/fpu/e_logf.S: New file.
56360 * sysdeps/i386/i686/fpu/e_logl.S: New file.
56362 * ctype/ctype.h: Add support for inlined isXXX functions when
56363 compiling C++ code.
56365 2011-10-14 Andreas Schwab <schwab@redhat.com>
56367 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
56369 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
56371 2011-10-13 Roland McGrath <roland@hack.frob.com>
56374 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
56376 2011-10-13 Andreas Schwab <schwab@redhat.com>
56378 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
56379 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
56382 * sysdeps/x86_64/memrchr.S: Check for zero size.
56384 * string/stratcliff.c: Add memrchr tests.
56386 2011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
56388 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
56389 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
56390 rawmemchr-sse2 rawmemchr-sse2-bsf.
56391 * sysdeps/i386/i686/multiarch/memchr.S: New file.
56392 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
56393 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
56394 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
56395 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
56396 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
56397 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
56398 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
56399 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
56400 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
56401 * string/memrchr.c (MEMRCHR): New macro.
56403 2011-10-12 Ulrich Drepper <drepper@gmail.com>
56405 Add integration with gcc's -ffinite-math-only and optimize wrapper
56407 * Versions.def: Define GLIBC_2.15 version for libm.
56408 * math/Makefile (headers): Add bits/math-finite.h.
56409 * math/bits/math-finite.h: New file.
56410 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
56411 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
56412 * math/e_acoshl.c: Add __*_finite alias.
56413 * math/e_acosl.c: Likewise.
56414 * math/e_asinl.c: Likewise.
56415 * math/e_atan2l.c: Likewise.
56416 * math/e_atanhl.c: Likewise.
56417 * math/e_coshl.c: Likewise.
56418 * math/e_exp10.c: Likewise.
56419 * math/e_exp10f.c: Likewise.
56420 * math/e_exp10l.c: Likewise.
56421 * math/e_exp2l.c: Likewise.
56422 * math/e_fmodl.c: Likewise.
56423 * math/e_gammal_r.c: Likewise.
56424 * math/e_hypotl.c: Likewise.
56425 * math/e_j0l.c: Likewise.
56426 * math/e_j1l.c: Likewise.
56427 * math/e_jnl.c: Likewise.
56428 * math/e_lgammal_r.c: Likewise.
56429 * math/e_log10l.c: Likewise.
56430 * math/e_log2l.c: Likewise.
56431 * math/e_logl.c: Likewise.
56432 * math/e_powl.c: Likewise.
56433 * math/e_sinhl.c: Likewise.
56434 * math/e_sqrtl.c: Likewise.
56435 * math/e_scalb.c: Completely rewritten and optimized.
56436 * math/e_scalbf.c: Likewise.
56437 * math/e_scalbl.c: Likewise.
56438 * math/w_acos.c: Likewise.
56439 * math/w_acosf.c: Likewise.
56440 * math/w_acosl.c: Likewise.
56441 * math/w_acosh.c: Likewise.
56442 * math/w_acoshf.c: Likewise.
56443 * math/w_acoshl.c: Likewise.
56444 * math/w_asin.c: Likewise.
56445 * math/w_asinf.c: Likewise.
56446 * math/w_asinl.c: Likewise.
56447 * math/w_atan2.c: Likewise.
56448 * math/w_atan2f.c: Likewise.
56449 * math/w_atan2l.c: Likewise.
56450 * math/w_atanh.c: Likewise.
56451 * math/w_atanhf.c: Likewise.
56452 * math/w_atanhl.c: Likewise.
56453 * math/w_exp10.c: Likewise.
56454 * math/w_exp10f.c: Likewise.
56455 * math/w_exp10l.c: Likewise.
56456 * math/w_fmod.c: Likewise.
56457 * math/w_fmodf.c: Likewise.
56458 * math/w_fmodl.c: Likewise.
56459 * math/w_j0.c: Likewise.
56460 * math/w_j0f.c: Likewise.
56461 * math/w_j0l.c: Likewise.
56462 * math/w_j1.c: Likewise.
56463 * math/w_j1f.c: Likewise.
56464 * math/w_j1l.c: Likewise.
56465 * math/w_jn.c: Likewise.
56466 * math/w_jnf.c: Likewise.
56467 * math/w_log.c: Likewise.
56468 * math/w_logf.c: Likewise.
56469 * math/w_logl.c: Likewise.
56470 * math/w_log10.c: Likewise.
56471 * math/w_log10f.c: Likewise.
56472 * math/w_log10l.c: Likewise.
56473 * math/w_log2.c: Likewise.
56474 * math/w_log2f.c: Likewise.
56475 * math/w_log2l.c: Likewise.
56476 * math/w_pow.c: Likewise.
56477 * math/w_powf.c: Likewise.
56478 * math/w_powl.c: Likewise.
56479 * math/w_remainder.c: Likewise.
56480 * math/w_remainderf.c: Likewise.
56481 * math/w_remainderl.c: Likewise.
56482 * math/w_scalb.c: Likewise.
56483 * math/w_scalbf.c: Likewise.
56484 * math/w_scalbl.c: Likewise.
56485 * math/w_sqrt.c: Likewise.
56486 * math/w_sqrtf.c: Likewise.
56487 * math/w_sqrtl.c: Likewise.
56488 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
56489 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
56491 * math/math_private.h: Declare __kernel_standard_f.
56492 * math/w_cosh.c: Remove cruft and optimize a bit.
56493 * math/w_coshf.c: Likewise.
56494 * math/w_coshl.c: Likewise.
56495 * math/w_exp2.c: Likewise.
56496 * math/w_exp2f.c: Likewise.
56497 * math/w_exp2l.c: Likewise.
56498 * math/w_hypot.c: Likewise.
56499 * math/w_hypotf.c: Likewise.
56500 * math/w_hypotl.c: Likewise.
56501 * math/w_lgamma.c: Likewise.
56502 * math/w_lgamma_r.c: Likewise.
56503 * math/w_lgammaf.c: Likewise.
56504 * math/w_lgammaf_r.c: Likewise.
56505 * math/w_lgammal.c: Likewise.
56506 * math/w_lgammal_r.c: Likewise.
56507 * math/w_sinh.c: Likewise.
56508 * math/w_sinhf.c: Likewise.
56509 * math/w_sinhl.c: Likewise.
56510 * math/w_tgamma.c: Likewise.
56511 * math/w_tgammaf.c: Likewise.
56512 * math/w_tgammal.c: Likewise.
56513 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
56514 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
56515 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
56516 Minor optimizations. Pretty printing. Remove cruft.
56517 * sysdeps/i386/fpu/e_acosf.S: Likewise.
56518 * sysdeps/i386/fpu/e_acosh.S: Likewise.
56519 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
56520 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
56521 * sysdeps/i386/fpu/e_acosl.c: Likewise.
56522 * sysdeps/i386/fpu/e_asin.S: Likewise.
56523 * sysdeps/i386/fpu/e_asinf.S: Likewise.
56524 * sysdeps/i386/fpu/e_atan2.S: Likewise.
56525 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
56526 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
56527 * sysdeps/i386/fpu/e_atanh.S: Likewise.
56528 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
56529 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
56530 * sysdeps/i386/fpu/e_exp10.S: Likewise.
56531 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
56532 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
56533 * sysdeps/i386/fpu/e_exp2.S: Likewise.
56534 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
56535 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
56536 * sysdeps/i386/fpu/e_fmod.S: Likewise.
56537 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
56538 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
56539 * sysdeps/i386/fpu/e_hypot.S: Likewise.
56540 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
56541 * sysdeps/i386/fpu/e_log.S: Likewise.
56542 * sysdeps/i386/fpu/e_log10.S: Likewise.
56543 * sysdeps/i386/fpu/e_log10f.S: Likewise.
56544 * sysdeps/i386/fpu/e_log10l.S: Likewise.
56545 * sysdeps/i386/fpu/e_log2.S: Likewise.
56546 * sysdeps/i386/fpu/e_log2f.S: Likewise.
56547 * sysdeps/i386/fpu/e_log2l.S: Likewise.
56548 * sysdeps/i386/fpu/e_logf.S: Likewise.
56549 * sysdeps/i386/fpu/e_logl.S: Likewise.
56550 * sysdeps/i386/fpu/e_pow.S: Likewise.
56551 * sysdeps/i386/fpu/e_powf.S: Likewise.
56552 * sysdeps/i386/fpu/e_powl.S: Likewise.
56553 * sysdeps/i386/fpu/e_remainder.S: Likewise.
56554 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
56555 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
56556 * sysdeps/i386/fpu/e_scalb.S: Likewise.
56557 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
56558 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
56559 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
56560 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
56561 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
56562 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
56563 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
56564 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
56565 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
56566 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
56567 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
56568 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
56569 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
56570 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
56571 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
56572 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
56573 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
56574 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
56575 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
56576 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
56577 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
56578 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
56579 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
56580 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
56581 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
56582 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
56583 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
56584 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
56585 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
56586 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
56587 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
56588 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
56589 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
56590 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
56591 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
56592 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
56593 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
56594 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
56595 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
56596 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
56597 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
56598 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
56599 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
56600 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
56601 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
56602 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
56603 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
56604 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
56605 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
56606 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
56607 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
56608 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
56609 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
56610 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
56611 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
56612 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
56613 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
56614 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
56615 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
56616 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
56617 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
56618 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
56619 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
56620 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
56621 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
56622 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
56623 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
56624 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
56625 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
56626 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
56627 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
56628 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
56629 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
56630 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
56631 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
56632 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
56633 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
56634 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
56635 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
56636 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
56637 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
56638 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
56639 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
56640 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
56641 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
56642 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
56643 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
56644 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
56645 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
56646 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
56647 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
56648 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
56649 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
56650 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
56651 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
56652 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
56653 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
56654 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
56655 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
56656 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
56657 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
56658 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
56659 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
56660 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
56661 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
56662 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
56663 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
56664 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
56665 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
56666 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
56667 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
56668 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
56669 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
56670 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
56671 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
56672 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
56673 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
56674 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
56675 (__isnanf): Likewise.
56676 (__isinf_ns): Likewise.
56677 (__isinf_nsf): Likewise.
56678 (__finite): Likewise.
56679 (__finitef): Likewise.
56680 (__ieee754_sqrt): Define as macro.
56681 (__ieee754_sqrtf): Define as macro.
56682 (__ieee754_sqrtl): Define as macro.
56683 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
56685 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
56686 __FINITE_MATH_ONLY__ consistent.
56687 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
56689 2011-10-10 Andreas Schwab <schwab@linux-m68k.org>
56691 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
56694 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
56696 2011-10-09 Ulrich Drepper <drepper@gmail.com>
56698 * po/ja.po: Update from translation team.
56700 2011-10-08 Roland McGrath <roland@hack.frob.com>
56702 * locale/programs/locarchive.c (prepare_address_space): New function.
56703 (create_archive, enlarge_archive, open_archive): Use it.
56705 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
56706 inside [SHARED], where it is used.
56708 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
56710 * nss/getent.c (netgroup_keys): Remove unused variable.
56711 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
56713 2011-10-08 Ulrich Drepper <drepper@gmail.com>
56715 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
56716 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
56717 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
56718 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
56719 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
56720 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
56721 * math/Makefile (libm-calls): Add s_isinf_ns.
56722 * math/divtc3.c: Use __isinf_nsl instead of isinf.
56723 * math/multc3.c: Likewise.
56724 * math/s_casin.c: Likewise.
56725 * math/s_casinf.c: Likewise.
56726 * math/s_casinl.c: Likewise.
56727 * math/s_ccos.c: Likewise.
56728 * math/s_ccosf.c: Likewise.
56729 * math/s_ccosl.c: Likewise.
56730 * math/s_ctan.c: Likewise.
56731 * math/s_ctanf.c: Likewise.
56732 * math/s_ctanh.c: Likewise.
56733 * math/s_ctanhf.c: Likewise.
56734 * math/s_ctanhl.c: Likewise.
56735 * math/s_ctanl.c: Likewise.
56736 * math/w_fmod.c: Likewise.
56737 * math/w_fmodf.c: Likewise.
56738 * math/w_fmodl.c: Likewise.
56739 * math/w_remainder.c: Likewise.
56740 * math/w_remainderf.c: Likewise.
56741 * math/w_remainderl.c: Likewise.
56742 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
56743 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
56744 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
56745 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
56746 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
56747 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
56748 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
56749 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
56751 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
56753 * stdio-common/printf_fphex.c: Likewise.
56754 * stdio-common/printf_size.c: Likewise.
56756 * math/e_exp10.c: Include math_private.h using <...> not "...".
56757 * math/e_exp10f.c: Likewise.
56758 * math/e_exp10l.c: Likewise.
56759 * math/e_exp2l.c: Likewise.
56760 * math/e_j0l.c: Likewise.
56761 * math/e_j1l.c: Likewise.
56762 * math/e_jnl.c: Likewise.
56763 * math/e_lgammal_r.c: Likewise.
56764 * math/e_rem_pio2l.c: Likewise.
56765 * math/e_scalb.c: Likewise.
56766 * math/e_scalbf.c: Likewise.
56767 * math/e_scalbl.c: Likewise.
56768 * math/k_cosl.c: Likewise.
56769 * math/k_sinl.c: Likewise.
56770 * math/k_tanl.c: Likewise.
56771 * math/s_cacoshf.c: Likewise.
56772 * math/s_catan.c: Likewise.
56773 * math/s_catanf.c: Likewise.
56774 * math/s_catanh.c: Likewise.
56775 * math/s_catanhf.c: Likewise.
56776 * math/s_catanhl.c: Likewise.
56777 * math/s_catanl.c: Likewise.
56778 * math/s_ccosh.c: Likewise.
56779 * math/s_ccoshf.c: Likewise.
56780 * math/s_ccoshl.c: Likewise.
56781 * math/s_cexp.c: Likewise.
56782 * math/s_cexpf.c: Likewise.
56783 * math/s_cexpl.c: Likewise.
56784 * math/s_clog.c: Likewise.
56785 * math/s_clog10.c: Likewise.
56786 * math/s_clog10f.c: Likewise.
56787 * math/s_clog10l.c: Likewise.
56788 * math/s_clogf.c: Likewise.
56789 * math/s_clogl.c: Likewise.
56790 * math/s_csin.c: Likewise.
56791 * math/s_csinf.c: Likewise.
56792 * math/s_csinh.c: Likewise.
56793 * math/s_csinhf.c: Likewise.
56794 * math/s_csinhl.c: Likewise.
56795 * math/s_csinl.c: Likewise.
56796 * math/s_csqrt.c: Likewise.
56797 * math/s_csqrtf.c: Likewise.
56798 * math/s_csqrtl.c: Likewise.
56799 * math/s_ctan.c: Likewise.
56800 * math/s_ctanf.c: Likewise.
56801 * math/s_ctanh.c: Likewise.
56802 * math/s_ctanhf.c: Likewise.
56803 * math/s_ctanhl.c: Likewise.
56804 * math/s_ctanl.c: Likewise.
56805 * math/s_ldexp.c: Likewise.
56806 * math/s_ldexpf.c: Likewise.
56807 * math/s_ldexpl.c: Likewise.
56808 * math/s_significand.c: Likewise.
56809 * math/s_significandf.c: Likewise.
56810 * math/s_significandl.c: Likewise.
56811 * math/w_acos.c: Likewise.
56812 * math/w_acosf.c: Likewise.
56813 * math/w_acosh.c: Likewise.
56814 * math/w_acoshf.c: Likewise.
56815 * math/w_acoshl.c: Likewise.
56816 * math/w_acosl.c: Likewise.
56817 * math/w_asin.c: Likewise.
56818 * math/w_asinf.c: Likewise.
56819 * math/w_asinl.c: Likewise.
56820 * math/w_atan2.c: Likewise.
56821 * math/w_atan2f.c: Likewise.
56822 * math/w_atan2l.c: Likewise.
56823 * math/w_atanh.c: Likewise.
56824 * math/w_atanhf.c: Likewise.
56825 * math/w_atanhl.c: Likewise.
56826 * math/w_cosh.c: Likewise.
56827 * math/w_coshf.c: Likewise.
56828 * math/w_coshl.c: Likewise.
56829 * math/w_dremf.c: Likewise.
56830 * math/w_exp10.c: Likewise.
56831 * math/w_exp10f.c: Likewise.
56832 * math/w_exp10l.c: Likewise.
56833 * math/w_exp2.c: Likewise.
56834 * math/w_exp2f.c: Likewise.
56835 * math/w_fmod.c: Likewise.
56836 * math/w_fmodf.c: Likewise.
56837 * math/w_fmodl.c: Likewise.
56838 * math/w_hypot.c: Likewise.
56839 * math/w_hypotf.c: Likewise.
56840 * math/w_hypotl.c: Likewise.
56841 * math/w_j0.c: Likewise.
56842 * math/w_j0f.c: Likewise.
56843 * math/w_j0l.c: Likewise.
56844 * math/w_j1.c: Likewise.
56845 * math/w_j1f.c: Likewise.
56846 * math/w_j1l.c: Likewise.
56847 * math/w_jn.c: Likewise.
56848 * math/w_jnf.c: Likewise.
56849 * math/w_jnl.c: Likewise.
56850 * math/w_lgamma.c: Likewise.
56851 * math/w_lgamma_r.c: Likewise.
56852 * math/w_lgammaf.c: Likewise.
56853 * math/w_lgammaf_r.c: Likewise.
56854 * math/w_lgammal.c: Likewise.
56855 * math/w_lgammal_r.c: Likewise.
56856 * math/w_log.c: Likewise.
56857 * math/w_log10.c: Likewise.
56858 * math/w_log10f.c: Likewise.
56859 * math/w_log10l.c: Likewise.
56860 * math/w_log2.c: Likewise.
56861 * math/w_log2f.c: Likewise.
56862 * math/w_log2l.c: Likewise.
56863 * math/w_logf.c: Likewise.
56864 * math/w_logl.c: Likewise.
56865 * math/w_pow.c: Likewise.
56866 * math/w_powf.c: Likewise.
56867 * math/w_powl.c: Likewise.
56868 * math/w_remainder.c: Likewise.
56869 * math/w_remainderf.c: Likewise.
56870 * math/w_remainderl.c: Likewise.
56871 * math/w_scalb.c: Likewise.
56872 * math/w_scalbf.c: Likewise.
56873 * math/w_scalbl.c: Likewise.
56874 * math/w_sinh.c: Likewise.
56875 * math/w_sinhf.c: Likewise.
56876 * math/w_sinhl.c: Likewise.
56877 * math/w_sqrt.c: Likewise.
56878 * math/w_sqrtf.c: Likewise.
56879 * math/w_sqrtl.c: Likewise.
56880 * math/w_tgamma.c: Likewise.
56881 * math/w_tgammaf.c: Likewise.
56882 * math/w_tgammal.c: Likewise.
56884 * po/ja.po: Update from translation team.
56886 2011-09-29 Andreas Jaeger <aj@suse.de>
56889 * sunrpc/netname.c (netname2host): Fix logic.
56893 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
56895 * math/w_remainder.c (__remainder): Likewise.
56896 * math/w_remainderf.c (__remainderf): Likewise.
56897 * math/libm-test.inc (remainder_test): Add test cases.
56899 2011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
56901 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
56904 2011-10-07 Ulrich Drepper <drepper@gmail.com>
56906 * string/test-memcmp.c: Avoid unncessary #defines.
56907 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
56909 2011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
56911 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
56912 Use new sse2 version for core i3 - i7 as it's faster
56913 than sse42 version.
56914 (bit_Prefer_PMINUB_for_stringop): New.
56915 * sysdeps/x86_64/rawmemchr.S: Update.
56916 Replace with faster SSE2 version.
56917 * sysdeps/x86_64/memrchr.S: New file.
56918 * sysdeps/x86_64/memchr.S: Update.
56919 Replace with faster SSE2 version.
56921 2011-09-12 Marek Polacek <mpolacek@redhat.com>
56923 * elf/dl-load.c (lose): Add cast to avoid warning.
56925 2011-10-07 Ulrich Drepper <drepper@gmail.com>
56927 * po/ca.po: Update from translation team.
56929 * inet/getnetgrent_r.c: Hook up nscd.
56930 * nscd/Makefile (routines): Add nscd_netgroup.
56931 (nscd-modules): Add netgroupcache.
56932 (CFLAGS-netgroupcache.c): Define.
56933 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
56934 (cache_search): Add const to second parameter.
56935 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
56937 (dbs): Add netgrdb entry.
56938 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
56939 (verify_persistent_db): Handle netgrdb.
56940 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
56941 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
56943 (netgroup_response_header): Define.
56944 (innetgroup_response_header): Define.
56945 (datahead): Add netgroup_response_header and innetgroup_response_header
56947 * nscd/nscd.conf: Add entries for netgroup cache.
56948 * nscd/nscd.h (dbtype): Add netgrdb.
56949 (_PATH_NSCD_NETGROUP_DB): Define.
56950 (netgroup_iov_disabled): Declare.
56951 (xmalloc, xcalloc, xrealloc): Move declarations here.
56952 (cache_search): Adjust prototype.
56953 Add netgroup-related prototypes.
56954 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
56955 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
56956 (__nscd_innetgr): Declare.
56957 * nscd/selinux.c (perms): Use access_vector_t as element type and
56958 add netgroup-related initializers.
56959 * nscd/netgroupcache.c: New file.
56960 * nscd/nscd_netgroup.c: New file.
56961 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
56962 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
56963 For four parameters use innetgr.
56964 * nss/nss_files/files-init.c: Add definition and callback for netgr.
56965 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
56966 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
56967 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
56969 * nscd/connections.c (register_traced_file): Don't register file
56970 for disabled databases.
56972 2011-10-06 Ulrich Drepper <drepper@gmail.com>
56974 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
56976 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
56977 from tree and freeing node.
56979 2011-09-25 Jiri Olsa <jolsa@redhat.com>
56981 * nss/nsswitch.c (__nss_database_lookup): Handle
56982 nss_parse_service_list out of memory case.
56984 2011-09-15 Jiri Olsa <jolsa@redhat.com>
56986 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
56987 out of memory case.
56989 2011-10-04 Andreas Schwab <schwab@redhat.com>
56991 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
56992 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
56994 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
56995 elf_machine_rela, elf_machine_lazy_rel.
56996 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
56997 (ELF_DYNAMIC_DO_REL): Likewise.
56998 (ELF_DYNAMIC_DO_RELA): Likewise.
56999 (ELF_DYNAMIC_RELOCATE): Likewise.
57000 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
57001 to ELF_DYNAMIC_DO_REL.
57002 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
57003 (dl_main): In trace mode always set __RTLD_NOIFUNC.
57004 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
57006 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
57007 skip_ifunc, don't call ifunc function if non-zero.
57008 (elf_machine_rela): Likewise.
57009 (elf_machine_lazy_rel): Likewise.
57010 (elf_machine_lazy_rela): Likewise.
57011 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
57012 (elf_machine_lazy_rel): Likewise.
57013 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
57015 (elf_machine_lazy_rel): Likewise.
57016 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
57018 (elf_machine_lazy_rel): Likewise.
57019 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
57020 (elf_machine_lazy_rel): Likewise.
57021 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
57022 (elf_machine_lazy_rel): Likewise.
57023 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
57024 (elf_machine_lazy_rel): Likewise.
57025 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
57026 (elf_machine_lazy_rel): Likewise.
57027 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
57028 (elf_machine_lazy_rel): Likewise.
57029 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
57030 (elf_machine_lazy_rel): Likewise.
57032 2011-09-28 Ulrich Drepper <drepper@gmail.com>
57034 * nss/nss_files/files-init.c (_nss_files_init): Use static
57035 initialization for all the *_traced_file variables.
57037 2011-09-28 Andreas Schwab <schwab@redhat.com>
57039 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
57041 2011-09-27 Roland McGrath <roland@hack.frob.com>
57044 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
57046 2011-09-27 Andreas Schwab <schwab@redhat.com>
57048 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
57049 Reread the line before reparsing it.
57051 2011-09-26 Andreas Schwab <schwab@redhat.com>
57053 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
57055 2011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
57056 Maxim Kuvyrkov <maxim@codesourcery.com>
57057 Joseph Myers <joseph@codesourcery.com>
57059 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
57060 if needed for __stack_chk_guard.
57062 2011-09-19 Roland McGrath <roland@hack.frob.com>
57064 * sysdeps/posix/spawni.c (script_execute): Always define it.
57065 It will be optimized away if unused.
57066 (maybe_script_execute): New function.
57067 (__spawni): Call it.
57069 * Makerules: Don't include tls.make.
57070 (config-tls): Always set to thread.
57071 * tls.make.c: File removed.
57073 2011-09-19 Mike Frysinger <vapier@gentoo.org>
57075 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
57076 * config.make.in (CPPFLAGS-config): New substituted variable.
57078 2011-09-15 Ulrich Drepper <drepper@gmail.com>
57080 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
57083 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
57084 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
57086 2011-09-15 Roland McGrath <roland@hack.frob.com>
57088 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
57089 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
57090 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
57091 (CALL_FAIL): Likewise.
57092 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
57093 (CALL_FAIL): Macro removed.
57094 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
57096 2011-09-15 Ulrich Drepper <drepper@gmail.com>
57098 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
57099 for __FINITE_MATH_ONLY__ == 1.
57101 2011-09-15 Andreas Schwab <schwab@redhat.com>
57103 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
57104 __ieee754_sqrt instead of sqrt.
57105 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
57106 __ieee754_sqrtf instead of sqrtf.
57107 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
57108 __floorf instead of floorf.
57109 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
57110 __floorf, __truncf instead of floorf, truncf.
57112 2011-09-14 Ulrich Drepper <drepper@gmail.com>
57114 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
57116 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
57117 __extern_always_inline.
57118 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
57121 2011-09-14 Andreas Schwab <schwab@redhat.com>
57123 * elf/rtld.c (dl_main): Also relocate in dependency order when
57124 doing symbol dependency testing.
57126 2011-09-13 Andreas Schwab <schwab@linux-m68k.org>
57128 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
57129 Always define `refsym'.
57131 2011-09-13 Andreas Schwab <schwab@redhat.com>
57133 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
57134 (__FD_ELT): Renamed from __FDELT.
57135 * misc/bits/select2.h (__FD_ELT): Likewise.
57136 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
57137 __FD_MASK instead of __FDELT, __FDMASK.
57138 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
57140 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
57143 * elf/Makefile (gen-ldd): Fix pattern.
57145 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
57146 (init_tls): Likewise.
57148 2011-09-12 Ulrich Drepper <drepper@gmail.com>
57150 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
57152 2011-09-12 Andreas Schwab <schwab@redhat.com>
57154 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
57155 `struct cmsghdr *' instead of `void *'.
57156 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
57159 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
57161 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
57163 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
57164 ldd_rewrite_script.
57166 2011-09-11 Ulrich Drepper <drepper@gmail.com>
57168 * configure.in: Remove --with-tls option.
57169 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
57170 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
57171 out in case it is missing.
57172 * sysdeps/ia64/elf/configure.in: Likewise.
57173 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
57174 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
57175 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
57176 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
57177 * sysdeps/sh/elf/configure.in: Likewise.
57178 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
57179 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
57180 * sysdeps/x86_64/elf/configure.in: Likewise.
57181 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
57182 * sysdeps/mach/hurd/tls.h: Likewise.
57185 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
57188 * configure.in: Fix use of AC_INIT.
57190 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
57192 2011-09-10 Ulrich Drepper <drepper@gmail.com>
57194 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
57196 * malloc/hooks.c: Likewise.
57199 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
57200 variables statically.
57201 (narenas): Initialize.
57202 (list_lock): Initialize.
57203 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
57204 initializtion of main_arena and list_lock. Small cleanups.
57205 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
57206 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
57207 Add initializers to main_arena and mp_.
57208 (malloc_state): Remove pagesize member. Change all users to use
57211 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
57212 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
57213 is always initialized.
57215 * malloc/malloc.c: Removed unused configurations and dead code.
57216 * malloc/arena.c: Likewise.
57217 * malloc/hooks.c: Likewise.
57218 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
57220 * include/tls.h: Removed. USE___THREAD must always be defined.
57221 * bits/libc-tsd.h: Don't handle !USE___THREAD.
57222 * elf/dl-libc.c: Likewise.
57223 * elf/dl-tsd.c: Likewise.
57224 * include/errno.h: Likewise.
57225 * include/netdb.h: Likewise.
57226 * include/resolv.h: Likewise.
57227 * inet/herrno-loc.c: Likewise.
57228 * inet/herrno.c: Likewise.
57229 * malloc/arena.c: Likewise.
57230 * malloc/hooks.c: Likewise.
57231 * malloc/malloc.c: Likewise.
57232 * resolv/res-state.c: Likewise.
57233 * resolv/res_libc.c: Likewise.
57234 * sysdeps/i386/dl-machine.h: Likewise.
57235 * sysdeps/ia64/dl-machine.h: Likewise.
57236 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
57237 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
57238 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
57239 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
57240 * sysdeps/sh/dl-machine.h: Likewise.
57241 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
57242 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
57243 * sysdeps/unix/i386/sysdep.S: Likewise.
57244 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
57245 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
57246 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
57247 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
57248 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
57249 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
57250 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
57251 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
57252 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
57253 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
57254 * sysdeps/unix/x86_64/sysdep.S: Likewise.
57255 * sysdeps/x86_64/dl-machine.h: Likewise.
57256 * tls.make.c: Likewise.
57258 * configure.in: Remove --with-__thread option. Make tests for
57259 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
57260 tls_model attribute fail if no support is available. Remove
57262 * Makeconfig: Adjust for dropped configure option. All features are
57264 * Makerules: Likewise.
57265 * Versions.def: Likewise.
57266 * argp/argp-fmtstream.c: Likewise.
57267 * argp/argp-fmtstream.h: Likewise.
57268 * argp/argp-help.c: Likewise.
57269 * assert/assert.c: Likewise.
57270 * config.h.in: Likewise.
57271 * config.make.in: Likewise.
57272 * configure: Likewise.
57273 * configure.in: Likewise.
57274 * csu/Versions: Likewise.
57275 * csu/init.c: Likewise.
57276 * elf/tst-audit2.c: Likewise.
57277 * elf/tst-tls10.c: Likewise.
57278 * elf/tst-tls10.h: Likewise.
57279 * elf/tst-tls11.c: Likewise.
57280 * elf/tst-tls12.c: Likewise.
57281 * elf/tst-tls14.c: Likewise.
57282 * elf/tst-tlsmod11.c: Likewise.
57283 * elf/tst-tlsmod12.c: Likewise.
57284 * elf/tst-tlsmod13.c: Likewise.
57285 * elf/tst-tlsmod13a.c: Likewise.
57286 * elf/tst-tlsmod14a.c: Likewise.
57287 * elf/tst-tlsmod15b.c: Likewise.
57288 * elf/tst-tlsmod16a.c: Likewise.
57289 * elf/tst-tlsmod16b.c: Likewise.
57290 * elf/tst-tlsmod7.c: Likewise.
57291 * elf/tst-tlsmod8.c: Likewise.
57292 * elf/tst-tlsmod9.c: Likewise.
57293 * gmon/gmon.c: Likewise.
57294 * grp/fgetgrent_r.c: Likewise.
57295 * grp/putgrent.c: Likewise.
57296 * hurd/fopenport.c: Likewise.
57297 * include/libc-symbols.h: Likewise.
57298 * include/tls.h: Likewise.
57299 * intl/gettextP.h: Likewise.
57300 * intl/loadinfo.h: Likewise.
57301 * locale/global-locale.c: Likewise.
57302 * locale/localeinfo.h: Likewise.
57303 * mach/devstream.c: Likewise.
57304 * malloc/arena.c: Likewise.
57305 * malloc/set-freeres.c: Likewise.
57306 * misc/err.c: Likewise.
57307 * misc/getttyent.c: Likewise.
57308 * misc/mntent_r.c: Likewise.
57309 * posix/getopt.c: Likewise.
57310 * posix/wordexp.c: Likewise.
57311 * pwd/fgetpwent_r.c: Likewise.
57312 * resolv/Versions: Likewise.
57313 * resolv/res_hconf.c: Likewise.
57314 * shadow/fgetspent_r.c: Likewise.
57315 * shadow/putspent.c: Likewise.
57316 * stdio-common/printf_fphex.c: Likewise.
57317 * stdio-common/tmpfile.c: Likewise.
57318 * stdlib/abort.c: Likewise.
57319 * stdlib/fmtmsg.c: Likewise.
57320 * sunrpc/auth_unix.c: Likewise.
57321 * sunrpc/clnt_perr.c: Likewise.
57322 * sunrpc/clnt_tcp.c: Likewise.
57323 * sunrpc/clnt_udp.c: Likewise.
57324 * sunrpc/clnt_unix.c: Likewise.
57325 * sunrpc/openchild.c: Likewise.
57326 * sunrpc/svc_simple.c: Likewise.
57327 * sunrpc/svc_tcp.c: Likewise.
57328 * sunrpc/svc_udp.c: Likewise.
57329 * sunrpc/svc_unix.c: Likewise.
57330 * sunrpc/xdr.c: Likewise.
57331 * sunrpc/xdr_array.c: Likewise.
57332 * sunrpc/xdr_rec.c: Likewise.
57333 * sunrpc/xdr_ref.c: Likewise.
57334 * sunrpc/xdr_stdio.c: Likewise.
57336 2011-09-09 Ulrich Drepper <drepper@gmail.com>
57338 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
57340 2011-07-03 Andreas Jaeger <aj@suse.de>
57342 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
57343 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
57344 regenerate with gen-libm-tests.pl.
57346 2010-05-12 Petr Baudis <pasky@suse.cz>
57349 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
57350 around j0() zero points by switching to j1().
57351 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
57352 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
57353 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
57354 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
57356 2011-09-09 Ulrich Drepper <drepper@gmail.com>
57358 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
57360 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
57362 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
57363 Patch in part by Pavel Roskin <proski@gnu.org>.
57366 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
57368 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
57369 Free memory block if necessary.
57372 * libio/genops.c (INTDEF): For string streams the _lock pointer can
57373 be NULL. Don't lock in this case.
57375 2011-09-09 Roland McGrath <roland@hack.frob.com>
57377 * elf/elf.h (ELFOSABI_GNU): New macro.
57378 (ELFOSABI_LINUX): Define to that.
57380 2011-07-29 Denis Zaitceff <zaitceff@gmail.com>
57382 * string/strncat.c (strncat): Undef the symbol in case it has been
57383 defined in bits/string.h.
57385 2011-09-09 Ulrich Drepper <drepper@gmail.com>
57387 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
57389 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
57392 2011-08-17 Andreas Jaeger <aj@suse.de>
57394 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
57396 2011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
57397 Ian Lance Taylor <iant@google.com>
57399 * math/libm-test.inc (lround_test): New testcase.
57400 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
57402 2011-09-08 Ulrich Drepper <drepper@gmail.com>
57404 * Makefile: Remove support for automatic cvs check-ins.
57405 * Makerules: Likewise.
57406 * config.make.in: Likewise.
57407 * configure.in: Likewise.
57408 * intl/Makefile: Likewise.
57409 * locale/Makefile: Likewise.
57410 * po/Makefile: Likewise.
57411 * posix/Makefile: Likewise.
57412 * sysdeps/gnu/Makefile: Likewise.
57413 * sysdeps/mach/hurd/Makefile: Likewise.
57414 * sysdeps/sparc/sparc32/Makefile: Likewise.
57417 * posix/Makefile (bug-regex32-ENV): Define.
57418 Patch by John Stanley <jpsinthemix@verizon.net>.
57420 * misc/Makefile (headers): Add bits/select2.h.
57421 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
57422 * misc/bits/select2.h: New file.
57423 * include/bits/select2.h: New file.
57424 * debug/Makefile (routines): Add fdelt_chk.
57425 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
57426 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
57428 * debug/fdelt_chk.c: New file.
57430 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
57431 * wcsmbs/test-wmemcmp.c: Likewise.
57432 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
57433 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
57435 2011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
57437 * string/Makefile (strop-tests): Add memcmp.
57438 * string/test-wmemcmp.c: New file.
57439 * string/test-memcmp.c: Add wmemcmp support.
57441 2011-09-08 Roland McGrath <roland@hack.frob.com>
57444 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
57447 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
57448 garbage value in a __mach_port_mod_refs call in the cases of the
57449 task-self and thread-self ports.
57451 2011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
57453 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
57455 2011-09-08 Andreas Schwab <schwab@redhat.com>
57457 * elf/dl-load.c (lose): Check for non-null L.
57459 2011-09-07 Ulrich Drepper <drepper@gmail.com>
57461 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
57463 * elf/dl-libc.c (dlerror_run): Pass back error code from
57467 * elf/dl-load.c (lose): Free l_origin if it is valid.
57469 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
57471 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
57472 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
57473 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
57474 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
57475 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
57476 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
57478 2011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
57480 * sysdeps/powerpc/fpu/e_hypot.c: New file.
57481 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
57482 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
57483 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
57484 * sysdeps/powerpc/fpu/k_cosf.c: New file.
57485 * sysdeps/powerpc/fpu/k_sinf.c: New file.
57486 * sysdeps/powerpc/fpu/s_cosf.c: New file.
57487 * sysdeps/powerpc/fpu/s_sinf.c: New file.
57488 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
57489 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
57491 2011-08-15 Alan Modra <amodra@gmail.com>
57494 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
57495 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
57496 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
57497 ppc_mcount to static-only-routines.
57498 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
57500 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
57501 __mcount_internal with usual JUMPTARGET. Remove useless nop.
57503 2011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
57505 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
57506 for finite and infinity parameters.
57508 2011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
57510 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
57511 and add nop instructions for throughput optimization.
57512 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
57514 2011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
57516 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
57517 aligned copy for power7 with vector-scalar instructions.
57518 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
57520 2011-07-24 H.J. Lu <hongjiu.lu@intel.com>
57522 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
57525 2011-09-07 Andreas Schwab <schwab@redhat.com>
57528 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
57531 2011-09-07 Ulrich Drepper <drepper@gmail.com>
57533 * sysdeps/unix/sysv/linux/x86_64/init-first.c
57534 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
57535 syscall wrapper around clock_gettime in __vdso_clock_gettime.
57536 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
57539 2011-09-06 Ulrich Drepper <drepper@gmail.com>
57541 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
57542 Forgot to demangle the pointer.
57544 * sysdeps/i386/sysdep.h: Define atom_text_section.
57545 * sysdeps/x86_64/sysdep.h: Likewise.
57546 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
57547 section with atom_text_section.
57548 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
57549 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
57550 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
57551 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
57552 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
57554 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
57555 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
57556 already be defined. Change to take two parameters and don't assign
57557 result to variable. Adjust all users.
57558 Define INTERNAL_GETTIME if not already defined.
57559 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
57561 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
57562 HAVE_CLOCK_GETTIME_VSYSCALL.
57563 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
57565 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
57566 gettimeofday vsyscall, just use time.
57568 2011-09-06 Andreas Schwab <schwab@redhat.com>
57570 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
57573 2011-09-06 Ulrich Drepper <drepper@gmail.com>
57575 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
57577 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
57579 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
57580 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
57581 syscall if possible.
57583 2011-09-05 Ulrich Drepper <drepper@gmail.com>
57585 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
57586 e_ident. Don't pass to find_mapsXX.
57587 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
57589 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
57591 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
57592 strchr-sse2-no-bsf strrchr-sse2-no-bsf
57593 * sysdeps/x86_64/multiarch/strchr.S: Update.
57594 Check bit_slow_BSF bit.
57595 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
57596 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
57597 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
57599 2011-09-05 Ulrich Drepper <drepper@gmail.com>
57602 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
57604 (tryshell): Define.
57605 (__spawni): Change last parameter to be flag. Test
57606 SPAWN_XFLAGS_USE_PATH flag to use path or not.
57607 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
57608 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
57609 * posix/spawni.c: Likewise.
57610 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
57611 * posix/spawnp.c: Likewise. Change normal version to use
57612 SPAWN_XFLAGS_USE_PATH.
57613 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
57614 SPAWN_XFLAGS_TRY_SHELL.
57617 * posix/glob.h: Remove gcc 1.x support.
57620 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
57622 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
57624 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
57625 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
57627 * sysdeps/i386/i686/multiarch/strchr.S: New file.
57628 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
57629 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
57630 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
57631 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
57632 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
57634 2011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
57636 * sysdeps/x86_64/wcscmp.S: New file.
57638 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
57639 wcscmp-c wcscmp-sse2
57640 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
57641 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
57642 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
57643 * wcsmbs/wcscmp.c: Allow renaming.
57645 2011-09-05 David S. Miller <davem@davemloft.net>
57647 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
57648 stack slot, rather than the struct return pointer slot.
57649 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
57650 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
57651 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
57652 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
57654 2011-09-05 Ulrich Drepper <drepper@gmail.com>
57656 * po/ja.po: Update from translation team.
57659 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
57660 kernel in 64-bit binaries.
57662 2011-09-01 David S. Miller <davem@davemloft.net>
57664 * elf/elf.h (HWCAP_SPARC_*): Move to..
57665 * sysdeps/sparc/sysdep.h: this new file and add new values.
57666 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
57667 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
57668 _DL_HWCAP_COUNT to 24.
57669 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
57671 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
57672 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
57673 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
57674 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
57675 instead of magic constants.
57676 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
57678 2011-08-31 David S. Miller <davem@davemloft.net>
57680 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
57681 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
57682 Reimplement to do errno handling inline.
57683 (SYSCALL_ERROR_HANDLER): New macro.
57684 (__SYSCALL_STRING): Do not do errno handling in asm.
57685 (__CLONE_SYSCALL_STRING): Delete.
57686 (__INTERNAL_SYSCALL_STRING): Delete.
57687 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
57688 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
57689 (PSEUDO): Reimplement to do errno handling inline.
57690 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
57691 (SYSCALL_ERROR_HANDLER): New macro.
57692 (__SYSCALL_STRING): Do not do errno handling in asm.
57693 (__CLONE_SYSCALL_STRING): Delete.
57694 (__INTERNAL_SYSCALL_STRING): Delete.
57695 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
57696 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
57698 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
57699 (inline_syscall*): Add 'err' argument.
57700 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
57701 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
57702 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
57703 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
57705 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
57706 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
57708 2011-08-30 Andreas Schwab <schwab@redhat.com>
57710 * elf/rtld.c (dl_main): Relocate objects in dependency order.
57712 2011-08-29 Jiri Olsa <jolsa@redhat.com>
57714 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
57717 2011-08-24 David S. Miller <davem@davemloft.net>
57719 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
57721 2011-08-24 Andreas Schwab <schwab@redhat.com>
57723 * elf/Makefile: Add rules to build and run unload8 test.
57724 * elf/unload8.c: New file.
57725 * elf/unload8mod1.c: New file.
57726 * elf/unload8mod1x.c: New file.
57727 * elf/unload8mod2.c: New file.
57728 * elf/unload8mod3.c: New file.
57730 * elf/dl-close.c (_dl_close_worker): Reset private search list if
57733 2011-08-23 David S. Miller <davem@davemloft.net>
57735 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
57736 subtract stack bias.
57737 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
57738 %sp not %fp in calculations.
57739 (_JMPBUF_UNWINDS_ADJ): Likewise.
57741 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
57742 (aio_suspend): Call it to force an exception region around the
57743 AIO_MISC_WAIT() invocation.
57745 2011-08-23 Andreas Schwab <schwab@redhat.com>
57747 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
57750 2011-07-04 Aurelien Jarno <aurelien@aurel32.net>
57752 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
57754 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
57755 and <dl-machine.h>.
57756 (Elf64_FuncDesc): Remove.
57758 2011-08-22 David S. Miller <davem@davemloft.net>
57760 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
57761 sigaltstack check, add missing cfi directives.
57762 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
57763 missing cfi directives, and sigaltstack handling.
57765 2011-08-16 Andreas Schwab <schwab@redhat.com>
57768 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
57769 object is seen twice.
57770 * elf/dl-fini.c (_dl_sort_fini): Likewise.
57772 * elf/Makefile (distribute): Add tst-initorder2.c.
57773 (tests): Add tst-initorder2.
57774 (modules-names): Add tst-initorder2a tst-initorder2b
57775 tst-initorder2c tst-initorder2d. Add rules to build them.
57776 ($(objpfx)tst-initorder2.out): New rule.
57777 * elf/tst-initorder2.c: New file.
57778 * elf/tst-initorder2.exp: New file.
57780 2011-08-22 Andreas Schwab <schwab@redhat.com>
57782 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
57784 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
57785 dependencies back to end of function.
57787 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
57788 $(elfobjdir)/ld.so.
57790 2011-08-21 Ulrich Drepper <drepper@gmail.com>
57792 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
57793 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
57794 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
57795 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
57796 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
57797 of __vdso_gettimeofday.
57798 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
57799 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
57801 (_libc_vdso_platform_setup): Remove initialization of
57802 __vdso_gettimeofday and __vdso_time.
57804 2011-08-20 Ulrich Drepper <drepper@gmail.com>
57806 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
57807 and fgetc_unlocked.
57808 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
57811 * elf/dl-open.c (add_to_global): Report additions to the global scope
57812 for LD_DEBUG=scopes.
57813 (dl_open_worker): Also print scope of newly loaded dependencies.
57814 (_dl_show_scope): Indicate if there is no scope.
57817 * stdio-common/Makefile (tests): Add bug24.
57818 * stdio-common/bug24.c: New file.
57820 2011-08-19 Andreas Jaeger <aj@suse.de>
57823 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
57824 non-existant file when using close-on-exec mode.
57826 2011-08-20 Ulrich Drepper <drepper@gmail.com>
57828 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
57829 the very first instruction.
57831 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
57832 the CFI state in the end.
57833 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
57834 inclusion of dl-trampoline.h.
57835 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
57837 2011-08-19 Andreas Schwab <schwab@redhat.com>
57839 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
57840 expectations for long double.
57842 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
57843 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
57845 2011-08-14 David S. Miller <davem@davemloft.net>
57847 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
57848 artificual limit depends upon the system page size.
57850 2011-08-17 Ulrich Drepper <drepper@gmail.com>
57852 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
57853 * resolv/Makefile: Define CFLAGS-libresolv.
57855 2011-08-17 Andreas Schwab <schwab@redhat.com>
57857 * nss/makedb.c (compute_tables): Make variables used in nested
57860 2011-08-17 Ulrich Drepper <drepper@gmail.com>
57862 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
57863 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
57864 if buffer was too small.
57866 * elf/pldd.c (main): Attach to all threads in the process.
57867 Rewrite /proc handling to use *at functions.
57869 2011-08-16 Ulrich Drepper <drepper@gmail.com>
57871 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
57872 specifies first scope to show.
57873 (dl_open_worker): Update callers. Move printing scope of new
57874 object to before the relocation.
57875 * elf/rtld.c (dl_main): Update _dl_show_scope call.
57876 * sysdeps/generic/ldsodefs.h: Update declaration.
57878 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
57879 string for the scope number.
57881 2011-08-14 Ulrich Drepper <drepper@gmail.com>
57883 * nscd/servicescache.c (cache_addserv): Make sure written is always
57886 2011-08-14 Roland McGrath <roland@hack.frob.com>
57888 * sysdeps/i386/i486/bits/atomic.h
57889 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
57890 statement expression, so as to suppress "set but not used" warning.
57891 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
57893 * string/strncat.c (STRNCAT): Use prototype definition.
57895 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
57896 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
57898 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
57899 (localedef-modules): Add localedef.
57900 (locale-modules): Add locale.
57902 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
57903 * elf/rtld.c (dl_main): Invert order of assignment in last change,
57904 to avoid a warning.
57906 2011-08-14 David S. Miller <davem@davemloft.net>
57908 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
57909 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
57911 2011-08-13 Ulrich Drepper <drepper@gmail.com>
57913 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
57914 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
57915 * elf/rtld.c (dl_main): Set l_name of vDSO.
57916 Call _dl_show_scope when DL_DEBUG_SCOPES.
57917 (process_dl_debug): Recognize scopes flag and also set it for all.
57918 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
57919 Declare _dl_show_scope.
57921 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
57922 (do_dlopen): Pass caller_dlopen to dl_open.
57923 (__libc_dlopen_mode): Initialize caller_dlopen.
57925 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
57926 of libc. Make tolower call locale-independent. Optimize a bit by
57927 using isdigit instead of isalnum.
57928 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
57930 2011-08-12 Ulrich Drepper <drepper@gmail.com>
57932 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
57933 was a dependency or dynamically loaded.
57935 2011-08-11 Ulrich Drepper <drepper@gmail.com>
57937 * intl/l10nflist.c: Allow architecture-specific pop function.
57938 * sysdeps/x86_64/l10nflist.c: New file.
57940 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
57943 2011-08-10 Andreas Schwab <schwab@redhat.com>
57945 * include/dirent.h: Add libc_hidden_proto for scandirat and
57946 scandirat64. Don't declare __scandirat64.
57947 * dirent/scandirat.c: Add libc_hidden_def.
57948 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
57949 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
57951 2011-08-10 David S. Miller <davem@davemloft.net>
57953 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
57955 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
57956 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
57957 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
57959 2011-08-09 Ulrich Drepper <drepper@gmail.com>
57961 * Versions.def [libc]: Add GLIBC_2.15.
57962 * dirent/Makefile (routines): Add scandirat and scandirat64.
57963 * dirent/Versions [libc]: Export scandirat and scandirat64 for
57965 * dirent/dirent.h: Declare scandirat and scandirat64.
57966 * dirent/scandirat.c: New file.
57967 * dirent/scandirat64.c: New file.
57968 * sysdeps/wordsize-64/scandirat.c: New file.
57969 * sysdeps/wordsize-64/scandirat64.c: New file.
57970 * dirent/opendir.c: Define opendirat.
57971 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
57973 * dirent/scandir64.c: Adjust for scandir.c change.
57974 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
57975 __scandirat64, and __scandir_cancel_handler.
57976 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
57977 additional parameter and use openat instead of open (outside of ld.so).
57978 Add new __opendir as wrapper around __opendirat.
57979 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
57980 here without requiring old scandirat implementation.
57982 2011-08-08 Ulrich Drepper <drepper@gmail.com>
57984 * dirent/scandir.c (cancel_handler): Renamed to
57985 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
57986 defined. Adjust users.
57987 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
57988 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
57990 2011-08-04 Ulrich Drepper <drepper@gmail.com>
57992 * string/test-string.h (IMPL): Use __STRING to expand name and then
57995 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
57998 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
58000 * string/Makefile: Update.
58001 (strop-tests): Append strncat.
58002 * string/test-wcscmp.c: New file.
58003 New comprehensive test for wcscmp.
58004 * string/test-strcmp.c: Update.
58005 (WIDE): New define.
58007 2011-07-22 Andreas Schwab <schwab@redhat.com>
58009 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
58012 2011-07-26 Andreas Schwab <schwab@redhat.com>
58014 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
58015 encoding to ACE if AI_IDN.
58017 2011-08-01 Jakub Jelinek <jakub@redhat.com>
58019 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
58020 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
58022 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
58024 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
58025 Fix overflow bug in strncat.
58026 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
58028 * string/test-strncat.c: Update.
58029 Add new tests for checking overflow bugs.
58031 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
58033 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
58034 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
58035 * sysdeps/i386/i686/multiarch/strcat.S: New file.
58036 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
58037 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
58038 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
58039 * sysdeps/i386/i686/multiarch/strncat.S: New file.
58040 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
58041 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
58043 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
58044 (USE_AS_STRCAT): Define.
58045 Add strcat and strncat support.
58046 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
58048 2011-07-25 Andreas Schwab <schwab@redhat.com>
58050 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
58051 __n bigger than INT_MAX+1.
58052 (__strncmp_g): Likewise.
58054 2011-07-23 Ulrich Drepper <drepper@gmail.com>
58056 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
58057 * libio/stido.h: Likewise.
58059 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
58061 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
58064 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
58065 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
58066 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
58067 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
58068 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
58071 * scripts/test-installation.pl: Don't expect libnss_test1 to be
58074 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
58076 (_dl_x86_64_save_sse): Likewise.
58078 2011-07-22 Ulrich Drepper <drepper@gmail.com>
58080 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
58082 (_dl_x86_64_save_sse): Likewise.
58084 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
58086 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
58088 2011-07-21 Andreas Schwab <schwab@redhat.com>
58090 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
58092 (_dl_x86_64_save_sse): Use correct AVX check.
58094 2011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
58096 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
58097 bug in strncpy/strncat.
58098 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
58100 2011-07-21 Ulrich Drepper <drepper@gmail.com>
58102 * string/tester.c (test_strcat): Add tests for different alignments
58103 of source and destination.
58104 (test_strncat): Likewise.
58106 2011-07-20 Ulrich Drepper <drepper@gmail.com>
58109 * posix/glob.c (glob): Check passed in values before using them in
58110 expressions to avoid some overflows.
58111 (glob_in_dir): Likewise.
58114 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
58115 check for AVX enablement so that we don't crash with old kernels and
58117 * elf/tst-audit4.c: Add same checks here.
58118 * elf/tst-audit6.c: Likewise.
58120 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
58122 2011-07-09 Andreas Schwab <schwab@linux-m68k.org>
58124 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
58126 2011-07-20 Ulrich Drepper <drepper@gmail.com>
58128 * po/cs.po: Update from translation team.
58129 * po/bg.po: Likewise.
58131 2011-07-12 Marek Polacek <mpolacek@redhat.com>
58133 * misc/sys/cdefs.h: Add support for const attribute.
58134 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
58135 to gnu_dev_{major,minor,makedev} functions.
58137 2011-07-20 Marek Polacek <mpolacek@redhat.com>
58139 * intl/dcigettext.c (get_output_charset): Add missing bracket.
58141 2011-07-20 Andreas Schwab <schwab@redhat.com>
58143 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
58146 2011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
58148 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
58149 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
58150 register in order to avoid conflicts with the soft frame pointer
58151 being held in r11 when necessary.
58152 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
58153 (INTERNAL_VSYSCALL_NCS): Likewise.
58155 2011-07-14 Marek Polacek <mpolacek@redhat.com>
58157 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
58158 * elf/dl-fini.c (_dl_fini): Adjust caller.
58159 * elf/dl-close.c (_dl_close_worker): Likewise.
58160 * sysdeps/generic/ldsodefs.h: Adjust declaration.
58162 2011-07-15 Marek Polacek <mpolacek@redhat.com>
58164 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
58165 "aux_cache->nlibs < 0".
58167 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
58168 in the reload-count case.
58170 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
58172 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
58173 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
58174 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
58175 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
58176 * sysdeps/x86_64/multiarch/strcat.S: New file.
58177 * sysdeps/x86_64/multiarch/strncat.S: New file.
58178 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
58179 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
58180 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
58181 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
58182 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
58183 (USE_AS_STRCAT): Define.
58184 Add strcat and strncat support.
58185 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
58186 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
58187 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
58188 * string/strncat.c: Update.
58189 (USE_AS_STRNCAT): Define.
58190 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
58191 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
58193 * sysdeps/x86_64/multiarch/init-arch.h
58194 (bit_Prefer_PMINUB_for_stringop): New.
58195 (index_Prefer_PMINUB_for_stringop): Likewise.
58196 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
58197 bit_Prefer_PMINUB_for_stringop.
58199 2011-07-19 Ulrich Drepper <drepper@gmail.com>
58201 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
58203 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
58204 of casting of buffer.
58205 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
58206 buffer32 and buffer64.
58207 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
58208 writes instead of casting of buffer.
58209 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
58211 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
58214 2011-07-19 Andreas Schwab <schwab@redhat.com>
58216 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
58218 2011-07-19 Ulrich Drepper <drepper@gmail.com>
58220 * nscd/nscd.c (termination_handler): Don't do anything for a database
58221 if it has not yet been initialized.
58223 2011-07-18 Ulrich Drepper <drepper@gmail.com>
58225 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
58227 2011-07-15 Marek Polacek <mpolacek@redhat.com>
58229 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
58231 2011-07-18 Ulrich Drepper <drepper@gmail.com>
58233 * po/nl.po: Update from translation team.
58234 * po/sv.po: Likewise.
58236 2011-07-16 Roland McGrath <roland@hack.frob.com>
58238 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
58239 now disallowed by GCC.
58241 * configure.in (use-default-link): Default to yes if a test -shared
58242 link meets our qualifications.
58243 * configure: Regenerated.
58245 * config.make.in (output-format): New variable.
58246 * configure.in: Check for ld --print-output-format support.
58247 * configure: Regenerated.
58248 * Makerules ($(common-objpfx)format.lds)
58249 [$(output-format) != unknown]: Just use $(output-format),
58250 instead of the linker-script munging.
58252 2011-07-14 Roland McGrath <roland@hack.frob.com>
58254 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
58255 of $(common-objpfx)shlib.lds.
58256 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
58258 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
58259 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
58261 * configure.in (-z relro check): Adjust test code to add a large
58262 writable data section after it.
58263 * configure: Regenerated.
58265 2011-07-11 Roland McGrath <roland@hack.frob.com>
58267 * configure.in (-z relro check): Fix test code to make the variable
58269 * configure: Regenerated.
58271 2011-07-11 Ulrich Drepper <drepper@gmail.com>
58273 * nscd/nscd.h (struct traced_file): Define.
58274 (struct database_dyn): Remove inotify_descr, reset_res, and filename
58275 elements. Add traced_files.
58276 (inotify_fd): Declare.
58277 (register_traced_file): Declare.
58278 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
58279 (inotify_fd): Export.
58280 (resolv_conf_descr): Remove.
58281 (nscd_init): Move inotify descriptor creation to main.
58282 Don't register files for notification here.
58283 (register_traced_file): New function.
58284 (invalidate_cache): Don't use reset_res to determine whether to call
58285 res_init, go through the list of registered files.
58286 (main_loop_poll): The inotify descriptors are now stored in the
58287 structures for the traced files.
58288 (main_loop_epoll): Likewise
58289 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
58290 to __nss_disable_nscd.
58291 * nscd/cache.c (prune_cache): There is no single inotify descriptor
58292 for a database anymore. Check the records for all the registered
58294 * nss/Makefile (libnss_files-routines): Add files-init.
58295 (libnss_db-routines): Add db-init.
58296 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
58297 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
58298 * nss/nss_db/db-init.c: New file.
58299 * nss/nss_files/files-init.c: New file.
58300 * nss/nsswitch.c (nss_load_library): New function. Broken out of
58301 __nss_lookup_function.
58302 (__nss_lookup_function): Call nss_load_library.
58303 (nss_load_all_libraries): New function.
58304 (__nss_disable_nscd): Take parameter with callback function for files
58305 to register. Set is_nscd. Load all the DSOs for the NSS modules
58306 used for the cached services.
58307 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
58308 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
58309 options for features to all the files in nscd.
58311 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
58313 2011-07-10 Roland McGrath <roland@hack.frob.com>
58315 * csu/elf-init.c (__libc_csu_init): Comment typo.
58317 2011-07-09 Ulrich Drepper <drepper@gmail.com>
58319 * po/pl.po: Update from translation team.
58320 * po/ja.po: Likewise.
58321 * po/ru.po: Likewise.
58322 * po/ko.po: Likewise.
58323 * po/fr.po: Likewise.
58325 2011-07-09 Roland McGrath <roland@hack.frob.com>
58327 * configure.in (.ctors/.dtors header and trailer check):
58328 Use an empirical test on a built program.
58329 * configure: Regenerated.
58331 * configure.in (-z relro check): Use an empirical test on a built DSO.
58332 Detect, but do not require, on ia64.
58333 * configure: Regenerated.
58335 * configure.in (READELF): Find it with AC_CHECK_TOOL.
58336 Update tests that use readelf to use $READELF instead.
58337 * configure: Regenerated.
58339 2011-07-08 Ulrich Drepper <drepper@gmail.com>
58341 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
58342 if the result is not used.
58344 2011-07-05 Andreas Jaeger <aj@suse.de>
58347 * stdlib/tst-strtod.c: Add testcase.
58349 2011-07-07 Ulrich Drepper <drepper@gmail.com>
58351 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
58352 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
58353 The latter has a higher limit. Take additional parameter to pass to
58355 (__pathconf): Pass file to __statfs_link_max.
58356 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
58358 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
58362 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
58363 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
58365 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
58366 (__statfs_filesize_max): Likewise.
58367 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
58369 2011-07-05 Andreas Jaeger <aj@suse.de>
58371 * resolv/res_comp.c (dn_skipname): Remove unused variable.
58373 2011-07-06 Marek Polacek <mpolacek@redhat.com>
58375 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
58377 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
58380 2011-07-04 H.J. Lu <hongjiu.lu@intel.com>
58382 * Makefile (strop-tests): Add strncat.
58383 * string/test-strncat.c: New file.
58385 2011-06-30 Marek Polacek <mpolacek@redhat.com>
58387 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
58389 2011-06-21 Andreas Jaeger <aj@suse.de>
58391 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
58392 Copy rule from iconvdata/Makefile.
58394 2011-07-06 Ulrich Drepper <drepper@gmail.com>
58397 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
58398 but no long options are defined, just return 'W'.
58400 2011-06-22 Marek Polacek <mpolacek@redhat.com>
58403 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
58405 2011-07-06 Ulrich Drepper <drepper@gmail.com>
58407 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
58409 (innetgr): Likewise.
58411 2011-07-05 Roland McGrath <roland@hack.frob.com>
58413 * config.make.in (install_root): Default to $(DESTDIR).
58415 2011-07-05 Ulrich Drepper <drepper@gmail.com>
58417 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
58419 2011-07-02 Roland McGrath <roland@hack.frob.com>
58421 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
58423 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
58424 containing directory rather than embedding absolute directory names.
58426 * scripts/check-local-headers.sh: Rewritten using awk.
58427 Match by word, not by line. Print error messages for matches.
58428 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
58430 * Makerules [shlib-lds-flags empty]:
58431 ($(common-objpfx)libc_pic.opts): New target.
58432 ($(common-objpfx)libc_pic.os.clean): New target.
58433 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
58435 * config.make.in (OBJCOPY): New variable.
58436 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
58437 * configure: Regenerated.
58439 * config.make.in (use-default-link): New variable.
58440 * configure.in (use_default_link): Grok --with-default-link to set it.
58441 * configure: Regenerated.
58442 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
58443 (shlib-lds, shlib-lds-flags): Define to empty.
58445 * Makerules (shlib-lds): New variable.
58446 (shlib-lds-flags): New variable.
58447 (build-shlib, build-moduile, build-module-asneeded): Use it.
58448 ($(common-objpfx)libc.so): Use $(shlib-lds).
58449 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
58450 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
58452 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
58453 DT_FLAGS/DT_FLAGS_1 with zero flags.
58455 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
58456 linker script munging.
58458 2011-07-02 Ulrich Drepper <drepper@gmail.com>
58460 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
58462 * crypt/sha512.c (sha512_process_block): Perform total addition using
58463 128-bit if possible.
58464 (__sha512_finish_ctx): Likewise.
58465 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
58467 * crypt/sha256.c (SWAP64): Define.
58468 (sha256_process_block): Perform total addition using 64-bit if
58470 (__sha256_finish_ctx): Likewise.
58472 2011-07-01 Ulrich Drepper <drepper@gmail.com>
58474 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
58475 * nscd/initgrcache.c (addinitgroupsX): Likewise.
58476 * nscd/hstcache.c (cache_addhst): Likewise.
58477 * nscd/grpcache.c (cache_addgr): Likewise.
58478 * nscd/aicache.c (addhstaiX): Likewise
58479 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
58481 2011-07-01 Thorsten Kukuk <kukuk@suse.de>
58483 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
58484 * nscd/initgrcache.c (addinitgroupsX): Likewise.
58485 * nscd/hstcache.c (cache_addhst): Likewise.
58486 * nscd/grpcache.c (cache_addgr): Likewise.
58487 * nscd/aicache.c (addhstaiX): Likewise
58489 2011-07-01 Andreas Schwab <schwab@redhat.com>
58491 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
58492 domain only when needed.
58494 2011-06-30 Andreas Schwab <schwab@redhat.com>
58496 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
58497 is always restored.
58499 2011-06-29 Ulrich Drepper <drepper@gmail.com>
58501 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
58502 are re-adding the entry.
58503 * nscd/servicescache.c (cache_addserv): Likewise.
58505 2011-06-30 Aurelien Jarno <aurelien@aurel32.net>
58507 * sysdeps/generic/dl-irel.h: fix protection against multiple
58509 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
58511 2011-06-28 Ulrich Drepper <drepper@gmail.com>
58514 * malloc/memusage.sh: Fix quoting in message.
58515 * debug/xtrace.sh: Likewise.
58517 * configure.in: Remove support for --experimental-malloc option, make
58519 * config.make.in: Likewise.
58520 * malloc/Makefile: Likewise.
58522 2011-06-27 Andreas Schwab <schwab@redhat.com>
58524 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
58525 two-byte characters.
58527 2011-06-27 Roland McGrath <roland@hack.frob.com>
58529 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
58530 AC_CACHE_CHECK invocation.
58531 * configure: Regenerated.
58533 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
58535 2011-06-27 Ulrich Drepper <drepper@gmail.com>
58538 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
58539 bit from old_res_options.
58541 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
58543 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
58544 value type for setfct.
58546 2011-06-23 H.J. Lu <hongjiu.lu@intel.com>
58548 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
58549 __gettimeofday instead of gettimeofday.
58551 2011-06-26 Ulrich Drepper <drepper@gmail.com>
58553 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
58555 2011-06-24 H.J. Lu <hongjiu.lu@intel.com>
58557 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
58559 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
58562 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
58564 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
58565 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
58566 strcpy-sse2-unaligned strncpy-sse2-unaligned
58567 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
58568 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
58569 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
58570 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
58571 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
58572 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
58573 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
58574 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
58575 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
58576 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
58577 (STRCPY): Support SSE2 and SSSE3 versions.
58579 2011-06-24 Ulrich Drepper <drepper@gmail.com>
58582 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
58583 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
58584 kernels which artificially limit size of requests.
58586 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
58588 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
58589 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
58590 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
58591 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
58592 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
58593 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
58594 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
58595 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
58596 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
58597 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
58598 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
58599 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
58600 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
58601 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
58602 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
58603 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
58604 Enable unaligned load optimization for Intel Core i3, i5 and i7
58606 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
58608 (index_Fast_Unaligned_Load): Define.
58609 (HAS_FAST_UNALIGNED_LOAD): Define.
58611 2011-06-23 Marek Polacek <mpolacek@redhat.com>
58613 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
58615 2011-06-22 Ulrich Drepper <drepper@gmail.com>
58618 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
58619 until it is clear that the information is realy needed.
58620 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
58622 2011-06-22 Andreas Schwab <schwab@redhat.com>
58624 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
58626 2011-06-22 Ulrich Drepper <drepper@gmail.com>
58628 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
58629 /sys/devices/system/cpu/online if it is usable.
58631 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
58632 reading the information from the /proc filesystem to once a second.
58634 2011-06-21 Andreas Jaeger <aj@suse.de>
58636 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
58637 NULL after inclusion of kernel headers.
58639 2011-06-21 Ulrich Drepper <drepper@gmail.com>
58641 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
58642 calls to internal_setent.
58645 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
58646 addresses using gethostbyname4_r ignore IPv4 addresses.
58648 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
58649 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
58651 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
58653 2011-06-20 David S. Miller <davem@davemloft.net>
58655 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
58657 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
58659 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
58660 (elf_irel): Use it.
58661 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
58662 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
58663 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
58664 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
58665 * sysdeps/x86_64/dl-irel.h: Likewise.
58667 * elf/dl-runtime.c: Use elf_ifunc_invoke.
58668 * elf/dl-sym.c: Likewise.
58670 2011-06-15 Ulrich Drepper <drepper@gmail.com>
58672 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
58673 need to dereference resplen2.
58675 2011-06-14 Andreas Schwab <schwab@redhat.com>
58677 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
58679 2011-06-15 Ulrich Drepper <drepper@gmail.com>
58681 * Makeconfig: Define vardbdir and inst_vardbdir.
58682 * nss/Makefile: Add rules to install db-Makefile.
58684 * nss/nss_db/db-XXX.c: Cleanup.
58686 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
58687 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
58689 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
58690 * nss/makedb.c: Implement -g option to specify that value strings
58691 are generated and should not be added to table iterated over for
58693 * nss/nss_db/db-initgroups.c: New file.
58695 * nss/getent.c: Add support for initgroups lookups through getgrouplist
58698 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
58699 (internal_getgrouplist): Adjust to name change.
58700 Update use_initgroups_entry if this is not the first call.
58701 * nss/databases.def: Add initgroups entry.
58703 * nss/makedb.c (compute_tables): Check result of multiple hash table
58704 sizes to minimize maximum chain length.
58706 2011-06-14 Ulrich Drepper <drepper@gmail.com>
58708 * Versions.def: Add entry for libnss_db.
58709 * shlib-versions: Likewise.
58710 * nss/Makefile: Add rules to build libnss_db.
58711 * nss/Versions: Add libnss_db information. Organize libnss_files
58713 * nss/db-Makefile: Add gshadow support. Change rules for the new
58714 makedb progra. Some minor improvements to generate smaller files.
58715 * nss/nss_db/nss_db.h: Move NSS database header data structures to
58717 * nss/makedb.c: ...here.
58718 Improve database format to be smaller and require less memory at
58720 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
58722 * nss/nss_db/db-netgrp.c: Likewise.
58723 * nss/nss_db/db-open.c: Likewise.
58724 * nss/nss_files/flies-XXX.x: Adjust comments.
58725 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
58726 * nss/nss_files/files-grp.c: Likewise.
58727 * nss/nss_files/files-hosts.c: Likewise.
58728 * nss/nss_files/files-network.c: Likewise.
58729 * nss/nss_files/files-proto.c: Likewise.
58730 * nss/nss_files/files-pwd.c: Likewise.
58731 * nss/nss_files/files-rpc.c: Likewise.
58732 * nss/nss_files/files-service.c: Likewise.
58733 * nss/nss_files/files-sgrp.c: Likewise.
58734 * nss/nss_files/files-spwd.c: Likewise.
58735 * nss/nss_db/db-alias.c: Removed.
58736 * nss/nss_db/dummy-db.h: Removed.
58738 2011-06-02 Ulrich Drepper <drepper@gmail.com>
58740 * nss/makedb.c: Rewritten to not use database library.
58741 * nss/Makefile: Update to build new makedb program.
58743 2011-06-14 Andreas Jaeger <aj@suse.de>
58745 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
58746 memset declaration.
58748 2011-06-10 Andreas Schwab <schwab@redhat.com>
58750 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
58753 2011-06-10 Roland McGrath <roland@hack.frob.com>
58755 * Makerules (shlib.lds): Fail if the linker script comes out empty.
58756 * elf/Makefile ($(objpfx)ld.so): Likewise.
58758 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
58759 Don't list ld.so twice in dependencies.
58761 * posix/bug-regex31.c: Include <stdlib.h>.
58763 * nscd/hstcache.c (cache_addhst): Remove unused variable.
58765 * nis/nss_compat/compat-spwd.c
58766 (getspent_next_nss_netgr): Remove unused variable.
58767 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
58769 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
58770 nonmembers" output to use the right array.
58772 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
58774 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
58776 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
58777 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
58778 * catgets/gencat.c (read_input_file): Likewise.
58779 * locale/programs/locarchive.c (enlarge_archive): Likewise.
58781 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
58782 variable definition inside #if's controlling its use.
58784 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
58786 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
58788 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
58790 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
58793 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
58795 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
58796 * configure: Regenerated.
58798 * Makerules: Revert last change.
58799 * elf/Makefile: Likewise.
58801 2011-06-09 Roland McGrath <roland@hack.frob.com>
58803 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
58804 * elf/Makefile ($(objpfx)librtld.os): Likewise.
58805 (reloc-link): Likewise.
58807 2011-06-09 Ulrich Drepper <drepper@gmail.com>
58809 * elf/Makefile: Add rules to build pldd.
58810 * elf/pldd.c: New file.
58811 * elf/pldd-xx.c: New file.
58813 2011-06-07 Ulrich Drepper <drepper@gmail.com>
58815 * version.h: Update for 2.15 development version.
58817 2011-06-07 David S. Miller <davem@davemloft.net>
58819 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
58821 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
58822 elf_machine_lazy_rel): Likewise.
58823 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
58824 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
58825 elf_machine_lazy_rel): Likewise.
58826 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
58827 dl_hwcap via passed in argument.
58828 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
58831 2011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
58833 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
58835 2011-06-06 Roland McGrath <roland@hack.frob.com>
58838 * manual/fdl-1.1.texi: New file, verbatim from:
58839 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
58840 * manual/lgpl-2.1.texi: New file, verbatim from:
58841 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
58842 * manual/Makefile (licenses): New variable, list those new file names.
58844 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
58846 * manual/fdl.texi: File removed.
58847 * manual/lesser.texi: File removed.
58848 * manual/libc.texinfo (Copying, Documentation License):
58849 Use new @include file names, put @appendix directive before @include.
58851 2011-06-04 Jakub Jelinek <jakub@redhat.com>
58854 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
58855 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
58856 (mq_open): Add __NTH.
58858 2011-06-02 H.J. Lu <hongjiu.lu@intel.com>
58860 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
58861 Assume Intel Core i3/i5/i7 processor if AVX is available.
58863 2011-05-31 Ulrich Drepper <drepper@gmail.com>
58865 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
58868 2011-05-31 Andreas Schwab <schwab@redhat.com>
58870 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
58871 memory. Use alloca_account. Fix memory leak when retrying.
58873 2011-05-31 Ulrich Drepper <drepper@gmail.com>
58875 * version.h (RELEASE): Bump for 2.14 release.
58876 * include/features.h (__GLIBC_MINOR__): Bump to 14.
58878 * config.make.in (RANLIB): Remove entry.
58880 2011-05-30 Ulrich Drepper <drepper@gmail.com>
58882 * po/Makefile (po-sed-cmd): Add ksh to extensions.
58883 (libc.pot): Work around missing support for .ksh extension in xgettext.
58886 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
58887 if both request failed.
58888 (send_dg): In case of server errors clear resplen or *resplen2.
58891 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
58892 when there are multiple maps.
58893 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
58894 (_dl_fini): Remove test here.
58896 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
58898 2011-05-29 Ulrich Drepper <drepper@gmail.com>
58901 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
58902 bit from old_res_options.
58903 (gaih_inet): Likewise.
58906 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
58909 * resolv/res_init.c (res_setoptions): Make the code more compact.
58912 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
58916 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
58918 * malloc/malloc.h: Mark malloc hook variables as deprecated.
58921 * malloc/malloc.h: Declare malloc hook variables as volatile.
58923 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
58927 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
58928 raise in the comment.
58929 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
58930 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
58931 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
58933 2011-05-28 Ulrich Drepper <drepper@gmail.com>
58936 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
58937 grow the buffers more if it already has to be sufficient.
58938 (build_wcs_upper_buffer): Likewise.
58939 * posix/regexec.c (check_matching): Likewise.
58940 (clean_state_log_if_needed): Likewise.
58941 (extend_buffers): Don't enlarge buffers beyond size of the input
58943 Patches mostly by Emil Wojak <emil@wojak.eu>.
58944 * posix/bug-regex32.c: New file.
58945 * posix/Makefile (tests): Add bug-regex32.
58947 * locale/findlocale.c (_nl_find_locale): Return right away if
58948 _nl_explode_name failed.
58949 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
58951 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
58953 * debug/xtrace.sh: Unify messages.
58954 * malloc/memusage.sh: Likewise.
58957 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
58958 time symbol from vDSO. Substitute with vsyscall if not available.
58959 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
58962 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
58963 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
58964 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
58965 Add sendmmsg and internal_sendmmsg.
58966 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
58967 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
58968 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
58970 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
58971 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
58972 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
58974 2011-05-27 Ulrich Drepper <drepper@gmail.com>
58977 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
58978 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
58980 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
58984 * iconvdata/Makefile (tests): Add bug-iconv9.
58985 * iconvdata/bug-iconv9.c: New file.
58987 2011-05-27 Andreas Schwab <schwab@redhat.com>
58990 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
58992 2011-05-25 Jakub Jelinek <jakub@redhat.com>
58994 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
58995 (struct user_regs_struct): Change intcs field back to cs.
58997 2011-05-25 Ulrich Drepper <drepper@gmail.com>
58999 * po/ja.po: Update from translation team.
59001 2011-05-23 Ulrich Drepper <drepper@gmail.com>
59004 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
59005 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
59007 2011-05-20 Andreas Schwab <schwab@redhat.com>
59009 * stdlib/longlong.h: Update from GCC.
59011 2011-05-23 Andreas Schwab <schwab@redhat.com>
59013 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
59015 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
59016 Add parameter name.
59017 (__sysconf): Pass it down.
59019 2011-05-22 Ulrich Drepper <drepper@gmail.com>
59022 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
59024 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
59025 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
59026 add in in __libc_use_alloca calls. Adjust callers.
59027 (glob): Use malloc in some situations.
59029 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
59030 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
59033 2011-05-21 Ulrich Drepper <drepper@gmail.com>
59035 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
59036 and CLOCK_BOOTTIME_ALARM.
59039 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
59042 * string/_strerror.c (__strerror_r): Print negative errors as signed
59046 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
59047 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
59048 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
59050 * configure.in: Fix typo in redirection and correct removal of test
59051 files in two cases.
59054 * locale/setlocale.c (new_composite_name): Fix test to check for
59055 identical name of all categories.
59058 * libio/filedoalloc.c (local_isatty): New function.
59059 (_IO_file_doallocate): Use local_isatty.
59060 * stdio-common/perror.c (perror): In case a new stream is used
59061 forward the stream error.
59062 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
59065 2011-05-20 Ulrich Drepper <drepper@gmail.com>
59068 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
59070 * include/alloca.h (extend_alloca_account): Define.
59073 * posix/regex.h: Fix comments with documentation of user-accessible
59074 fields after compilation and describe correct free'ing of pattern
59075 after re_compile_pattern.
59076 Patch by Reuben Thomas <rrt@sc3d.org>.
59078 2011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
59080 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
59081 and -mno-altivec to prevent the compiler from using Altivec and/or
59082 VSX instructions when the corresponding registers are not available.
59084 2011-05-19 Andreas Schwab <schwab@redhat.com>
59086 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
59088 2011-05-19 Ulrich Drepper <drepper@gmail.com>
59090 * libio/freopen.c (freopen): Use __dup2, not dup2.
59091 * libio/freopen64.c (freopen64): Likewise.
59093 2011-05-17 H.J. Lu <hongjiu.lu@intel.com>
59096 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
59097 * math/Makefile (tests): Add test-powl.
59098 (CFLAGS-test-powl.c): Define.
59099 * math/test-powl.c: New file.
59101 2011-05-16 H.J. Lu <hongjiu.lu@intel.com>
59103 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
59105 2011-05-17 Ulrich Drepper <drepper@gmail.com>
59108 * iconvdata/gb18030.c: Update to GB18020-2005.
59110 2011-05-16 Ulrich Drepper <drepper@gmail.com>
59112 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
59113 RE_SYNTAX_POSIX_AWK): Update to match recent development.
59114 Patch by Aharon Robbins <arnold@skeeve.com>.
59117 * stdlib/putenv.c (putenv): Don't always create copy of the variable
59121 * misc/pselect.c (__pselect): Handle timeout value errors hidden
59122 through underflows.
59125 * misc/error.c (error_at_line): Ensure file_name and old_file_name
59126 point to strings before performing equality test for error_one_per_line
59130 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
59133 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
59134 (struct user_fpregs_struct): Avoid __uint*_t types.
59137 * malloc/mtrace.c (tr_where): Add additional parameter to point to
59138 symbol info. Use it instead of calling _dl_addr locally.
59139 (lock_and_info): New function.
59140 (tr_freehook): Call lock_and_info and pass symbol info as additional
59141 parameter to tr_where.
59142 (tr_mallochook): Likewise.
59143 (tr_reallochook): Likewise.
59144 (tr_memalignhook): Likewise.
59146 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
59147 used and couldn't be at all thread-safe.
59149 2011-05-15 Ulrich Drepper <drepper@gmail.com>
59151 * libio/freopen.c (freopen): Don't close old file descriptor
59152 before the new one is opened. Instead dup the new file descriptor
59153 to the old one after the new stream is created.
59154 * libio/freopen64.c (freopen64): Likewise.
59155 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
59156 * libio/fileops.c (_IO_new_file_close_it): Handle new
59157 _IO_FLAGS2_NOCLOSE flag.
59158 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
59159 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
59160 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
59161 _IO_FLAGS2_NOCLOSE flag.
59162 * include/unistd.h: Add hidden_proto for dup3.
59163 Define __have_dup3.
59164 * io/dup3.c: Define hidden symbol.
59165 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
59168 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
59169 when an incomplete long option is used.
59170 * posix/tst-getopt_long1.c: New file.
59171 * posix/Makefile (tests): Add tst-getopt_long1.
59174 * scripts/config.guess: Update from autoconf-2.68.
59175 * scripts/config.sub: Likewise.
59178 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
59180 (has_cpuclock): ...this. New function.
59181 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
59182 macro here based on has_cpuclock code.
59185 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
59186 First byte (not low byte) is now always NUL.
59187 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
59189 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
59190 Use non-cancelable interfaces.
59193 * locale/iso-639.def: Add entry for Sorani.
59196 * include/stdlib.h: Move include protection to the right place.
59197 Define abort_msg_s. Declare __abort_msg with it.
59198 * stdlib/abort.c (__abort_msg): Adjust type.
59199 * assert/assert.c (__assert_fail_base): New function. Majority
59200 of code from __assert_fail. Allocate memory for __abort_msg with
59202 (__assert_fail): Now call __assert_fail_base.
59203 * assert/assert-perr.c: Remove bulk of implementation. Use
59204 __assert_fail_base.
59205 * include/assert.hL Declare __assert_fail_base.
59206 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
59208 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
59210 2011-05-14 Ulrich Drepper <drepper@gmail.com>
59214 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
59215 until all modules are registered in the DTV.
59216 * elf/Makefile: Add rules to build and run tst-tls19.
59217 * elf/tst-tls19.c: New file.
59218 * elf/tst-tls19mod1.c: New file.
59219 * elf/tst-tls19mod2.c: New file.
59220 * elf/tst-tls19mod3.c: New file.
59221 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
59224 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
59228 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
59229 two-byte sequence errors.
59230 * iconvdata/Makefile (tests): Add bug-iconv8.
59231 * iconvdata/bug-iconv8.c: New file.
59234 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
59237 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
59240 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
59241 (dummy_getcfa): New function.
59242 (init): Get _Unwind_GetCFA address, use dummy if not found.
59243 (backtrace_helper): In recursion check, also check whether CFA changes.
59244 (__backtrace): Completely initialize arg.
59246 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
59247 storing incomplete byte sequence in state object. Avoid testing for
59248 guaranteed too small input if we know there is enough data available.
59250 2011-05-11 Andreas Schwab <schwab@redhat.com>
59252 * Makeconfig (+link-pie): Indent.
59253 * Rules (binaries-pie): Define if $(have-fpie) and
59255 (binaries-shared): Also filter out $(binaries-pie).
59256 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
59257 * nscd/Makefile (others-pie): Add nscd.
59258 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
59259 ($(objpfx)nscd): Remove command override.
59260 * login/Makefile (others-pie): Add pt_chown.
59261 ($(objpfx)pt_chown): Remove command override.
59262 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
59263 remove command overrides.
59265 2011-05-13 Ulrich Drepper <drepper@gmail.com>
59267 * libio/tst_putwc.c: Fix error messages.
59270 * libio/fileops.c (_IO_new_file_close_it): Always flush when
59271 currently writing and seek to current position when not.
59272 * libio/Makefile (tests): Add bug-fclose1.
59273 * libio/bug-fclose1.c: New file.
59275 2011-05-12 Ulrich Drepper <drepper@gmail.com>
59278 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
59279 don't set DF_1_NODELETE here.
59280 (do_lookup_x): When entering new entry test for copy relocation
59281 and if necessary set DF_1_NODELETE flag.
59282 * elf/tst-unique4.cc: New file.
59283 * elf/tst-unique4.h: New file.
59284 * elf/tst-unique4lib.cc: New file.
59285 * elf/Makefile: Add rules to build and run tst-unique4.
59286 Patch by Piotr Bury <pbury@goahead.com>.
59288 2011-05-11 Ulrich Drepper <drepper@gmail.com>
59291 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
59294 * misc/mntent_r.c (addmntent): Flush the stream after the output
59297 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
59298 (is_trusted_path_normalize): Skip initial colon. Append slash
59299 to empty buffer. Duplicate is_trusted_path code but allow
59300 constructed patch to be prefix.
59301 (is_dst): Allow $ORIGIN followed by /.
59302 (_dl_dst_substitute): Correct clearing of check_for_trusted.
59303 Correct testing of result of is_trusted_path_normalize
59304 (decompose_rpath): Fix warning.
59306 2011-05-10 Ulrich Drepper <drepper@gmail.com>
59309 * grp/initgroups.c (internal_getgrouplist): When we found the service
59310 list through the initgroups entry in nsswitch.conf do not always
59311 continue on a successful lookup. Don't always use the
59312 __nss_group_database value if it is set.
59313 * nss/nsswitch.conf (initgroups): Change action for successful db
59314 lookup to continue for compatibility.
59316 2011-05-09 Ulrich Drepper <drepper@gmail.com>
59319 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
59321 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
59323 * iconvdata/tst-tables.sh: Likewise.
59324 * iconvdata/cp770.c: New file.
59325 * iconvdata/cp771.c: New file.
59326 * iconvdata/cp772.c: New file.
59327 * iconvdata/cp773.c: New file.
59328 * iconvdata/cp774.c: New file.
59329 * iconvdata/testdata/CP770: New file.
59330 * iconvdata/testdata/CP770..UTF8: New file.
59331 * iconvdata/testdata/CP771: New file.
59332 * iconvdata/testdata/CP771..UTF8: New file.
59333 * iconvdata/testdata/CP772: New file.
59334 * iconvdata/testdata/CP772..UTF8: New file.
59335 * iconvdata/testdata/CP773: New file.
59336 * iconvdata/testdata/CP773..UTF8: New file.
59337 * iconvdata/testdata/CP774: New file.
59338 * iconvdata/testdata/CP774..UTF8: New file.
59340 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
59342 * iconvdata/gen-8bit-gap.sh: Likewise.
59343 * iconvdata/gen-8bit.sh: Likewise.
59345 * locale/iso-639.def: Add ary entry.
59348 * locale/C-translit.h.in: Add U20A1 transliteration.
59351 * locale/iso-639.def: Add wae entry.
59352 Patch by Kevin Bortis <bortis@translate-wae.ch>.
59355 * locale/programs/localedef.c (construct_output_path): Use ssize_t
59359 * locale/C-translit.h.in: Add entry for U20B9.
59360 Patch by pravin.d.s@gmail.com.
59362 2011-05-08 Ulrich Drepper <drepper@gmail.com>
59365 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
59366 ENAMETOOLONG use generic getcwd.
59367 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
59368 in rtld. Use *stat64.
59369 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
59370 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
59371 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
59372 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
59373 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
59374 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
59375 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
59376 __fstatat64 macros.
59377 * include/dirent.h: Add libc_hidden_proto for rewinddir.
59378 * dirent/rewinddir.c: Add libc_hidden_def.
59379 * sysdeps/mach/hurd/rewinddir.c: Likewise.
59380 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
59382 * include/dirent.h (__alloc_dir): Add flags parameter.
59383 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
59384 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
59386 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
59387 from fdopendir if O_CLOEXEC is already set.
59389 2011-03-15 Alan Modra <amodra@gmail.com>
59391 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
59392 l_tls_firstbyte_offset non-zero. Save padding offset in
59393 l_tls_firstbyte_offset for later use.
59394 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
59395 freeing static tls block.
59397 2011-03-05 Jonathan Nieder <jrnieder@gmail.com>
59399 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
59400 where #ifdef was intended. The intent is to prevent ARG_MAX from
59401 being defined by the kernel headers.
59403 2011-05-07 Ulrich Drepper <drepper@gmail.com>
59406 * resolv/resolv.h: Define RES_NOTLDQUERY.
59407 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
59408 no-tld-query and set RES_NOTLDQUERY.
59409 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
59410 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
59411 modern BIND to search name as TLD unless forbidden.
59413 2011-05-07 Petr Baudis <pasky@suse.cz>
59414 Ulrich Drepper <drepper@gmail.com>
59417 * elf/dl-load.c (fillin_rpath): Move trusted path check...
59418 (is_trusted_path): ...to here.
59419 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
59420 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
59421 using is_trusted_path_normalize() in setuid scripts.
59423 2011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
59425 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
59426 __BEGIN/__END_DECLS.
59428 2011-05-06 Ulrich Drepper <drepper@gmail.com>
59430 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
59431 NSS_STATUS_NOTFOUND if no record was found.
59433 2011-05-05 Andreas Schwab <schwab@redhat.com>
59435 * sunrpc/Makefile (headers): Add rpc/netdb.h.
59436 (headers-not-in-tirpc): Remove rpc/netdb.h
59437 * resolv/netdb.h: Revert last change.
59439 2011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
59441 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
59442 circular dependency between libgcc.a and libc.a.
59444 2011-05-05 Andreas Schwab <schwab@redhat.com>
59446 * resolv/netdb.h: Don't include <rpc/netdb.h>.
59447 * nis/Makefile: Don't install rpcsvc/*.
59448 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
59449 instead of <rpc/types.h>.
59450 (MAXHOSTNAMELEN): Define.
59452 2011-05-03 Andreas Schwab <schwab@redhat.com>
59454 * elf/ldconfig.c (add_dir): Don't crash on empty path.
59456 2011-04-28 Maciej Babinski <mbabinski@google.com>
59459 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
59460 gethostbyname4_r when IPv6 results are possible.
59462 2011-05-02 Ulrich Drepper <drepper@gmail.com>
59465 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
59466 _PC_PIPE_BUF handling.
59468 2011-04-30 Bruno Haible <bruno@clisp.org>
59471 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
59472 * resolv/netdb.h (getnameinfo): Change type of flags parameter
59474 * inet/getnameinfo.c (getnameinfo): Likewise.
59476 2011-04-29 Ulrich Drepper <drepper@gmail.com>
59478 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
59479 to groups setting in database lookup.
59480 * nss/nsswitch.conf: Add initgroups entry.
59482 2011-04-22 Ulrich Drepper <drepper@gmail.com>
59485 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
59487 Patch by Eric Blake <eblake@redhat.com>.
59489 2011-04-20 H.J. Lu <hongjiu.lu@intel.com>
59491 * sunrpc/Makefile (need-export-routines): Add svc_run.
59492 (routines): Remove svc_run.
59493 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
59494 * sunrpc/clnt_perr.c (clnt_perrno): Export.
59495 * sunrpc/svc_run.c (svc_run): Likewise.
59496 * sunrpc/svc_udp.c (svcudp_create): Likewise.
59498 2011-04-21 Ulrich Drepper <drepper@gmail.com>
59500 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
59501 problem in reallocation in last patch.
59503 2011-04-20 Ulrich Drepper <drepper@gmail.com>
59505 * sunrpc/Makefile: Move inclusion of Rules.
59507 2011-04-19 Ulrich Drepper <drepper@gmail.com>
59509 * nss/nss_files/files-initgroups.c: New file.
59510 * nss/Makefile (libnss_files-routines): Add files-initgroups.
59511 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
59512 _nss_files_initgroups_dyn.
59514 2011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
59516 * elf/elf.h (R_ARM_IRELATIVE): Define.
59518 2011-04-19 Ulrich Drepper <drepper@gmail.com>
59520 * po/ru.po: Update from translation team.
59522 2011-04-17 Ulrich Drepper <drepper@gmail.com>
59524 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
59527 2011-02-06 Mike Frysinger <vapier@gentoo.org>
59530 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
59531 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
59532 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
59533 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
59534 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
59536 2011-03-28 Andreas Schwab <schwab@linux-m68k.org>
59538 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
59540 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
59541 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
59542 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
59544 2011-04-17 Ulrich Drepper <drepper@gmail.com>
59547 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
59549 * stdlib/bug-getcontext.c: New file.
59550 * stdlib/Makefile: Add rules to build and run bug-getcontext.
59552 2011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
59554 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
59555 instructions into .machine "z9-109".
59556 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
59557 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
59559 2011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
59561 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
59562 between environment variables and auxiliary vector.
59564 2011-04-16 Ulrich Drepper <drepper@gmail.com>
59566 * Makefile: Add rules to build linkobj/libc.so.
59567 * include/libc-symbols.h: Define libc_hidden_nolink.
59568 * include/rpc/auth.h: Mark functions which are to be hidden.
59569 * include/rpc/auth_des.h: Likewise.
59570 * include/rpc/auth_unix.h: Likewise.
59571 * include/rpc/clnt.h: Likewise.
59572 * include/rpc/des_crypt.h: Likewise.
59573 * include/rpc/key_prot.h: Likewise.
59574 * include/rpc/pmap_clnt.h: Likewise.
59575 * include/rpc/pmap_prot.h: Likewise.
59576 * include/rpc/pmap_rmt.h: Likewise.
59577 * include/rpc/rpc_msg.h: Likewise.
59578 * include/rpc/svc.h: Likewise.
59579 * include/rpc/svc_auth.h: Likewise.
59580 * include/rpc/xdr.h: Likewise.
59581 * nis/Makefile: Link all DSOs against linkobj/libc.so.
59582 * nss/Makefile: Likewise.
59583 * sunrpc/Makefile: Don't install headers. Build library with normal
59584 entry points. Don't build rpcinfo. Link RPC tests appropriately.
59585 * sunrpc/auth_des.c: Hide exported symbols by default, export some
59586 for the compat linking library. Remove use of INTDEF/INTUSE.
59587 * sunrpc/auth_none.c: Likewise.
59588 * sunrpc/auth_unix.c: Likewise.
59589 * sunrpc/authdes_prot.c: Likewise.
59590 * sunrpc/authuxprot.c: Likewise.
59591 * sunrpc/clnt_gen.c: Likewise.
59592 * sunrpc/clnt_perr.c: Likewise.
59593 * sunrpc/clnt_raw.c: Likewise.
59594 * sunrpc/clnt_simp.c: Likewise.
59595 * sunrpc/clnt_tcp.c: Likewise.
59596 * sunrpc/clnt_udp.c: Likewise.
59597 * sunrpc/clnt_unix.c: Likewise.
59598 * sunrpc/des_crypt.c: Likewise.
59599 * sunrpc/des_soft.c: Likewise.
59600 * sunrpc/get_myaddr.c: Likewise.
59601 * sunrpc/key_call.c: Likewise.
59602 * sunrpc/key_prot.c: Likewise.
59603 * sunrpc/netname.c: Likewise.
59604 * sunrpc/pm_getmaps.c: Likewise.
59605 * sunrpc/pm_getport.c: Likewise.
59606 * sunrpc/pmap_clnt.c: Likewise.
59607 * sunrpc/pmap_prot.c: Likewise.
59608 * sunrpc/pmap_prot2.c: Likewise.
59609 * sunrpc/pmap_rmt.c: Likewise.
59610 * sunrpc/publickey.c: Likewise.
59611 * sunrpc/rpc_cmsg.c: Likewise.
59612 * sunrpc/rpc_common.c: Likewise.
59613 * sunrpc/rpc_dtable.c: Likewise.
59614 * sunrpc/rpc_prot.c: Likewise.
59615 * sunrpc/rpc_thread.c: Likewise.
59616 * sunrpc/rtime.c: Likewise.
59617 * sunrpc/svc.c: Likewise.
59618 * sunrpc/svc_auth.c: Likewise.
59619 * sunrpc/svc_authux.c: Likewise.
59620 * sunrpc/svc_raw.c: Likewise.
59621 * sunrpc/svc_run.c: Likewise.
59622 * sunrpc/svc_simple.c: Likewise.
59623 * sunrpc/svc_tcp.c: Likewise.
59624 * sunrpc/svc_udp.c: Likewise.
59625 * sunrpc/svc_unix.c: Likewise.
59626 * sunrpc/svcauth_des.c: Likewise.
59627 * sunrpc/xcrypt.c: Likewise.
59628 * sunrpc/xdr.c: Likewise.
59629 * sunrpc/xdr_array.c: Likewise.
59630 * sunrpc/xdr_float.c: Likewise.
59631 * sunrpc/xdr_intXX_t.c: Likewise.
59632 * sunrpc/xdr_mem.c: Likewise.
59633 * sunrpc/xdr_rec.c: Likewise.
59634 * sunrpc/xdr_ref.c: Likewise.
59635 * sunrpc/xdr_sizeof.c: Likewise.
59636 * sunrpc/xdr_stdio.c: Likewise.
59638 2011-04-10 Ulrich Drepper <drepper@gmail.com>
59641 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
59642 * sysdeps/ia64/dl-tls.h: Likewise.
59643 * sysdeps/powerpc/dl-tls.h: Likewise.
59644 * sysdeps/s390/dl-tls.h: Likewise.
59645 * sysdeps/sh/dl-tls.h: Likewise.
59646 * sysdeps/sparc/dl-tls.h: Likewise.
59647 * sysdeps/x86_64/dl-tls.h: Likewise.
59648 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
59650 2011-03-14 Andreas Schwab <schwab@redhat.com>
59652 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
59653 rpath element also skip the following colon.
59654 (expand_dynamic_string_token): Add is_path parameter and pass
59655 down to DL_DST_REQUIRED and _dl_dst_substitute.
59656 (decompose_rpath): Call expand_dynamic_string_token with
59657 non-zero is_path. Ignore empty rpaths.
59658 (_dl_map_object_from_fd): Call expand_dynamic_string_token
59661 2011-04-08 Andreas Schwab <schwab@linux-m68k.org>
59663 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
59666 2011-04-09 Ulrich Drepper <drepper@gmail.com>
59669 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
59670 Patch by Filipe David Manana <fdmanana@apache.org>.
59672 2011-04-07 Andreas Schwab <schwab@redhat.com>
59674 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
59675 Maintain aligned stack.
59676 (CHECK_RSP): Remove unused macro.
59678 2011-04-03 Ulrich Drepper <drepper@gmail.com>
59680 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
59681 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
59683 2011-04-02 Ulrich Drepper <drepper@gmail.com>
59685 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
59687 * include/features.h: Mention __USE_XOPEN2K8 in comment.
59689 2011-03-26 H.J. Lu <hongjiu.lu@intel.com>
59692 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
59693 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
59694 * sysdeps/x86_64/memmove.c: New file.
59695 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
59696 (memcpy): Renamed to ...
59697 (__new_memcpy): This.
59698 (memcpy): Provide GLIBC_2_14 memcpy.
59699 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
59700 (memcpy): Provide GLIBC_2_2_5 memcpy.
59702 2011-04-01 Ulrich Drepper <drepper@gmail.com>
59705 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
59707 2011-03-30 Andreas Schwab <schwab@redhat.com>
59709 * misc/syncfs.c: New file.
59710 * misc/Makefile (routines): Add syncfs.
59711 * posix/unistd.h: Declare syncfs.
59712 * sysdeps/unix/syscalls.list: Add syncfs.
59714 2011-04-01 Andreas Schwab <schwab@redhat.com>
59716 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
59718 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
59719 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
59720 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
59721 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
59722 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
59723 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
59724 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
59726 2011-04-01 Ulrich Drepper <drepper@gmail.com>
59728 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
59729 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
59730 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
59731 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
59732 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
59733 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
59734 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
59736 * io/Makefile: Compile fallocate.c, fallocate64.c, and
59737 sync_file_range.c with -fexceptions.
59738 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
59739 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
59740 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
59741 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
59742 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
59743 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
59744 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
59745 sync_file_range as cancellation point
59746 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
59747 now a wrapper around __call_sync_file_range with cancellation handling.
59748 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
59749 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
59750 function name to __call_sync_file_range.
59751 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
59752 Add call_sync_file_range.
59754 2011-04-01 Andreas Schwab <schwab@redhat.com>
59756 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
59759 2011-04-01 Ulrich Drepper <drepper@gmail.com>
59761 * iconv/iconv.h: Fix typo in comment.
59762 * io/fcntl.h: Likewise.
59763 * libio/stdio.h: Likewise.
59764 * posix/spawn.h: Likewise.
59765 * posix/unistd.h: Likewise.
59766 * stdlib/stdlib.h: Likewise.
59767 * time/time.h: Likewise.
59768 * wcsmbs/wchar.h: Likewise.
59770 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
59771 open_by_handle): Add.
59772 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
59773 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
59774 Augment a few comments.
59775 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
59776 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
59777 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
59778 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
59779 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
59780 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
59783 * io/fcntl.h (AT_EMPTY_PATH): Define.
59785 2011-03-30 Ulrich Drepper <drepper@gmail.com>
59787 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
59788 * sysdeps/unix/sysv/linux/bits/time.h: New file.
59789 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
59791 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
59792 * Versions.def: Add GLIBC_2.14.
59793 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
59796 2011-03-22 Ulrich Drepper <drepper@gmail.com>
59798 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
59800 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
59802 2011-03-20 H.J. Lu <hongjiu.lu@intel.com>
59805 * string/test-strncmp.c (do_page_test): New function.
59806 (check2): Likewise.
59807 (test_main): Call check2.
59808 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
59810 2011-03-20 Ulrich Drepper <drepper@gmail.com>
59813 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
59814 Handle cache information in CPU leaf 4.
59815 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
59817 2011-03-18 Ulrich Drepper <drepper@gmail.com>
59820 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
59821 character representation.
59822 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
59824 2011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
59826 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
59827 END(__isnan) to END(__isnanf) to match function entry point/label
59828 EALIGN(__isnanf,...).
59830 2011-03-10 Jakub Jelinek <jakub@redhat.com>
59832 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
59834 2011-03-10 Ulrich Drepper <drepper@gmail.com>
59837 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
59838 copy from the symbol referenced in the relocation to initialize the
59840 Patch by Piotr Bury <pbury@goahead.com>.
59841 * elf/Makefile: Add rules to build and tst-unique3.
59842 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
59843 * elf/tst-unique3.cc: New file.
59844 * elf/tst-unique3.h: New file.
59845 * elf/tst-unique3lib.cc: New file.
59846 * elf/tst-unique3lib2.cc: New file.
59848 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
59850 2011-03-10 Mike Frysinger <vapier@gentoo.org>
59852 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
59853 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
59856 2011-03-06 Ulrich Drepper <drepper@gmail.com>
59858 * elf/dl-load.c (_dl_map_object): If we are looking for the first
59859 to-be-loaded object along a path to loader is ld.so.
59861 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
59862 Ulrich Drepper <drepper@gmail.com>
59864 * sysdeps/x86_64/memset.S: After aligning destination, code
59865 branches to different locations depending on the value of
59866 misalignment, when multiarch is enabled. Fix this.
59868 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
59870 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
59871 Set _x86_64_preferred_memory_instruction for AMD processsors.
59872 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
59873 Set bit_Prefer_SSE_for_memop for AMD processors.
59875 2011-03-04 Ulrich Drepper <drepper@gmail.com>
59877 * libio/fmemopen.c (fmemopen): Optimize a bit.
59879 2011-03-03 Andreas Schwab <schwab@redhat.com>
59881 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
59883 2011-03-03 Roland McGrath <roland@redhat.com>
59885 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
59887 2011-02-28 Aurelien Jarno <aurelien@aurel32.net>
59889 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
59890 __bzero_ultra1 instead of __memset_ultra1.
59892 2011-02-23 Andreas Schwab <schwab@redhat.com>
59893 Ulrich Drepper <drepper@gmail.com>
59896 * include/link.h (struct link_map): Add l_orig_initfini.
59897 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
59898 returning unsuccessfully.
59899 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
59900 close of a file loaded at startup, restore the original l_initfini
59902 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
59903 list, store the pointer.
59904 * elf/Makefile ($(objpfx)noload-mem): New rule.
59905 (noload-ENV): Define.
59906 (tests): Add $(objpfx)noload-mem.
59907 * elf/noload.c: Include <memcheck.h>.
59908 (main): Call mtrace. Close all opened handles.
59910 2011-02-17 Andreas Schwab <schwab@redhat.com>
59913 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
59914 dependencies are missing.
59916 2011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
59918 Fix __if_freereq crash: Unlike the generic version which uses free,
59920 * sysdeps/mach/hurd/ifreq.h: New file.
59922 2011-01-27 Petr Baudis <pasky@suse.cz>
59923 Ulrich Drepper <drepper@gmail.com>
59926 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
59927 to extend_alloca().
59928 * stdio-common/bug23.c: New file.
59929 * stdio-common/Makefile (tests): Add bug23.
59931 2010-09-28 Andreas Schwab <schwab@redhat.com>
59932 Ulrich Drepper <drepper@gmail.com>
59935 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
59936 before performing relro protection. At old place add assertion
59937 to make sure nothing changed.
59939 2011-02-17 Nathan Sidwell <nathan@codesourcery.com>
59940 Glauber de Oliveira Costa <glommer@gmail.com>
59942 * elf/elf.h: Add new ARM TLS relocs.
59944 2011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
59946 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
59947 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
59949 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
59951 * sysdeps/wordsize-64/tst-writev.c: New file.
59953 2011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
59955 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
59956 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
59957 insns in _dl_start to prevent a TOC reference before relocs are
59960 2011-02-15 Ulrich Drepper <drepper@gmail.com>
59963 * Makeconfig: Remove RANLIB definition.
59964 * Makerules: Don't use RANLIB.
59965 * aclocal.m4: Remove ranlib test.
59966 * configure.in: No need to check for ranlib.
59967 * elf/rtld-Rules: Don't use RANLIB.
59969 2011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
59971 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
59973 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
59974 inclusion protection macro.
59976 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
59977 SIGRTMIN and SIGRTMAX and print information in that case only when
59978 SIGRTMIN is defined.
59980 2011-02-11 Jakub Jelinek <jakub@redhat.com>
59982 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
59983 arginfo fn returning -1.
59985 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
59986 and thousands string is zero terminated.
59988 2011-02-03 Andreas Schwab <schwab@redhat.com>
59990 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
59991 sysdeps/unix/sysv/linux/bits/socket.h.
59993 2011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
59995 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
59996 (__CPU_COUNT): Remove old macros.
59997 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
59998 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
59999 (__CPU_ALLOC, __CPU_FREE): Add macros.
60000 (__sched_cpualloc, __sched_cpufree): Add declarations.
60002 2011-02-05 Ulrich Drepper <drepper@gmail.com>
60004 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
60005 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
60006 * nscd/aicache.c (addhstaiX): Return timeout of added value.
60007 (readdhstai): Return value of addhstaiX call.
60008 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
60009 (addgrbyX): Return value returned by cache_addgr.
60010 (readdgrbyname): Return value returned by addgrbyX.
60011 (readdgrbygid): Likewise.
60012 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
60013 (addpwbyX): Return value returned by cache_addpw.
60014 (readdpwbyname): Return value returned by addhstbyX.
60015 (readdpwbyuid): Likewise.
60016 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
60017 (addservbyX): Return value returned by cache_addserv.
60018 (readdservbyname): Return value returned by addservbyX:
60019 (readdservbyport): Likewise.
60020 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
60021 (addhstbyX): Return value returned by cache_addhst.
60022 (readdhstbyname): Return value returned by addhstbyX.
60023 (readdhstbyaddr): Likewise.
60024 (readdhstbynamev6): Likewise.
60025 (readdhstbyaddrv6): Likewise.
60026 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
60027 (readdinitgroups): Return value returned by addinitgroupsX.
60028 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
60029 (prune_cache): Keep track of timeout value of re-added entries.
60030 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
60031 * nscd/nscd.h: Adjust prototypes of readd* functions.
60033 2011-02-04 Roland McGrath <roland@redhat.com>
60035 * nis/nis_server.c (nis_servstate): Use the right name for 0.
60036 (nis_stats): Likewise.
60037 * nis/nis_modify.c (nis_modify): Likewise.
60038 * nis/nis_remove.c (nis_remove): Likewise.
60039 * nis/nis_add.c (nis_add): Likewise.
60041 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
60043 * posix/fnmatch_loop.c: Add some consts.
60045 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
60047 2011-02-02 H.J. Lu <hongjiu.lu@intel.com>
60050 * config.make.in (config-cflags-novzeroupper): Define.
60051 * configure.in: Substitute libc_cv_cc_novzeroupper.
60052 * elf/Makefile (AVX-CFLAGS): Define.
60053 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
60054 (CFLAGS-tst-auditmod4a.c): Likewise.
60055 (CFLAGS-tst-auditmod4b.c): Likewise.
60056 (CFLAGS-tst-auditmod6b.c): Likewise.
60057 (CFLAGS-tst-auditmod6c.c): Likewise.
60058 (CFLAGS-tst-auditmod7b.c): Likewise.
60059 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
60061 2011-02-02 Ulrich Drepper <drepper@gmail.com>
60063 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
60064 function to the callback.
60065 Patch partly by Jiri Olsa <jolsa@redhat.com>.
60067 2011-02-02 Andreas Schwab <schwab@redhat.com>
60069 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
60072 2011-01-19 Ulrich Drepper <drepper@gmail.com>
60075 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
60077 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
60079 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
60082 * elf/Makefile: Add rules to build and run new test.
60083 * elf/tst-initorder.c: New file.
60084 * elf/tst-initorder.exp: New file.
60085 * elf/tst-initordera1.c: New file.
60086 * elf/tst-initordera2.c: New file.
60087 * elf/tst-initordera3.c: New file.
60088 * elf/tst-initordera4.c: New file.
60089 * elf/tst-initorderb1.c: New file.
60090 * elf/tst-initorderb2.c: New file.
60091 * elf/tst-order-a1.c: New file.
60092 * elf/tst-order-a2.c: New file.
60093 * elf/tst-order-a3.c: New file.
60094 * elf/tst-order-a4.c: New file.
60095 * elf/tst-order-b1.c: New file.
60096 * elf/tst-order-b2.c: New file.
60097 * elf/tst-order-main.c: New file.
60098 New test case by George Gensure <werkt0@gmail.com>.
60100 2010-10-01 Andreas Schwab <schwab@redhat.com>
60102 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
60103 decoding ACE if AI_CANONIDN.
60105 2011-01-18 Ulrich Drepper <drepper@gmail.com>
60107 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
60109 2011-01-17 Ulrich Drepper <drepper@gmail.com>
60111 * version.h (RELEASE): Bump for 2.13 release.
60112 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
60114 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
60116 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
60118 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
60119 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
60120 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
60121 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
60122 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
60123 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
60125 * posix/getconf.c: Update copyright year.
60126 * catgets/gencat.c: Likewise.
60127 * csu/version.c: Likewise.
60128 * debug/catchsegv.sh: Likewise.
60129 * debug/xtrace.sh: Likewise.
60130 * elf/ldconfig.c: Likewise.
60131 * elf/ldd.bash.in: Likewise.
60132 * elf/sprof.c (print_version): Likewise.
60133 * iconv/iconv_prog.c: Likewise.
60134 * iconv/iconvconfig.c: Likewise.
60135 * locale/programs/locale.c: Likewise.
60136 * locale/programs/localedef.c: Likewise.
60137 * malloc/memusage.sh: Likewise.
60138 * malloc/mtrace.pl: Likewise.
60139 * nscd/nscd.c (print_version): Likewise.
60140 * nss/getent.c: Likewise.
60142 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
60143 PF_CAIF, and PF_ALG.
60144 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
60146 2011-01-16 Andreas Schwab <schwab@linux-m68k.org>
60148 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
60149 (modules-names): Use them.
60150 (ifunc-test-modules, ifunc-pie-tests): Define.
60151 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
60152 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
60153 (test-extras): Likewise.
60154 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
60155 $(compile-command.c).
60156 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
60157 (all-built-dso): Define.
60158 (check-textrel.out, check-execstack.out): Depend on it.
60160 * configure.in: Don't override --enable-multi-arch.
60162 2011-01-15 Ulrich Drepper <drepper@gmail.com>
60165 * nscd/hstcache.c (tryagain): Define.
60166 (cache_addhst): Return tryagain not notfound for temporary errors.
60167 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
60170 2011-01-14 Ulrich Drepper <drepper@gmail.com>
60173 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
60174 to make the syscall.
60175 * sysdeps/unix/sysv/linux/setgroups.c: New file.
60178 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
60179 and fall back to matching as normal character if the string ends before
60180 the matching ']' is found. This is what POSIX requires.
60181 * posix/testfnm.c: Adjust test result.
60182 * posix/globtest.sh: Adjust test result. Add new test.
60183 * posix/tst-fnmatch.input: Likewise.
60184 * posix/tst-fnmatch2.c: Add new test.
60186 2010-12-28 Andreas Schwab <schwab@linux-m68k.org>
60188 * elf/Makefile (check-execstack): Revert last change. Depend on
60190 (check-execstack.h): New target.
60191 (generated): Add check-execstack.h.
60192 * elf/check-execstack.c: Include "check-execstack.h".
60193 (main): Revert last change.
60194 (handle_file): Return zero if GNU_STACK is absent and
60195 DEFAULT_STACK_PERMS doesn't include PF_X.
60197 2011-01-13 Ulrich Drepper <drepper@gmail.com>
60199 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
60200 in child fails because the descriptor is already closed.
60201 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
60202 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
60203 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
60206 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
60210 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
60211 temporary buffer used to handle multi lookups locally.
60212 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
60214 2011-01-12 Ulrich Drepper <drepper@gmail.com>
60216 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
60219 2011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
60221 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
60222 alignment for SSE2.
60224 2011-01-12 Ulrich Drepper <drepper@gmail.com>
60227 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
60228 characters. When rounding increased number of integer digits recompute
60230 * stdio-common/tst-grouping.c: New file.
60231 * stdio-common/Makefile: Add rules to build and run tst-grouping.
60233 2011-01-09 Ulrich Drepper <drepper@gmail.com>
60235 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
60236 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
60238 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
60240 * bits/select.h: Likewise.
60242 2011-01-08 Ulrich Drepper <drepper@gmail.com>
60244 * po/ja.po: Update from translation team.
60246 2011-01-04 David S. Miller <davem@sunset.davemloft.net>
60249 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
60250 implementation just like for lxstat, fxstatat, et al.
60252 2010-12-27 Jim Meyering <meyering@redhat.com>
60255 * posix/regexec.c (build_trtable): Return failure indication upon
60256 calloc failure. Otherwise, re_search_internal could infloop on OOM.
60258 2010-12-25 Ulrich Drepper <drepper@gmail.com>
60261 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
60262 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
60263 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
60264 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
60267 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
60270 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
60271 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
60273 2010-12-15 H.J. Lu <hongjiu.lu@intel.com>
60275 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
60276 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
60277 script has SORT_BY_INIT_PRIORITY.
60278 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
60279 NO_CTORS_DTORS_SECTIONS is defined.
60280 * elf/soinit.c: Likewise.
60281 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
60282 NO_CTORS_DTORS_SECTIONS is defined.
60283 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
60284 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
60285 * sysdeps/sh/init-first.c: Likewise.
60286 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
60288 2010-12-24 Ulrich Drepper <drepper@gmail.com>
60290 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
60291 always use the slow path.
60293 2010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
60295 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
60296 similar rule which adds the sysdep directories to the header search in
60297 order to pick up the correct platform stackinfo.h.
60298 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
60299 perform test if it is, otherwise return successfully without testing.
60300 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
60301 DEFAULT_STACK_PERMS define in stackinfo.h.
60302 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
60303 defined in stackinfo.h.
60304 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
60305 DEFAULT_STACK_PERMS defined in stackinfo.h.
60306 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
60307 * sysdeps/ia64/stackinfo.h: Likewise.
60308 * sysdeps/s390/stackinfo.h: Likewise.
60309 * sysdeps/sh/stackinfo.h: Likewise.
60310 * sysdeps/sparc/stackinfo.h: Likewise.
60311 * sysdeps/x86_64/stackinfo.h: Likewise.
60312 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
60313 PF_X for powerpc64. Retain PF_X for powerpc32.
60315 2010-12-19 Ulrich Drepper <drepper@gmail.com>
60317 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
60319 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
60320 GETDENTS_64BIT_ALIGNED.
60322 2010-12-14 Ulrich Drepper <dreper@gmail.com>
60324 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
60326 2010-12-10 Andreas Schwab <schwab@redhat.com>
60328 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
60331 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
60332 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
60334 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
60335 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
60337 2010-12-09 Ulrich Drepper <drepper@gmail.com>
60340 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
60343 2010-12-09 Jakub Jelinek <jakub@redhat.com>
60345 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
60347 2010-12-03 Ulrich Drepper <drepper@gmail.com>
60349 * po/it.po: Update from translation team.
60351 2010-12-01 H.J. Lu <hongjiu.lu@intel.com>
60353 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
60356 2010-11-30 Ulrich Drepper <drepper@gmail.com>
60358 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
60360 2010-11-24 Andreas Schwab <schwab@redhat.com>
60362 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
60364 (gaih_getanswer_slice): Likewise.
60366 2010-10-20 Jakub Jelinek <jakub@redhat.com>
60368 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
60370 2010-05-31 Petr Baudis <pasky@suse.cz>
60373 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
60374 silently even in the chroot mode.
60376 2010-11-22 Ulrich Drepper <drepper@gmail.com>
60378 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
60379 last patch a bit. Pretty printing
60381 2010-05-31 Petr Baudis <pasky@suse.cz>
60384 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
60385 initialization of skip_initgroups_dyn.
60387 2010-11-19 Ulrich Drepper <drepper@gmail.com>
60389 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
60390 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
60392 2010-11-16 Ulrich Drepper <drepper@gmail.com>
60394 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
60396 2010-11-11 Andreas Schwab <schwab@redhat.com>
60398 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
60399 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
60400 (tst-fnmatch-ENV): Set MALLOC_TRACE.
60401 ($(objpfx)tst-fnmatch-mem): New rule.
60402 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
60403 * posix/tst-fnmatch.c (main): Call mtrace.
60405 2010-11-11 H.J. Lu <hongjiu.lu@intel.com>
60407 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
60408 Support Intel processor model 6 and model 0x2c.
60410 2010-11-10 Luis Machado <luisgpm@br.ibm.com>
60412 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
60415 2010-11-09 H.J. Lu <hongjiu.lu@intel.com>
60418 * string/test-strncasecmp.c (check_result): New function.
60419 (do_one_test): Use it.
60420 (check1): New function.
60421 (test_main): Use it.
60422 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
60423 Support strcasecmp and strncasecmp.
60425 2010-11-08 Ulrich Drepper <drepper@gmail.com>
60428 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
60429 * sysdeps/x86_64/bits/byteswap.h: Likewise.
60431 2010-11-07 H.J. Lu <hongjiu.lu@intel.com>
60433 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
60435 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
60437 * sysdeps/x86_64/multiarch/bzero.S: New file.
60438 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
60439 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
60440 * sysdeps/x86_64/multiarch/memset.S: New file.
60441 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
60442 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
60443 Set bit_Prefer_SSE_for_memop for Intel processors.
60444 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
60446 (index_Prefer_SSE_for_memop): Define.
60447 (HAS_PREFER_SSE_FOR_MEMOP): Define.
60449 2010-11-04 Luis Machado <luisgpm@br.ibm.com>
60451 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
60452 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
60454 2010-11-03 H.J. Lu <hongjiu.lu@intel.com>
60457 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
60458 (__x86_64_raw_data_cache_size_half): Likewise.
60459 (__x86_64_raw_shared_cache_size): Likewise.
60460 (__x86_64_raw_shared_cache_size_half): Likewise.
60462 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
60463 (__x86_64_raw_data_cache_size_half): Likewise.
60464 (__x86_64_raw_shared_cache_size): Likewise.
60465 (__x86_64_raw_shared_cache_size_half): Likewise.
60466 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
60467 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
60468 and __x86_64_raw_shared_cache_size_half. Round
60469 __x86_64_data_cache_size_half, __x86_64_data_cache_size
60470 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
60471 to multiple of 256 bytes.
60473 2010-11-03 Ulrich Drepper <drepper@gmail.com>
60476 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
60477 of inacessible symlinks. Verify result of symlink before returning it.
60478 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
60479 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
60481 2010-10-28 Erich Ritz <erichritz@gmail.com>
60483 * math/math.h (isinf): Fix typo in comment.
60485 2010-11-01 Ulrich Drepper <drepper@gmail.com>
60487 * po/da.po: Update from translation team.
60489 2010-10-26 Ulrich Drepper <drepper@gmail.com>
60491 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
60492 is added to the list.
60494 2010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
60495 Ulrich Drepper <drepper@gmail.com>
60497 * elf/dl-object.c (_dl_new_object): Don't append the new object to
60498 the global list here. Move code to...
60499 (_dl_add_to_namespace_list): ...here. New function.
60500 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
60501 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
60502 * elf/dl-load.c (lose): Don't remove the element from the list.
60503 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
60504 (_dl_map_object): Likewise.
60506 2010-10-25 Ulrich Drepper <drepper@gmail.com>
60509 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
60510 into all bytes of SSE register.
60511 Patch by Richard Li <richardpku@gmail.com>.
60513 2010-10-24 Ulrich Drepper <drepper@gmail.com>
60516 * malloc/malloc.c (_int_free): Fill correct number of bytes when
60519 2010-10-20 Michael B. Brutman <brutman@us.ibm.com>
60521 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
60522 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
60523 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
60524 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
60525 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
60527 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
60529 2010-10-22 Andreas Schwab <schwab@redhat.com>
60531 * include/dlfcn.h (__RTLD_SECURE): Define.
60532 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
60533 mode & __RTLD_SECURE instead.
60534 (open_path): Rename preloaded parameter to secure.
60535 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
60536 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
60537 * elf/dl-deps.c (openaux): Likewise.
60538 * elf/rtld.c (struct map_args): Remove is_preloaded.
60539 (map_doit): Don't use it.
60540 (dl_main): Likewise.
60541 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
60542 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
60544 2010-09-09 Andreas Schwab <schwab@redhat.com>
60546 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
60547 (sysd-rules-targets): Remove duplicates.
60548 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
60549 rtld-%.$o dependency.
60551 2010-10-18 Andreas Schwab <schwab@redhat.com>
60553 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
60554 _dl_map_object do it.
60556 2010-10-19 Ulrich Drepper <drepper@gmail.com>
60558 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
60559 fast fma builtins, define the macros in the C99 standard.
60560 (FP_FAST_FMAF): Likewise.
60561 (FP_FAST_FMAL): Likewise.
60562 * sysdeps/x86_64/bits/mathdef.h: Likewise.
60564 * bits/mathdef.h: Update copyright year.
60565 * sysdeps/powerpc/bits/mathdef.h: Likewise.
60567 2010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
60569 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
60570 builtins, define the macros in the C99 standard.
60571 (FP_FAST_FMAF): Likewise.
60572 (FP_FAST_FMAL): Likewise.
60573 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
60575 (FP_FAST_FMAF): Likewise.
60577 2010-10-15 Jakub Jelinek <jakub@redhat.com>
60580 * math/libm-test.inc (fma_test): Some new testcases.
60581 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
60582 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
60583 y and infinite z. Do multiplication by C already in long double.
60584 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
60585 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
60586 y and infinite z. Do bitwise or of inexact bit into u.d.
60587 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
60588 * sysdeps/i386/fpu/s_fmaf.S: Removed.
60589 * sysdeps/i386/fpu/s_fma.S: Removed.
60590 * sysdeps/i386/fpu/s_fmal.S: Removed.
60592 2010-10-16 Jakub Jelinek <jakub@redhat.com>
60595 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
60596 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
60597 computation is not scheduled after fetestexcept. Fix value
60598 of minimum denormal long double.
60600 2010-10-14 Jakub Jelinek <jakub@redhat.com>
60603 * math/libm-test.inc (fma_test): Add some more tests.
60604 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
60607 2010-10-15 Andreas Schwab <schwab@redhat.com>
60609 * scripts/data/localplt-s390-linux-gnu.data: New file.
60610 * scripts/data/localplt-s390x-linux-gnu.data: New file.
60612 2010-10-13 Jakub Jelinek <jakub@redhat.com>
60615 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
60616 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
60618 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
60620 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
60621 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
60622 if one of x and y is very large and the other is subnormal.
60623 * sysdeps/s390/fpu/s_fmaf.c: New file.
60624 * sysdeps/s390/fpu/s_fma.c: New file.
60625 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
60626 * sysdeps/powerpc/fpu/s_fma.S: New file.
60627 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
60628 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
60629 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
60631 2010-10-12 Jakub Jelinek <jakub@redhat.com>
60634 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
60636 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
60637 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
60638 * sysdeps/i386/i686/multiarch/s_fma.c: Include
60639 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
60640 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
60641 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
60642 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
60644 2010-10-12 Ulrich Drepper <drepper@redhat.com>
60647 * posix/regcomp.c (parse_branch): One more memory leak plugged.
60648 * posix/bug-regex31.input: Add test case.
60650 2010-10-11 Ulrich Drepper <drepper@gmail.com>
60652 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
60653 * posix/bug-regex31.input: New file.
60656 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
60657 (parse_sub_exp): Fix last change, use postorder.
60659 * posix/bug-regex31.c: New file.
60660 * posix/Makefile: Add rules to build and run bug-regex31.
60662 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
60665 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
60668 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
60669 to have entries in sys_siglist.
60672 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
60675 2010-10-07 Jakub Jelinek <jakub@redhat.com>
60678 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
60679 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
60680 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
60681 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
60682 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
60683 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
60684 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
60685 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
60686 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
60687 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
60688 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
60689 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
60690 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
60691 * math/ftestexcept.c (fetestexcept): Likewise.
60692 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
60693 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
60694 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
60695 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
60696 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
60697 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
60698 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
60700 2010-10-11 Ulrich Drepper <drepper@gmail.com>
60703 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
60706 2010-10-06 Ulrich Drepper <drepper@gmail.com>
60708 * string/bug-strstr1.c: New file.
60709 * string/Makefile: Add rules to build and run bug-strstr1.
60711 2010-10-05 Eric Blake <eblake@redhat.com>
60714 * string/str-two-way.h (two_way_long_needle): Always clear memory
60715 when skipping input due to the shift table.
60717 2010-10-03 Ulrich Drepper <drepper@gmail.com>
60720 * malloc/mcheck.c: Handle large requests.
60723 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
60724 for strncmp and strncasecmp.
60725 * string/stratcliff.c: Add tests for strcmp and strncmp.
60726 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
60728 2010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
60730 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
60733 2010-09-30 Andreas Jaeger <aj@suse.de>
60735 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
60736 (CGROUP_SUPER_MAGIC): Define.
60737 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
60738 Handle btrfs and cgroup file systems.
60739 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
60742 2010-09-27 Luis Machado <luisgpm@br.ibm.com>
60744 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
60745 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
60747 2010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
60750 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
60751 trying to locate the ELF header.
60753 2010-09-27 Andreas Schwab <schwab@redhat.com>
60756 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
60757 Mask out sign-bit copies when constructing f_fsid.
60759 2010-09-24 Petr Baudis <pasky@suse.cz>
60761 * debug/stack_chk_fail_local.c: Add missing licence exception.
60762 * debug/warning-nop.c: Likewise.
60764 2010-09-15 Joseph Myers <joseph@codesourcery.com>
60766 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
60767 implementing getdents64 using getdents syscall, set d_type if
60768 __ASSUME_GETDENTS32_D_TYPE.
60770 2010-09-16 Andreas Schwab <schwab@redhat.com>
60772 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
60773 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
60775 2010-09-21 Ulrich Drepper <drepper@redhat.com>
60778 * posix/unistd.h: Undo change of feature selection for ftruncate from
60781 2010-09-20 Ulrich Drepper <drepper@redhat.com>
60783 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
60786 2010-09-20 Andreas Schwab <schwab@redhat.com>
60788 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
60790 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
60792 2010-09-14 Andreas Schwab <schwab@redhat.com>
60794 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
60795 variables after CHECK_SP call.
60796 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
60798 2010-09-13 Andreas Schwab <schwab@redhat.com>
60799 Ulrich Drepper <drepper@redhat.com>
60801 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
60802 re-relocationg ld.so.
60803 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
60804 _dl_init_paths call.
60805 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
60808 2010-09-14 Ulrich Drepper <drepper@redhat.com>
60810 * resolv/res_init.c (__res_vinit): Count the default server we added.
60812 2010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
60813 Ulrich Drepper <drepper@redhat.com>
60816 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
60817 (____longjmp_chk): Use %ebx for saving value across system call.
60820 2010-09-06 Andreas Schwab <schwab@redhat.com>
60822 * manual/Makefile: Don't mix pattern rules with normal rules.
60824 2010-09-05 Andreas Schwab <schwab@linux-m68k.org>
60826 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
60828 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
60829 * libio/iofopncook.c (_IO_cookie_init): Likewise.
60830 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
60831 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
60832 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
60835 2010-09-04 Ulrich Drepper <drepper@redhat.com>
60838 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
60839 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
60841 2010-09-02 Ulrich Drepper <drepper@redhat.com>
60843 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
60844 * sysdeps/x86_64/addmul_1.S: Likewise.
60845 * sysdeps/x86_64/lshift.S: Likewise.
60846 * sysdeps/x86_64/mul_1.S: Likewise.
60847 * sysdeps/x86_64/rshift.S: Likewise.
60848 * sysdeps/x86_64/sub_n.S: Likewise.
60849 * sysdeps/x86_64/submul_1.S: Likewise.
60851 2010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
60853 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
60854 Define __sched_param instead of SCHED_* and sched_param when
60855 <bits/sched.h> is included with __need_schedparam defined.
60856 * bits/sched.h [__need_schedparam]
60857 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
60858 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
60859 (__defined_schedparam): Define to 1.
60860 (__sched_param): New structure, identical to sched_param.
60861 (__need_schedparam): Undefine.
60863 2010-08-31 Mike Frysinger <vapier@gentoo.org>
60865 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
60866 (epoll_create1): Declare.
60868 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
60870 2010-08-31 Andreas Schwab <schwab@redhat.com>
60873 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
60874 shifting retval into place.
60876 2010-09-01 Ulrich Drepper <drepper@redhat.com>
60878 * nis/rpcsvc/nis.h: Update copyright notice.
60879 * nis/rpcsvc/nis.x: Likewise.
60880 * nis/rpcsvc/nis_callback.h: Likewise.
60881 * nis/rpcsvc/nis_callback.x: Likewise.
60882 * nis/rpcsvc/nis_object.x: Likewise.
60883 * nis/rpcsvc/nis_tags.h: Likewise.
60884 * nis/rpcsvc/yp.h: Likewise.
60885 * nis/rpcsvc/yp.x: Likewise.
60886 * nis/rpcsvc/ypupd.h: Likewise.
60887 * nis/yp_xdr.c: Likewise.
60888 * nis/ypupdate_xdr.c: Likewise.
60890 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
60891 mainly the body of pmap_getport. Add parameters to specify timeouts.
60892 (pmap_getport): Use __libc_rpc_getport.
60893 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
60894 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
60895 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
60897 2010-08-31 Andreas Schwab <schwab@linux-m68k.org>
60899 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
60902 2010-08-27 Roland McGrath <roland@redhat.com>
60904 * sysdeps/i386/i686/multiarch/Makefile
60905 (CFLAGS-varshift.c): New variable.
60907 2010-08-27 Ulrich Drepper <drepper@redhat.com>
60909 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
60910 * sysdeps/i386/i686/multiarch/varshift.c: New file.
60912 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
60914 * sysdeps/x86_64/strlen.S: Minimal code improvement.
60916 2010-08-26 H.J. Lu <hongjiu.lu@intel.com>
60918 * sysdeps/x86_64/strlen.S: Unroll the loop.
60919 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
60920 strlen-sse2 strlen-sse2-bsf.
60921 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
60922 __strlen_no_bsf if bit_Slow_BSF is set.
60923 (__strlen_sse42): Removed.
60924 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
60925 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
60927 2010-08-25 Roland McGrath <roland@redhat.com>
60929 * sysdeps/x86_64/multiarch/varshift.S: File removed.
60930 * sysdeps/x86_64/multiarch/varshift.c: New file.
60931 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
60932 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
60933 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
60934 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
60936 2010-08-25 H.J. Lu <hongjiu.lu@intel.com>
60938 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
60939 strlen-sse2 strlen-sse2-bsf.
60940 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
60941 __strlen_sse2_bsf if bit_Slow_BSF is unset.
60942 (__strlen_sse2): Removed.
60943 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
60944 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
60945 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
60946 bit_Slow_BSF for Atom.
60947 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
60948 (index_Slow_BSF): Define.
60949 (HAS_SLOW_BSF): Define.
60951 2010-08-25 Ulrich Drepper <drepper@redhat.com>
60954 * resolv/res_init.c (__res_vinit): When no server address at all
60955 is given default to loopback.
60957 2010-08-24 Roland McGrath <roland@redhat.com>
60959 * configure.in: Remove config-name.h generation.
60960 * configure: Regenerated.
60961 * config-name.in: File removed.
60962 * scripts/config-uname.sh: New file.
60963 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
60964 ($(objdir)config-name.h): New target.
60966 * sunrpc/rpc_parse.h: Avoid nested comment.
60968 2010-08-24 Richard Henderson <rth@redhat.com>
60969 Ulrich Drepper <drepper@redhat.com>
60970 H.J. Lu <hongjiu.lu@intel.com>
60972 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
60973 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
60974 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
60975 Replace _mm_srli_si128 with __m128i_shift_right. Replace
60976 _mm_alignr_epi8 with _mm_loadu_si128.
60977 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
60978 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
60979 (__m128i_shift_right): Removed.
60980 * sysdeps/i386/i686/multiarch/varshift.h: New file.
60981 * sysdeps/i386/i686/multiarch/varshift.S: New file.
60982 * sysdeps/x86_64/multiarch/varshift.h: New file.
60983 * sysdeps/x86_64/multiarch/varshift.S: New file.
60985 2010-08-21 Mike Frysinger <vapier@gentoo.org>
60987 * configure.in: Move assembler checks to before sysdep dir checking.
60989 2010-08-20 Petr Baudis <pasky@suse.cz>
60991 * LICENSES: Sync the sunrpc license.
60993 2010-08-19 Ulrich Drepper <drepper@redhat.com>
60995 * sunrpc/auth_des.c: Update copyright notice once again.
60996 * sunrpc/auth_none.c: Likewise.
60997 * sunrpc/auth_unix.c: Likewise.
60998 * sunrpc/authdes_prot.c: Likewise.
60999 * sunrpc/authuxprot.c: Likewise.
61000 * sunrpc/bindrsvprt.c: Likewise.
61001 * sunrpc/clnt_gen.c: Likewise.
61002 * sunrpc/clnt_perr.c: Likewise.
61003 * sunrpc/clnt_raw.c: Likewise.
61004 * sunrpc/clnt_simp.c: Likewise.
61005 * sunrpc/clnt_tcp.c: Likewise.
61006 * sunrpc/clnt_udp.c: Likewise.
61007 * sunrpc/clnt_unix.c: Likewise.
61008 * sunrpc/des_crypt.c: Likewise.
61009 * sunrpc/des_soft.c: Likewise.
61010 * sunrpc/get_myaddr.c: Likewise.
61011 * sunrpc/getrpcport.c: Likewise.
61012 * sunrpc/key_call.c: Likewise.
61013 * sunrpc/key_prot.c: Likewise.
61014 * sunrpc/openchild.c: Likewise.
61015 * sunrpc/pm_getmaps.c: Likewise.
61016 * sunrpc/pm_getport.c: Likewise.
61017 * sunrpc/pmap_clnt.c: Likewise.
61018 * sunrpc/pmap_prot.c: Likewise.
61019 * sunrpc/pmap_prot2.c: Likewise.
61020 * sunrpc/pmap_rmt.c: Likewise.
61021 * sunrpc/rpc/auth.h: Likewise.
61022 * sunrpc/rpc/auth_unix.h: Likewise.
61023 * sunrpc/rpc/clnt.h: Likewise.
61024 * sunrpc/rpc/des_crypt.h: Likewise.
61025 * sunrpc/rpc/key_prot.h: Likewise.
61026 * sunrpc/rpc/netdb.h: Likewise.
61027 * sunrpc/rpc/pmap_clnt.h: Likewise.
61028 * sunrpc/rpc/pmap_prot.h: Likewise.
61029 * sunrpc/rpc/pmap_rmt.h: Likewise.
61030 * sunrpc/rpc/rpc.h: Likewise.
61031 * sunrpc/rpc/rpc_des.h: Likewise.
61032 * sunrpc/rpc/rpc_msg.h: Likewise.
61033 * sunrpc/rpc/svc.h: Likewise.
61034 * sunrpc/rpc/svc_auth.h: Likewise.
61035 * sunrpc/rpc/types.h: Likewise.
61036 * sunrpc/rpc/xdr.h: Likewise.
61037 * sunrpc/rpc_clntout.c: Likewise.
61038 * sunrpc/rpc_cmsg.c: Likewise.
61039 * sunrpc/rpc_common.c: Likewise.
61040 * sunrpc/rpc_cout.c: Likewise.
61041 * sunrpc/rpc_dtable.c: Likewise.
61042 * sunrpc/rpc_hout.c: Likewise.
61043 * sunrpc/rpc_main.c: Likewise.
61044 * sunrpc/rpc_parse.c: Likewise.
61045 * sunrpc/rpc_parse.h: Likewise.
61046 * sunrpc/rpc_prot.c: Likewise.
61047 * sunrpc/rpc_sample.c: Likewise.
61048 * sunrpc/rpc_scan.c: Likewise.
61049 * sunrpc/rpc_scan.h: Likewise.
61050 * sunrpc/rpc_svcout.c: Likewise.
61051 * sunrpc/rpc_tblout.c: Likewise.
61052 * sunrpc/rpc_util.c: Likewise.
61053 * sunrpc/rpc_util.h: Likewise.
61054 * sunrpc/rpcinfo.c: Likewise.
61055 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
61056 * sunrpc/rpcsvc/key_prot.x: Likewise.
61057 * sunrpc/rpcsvc/klm_prot.x: Likewise.
61058 * sunrpc/rpcsvc/mount.x: Likewise.
61059 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
61060 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
61061 * sunrpc/rpcsvc/rex.x: Likewise.
61062 * sunrpc/rpcsvc/rstat.x: Likewise.
61063 * sunrpc/rpcsvc/rusers.x: Likewise.
61064 * sunrpc/rpcsvc/sm_inter.x: Likewise.
61065 * sunrpc/rpcsvc/spray.x: Likewise.
61066 * sunrpc/rpcsvc/yppasswd.x: Likewise.
61067 * sunrpc/rtime.c: Likewise.
61068 * sunrpc/svc.c: Likewise.
61069 * sunrpc/svc_auth.c: Likewise.
61070 * sunrpc/svc_authux.c: Likewise.
61071 * sunrpc/svc_raw.c: Likewise.
61072 * sunrpc/svc_run.c: Likewise.
61073 * sunrpc/svc_simple.c: Likewise.
61074 * sunrpc/svc_tcp.c: Likewise.
61075 * sunrpc/svc_udp.c: Likewise.
61076 * sunrpc/svc_unix.c: Likewise.
61077 * sunrpc/svcauth_des.c: Likewise.
61078 * sunrpc/xcrypt.c: Likewise.
61079 * sunrpc/xdr.c: Likewise.
61080 * sunrpc/xdr_array.c: Likewise.
61081 * sunrpc/xdr_float.c: Likewise.
61082 * sunrpc/xdr_mem.c: Likewise.
61083 * sunrpc/xdr_rec.c: Likewise.
61084 * sunrpc/xdr_ref.c: Likewise.
61085 * sunrpc/xdr_sizeof.c: Likewise.
61086 * sunrpc/xdr_stdio.c: Likewise.
61088 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
61091 2010-08-19 Andreas Schwab <schwab@redhat.com>
61093 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
61095 2010-08-19 Luis Machado <luisgpm@br.ibm.com>
61097 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
61098 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
61099 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
61100 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
61101 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
61102 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
61103 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
61104 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
61105 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
61106 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
61107 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
61108 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
61109 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
61110 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
61112 2010-07-26 Anton Blanchard <anton@samba.org>
61114 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
61115 * malloc/arena.c (heap_trim): Likewise.
61117 2010-08-16 Ulrich Drepper <drepper@redhat.com>
61119 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
61121 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
61122 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
61124 2010-08-12 H.J. Lu <hongjiu.lu@intel.com>
61126 * sysdeps/i386/elf/Makefile: New file.
61128 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
61130 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
61131 from fanotify_init.
61132 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
61133 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
61135 2010-08-15 Ulrich Drepper <drepper@redhat.com>
61137 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
61139 * sysdeps/multiarch/strcmp.S: Likewise.
61141 2010-08-14 Ulrich Drepper <drepper@redhat.com>
61143 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
61144 strncase_l-nonascii.
61145 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
61146 Add strncase_l-ssse3.
61147 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
61148 * sysdeps/x86_64/strcmp.S: Likewise.
61149 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
61150 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
61151 * sysdeps/x86_64/strncase.S: New file.
61152 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
61153 * sysdeps/x86_64/strncase_l.S: New file.
61154 * string/Makefile (strop-tests): Add strncasecmp.
61155 * string/test-strncasecmp.c: New file.
61157 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
61160 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
61161 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
61163 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
61165 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
61167 2010-08-12 Ulrich Drepper <drepper@redhat.com>
61169 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
61170 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
61171 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
61173 2010-05-01 Alan Modra <amodra@gmail.com>
61175 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
61176 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
61177 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
61178 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
61179 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
61180 tidying. Don't tail-call __sigjmp_save for static lib.
61181 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
61183 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
61184 (CALL_MCOUNT): Add eh info, and nop after bl.
61185 (TAIL_CALL_SYSCALL_ERROR): New macro.
61186 (PSEUDO_RET): Use it.
61187 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
61188 Correct save location of integer regs and cr.
61189 (_dl_profile_resolve): Correct cr save location. Delete nops
61190 after bl when SHARED. Reduce cfi size a little by better
61191 placement of cfi directives.
61192 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
61193 make a stack frame. Instead use parm save area as a temp.
61194 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
61195 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
61196 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
61197 Don't make a stack frame for parent, use parm save area.
61198 Increase child stack frame to 112 bytes. Don't save unused reg,
61199 and adjust reg usage. Set up cfi on error recovery and
61200 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
61201 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
61202 (__makecontext): Add dummy nop after jump to exit.
61203 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
61204 Use correct parm save area and cr save, reduce stack frame.
61205 Correct cfi for possible PSEUDO_RET frame setup.
61206 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
61207 Branch to local label emitted by PSEUDO_RET rather than
61210 2010-08-12 Andreas Schwab <schwab@redhat.com>
61213 * locale/programs/locale.c (print_assignment): New function.
61214 (show_locale_vars): Use it.
61216 2010-08-11 Ulrich Drepper <drepper@redhat.com>
61218 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
61220 (struct statfs64): Likewise.
61221 (_STATFS_F_FLAGS): Define.
61222 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
61223 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
61224 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
61225 (ST_VALID): Define locally.
61226 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
61227 __statvfs_getflags, use the provided value.
61228 * sysdeps/unix/sysv/linux/kernel-features.h: Define
61229 __ASSUME_STATFS_F_FLAGS.
61231 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
61233 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
61234 Add sys/fanotify.h.
61235 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
61236 fanotify_mask for GLIBC_2.13.
61237 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
61238 fanotify_init and fanotify_mark.
61239 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
61240 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
61242 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
61244 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
61245 prlimit64 for GLIBC_2.13.
61246 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
61248 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
61250 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
61251 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
61252 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
61253 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
61254 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
61256 * sysdeps/unix/sysv/linux/prlimit.c: New file.
61259 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
61260 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
61262 * nss/Makefile: Add rules to build and run tst-nss-test1.
61263 * shlib-versions: Add entry for libnss_test1.
61264 * nss/nss_test1.c: New file.
61265 * nss/tst-nss-test1.c: New file.
61267 * nss/nsswitch.c (__nss_database_custom): Define new variable.
61268 (__nss_configure_lookup): Set appropriate entry in
61269 __nss_configure_lookup to true.
61270 * nss/nsswitch.h: Define enum with indeces of databases in
61271 databases and __nss_database_custom arrays. Declare
61272 __nss_database_custom.
61273 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
61274 to avoid using nscd when custom rules are installed.
61275 * nss/getXXbyYY_r.c: Likewise.
61276 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
61278 * nss/nss_files/files-parse.c: Whitespace fixes.
61280 2010-08-09 Ulrich Drepper <drepper@redhat.com>
61283 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
61284 * posix/fnmatch_loop.c: Likewise.
61286 2010-07-17 Andi Kleen <ak@linux.intel.com>
61288 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
61289 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
61290 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
61291 * Versions.def [GLIBC_2.13]: Add.
61293 2010-08-06 Ulrich Drepper <drepper@redhat.com>
61295 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
61296 Also fail if tpwd after pwuid call is NULL.
61298 2010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
61300 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
61301 when converting to ms.
61303 2010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
61305 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
61306 EOPNOTSUPP errors with ENOTTY.
61307 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
61308 EOPNOTSUPP errors with ENOTTY.
61310 2010-07-31 Ulrich Drepper <drepper@redhat.com>
61312 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
61313 Add strcasecmp_l-ssse3.
61314 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
61316 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
61317 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
61318 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
61320 2010-07-30 Ulrich Drepper <drepper@redhat.com>
61322 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
61324 * string/Makefile (strop-tests): Add strcasecmp.
61325 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
61326 strcasecmp_l-nonascii.
61327 (gen-as-const-headers): Add locale-defines.sym.
61328 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
61329 * sysdeps/x86_64/strcasecmp.S: New file.
61330 * sysdeps/x86_64/strcasecmp_l.S: New file.
61331 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
61332 * sysdeps/x86_64/locale-defines.sym: New file.
61333 * string/test-strcasecmp.c: New file.
61335 * string/test-strcasestr.c: Test both ends of the range of characters.
61336 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
61338 2010-07-29 Roland McGrath <roland@redhat.com>
61341 * manual/locale.texi (Yes-or-No Questions): Fix example code.
61343 2010-07-27 Ulrich Drepper <drepper@redhat.com>
61345 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
61348 2010-07-27 Andreas Schwab <schwab@redhat.com>
61350 * manual/memory.texi (Malloc Tunable Parameters): Document
61353 2010-07-26 Roland McGrath <roland@redhat.com>
61356 * configure.in (-fgnu89-inline check): Set and substitute
61357 gnu89_inline, not libc_cv_gnu89_inline.
61358 * configure: Regenerated.
61359 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
61361 2010-07-26 Ulrich Drepper <drepper@redhat.com>
61363 * string/test-strnlen.c: New file.
61364 * string/Makefile (strop-tests): Add strnlen.
61365 * string/tester.c (test_strnlen): Add a few more test cases.
61366 * string/tst-strlen.c: Better error reporting.
61368 * sysdeps/x86_64/strnlen.S: New file.
61370 2010-07-24 Ulrich Drepper <drepper@redhat.com>
61372 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
61373 lower-latency instructions.
61375 2010-07-23 Ulrich Drepper <drepper@redhat.com>
61377 * string/test-strcasestr.c: New file.
61378 * string/test-strstr.c: New file.
61379 * string/Makefile (strop-tests): Add strstr and strcasestr.
61380 * string/str-two-way.h: Don't undefine MAX.
61381 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
61383 2010-07-21 Andreas Schwab <schwab@redhat.com>
61385 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
61386 strcasestr-nonascii.
61387 (CFLAGS-strcasestr-nonascii.c): Define.
61388 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
61389 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
61390 Remove unused attribute.
61392 2010-07-20 Roland McGrath <roland@redhat.com>
61394 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
61395 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
61396 ld.so.cache was broken. With it, there is no way to disable dsocaps
61397 like LD_HWCAP_MASK can disable hwcaps.
61399 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
61401 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
61403 2010-07-16 Ulrich Drepper <drepper@redhat.com>
61405 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
61406 call in strcasestr.
61407 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
61408 __strcasestr_sse42_nonascii.
61409 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
61410 strcasestr-nonascii.c.
61411 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
61413 2010-06-15 Luis Machado <luisgpm@br.ibm.com>
61415 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
61416 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
61417 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
61418 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
61420 2010-07-09 Ulrich Drepper <drepper@redhat.com>
61422 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
61425 2010-07-06 Andreas Schwab <schwab@redhat.com>
61428 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
61431 2010-07-06 Ulrich Drepper <drepper@redhat.com>
61433 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
61434 _PC_PIPE_BUF using F_GETPIPE_SZ.
61436 2010-07-05 Roland McGrath <roland@redhat.com>
61438 * manual/arith.texi (Rounding Functions): Fix rint description
61439 implicit in round description.
61441 2010-07-02 Ulrich Drepper <drepper@redhat.com>
61443 * elf/Makefile: Fix linking for a few tests to make recent linker
61446 2010-06-30 Andreas Schwab <schwab@redhat.com>
61448 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
61449 $(common-objpfx)libc_nonshared.a.
61451 2010-06-21 Luis Machado <luisgpm@br.ibm.com>
61453 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
61454 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
61455 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
61456 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
61457 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
61458 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
61459 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
61460 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
61461 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
61462 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
61463 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
61464 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
61465 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
61466 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
61467 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
61468 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
61469 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
61470 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
61471 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
61472 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
61473 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
61474 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
61475 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
61476 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
61477 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
61478 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
61479 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
61480 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
61481 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
61482 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
61483 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
61484 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
61485 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
61486 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
61487 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
61488 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
61489 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
61490 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
61491 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
61492 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
61493 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
61494 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
61495 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
61496 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
61497 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
61498 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
61499 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
61500 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
61502 2010-06-25 H.J. Lu <hongjiu.lu@intel.com>
61504 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
61505 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
61506 * string/memmove.c (memmove): Renamed to ...
61507 (MEMMOVE): ...this. Default to memmove.
61508 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
61509 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
61511 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
61512 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
61513 mempcpy-ssse3-back memmove-ssse3-back.
61514 * sysdeps/x86_64/multiarch/bcopy.S: New file .
61515 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
61516 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
61517 * sysdeps/x86_64/multiarch/memcpy.S: New file.
61518 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
61519 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
61520 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
61521 * sysdeps/x86_64/multiarch/memmove.c: New file.
61522 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
61523 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
61524 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
61525 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
61526 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
61527 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
61529 (index_Fast_Copy_Backward): Define.
61530 (HAS_ARCH_FEATURE): Define.
61531 (HAS_FAST_REP_STRING): Define.
61532 (HAS_FAST_COPY_BACKWARD): Define.
61534 2010-06-21 Andreas Schwab <schwab@redhat.com>
61536 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
61537 Restore proper fallback handling.
61539 2010-06-19 Ulrich Drepper <drepper@redhat.com>
61542 * posix/group_member.c (__group_member): Correct checking loop.
61544 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
61545 OOM in getpwuid_r correctly. Return error number when the caller
61546 should return, otherwise -1.
61547 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
61548 call returning > 0 value.
61549 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
61551 2010-06-07 Andreas Schwab <schwab@redhat.com>
61553 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
61554 libc_nonshared.a from targets in modules-names.
61556 2010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
61558 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
61561 2010-06-10 Luis Machado <luisgpm@br.ibm.com>
61563 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
61564 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
61565 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
61566 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
61568 2010-06-02 Andreas Schwab <schwab@redhat.com>
61570 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
61572 2010-06-14 Ulrich Drepper <drepper@redhat.com>
61574 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
61576 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
61577 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
61578 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
61579 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
61580 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
61581 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
61583 2010-06-14 Roland McGrath <roland@redhat.com>
61585 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
61587 2010-06-07 Jakub Jelinek <jakub@redhat.com>
61589 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
61590 __REDIRECT followed by __THROW.
61591 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
61592 * posix/getopt.h (getopt): Likewise.
61594 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
61596 * hurd/lookup-at.c (__file_name_lookup_at): Accept
61597 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
61598 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
61600 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
61601 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
61603 2010-05-28 Luis Machado <luisgpm@br.ibm.com>
61605 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
61607 2010-05-26 H.J. Lu <hongjiu.lu@intel.com>
61610 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
61611 Properly check family and model.
61613 2010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
61615 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
61617 2010-05-24 Luis Machado <luisgpm@br.ibm.com>
61619 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
61621 2010-05-21 Ulrich Drepper <drepper@redhat.com>
61623 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
61626 2010-05-19 Andreas Schwab <schwab@redhat.com>
61628 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
61631 2010-05-21 Andreas Schwab <schwab@redhat.com>
61633 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
61634 and internal_recvmmsg.
61635 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
61636 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
61637 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
61638 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
61640 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
61641 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
61642 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
61644 2010-05-20 Andreas Schwab <schwab@redhat.com>
61646 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
61648 2010-05-17 Luis Machado <luisgpm@br.ibm.com>
61650 POWER7 optimizations.
61651 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
61652 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
61654 2010-05-19 Ulrich Drepper <drepper@redhat.com>
61656 * version.h: Update for 2.13 development version.
61658 2010-05-12 Andrew Stubbs <ams@codesourcery.com>
61660 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
61661 exceptions. Return 0.
61663 2010-05-07 Roland McGrath <roland@redhat.com>
61665 * elf/ldconfig.c (main): Add a const.
61667 2010-05-06 Ulrich Drepper <drepper@redhat.com>
61669 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
61670 (args_options): Add no-idn option.
61671 (ahosts_keys_int): Add idn_flags to ai_flags.
61672 (parse_option): Handle 'i' option to clear idn_flags.
61674 * malloc/malloc.c (_int_free): Possible race in the most recently
61675 added check. Only act on the data if no current modification
61678 See ChangeLog.17 for earlier changes.