1 2015-06-25 H.J. Lu <hongjiu.lu@intel.com>
4 * Makeconfig (no-pie-ldflag): New.
5 (+link): Set to $(+link-pie) if default to PIE.
6 (+link-tests): Set to $(+link-pie-tests) if default to PIE.
7 * config.make.in (build-pie-default): New.
8 * configure.ac (libc_cv_pie_default): New. Set to yes if -fPIE
10 * configure: Regenerated.
11 * elf/Makefile (LDFLAGS-tst-dlopen-aout): New.
13 2015-06-24 Roland McGrath <roland@hack.frob.com>
15 * nptl/descr.h (struct pthread): Change type of field setxid_futex
18 * resolv/gai_misc.h (struct waitlist): Change type of field
19 counterp to 'volatile unsigned int *'.
20 * sysdeps/nptl/gai_misc.h (GAI_MISC_WAIT): Use unsigned types for
22 * resolv/getaddrinfo_a.c (getaddrinfo_a):
23 Give local variable TOTAL type 'volatile unsigned int'.
24 (struct async_waitlist): Change type of field counter to 'unsigned int'.
25 * resolv/gai_suspend.c (gai_suspend):
26 Give local variable CNTR type 'unsigned int'.
28 * sysdeps/pthread/aio_misc.h (struct waitlist): Change type of field
29 counterp to 'volatile unsigned int *'.
30 * sysdeps/pthread/aio_suspend.c [DONT_NEED_AIO_MISC_COND]
31 (do_aio_misc_wait): Give argument CNTR type 'unsigned int *'.
32 (aio_suspend): Give local variable CNTR type 'unsigned int'.
33 * sysdeps/pthread/lio_listio.c (lio_listio_internal):
34 Give local variable TOTAL type 'volatile unsigned int'.
35 (struct async_waitlist): Change type of field counter to 'unsigned int'.
37 2015-06-24 H.J. Lu <hongjiu.lu@intel.com>
40 * csu/libc-tls.c (__libc_setup_tls) [TLS_TCB_AT_TP]: Align
41 TCB_OFFSET to MAX_ALIGN, not just TCBALIGN. Add comment.
42 * elf/Makefile (test-xfail-tst-tlsalign{,-static}): Remove
43 comment for i386/x86-64.
44 (test-xfail-tst-tlsalign-extern-static): Removed.
46 2015-06-24 Joseph Myers <joseph@codesourcery.com>
48 * math/test-double.h: New file.
49 * math/test-float.h: Likewise.
50 * math/test-ldouble.h: Likewise.
51 * math/test-math-inline.h: Likewise.
52 * math/test-math-no-inline.h: Likewise.
53 * math/test-math-scalar.h: Likewise.
54 * math/test-math-vector.h: Likewise.
55 * math/test-vec-loop.h: Remove file. Contents moved into
57 * math/libm-test.inc (MATHCONST): Do not document macro.
58 * math/test-double.c: Include test-double.h, test-math-no-inline.h
59 and test-math-scalar.h.
61 (FUNC_TEST): Likewise.
63 (MATHCONST): Likewise.
64 (PRINTF_EXPR): Likewise.
65 (PRINTF_XEXPR): Likewise.
66 (PRINTF_NEXPR): Likewise.
67 (TEST_DOUBLE): Likewise.
68 (TEST_MATHVEC): Likewise.
69 (__NO_MATH_INLINES): Likewise.
70 * math/test-float.c: Include test-float.h, test-math-no-inline.h
71 and test-math-scalar.h.
73 (FUNC_TEST): Likewise.
75 (MATHCONST): Likewise.
76 (PRINTF_EXPR): Likewise.
77 (PRINTF_XEXPR): Likewise.
78 (PRINTF_NEXPR): Likewise.
79 (TEST_FLOAT): Likewise.
80 (TEST_MATHVEC): Likewise.
81 (__NO_MATH_INLINES): Likewise.
82 * math/test-idouble.c: Include test-double.h, test-math-inline.h
83 and test-math-scalar.h.
85 (FUNC_TEST): Likewise.
87 (MATHCONST): Likewise.
88 (PRINTF_EXPR): Likewise.
89 (PRINTF_XEXPR): Likewise.
90 (PRINTF_NEXPR): Likewise.
91 (TEST_DOUBLE): Likewise.
92 (TEST_MATHVEC): Likewise.
93 (TEST_INLINE): Likewise.
94 (__NO_MATH_INLINES): Likewise.
95 * math/test-ifloat.c: Include test-float.h, test-math-inline.h and
98 (FUNC_TEST): Likewise.
100 (MATHCONST): Likewise.
101 (PRINTF_EXPR): Likewise.
102 (PRINTF_XEXPR): Likewise.
103 (PRINTF_NEXPR): Likewise.
104 (TEST_FLOAT): Likewise.
105 (TEST_MATHVEC): Likewise.
106 (TEST_INLINE): Likewise.
107 (__NO_MATH_INLINES): Likewise.
108 * math/test-ildoubl.c: Include test-ldouble.h, test-math-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_LDOUBLE): Likewise.
118 (TEST_MATHVEC): Likewise.
119 (TEST_INLINE): Likewise.
120 (__NO_MATH_INLINES): Likewise.
121 * math/test-ldouble.c: Include test-ldouble.h,
122 test-math-no-inline.h and test-math-scalar.h.
123 (FUNC): Remove macro.
124 (FUNC_TEST): Likewise.
126 (MATHCONST): Likewise.
127 (PRINTF_EXPR): Likewise.
128 (PRINTF_XEXPR): Likewise.
129 (PRINTF_NEXPR): Likewise.
130 (TEST_LDOUBLE): Likewise.
131 (TEST_MATHVEC): Likewise.
132 (__NO_MATH_INLINES): Likewise.
133 * math/test-double-vlen2.h: Include test-double.h,
134 test-math-no-inline.h and test-math-vector.h.
135 (FLOAT): Remove macro.
137 (MATHCONST): Likewise.
138 (PRINTF_EXPR): Likewise.
139 (PRINTF_XEXPR): Likewise.
140 (PRINTF_NEXPR): Likewise.
141 (TEST_DOUBLE): Likewise.
142 (TEST_MATHVEC): Likewise.
143 (__NO_MATH_INLINES): Likewise.
146 (WRAPPER_NAME): Likewise.
147 (WRAPPER_DECL): Likewise.
148 (WRAPPER_DECL_ff): Likewise.
149 (WRAPPER_DECL_fFF): Likewise.
150 (VECTOR_WRAPPER): Likewise.
151 (VECTOR_WRAPPER_ff): Likewise.
152 (VECTOR_WRAPPER_fFF): Likewise.
153 (VEC_LEN): New macro.
154 * math/test-double-vlen4.h: Include test-double.h,
155 test-math-no-inline.h and test-math-vector.h.
156 (FLOAT): Remove macro.
158 (MATHCONST): Likewise.
159 (PRINTF_EXPR): Likewise.
160 (PRINTF_XEXPR): Likewise.
161 (PRINTF_NEXPR): Likewise.
162 (TEST_DOUBLE): Likewise.
163 (TEST_MATHVEC): Likewise.
164 (__NO_MATH_INLINES): Likewise.
167 (WRAPPER_NAME): Likewise.
168 (WRAPPER_DECL): Likewise.
169 (WRAPPER_DECL_ff): Likewise.
170 (WRAPPER_DECL_fFF): Likewise.
171 (VECTOR_WRAPPER): Likewise.
172 (VECTOR_WRAPPER_ff): Likewise.
173 (VECTOR_WRAPPER_fFF): Likewise.
174 (VEC_LEN): New macro.
175 * math/test-double-vlen8.h: Include test-double.h,
176 test-math-no-inline.h and test-math-vector.h.
177 (FLOAT): Remove macro.
179 (MATHCONST): Likewise.
180 (PRINTF_EXPR): Likewise.
181 (PRINTF_XEXPR): Likewise.
182 (PRINTF_NEXPR): Likewise.
183 (TEST_DOUBLE): Likewise.
184 (TEST_MATHVEC): Likewise.
185 (__NO_MATH_INLINES): Likewise.
188 (WRAPPER_NAME): Likewise.
189 (WRAPPER_DECL): Likewise.
190 (WRAPPER_DECL_ff): Likewise.
191 (WRAPPER_DECL_fFF): Likewise.
192 (VECTOR_WRAPPER): Likewise.
193 (VECTOR_WRAPPER_ff): Likewise.
194 (VECTOR_WRAPPER_fFF): Likewise.
195 (VEC_LEN): New macro.
196 * math/test-float-vlen4.h: Include test-float.h,
197 test-math-no-inline.h and test-math-vector.h.
198 (FLOAT): Remove macro.
200 (MATHCONST): Likewise.
201 (PRINTF_EXPR): Likewise.
202 (PRINTF_XEXPR): Likewise.
203 (PRINTF_NEXPR): Likewise.
204 (TEST_FLOAT): Likewise.
205 (TEST_MATHVEC): Likewise.
206 (__NO_MATH_INLINES): Likewise.
209 (WRAPPER_NAME): Likewise.
210 (WRAPPER_DECL): Likewise.
211 (WRAPPER_DECL_ff): Likewise.
212 (WRAPPER_DECL_fFF): Likewise.
213 (VECTOR_WRAPPER): Likewise.
214 (VECTOR_WRAPPER_ff): Likewise.
215 (VECTOR_WRAPPER_fFF): Likewise.
216 (VEC_LEN): New macro.
217 * math/test-float-vlen8.h: Include test-float.h,
218 test-math-no-inline.h and test-math-vector.h.
219 (FLOAT): Remove macro.
221 (MATHCONST): Likewise.
222 (PRINTF_EXPR): Likewise.
223 (PRINTF_XEXPR): Likewise.
224 (PRINTF_NEXPR): Likewise.
225 (TEST_FLOAT): Likewise.
226 (TEST_MATHVEC): Likewise.
227 (__NO_MATH_INLINES): Likewise.
230 (WRAPPER_NAME): Likewise.
231 (WRAPPER_DECL): Likewise.
232 (WRAPPER_DECL_ff): Likewise.
233 (WRAPPER_DECL_fFF): Likewise.
234 (VECTOR_WRAPPER): Likewise.
235 (VECTOR_WRAPPER_ff): Likewise.
236 (VECTOR_WRAPPER_fFF): Likewise.
237 (VEC_LEN): New macro.
238 * math/test-float-vlen16.h: Include test-float.h,
239 test-math-no-inline.h and test-math-vector.h.
240 (FLOAT): Remove macro.
242 (MATHCONST): Likewise.
243 (PRINTF_EXPR): Likewise.
244 (PRINTF_XEXPR): Likewise.
245 (PRINTF_NEXPR): Likewise.
246 (TEST_FLOAT): Likewise.
247 (TEST_MATHVEC): Likewise.
248 (__NO_MATH_INLINES): Likewise.
251 (WRAPPER_NAME): Likewise.
252 (WRAPPER_DECL): Likewise.
253 (WRAPPER_DECL_ff): Likewise.
254 (WRAPPER_DECL_fFF): Likewise.
255 (VECTOR_WRAPPER): Likewise.
256 (VECTOR_WRAPPER_ff): Likewise.
257 (VECTOR_WRAPPER_fFF): Likewise.
258 (VEC_LEN): New macro.
259 * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Do not include
261 * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
262 * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
263 * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
264 * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
265 * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
266 * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
267 * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
269 2015-06-24 Roland McGrath <roland@hack.frob.com>
271 * sysdeps/nacl/glob.c (getlogin_r): Macro renamed to ...
272 (__getlogin_r): ... this.
274 2015-06-24 Joseph Myers <joseph@codesourcery.com>
277 * math/s_ccosh.c (__ccosh): Compare with least normal value
278 instead of comparing class with FP_SUBNORMAL.
279 * math/s_ccoshf.c (__ccoshf): Likewise.
280 * math/s_ccoshl.c (__ccoshl): Likewise.
281 * math/s_cexp.c (__cexp): Likewise.
282 * math/s_cexpf.c (__cexpf): Likewise.
283 * math/s_cexpl.c (__cexpl): Likewise.
284 * math/s_csin.c (__csin): Likewise.
285 * math/s_csinf.c (__csinf): Likewise.
286 * math/s_csinh.c (__csinh): Likewise.
287 * math/s_csinhf.c (__csinhf): Likewise.
288 * math/s_csinhl.c (__csinhl): Likewise.
289 * math/s_csinl.c (__csinl): Likewise.
290 * math/s_ctan.c (__ctan): Likewise.
291 * math/s_ctanf.c (__ctanf): Likewise.
292 * math/s_ctanh.c (__ctanh): Likewise.
293 * math/s_ctanhf.c (__ctanhf): Likewise.
294 * math/s_ctanhl.c (__ctanhl): Likewise.
295 * math/s_ctanl.c (__ctanl): Likewise.
296 * math/auto-libm-test-in: Add more tests of ccos, ccosh, cexp,
297 csin, csinh, ctan and ctanh.
298 * math/auto-libm-test-out: Regenerated.
299 * math/libm-test.inc (cexp_test): Use ALL_RM_TEST.
300 * sysdeps/i386/fpu/libm-test-ulps: Update.
301 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
303 2015-06-24 Roland McGrath <roland@hack.frob.com>
305 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): When sched_getcpu
306 return value is wrong, print the expected value too.
308 2015-06-24 H.J. Lu <hongjiu.lu@intel.com>
311 * elf/readlib.c (is_gdb_python_file): New.
312 (process_file): Don't issue errors on filenames with -gdb.py
315 2015-06-24 Joseph Myers <joseph@codesourcery.com>
317 * math/auto-libm-test-in: Add more tests of csin and csinh.
318 * math/auto-libm-test-out: Regenerated.
319 * math/libm-test.inc (csin_test_data): Remove tests moved to
321 (csinh_test_data): Likewise.
324 * math/s_csin.c (__csin): Negate before rather than after possibly
325 overflowing multiplication.
326 * math/s_csinf.c (__csinf): Likewise.
327 * math/s_csinh.c (__csinh): Likewise.
328 * math/s_csinhf.c (__csinhf): Likewise.
329 * math/s_csinhl.c (__csinhl): Likewise.
330 * math/s_csinl.c (__csinl): Likewise.
331 * math/auto-libm-test-in: Add some tests of csin and csinh.
332 * math/auto-libm-test-out: Regenerated.
333 * math/libm-test.inc (csin_test_data): Use AUTO_TESTS_c_c.
334 (csinh_test_data): Likewise.
335 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
338 * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Force
339 underflow exception for small results.
341 2015-06-24 Andrew Senkevich <andrew.senkevich@intel.com>
343 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Fixed files list.
344 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S: Renamed
345 variable and included header.
346 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S: Likewise.
347 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S: Likewise.
348 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S: Likewise.
349 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S: Likewise.
350 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S: Likewise.
351 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S: Likewise.
352 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S: Likewise.
353 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S: Likewise.
354 * sysdeps/x86_64/fpu/svml_s_trig_data.S: New file.
355 * sysdeps/x86_64/fpu/svml_s_trig_data.h: Likewise.
356 * sysdeps/x86_64/fpu/svml_s_cosf_data.S: Removed file.
357 * sysdeps/x86_64/fpu/svml_s_cosf_data.h: Likewise.
358 * sysdeps/x86_64/fpu/svml_s_sinf_data.S: Likewise.
359 * sysdeps/x86_64/fpu/svml_s_sinf_data.h: Likewise.
360 * sysdeps/x86_64/fpu/svml_s_sincosf_data.S: Likewise.
361 * sysdeps/x86_64/fpu/svml_s_sincosf_data.h: Likewise.
363 2015-06-23 Joseph Myers <joseph@codesourcery.com>
367 * sysdeps/ieee754/dbl-64/s_sin.c: Include <float.h>.
368 (__sin): Force underflow exception for arguments with small
370 * sysdeps/ieee754/flt-32/k_sinf.c: Include <float.h>.
371 (__kernel_sinf): Force underflow exception for arguments with
372 small absolute value.
373 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Include <float.h>.
374 (__kernel_sincosl): Force underflow exception for arguments with
375 small absolute value.
376 * sysdeps/ieee754/ldbl-128/k_sinl.c: Include <float.h>.
377 (__kernel_sinl): Force underflow exception for arguments with
378 small absolute value.
379 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Include <float.h>.
380 (__kernel_sincosl): Force underflow exception for arguments with
381 small absolute value.
382 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Include <float.h>.
383 (__kernel_sinl): Force underflow exception for arguments with
384 small absolute value.
385 * sysdeps/ieee754/ldbl-96/k_sinl.c: Include <float.h>.
386 (__kernel_sinl): Force underflow exception for arguments with
387 small absolute value.
388 * sysdeps/powerpc/fpu/k_sinf.c: Include <float.h>.
389 (__kernel_sinf): Force underflow exception for arguments with
390 small absolute value.
391 * math/auto-libm-test-in: Add more tests of sin and sincos.
392 * math/auto-libm-test-out: Regenerated.
396 * sysdeps/ieee754/k_standardl.c: Include <fenv.h>.
397 (__kernel_standard_l): Use feholdexcept and fesetenv around
398 conversion to double instead of special-casing overflow and
400 * math/libm-test.inc (fmod_test_data): Add more tests.
401 (remainder_test_data): Likewise.
402 (sqrt_test_data): Likewise.
404 2015-06-23 Torvald Riegel <triegel@redhat.com>
407 * sysdeps/x86_64/bits/atomic.h: (atomic_full_barrier,
408 atomic_read_barrier, atomic_write_barrier): Define.
409 * sysdeps/i386/i486/bits/atomic.h (atomic_full_barrier,
410 atomic_read_barrier, atomic_write_barrier): Define.
412 2015-06-23 Joseph Myers <joseph@codesourcery.com>
414 * math/Makefile [$(PERL) != no]
415 ($(addprefix $(objpfx), $(addsuffix .o, $(libm-vec-tests)))): Move
416 dependency on libm-test.stmp below the inclusion of Rules.
418 2015-06-23 Andrew Senkevich <andrew.senkevich@intel.com>
420 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Fixed files list.
421 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S: Renamed variable
423 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S: Likewise.
424 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: Likewise.
425 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S: Likewise.
426 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S: Likewise.
427 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S: Likewise.
428 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: Likewise.
429 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: Likewise.
430 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: Likewise.
431 * sysdeps/x86_64/fpu/svml_d_trig_data.S: New file.
432 * sysdeps/x86_64/fpu/svml_d_trig_data.h: Likewise.
433 * sysdeps/x86_64/fpu/svml_d_cos2_core.S: Removed unneeded include.
434 * sysdeps/x86_64/fpu/svml_d_cos4_core.S: Likewise.
435 * sysdeps/x86_64/fpu/svml_d_cos8_core.S: Likewise.
436 * sysdeps/x86_64/fpu/svml_d_cos_data.S: Removed file.
437 * sysdeps/x86_64/fpu/svml_d_cos_data.h: Likewise.
438 * sysdeps/x86_64/fpu/svml_d_sin_data.S: Likewise.
439 * sysdeps/x86_64/fpu/svml_d_sin_data.h: Likewise.
440 * sysdeps/x86_64/fpu/svml_d_sincos_data.S: Likewise.
441 * sysdeps/x86_64/fpu/svml_d_sincos_data.h: Likewise.
443 2015-06-23 Joseph Myers <joseph@codesourcery.com>
446 * math/s_csqrt.c (__csqrt): Avoid multiplication by 0.5 where
447 intermediate but not final result might underflow.
448 * math/s_csqrtf.c (__csqrtf): Likewise.
449 * math/s_csqrtl.c (__csqrtl): Likewise.
450 * math/auto-libm-test-in: Add more tests of csqrt.
451 * math/auto-libm-test-out: Regenerated.
452 * sysdeps/i386/fpu/libm-test-ulps: Update.
455 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Reduce
456 threshold on absolute value of exponent for which scaling is used.
457 * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
458 * math/auto-libm-test-in: Add more tests of exp2.
459 * math/auto-libm-test-out: Regenerated.
461 2015-06-23 Dmitry V. Levin <ldv@altlinux.org>
464 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix unlocking
465 when initializing interface list, based on the bug analysis
466 and the patch proposed by Eric Newton.
467 * resolv/tst-res_hconf_reorder.c: New test.
468 * resolv/Makefile [$(have-thread-library) = yes] (tests): Add
469 tst-res_hconf_reorder.
470 ($(objpfx)tst-res_hconf_reorder): Depend on $(libdl)
471 and $(shared-thread-library).
472 (tst-res_hconf_reorder-ENV): New variable.
474 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix typo
477 2015-06-22 Joseph Myers <joseph@codesourcery.com>
480 * sysdeps/i386/fpu/s_expm1.S (dbl_min): New object.
481 (__expm1): Force underflow exception for arguments with small
483 * sysdeps/i386/fpu/s_expm1f.S (flt_min): New object.
484 (__expm1f): Force underflow exception for arguments with small
486 * sysdeps/ieee754/dbl-64/s_expm1.c: Include <float.h>.
487 (__expm1): Force underflow exception for arguments with small
489 * sysdeps/ieee754/flt-32/s_expm1f.c: Include <float.h>.
490 (__expm1f): Force underflow exception for arguments with small
492 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
493 Check for small arguments before calling __expm1.
494 * math/auto-libm-test-in: Do not mark underflow exceptions as
495 possibly missing for bug 16353.
496 * math/auto-libm-test-out: Regenerated.
498 2015-06-22 Andreas Schwab <schwab@suse.de>
501 * resolv/nss_dns/dns-host.c (getanswer_r): Record TTL also for
504 2015-06-22 Leonhard Holz <leonhard.holz@web.de>
506 * string/strcoll_l.c (STRCOLL): Remove unnecessary memset.
508 * string/strcoll_l.c: Remove unused struct element idxnow.
510 2015-06-21 Joseph Myers <joseph@codesourcery.com>
513 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Force
514 underflow and return argument in case of subnormal argument.
515 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
517 * math/auto-libm-test-in: Add more tests of expm1.
518 * math/auto-libm-test-out: Regenerated.
521 * sysdeps/i386/fpu/e_expl.S [!USE_AS_EXPM1L] (cmin): New object.
522 (IEEE754_EXPL) [!USE_AS_EXPM1L]: Force underflow exception for
524 * sysdeps/x86_64/fpu/e_expl.S [!USE_AS_EXPM1L] (cmin): New object.
525 (IEEE754_EXPL) [!USE_AS_EXPM1L]: Force underflow exception for
527 * math/auto-libm-test-in: Add more tests of exp and exp10. Do not
528 mark underflow exceptions as possibly missing for bug 16361.
529 * math/auto-libm-test-out: Regenerated.
531 2015-06-19 Joseph Myers <joseph@codesourcery.com>
533 * conform/data/sys/select.h-data [XOPEN2K8] (pselect): Expect.
534 * conform/Makefile (test-xfail-XOPEN2K8/sys/select.h/conform):
536 (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
537 (test-xfail-XOPEN2K8/utmpx.h/conform).
539 * conform/conformtest.pl ($xerrors): New variable.
540 (note_error): New function.
541 (compiletest): New argument $xfail. Use not_error.
543 (top level): Handle xfail- lines. Update calls to compiletest and
544 runtest. Handle xfail- and optional- in headers listed with
546 * conform/data/fcntl.h-data (O_TTY_INIT): Use xfail-.
548 (O_SEARCH): Likewise.
549 * conform/data/stropts.h-data (ioctl): Likewise.
550 * conform/data/sys/ipc.h-data (ipc_perm.mode): Likewise.
551 * conform/data/sys/sem.h-data (semid_ds.sem_nsems): Likewise.
552 * conform/data/sys/socket.h-data (msghdr.msg_iovlen): Likewise.
553 (msghdr.msg_controllen): Likewise.
554 (cmsghdr.cmsg_len): Likewise.
555 * conform/data/utmpx.h-data (utmpx.ut_tv): Likewise.
556 * conform/Makefile (test-xfail-XPG3/sys/ipc.h/conform): Remove
558 (test-xfail-XPG3/sys/sem.h/conform): Likewise.
559 (test-xfail-XPG4/stropts.h/conform): Likewise.
560 (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
561 (test-xfail-XPG4/sys/sem.h/conform): Likewise.
562 (test-xfail-XPG4/sys/socket.h/conform): Likewise.
563 (test-xfail-UNIX98/stropts.h/conform): Likewise.
564 (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
565 (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
566 (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
567 (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
568 (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
569 (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
570 (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
571 (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
572 (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
573 (test-xfail-POSIX2008/stropts.h/conform): Likewise.
574 (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
575 (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
576 (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
577 (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
578 (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
580 2015-06-19 Andrew Senkevich <andrew.senkevich@intel.com>
582 * sysdeps/ieee754/ldbl-opt/s_sin.c (__DECL_SIMD_sincos_disable,
583 __DECL_SIMD_sincos_disablef, __DECL_SIMD_sincos_disablel): Added empty
584 definitions for proper unfolding of __MATHDECL_VEC.
586 2015-06-19 Stefan Liebler <stli@linux.vnet.ibm.com>
588 * benchtests/bench-strcoll.c:
590 (main): Remove unused variable res.
592 2015-06-19 Stefan Liebler <stli@linux.vnet.ibm.com>
594 * timezone/Makefile (%/UTC %/Universal):
595 Generate test-result files for UTC and Universal.
597 2015-06-19 Stefan Liebler <stli@linux.vnet.ibm.com>
599 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
601 2015-06-18 Joseph Myers <joseph@codesourcery.com>
604 * sysdeps/i386/fpu/s_asinh.S (__asinh): Force underflow exception
605 for arguments with small absolute value.
606 * sysdeps/i386/fpu/s_asinhf.S (__asinhf): Likewise.
607 * sysdeps/i386/fpu/s_asinhl.S (__asinhl): Likewise.
608 * sysdeps/ieee754/dbl-64/s_asinh.c: Include <float.h>.
609 (__asinh): Force underflow exception for arguments with small
611 * sysdeps/ieee754/flt-32/s_asinhf.c: Include <float.h>.
612 (__asinhf): Force underflow exception for arguments with small
614 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Include <float.h>.
615 (__asinhl): Force underflow exception for arguments with small
617 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Include <float.h>.
618 (__asinhl): Force underflow exception for arguments with small
620 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Include <float.h>.
621 (__asinhl): Force underflow exception for arguments with small
623 * math/auto-libm-test-in: Do not mark underflow exceptions as
624 possibly missing for bug 16350.
625 * math/auto-libm-test-out: Regenerated.
627 * include/bits/ipc.h: Remove file.
628 * conform/Makefile (test-xfail-XPG3/sys/msg.h/conform): Remove
630 (test-xfail-XPG3/sys/shm.h/conform): Likewise.
631 (test-xfail-XPG4/sys/msg.h/conform): Likewise.
632 (test-xfail-XPG4/sys/shm.h/conform): Likewise.
633 (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
634 (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
635 (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
636 (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
637 (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
638 (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
640 * math/auto-libm-test-in: Remove spurious underflow allowance for
642 * math/auto-libm-test-out: Regenerated.
645 * sysdeps/unix/sysv/linux/bits/in.h (MCAST_JOIN_GROUP): Remove
646 unconditional definition.
647 (MCAST_BLOCK_SOURCE): Likewise.
648 (MCAST_UNBLOCK_SOURCE): Likewise.
649 (MCAST_LEAVE_GROUP): Likewise.
650 (MCAST_JOIN_SOURCE_GROUP): Likewise.
651 (MCAST_LEAVE_SOURCE_GROUP): Likewise.
652 (MCAST_MSFILTER): Likewise.
653 * conform/Makefile (test-xfail-XOPEN2K/arpa/inet.h/conform):
655 (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
656 (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
657 (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
658 (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
659 (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
661 2015-06-18 Andrew Senkevich <andrew.senkevich@intel.com>
663 * NEWS: Mention addition of x86_64 vector sincosf.
664 * math/test-float-vlen16.h: Added wrapper for sincosf tests.
665 * math/test-float-vlen4.h: Likewise.
666 * math/test-float-vlen8.h: Likewise.
667 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
668 * sysdeps/x86/fpu/bits/math-vector.h: Added sincosf SIMD declaration.
669 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
670 * sysdeps/x86_64/fpu/Versions: New versions added.
671 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
672 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
673 Added build of SSE, AVX2 and AVX512 IFUNC versions.
674 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S
675 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S
676 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core.S
677 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S
678 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core.S
679 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S
680 * sysdeps/x86_64/fpu/svml_s_sincosf16_core.S
681 * sysdeps/x86_64/fpu/svml_s_sincosf4_core.S
682 * sysdeps/x86_64/fpu/svml_s_sincosf8_core.S
683 * sysdeps/x86_64/fpu/svml_s_sincosf8_core_avx.S
684 * sysdeps/x86_64/fpu/svml_s_sincosf_data.S: New file.
685 * sysdeps/x86_64/fpu/svml_s_sincosf_data.h: New file.
686 * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Added 3 argument wrappers.
687 * sysdeps/x86_64/fpu/test-float-vlen16.c: : Vector sincosf tests.
688 * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
689 * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
690 * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
691 * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
692 * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
693 * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
694 * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
696 * NEWS: Mention addition of x86_64 vector sincos.
697 * bits/libm-simd-decl-stubs.h: Added stubs for sincos.
698 * math/math.h (__MATHDECL_VEC): New macro.
699 * math/bits/mathcalls.h: Added sincos declaration with __MATHDECL_VEC.
700 * math/gen-libm-have-vector-test.sh: Added generation of sincos wrapper
701 declaration under condition.
702 * math/test-vec-loop.h (TEST_VEC_LOOP): Refactored.
703 * math/test-double-vlen2.h: Added wrapper for sincos tests, reflected
704 TEST_VEC_LOOP change.
705 * math/test-double-vlen4.h: Likewise.
706 * math/test-double-vlen8.h: Likewise.
707 * math/test-float-vlen16.h: Reflected TEST_VEC_LOOP change.
708 * math/test-float-vlen4.h: Likewise.
709 * math/test-float-vlen8.h: Likewise.
710 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
711 * sysdeps/x86/fpu/bits/math-vector.h: Added sincos SIMD declaration.
712 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
713 * sysdeps/x86_64/fpu/Versions: New versions added.
714 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
715 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
716 Added build of SSE, AVX2 and AVX512 IFUNC versions.
717 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: New file.
718 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: New file.
719 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: New file.
720 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: New file.
721 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: New file.
722 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: New file.
723 * sysdeps/x86_64/fpu/svml_d_sincos2_core.S: New file.
724 * sysdeps/x86_64/fpu/svml_d_sincos4_core.S: New file.
725 * sysdeps/x86_64/fpu/svml_d_sincos4_core_avx.S: New file.
726 * sysdeps/x86_64/fpu/svml_d_sincos8_core.S: New file.
727 * sysdeps/x86_64/fpu/svml_d_sincos_data.S: New file.
728 * sysdeps/x86_64/fpu/svml_d_sincos_data.h: New file.
729 * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Added wrappers for sincos.
730 * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Vector sincos tests.
731 * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
732 * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
733 * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
734 * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
735 * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
736 * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
737 * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
739 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
740 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
741 redirections for powf.
742 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
743 * sysdeps/x86_64/fpu/Versions: New versions added.
744 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
745 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
746 Added build of SSE, AVX2 and AVX512 IFUNC versions.
747 * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Added 2 argument wrappers.
748 * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: New file.
749 * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S: New file.
750 * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core.S: New file.
751 * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S: New file.
752 * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core.S: New file.
753 * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S: New file.
754 * sysdeps/x86_64/fpu/svml_s_powf16_core.S: New file.
755 * sysdeps/x86_64/fpu/svml_s_powf4_core.S: New file.
756 * sysdeps/x86_64/fpu/svml_s_powf8_core.S: New file.
757 * sysdeps/x86_64/fpu/svml_s_powf8_core_avx.S: New file.
758 * sysdeps/x86_64/fpu/svml_s_powf_data.S: New file.
759 * sysdeps/x86_64/fpu/svml_s_powf_data.h: New file.
760 * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector powf tests.
761 * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
762 * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
763 * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
764 * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
765 * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
766 * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
767 * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
768 * math/test-float-vlen16.h: Fixed 2 argument macro.
769 * math/test-float-vlen4.h: Likewise.
770 * math/test-float-vlen8.h: Likewise.
771 * NEWS: Mention addition of x86_64 vector powf.
773 2015-06-17 Joseph Myers <joseph@codesourcery.com>
775 * math/s_ctanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
777 * math/s_ctanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
779 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c: Remove file.
780 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
781 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
784 * resource/getpriority.c (getpriority): Rename to __getpriority
785 and define as weak alias of __getpriority.
786 * resource/setpriority.c (setpriority): Rename to __setpriority
787 and define as weak alias of __setpriority.
788 * sysdeps/mach/hurd/getpriority.c (getpriority): Rename to
789 __getpriority and define as weak alias of __getpriority.
790 * sysdeps/mach/hurd/setpriority.c (setpriority): Rename to
791 __setpriority and define as weak alias of __setpriority.
792 * sysdeps/unix/syscalls.list (getpriority): Use __getpriority as
794 (setpriority): Use __setpriority as strong name.
795 * sysdeps/unix/sysv/linux/getpriority.c (getpriority): Rename to
796 __getpriority and define as weak alias of __getpriority.
797 * include/sys/resource.h (__getpriority): Declare. Use
799 (__setpriority): Likewise.
800 (getpriority): Don't use libc_hidden_proto.
801 (setpriority): Likewise.
802 * sysdeps/posix/nice.c (nice): Call __getpriority instead of
803 getpriority. Call __setpriority instead of setpriority.
804 * conform/Makefile (test-xfail-XPG3/unistd.h/linknamespace):
808 * misc/getttyent.c (getttynam): Rename to __getttynam and define
809 as weak alias of __getttynam. Use prototype function definition.
810 Call __setttyent, __getttyent and __endttyent instead of
811 setttyent, getttyent and endttyent.
812 (getttyent): Rename to __getttyent and define as weak alias of
813 __getttyent. Call __setttyent instead of setttyent. Call
814 __fgets_unlocked instead of fgets_unlocked.
815 (setttyent): Rename to __setttyent and define as weak alias of
817 (endttyent): Rename to __endttyent and define as weak alias of
819 * include/ttyent.h (__getttyent): Declare. Use libc_hidden_proto.
820 (__setttyent): Likewise.
821 (__endttyent): Likewise.
822 (getttyent): Don't use libc_hidden_proto.
823 (setttyent): Likewise.
824 (endttyent): Likewise.
825 * misc/ttyslot.c (ttyslot): Call __setttyent, __getttyent and
826 __endttyent instead of setttyent, getttyent and endttyent.
827 * conform/Makefile (test-xfail-XPG4/unistd.h/linknamespace):
831 * socket/recv.c (__recv): Use libc_hidden_def.
832 * socket/socket.c (__socket): Likewise.
833 * sysdeps/mach/hurd/recv.c (__recv): Likewise.
834 * sysdeps/mach/hurd/socket.c (__socket): Likewise.
835 * sysdeps/unix/sysv/linux/generic/recv.c (__recv): Likewise.
836 * sysdeps/unix/sysv/linux/recv.c (__recv): Use libc_hidden_weak.
837 * sysdeps/unix/sysv/linux/socket.c (__socket): Use
839 * sysdeps/unix/sysv/linux/x86_64/recv.c (__recv): Use
841 * include/sys/socket.h (__socket): Do not use attribute_hidden.
842 Use libc_hidden_proto.
844 * socket/Versions (libc): Export __recv and __socket at version
846 * sysdeps/unix/sysv/linux/mq_notify.c (helper_thread): Call __recv
848 (init_mq_netlink): Call __socket instead of socket.
849 * conform/Makefile (test-xfail-POSIX/mqueue.h/linknamespace):
853 * rt/mq_timedreceive.c (mq_timedreceive): Rename to
854 __mq_timedreceive and define as alias of __mq_timedreceive. Use
856 * rt/mq_timedsend.c (mq_timedsend): Rename to __mq_timedsend and
857 define as alias of __mq_timedsend. Use hidden_weak.
858 * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Use
859 __mq_timedsend as strong name.
860 (mq_timedreceive): Use __mq_timedreceive as strong name.
861 * include/mqueue.h (__mq_timedsend): Declare. Use hidden_proto.
862 (__mq_timedreceive): Likewise.
863 * sysdeps/unix/sysv/linux/mq_receive.c (mq_receive): Call
864 __mq_timedreceive instead of mq_timedreceive.
865 * sysdeps/unix/sysv/linux/mq_send.c (mq_send): Call __mq_timedsend
866 instead of mq_timedsend.
867 * conform/Makefile (test-xfail-UNIX98/mqueue.h/linknamespace):
870 * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Use
871 hidden_def and hidden_weak instead of libc_hidden_def and
873 (top level): Refer to hidden_def in comment.
874 * sysdeps/unix/syscall-template.S (syscall_hidden_def): New
875 macro. Use it instead of libc_hidden_def.
876 * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Do not
877 specify __GI_* name explicitly.
878 (mq_timedreceive): Likewise.
879 (mq_setattr): Likewise.
882 * nptl/pthread_barrier_init.c (pthread_barrier_init): Rename to
883 __pthread_barrier_init and define as weak alias of
884 __pthread_barrier_init.
885 * sysdeps/sparc/nptl/pthread_barrier_init.c
886 (pthread_barrier_init): Likewise.
887 * nptl/pthread_barrier_wait.c (pthread_barrier_wait): Rename to
888 __pthread_barrier_wait and define as weak alias of
889 __pthread_barrier_wait.
890 * sysdeps/sparc/nptl/pthread_barrier_wait.c
891 (pthread_barrier_wait): Likewise.
892 * sysdeps/sparc/sparc32/pthread_barrier_wait.c
893 (pthread_barrier_wait): Likewise.
894 * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S
895 (pthread_barrier_wait): Likewise.
896 * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S
897 (pthread_barrier_wait): Likewise.
898 * nptl/Versions (libpthread): Export __pthread_barrier_init and
899 __pthread_barrier_wait at version GLIBC_PRIVATE.
900 * include/pthread.h (__pthread_barrier_init): Declare.
901 (__pthread_barrier_wait): Likewise.
902 * sysdeps/unix/sysv/linux/mq_notify.c (notification_function):
903 Call __pthread_barrier_wait instead of pthread_barrier_wait.
904 (helper_thread): Likewise.
905 (init_mq_netlink): Call __pthread_barrier_init instead of
906 pthread_barrier_init.
909 * libio/iovswscanf.c (__vswscanf): Use libc_hidden_def.
910 (vswscanf): Use ldbl_weak_alias instead of ldbl_strong_alias
911 * include/wchar.h (__vswscanf): Declare. Use libc_hidden_proto.
912 * libio/swscanf.c (__swscanf): Call __vswscanf instead of
914 * conform/Makefile (test-xfail-UNIX98/wchar.h/linknamespace):
918 * libio/iofflush.c [!_IO_MTSAFE_IO] (__fflush_unlocked): Define as
919 strong alias of _IO_fflush. Use libc_hidden_def.
920 * libio/iofflush_u.c (fflush_unlocked): Rename to
921 __fflush_unlocked and define as weak alias of __fflush_unlocked.
922 Use libc_hidden_weak.
923 * include/stdio.h (__fflush_unlocked): Declare. Use
925 * misc/getpass.c (getpass): Call __fflush_unlocked instead of
927 * conform/Makefile (test-xfail-UNIX98/unistd.h/linknamespace):
931 * stdlib/fmtmsg.c (addseverity): Rename to __addseverity and
932 define as weak alias of __addseverity.
933 * conform/Makefile (test-xfail-XPG4/fmtmsg.h/linknamespace):
935 (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
936 (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
937 (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
940 * misc/tsearch.c (__tsearch): Use libc_hidden_def.
942 (__tdelete): Likewise.
944 * misc/Versions (libc): Add __tdelete, __tfind, __tsearch and
945 __twalk to GLIBC_PRIVATE.
946 * include/search.h (__tsearch): Use libc_hidden_proto.
948 (__tdelete): Likewise.
950 * nptl/sem_close.c (sem_close): Call __twalk instead of twalk.
951 Call __tdelete instead of tdelete.
952 * nptl/sem_open.c (check_add_mapping): Call __tfind instead of
953 tfind. Call __tsearch instead of tsearch.
954 * sysdeps/sparc/sparc32/sem_open.c (check_add_mapping): Likewise.
955 * conform/Makefile (test-xfail-POSIX/semaphore.h/linknamespace):
957 (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
960 * stdio-common/dprintf.c (__dprintf): Use libc_hidden_def.
961 (dprintf): Define as a weak alias of __dprintf, not a strong
963 * include/stdio.h (__dprintf): Declare. Use libc_hidden_proto.
964 * misc/syslog.c (__vsyslog_chk): Call __dprintf instead of
966 * conform/Makefile (test-xfail-XPG4/syslog.h/linknamespace):
968 (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
969 (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
972 * misc/syslog.c (vsyslog): Define as a weak alias of __vsyslog,
974 * conform/Makefile (test-xfail-XOPEN2K8/syslog.h/linknamespace):
978 * inet/in6_addr.c (in6addr_any): Rename to __in6addr_any and
979 define as weak alias of __in6addr_any. Use libc_hidden_data_weak.
980 (in6addr_loopback): Rename to __in6addr_loopback and define as
981 weak alias of __in6addr_loopback. Use libc_hidden_data_weak.
982 * include/netinet/in.h (__in6addr_loopback): Declare. Use
984 (__in6addr_any): Likewise.
985 * inet/gethstbyad_r.c (PREPROCESS): Use __in6addr_any instead of
987 * conform/Makefile (test-xfail-XPG4/netdb.h/linknamespace): Remove
989 (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
991 2015-06-17 Andrew Senkevich <andrew.senkevich@intel.com>
993 * bits/libm-simd-decl-stubs.h: Added stubs for pow.
994 * math/bits/mathcalls.h: Added pow declaration with __MATHCALL_VEC.
995 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
996 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
997 redirections for pow.
998 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
999 * sysdeps/x86_64/fpu/Versions: New versions added.
1000 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
1001 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
1002 build of SSE, AVX2 and AVX512 IFUNC versions.
1003 * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Added 2 argument wrappers.
1004 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: New file.
1005 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S: New file.
1006 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: New file.
1007 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S: New file.
1008 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: New file.
1009 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S: New file.
1010 * sysdeps/x86_64/fpu/svml_d_pow2_core.S: New file.
1011 * sysdeps/x86_64/fpu/svml_d_pow4_core.S: New file.
1012 * sysdeps/x86_64/fpu/svml_d_pow4_core_avx.S: New file.
1013 * sysdeps/x86_64/fpu/svml_d_pow8_core.S: New file.
1014 * sysdeps/x86_64/fpu/svml_d_pow_data.S: New file.
1015 * sysdeps/x86_64/fpu/svml_d_pow_data.h: New file.
1016 * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector pow test.
1017 * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
1018 * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
1019 * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
1020 * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
1021 * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
1022 * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
1023 * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
1024 * NEWS: Mention addition of x86_64 vector pow.
1026 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
1027 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
1028 redirections for expf.
1029 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
1030 * sysdeps/x86_64/fpu/Versions: New versions added.
1031 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
1032 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
1033 build of SSE, AVX2 and AVX512 IFUNC versions.
1034 * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: New file.
1035 * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: New file.
1036 * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core.S: New file.
1037 * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S: New file.
1038 * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core.S: New file.
1039 * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S: New file.
1040 * sysdeps/x86_64/fpu/svml_s_expf16_core.S: New file.
1041 * sysdeps/x86_64/fpu/svml_s_expf4_core.S: New file.
1042 * sysdeps/x86_64/fpu/svml_s_expf8_core.S: New file.
1043 * sysdeps/x86_64/fpu/svml_s_expf8_core_avx.S: New file.
1044 * sysdeps/x86_64/fpu/svml_s_expf_data.S: New file.
1045 * sysdeps/x86_64/fpu/svml_s_expf_data.h: New file.
1046 * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector expf tests.
1047 * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
1048 * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
1049 * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
1050 * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
1051 * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
1052 * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
1053 * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
1054 * NEWS: Mention addition of x86_64 vector expf.
1056 * bits/libm-simd-decl-stubs.h: Added stubs for exp.
1057 * math/bits/mathcalls.h: Added exp declaration with __MATHCALL_VEC.
1058 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
1059 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
1060 redirections for exp.
1061 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
1062 * sysdeps/x86_64/fpu/Versions: New versions added.
1063 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
1064 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
1065 build of SSE, AVX2 and AVX512 IFUNC versions.
1066 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: New file.
1067 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S: New file.
1068 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: New file.
1069 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S: New file.
1070 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: New file.
1071 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S: New file.
1072 * sysdeps/x86_64/fpu/svml_d_exp2_core.S: New file.
1073 * sysdeps/x86_64/fpu/svml_d_exp4_core.S: New file.
1074 * sysdeps/x86_64/fpu/svml_d_exp4_core_avx.S: New file.
1075 * sysdeps/x86_64/fpu/svml_d_exp8_core.S: New file.
1076 * sysdeps/x86_64/fpu/svml_d_exp_data.S: New file.
1077 * sysdeps/x86_64/fpu/svml_d_exp_data.h: New file.
1078 * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector exp test.
1079 * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
1080 * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
1081 * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
1082 * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
1083 * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
1084 * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
1085 * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
1086 * NEWS: Mention addition of x86_64 vector exp.
1088 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
1089 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
1090 redirections for logf.
1091 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
1092 * sysdeps/x86_64/fpu/Versions: New versions added.
1093 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
1094 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
1095 build of SSE, AVX2 and AVX512 IFUNC versions.
1096 * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: New file.
1097 * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S: New file.
1098 * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core.S: New file.
1099 * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S: New file.
1100 * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core.S: New file.
1101 * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S: New file.
1102 * sysdeps/x86_64/fpu/svml_s_logf16_core.S: New file.
1103 * sysdeps/x86_64/fpu/svml_s_logf4_core.S: New file.
1104 * sysdeps/x86_64/fpu/svml_s_logf8_core.S: New file.
1105 * sysdeps/x86_64/fpu/svml_s_logf8_core_avx.S: New file.
1106 * sysdeps/x86_64/fpu/svml_s_logf_data.S: New file.
1107 * sysdeps/x86_64/fpu/svml_s_logf_data.h: New file.
1108 * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector logf tests.
1109 * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
1110 * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
1111 * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
1112 * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
1113 * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
1114 * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
1115 * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
1116 * NEWS: Mention addition of x86_64 vector logf.
1118 * bits/libm-simd-decl-stubs.h: Added stubs for log.
1119 * math/bits/mathcalls.h: Added log declaration with __MATHCALL_VEC.
1120 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
1121 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
1122 redirections for log.
1123 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
1124 * sysdeps/x86_64/fpu/Versions: New versions added.
1125 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
1126 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
1127 build of SSE, AVX2 and AVX512 IFUNC versions.
1128 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: New file.
1129 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S: New file.
1130 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: New file.
1131 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S: New file.
1132 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: New file.
1133 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S: New file.
1134 * sysdeps/x86_64/fpu/svml_d_log2_core.S: New file.
1135 * sysdeps/x86_64/fpu/svml_d_log4_core.S: New file.
1136 * sysdeps/x86_64/fpu/svml_d_log4_core_avx.S: New file.
1137 * sysdeps/x86_64/fpu/svml_d_log8_core.S: New file.
1138 * sysdeps/x86_64/fpu/svml_d_log_data.S: New file.
1139 * sysdeps/x86_64/fpu/svml_d_log_data.h: New file.
1140 * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector log
1142 * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
1143 * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
1144 * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
1145 * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
1146 * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
1147 * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
1148 * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
1149 * NEWS: Mention addition of x86_64 vector log.
1151 2015-06-17 Szabolcs Nagy <szabolcs.nagy@arm.com>
1153 * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Fix
1154 cfi_adjust_cfa_offset argument.
1155 (_dl_tlsdesc_undefweak, _dl_tlsdesc_dynamic): Likewise.
1156 (_dl_tlsdesc_resolve_rela, _dl_tlsdesc_resolve_hold): Likewise.
1159 * sysdeps/aarch64/dl-tlsdesc.h (_dl_tlsdesc_return_lazy): Declare.
1160 * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Define.
1161 (_dl_tlsdesc_undefweak): Guarantee TLSDESC entry and argument load-load
1162 ordering using ldar.
1163 (_dl_tlsdesc_dynamic): Likewise.
1164 (_dl_tlsdesc_return_lazy): Likewise.
1165 * sysdeps/aarch64/tlsdesc.c (_dl_tlsdesc_resolve_rela_fixup): Use
1166 relaxed atomics instead of volatile and synchronize with release store.
1167 (_dl_tlsdesc_resolve_hold_fixup): Use relaxed atomics instead of
1169 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
1171 2015-06-15 Andrew Senkevich <andrew.senkevich@intel.com>
1173 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
1174 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for sinf.
1175 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
1176 * sysdeps/x86_64/fpu/Versions: New versions added.
1177 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
1178 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
1179 build of SSE, AVX2 and AVX512 IFUNC versions.
1180 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: New file.
1181 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S: New file.
1182 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core.S: New file.
1183 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S: New file.
1184 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core.S: New file.
1185 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S: New file.
1186 * sysdeps/x86_64/fpu/svml_s_sinf16_core.S: New file.
1187 * sysdeps/x86_64/fpu/svml_s_sinf4_core.S: New file.
1188 * sysdeps/x86_64/fpu/svml_s_sinf8_core.S: New file.
1189 * sysdeps/x86_64/fpu/svml_s_sinf8_core_avx.S: New file.
1190 * sysdeps/x86_64/fpu/svml_s_sinf_data.S: New file.
1191 * sysdeps/x86_64/fpu/svml_s_sinf_data.h: New file.
1192 * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector sinf tests.
1193 * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
1194 * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
1195 * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
1196 * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
1197 * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
1198 * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
1199 * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
1200 * NEWS: Mention addition of x86_64 vector sinf.
1202 2015-06-14 Joseph Myers <joseph@codesourcery.com>
1204 * conform/list-header-symbols.pl (%extra_syms): Add in6addr_any
1205 and in6addr_loopback for XOPEN2K, XOPEN2K8 and POSIX2008.
1206 * conform/Makefile (test-xfail-XOPEN2K/netdb.h/linknamespace):
1208 (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
1209 (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
1211 2015-06-12 Joseph Myers <joseph@codesourcery.com>
1214 * libio/iofputs.c [!_IO_MTSAFE_IO] (__fputs_unlocked): Define as
1215 strong alias of _IO_fputs. Use libc_hidden_def.
1216 * libio/iofputs_u.c (fputs_unlocked): Rename to __fputs_unlocked
1217 and define as weak alias of __fputs_unlocked. Use
1219 * include/stdio.h (__fputs_unlocked): Declare. Use
1221 * misc/syslog.c (__vsyslog_chk): Call __fputs_unlocked instead of
1225 * resolv/netdb.h [__USE_POSIX]: Change condition to
1227 * conform/data/netdb.h-data [XPG4 || UNIX98] (struct addrinfo): Do
1229 [XPG4 || UNIX98] (AI_PASSIVE): Likewise.
1230 [XPG4 || UNIX98] (AI_CANONNAME): Likewise.
1231 [XPG4 || UNIX98] (AI_NUMERICHOST): Likewise.
1232 [XPG4 || UNIX98] (AI_V4MAPPED): Likewise.
1233 [XPG4 || UNIX98] (AI_ALL): Likewise.
1234 [XPG4 || UNIX98] (AI_ADDRCONFIG): Likewise.
1235 [XPG4 || UNIX98] (AI_NUMERICSERV): Likewise.
1236 [XPG4 || UNIX98] (NI_NOFQDN): Likewise.
1237 [XPG4 || UNIX98] (NI_NUMERICHOST): Likewise.
1238 [XPG4 || UNIX98] (NI_NAMEREQD): Likewise.
1239 [XPG4 || UNIX98] (NI_NUMERICSERV): Likewise.
1240 [XPG4 || UNIX98] (NI_DGRAM): Likewise.
1241 [XPG4 || UNIX98] (EAI_AGAIN): Likewise.
1242 [XPG4 || UNIX98] (EAI_BADFLAGS): Likewise.
1243 [XPG4 || UNIX98] (EAI_FAIL): Likewise.
1244 [XPG4 || UNIX98] (EAI_FAMILY): Likewise.
1245 [XPG4 || UNIX98] (EAI_MEMORY): Likewise.
1246 [XPG4 || UNIX98] (EAI_NONAME): Likewise.
1247 [XPG4 || UNIX98] (EAI_SERVICE): Likewise.
1248 [XPG4 || UNIX98] (EAI_SOCKTYPE): Likewise.
1249 [XPG4 || UNIX98] (EAI_SYSTEM): Likewise.
1250 [XPG4 || UNIX98] (EAI_SYSTEM): Likewise.
1251 [XPG4 || UNIX98] (freeaddrinfo): Likewise.
1252 [XPG4 || UNIX98] (gai_strerror): Likewise.
1253 [XPG4 || UNIX98] (getaddrinfo): Likewise.
1254 [XPG4 || UNIX98] (getnameinfo): Likewise.
1257 * grp/grp.h (endgrent): Condition on [__USE_MISC ||
1258 __USE_XOPEN_EXTENDED], not [__USE_XOPEN_EXTENDED ||
1260 (getgrent): Likewise.
1261 * conform/data/grp.h-data [XPG3 || POSIX2008] (getgrent): Do not
1263 [XPG3 || POSIX2008] (endgrent): Likewise.
1264 [XPG3] (setgrent): Likewise.
1265 * conform/Makefile (test-xfail-XPG3/grp.h/conform): Remove
1267 (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
1270 * login/getlogin_r.c (getlogin_r): Rename to __getlogin_r and
1271 define as weak alias of __getlogin_r. Use libc_hidden_weak.
1272 * sysdeps/mach/hurd/getlogin_r.c (getlogin_r): Likewise.
1273 * sysdeps/unix/getlogin_r.c (getlogin_r): Likewise.
1274 * sysdeps/unix/sysv/linux/getlogin_r.c (getlogin_r): Likewise.
1275 * include/unistd.h (__getlogin_r): Declare. Use
1277 * posix/glob.c (glob): Call __getlogin_r instead of getlogin_r.
1278 * conform/Makefile (test-xfail-XPG3/glob.h/linknamespace): Remove
1280 (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
1281 (test-xfail-XPG4/glob.h/linknamespace): Likewise.
1282 (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
1284 2015-06-12 Martin Sebor <msebor@redhat.com>
1287 * Makerules (check-install-supported): New target.
1288 (install): Add check-install-supported as a dependency.
1289 * manual/install.texi (Installing the C Library): Document
1290 that overriding prefix and exec_prefix is not supported.
1292 * INSTALL: Regenerate from the above.
1294 2015-06-12 Joseph Myers <joseph@codesourcery.com>
1297 * posix/Versions (libc): Export __libc_pread at version
1299 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Call __libc_pread
1301 * conform/Makefile (test-xfail-POSIX/aio.h/linknamespace): Remove
1306 [LONG_DOUBLE_COMPAT (libc, GLIBC_2_0) && !LONG_DOUBLE_CVT]
1307 (cvt_symbol): Use weak_alias instead of strong_alias.
1308 [LONG_DOUBLE_COMPAT (libc, GLIBC_2_0)] (cvt_symbol): Likewise.
1309 * conform/Makefile (test-xfail-XPG4/stdlib.h/linknamespace):
1311 (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
1312 (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
1315 * inet/herrno.c (h_errno): Rename to __h_errno.
1316 (__libc_h_errno): Define as alias of __h_errno not h_errno.
1317 * include/netdb.h [IS_IN_LIB && !IS_IN (libc)] (h_errno): Define
1318 to __h_errno instead of h_errno.
1319 * nptl/herrno.c (h_errno): Rename to __h_errno.
1320 (__h_errno_location): Refer to __h_errno not h_errno.
1321 * resolv/Versions (h_errno): Rename to __h_errno.
1322 * conform/Makefile (test-xfail-XOPEN2K8/grp.h/linknamespace):
1324 (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
1326 2015-06-11 Andrew Senkevich <andrew.senkevich@intel.com>
1328 * configure.ac: More strict check for AVX512 assembler support.
1329 * configure: Regenerated.
1331 * bits/libm-simd-decl-stubs.h: Added stubs for sin.
1332 * math/bits/mathcalls.h: Added sin declaration with __MATHCALL_VEC.
1333 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
1334 * sysdeps/x86/fpu/bits/math-vector.h: SIMD declaration for sin.
1335 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
1336 * sysdeps/x86_64/fpu/Versions: New versions added.
1337 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
1338 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
1339 Added build of SSE, AVX2 and AVX512 IFUNC versions.
1340 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: New file.
1341 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S: New file.
1342 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: New file.
1343 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S: New file.
1344 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: New file.
1345 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S: New file.
1346 * sysdeps/x86_64/fpu/svml_d_sin2_core.S: New file.
1347 * sysdeps/x86_64/fpu/svml_d_sin4_core.S: New file.
1348 * sysdeps/x86_64/fpu/svml_d_sin4_core_avx.S: New file.
1349 * sysdeps/x86_64/fpu/svml_d_sin8_core.S: New file.
1350 * sysdeps/x86_64/fpu/svml_d_sin_data.S: New file.
1351 * sysdeps/x86_64/fpu/svml_d_sin_data.h: New file.
1352 * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector sin
1354 * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
1355 * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
1356 * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
1357 * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
1358 * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
1359 * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
1360 * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
1361 * NEWS: Mention addition of x86_64 vector sin.
1363 2015-06-11 Florian Weimer <fweimer@redhat.com>
1365 * nptl/pthread_key_create.c (__pthread_key_create): Fix typo in
1368 2015-06-10 Gleb Fotengauer-Malinovskiy <glebfm@altlinux.org>
1371 * nptl/pt-interp.c: New file.
1372 * nptl/Makefile (libpthread-routines, libpthread-shared-only-routines):
1374 [[$(build-shared) = yes] ($(objpfx)pt-interp.os): Depend on
1375 $(common-objpfx)runtime-linker.h.
1377 2015-06-10 Dmitry V. Levin <ldv@altlinux.org>
1379 * Makeconfig (+interp): Remove unused variable.
1380 * elf/Makefile ($(objpfx)interp.os): Define for [$(build-shared) = yes]
1381 only. Depend on $(common-objpfx)runtime-linker.h instead of
1382 $(elf-objpfx)runtime-linker.h.
1383 ($(elf-objpfx)runtime-linker.h): Rename to
1384 $(common-objpfx)runtime-linker.h and move ...
1385 * Makerules [$(build-shared) = yes]: ... here.
1386 * elf/interp.c: Include <runtime-linker.h> instead of
1387 <elf/runtime-linker.h>.
1389 2015-06-09 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1391 * sysdeps/unix/sysv/linux/i386/gettimeofday.c
1392 (__gettimeofday_syscall): Remove vsyscall fallback.
1393 * sysdeps/unix/sysv/linux/i386/time.c (__time_syscall): Likewise.
1394 * sysdeps/unix/sysv/linux/x86/gettimeofday.c (__gettimeofday_syscall):
1395 Add syscall fallback function.
1396 (gettimeofday_ifunc): Use __gettimeofday_syscall as fallback mechanism
1397 if vDSO is not present.
1398 * sysdeps/unix/sysv/linux/x86/time.c (__time_syscall): Add syscall
1400 (time_ifunc): Use __time_syscall as fallback mechanism if vDSO is not
1402 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Remove file.
1403 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
1405 2015-06-09 Joseph Myers <joseph@codesourcery.com>
1408 * wcsmbs/wcscmp.c [!WCSCMP] (WCSCMP): Define as __wcscmp instead
1410 (wcscmp): Define as weak alias of WCSCMP.
1411 * wcsmbs/wcscoll.c (STRCOLL): Define as __wcscoll instead of
1413 (USE_HIDDEN_DEF): Define.
1414 [!USE_IN_EXTENDED_LOCALE_MODEL] (wcscoll): Define as weak alias of
1415 __wcscoll. Don't use libc_hidden_weak.
1416 * wcsmbs/wcscoll_l.c (STRCMP): Define as __wcscmp instead of
1418 * sysdeps/i386/i686/multiarch/wcscmp-c.c
1419 [SHARED] (libc_hidden_def): Define __GI___wcscmp instead of
1421 (weak_alias): Undefine and redefine.
1422 * sysdeps/i386/i686/multiarch/wcscmp.S (wcscmp): Rename to
1423 __wcscmp and define as weak alias of __wcscmp.
1424 * sysdeps/x86_64/wcscmp.S (wcscmp): Likewise.
1425 * include/wchar.h (__wcscmp): Declare. Use libc_hidden_proto.
1426 (__wcscoll): Likewise.
1427 (wcscmp): Don't use libc_hidden_proto.
1428 (wcscoll): Likewise.
1429 * posix/regcomp.c (build_range_exp): Call __wcscoll instead of
1431 * posix/regexec.c (check_node_accept_bytes): Likewise.
1432 * conform/Makefile (test-xfail-XPG3/regex.h/linknamespace): Remove
1434 (test-xfail-XPG4/regex.h/linknamespace): Likewise.
1435 (test-xfail-POSIX/regex.h/linknamespace): Likewise.
1438 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs): Rename to
1439 __fstatvfs and define as weak alias of __fstatvfs. Use
1441 * sysdeps/unix/sysv/linux/statvfs.c (statvs): Rename to __statvfs
1442 and define as weak alias of __statvfs. Use libc_hidden_weak.
1443 * sysdeps/unix/sysv/linux/wordsize-64/fstatvfs.c (__fstatvfs64):
1444 Define as alias of __fstatvfs, not fstatvfs.
1445 (fstatvfs64): Likewise.
1446 * sysdeps/unix/sysv/linux/wordsize-64/statvfs.c (__statvfs64):
1447 Define as alias of __statvfs, not statvfs.
1448 (statvfs64): Likewise.
1449 * conform/Makefile (test-xfail-POSIX/unistd.h/linknamespace):
1452 2015-06-09 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1454 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
1455 (HAVE_GETCPU_VSYSCALL): Define.
1456 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
1457 (HAVE_GETCPU_VSYSCALL): Likewise.
1458 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Remove file.
1459 * sysdeps/unix/sysv/linux/sched_getcpu.c
1460 (HAVE_VSYSCALL) [HAVE_GETCPU_VSYSCALL]: Define.
1461 (sched_getcpu): Use INLINE_VSYSCALL instead of INLINE_SYSCALL.
1462 * sysdeps/unix/sysv/linux/x86/libc-vdso.h (getcpu): Add vDSO
1464 * sysdeps/unix/sysv/linux/x86_64/init-first.c
1465 (__vdso_platform_setup): Remove vsyscall getcpu fallback.
1466 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Remove file.
1467 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (HAVE_GETCPU_VSYSCALL):
1469 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: Remove file.
1470 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
1471 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c: Likewise.
1472 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
1474 2015-06-09 Andrew Senkevich <andrew.senkevich@intel.com>
1476 * sysdeps/x86_64/fpu/Makefile: New file.
1477 * sysdeps/x86_64/fpu/Versions: New file.
1478 * sysdeps/x86_64/fpu/svml_d_cos_data.S: New file.
1479 * sysdeps/x86_64/fpu/svml_d_cos_data.h: New file.
1480 * sysdeps/x86_64/fpu/svml_d_cos2_core.S: New file.
1481 * sysdeps/x86_64/fpu/svml_d_cos4_core.S: New file.
1482 * sysdeps/x86_64/fpu/svml_d_cos4_core_avx.S: New file.
1483 * sysdeps/x86_64/fpu/svml_d_cos8_core.S: New file.
1484 * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: New file.
1485 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: New file.
1486 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S: New file.
1487 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: New file.
1488 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S: New file.
1489 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: New file.
1490 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: New file.
1491 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
1492 Added build of SSE, AVX2 and AVX512 IFUNC versions.
1493 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for cos.
1494 * math/bits/mathcalls.h: Added cos declaration with __MATHCALL_VEC.
1495 * sysdeps/x86_64/configure.ac: Options for libmvec build.
1496 * sysdeps/x86_64/configure: Regenerated.
1497 * sysdeps/x86_64/sysdep.h (cfi_offset_rel_rsp): New macro.
1498 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New file.
1499 * manual/install.texi (Configuring and compiling): Document
1501 * INSTALL: Regenerated.
1502 * NEWS: Mention addition of libmvec and x86_64 vector cos.
1504 * math/Makefile: Added rules for vector tests.
1505 * math/gen-libm-have-vector-test.sh: Added generation of wrapper
1506 declaration under condition.
1507 * math/test-double-vlen2.h: New file.
1508 * math/test-double-vlen4.h: New file.
1509 * math/test-double-vlen8.h: New file.
1510 * math/test-vec-loop.h: Added initialization macro.
1511 * sysdeps/x86_64/fpu/Makefile: Added variables for vector tests.
1512 * sysdeps/x86_64/fpu/libm-test-ulps: Regenarated.
1513 * sysdeps/x86_64/fpu/math-tests-arch.h: New file.
1514 * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: New file.
1515 * sysdeps/x86_64/fpu/test-double-vlen2.c: New file.
1516 * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: New file.
1517 * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: New file.
1518 * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: New file.
1519 * sysdeps/x86_64/fpu/test-double-vlen4.c: New file.
1520 * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: New file.
1521 * sysdeps/x86_64/fpu/test-double-vlen8.c: New file.
1523 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
1524 * sysdeps/x86_64/fpu/Versions: New versions added.
1525 * sysdeps/x86_64/fpu/svml_s_cosf4_core.S: New file.
1526 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core.S: New file.
1527 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S: New file.
1528 * sysdeps/x86_64/fpu/svml_s_cosf8_core_avx.S: New file.
1529 * sysdeps/x86_64/fpu/svml_s_cosf8_core.S: New file.
1530 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core.S: New file.
1531 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S: New file.
1532 * sysdeps/x86_64/fpu/svml_s_cosf16_core.S: New file.
1533 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: New file.
1534 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S: New file.
1535 * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: New file.
1536 * sysdeps/x86_64/fpu/svml_s_cosf_data.S: New file.
1537 * sysdeps/x86_64/fpu/svml_s_cosf_data.h: New file.
1538 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
1539 Added build of SSE, AVX2 and AVX512 IFUNC versions.
1540 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
1541 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for cosf.
1542 * NEWS: Mention addition of x86_64 vector cosf.
1544 * math/Makefile: Added CFLAGS for new tests.
1545 * math/test-float-vlen16.h: New file.
1546 * math/test-float-vlen4.h: New file.
1547 * math/test-float-vlen8.h: New file.
1548 * math/test-double-vlen2.h: Fixed 2 argument macro and comment.
1549 * sysdeps/x86_64/fpu/Makefile: Added new tests and variables.
1550 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
1551 * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: New file.
1552 * sysdeps/x86_64/fpu/test-float-vlen16.c: New file.
1553 * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: New file.
1554 * sysdeps/x86_64/fpu/test-float-vlen4.c: New file.
1555 * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: New file.
1556 * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: New file.
1557 * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: New file.
1558 * sysdeps/x86_64/fpu/test-float-vlen8.c: New file.
1560 2015-06-09 Marko Myllynen <myllynen@redhat.com>
1562 * locale/C-ctype.c (PREDEFINED_CLASSES): Remove.
1563 * locale/programs/ld-ctype.c: Likewise.
1565 2015-06-08 Andrew Senkevich <andrew.senkevich@intel.com>
1567 * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX512F_Usable,
1568 bit_AVX512DQ_Usable, bit_Opmask_state, bit_ZMM0_15_state,
1569 bit_ZMM16_31_state): New macro.
1570 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
1571 Check and set bit_AVX512F_Usable, bit_AVX512DQ_Usable.
1573 2015-06-08 Joseph Myers <joseph@codesourcery.com>
1575 * include/stdio.h (__open_memstream): Say "C++ tests" in comment.
1577 2015-06-06 Justus Winter <4winter@informatik.uni-hamburg.de>
1579 * mach/mach/mach_traps.h (thread_switch): Fix typo in comment.
1581 2015-06-05 Joseph Myers <joseph@codesourcery.com>
1584 * libio/memstream.c (open_memstream): Rename to __open_memstream
1585 and define as weak alias of __open_memstream.
1586 * include/stdio.h (__open_memstream): Declare. Use
1588 (open_memstream): Don't use libc_hidden_proto.
1589 * misc/syslog.c (__vsyslog_chk): Call __open_memstream instead of
1591 * posix/getopt.c (_getopt_internal_r): Likewise.
1592 * conform/Makefile (test-xfail-XPG3/stdio.h/linknamespace): Remove
1594 (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
1595 (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
1596 (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
1599 * posix/regex_internal.c (build_wcs_upper_buffer): Call __wcrtomb
1603 * signal/signal.h [__USE_XOPEN2K] (psignal): Change condition to
1604 [__USE_XOPEN2K8]. Remove redundant #endif.
1605 [__USE_XOPEN2K] (psiginfo): Change condition to [__USE_XOPEN2K8].
1606 Remove redundant #if.
1607 * conform/Makefile (test-xfail-XOPEN2K/signal.h/linknamespace):
1609 (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
1610 (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
1613 * wctype/wcfuncs.c (__iswalnum): Use libc_hidden_def.
1614 (__iswlower): Likewise.
1615 * include/wctype.h (__iswalnum): Declare. Use libc_hidden_proto.
1616 (__iswlower): Likewise.
1617 * posix/regcomp.c (re_compile_fastmap_iter): Call __towlower
1618 instead of towlower.
1619 * posix/regex_internal.c (build_wcs_upper_buffer): Call __iswlower
1620 instead of iswlower. Call __towupper instead of towupper.
1621 * posix/regex_internal.h (IS_WIDE_WORD_CHAR): Call __iswalnum
1622 instead of iswalnum.
1624 2015-06-05 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
1626 * malloc/tst-malloc-backtrace.c (do_test): Redirect libc fatal
1629 2015-06-05 Florian Weimer <fweimer@redhat.com>
1633 * sysdeps/posix/posix_fallocate64.c (__posix_fallocate64_l64):
1634 Check for overflow properly. Check for O_APPEND. Ignore large
1635 file system block sizes. Add comments about problems.
1636 * sysdeps/posix/posix_fallocate.c (posix_fallocate): Likewise.
1637 * manual/filesys.texi (Storage Allocation): New node.
1639 2015-06-04 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1641 * sysdeps/unix/sysdep.h [SYSCALL_CANCEL]: New macro: define
1642 cancellable syscalls.
1643 (SYS_ify): Add guard to no redefine it.
1644 (INLINE_SYSCALL): Likewise.
1645 * sysdeps/unix/sysv/linux/accept4.c (accept4): Remove
1646 LIBC_CANCEL_ASYNC/INLINE_SYSCALL/LIBC_CANCEL_RESET and use
1647 SYSCALL_CANCEL instead.
1648 * sysdeps/unix/sysv/linux/alpha/fdatasync.c (__fdatasync): Likewise.
1649 * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
1650 * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
1651 * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
1652 * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
1653 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Likewise.
1654 * sysdeps/unix/sysv/linux/fallocate.c (fallocate): Likewise.
1655 * sysdeps/unix/sysv/linux/fallocate64.c (fallocate64): Likewise.
1656 * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
1657 * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
1658 * sysdeps/unix/sysv/linux/generic/pause.c (__libc_pause): Likewise.
1659 * sysdeps/unix/sysv/linux/generic/poll.c (__poll): Likewise.
1660 * sysdeps/unix/sysv/linux/generic/recv.c (__libc_recv): Likewise.
1661 * sysdeps/unix/sysv/linux/generic/select.c (__select): Likewise.
1662 * sysdeps/unix/sysv/linux/generic/send.c (__libc_send): Likewise.
1663 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
1665 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
1666 (__libc_pread64): Likewise.
1667 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c
1668 (__libc_preadv): Likewise.
1669 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c
1670 (__libc_readv64): Likewise.
1671 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
1672 (__libc_pwrite): Likewise.
1673 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
1674 (__libc_pwrite64): Likewise.
1675 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c
1676 (__libc_pwritev): Likewise.
1677 * sysdeps/sysv/linux/generic/wordsize-32/pwritev64.c
1678 (__libc_pwritev64): Likewise.
1679 * sysdeps/unix/sysv/linux/i386/fcntl.c (__libc_fcntl): Likewise.
1680 * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c
1681 (sync_file_range): Likewise.
1682 * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate.c (fallocate):
1684 * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate64.c (fallocate64):
1686 * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
1687 * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
1688 * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
1689 * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
1690 * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
1691 * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
1692 * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
1693 * sysdeps/unix/sysv/linux/openat.c (__libc_openat): Likewise.
1694 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
1696 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
1697 (__libc_read64): Likewise.
1698 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_write):
1700 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c (__libc_write64):
1702 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fcntl.c (__libc_fcntl):
1704 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c (__libc_pread):
1706 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
1707 (__libc_pread64): Likewise.
1708 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c (__libc_pwrite):
1710 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
1711 (__libc_pwrite64): Likewise.
1712 * sysdeps/sysv/linux/powerpc/powerpc64/sync_file_range.c
1713 (sync_file_range): Likewise.
1714 * sysdeps/unix/sysv/linux/ppoll.c (ppoll): Likewise.
1715 * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
1716 * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
1717 * sysdeps/unix/sysv/linux/preadv.c (__libc_preadv): Likewise.
1718 * sysdeps/unix/sysv/linux/pselect.c (__pselect): Likewise.
1719 * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
1720 * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
1721 * sysdeps/unix/sysv/linux/pwritev.c (PWRITEV): Likewise.
1722 * sysdeps/unix/sysv/linux/readv.c (__libc_readv): Likewise.
1723 * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
1724 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
1725 * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
1726 * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
1727 * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
1728 * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_pwrite64): Likewise.
1729 * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
1730 * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
1731 * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
1732 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
1734 * sysdeps/unix/sysv/linux/sync_file_range.c (sync_file_range):
1736 * sysdeps/unix/sysv/linux/tcdrain.c (__libc_tcdrain): Likewise.
1737 * sysdeps/unix/sysv/linux/timer_routines.c (timer_helper_thread):
1739 * sysdeps/unix/sysv/linux/wait.c (__libc_wait): Likewise.
1740 * sysdeps/unix/sysv/linux/waitid.c (__waitid): Likewise.
1741 * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Likewise.
1742 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c (fallocate):
1744 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c (preadv): Likewise.
1745 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c (pwritev): Likewise.
1746 * sysdeps/unix/sysv/linux/writev.c (__libc_writev): Likewise.
1747 * sysdeps/unix/sysv/linux/x86_64/recv.c (__libc_recv): Likewise.
1748 * sysdeps/unix/sysv/linux/x86_64/send.c (__libc_send): Likewise.
1750 2015-06-04 Nathan Lynch <nathan_lynch@codesourcery.com>
1752 * sysdeps/unix/sysv/linux/arm/Makefile: (sysdep_routines):
1754 * sysdeps/unix/sysv/linux/arm/init-first.c: New file:
1755 Use VDSO routines for gettimeofday, clock_gettime if
1757 * sysdeps/unix/sysv/linux/arm/libc-vdso.h: New file:
1758 Declare VDSO symbols.
1759 * sysdeps/unix/sysv/linux/arm/sysdep.h:
1760 [HAVE_GETTIMEOFDAY_VSYSCALL]: Define.
1761 [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
1762 * sysdeps/unix/sysv/linux/arm/Versions: Add
1763 __vdso_clock_gettime.
1765 2015-06-04 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1767 * sysdeps/unix/sysv/linux/not-cancel.h (open_not_cancel): Rewrite to
1768 be an inline implementation regardless of library is built within.
1769 (open_not_cancel_2): Likewise.
1770 (__read_nocancel): Likewise.
1771 (__write_nocancel): Likewise.
1772 (openat_not_cancel): Likewise.
1773 (openat_not_cancel_3): Likewise.
1774 (openat64_not_cancel): Likewise.
1775 (openat64_not_cancel_3): Likewise.
1776 (__close_nocancel): Likewise.
1777 (pause_not_cancel): Likewise.
1778 (nanosleep_not_cancel): Likewise.
1779 (sigsuspend_not_cancel): Likewise.
1781 2015-06-04 Torvald Riegel <triegel@redhat.com>
1784 * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock): Add missing
1786 (__pthread_rwlock_rdlock_slow): Likewise.
1787 * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
1789 * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
1791 * nptl/pthread_rwlock_unlock.c (__pthread_rwlock_unlock): Add comments.
1792 * nptl/tst-rwlock16.c: New file.
1793 * nptl/Makefile (tests): Add new test.
1795 2015-06-04 Torvald Riegel <triegel@redhat.com>
1798 * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock): Add
1799 missing wake-up of readers.
1800 * nptl/tst-rwlock15.c: New file.
1801 * nptl/Makefile (tests): Add new test.
1803 2015-06-03 Roland McGrath <roland@hack.frob.com>
1805 * sysdeps/nacl/nacl-interfaces.c (try_supply): New static function.
1806 (PASTE_NAME (__nacl_supply_interface_, MODULE_NAME)): New function.
1807 * sysdeps/nacl/nacl-interfaces.h: Declare __nacl_supply_interface_libc
1808 and __nacl_supply_interface_rtld.
1809 * sysdeps/nacl/nacl_interface_ext_supply.c: New file.
1810 * sysdeps/nacl/Makefile [$(subdir) = csu] (sysdep_routines): Add it.
1811 * sysdeps/nacl/Versions (ld: GLIBC_PRIVATE):
1812 Add __nacl_supply_interface_rtld.
1813 (libc: GLIBC_2.22): Add nacl_interface_ext_supply.
1815 2015-06-03 Wilco Dijkstra <wdijkstr@arm.com>
1817 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Replace finite with
1819 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
1820 * sysdeps/ieee754/ldbl-opt/nldbl-finite.c (__finitel): Likewise.
1822 2015-06-03 Wilco Dijkstra <wdijkstr@arm.com>
1824 * math/e_exp10.c: Replace __isinf*, __isnan*, __finite* and
1825 __signbit* with standard C99 macros.
1826 * math/e_exp10l.c: Likewise.
1827 * math/e_exp2l.c: Likewise.
1828 * math/e_scalb.c: Likewise.
1829 * math/e_scalbf.c: Likewise.
1830 * math/e_scalbl.c: Likewise.
1831 * math/s_ldexp.c: Likewise.
1832 * math/s_ldexpf.c: Likewise.
1833 * math/s_ldexpl.c: Likewise.
1834 * math/w_atan2.c: Likewise.
1835 * math/w_atan2f.c: Likewise.
1836 * math/w_atan2l.c: Likewise.
1837 * math/w_cosh.c: Likewise.
1838 * math/w_coshf.c: Likewise.
1839 * math/w_coshl.c: Likewise.
1840 * math/w_exp10.c: Likewise.
1841 * math/w_exp10f.c: Likewise.
1842 * math/w_exp10l.c: Likewise.
1843 * math/w_exp2.c: Likewise.
1844 * math/w_exp2f.c: Likewise.
1845 * math/w_exp2l.c: Likewise.
1846 * math/w_fmod.c: Likewise.
1847 * math/w_fmodf.c: Likewise.
1848 * math/w_fmodl.c: Likewise.
1849 * math/w_hypot.c: Likewise.
1850 * math/w_hypotf.c: Likewise.
1851 * math/w_hypotl.c: Likewise.
1852 * math/w_jnl.c: Likewise.
1853 * math/w_lgamma.c: Likewise.
1854 * math/w_lgamma_r.c: Likewise.
1855 * math/w_lgammaf.c: Likewise.
1856 * math/w_lgammaf_r.c: Likewise.
1857 * math/w_lgammal.c: Likewise.
1858 * math/w_lgammal_r.c: Likewise.
1859 * math/w_pow.c: Likewise.
1860 * math/w_powf.c: Likewise.
1861 * math/w_powl.c: Likewise.
1862 * math/w_remainder.c: Likewise.
1863 * math/w_remainderf.c: Likewise.
1864 * math/w_remainderl.c: Likewise.
1865 * math/w_scalb.c: Likewise.
1866 * math/w_scalbf.c: Likewise.
1867 * math/w_scalbl.c: Likewise.
1868 * math/w_scalbln.c: Likewise.
1869 * math/w_scalblnf.c: Likewise.
1870 * math/w_scalblnl.c: Likewise.
1871 * math/w_sinh.c: Likewise.
1872 * math/w_sinhf.c: Likewise.
1873 * math/w_sinhl.c: Likewise.
1874 * math/w_tgamma.c: Likewise.
1875 * math/w_tgammaf.c: Likewise.
1876 * math/w_tgammal.c: Likewise.
1877 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
1878 * sysdeps/ieee754/dbl-64/e_exp10.c: Likewise.
1879 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
1880 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
1881 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
1882 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
1883 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
1884 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
1885 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
1886 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
1887 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
1888 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
1889 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
1890 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
1891 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
1892 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
1893 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
1894 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
1895 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
1896 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
1897 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
1898 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
1899 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
1900 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
1901 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
1902 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
1903 * sysdeps/ieee754/ldbl-128ibm/w_expl.c: Likewise.
1904 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
1905 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
1906 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
1907 * sysdeps/ieee754/ldbl-opt/nldbl-finite.c: Likewise.
1908 * sysdeps/ieee754/ldbl-opt/nldbl-isinf.c: Likewise.
1909 * sysdeps/ieee754/ldbl-opt/nldbl-isnan.c: Likewise.
1910 * sysdeps/ieee754/ldbl-opt/nldbl-signbit.c: Likewise.
1911 * stdio-common/printf_fp.c: Likewise.
1912 * stdio-common/printf_fphex.c: Likewise.
1913 * stdio-common/printf_size.c: Likewise.
1915 2015-06-03 Joseph Myers <joseph@codesourcery.com>
1918 * posix/fnmatch.c (fnmatch) [_LIBC]: Call __strnlen instead of
1920 * conform/Makefile (test-xfail-XPG3/fnmatch.h/linknamespace):
1922 (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
1923 (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
1924 (test-xfail-POSIX/glob.h/linknamespace): Likewise.
1925 (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
1926 (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
1927 (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
1928 (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
1929 (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
1930 (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
1931 (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
1934 * wcsmbs/wmemchr.c (wmemchr): Rename to __wmemchr and define as
1935 weak alias of __wmemchr. Use libc_hidden_weak.
1936 * include/wchar.h (__wmemchr): Declare. Use libc_hidden_proto.
1937 * posix/fnmatch.c [HANDLE_MULTIBYTE] (MEMCHR): Use __wmemchr
1940 2015-06-02 Roland McGrath <roland@hack.frob.com>
1943 * elf/tst-tlsalign-extern.c: New file.
1944 * elf/tst-tlsalign-extern-static.c: New file.
1945 * elf/tst-tlsalign-vars.c: New file.
1946 * elf/Makefile (tests-static): Add tst-tlsalign-extern-static.
1947 [$(build-shared) = yes] (tests): Add tst-tlsalign-extern.
1948 ($(objpfx)tst-tlsalign-extern): Depend on tst-tlsalign-vars.o.
1949 ($(objpfx)tst-tlsalign-extern-static): Likewise.
1950 (test-xfail-tst-tlsalign-extern-static): New variable.
1952 2015-06-02 Joseph Myers <joseph@codesourcery.com>
1954 * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h (INLINE_SYSCALL):
1955 Use variable name _sc_err instead of err.
1956 [__mips16] (INTERNAL_SYSCALL_NCS): Use variable name _sc_ret
1958 * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h
1959 (INLINE_SYSCALL): Use variable name _sc_err instead of err.
1960 * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h
1961 (INLINE_SYSCALL): Likewise.
1963 * string/strnlen.c [!STRNLEN] (__strnlen): Use libc_hidden_def.
1964 * include/string.h (__strnlen): Use libc_hidden_proto.
1965 * sysdeps/aarch64/strnlen.S (__strnlen): Use libc_hidden_def.
1966 * sysdeps/i386/i686/multiarch/strnlen-c.c [SHARED]
1967 (libc_hidden_def): Define __GI___strnlen as well as __GI_strnlen.
1968 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-power7.S
1969 (libc_hidden_def): Undefine and redefine.
1970 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c
1971 [SHARED] (libc_hidden_def): Define __GI___strnlen as well as
1973 * sysdeps/powerpc/powerpc32/power7/strnlen.S (__strnlen): Use
1975 * sysdeps/tile/tilegx/strnlen.c (__strnlen): Likewise.
1978 * wctype/wcfuncs.c (towlower): Rename to __towlower and define as
1979 weak alias of __towlower. Use libc_hidden_weak.
1980 (towupper): Rename to __towupper and define as weak alias of
1981 __towupper. Use libc_hidden_weak.
1982 * include/wctype.h (__towlower): Declare. Use libc_hidden_proto.
1983 (__towupper): Likewise.
1984 * posix/fnmatch.c [HANDLE_MULTIBYTE && _LIBC] (FOLD): Use
1985 __towlower instead of towlower.
1987 2015-06-02 Roland McGrath <roland@hack.frob.com>
1989 * stdlib/setenv.c [__GNUC__,__GNUC_MINOR__ < 4,7]: Use
1990 "-Wuninitialized" rather than "-Wmaybe-uninitialized" in pragma.
1992 2015-06-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
1994 * sysdeps/aarch64/libm-test-ulps: Update.
1996 2015-06-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1998 * sysdeps/unix/sysv/linux/i386/sysdep.h (HAVE_CLOCK_GETTIME_VSYSCALL):
2000 (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
2001 * sysdeps/unix/sysv/linux/x86_64/sysdep.h
2002 (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
2003 (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
2004 * sysdeps/unix/sysv/linux/timespec_get.c: Include errno.h.
2005 * sysdeps/unix/sysv/linux/x86/clock_gettime.c: Remove file.
2006 * sysdeps/unix/sysv/linux/x86/timespec_get.c: Likewise.
2008 2015-06-01 Martin Sebor <msebor@redhat.com>
2011 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
2012 (__setcontext): Use extended four-operand version of mtsf whenever
2014 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
2015 (__novec_swapcontext): Likewise.
2017 2015-06-01 Siddhesh Poyarekar <siddhesh@redhat.com>
2019 * benchtests/scripts/compare_bench.py: New file.
2020 * benchtests/scripts/import_bench.py (mean): New function.
2021 (split_list): Likewise.
2022 (do_for_all_timings): Likewise.
2023 (compress_timings): Likewise.
2025 * benchtests/scripts/import_bench.py: New file.
2026 * benchtests/scripts/validate_benchout.py: Import import_bench
2027 instead of jsonschema.
2028 (validate_bench): Remove function.
2029 (main): Use import_bench.
2031 2015-06-01 Steve Ellcey <sellcey@imgtec.com>
2033 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Use a union to
2034 copy data from cur_ifr->ifr_addr and cur_ifr->ifr_netmask.
2036 2015-05-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2038 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2040 2015-05-28 Roland McGrath <roland@hack.frob.com>
2042 * sysdeps/nacl/exit-thread.h (__exit_thread): If not detached,
2043 set THREAD_SELF->tid to a magic value and futex-wake it.
2044 Pass its address to the thread_exit system call.
2045 * sysdeps/nacl/pthread-pids.h (__nacl_get_tid): Assert that TID's low
2047 * sysdeps/nacl/lowlevellock.h: New file.
2048 * sysdeps/nacl/lll_timedwait_tid.c: New file.
2050 * sysdeps/nacl/lowlevellock-futex.h (lll_futex_timed_wait):
2051 Add TIMEOUT to current time, don't subtract it.
2053 2015-05-28 H.J. Lu <hongjiu.lu@intel.com>
2056 * Makefile ($(objpfx)tst-audit2): Depend on $(libdl).
2057 ($(objpfx)tst-audit2.out): Also depend on
2058 $(objpfx)tst-auditmod9b.so.
2059 * elf/tst-audit2.c: Include <dlfcn.h>.
2060 (calloc_called): New.
2061 (calloc): Allow to be called more than once.
2062 (do_test): dllopen/dlclose $ORIGIN/tst-auditmod9b.so.
2064 2015-05-28 Wilco Dijkstra <wdijkstr@arm.com>
2066 * sysdeps/ieee754/dbl-64/s_fabs.c: (__fabs): Call __builtin_fabs.
2067 * sysdeps/ieee754/flt-32/s_fabsf.c: (__fabsf): Likewise.
2069 2015-05-27 Marko Myllynen <myllynen@redhat.com>
2071 * stdlib/monetary.h: Fix comment.
2073 2015-05-26 Chris Metcalf <cmetcalf@ezchip.com>
2075 * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_SYSCALL):
2076 Avoid using variables in #defines that might cause shadowing.
2077 (INTERNAL_VSYSCALL_CALL): Likewise.
2079 2015-05-26 Roland McGrath <roland@hack.frob.com>
2081 * sysdeps/nacl/lll_timedlock_wait.c: New file.
2083 * nptl/lowlevellock.c (__lll_timedlock_wait): Moved ...
2084 * nptl/lll_timedlock_wait.c: ... to this new file.
2085 * nptl/Makefile (libpthread-routines): Add it.
2086 * nptl/lowlevellock.c (__lll_timedwait_tid): Moved ...
2087 * nptl/lll_timedwait_tid.c: ... to this new file.
2088 * nptl/Makefile (libpthread-routines): Add it.
2089 * sysdeps/sparc/sparc32/lll_timedlock_wait.c: New file.
2090 * sysdeps/sparc/sparc32/lll_timedwait_tid.c: New file.
2091 * sysdeps/unix/sysv/linux/i386/i486/lll_timedlock_wait.c: New file.
2092 * sysdeps/unix/sysv/linux/i386/i586/lll_timedlock_wait.c: New file.
2093 * sysdeps/unix/sysv/linux/i386/i686/lll_timedlock_wait.c: New file.
2094 * sysdeps/unix/sysv/linux/i386/i486/lll_timedwait_tid.c: New file.
2095 * sysdeps/unix/sysv/linux/i386/i586/lll_timedwait_tid.c: New file.
2096 * sysdeps/unix/sysv/linux/i386/i686/lll_timedwait_tid.c: New file.
2097 * sysdeps/unix/sysv/linux/x86_64/lll_timedlock_wait.c: New file.
2098 * sysdeps/unix/sysv/linux/x86_64/lll_timedwait_tid.c: New file.
2100 2015-05-26 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2102 * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c: Remove file.
2103 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
2104 * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
2105 * sysdeps/unix/sysv/linux/aarch64/sysdep.h
2106 (HAVE_GETTIMEOFDAY_VSYSCALL): Define.
2107 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
2108 (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
2109 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
2110 (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
2111 * sysdeps/unix/sysv/linux/tile/sysdep.h
2112 (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
2113 * sysdeps/unix/sysv/linux/gettimeofday.c: New file: gettimeofday
2114 using vDSO syscall macro.
2116 2015-05-26 Andriy Rysin <arysin@gmail.com>
2119 * uk_UA: Fix sorting order for Ukrainian locale
2121 2015-05-26 Marko Myllynen <myllynen@redhat.com>
2123 * stdlib/monetary.h: Fix comment.
2125 2015-05-26 Szabolcs Nagy <szabolcs.nagy@arm.com>
2128 * conform/data/sys/stat.h-data (struct stat): Add tests for st_atim,
2129 st_mtim and st_ctim members.
2130 * sysdeps/nacl/bits/stat.h (struct stat, struct stat64): Make
2131 st_atim, st_ctim, st_mtim visible under __USE_XOPEN2K8 only.
2132 * sysdeps/unix/sysv/linux/generic/bits/stat.h (struct stat,):
2133 (struct stat64): Likewise.
2134 * sysdeps/unix/sysv/linux/ia64/bits/stat.h (struct stat,):
2135 (struct stat64): Likewise.
2136 * sysdeps/unix/sysv/linux/microblaze/bits/stat.h (struct stat,):
2137 (struct stat64): Likewise.
2139 2015-05-26 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2141 * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c (HAVE_VSYSCALL):
2142 Define and include sysdep-vdso.h.
2143 * sysdeps/unix/sysv/linux/s390/gettimeofday.c (HAVE_VSYSCALL):
2145 * sysdeps/unix/sysv/linux/tile/gettimeofday.c (HAVE_VSYSCALL):
2147 * sysdeps/unix/sysv/linux/aarch64/init-first.c (__vdso_gettimeofday):
2148 Define with VDSO_SYMBOL and use PTR_MANGLE.
2149 (__vdso_clock_gettime): Likewise.
2150 (__vdso_clock_getres): Likewise.
2151 (_libc_vdso_platform_setup): Likewise.
2152 * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
2154 (_libc_vdso_platform_setup): Likewise.
2155 * sysdeps/unix/sysv/linux/powerpc/init-first.c (__vdso_gettimeofday):
2157 (__vdso_clock_gettime): Likewise.
2158 (__vdso_clock_getres): Likewise.
2159 (__vdso_get_tbfreq): Likewise.
2160 (__vdso_getcpu): Likewise.
2161 (__vdso_time): Likewise.
2162 (__vdso_sigtramp_rt64): Likewise.
2163 (__vdso_signtramp32): Likewise.
2164 (__vdso_sigtramp_rt32): Likewise.
2165 (_libc_vdso_platform_setup): Likewise.
2166 * sysdeps/unix/sysv/linux/s390/init-first.c (__vdso_gettimeofay):
2168 (__vdso_clock_gettime): Likewise.
2169 (__vdso_clock_getres): Likewise.
2170 (_libc_vdso_platform_setup): Likewise.
2171 * sysdeps/unix/sysv/linux/tile/init-first.c (__vdso_gettimeofday):
2173 (__vdso_clock_gettime): Likewise.
2174 (_libc_vdso_platform_setup): Likewise.
2175 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
2177 (__vdso_getcpu): Likewise.
2178 * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h (__vdso_gettimeoday):
2179 Use VDSO_SYMBOL macro to define.
2180 (__vdso_clock_gettime): Likewise.
2181 (__vdso_clock_getres): Likewise.
2182 * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h (__vdso_gettimeofday):
2184 (__vdso_clock_gettime): Likewise.
2185 (__vdso_clock_getres): Likewise.
2186 (__vdso_get_tbfreq): Likewise.
2187 (__vdso_getcpu): Likewise.
2188 (__vdso_time): Likewise.
2189 (__vdso_sigtramp_rt64): Likewise.
2190 (__vdso_signtramp32): Likewise.
2191 (__vdso_sigtramp_rt32): Likewise.
2192 * sysdeps/unix/sysv/linux/s390/libc-vdso.h (__vdso_gettimeofday):
2194 (__vdso_clock_gettime): Likewise.
2195 (__vdso_clock_getres): Likewise.
2196 * sysdeps/unix/sysv/linux/tile/libc-vdso.h (__vdso_gettimeofday):
2198 (__vdso_clock_gettime): Likewise.
2199 * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
2201 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INLINE_VSYSCALL): Remove
2203 (INTERNAL_VSYSCALL): Likewise.
2204 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h (INLINE_VSYSCALL):
2206 (INTERNAL_VSYSCALL): Likewise.
2207 (INTERNAL_VSYSCALL_NCS): Likewise.
2208 (INTERNAL_VSYSCALL_CALL): New macro.
2209 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
2210 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h (INLINE_VSYSCALL):
2212 (INTERNAL_VSYSCALL): Likewise.
2213 (INTERNAL_VSYSCALL_NCS): Likewise.
2214 (INTERNAL_VSYSCALL_CALL): New macro.
2215 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
2216 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
2217 (INLINE_VSYSCALL): Remove macro.
2218 (INTERNAL_VSYSCALL): Remove macro.
2219 (INTERNAL_VSYSCALL_NCS): Remove macro.
2220 (INTERNAL_VSYSCALL_CALL): New macro.
2221 (INTERNAL_VSYSCALL_CALL_TYPE): New macro.
2222 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL.
2223 (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
2224 (HAVE_CLOCK_GETRES_VSYSCALL): New define.
2225 (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
2226 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
2227 (INLINE_VSYSCALL): Remove macro.
2228 (INTERNAL_VSYSCALL): Likewise.
2229 (INTERNAL_VSYSCALL_NCS): Likewise.
2230 (INTERNAL_VSYSCALL_CALL): New macro.
2231 (INTERNAL_VSYSCALL_CALL_TYPE): Likewise.
2232 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL and
2233 PTR_DEMANGLE on vDSO pointer.
2234 (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
2235 * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Remove
2237 (INTERNAL_SYSCALL): Likewise.
2238 (INTERNAL_VSYSCALL_NCS): Remove macro.
2239 (INTERNAL_VSYSCALL_CALL): New macro.
2240 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_VSYSCALL):
2242 (INTERNAL_VSYSCALL): Likewise.
2243 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Include
2244 sysdep-vdso.h instead of libc-vdso.h.
2245 * sysdeps/unix/sysv/linux/clock_getres.c (INTERNAL_VSYSCALL): Remove
2247 (INLINE_VSYSCALL): Likewise.
2248 (HAVE_VSYSCALL) [HAVE_CLOCK_GETRES_VSYSCALL]: Define.
2249 * sysdeps/unix/sysv/linux/clock_gettime.c (INTERNAL_VSYSCALL): Remove
2251 (INLINE_VSYSCALL): Likewise.
2252 (INTERNAL_VSYSCALL): Likewise.
2253 (HAVE_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
2254 * sysdeps/unix/sysv/linux/timespec_get.c
2255 (INTERNAL_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
2256 (timespec_get): Use ANSI prototype.
2257 * sysdeps/unix/sysv/linux/sysdep-vdso.h: New file: default vDSO macros
2258 and definition for Linux.
2260 2015-05-25 Andrew Senkevich <andrew.senkevich@intel.com>
2262 * elf/Makefile (localplt-built-dso): libmvec added to localplt test.
2263 * include/libc-symbols.h: libmvec_hidden_* macro series added.
2265 2015-05-22 H.J. Lu <hongjiu.lu@intel.com>
2268 * elf/dl-reloc.c (_dl_relocate_object): Don't issue an error
2269 for missing DT_PLTRELSZ.
2271 2015-05-22 Paul Eggert <eggert@cs.ucla.edu>
2273 Remove obsolete aliases that broke 'locale -a'
2275 * intl/locale.alias: Remove obsolete aliases "bokmål" and "français"
2276 which caused 'locale -a' to output Latin-1 data in UTF-8 locales,
2277 breaking some applications that use 'locale -a' output.
2278 Change the encoding of this file from Latin-1 to ASCII to avoid
2279 other potential problems with people grepping this file.
2281 2015-05-22 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2283 * nptl/Makefile (CFLAGS-accept.c): Add -fexceptions and
2284 -fasynchronous-unwind-tables.
2285 (CFLAGS-sendto.c): Likewise.
2286 (CFLAGS-sendmsg.c): Likewise.
2287 (CFLAGS-connect.c): Likewise.
2288 (CFLAGS-recvmsg.c): Likewise.
2289 (CFLAGS-recvfrom.c): Likewise.
2290 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_invalid): Define.
2291 (SOCKETCALL): New macro: non-cancellable socketcall.
2292 (SOCKETCALL_CANCEL): New macro: cancellable socketcall.
2293 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = socket]: Remove
2294 internal_accept4, internal_recvmmsg, and internal_sendmmsg rules.
2295 * sysdeps/unix/sysv/linux/accept.c: New file.
2296 * sysdeps/unix/sysv/linux/bind.c: Likewise.
2297 * sysdeps/unix/sysv/linux/connect.c: Likewise.
2298 * sysdeps/unix/sysv/linux/getpeername.c: Likewise.
2299 * sysdeps/unix/sysv/linux/getsockname.c: Likewise.
2300 * sysdeps/unix/sysv/linux/getsockopt.c: Likewise.
2301 * sysdeps/unix/sysv/linux/listen.c: Likewise.
2302 * sysdeps/unix/sysv/linux/recv.c: Likewise.
2303 * sysdeps/unix/sysv/linux/recvfrom.c: Likewise.
2304 * sysdeps/unix/sysv/linux/recvmsg.c: Likewise.
2305 * sysdeps/unix/sysv/linux/send.c: Likewise.
2306 * sysdeps/unix/sysv/linux/sendmsg.c: Likewise.
2307 * sysdeps/unix/sysv/linux/sendto.c: Likewise.
2308 * sysdeps/unix/sysv/linux/setsockopt.c: Likewise.
2309 * sysdeps/unix/sysv/linux/shutdown.c: Likewise.
2310 * sysdeps/unix/sysv/linux/socket.c: Likewise.
2311 * sysdeps/unix/sysv/linux/socketpair.c: Likewise.
2312 * sysdeps/unix/sysv/linux/recvmmsg.c (__internal_recvmmsg): Remove
2314 (recvmmsg) [__ASSUME_RECVMMSG_SOCKETCALL]: Add C based implementation.
2315 (recvmmsg) [!__ASSUME_RECVMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
2316 instead of __internal_xxx function.
2317 * sysdeps/unix/sysv/linux/accept4.c (__internal_accept4): Remove
2319 (accept4) [__ASSUME_ACCEPT4_SOCKETCALL]: Add C based implementation.
2320 (accept4) [!__ASSUME_ACCEPT4_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
2321 instead of __internal_xxx function.
2322 * sysdeps/unix/sysv/linux/sendmmsg.c (__internal_sendmmsg): Remove
2324 (sendmmsg) [__ASSUME_SENDMMSG_SOCKETCALL]: Add C based implementation.
2325 (sendmmsg) [!__ASSUME_SENDMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
2326 instead of __internal_xxx function.
2327 * sysdeps/unix/sysv/linux/accept.S: Remove file.
2328 * sysdeps/unix/sysv/linux/bind.S: Likewise.
2329 * sysdeps/unix/sysv/linux/connect.S: Likewise.
2330 * sysdeps/unix/sysv/linux/getpeername.S: Likewise.
2331 * sysdeps/unix/sysv/linux/getsockname.S: Likewise.
2332 * sysdeps/unix/sysv/linux/getsockopt.S: Likewise.
2333 * sysdeps/unix/sysv/linux/arm/internal_accept4.S: Likewise.
2334 * sysdeps/unix/sysv/linux/arm/internal_recvmmsg.S: Likewise.
2335 * sysdeps/unix/sysv/linux/arm/internal_sendmmsg.S: Likewise.
2336 * sysdeps/unix/sysv/linux/i386/accept4.S: Likewise.
2337 * sysdeps/unix/sysv/linux/i386/internal_accept4.S: Likewise.
2338 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
2339 * sysdeps/unix/sysv/linux/internal_accept4.S: Likewise.
2340 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: Likewise.
2341 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: Likewise.
2342 * sysdeps/unix/sysv/linux/listen.S: Likewise.
2343 * sysdeps/unix/sysv/linux/microblaze/socket.S: Likewise.
2344 * sysdeps/unix/sysv/linux/mips/mips32/internal_accept4.S: Likewise.
2345 * sysdeps/unix/sysv/linux/mips/mips32/internal_recvmmsg.S: Likewise.
2346 * sysdeps/unix/sysv/linux/mips/mips32/internal_sendmmsg.S: Likewise.
2347 * sysdeps/unix/sysv/linux/powerpc/powerpc32/socket.S: Likewise.
2348 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S: Likewise.
2349 * sysdeps/unix/sysv/linux/recv.S: Likewise.
2350 * sysdeps/unix/sysv/linux/recvfrom.S: Likewise.
2351 * sysdeps/unix/sysv/linux/recvmsg.S: Likewise.
2352 * sysdeps/unix/sysv/linux/s390/s390-32/socket.S: Likewise.
2353 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
2354 * sysdeps/unix/sysv/linux/send.S: Likewise.
2355 * sysdeps/unix/sysv/linux/sendmsg.S: Likewise.
2356 * sysdeps/unix/sysv/linux/sendto.S: Likewise.
2357 * sysdeps/unix/sysv/linux/setsockopt.S: Likewise.
2358 * sysdeps/unix/sysv/linux/sh/socket.S: Likewise.
2359 * sysdeps/unix/sysv/linux/shutdown.S: Likewise.
2360 * sysdeps/unix/sysv/linux/socketpair.S: Likewise.
2361 * sysdeps/unix/sysv/linux/sparc/sparc32/socket.S: Likewise.
2362 * sysdeps/unix/sysv/linux/sparc/sparc64/socket.S: Likewise.
2363 * sysdeps/unix/sysv/linux/m68k/socket.S: Likewise.
2364 * sysdeps/unix/sysv/linux/hppa/socket.S: Likewise.
2365 * sysdeps/unix/sysv/linux/kernel-features.h: Adjust comment on how
2366 socketcall is implemented in GLIBC.
2368 2015-05-22 Joseph Myers <joseph@codesourcery.com>
2370 * soft-fp/fmadf4.c: Include <libc-internal.h>.
2371 (__fma): Ignore uninitialized warnings around packing.
2372 * soft-fp/fmasf4.c: Include <libc-internal.h>.
2373 (__fmaf): Ignore uninitialized warnings around packing.
2374 * soft-fp/fmatf4.c: Include <libc-internal.h>.
2375 (__fmal): Ignore uninitialized warnings around packing.
2377 * sysdeps/ieee754/ldbl-128/k_tanl.c: Include <libc-internal.h>.
2378 (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
2379 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Include <libc-internal.h>.
2380 (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
2382 * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfcl): Make case 9 in
2383 switch statement into default case.
2384 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Likewise.
2386 * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Don't use
2387 a conditional in forcing "inexact".
2388 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
2391 2015-05-22 Roland McGrath <roland@hack.frob.com>
2393 * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
2394 Use a separate INTERNAL_SYSCALL_DECL (err); in a local scope
2395 for each INTERNAL_SYSCALL use.
2397 2015-05-22 Joseph Myers <joseph@codesourcery.com>
2400 * posix/unistd.h (_POSIX2_C_VERSION): New macro.
2401 * conform/Makefile (test-xfail-POSIX/unistd.h/conform): Remove
2405 * string/basename.c (basename): Rename to __basename and define as
2406 weak alias of __basename. Use libc_hidden_weak.
2407 * include/string.h (__basename): Declare. Use libc_hidden_proto.
2408 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): Call
2409 __basename instead of basename.
2410 * conform/Makefile (test-xfail-POSIX2008/unistd.h/linknamespace):
2412 (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
2414 2015-05-18 Florian Weimer <fweimer@redhat.com>
2416 * libio/libioP.h (_IO_MEMBER_TYPE, _IO_CAST_FIELD_ACCESS)
2417 (_IO_JUMPS_FILE_plus): New.
2418 (_IO_WIDE_JUMPS, _IO_CHECK_WIDE, _IO_JUMPS_FUNC): Use
2419 _IO_CAST_FIELD_ACCESS.
2420 * libio/fileops.c (libc_hidden_def, _IO_file_setbuf_mmap,
2421 mmap_remap_check, decide_maybe_mmap): Use _IO_JUMPS_FILE_plus.
2422 * libio/freopen.c (freopen): Likewise.
2423 * libio/freopen64.c (freopen64): Likewise.
2424 * libio/iofopen.c (__fopen_maybe_mmap): Likewise.
2425 * libio/iofopncook.c (_IO_old_fopencookie): Likewise.
2426 * libio/iofwide.c (_IO_fwide): Likewise.
2427 * libio/memstream.c (open_memstream): Likewise.
2428 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
2429 * libio/oldiofopen.c (_IO_old_fopen): Likewise.
2430 * libio/oldiopopen.c (_IO_old_popen): Likewise.
2432 2015-05-21 Joseph Myers <joseph@codesourcery.com>
2434 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Include <libc-internal.h>.
2435 (__ieee754_lgamma_r): Ignore uninitialized warnings around use of
2437 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Include <libc-internal.h>.
2438 (__ieee754_lgammaf_r): Ignore uninitialized warnings around use of
2440 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Include <libc-internal.h>.
2441 (__ieee754_lgammal_r): Ignore uninitialized warnings around use of
2444 * sysdeps/ieee754/dbl-64/mpa.c (norm): Remove if condition on
2447 * conform/linknamespace.pl (@whitelist): Add re_syntax_options.
2448 * conform/Makefile (test-xfail-UNIX98/regex.h/linknamespace):
2450 (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
2451 (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
2452 (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
2454 2015-05-21 Florian Weimer <fweimer@redhat.com>
2456 * stdio-common/vfprintf.c (LABEL, JUMP_TABLE_BASE_LABEL, REF):
2457 Adjust jump table label generation macros.
2459 2015-05-21 Florian Weimer <fweimer@redhat.com>
2461 * stdio-common/vfprintf.c (vfprintf): Move local variables
2462 args_malloced, specs, specs_malloced, and the code after
2463 do_positional to the printf_positional function.
2464 (printf_positional): New function.
2466 2015-05-21 Florian Weimer <fweimer@redhat.com>
2468 * stdio-common/vfprintf.c (jump_table): Move out of the vfprintf
2470 (NOT_IN_JUMP_RANGE, CHAR_CLASS, LABEL, REF, JUMP, STEP0_3_TABLE,
2471 STEP4_TABLE, process_arg): Move macro definitions
2472 out of the vfprintf function. (Cosmetic change only.)
2474 2015-05-21 Carlos O'Donell <carlos@redhat.com>
2476 * benchtests/Makefile (stdio-common-bench): Define.
2477 (benchset): Add stdio-common-bench.
2478 * sprintf-inputs: New file.
2479 * sprintf-source.c: New file.
2481 2015-05-21 Andreas Schwab <schwab@suse.de>
2485 * resolv/res_init.c (__res_vinit): Remove use of ext.nsmap member
2486 of struct __res_state.
2487 * resolv/res_send.c (__libc_res_nsend): Likewise.
2488 (get_nsaddr): New function.
2489 (res_ourserver_p, send_vc, reopen): Use it instead of accessing
2492 2015-05-20 Joseph Myers <joseph@codesourcery.com>
2494 * conform/GlibcConform.pm ($CFLAGS{"POSIX"}): Use
2495 -D_POSIX_C_SOURCE=199506L.
2497 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Require.
2499 * conform/data/unistd.h-data (_POSIX_VERSION): Require.
2500 (_POSIX2_C_VERSION): Require if [POSIX || XPG3 || XPG4 || UNIX98].
2501 Do not mention otherwise.
2502 [POSIX] (_XOPEN_VERSION): Do not expect.
2503 [POSIX] (_XOPEN_XCU_VERSION): Likewise.
2504 [POSIX] (_POSIX2_C_BIND): Likewise.
2505 [POSIX] (_POSIX2_VERSION): Likewise.
2506 [POSIX] (_XOPEN_XPG2): Likewise.
2507 [POSIX] (_XOPEN_XPG3): Likewise.
2508 [POSIX] (_XOPEN_XPG4): Likewise.
2509 [POSIX] (_XOPEN_UNIX): Likewise.
2510 [POSIX] (_POSIX_ADVISORY_INFO): Likewise.
2511 [POSIX] (_POSIX_BARRIERS): Likewise.
2512 [POSIX] (_POSIX_CLOCK_SELECTION): Likewise.
2513 [POSIX] (_POSIX_CPUTIME): Likewise.
2514 [POSIX] (_POSIX_MONOTONIC_CLOCK): Likewise.
2515 [POSIX] (_POSIX_READER_WRITER_LOCKS): Likewise.
2516 [POSIX] (_POSIX_SHELL): Likewise.
2517 [POSIX] (_POSIX_SPAWN): Likewise.
2518 [POSIX] (_POSIX_SPIN_LOCKS): Likewise.
2519 [POSIX] (_POSIX_SPORADIC_SERVER): Likewise.
2520 [POSIX] (_POSIX_THREAD_CPUTIME): Likewise.
2521 [POSIX] (_POSIX_TYPED_MEMORY_OBJECTS): Likewise.
2522 [POSIX] (_POSIX_THREAD_SPORADIC_SERVER): Likewise.
2523 [POSIX] (_XBS5_ILP32_OFF32): Likewise.
2524 [POSIX] (_XBS5_ILP32_OFBIG): Likewise.
2525 [POSIX] (_XBS5_LP64_OFF64): Likewise.
2526 [POSIX] (_XBS5_LPBIG_OFFBIG): Likewise.
2527 [POSIX] (_POSIX_TIMEOUTS): Likewise.
2528 [POSIX] (_POSIX2_PBS): Likewise.
2529 [POSIX] (_POSIX2_PBS_ACCOUNTING): Likewise.
2530 [POSIX] (_POSIX2_PBS_CHECKPOINT): Likewise.
2531 [POSIX] (_POSIX2_PBS_LOCATE): Likewise.
2532 [POSIX] (_POSIX2_PBS_MESSAGE): Likewise.
2533 [POSIX] (_POSIX2_PBS_TRACK): Likewise.
2534 [POSIX] (_POSIX_TIMESTAMP_RESOLUTION): Likewise.
2535 [POSIX] (_CS_XBS5_ILP32_OFF32_CFLAGS): Likewise.
2536 [POSIX] (_CS_XBS5_ILP32_OFF32_LDFLAGS): Likewise.
2537 [POSIX] (_CS_XBS5_ILP32_OFF32_LIBS): Likewise.
2538 [POSIX] (_CS_XBS5_ILP32_OFF32_LINTFLAGS): Likewise.
2539 [POSIX] (_CS_XBS5_ILP32_OFFBIG_CFLAGS): Likewise.
2540 [POSIX] (_CS_XBS5_ILP32_OFFBIG_LDFLAGS): Likewise.
2541 [POSIX] (_CS_XBS5_ILP32_OFFBIG_LIBS): Likewise.
2542 [POSIX] (_CS_XBS5_ILP32_OFFBIG_LINTFLAGS): Likewise.
2543 [POSIX] (_CS_XBS5_LP64_OFF64_CFLAGS): Likewise.
2544 [POSIX] (_CS_XBS5_LP64_OFF64_LDFLAGS): Likewise.
2545 [POSIX] (_CS_XBS5_LP64_OFF64_LIBS): Likewise.
2546 [POSIX] (_CS_XBS5_LP64_OFF64_LINTFLAGS): Likewise.
2547 [POSIX] (_CS_XBS5_LPBIG_OFFBIG_CFLAGS): Likewise.
2548 [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LDFLAGS): Likewise.
2549 [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LIBS): Likewise.
2550 [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LINTFLAGS): Likewise.
2551 [POSIX] (_SC_2_C_BIND): Likewise.
2552 [POSIX] (_SC_2_C_VERSION): Likewise.
2553 [POSIX] (_SC_2_PBS): Likewise.
2554 [POSIX] (_SC_2_PBS_ACCOUNTING): Likewise.
2555 [POSIX] (_SC_2_PBS_CHECKPOINT): Likewise.
2556 [POSIX] (_SC_2_PBS_LOCATE): Likewise.
2557 [POSIX] (_SC_2_PBS_MESSAGE): Likewise.
2558 [POSIX] (_SC_2_PBS_TRACK): Likewise.
2559 [POSIX] (_SC_ATEXIT_MAX): Likewise.
2560 [POSIX] (_SC_BARRIERS): Likewise.
2561 [POSIX] (_SC_BASE): Likewise.
2562 [POSIX] (_SC_CLOCK_SELECTION): Likewise.
2563 [POSIX] (_SC_DEVICE_IO): Likewise.
2564 [POSIX] (_SC_DEVICE_SPECIFIC): Likewise.
2565 [POSIX] (_SC_DEVICE_SPECIFIC_R): Likewise.
2566 [POSIX] (_SC_FD_MGMT): Likewise.
2567 [POSIX] (_SC_FIFO): Likewise.
2568 [POSIX] (_SC_FILE_ATTRIBUTES): Likewise.
2569 [POSIX] (_SC_FILE_LOCKING): Likewise.
2570 [POSIX] (_SC_FILE_SYSTEM): Likewise.
2571 [POSIX] (_SC_IOV_MAX): Likewise.
2572 [POSIX] (_SC_MONOTONIC_CLOCK): Likewise.
2573 [POSIX] (_SC_NETWORKING): Likewise.
2574 [POSIX] (_SC_PAGE_SIZE): Likewise.
2575 [POSIX] (_SC_PASS_MAX): Likewise.
2576 [POSIX] (_SC_PIPE): Likewise.
2577 [POSIX] (_SC_READER_WRITER_LOCKS): Likewise.
2578 [POSIX] (_SC_REGEXP): Likewise.
2579 [POSIX] (_SC_SHELL): Likewise.
2580 [POSIX] (_SC_SIGNALS): Likewise.
2581 [POSIX] (_SC_SINGLE_PROCESS): Likewise.
2582 [POSIX] (_SC_SPIN_LOCKS): Likewise.
2583 [POSIX] (_SC_TYPED_MEMORY_OBJECTS): Likewise.
2584 [POSIX] (_SC_USER_GROUPS): Likewise.
2585 [POSIX] (_SC_USER_GROUPS_R): Likewise.
2586 [POSIX] (_SC_STREAMS): Likewise.
2587 [POSIX] (_SC_XBS5_ILP32_OFF32): Likewise.
2588 [POSIX] (_SC_XBS5_ILP32_OFFBIG): Likewise.
2589 [POSIX] (_SC_XBS5_LP64_OFF64): Likewise.
2590 [POSIX] (_SC_XBS5_LPBIG_OFFBIG): Likewise.
2591 [POSIX] (_SC_THREAD_ROBUST_PRIO_INHERIT): Likewise.
2592 [POSIX] (_SC_THREAD_ROBUST_PRIO_PROTECT): Likewise.
2593 [POSIX] (_PC_FILESIZEBITS): Likewise.
2594 [POSIX] (_PC_REC_INCR_XFER_SIZE): Likewise.
2595 [POSIX] (_PC_REC_MAX_XFER_SIZE): Likewise.
2596 [POSIX] (_PC_REC_MIN_XFER_SIZE): Likewise.
2597 [POSIX] (_PC_REC_XFER_ALIGN): Likewise.
2598 [POSIX] (uid_t): Likewise.
2599 [POSIX] (gid_t): Likewise.
2600 [POSIX] (off_t): Likewise.
2601 [POSIX] (pid_t): Likewise.
2602 [POSIX] (cuserid): Allow.
2603 (_SC_2_CHAR_TERM): Require constant.
2604 (_POSIX_ASYNCHRONOUS_IO): Remove duplicate optional-constant.
2605 * conform/Makefile (test-xfail-POSIX/unistd.h/conform): New
2608 2015-05-20 Roland McGrath <roland@hack.frob.com>
2610 * sysdeps/nacl/pthread-pids.h: New file.
2611 * sysdeps/nacl/createthread.c: Include <pthread-pids.h>.
2612 (create_thread): Use __nacl_get_tid to initialize PD->tid.
2614 * nptl/pthread-pids.h: New file.
2615 * sysdeps/unix/sysv/linux/pthread-pids.h: New file.
2616 * nptl/nptl-init.c: Include <pthread-pids.h>.
2617 (__pthread_initialize_minimal_internal):
2618 Call __pthread_initialize_pids instead of set_tid_address syscall.
2620 * sysdeps/unix/sysv/linux/usleep.c: Moved to ...
2621 * sysdeps/posix/usleep.c: ... here.
2623 2015-05-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2625 * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = misc)]: Remove
2626 call_pselect6 object.
2627 [$(subdir) = io]: Remove call_sync_file_range object.
2628 * sysdeps/unix/sysv/linux/i386/call_pselect6.S: Remove file.
2629 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Remove file.
2630 * sysdeps/unix/sysv/linux/i386/pselect.c: Remove file.
2631 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: Remove file.
2633 2015-05-20 Wilco Dijkstra <wdijkstr@arm.com>
2635 * math/s_cproj.c: Add include "math_private.h".
2636 * math/s_cprojf.c: Likewise.
2637 * math/s_cprojl.c: Likewise.
2639 2015-05-19 Joseph Myers <joseph@codesourcery.com>
2642 * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Ignore explicit
2643 high mantissa bit when testing whether P is a NaN.
2644 * math/libm-test.inc (remainder_test_data): Add more tests.
2645 (remquo_test_data): Likewise.
2648 * sysdeps/i386/fpu/e_atanhl.S (__ieee754_atanhl): For exponents
2649 below -32, return the argument, with underflow if subnormal.
2650 * math/auto-libm-test-in: Add more tests of atanh.
2651 * math/auto-libm-test-out: Regenerated.
2653 2015-05-19 Roland McGrath <roland@hack.frob.com>
2656 * nptl/tst-sem15.c: New file.
2657 * nptl/Makefile (tests): Add it.
2658 * nptl/sem_post.c (__new_sem_post) [!__HAVE_64B_ATOMICS]:
2659 s/<</>>/ to fix typo in EOVERFLOW check.
2660 * sysdeps/sparc/sparc32/sem_post.c (__new_sem_post): Likewise.
2662 2015-05-19 Siddhesh Poyarekar <siddhesh@redhat.com>
2664 * manual/strings.texi (envz_remove): Fix typo in safety
2667 2015-05-19 Paul Eggert <eggert@cs.ucla.edu>
2668 Steve Ellcey <sellcey@imgtec.com>
2670 * inet/rcmd.c (rresvport_af): Change ss to anonymous union
2671 in order to avoid strict alias warnings.
2672 (iruserok_af): Ditto for ra.
2674 2015-05-19 James Lemke <jwlemke@codesourcery.com>
2678 (magicbyte): Convert to a function and avoid returning 0x01.
2679 (mem2mem_check): Avoid using a length byte equal to the magic byte.
2680 (mem2chunk_check): Fix unsigned comparisons to zero.
2681 Hoist defs of sz and magic.
2683 2015-05-19 Richard Henderson <rth@redhat.com>
2685 * soft-fp/op-common.h (_FP_FROM_INT): Don't write to R.
2687 * sysdeps/alpha/fpu/libm-test-ulps: Update.
2689 2015-05-19 Siddhesh Poyarekar <siddhesh@redhat.com>
2692 * malloc/Makefile (tests): New test case tst-malloc-backtrace.
2693 * malloc/arena.c (arena_lock): Check if arena is corrupt.
2694 (reused_arena): Find a non-corrupt arena.
2695 (heap_trim): Pass arena to unlink.
2696 * malloc/hooks.c (malloc_check_get_size): Pass arena to
2698 (top_check): Likewise.
2699 (free_check): Likewise.
2700 (realloc_check): Likewise.
2701 * malloc/malloc.c (malloc_printerr): Add arena argument.
2703 (munmap_chunk): Adjust.
2704 (ARENA_CORRUPTION_BIT): New macro.
2705 (arena_is_corrupt): Likewise.
2706 (set_arena_corrupt): Likewise.
2707 (sysmalloc): Use mmap if there are no usable arenas.
2708 (_int_malloc): Likewise.
2709 (__libc_malloc): Don't fail if arena_get returns NULL.
2710 (_mid_memalign): Likewise.
2711 (__libc_calloc): Likewise.
2712 (__libc_realloc): Adjust for additional argument to
2714 (_int_free): Likewise.
2715 (malloc_consolidate): Likewise.
2716 (_int_realloc): Likewise.
2717 (_int_memalign): Don't touch corrupt arenas.
2718 * malloc/tst-malloc-backtrace.c: New test case.
2720 * Makefile (summarize-tests): Fix return value on success.
2722 * manual/string.texi (Envz Functions): Add envz_remove.
2724 2015-05-18 Roland McGrath <roland@hack.frob.com>
2726 * sysdeps/posix/opendir.c: Include <stdbool.h>.
2727 (invalid_name): New function, broken out of ...
2728 (__opendirat): ... here. Call it.
2729 (need_isdir_precheck): New function, broken out of ...
2730 (__opendirat): ... here. Call it.
2731 Use __fxstatat64, not __xstatat64.
2732 (opendir_oflags): New function, broken out of ...
2733 (__opendirat): ... here. Call it.
2734 (opendir_tail): New function, broken out of ...
2735 (__opendirat): ... here. Call it.
2736 (__opendir): Call invalid_name, need_isdir_precheck, __xstat64, and
2737 opendir_tail, rather than punting to __opendirat.
2738 (__opendirat): Conditionalize function definition on [IS_IN (libc)].
2740 2015-05-18 Siddhesh Poyarekar <siddhesh@redhat.com>
2742 * .gitignore: Ignore generated *.pyc.
2744 2015-05-18 Arjun Shankar <arjun.is@lostca.se>
2746 * include/stdio.h: Define __need_wint_t.
2747 * test-skeleton.c: Avoid `for' loop initial declaration.
2748 * nptl/tst-initializers1.c: Use test-skeleton.c.
2750 2015-05-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2753 * stdlib/tst-setcontext3.sh: Remove non-portable array use.
2755 2015-05-15 Joseph Myers <joseph@codesourcery.com>
2758 * sysdeps/i386/fpu/e_atanh.S (dbl_min): New object.
2759 (__ieee754_atanh): Force underflow exception for results with
2760 small absolute value.
2761 * sysdeps/i386/fpu/e_atanhf.S (flt_min): New object.
2762 (__ieee754_atanhf): Force underflow exception for results with
2763 small absolute value.
2764 * sysdeps/ieee754/dbl-64/e_atanh.c: Include <float.h>.
2765 (__ieee754_atanh): Force underflow exception for results with
2766 small absolute value.
2767 * sysdeps/ieee754/flt-32/e_atanhf.c: Include <float.h>.
2768 (__ieee754_atanhf): Force underflow exception for results with
2769 small absolute value.
2770 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Include <float.h>.
2771 (__ieee754_atanhl): Force underflow exception for results with
2772 small absolute value.
2773 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Include <float.h>.
2774 (__ieee754_atanhl): Force underflow exception for results with
2775 small absolute value.
2776 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Include <float.h>.
2777 (__ieee754_atanhl): Force underflow exception for results with
2778 small absolute value.
2779 * math/auto-libm-test-in: Do not allow missing underflow
2780 exceptions from atanh.
2781 * math/auto-libm-test-out: Regenerated.
2784 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use 2**-13 not
2785 2**-28 as threshold for returning x or +/- 1/x.
2786 * math/auto-libm-test-in: Add more tests of tan.
2787 * math/auto-libm-test-out: Regenerated.
2790 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
2791 2**26 not 2**58 as threshold for returning x * (log (x) - 1).
2792 * math/auto-libm-test-in: Add another test of lgamma.
2793 * math/auto-libm-test-out: Regenerated.
2795 2015-05-15 Wilco Dijkstra <wdijkstr@arm.com>
2797 * stdio-common/printf_fp.c (___printf_fp): Use abs.
2798 * stdlib/gmp-impl.h (ABS): Remove define. (ABSIZ): Remove.
2799 * sysdeps/ieee754/dbl-64/branred.c (__branred): Use fabs.
2800 * sysdeps/ieee754/dbl-64/dla.h (EADD): Use fabs.
2801 (ESUB): Use fabs. (ADD2): Use fabs. (SUB2): Use fabs.
2802 (ADD2A): Use fabs. (SUB2A): Use fabs.
2803 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Use fabs.
2804 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Use fabs.
2805 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use fabs.
2806 (log1): Use fabs. (my_log2): Use fabs.
2807 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): Use fabs.
2808 * sysdeps/ieee754/dbl-64/mpa.h (ABS): Remove define.
2809 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use fabs.
2810 * sysdeps/ieee754/dbl-64/mydefs.h (ABS): Remove define.
2811 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use fabs.
2812 (__cos): Use fabs. (slow): Use fabs. (slow2): Use fabs.
2813 (sloww): Use fabs. (sloww1): Use fabs. (sloww2): Use fabs.
2814 (bslow1): Use fabs. (bslow2): Use fabs. (cslow2): Use fabs.
2815 (csloww): Use fabs. (csloww1): Use fabs. (csloww2): Use fabs.
2816 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Use fabs.
2817 * sysdeps/x86_64/fpu/multiarch/e_log.c: add math.h include.
2819 2015-05-15 Joseph Myers <joseph@codesourcery.com>
2822 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Use 2**-26 not 2**-56
2823 as threshold for returning 1 - x.
2824 * math/auto-libm-test-in: Add more tests of erfc.
2825 * math/auto-libm-test-out: Regenerated.
2827 2015-05-14 Joseph Myers <joseph@codesourcery.com>
2830 * sysdeps/ieee754/flt-32/s_atanf.c (__atanf): Use 2^25 not 2^34 as
2831 threshold for large arguments.
2832 * math/auto-libm-test-in: Add another test of atan.
2833 * math/auto-libm-test-out: Regenerated.
2836 * sysdeps/i386/fpu/s_log1p.S (dbl_min): New object.
2837 (__log1p): Force underflow exception for results with small
2839 * sysdeps/i386/fpu/s_log1pf.S (flt_min): New object.
2840 (__log1pf): Force underflow exception for results with small
2842 * sysdeps/ieee754/dbl-64/s_log1p.c: Include <float.h>.
2843 (__log1p): Force underflow exception for results with small
2845 * sysdeps/ieee754/flt-32/s_log1pf.c: Include <float.h>.
2846 (__log1pf): Force underflow exception for results with small
2848 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Include <float.h>.
2849 (__log1pl): Force underflow exception for results with small
2851 * math/auto-libm-test-in: Do not allow missing underflow
2852 exceptions from log1p.
2853 * math/auto-libm-test-out: Regenerated.
2855 2015-05-14 Jakub Bogusz <qboosh@pld-linux.org>
2856 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2859 * sysdeps/unix/make-syscalls.sh: Remove non-portable echo usage.
2861 2015-05-14 Andrew Senkevich <andrew.senkevich@intel.com>
2863 * Makeconfig (rpath-dirs, all-subdirs): Added mathvec folder.
2864 (libmvec): New variable.
2865 * configure.ac: Added option for mathvec build.
2866 * configure: Regenerated.
2867 * mathvec/Depend: New file.
2868 * mathvec/Makefile: New file.
2869 * shlib-versions: Added libmvec.
2870 * math/Makefile: Added rule for libm.so installation.
2872 * bits/math-vector.h: New file.
2873 * bits/libm-simd-decl-stubs.h: New header.
2874 * math/Makefile (headers): Added new header
2875 libm-simd-decl-stubs.h.
2876 * math/math.h (__MATHCALL_VEC): New macro.
2878 * math/gen-libm-have-vector-test.sh: Script generates series of macros
2879 for conditions in testing functions.
2880 * math/Makefile: Added call of libm-have-vector-test.sh.
2881 * math/libm-test.inc (HAVE_VECTOR): New macros.
2883 * math/libm-test.inc: START refactored.
2884 * math/test-double.c (TEST_MATHVEC): Add define.
2885 * math/test-float.c: Likewise.
2886 * math/test-idouble.c: Likewise.
2887 * math/test-ifloat.c: Likewise.
2888 * math/test-ildoubl.c: Likewise.
2889 * math/test-ldouble.c: Likewise.
2890 * sysdeps/generic/math-tests-arch.h
2891 (INIT_ARCH_EXT, CHECK_ARCH_EXT): New helper macros for runtime
2894 * math/test-double.c (FUNC_TEST): New macro.
2895 * math/test-float.c: Likewise.
2896 * math/test-idouble.c: Likewise.
2897 * math/test-ifloat.c: Likewise.
2898 * math/test-ildoubl.c: Likewise.
2899 * math/test-ldouble.c: Likewise.
2900 * math/libm-test.inc: Use FUNC_TEST for name of tested functions.
2902 2015-05-13 Roland McGrath <roland@hack.frob.com>
2904 * sysdeps/nacl/fdopendir.c: New file.
2906 * dirent/scandir-tail.c: New file.
2907 * dirent/scandir64-tail.c: New file.
2908 * dirent/Makefile (routines): Add them.
2909 (CFLAGS-scandir-tail.c, CFLAGS-scandir64-tail.c): New variables.
2910 * include/dirent.h (__scandir_tail, __scandir64_tail): Declare them.
2911 * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Macro removed.
2912 [!SCANDIR] (SCANDIR_TAIL): New macro.
2913 (SCANDIR): Call __opendir and __scandir_tail, not __scandirat.
2914 * dirent/scandir64.c [!_DIRENT_MATCHES_DIRENT64]
2915 (SCANDIRAT): Macro removed.
2916 (SCANDIR_TAIL): New macro.
2917 * dirent/scandirat.c [!SCANDIRAT] (READDIR): Macro removed.
2918 [!SCANDIRAT] (SCANDIR_TAIL): New macro.
2919 (SCANDIRAT): Just call __opendirat and __scandir_tail.
2920 * dirent/scandirat64.c [!_DIRENT_MATCHES_DIRENT64]
2921 (READDIR): Macro removed.
2922 (SCANDIR_TAIL): New macro.
2923 * sysdeps/unix/sysv/linux/i386/scandir64.c (READDIR): Macro removed.
2924 (SCANDIR_TAIL): New macro.
2926 * dirent/scandirat.c (__scandir_cancel_handler): Function moved ...
2927 * dirent/scandir-cancel.c: ... to this new file.
2928 * dirent/Makefile (routines): Add it.
2929 * dirent/scandirat64.c (SKIP_SCANDIR_CANCEL): Macro removed.
2930 * sysdeps/unix/sysv/linux/i386/scandir64.c
2931 (SKIP_SCANDIR_CANCEL): Macro removed.
2932 * include/dirent.h (__scandir_cancel_handler): Add attribute_hidden.
2934 * dirent/tst-scandir.c: New file.
2935 * dirent/tst-scandir64.c: New file.
2936 * dirent/Makefile (tests): Add them.
2938 2015-05-13 H.J. Lu <hongjiu.lu@intel.com>
2941 * sysdeps/unix/make-syscalls.sh: Remove a trailing `\'.
2943 2015-05-13 Szabolcs Nagy <szabolcs.nagy@arm.com>
2945 * sysdeps/aarch64/tls-macros.h (TLS_GD): Add "cc" to the clobber
2948 2015-05-13 Leonhard Holz <leonhard.holz@web.de>
2950 * benchtests/bench-strcoll.c: New benchmark.
2951 * benchtests/Makefile: Generate locales and run benchmark.
2952 * benchtests/strcoll-inputs/filelist#C: New benchmark input file.
2953 * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Likewise.
2954 * benchtests/strcoll-inputs/lorem_ipsum#ar_SA.UTF-8: Likewise.
2955 * benchtests/strcoll-inputs/lorem_ipsum#cs_CZ.UTF-8: Likewise.
2956 * benchtests/strcoll-inputs/lorem_ipsum#da_DK.UTF-8: Likewise.
2957 * benchtests/strcoll-inputs/lorem_ipsum#el_GR.UTF-8: Likewise.
2958 * benchtests/strcoll-inputs/lorem_ipsum#en_GB.UTF-8: Likewise.
2959 * benchtests/strcoll-inputs/lorem_ipsum#en_US.UTF-8: Likewise.
2960 * benchtests/strcoll-inputs/lorem_ipsum#es_ES.UTF-8: Likewise.
2961 * benchtests/strcoll-inputs/lorem_ipsum#fr_FR.UTF-8: Likewise.
2962 * benchtests/strcoll-inputs/lorem_ipsum#hi_IN.UTF-8: Likewise.
2963 * benchtests/strcoll-inputs/lorem_ipsum#hu_HU.UTF-8: Likewise.
2964 * benchtests/strcoll-inputs/lorem_ipsum#is_IS.UTF-8: Likewise.
2965 * benchtests/strcoll-inputs/lorem_ipsum#it_IT.UTF-8: Likewise.
2966 * benchtests/strcoll-inputs/lorem_ipsum#iw_IL.UTF-8: Likewise.
2967 * benchtests/strcoll-inputs/lorem_ipsum#ja_JP.UTF-8: Likewise.
2968 * benchtests/strcoll-inputs/lorem_ipsum#pl_PL.UTF-8: Likewise.
2969 * benchtests/strcoll-inputs/lorem_ipsum#pt_PT.UTF-8: Likewise.
2970 * benchtests/strcoll-inputs/lorem_ipsum#ru_RU.UTF-8: Likewise.
2971 * benchtests/strcoll-inputs/lorem_ipsum#sr_RS.UTF-8: Likewise.
2972 * benchtests/strcoll-inputs/lorem_ipsum#sv_SE.UTF-8: Likewise.
2973 * benchtests/strcoll-inputs/lorem_ipsum#tr_TR.UTF-8: Likewise.
2974 * benchtests/strcoll-inputs/lorem_ipsum#vi_VN.UTF-8: Likewise.
2975 * benchtests/strcoll-inputs/lorem_ipsum#zh_CN.UTF-8: Likewise.
2977 2015-05-12 Ondřej Bílka <neleai@seznam.cz>
2979 * sysdeps/x86_64/multiarch/strcspn.S: Remove plt indirection.
2980 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
2982 2015-05-12 Roland McGrath <roland@hack.frob.com>
2984 * posix/uname-values.h: New file.
2985 * posix/uname.c: Include that instead of <config-name.h>.
2986 * sysdeps/nacl/uname-values.h: New file.
2987 * sysdeps/arm/nacl/uname-values.h: New file.
2989 2015-05-12 Joseph Myers <joseph@codesourcery.com>
2991 * conform/linknamespace.pl (list_syms): Remove \[.*?\] before
2992 splitting into fields.
2994 2015-05-12 Leonhard Holz <leonhard.holz@web.de>
2996 * locale/categories.def: Define _NL_COLLATE_ENCODING_TYPE.
2997 * locale/langinfo.h: Add _NL_COLLATE_ENCODING_TYPE to attribute list.
2998 * locale/localeinfo.h: Add enum collation_encoding_type.
2999 * locale/C-collate.c: Set _NL_COLLATE_ENCODING_TYPE to 8bit.
3000 * programs/ld-collate.c (collate_output): Add encoding type info.
3001 * string/strcoll_l.c (STRDIFF): New function.
3002 * (STRCOLL): Use STRDIFF to skip over equal prefix.
3003 * wcsmbs/wcscoll_l.c: Define STRDIFF.
3005 2015-05-11 Joseph Myers <joseph@codesourcery.com>
3008 * sysdeps/mips/mips32/fpu/fpu_control.c: Move to ....
3009 * sysdeps/mips/mips32/fpu/fpucw-helpers.c: ... here. Include
3010 <fpu_control.h> instead of <math/fpu_control.c>.
3011 * sysdeps/mips/mips32/fpu/Makefile: New file.
3013 2015-05-11 Andreas Schwab <schwab@suse.de>
3016 * nis/nss_compat/compat-grp.c (internal_endgrent): Don't call
3018 (_nss_compat_endgrent): Call nss_endgrent.
3019 * nis/nss_compat/compat-pwd.c (internal_endpwent): Don't call
3021 (_nss_compat_endpwent): Call nss_endpwent.
3022 * nis/nss_compat/compat-spwd.c (internal_setspent): Add parameter
3023 needent, call nss_setspent only if non-zero.
3024 (_nss_compat_setspent, _nss_compat_getspent_r): Pass non-zero.
3025 (internal_endspent): Don't call nss_endspent.
3026 (_nss_compat_endspent): Call nss_endspent.
3027 * nss/nss_files/files-XXX.c (position, last_use, keep_stream):
3028 Remove. All uses removed.
3029 (internal_setent): Remove parameter stayopen, add parameter
3030 stream. Use it instead of global variable.
3031 (CONCAT(_nss_files_set,ENTNAME)): Pass global stream.
3032 (internal_endent, internal_getent): Add parameter stream. Use it
3033 instead of global variable.
3034 (CONCAT(_nss_files_end,ENTNAME))
3035 (CONCAT(_nss_files_get,ENTNAME_r)): Pass global stream.
3036 (_nss_files_get##name##_r): Pass local stream. Remove locking.
3037 * nss/nss_files/files-alias.c (position, last_use): Remove. All
3039 (internal_setent, internal_endent): Add parameter stream. Use it
3040 instead of global variable.
3041 (_nss_files_setaliasent, _nss_files_endaliasent): Pass global
3043 (get_next_alias): Add parameter stream.
3044 (_nss_files_getaliasent_r): Pass global stream.
3045 (_nss_files_getaliasbyname_r): Pass local stream. Remove locking.
3046 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r)
3047 (_nss_files_gethostbyname4_r): Pass local stream to
3048 internal_setent, internal_getent and internal_endent. Remove
3051 2015-05-11 Stefan Liebler <stli@linux.vnet.ibm.com>
3053 * tst-strfmon1.c (tests): Update expected currency symbol.
3055 2015-05-08 Roland McGrath <roland@hack.frob.com>
3057 * sysdeps/nacl/gethostname.c: New file.
3059 2015-05-08 Joseph Myers <joseph@codesourcery.com>
3061 * math/auto-libm-test-in: Add more tests of csqrt, lgamma, log10
3063 * math/auto-libm-test-out: Regenerated.
3064 * sysdeps/i386/fpu/libm-test-ulps: Update.
3065 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3067 2015-05-08 Carlos O'Donell <carlos@redhat.com>
3070 * stdlib/tst-setcontext3.c: New file.
3071 * stdlib/tst-setcontext3.sh: New file.
3072 * stdlib/Makefile (tests): Add tst-setcontext3.
3073 (tst-setcontext3.out): Custom rule to run tst-setcontext3.sh
3074 to verify test program created output file.
3075 * sysdeps/unix/sysv/linux/aarch64/setcontext.S: Call exit.
3076 * sysdeps/unix/sysv/linux/arm/setcontext.S: Likewise.
3077 * sysdeps/unix/sysv/linux/hppa/setcontext.S: Likewise.
3078 * sysdeps/unix/sysv/linux/nios2/setcontext.S: Likewise.
3080 2015-05-06 Roland McGrath <roland@hack.frob.com>
3083 * elf/tst-tlsalign.c: New file.
3084 * elf/tst-tlsalign-static.c: New file.
3085 * elf/tst-tlsalign-lib.c: New file.
3086 * elf/Makefile [$(build-shared) = yes] (tests): Add tst-tlsalign.
3087 (tests-static): Add tst-tlsalign-static.
3088 (modules-names): Add tst-tlsalign-lib.
3089 (test-xfail-tst-tlsalign): New variable.
3090 (test-xfail-tst-tlsalign-static): New variable.
3092 * sysdeps/nacl/nacl-test-wrapper.sh (NACL_LOADER):
3093 Use elf_loader_${arch}.nexe rather than loader_${arch}.nexe.
3095 2015-05-06 Joseph Myers <joseph@codesourcery.com>
3097 * math/auto-libm-test-in: Add more tests of acosh, atanh, cos,
3098 csqrt, erfc, sin and sincos.
3099 * math/auto-libm-test-out: Regenerated.
3100 * sysdeps/i386/fpu/libm-test-ulps: Update.
3101 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3103 2015-05-06 Szabolcs Nagy <szabolcs.nagy@arm.com>
3105 * sysdeps/aarch64/libm-test-ulps: Update.
3107 2015-05-05 Joseph Myers <joseph@codesourcery.com>
3109 * math/auto-libm-test-in: Add more tests of acosh, atanh, clog,
3110 clog10, csqrt, erfc, exp2, expm1, log10, log2 and sinh.
3111 * math/auto-libm-test-out: Regenerated.
3112 * sysdeps/i386/fpu/libm-test-ulps: Update.
3113 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3115 2015-04-30 Daniel Marjamäki <daniel.marjamaki@evidente.se>
3118 * wcsmbs/wchar.h (wcscpy): Add __nonnull attribute.
3119 (wcsncpy): Likewise.
3121 2015-05-05 Florian Weimer <fweimer@redhat.com>
3123 * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
3124 Assume __ASSUME_FALLOCATE is always true.
3125 * sysdeps/unix/sysv/linux/posix_fallocate64.c
3126 (__posix_fallocate64_l64): Likweise.
3127 * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate.c
3128 (posix_fallocate): Likewise.
3129 * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate64.c
3130 (__posix_fallocate64_l64): Likewise.
3131 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
3132 [!__ASSUME_FALLOCATE]: Add comment.
3134 2015-05-05 Florian Weimer <fweimer@redhat.com>
3136 * sysdeps/unix/sysv/linux/i386/Makefile
3137 (sysdep_routines) [$(subdir) = misc]: Remove call_fallocate.
3138 (sysdep_routines) [$(subdir) = io]: Add libc-do-syscall.
3139 * sysdeps/unix/sysv/linux/i386/call_fallocate.S: Remove.
3140 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
3141 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
3142 * sysdeps/unix/sysv/linux/i386/posix_fallocate.c: Likewise.
3143 * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c: Likewise.
3145 2015-05-02 Joseph Myers <joseph@codesourcery.com>
3147 * math/auto-libm-test-in: Add more tests of atan, clog, clog10,
3148 cos, csqrt, erf, erfc, exp2, lgamma, log1p, sin, sincos, tanh and
3150 * math/auto-libm-test-out: Regenerated.
3151 * sysdeps/i386/fpu/libm-test-ulps: Update.
3152 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3154 2015-05-01 Joseph Myers <joseph@codesourcery.com>
3156 * math/auto-libm-test-in: Add more tests of tgamma.
3157 * math/auto-libm-test-out: Regenerated.
3158 * sysdeps/i386/fpu/libm-test-ulps: Update.
3159 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3161 * math/auto-libm-test-in: Add more tests of tanh.
3162 * math/auto-libm-test-out: Regenerated.
3163 * sysdeps/i386/fpu/libm-test-ulps: Update.
3164 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3166 * math/auto-libm-test-in: Add more tests of tan.
3167 * math/auto-libm-test-out: Regenerated.
3168 * sysdeps/i386/fpu/libm-test-ulps: Update.
3169 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3171 * math/auto-libm-test-in: Add more tests of cos, sin and sincos.
3172 * math/auto-libm-test-out: Regenerated.
3173 * sysdeps/i386/fpu/libm-test-ulps: Update.
3174 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3176 * math/auto-libm-test-in: Add another test of pow.
3177 * math/auto-libm-test-out: Regenerated.
3178 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
3180 * math/auto-libm-test-in: Add more tests of lgamma.
3181 * math/auto-libm-test-out: Regenerated.
3182 * sysdeps/i386/fpu/libm-test-ulps: Update.
3183 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3185 * math/auto-libm-test-in: Add more tests of log, log10, log2 and
3187 * math/auto-libm-test-out: Regenerated.
3188 * sysdeps/i386/fpu/libm-test-ulps: Update.
3189 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3191 2015-05-01 Mark Wielaard <mjw@redhat.com>
3193 * elf/elf.h: Add SHF_COMPRESSED section flag, Elf32_Chdr and
3194 Elf64_Chdr structs and ELFCOMPRESS constants.
3196 2015-05-01 Joseph Myers <joseph@codesourcery.com>
3198 * math/auto-libm-test-in: Add more tests of exp, exp10, exp2 and
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 erf and erfc.
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 2015-05-01 Szabolcs Nagy <szabolcs.nagy@arm.com>
3211 * config.h.in (HAVE_AARCH64_BE): Add.
3213 2015-04-30 Joseph Myers <joseph@codesourcery.com>
3215 * math/auto-libm-test-in: Add more tests of csqrt.
3216 * math/auto-libm-test-out: Regenerated.
3217 * sysdeps/i386/fpu/libm-test-ulps: Update.
3218 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3220 * math/auto-libm-test-in: Add more tests of cosh and sinh.
3221 * math/auto-libm-test-out: Regenerated.
3222 * sysdeps/i386/fpu/libm-test-ulps: Update.
3223 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3225 * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: Remove file.
3227 2015-04-29 Roland McGrath <roland@hack.frob.com>
3229 * sysdeps/nacl/bits/typesizes.h (__CLOCK_T_TYPE): Use __SLONGWORD_TYPE.
3230 * sysdeps/nacl/nacl-interfaces.h (nacl_abi_clock_t): Use clock_t.
3232 * sysdeps/nacl/euidaccess.c (euidaccess): Renamed to __euidaccess.
3233 (euidaccess, eaccess): Define as weak aliases.
3235 * sysdeps/nacl/bits/typesizes.h (__SUSECONDS_T_TYPE): Use
3236 __SLONGWORD_TYPE rather than __S32_TYPE. They are the same size,
3237 but __suseconds_t is often 'long int' so some sources assume that
3238 type is being used (e.g. they use %ld to print tv_usec).
3240 2015-04-29 Florian Weimer <fweimer@redhat.com>
3243 * nss/nss_files/files-XXX.c (CONCAT): Always enable stayopen.
3245 * nss/tst-nss-getpwent.c: New file.
3246 * nss/Makefile (tests): Add new test.
3248 2015-04-28 Joseph Myers <joseph@codesourcery.com>
3251 * sysdeps/ieee754/ldbl-128/s_roundl.c (__roundl): Handle all
3252 exponents less than 48 as cases where high part of mantissa needs
3253 examining to determine whether argument is integral.
3254 * math/libm-test.inc (round_test_data): Add more tests.
3256 2015-04-28 Mark Wielaard <mjw@redhat.com>
3258 * elf/elf.h (SHF_EXCLUDE): Use unsigned 1 for shift.
3260 2015-04-27 David S. Miller <davem@davemloft.net>
3262 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Remove
3264 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
3266 2015-04-27 H.J. Lu <hongjiu.lu@intel.com>
3269 * time/tzset.c (__tzfile_read): Check tzspec_len == 0.
3271 2015-04-27 Florian Weimer <fweimer@redhat.com>
3274 * time/tzset.c (parse_tzname): Return error on memory allocation
3276 * test-skeleton.c (struct temp_name_list): Change type of name
3277 member to non-const.
3278 (add_temp_file): Create a copy of the file name.
3279 (delete_temp_files): Deallocate memory.
3280 (create_temp_file): Add comment.
3282 2015-04-24 Florian Weimer <fweimer@redhat.com>
3284 * io/posix_fallocate.c (posix_fallocate): Do not set errno.
3285 * io/posix_fallocate64.c (posix_fallocate64): Likewise.
3287 2015-04-24 Roland McGrath <roland@hack.frob.com>
3289 * sysdeps/arm/configure.ac (PI_STATIC_AND_HIDDEN): Define it.
3290 * sysdeps/arm/configure: Regenerated.
3292 2015-04-24 Florian Weimer <fweimer@redhat.com>
3295 * time/tzfile.c (__tzfile_read): Check for large values of
3296 tzh_ttisstdcnt and tzh_ttisgmtcnt. Use malloc instead of alloca.
3297 * time/tzset.c (__tzstring_len): New function, based on the old
3298 __tzstring function.
3299 (__tzstring): Call __tzstring_len.
3300 (parse_tzname): New helper function extracted from
3301 __tzset_parse_tz. Call __tzstring_len, without making a copy of
3303 (parse_offset): New helper function extracted from
3304 __tzset_parse_tz. Replace switch with fallthrough with
3305 initialization before sscanf.
3306 (parse_rule): Likewise.
3307 (__tzset_parse_tz): Rewrite using the new helper functions. Use
3308 new-style function definition.
3309 * timezone/Makefile (tests): Add tst-tzset.
3310 (tst-tzset.out): Dependencies on time zone files.
3311 (tst-tzset-ENV): Set TZDIR.
3312 (testdata/XT%): Copy crafted time zone files.
3313 * timezone/README: Mention crafted time zone files.
3314 * timezone/testdata/XT1, timezone/testdata/XT2,
3315 timezone/testdata/XT3, timezone/testdata/XT4: New time zone test
3317 * timezone/tst-tzset.c: New test.
3319 2015-04-24 Florian Weimer <fweimer@redhat.com>
3321 * Makeconfig (+gccwarn): Remove -Winline.
3323 2015-04-24 Stefan Liebler <stli@linux.vnet.ibm.com>
3325 * sysdeps/s390/fpu/libm-test-upls: Regenerate.
3327 2015-04-24 Stefan Liebler <stli@linux.vnet.ibm.com>
3329 * NEWS: Mention sysconf() cache information support for s390.
3330 * sysdeps/unix/sysv/linux/s390/sysconf.c: New File.
3332 2015-04-22 Wilco Dijkstra <wdijkstr@arm.com>
3334 * math/k_casinh.c (__kernel_casinh): Use __copysign.
3335 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c
3336 (__nearbyint): Likewise.
3337 * sysdeps/ieee754/ldbl-opt/nldbl-copysign.c
3338 (copysignl): Likewise.
3340 2015-04-21 Arjun Shankar <arjun.is@lostca.se>
3343 * resolv/nss_dns/dns-host.c (getanswer_r): Adjust buffer length
3344 based on padding. (CVE-2015-1781)
3346 2015-04-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3348 * nptl/pthread_cond_timedwait.c: Change include bits/libc-vdso.h to just
3350 * sysdeps/powerpc/powerpc32/backtrace.c: Likewise.
3351 * sysdeps/powerpc/powerpc64/backtrace.c: Likewise.
3352 * sysdeps/unix/sysv/linux/aarch64/init-first.c: Likewise.
3353 * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
3354 * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
3355 * sysdeps/unix/sysv/linux/gettimeofday.c: Likewise.
3356 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Likewise.
3357 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
3358 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
3359 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Likewise.
3360 * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
3361 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
3362 * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
3363 * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise.
3364 * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
3365 * sysdeps/unix/sysv/linux/aarch64/bits/libc-vdso.h: Move to ...
3366 * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h: ... here.
3367 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Move to ...
3368 * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h: ... here.
3369 * sysdeps/unix/sysv/linux/s390/bits/libc-vdso.h: Move to ...
3370 * sysdeps/unix/sysv/linux/s390/libc-vdso.h: ... here.
3371 * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Move to ...
3372 * sysdeps/unix/sysv/linux/tile/libc-vdso.h: ... here.
3374 2015-04-19 Paul Eggert <eggert@cs.ucla.edu>
3376 * stdlib/setenv.c (__add_to_environ):
3377 Dump core quickly if setenv (..., NULL, ...) is called.
3378 This time, do it the right way, and pacify GCC with a pragma.
3380 2015-04-17 Roland McGrath <roland@hack.frob.com>
3382 * elf/dl-close.c (_dl_close_worker) [DL_NNS == 1]: Just assert that
3383 IMAP->l_prev cannot be null, and #if out the code for the contrary
3384 case, avoiding 'assert (nsid != LM_ID_BASE)' making the compiler
3385 believe that NS (&_dl_ns[NSID]) could point outside the array.
3387 * elf/dl-open.c (_dl_open): Use __glibc_unlikely in invalid namespace
3388 check. Reject NSID < 0 and NSID >= dl_nns, and check for DL_NNS==1,
3389 before using NSID as an index.
3391 2015-04-17 Il'ya Malakhov <ilmalakhov@yandex.ru>
3394 * sysdeps/sparc/sparc64/memchr.S: Fix signedness handling of length.
3395 * sysdeps/sparc/sparc64/memcmp.S: Likewise.
3396 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
3398 2015-04-17 Roland McGrath <roland@hack.frob.com>
3400 Add preliminary port to Google Native Client on ARM.
3401 * abi-tags (.*-.*-nacl.*): New entry.
3402 * sysdeps/arm/nacl: New directory.
3403 * sysdeps/nacl: New directory.
3405 2015-04-16 David S. Miller <davem@davemloft.net>
3407 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Make use of
3408 lowlevellock-futex.h
3410 2015-04-16 Chris Metcalf <cmetcalf@ezchip.com>
3412 * sysdeps/tile/configure.ac: New file.
3413 * sysdeps/tile/configure: Regenerated.
3415 2015-04-15 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3417 * wcsmbs/wcschr.c [WCSCHR] (wcschr): Define as __wcschr. Remove
3418 conditionals for weak_alias and libc_hidden_weak.
3419 * sysdeps/i386/i686/multiarch/wcschr-c.c [libc]: Undefine
3420 libc_hidden_weak and weak_alias.
3421 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c [libc]:
3422 Undefine libc_hidden_weak. Define libc_hidden_def for SHARED builds
3423 and weak_alias for static one.
3425 2015-04-15 David S. Miller <davem@davemloft.net>
3427 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
3429 2015-04-13 Stefan Liebler <stli@linux.vnet.ibm.com>
3432 * wcsmbs/wcsncmp.c (wcsncmp): Compare as wchar_t, not wint_t.
3433 Use signed comparision instead of substraction to avoid
3435 * localedata/tests-mbwc/tst_wcsncmp.c (tst_wcsncmp):
3436 Take the sign of ret.
3437 * localedata/tests-mbwc/dat_wcsncmp.c (tst_wcsncmp_loc):
3438 Do not expect precise return values. Only the sign matters.
3439 * wcsmbs/Makefile (strop-tests): Add wcsncmp.
3440 * wcsmbs/test-wcsncmp.c: New File.
3441 * string/test-strncmp.c: Add wcsncmp support.
3443 2015-04-13 Stefan Liebler <stli@linux.vnet.ibm.com>
3446 * math/w_log1p.c: New file.
3447 * math/w_log1pf.c: Likewise.
3448 * math/w_log1pl.c: Likewise.
3449 * math/Makefile (libm-calls): Add w_log1p.
3450 * math/s_log1pl.c (log1pl): Remove weak_alias.
3451 * sysdeps/i386/fpu/s_log1p.S (log1p): Likewise.
3452 * sysdeps/i386/fpu/s_log1pf.S (log1pf): Likewise.
3453 * sysdeps/i386/fpu/s_log1pl.S (log1pl): Likewise.
3454 * sysdeps/x86_64/fpu/s_log1pl.S (log1pl): Likewise.
3455 * sysdeps/ieee754/dbl-64/s_log1p.c (log1p): Likewise.
3456 [NO_LONG_DOUBLE] (log1pl): Likewise.
3457 * sysdeps/ieee754/flt-32/s_log1pf.c (log1pf): Likewise.
3458 * sysdeps/ieee754/ldbl-128/s_log1pl.c (log1pl): Likewise.
3459 * sysdeps/ieee754/ldbl-64-128/s_log1pl.c
3460 (log1p): Remove long_double_symbol.
3461 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (log1pl): Likewise.
3462 * sysdeps/ieee754/ldbl-64-128/w_log1pl.c: New file.
3463 * sysdeps/ieee754/ldbl-128ibm/w_log1pl.c: Likewise.
3464 * sysdeps/m68k/m680x0/fpu/s_log1p.c: Define empty weak_alias to
3465 remove weak_alias for corresponding log1p function.
3466 * sysdeps/m68k/m680x0/fpu/s_log1pf.c: Likewise.
3467 * sysdeps/m68k/m680x0/fpu/s_log1pl.c: Likewise.
3468 * sysdeps/ia64/fpu/w_log1p.c: New file.
3469 * sysdeps/ia64/fpu/w_log1pf.c: Likewise.
3470 * sysdeps/ia64/fpu/w_log1pl.c: Likewise.
3471 * math/libm-test.inc (log1p_test_data): Add errno expectations.
3473 2015-04-10 Joseph Myers <joseph@codesourcery.com>
3476 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Decrease minimum
3477 decimal exponent by 1.
3478 * stdlib/tst-strtod-round-data: Add more tests.
3479 * stdlib/tst-strtod-round.c (tests): Regenerated.
3481 2015-04-09 Joseph Myers <joseph@codesourcery.com>
3483 * math/auto-libm-test-in: Add more tests of clog and clog10.
3484 * math/auto-libm-test-out: Regenerated.
3485 * sysdeps/i386/fpu/libm-test-ulps: Update.
3486 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3488 2015-04-09 Roland McGrath <roland@hack.frob.com>
3490 * Makeconfig (module-cppflags): Exclude all .v.i files.
3491 (skip-module-cppflags): Variable removed.
3493 * configure.ac (libc_config_ok): Initialize before reading
3494 preconfigure scripts, not after.
3495 * configure: Regenerated.
3497 * test-skeleton.c (TIMEOUT): Move #define to top level.
3498 (main): Grok environment variable TEST_DIRECT. If set, print
3499 test expectation details into that file and then behave as if
3502 2015-04-09 Florian Weimer <fweimer@redhat.com>
3504 * malloc/tst-scratch_buffer.c (do_test): Suppress truncation
3507 2015-04-08 David S. Miller <davem@davemloft.net>
3509 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3511 2015-04-08 Joseph Myers <joseph@codesourcery.com>
3513 * math/auto-libm-test-in: Add more tests of atanh.
3514 * math/auto-libm-test-out: Regenerated.
3515 * sysdeps/i386/fpu/libm-test-ulps: Update.
3516 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3518 * math/auto-libm-test-in: Add more tests of atan.
3519 * math/auto-libm-test-out: Regenerated.
3520 * sysdeps/i386/fpu/libm-test-ulps: Update.
3521 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3523 2015-04-08 Florian Weimer <fweimer@redhat.com>
3525 * elf/pldd.c (main): Rewrite to use struct
3526 scratch_buffer instead of extend_alloca.
3527 * elf/pldd-xx.c (find_maps): Likewise.
3528 * grp/initgroups.c: Include <scratch_buffer.h> instead of
3530 * grp/compat-initgroups.c (compat_call): Rewrite to use struct
3531 scratch_buffer instead of extend_alloca.
3532 * nscd/initgrcache.c: Include <scratch_buffer.h>, now needed by
3533 grp/compat-initgroups.c.
3534 * nis/nss_compat/compat-initgroups.c (_nss_compat_initgroups_dyn):
3535 Rewrite to use struct scratch_buffer instead of extend_alloca.
3536 * inet/getnameinfo.c (nrl_domainname, getnameinfo): Likewise.
3537 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
3539 2015-04-08 Joseph Myers <joseph@codesourcery.com>
3541 * math/auto-libm-test-in: Add more tests of cbrt.
3542 * math/auto-libm-test-out: Regenerated.
3543 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
3545 * math/auto-libm-test-in: Add more tests of cabs.
3546 * math/auto-libm-test-out: Regenerated.
3547 * sysdeps/i386/fpu/libm-test-ulps: Update.
3548 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3552 * sysdeps/ieee754/dbl-64/e_atan2.c: Include <fenv.h>.
3553 (__ieee754_atan2): Set FE_TONEAREST mode for internal
3555 * math/auto-libm-test-in: Add more tests of atan2, carg, clog and
3557 * math/auto-libm-test-out: Regenerated.
3558 * sysdeps/i386/fpu/libm-test-ulps: Update.
3559 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3562 * sysdeps/ieee754/dbl-64/s_atan.c: Include <fenv.h>.
3563 (atan): Set FE_TONEAREST mode for internal computations.
3564 * math/auto-libm-test-in: Add more tests of atan.
3565 * math/auto-libm-test-out: Regenerated.
3567 2015-04-07 James Cowgill <james410@cowgill.org.uk>
3570 * sysdeps/unix/sysv/linux/mips/bits/shm.h (SHM_NORESERVE): Define.
3572 2015-04-07 Florian Weimer <fweimer@redhat.com>
3574 * malloc/scratch_buffer_grow_preserve.c: Include <string.h>
3576 2015-04-07 Florian Weimer <fweimer@redhat.com>
3578 * include/scratch_buffer.h: New file.
3579 * malloc/scratch_buffer_grow.c: Likewise.
3580 * malloc/scratch_buffer_grow_preserve.c: Likewise.
3581 * malloc/scratch_buffer_set_array_size.c: Likewise.
3582 * malloc/tst-scratch_buffer.c: Likewise.
3583 * malloc/Makefile (routines): Add scratch_buffer_grow.
3584 (tests): Add test case.
3585 * malloc/Versions (GLIBC_PRIVATE): Export
3586 __libc_scratch_buffer_grow, __libc_scratch_buffer_grow_preserve,
3587 __libc_scratch_buffer_set_array_size.
3589 2015-04-06 Richard Henderson <rth@redhat.com>
3591 * sysdeps/unix/alpha/sysdep.h: Unconditionally include dl-sysdep.h.
3592 * sysdeps/alpha/fpu/libm-test-ulps: Update.
3594 * math/test-fenvinline.c (feenable_test): Cast fe_exc to
3595 unsigned int before printing.
3597 2015-04-03 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
3600 * wcsmbs/mbrtowc.c (__mbrtowc): Add check for n=0.
3601 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
3603 2015-04-02 Florian Weimer <fweimer@redhat.com>
3605 * include/libc-internal.h (libc_max_align_t): Define.
3607 2015-04-02 Andreas Schwab <schwab@suse.de>
3610 * sysdeps/unix/sysv/linux/aarch64/bits/sigstack.h: New file.
3612 2015-04-02 Mel Gorman <mgorman@suse.de>
3615 * malloc/arena.c (free): Apply trim threshold to per-thread heaps
3616 as well as the main arena.
3618 2015-03-31 H.J. Lu <hongjiu.lu@intel.com>
3621 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo): Limit threads
3622 sharing L2 cache to 2 for Silvermont/Knights Landing.
3624 2015-03-31 H.J. Lu <hongjiu.lu@intel.com>
3627 * config.make.in (have-protected-data): New.
3628 * configure.ac: Check linker support for protected data symbol.
3629 * configure: Regenerated.
3630 * elf/Makefile (modules-names): Add tst-protected1moda and
3631 tst-protected1modb if $(have-protected-data) is yes.
3632 (tests): Add tst-protected1a and tst-protected1b if
3633 $(have-protected-data) is yes.
3634 ($(objpfx)tst-protected1a): New.
3635 ($(objpfx)tst-protected1b): Likewise.
3636 (tst-protected1modb.so-no-z-defs): Likewise.
3637 * elf/tst-protected1a.c: New file.
3638 * elf/tst-protected1b.c: Likewise.
3639 * elf/tst-protected1mod.h: Likewise.
3640 * elf/tst-protected1moda.c: Likewise.
3641 * elf/tst-protected1modb.c: Likewise.
3643 2015-03-31 H.J. Lu <hongjiu.lu@intel.com>
3646 * elf/dl-lookup.c (do_lookup_x): When UNDEF_MAP is NULL, which
3647 indicates it is called from do_lookup_x on relocation against
3648 protected data, skip the data definion in the executable from
3650 (_dl_lookup_symbol_x): Pass ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA,
3651 instead of ELF_RTYPE_CLASS_PLT, to do_lookup_x for
3652 EXTERN_PROTECTED_DATA relocation against STT_OBJECT symbol.
3653 * sysdeps/generic/ldsodefs.h * (ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA):
3654 New. Defined to 4 if DL_EXTERN_PROTECTED_DATA is defined,
3656 * sysdeps/i386/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
3657 * sysdeps/i386/dl-machine.h (elf_machine_type_class): Set class
3658 to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_386_GLOB_DAT.
3659 * sysdeps/x86_64/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
3660 * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Set class
3661 to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_X86_64_GLOB_DAT.
3663 2015-03-28 Martin Galvan <martin.galvan@tallertechnologies.com>
3665 * sysdeps/nptl/pthread.h: Remove duplicate definition of
3666 PTHREAD_ADAPTIVE_MUTEX_INITIALIZER_NP.
3668 2015-03-27 Martin Galvan <martin.galvan@tallertechnologies.com>
3670 * sysdeps/i386/nptl/tls.h: Swap comments between THREAD_SETMEM and
3672 * sysdeps/x86_64/nptl/tls.h: Ditto.
3674 2015-03-27 Roland McGrath <roland@hack.frob.com>
3676 * dlfcn/tststatic.c (main): Converted to ...
3677 (do_test): ... this.
3678 (TEST_FUNCTION): New macro.
3679 Include test-skeleton.c.
3681 2015-03-26 Alan Modra <amodra@gmail.com>
3683 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_fixup_plt):
3684 Don't segfault if ifunc resolver returns a NULL. Do set plt to
3685 zero for undefined weak.
3686 (elf_machine_plt_conflict): Similarly.
3688 2015-03-25 Joseph Myers <joseph@codesourcery.com>
3690 * math/auto-libm-test-in: Add more tests of acosh, asinh and
3692 * math/auto-libm-test-out: Regenerated.
3693 * sysdeps/i386/fpu/libm-test-ulps: Update.
3694 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3696 * math/auto-libm-test-in: Add another test of asin.
3697 * math/auto-libm-test-out: Regenerated.
3698 * sysdeps/i386/fpu/libm-test-ulps: Update.
3699 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3701 * sysdeps/unix/sysv/linux/i386/lowlevellock.h (LLL_EBX_LOAD):
3703 (LLL_EBX_REG): Likewise.
3704 (LLL_ENTER_KERNEL): Likewise.
3706 * math/auto-libm-test-in: Add more tests of asin.
3707 * math/auto-libm-test-out: Regenerated.
3708 * sysdeps/i386/fpu/libm-test-ulps: Update.
3709 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3712 * sysdeps/unix/sysv/linux/i386/sysdep.h (struct
3713 libc_do_syscall_args): New structure.
3714 (INTERNAL_SYSCALL_MAIN_0): New macro.
3715 (INTERNAL_SYSCALL_MAIN_1): Likewise.
3716 (INTERNAL_SYSCALL_MAIN_2): Likewise.
3717 (INTERNAL_SYSCALL_MAIN_3): Likewise.
3718 (INTERNAL_SYSCALL_MAIN_4): Likewise.
3719 (INTERNAL_SYSCALL_MAIN_5): Likewise.
3720 (INTERNAL_SYSCALL_MAIN_6): Likewise. Call __libc_do_syscall.
3721 (INTERNAL_SYSCALL): Define to use INTERNAL_SYSCALL_MAIN_##nr.
3722 Replace conditional definitions by conditional definitions of ....
3723 (INTERNAL_SYSCALL_MAIN_INLINE): ... this. New macro.
3724 * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S: New file.
3725 * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = nptl]
3726 (libpthread-sysdep_routines): Add libc-do-syscall.
3727 * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: Remove file.
3728 * sysdeps/unix/sysv/linux/i386/lowlevellock.h (SYS_futex): Define
3729 to __NR_futex not 240.
3731 2015-03-25 Alan Modra <amodra@gmail.com>
3733 * NEWS: Advertise TLS optimization.
3734 * elf/elf.h (R_PPC_TLSGD, R_PPC_TLSLD, DT_PPC_OPT, PPC_OPT_TLS): Define.
3735 (DT_PPC_NUM): Increment.
3736 * elf/dynamic-link.h (HAVE_STATIC_TLS): Define.
3737 (CHECK_STATIC_TLS): Use here.
3738 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Optimize
3740 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
3741 * sysdeps/powerpc/dl-tls.c: New file.
3742 * sysdeps/powerpc/Versions: Add __tls_get_addr_opt.
3743 * sysdeps/powerpc/tst-tlsopt-powerpc.c: New tls test.
3744 * sysdeps/unix/sysv/linux/powerpc/Makefile: Add new test.
3745 Build tst-tlsmod2.so with --no-tls-get-addr-optimize.
3746 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: Update.
3747 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: Likewise.
3748 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: Likewise.
3750 2015-03-25 Alan Modra <amodra@gmail.com>
3752 * sysdeps/powerpc/powerpc64/configure.ac: Correct "linker support
3753 for overlapping .opd entries" to "support...".
3754 * sysdeps/powerpc/powerpc64/configure: Regenerate
3756 2015-03-25 Joseph Myers <joseph@codesourcery.com>
3758 * math/auto-libm-test-in: Add more tests of acos.
3759 * math/auto-libm-test-out: Regenerated.
3760 * sysdeps/i386/fpu/libm-test-ulps: Update.
3761 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3763 * math/auto-libm-test-in: Add more tests of expm1.
3764 * math/auto-libm-test-out: Regenerated.
3765 * sysdeps/i386/fpu/libm-test-ulps: Update.
3766 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3768 2015-03-24 Joseph Myers <joseph@codesourcery.com>
3770 * math/auto-libm-test-in: Add more tests of cosh and sinh.
3771 * math/auto-libm-test-out: Regenerated.
3772 * sysdeps/i386/fpu/libm-test-ulps: Update.
3773 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3775 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
3776 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3778 * math/auto-libm-test-in: Add more tests of log2.
3779 * math/auto-libm-test-out: Regenerated.
3780 * sysdeps/i386/fpu/libm-test-ulps: Update.
3781 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3783 2015-03-23 Roland McGrath <roland@hack.frob.com>
3785 * libio/iofdopen.c: Move FD_FLAGS declaration into its first use,
3786 inside [F_GETFL]. Remove POSIX_MODE local variable, just test the
3787 _IO_IS_APPENDING bit in READ_WRITE instead.
3789 2015-03-23 Florian Weimer <fweimer@redhat.com>
3791 * sysdeps/unix/sysv/linux/pthread_setaffinity.c
3792 (__determine_cpumask_size): Replace extend_alloca with a
3793 variable-length array. Do not treat res == 0 as an error.
3795 2015-03-23 Florian Weimer <fweimer@redhat.com>
3798 * posix/wordexp.c (eval_expr_multdiv): Check for division by zero
3799 and integer overflow.
3800 * posix/wordexp-test.c (test_case): Add divide-by-zero test.
3801 (main): Add integer overflow tests.
3802 * manual/pattern.texi (Calling Wordexp): Document additional use
3805 2015-03-23 Alan Modra <amodra@gmail.com>
3807 * config.h.in: Remove HAVE_ASM_PPC_REL16.
3808 * sysdeps/powerpc/powerpc32/tls-macros.h: Remove HAVE_ASM_PPC_REL16
3809 and false branch of conditional.
3810 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
3813 2015-03-21 Samuel Thibault <samuel.thibault@ens-lyon.org
3815 * sysdeps/mach/hurd/Makefile ($(common-objpfx)errnos.d): Depend on
3817 * sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler): Remove
3818 unused declaration of _hurd_intr_rpc_msg_in_trap.
3819 * mach/mach_init.c (__mach_init): Test whether HAVE_HOST_PAGE_SIZE is
3820 defined instead of whether it is non-zero.
3821 * sysdeps/mach/hurd/i386/intr-msg.h (INTR_MSG_TRAP): Use "+m"
3822 input constraint instead of both input and output constraint. Use ecx
3823 clobber instead of %ecx.
3824 * sysdeps/mach/hurd/malloc-machine.h (mutex_init, mutex_lock,
3825 mutex_unlock): Use a statement expression instead of an expression list.
3826 * sysdeps/mach/hurd/setitimer.c (_hurd_itimer_thread_stack_size): Set
3827 type to vm_size_t instead of vm_address_t.
3828 * sysdeps/mach/hurd/fork.c (__fork): Test whether STACK_GROWTH_UP is
3829 defined instead of whether it is non-zero.
3830 * hurd/hurd/ioctl.h (_hurd_locked_install_cttyid): New declaration.
3831 * sysdeps/mach/hurd/setsid.c: Include <hurd/ioctl.h>.
3832 * sysdeps/mach/hurd/mmap.c (__mmap): Use 0 instead of NULL for
3833 comparisons with mapaddr.
3834 * nscd/nscd-client.h: Include <time.h>.
3835 * sysdeps/mach/hurd/dl-sysdep.c (fmh): Pass vm_offset_t dummy
3836 9th parameter to __vm_region instead of int.
3837 * bits/termios.h [!__USE_MISC] (EXTPROC): Do not define.
3838 * scripts/check-local-headers.sh (exclude): Add device/,
3839 hurd/hurd_types.h, hurd/ioctl_types.h, hurd/paths.h, hurd/ioctls.defs,
3842 2015-03-19 Roland McGrath <roland@hack.frob.com>
3844 * sysdeps/arm/memcpy.S [ARM_ALWAYS_BX]: Fix computed-jump calculations
3845 to account for alignment padding.
3846 * sysdeps/arm/memmove.S: Likewise.
3848 2015-03-19 Chris Metcalf <cmetcalf@ezchip.com>
3850 * sysdeps/unix/sysv/linux/generic/README: New file.
3852 2015-03-18 Joseph Myers <joseph@codesourcery.com>
3855 * nptl/sem_waitcommon.c: Include <kernel-features.h>.
3856 (futex_abstimed_wait)
3857 [__ASSUME_FUTEX_CLOCK_REALTIME && lll_futex_timed_wait_bitset]:
3858 Use lll_futex_timed_wait_bitset with FUTEX_CLOCK_REALTIME instead
3859 of lll_futex_timed_wait.
3861 2015-03-18 Brad Hubbard <bhubbard@redhat.com>
3864 * sunrpc/svc.c (xprt_register): Use calloc to allocate xports.
3866 2015-03-17 Alexandre Oliva <aoliva@redhat.com>
3873 * elf/dl-tls.c (_dl_update_slotinfo): Clean up outdated DTV
3874 entries with Static TLS too. Skip entries past the end of the
3875 allocated DTV, from Alan Modra.
3876 (tls_get_addr_tail): Update to glibc_likely/unlikely. Move
3877 Static TLS DTV entry set up from...
3878 (_dl_allocate_tls_init): ... here (fix modid assertion), ...
3879 * elf/dl-reloc.c (_dl_nothread_init_static_tls): ... here...
3880 * nptl/allocatestack.c (init_one_static_tls): ... and here...
3881 * elf/dlopen.c (dl_open_worker): Drop l_tls_modid upper bound
3883 * elf/tlsdeschtab.h (map_generation): Return size_t. Check
3884 that the slot we find is associated with the given map before
3885 using its generation count.
3886 * nptl_db/db_info.c: Include ldsodefs.h.
3887 (rtld_global, dtv_slotinfo_list, dtv_slotinfo): New typedefs.
3888 * nptl_db/structs.def (DB_RTLD_VARIABLE): New macro.
3889 (DB_MAIN_VARIABLE, DB_RTLD_GLOBAL_FIELD): Likewise.
3890 (link_map::l_tls_offset): New struct field.
3891 (dtv_t::counter): Likewise.
3892 (rtld_global): New struct.
3893 (_rtld_global): New rtld variable.
3894 (dl_tls_dtv_slotinfo_list): New rtld global field.
3895 (dtv_slotinfo_list): New struct.
3896 (dtv_slotinfo): Likewise.
3897 * nptl_db/td_symbol_list.c: Drop gnu/lib-names.h include.
3898 (td_lookup): Rename to...
3899 (td_mod_lookup): ... this. Use new mod parameter instead of
3901 * nptl_db/td_thr_tlsbase.c: Include link.h.
3902 (dtv_slotinfo_list, dtv_slotinfo): New functions.
3903 (td_thr_tlsbase): Check DTV generation. Compute Static TLS
3904 addresses even if the DTV is out of date or missing them.
3905 * nptl_db/fetch-value.c (_td_locate_field): Do not refuse to
3906 index zero-length arrays.
3907 * nptl_db/thread_dbP.h: Include gnu/lib-names.h.
3908 (td_lookup): Make it a macro implemented in terms of...
3909 (td_mod_lookup): ... this declaration.
3910 * nptl_db/db-symbols.awk (DB_RTLD_VARIABLE): Override.
3911 (DB_MAIN_VARIABLE): Likewise.
3913 2015-03-16 H.J. Lu <hongjiu.lu@intel.com>
3916 * sysdeps/x86_64/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
3918 2015-03-15 Paul Eggert <eggert@cs.ucla.edu>
3920 * stdlib/setenv.c (__add_to_environ): Revert previous change.
3922 2015-03-14 Andreas Schwab <schwab@linux-m68k.org>
3925 * sysdeps/m68k/m680x0/m68020/bits/atomic.h (atomic_exchange_and_add)
3926 (atomic_add, atomic_increment_and_test)
3927 (atomic_decrement_and_test): Fix 64-bit arithmetic.
3929 2015-03-13 Paul Eggert <eggert@cs.ucla.edu>
3931 * stdlib/setenv.c (__add_to_environ):
3932 Dump core quickly if setenv (..., NULL, ...) is called.
3934 2015-03-13 Roland McGrath <roland@hack.frob.com>
3936 * sysdeps/arm/tls-macros.h: Include <sysdep.h>.
3937 (GET_SPECIAL_RELOC, GET_SPECIAL_PCREL): New macros to encapsulate
3938 all the necessary asm magic in one place.
3939 (TLS_LE, TLS_IE, TLS_LD, TLS_GD): Rewritten as C expressions
3942 2015-03-13 Carlos O'Donell <carlos@redhat.com>
3945 * nscd/cache.c (prune_cache): Use TRACED_FILE. Compare and update
3946 traced file mtime. Use consistent log message.
3947 * nscd/connections.c [HAVE_INOTIFY] (install_watches): New function.
3948 (register_traced_file): Call install_watches. Always set mtime.
3949 (invalidate_cache): Iterate over all trace files. Call install_watches.
3950 (inotify_check_files): Don't inline. Handle watching parent
3951 directories and configuration file movement in and out.
3952 (handle_inotify_events): New function.
3953 (main_loop_poll): Call handle_inotify_events.
3954 (main_loop_epoll): Likewise.
3955 * nscd/nscd.h: Define TRACED_FILE, TRACED_DIR, and PATH_MAX.
3956 (struct traced_file): Use array of inotify fds. Add parent directory,
3958 (struct database_dyn): Remove unused file_mtime.
3959 (init_traced_file): New inline function.
3960 (define_traced_file): New macro.
3961 * nss/nss_db/db-init.c: Use define_traced_file.
3962 (_nss_db_init): Use init_traced_file.
3963 * nss/nss_files/files-init.c: Use define_traced_file.
3964 (_nss_files_init): Use init_traced_file.
3966 2015-03-12 Joseph Myers <joseph@codesourcery.com>
3968 * soft-fp/soft-fp.h (_FP_STATIC_ASSERT): New macro.
3969 [_LIBC]: Do not include <stdlib.h>.
3970 [!_LIBC] (abort): Remove declaration.
3971 * soft-fp/op-2.h (_FP_MUL_MEAT_2_120_240_double): Use
3972 _FP_STATIC_ASSERT instead of conditionally calling abort.
3973 * soft-fp/op-common.h (_FP_FROM_INT): Likewise.
3974 (_FP_EXTEND_CNAN): Likewise.
3975 (FP_TRUNC): Likewise.
3976 (__FP_CLZ): Likewise.
3977 * sysdeps/powerpc/nofpu/flt-rounds.c: Include <stdlib.h>.
3979 2015-03-12 Yaakov Selkowitz <yselkowi@redhat.com>
3981 * manual/string.texi (XPG basename): Fix prototype.
3983 2015-03-12 Stefan Liebler <stli@linux.vnet.ibm.com>
3986 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S
3987 (__setcontext): Use SIG_SETMASK instead of SIG_BLOCK.
3988 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S
3989 (__setcontext): Likewise.
3990 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S
3991 (__swapcontext): Use SIG_SETMASK instead of SIG_BLOCK.
3992 Call rt_sigprocmask syscall one time to set new signal mask
3993 and retrieve the current signal mask instead of two calls.
3994 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S
3995 (__swapcontext): Likewise.
3996 * stdlib/Makefile (tests): Add new testcase tst-setcontext2.
3997 * stdlib/tst-setcontext2.c: New file.
3999 2015-03-12 Stefan Liebler <stli@linux.vnet.ibm.com>
4001 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
4003 2015-03-11 Aurelien Jarno <aurelien@aurel32.net>
4006 * elf/cache.c (load_aux_cache): Regenerate the cache if it has
4009 2015-03-11 Paul Pluzhnikov <ppluzhnikov@google.com>
4012 * posix/wordexp.c (parse_param): Don't call setenv(..., NULL, 1).
4014 2015-03-11 Adhemerval Zanellla <azanella@linux.vnet.ibm.com>
4016 * config.h.in [HAVE_ASM_GLOBAL_DOT_NAME]: Remove define.
4017 * include/libc-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (strong_alias):
4019 [HAVE_ASM_GLOBAL_DOT_NAME] (strong_data_alias): Likewise.
4020 [HAVE_ASM_GLOBAL_DOT_NAME] (weak_alias): Likewise.
4021 [HAVE_ASM_GLOBAL_DOT_NAME] (_symbol_version): Likewise.
4022 [HAVE_ASM_GLOBAL_DOT_NAME] (_default_symbol_version): Likewise.
4023 [HAVE_ASM_GLOBAL_DOT_NAME] (HIDDEN_JUMPTARGET): Likewise.
4024 * nptl_db/db-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (DOT): Remove
4026 * nptl_db/td_symbol_list.c (td_lookup): Remove
4027 HAVE_ASM_GLOBAL_DOT_NAME code.
4028 * sysdeps/powerpc/powerpc64/configure.ac: Remove
4029 HAVE_ASM_GLOBAL_DOT_NAME check.
4030 * sysdeps/powerpc/powerpc64/configure: Regenerate.
4031 * sysdeps/powerpc/powerpc64/sysdep.h [HAVE_ASM_GLOBAL_DOT_NAME]
4032 (DOT_LABEL): Remove define.
4033 [HAVE_ASM_GLOBAL_DOT_NAME] (BODY_LABEL): Likewise.
4034 [HAVE_ASM_GLOBAL_DOT_NAME] (ENTRY_2): Likewise.
4035 [HAVE_ASM_GLOBAL_DOT_NAME] (END_2): Likewise.
4036 * sysdeps/powerpc/powerpc64/tls-macros.h [HAVE_ASM_GLOBAL_DOT_NAME]
4037 (__TLS_GET_ADDR): Likewise.
4038 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h
4039 [HAVE_ASM_GLOBAL_DOT_NAME] (DASHDASHPFX): Likewise.
4041 2015-03-11 Carlos O'Donell <carlos@redhat.com>
4044 * sysdeps/hppa/fpu/fpu_control.h (_FPU_HPPA_SHIFT_FLAGS): Define.
4045 (_FPU_SETCW): Initialize cw from fpsr before storing.
4046 * sysdeps/hppa/fpu/fsetexcptflg.c: Include fpu_control.h
4047 (fesetexceptflag): Rewrite using fpu_control.h.
4048 * sysdeps/hppa/fpu/feupdateenv.c: Handle FE_DFL_ENV, and FE_NOMASK_ENV.
4050 2015-03-11 John David Anglin <danglin@gcc.gnu.org>
4053 * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Don't modify bufptr in
4055 * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
4057 2015-03-11 Joseph Myers <joseph@codesourcery.com>
4059 * soft-fp/soft-fp.h (_FP_UNREACHABLE): New macro.
4060 * soft-fp/op-common.h (_FP_MUL): Use _FP_UNREACHABLE instead of
4062 (_FP_FMA): Likewise.
4063 (_FP_DIV): Likewise.
4065 2015-03-10 Roland McGrath <roland@hack.frob.com>
4067 * scripts/evaluate-test.sh: Grok exit code 77 as UNSUPPORTED and exit
4068 with 0 in that case.
4069 * Makefile (summarize-tests): New canned sequence, factored out of
4070 commands for targets tests and xtests. Display summary lines that
4071 don't start with PASS: or XFAIL: rather than ones that do start with
4072 ERROR: or FAIL:. Make the commands fail if any summary lines fail
4073 to start with X?PASS: or XFAIL: or UNSUPPORTED: rather than if any
4074 do start with ERROR: or FAIL:.
4075 * dlfcn/Makefile (tests): Add bug-atexit3 back here unconditionally
4076 (except for [$(build-shared) = yes]).
4077 (tests-unsupported) [$(CXX) empty]: Add bug-atexit3.
4078 (LDLIBS-bug-atexit3-lib.so): Conditionalize on [$(CXX) nonempty].
4079 ($(objpfx)bug-atexit3, $(objpfx)bug-atexit3.out): Likewise.
4080 * nptl/Makefile: Revert 2015-03-04 changes.
4081 [$(CXX) empty] (tests-unsupported): New variable.
4082 * debug/Makefile: Likewise.
4084 * posix/regcomp.c: Fix comment typos and formatting to harmonize with
4085 gnulib file. Replace __attribute with __attribute__ throughout.
4087 2015-03-10 Carlos O'Donell <carlos@redhat.com>
4089 * sysdeps/hppa/fpu/libm-test-ulps: Update.
4091 2015-03-10 Joseph Myers <joseph@codesourcery.com>
4094 * math/auto-libm-test-in: Add another test of pow.
4095 * math/auto-libm-test-out: Regenerated.
4097 2015-03-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4099 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_pow.c): Add
4100 $(config-cflags-nofma).
4102 2015-03-10 Joseph Myers <joseph@codesourcery.com>
4104 * soft-fp/double.h [SOFT_FP_DOUBLE_H]: New multiple-include guard.
4105 * soft-fp/extended.h [SOFT_FP_EXTENDED_H]: Likewise.
4106 * soft-fp/op-1.h [SOFT_FP_OP_1_H]: Likewise.
4107 * soft-fp/op-2.h [SOFT_FP_OP_2_H]: Likewise.
4108 * soft-fp/op-4.h [SOFT_FP_OP_4_H]: Likewise.
4109 * soft-fp/op-8.h [SOFT_FP_OP_8_H]: Likewise.
4110 * soft-fp/op-common.h [SOFT_FP_OP_COMMON_H]: Likewise.
4111 * soft-fp/quad.h [SOFT_FP_QUAD_H]: Likewise.
4112 * soft-fp/single.h [SOFT_FP_SINGLE_H]: Likewise.
4113 * soft-fp/soft-fp.h (SOFT_FP_H): Define to 1 rather than empty.
4114 Add comment on closing #endif.
4116 2015-03-09 Paul Pluzhnikov <ppluzhnikov@google.com>
4118 * posix/wordexp.c (CHAR_IN_SET): New macro.
4119 (parse_param): Use it.
4121 2015-03-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4123 * sysdeps/powerpc/fpu/libm-test-ulps: update.
4125 2015-03-09 Paul Pluzhnikov <ppluzhnikov@google.com>
4128 * posix/wordexp.c (parse_param): Fix buffer overflow.
4129 * posix/wordexp-test.c (test_case): Add test case.
4131 2015-03-09 Paul Pluzhnikov <ppluzhnikov@google.com>
4134 * posix/wordexp.c (parse_backtick): Fix off-by-one.
4135 * posix/wordexp-test.c (test_case): Add test for BZ #18042.
4137 2015-03-09 Paul Pluzhnikov <ppluzhnikov@google.com>
4140 * posix/wordexp-test.c (test_case): Add test for BZ #18043
4141 (do_bz18043): Delete.
4143 (testit): Refactor to have words at the edge of unreadable page.
4145 2015-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
4148 * libio/genops.c (_IO_unbuffer_all): Renamed from _IO_unbuffer_write.
4149 Cleanup read-only streams as well.
4150 (_IO_cleanup): Call _IO_unbuffer_all instead of _IO_unbuffer_write.
4152 2015-03-08 Samuel Thibault <samuel.thibault@ens-lyon.org>
4154 * sysdeps/mach/hurd/bits/libc-lock.h [_LIBC]: Include
4157 2015-03-07 Joseph Myers <joseph@codesourcery.com>
4159 * soft-fp/soft-fp.h (_FP_ZERO_INIT): New macro. Define depending
4161 * soft-fp/op-1.h (_FP_FRAC_DECL_1): Use _FP_ZERO_INIT.
4162 * soft-fp/op-2.h (_FP_FRAC_DECL_2): Likewise.
4163 * soft-fp/op-common.h (_FP_DECL): Likewise.
4165 2015-03-06 H.J. Lu <hongjiu.lu@intel.com>
4167 * elf/ifuncdep2.c (global): Replace
4168 __attribute__((visibility("protected"))) with
4169 asm (".protected global").
4170 * elf/ifuncmod1.c (global): Likewise.
4171 * elf/ifuncmod5.c (global): Likewise.
4173 2015-03-06 Joseph Myers <joseph@codesourcery.com>
4175 * soft-fp/soft-fp.h [!_LIBC && __KERNEL__]: Include
4176 <asm/sfp-machine.h> instead of <sfp-machine.h>.
4178 2015-03-06 Roland McGrath <roland@hack.frob.com>
4180 * manual/install.texi (Configuring and compiling):
4181 Document test-wrapper-env-only.
4182 * INSTALL: Regenerated.
4184 2015-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
4187 * posix/wordexp.c (parse_param): Fix buffer overflow.
4188 * posix/wordexp-test.c (do_bz18043): Add test case.
4190 2015-03-06 Vincent Bernat <vincent@bernat.im>
4192 * time/tst-strptime2.c (do_test): Ensure failing tests are
4194 * time/tst-strptime3.c (do_test): Likewise.
4196 2015-03-06 Samuel Thibault <samuel.thibault@inria.fr>
4198 Fix aio_error thread-safety.
4199 * sysdeps/pthread/aio_error.c: New file
4200 * sysdeps/pthread/aio_misc.c: Remove optimistic comment about
4203 2015-03-06 Florian Weimer <fweimer@redhat.com>
4205 * stdio-common/vfprintf.c (THOUSANDS_SEP_T): New typedef.
4206 (group_number, vfprintf): Use it.
4207 (JUMP_TABLE_BASE_LABEL): New preprocessor macro.
4208 (JUMP, REF): Use it.
4209 (WORK_BUFFER_SIZE): New enum constant.
4210 (process_arg, vfprintf): Use it.
4212 2015-03-06 Rical Jasan <ricaljasan@pacific.net>
4214 * manual/errno.texi (Error Messages): Complete example function
4215 by adding missing #define.
4216 (program_invocation_name): Add statement indicating GNU
4217 extension and reference which header file declares the variable.
4218 (program_invocation_short_name): Likewise.
4220 2015-03-06 Mike Frysinger <vapier@gentoo.org>
4222 * manual/errno.texi (Error Messages): Delete strerror ISO C89
4225 2015-03-05 Roland McGrath <roland@hack.frob.com>
4227 * Makeconfig (test-wrapper-env-only): New variable.
4228 * Rules (make-test-out): If variable $*-ENV-only is nonempty,
4229 then use that with $(test-wrapper-env-only) rather than using
4230 $(test-wrapper-env) $(run-program-env) $($*-ENV).
4232 2015-03-05 H.J. Lu <hongjiu.lu@intel.com>
4235 * sysdeps/alpha/dl-machine.h (elf_machine_type_class): Replace
4236 ELF_RTYPE_CLASS_NOCOPY with ELF_RTYPE_CLASS_COPY in comments.
4237 * sysdeps/arm/dl-machine.h (elf_machine_type_class): Likewise.
4238 * sysdeps/hppa/dl-machine.h (elf_machine_type_class): Likewise.
4239 * sysdeps/i386/dl-machine.h (elf_machine_type_class): Likewise.
4240 * sysdeps/ia64/dl-machine.h (elf_machine_type_class): Likewise.
4241 * sysdeps/m68k/dl-machine.h (elf_machine_type_class): Likewise.
4242 * sysdeps/microblaze/dl-machine.h (elf_machine_type_class):
4244 * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Likewise.
4245 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_type_class):
4247 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_type_class):
4249 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_type_class):
4251 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_type_class):
4253 * sysdeps/sh/dl-machine.h (elf_machine_type_class): Likewise.
4254 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_type_class):
4256 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_type_class):
4258 * sysdeps/tile/dl-machine.h (elf_machine_type_class): Likewise.
4259 * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Likewise.
4261 2015-03-04 Roland McGrath <roland@hack.frob.com>
4263 * sysdeps/generic/netinet/if_ether.h: Don't #include <features.h>.
4264 (ETH_ALEN): New macro.
4265 (struct ether_addr): Use it for length of ether_addr_octet.
4267 * nss/test-netdb.c: Don't #include <rpc/netdb.h>.
4268 (setdb): Don't call __nss_configure_lookup for "rpc".
4269 (do_test): Don't call test_rpc.
4270 (output_rpcent, test_rpc): Functions moved ...
4271 * sunrpc/test-rpcent.c: ... to this new file.
4272 * sunrpc/Makefile (tests): Add it.
4274 * nptl/tst-cancel4.c (tf_sigpause) [!SIGCANCEL]: Call pause instead of
4276 * nptl/tst-signal3.c: Conditionalize body on [SIGRTMIN].
4277 * nptl/tst-signal6.c: Likewise.
4278 * rt/tst-mqueue5.c: Conditionalize body on [SIGRTMIN && SA_SIGINFO].
4279 * rt/tst-timer4.c: Conditionalize body on [SA_SIGINFO].
4281 * configure.ac (libc_cv_cxx_link_ok): New check.
4282 Reset CXX to empty if it fails to link.
4283 * configure: Regenerated.
4284 * dlfcn/Makefile (tests, modules-names): Add bug-atexit3 and
4285 bug-atexit3-lib only if $(CXX) is nonempty.
4286 * nptl/Makefile (tests): Likewise for tst-cancel24.
4287 (tests, tests-static): Likewise for tst-cancel24-static.
4288 * debug/Makefile (tests): Likewise for tst-chk4, tst-chk5, tst-chk6,
4289 tst-lfschk4, tst-lfschk5, and tst-lfschk6.
4290 * elf/Makefile (tests, modules-names): Likewise for tst-unique3,
4291 tst-unique3lib, tst-unique3lib2, tst-unique4, and tst-unique4lib.
4293 2015-03-04 Andreas Schwab <schwab@suse.de>
4296 * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Don't define
4297 for non-GCC compilers.
4298 * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
4301 2015-03-03 Adhemerval Zanellla <azanella@linux.vnet.ibm.com>
4304 * sysdeps/powerpc/bits/fenvinline.h (feraiseexcept): Convert input to
4305 integer before bitwise and assembly operations.
4306 (feclearexcept): Likewise.
4307 * math/test-fenvinline.c: New file.
4308 * math/Makefile: Add test-fenvinline test.
4310 2015-03-03 Alan Modra <amodra@gmail.com>
4313 * scripts/localplt.awk: Strip off symbol version.
4314 * NEWS: Mention bug fix.
4316 2015-03-02 Roland McGrath <roland@hack.frob.com>
4318 * sysdeps/pthread/timer_routines.c
4319 (timer_free_list, thread_free_list, thread_active_list): Make static.
4321 2015-03-02 Joseph Myers <joseph@codesourcery.com>
4324 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
4325 [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
4327 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
4328 [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
4330 * sysdeps/unix/sysv/linux/sh/kernel-features.h
4331 [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
4334 2015-03-02 Paul Pluzhnikov <ppluzhnikov@google.com>
4337 * posix/fnmatch_loop.c (END): Detect invalid pattern.
4338 * posix/tst-fnmatch3.c (do_bz18036): Add test case.
4340 2015-03-02 Andreas Schwab <schwab@suse.de>
4342 * elf/Makefile ($(elf-objpfx)runtime-linker.st): Fix typo in
4345 2015-03-02 Florian Weimer <fweimer@redhat.com>
4347 * nis/nss_nis/nis-initgroups.c (_nss_nis_initgroups_dyn):
4348 Return error status.
4350 2015-02-27 Alexandre Oliva <aoliva@redhat.com>
4353 * locale/findlocale.c (_nl_find_locale): Introduce const
4354 version of loc_name and drop unsafe type casts.
4356 2015-02-27 Roland McGrath <roland@hack.frob.com>
4358 * dlfcn/tststatic2.c (main): Converted to ...
4359 (do_test): ... this.
4360 (TEST_FUNCTION): New macro.
4361 Include test-skeleton.c.
4363 2015-02-27 H.J. Lu <hongjiu.lu@intel.com>
4366 * elf/Makefile (tests): Add vismain only if PIE is enabled.
4367 (tests-pie): Add vismain.
4368 (CFLAGS-vismain.c): New.
4369 * elf/vismain.c: Add comments for PIE requirement.
4371 2015-02-27 Joseph Myers <joseph@codesourcery.com>
4375 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Use
4376 0x1p-56L as threshold for just returning the argument.
4377 * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Use
4378 0x1p-32L as threshold for just returning the argument.
4379 * math/auto-libm-test-in: Add more tests of atanh.
4380 * math/auto-libm-test-out: Regenerated.
4381 * sysdeps/i386/fpu/libm-test-ulps: Update.
4382 * sysdeps/x86_64/fpu/libm-test-ulp: Likewise.
4384 2015-02-27 Wilco Dijkstra wdijkstr@arm.com
4386 * string/bcopy.c (bcopy): Call memmove for performance.
4388 2015-02-27 Wilco Dijkstra wdijkstr@arm.com
4390 * string/bzero.c (__bzero): Call memset for performance.
4392 2015-02-27 John David Anglin <dave.anglin@bell.net>
4395 * sysdeps/unix/sysv/linux/hppa/bits/fcntl.h (__O_SYNC): Change
4398 2015-02-27 Joseph Myers <joseph@codesourcery.com>
4400 * sysdeps/ieee754/k_standard.c (CSTR): Add comment.
4402 2015-02-26 Joseph Myers <joseph@codesourcery.com>
4404 * sysdeps/ieee754/k_standard.c (CSTR): New macro.
4405 (__kernel_standard): Use CSTR macro when setting exc.name.
4406 * sysdeps/ieee754/Makefile [$(subdir) = math]
4407 (CFLAGS-k_standard.c): Remove variable.
4409 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Change last case for
4410 setting p and q from "else if" to "else".
4412 * sysdeps/ieee754/dbl-64/e_j1.c (pone): Likewise.
4414 * sysdeps/ieee754/flt-32/e_j0f.c (pzerof): Likewise.
4416 * sysdeps/ieee754/flt-32/e_j1f.c (ponef): Likewise.
4418 * sysdeps/ieee754/ldbl-96/e_j0l.c (pzero): Likewise.
4420 * sysdeps/ieee754/ldbl-96/e_j1l.c (pone): Likewise.
4425 * sysdeps/ieee754/ldbl-128/e_acosl.c (__ieee754_acosl): Only
4426 return pi/2 for arguments below 0x1p-113L.
4427 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Only
4428 return pi/2 for arguments below 0x1p-106L.
4429 * math/auto-libm-test-in: Add more tests of acos.
4430 * math/auto-libm-test-out: Regenerated.
4433 * sysdeps/i386/fpu/e_asin.S (dbl_min): New object.
4435 (__ieee754_asin): Force underflow exception for results with small
4437 * sysdeps/i386/fpu/e_asinf.S (flt_min): New object.
4439 (__ieee754_asinf): Force underflow exception for results with
4440 small absolute value.
4441 * sysdeps/ieee754/dbl-64/e_asin.c: Include <float.h> and <math.h>.
4442 (__ieee754_asin): Force underflow exception for results with small
4444 * sysdeps/ieee754/flt-32/e_asinf.c: Include <float.h>.
4445 (__ieee754_asinf): Force underflow exception for results with
4446 small absolute value.
4447 * sysdeps/ieee754/ldbl-128/e_asinl.c: Include <float.h>.
4448 (__ieee754_asinl): Force underflow exception for results with
4449 small absolute value.
4450 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Include <float.h>.
4451 (__ieee754_asinl): Force underflow exception for results with
4452 small absolute value.
4453 * sysdeps/ieee754/ldbl-96/e_asinl.c: Include <float.h>.
4454 (__ieee754_asinl): Force underflow exception for results with
4455 small absolute value.
4456 * sysdeps/x86_64/fpu/multiarch/e_asin.c [HAVE_FMA4_SUPPORT]:
4458 * math/auto-libm-test-in: Do not mark underflow exceptions as
4459 possibly missing for bug 16351.
4460 * math/auto-libm-test-out: Regenerated.
4463 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Adjust exponent
4464 of power of 2 down when low part has opposite sign.
4465 * math/libm-test.inc (logb_test_data): Add more tests.
4467 2015-02-26 Andreas Schwab <schwab@suse.de>
4470 * posix/fnmatch_loop.c (FCT): Remove extra increment when skipping
4471 over collating symbol inside a bracket expression. Minor cleanup.
4472 * posix/tst-fnmatch3.c (do_test): Add test case.
4474 2015-02-26 Joseph Myers <joseph@codesourcery.com>
4477 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl):
4478 Adjust exponent of power of 2 down when low part has opposite
4480 * math/libm-test.inc (ilogb_test_data): Add more tests.
4482 2015-02-26 Alexandre Oliva <aoliva@redhat.com>
4485 * locale/findlocale.c (_nl_find_locale): Fix constness error in
4486 the previous change.
4489 * locale/findlocale.c (_nl_find_locale): Retry archive search
4490 after alias expansion.
4492 2015-02-25 Roland McGrath <roland@hack.frob.com>
4494 * iconv/tst-iconv3.c (main): Converted to ...
4495 (do_test): ... this.
4496 (TEST_FUNCTION): New macro.
4497 Include test-skeleton.c.
4499 * iconv/tst-iconv5.c (testcode, number): Make variables static const.
4500 (convert): Make function static.
4501 (test_unalign): Likewise. Add const to argument pointee types.
4502 (main): Replace with static function do_test.
4503 Print "Succeeded." only if RET is zero.
4504 (TEST_FUNCTION): New macro.
4505 Include test-skeleton.c.
4507 * iconv/gconv_conf.c (__gconv_get_path): Don't crash if __getcwd
4508 returns a null pointer.
4510 2015-02-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4512 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Define memcpy
4513 to __memcpy_ppc only for static builds.
4515 2015-02-25 Joseph Myers <joseph@codesourcery.com>
4518 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use 2**56 and
4519 2**-56 not 2**28 and 2**-29 as thresholds for simpler formulas.
4520 * math/auto-libm-test-in: Add more tests of asinh.
4521 * math/auto-libm-test-out: Regenerated.
4522 * sysdeps/i386/fpu/libm-test-ulps: Update.
4523 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4525 2015-02-25 Cong Wang <xiyou.wangcong@gmail.com>
4528 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Put in6_pktinfo
4529 and ip6_mtuinfo definitions here.
4530 * sysdeps/unix/sysv/linux/bits/in.h [_UAPI_IPV6_H]: Wrap code
4531 in this define too. Update comment.
4533 2015-02-24 Benno Schulenberg <bensberg@justemail.net>
4535 * elf/sprof.c (load_shobj): Tweak error message to match others.
4537 2015-02-24 Kevin Easton <kevin@guarana.org>
4539 [BZ #16145] (partial fix)
4540 * time/tzset.c (__tz_convert): Unlock tzset_lock earlier
4541 to reduce lock contention.
4543 2015-02-24 Miroslav Lichvar <mlichvar@redhat.com>
4545 * sysdeps/unix/sysv/linux/bits/timex.h: Update version.
4546 (struct timex): Update time comment.
4547 (ADJ_SETOFFSET): Define.
4549 2015-02-24 Joseph Myers <joseph@codesourcery.com>
4552 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
4553 2**56 not 2**28 as threshold for log (2x) formula.
4554 * math/auto-libm-test-in: Add more tests of acosh.
4555 * math/auto-libm-test-out: Regenerated.
4556 * sysdeps/i386/fpu/libm-test-ulps: Update.
4557 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4559 2015-02-24 Mike Frysinger <vapier@gentoo.org>
4561 * include/alloca.h [_STACK_GROWS_DOWN] (extend_alloca): Add
4562 parenthesis around the buf assignment.
4563 [_STACK_GROWS_UP] (extend_alloca): Add a char* cast.
4565 2015-02-24 Joseph Myers <joseph@codesourcery.com>
4568 * sysdeps/i386/fpu/e_scalb.S (__ieee754_scalb): Do not handle
4569 arguments (NaN, -Inf) the same as (+/-Inf, -Inf).
4570 * sysdeps/i386/fpu/e_scalbf.S (__ieee754_scalbf): Likewise.
4571 * sysdeps/i386/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
4572 * sysdeps/x86_64/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
4573 * math/libm-test.inc (scalb_test_data): Add more tests.
4575 2015-02-24 Paul Pluzhnikov <ppluzhnikov@google.com>
4578 * libio/fileops.c (_IO_new_file_fopen): Limit stack use
4579 * libio/tst-fopenloc.c (do_test, do_bz17916): Add a large ccs= test
4581 2015-02-24 Eric Rannaud <e@nanocritical.com>
4584 * io/fcntl.h (__OPEN_NEEDS_MODE): New macro.
4585 * io/bits/fcntl2.h (open): Use it.
4587 * io/open.c (__libc_open): Likewise.
4588 * io/open64.c (__libc_open64): Likewise.
4589 * io/open64_2.c (__open64_2): Likewise.
4590 * io/open_2.c (__open_2): Likewise.
4591 * io/openat.c (__openat): Likewise.
4592 * io/openat64.c (__openat64): Likewise.
4593 * io/openat64_2.c (__openat64_2): Likewise.
4594 * io/openat_2.c (__openat_2): Likewise.
4595 * sysdeps/mach/hurd/open.c (__libc_open): Likewise.
4596 * sysdeps/mach/hurd/openat.c (__openat): Likewise.
4597 * sysdeps/posix/open64.c (__libc_open64): Likewise.
4598 * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
4599 * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
4600 (__open_nocancel): Likewise.
4601 * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
4602 * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
4603 * sysdeps/unix/sysv/linux/openat.c (__OPENAT): Likewise.
4605 2015-02-24 Siddhesh Poyarekar <siddhesh@redhat.com>
4608 * resolv/gethnamaddr.c (getanswer): Skip logging if
4609 RES_USE_DNSSEC is set.
4610 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
4612 2015-02-24 Mike Frysinger <vapier@gentoo.org>
4614 * sysdeps/unix/sysv/linux/hppa/sysdep.h: Include dl-sysdep.h.
4616 2015-02-23 Alexandre Oliva <aoliva@redhat.com>
4618 * include/stdc-predef.h (__STDC_ISO_10646__): Update to
4619 201304L, for Unicode 7.
4621 2015-02-23 H.J. Lu <hongjiu.lu@intel.com>
4624 * csu/Makefile (extra-objs): Add gmon-start.o if not builing
4625 shared library. Add gmon-start.os otherwise.
4626 ($(objpfx)g$(start-installed-name)): Use $(objpfx)S%
4627 $(objpfx)gmon-start.os if builing shared library.
4628 ($(objpfx)g$(static-start-installed-name)): Likewise.
4630 2015-02-23 Andreas Schwab <schwab@suse.de>
4632 * elf/Makefile (CFLAGS-tst-audit2.c): Define.
4634 2015-02-22 Paul Pluzhnikov <ppluzhnikov@google.com>
4637 * libio/wstrops.c (_IO_wstr_overflow): Guard against integer overflow
4638 (enlarge_userbuf): Likewise.
4640 2015-02-22 Chung-Lin Tang <cltang@codesourcery.com>
4642 * libio/tst-memstream2.c (TIMEOUT): Define as 100.
4643 * math/atest-exp.c (TIMEOUT): Adjust to 200.
4644 * math/atest-exp2.c (TIMEOUT): Adjust to 300.
4645 * math/atest-sincos.c (TIMEOUT): Adjust to 600.
4647 2015-02-20 Joseph Myers <joseph@codesourcery.com>
4649 * soft-fp/op-common.h (_FP_FROM_INT): Wrap call to abort in
4650 expression inside statement expression.
4652 2015-02-20 Stefan Liebler <stli@linux.vnet.ibm.com>
4654 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Include
4655 <sysdeps/nptl/lowlevellock.h> and remove macros and
4656 functions that are now defined there.
4657 (SYS_futex): Remove.
4658 (lll_compare_and_swap): Remove.
4659 * sysdeps/s390/bits/atomic.h (atomic_exchange_acq): Define.
4661 2015-02-19 Joseph Myers <joseph@codesourcery.com>
4664 * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Define to __scandirat
4665 instead of scandirat.
4666 * dirent/scandirat.c [!SCANDIRAT] (SCANDIRAT): Likewise.
4667 [!SCANDIRAT] (SCANDIRAT_WEAK_ALIAS): Define.
4668 [SCANDIRAT_WEAK_ALIAS] (scandirat): Define as weak alias of
4670 * include/dirent.h (scandirat): Do not use libc_hidden_proto.
4671 (__scandirat): Declare. Use libc_hidden_proto.
4672 * conform/Makefile (test-xfail-POSIX2008/dirent.h/linknamespace):
4674 (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
4676 2015-02-18 Joseph Myers <joseph@codesourcery.com>
4679 * sysdeps/i386/fpu/e_atan2.S (dbl_min): New object.
4681 (__ieee754_atan2): For results with small absolute value, force
4682 underflow exception and remove excess range and precision from
4684 * sysdeps/i386/fpu/e_atan2f.S (flt_min): New object.
4686 (__ieee754_atan2f): For results with small absolute value, force
4687 underflow exception and remove excess range and precision from
4689 * sysdeps/i386/fpu/s_atan.S (dbl_min): New object.
4691 (__atan): For results with small absolute value, force underflow
4692 exception and remove excess range and precision from return value.
4693 * sysdeps/i386/fpu/s_atanf.S (flt_min): New object.
4695 (__atanf): For results with small absolute value, force underflow
4696 exception and remove excess range and precision from return value.
4697 * sysdeps/ieee754/dbl-64/e_atan2.c: Include <float.h> and
4699 (__ieee754_atan2): Force underflow exception for results with
4700 small absolute value.
4701 * sysdeps/ieee754/dbl-64/s_atan.c: Include <float.h> and
4703 (atan): Force underflow exception for results with small absolute
4705 * sysdeps/ieee754/flt-32/s_atanf.c: Include <float.h>.
4706 (__atanf): Force underflow exception for results with small
4708 * sysdeps/ieee754/ldbl-128/s_atanl.c: Include <float.h> and
4710 (__atanl): Force underflow exception for results with small
4712 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <float.h>.
4713 (__atanl): Force underflow exception for results with small
4715 * sysdeps/x86/fpu/bits/mathinline.h
4716 [!__SSE2_MATH__ && !__x86_64__ && __LIBC_INTERNAL_MATH_INLINES]
4717 (__ieee754_atan2): Only define inline for long double.
4718 * sysdeps/x86_64/fpu/multiarch/e_atan2.c
4719 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Include <math.h>.
4720 * math/auto-libm-test-in: Do not mark underflow exceptions as
4721 possibly missing for bug 15319. Add more tests of atan2.
4722 * math/auto-libm-test-out: Regenerated.
4723 * math/libm-test.inc (casin_test_data): Do not mark underflow
4724 exceptions as possibly missing for bug 15319.
4725 (casinh_test_data): Likewise.
4726 * sysdeps/i386/fpu/libm-test-ulps: Update.
4728 2015-02-18 Steve Ellcey <sellcey@imgtec.com>
4730 * sysdeps/unix/sysv/linux/mips/bits/endian.h: Remove.
4731 * sysdeps/mips/bits/endian.h: Fix comments.
4733 2015-02-18 Joseph Myers <joseph@codesourcery.com>
4736 * include/search.h (hcreate_r): Don't use libc_hidden_proto.
4737 (hdestroy_r): Likewise.
4738 (hsearch_r): Likewise.
4739 (__hcreate_r): Declare and use libc_hidden_proto.
4740 (__hdestroy_r): Likewise.
4741 (__hsearch_r): Likewise.
4742 * misc/hsearch.c (hsearch): Call __hsearch_r instead of hsearch_r.
4743 (hcreate): Call __hcreate_r instead of hcreate_r.
4744 (__hdestroy): Call __hdestroy_r instead of hdestroy_r.
4745 * misc/hsearch_r.c (hcreate_r): Rename to __hcreate_r and define
4746 as weak alias of __hcreate_r.
4747 (hdestroy_r): Rename to __hdestroy_r and define as weak alias of
4749 (hsearch_r): Rename to __hsearch_r and define as weak alias of
4751 * conform/Makefile (test-xfail-XPG3/search.h/linknamespace):
4753 (test-xfail-XPG4/search.h/linknamespace): Likewise.
4754 (test-xfail-UNIX98/search.h/linknamespace): Likewise.
4755 (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
4756 (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
4758 2015-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
4760 * malloc/malloc.c (__libc_malloc): Consolidate arena_lookup and
4761 arena_lock into a single arena_get.
4763 2015-02-17 Carlos O'Donell <carlos@redhat.com>
4765 * dl-reloc.c: Inlucde libc-internal.h.
4766 (_dl_try_allocate_static_tls): Call ALIGN_UP.
4767 (_dl_relocate_object): Call ALIGN_UP, ALIGN_DOWN, and PTR_ALIGN_DOWN.
4768 (_dl_protect_relro): Call ALIGN_UP and ALIGN_DOWN.
4769 * malloc/arena.c (new_heap): Use pagesize. Call ALIGN_UP.
4770 (grow_heap): Likewise.
4771 * malloc/malloc.c: Include libc-internal.h.
4772 (do_check_malloc): Call powerof2.
4773 (sysmalloc): Use pagesize. Call ALIGN_UP.
4774 (systrim): Use pagesize.
4775 (mremap_chunk): Use pagesize. Call ALIGN_UP.
4776 (__libc_valloc): Use pagesize.
4777 (__libc_pvalloc): Use pagesize. Call ALIGN_UP.
4779 2015-02-17 Joseph Myers <joseph@codesourcery.com>
4782 * include/sys/resource.h (__getrlimit64): Declare. Use
4784 * resource/getrlimit64.c (getrlimit64): Rename to __getrlimit64
4785 and define as weak alias of __getrlimit64. Use libc_hidden_weak.
4786 * sysdeps/posix/spawni.c (__spawni): Call __getrlimit64 instead of
4788 * sysdeps/unix/sysv/linux/getrlimit64.c (getrlimit64): Rename to
4790 [!getrlimit64] (getrlimit64): Define as weak alias of
4791 __getrlimit64. Use libc_hidden_weak.
4792 * sysdeps/unix/sysv/linux/i386/getrlimit64.c (getrlimit64): Define
4793 using __getrlimit64 not __new_getrlimit64.
4794 (__GI_getrlimit64): Likewise.
4795 * sysdeps/unix/sysv/linux/mips/getrlimit64.c (getrlimit64):
4797 (__GI_getrlimit64): Likewise.
4798 (__old_getrlimit64): Use __getrlimit64 not __new_getrlimit64.
4799 * sysdeps/unix/sysv/linux/powerpc/powerpc64/syscalls.list
4800 (getrlimit): Add __getrlimit64 alias.
4801 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (getrlimit):
4803 * conform/Makefile (test-xfail-XOPEN2K/spawn.h/linknamespace):
4805 (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
4806 (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
4808 2015-02-17 Paul Pluzhnikov <ppluzhnikov@google.com>
4810 * libio/fileops.c: Add missing sys/mman.h
4811 * libio/iopopen.c: Add missing fcntl.h, remove redundant unistd.h
4813 2015-02-17 Joseph Myers <joseph@codesourcery.com>
4815 * manual/math.texi (Errors in Math Functions): Clarify goals
4816 regarding inexact and underflow exceptions.
4818 2015-02-17 Steve Ellcey <sellcey@imgtec.com>
4820 * sysdeps/mips/memcpy.S: Move R6 PREFETCH_STORE_HINT check.
4821 * sysdeps/mips/memset.S: Ditto.
4823 2015-02-17 Steve Ellcey <sellcey@imgtec.com>
4825 * sysdeps/mips/bits/endian.h (__MIPSEL): Use #ifdef instead of #if.
4827 2015-02-17 Stefan Liebler <stli@linux.vnet.ibm.com>
4829 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c
4830 (__v1longjmp): Remove versioned symbol.
4831 (__v1siglongjmp): Remove alias and versioned symbol.
4832 (__v2longjmp): Use DEFINE_LONGJMP instead of alias.
4833 (__v2siglongjmp): Likewise.
4835 2015-02-16 Torvald Riegel <triegel@redhat.com>
4837 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Remove file.
4839 2015-02-16 Mike Frysinger <vapier@gentoo.org>
4841 * sysdeps/unix/sysv/linux/ia64/getpagesize.c: Delete.
4843 2015-02-16 Joseph Myers <joseph@codesourcery.com>
4846 * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Ensure sign of
4847 zero result does not depend on the sign resulting from
4849 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
4851 * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
4852 * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
4853 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
4854 * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
4855 * math/libm-test.inc (remquo_test_data): Add more tests.
4857 2015-02-16 Paul Eggert <eggert@cs.ucla.edu>
4859 * manual/time.texi (TZ Variable): glibc no longer comes with tzdata.
4860 Problem reported by J William Piggott.
4862 2015-02-16 Joseph Myers <joseph@codesourcery.com>
4865 * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Do not form
4866 products 4 * y and 2 * y where those would overflow.
4867 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
4869 * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
4870 * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
4871 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
4872 * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
4873 * math/libm-test.inc (remquo_test_data): Add more tests.
4875 * sysdeps/mips/sgidefs.h [!_ABIO64] (_ABIO64): New macro.
4877 * sysdeps/mips/memcpy.S [_COMPILING_NEWLIB]: Change condition to
4878 [defined _COMPILING_NEWLIB].
4879 * sysdeps/mips/memset.S [_COMPILING_NEWLIB]: Likewise.
4880 * sysdeps/mips/strcmp.S [_COMPILING_NEWLIB]: Likewise.
4882 * sysdeps/mips/sys/asm.h [__mips_isa_rev < 6]: Change condition to
4883 [!defined __mips_isa_rev || __mips_isa_rev < 6].
4885 2015-02-16 Torvald Riegel <triegel@redhat.com>
4887 * nptl/tst-cond25.c (cleanup): Explicitly check that the mutex is
4890 2015-02-15 Matthew Fortune <Matthew.Fortune@imgtec.com>
4893 * sysdeps/unix/sysv/linux/ia64/sys/user.h (NBPG): Remove.
4894 (UPAGES, HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR,
4895 HOST_STACK_END_ADDR): Likewise.
4897 2015-02-13 Steve Ellcey <sellcey@imgtec.com>
4899 * sysdeps/mips/bits/endian.h (__MIPSEB): Use #ifdef instead of #if.
4900 * sysdeps/mips/memcpy.S (__MIPSEB): Ditto.
4901 * sysdeps/mips/memset.S (__MIPSEB): Ditto.
4903 2015-02-13 Roland McGrath <roland@hack.frob.com>
4905 * sysdeps/generic/c++-types.data: New file.
4906 * sysdeps/generic/ld.abilist: New file.
4907 * sysdeps/generic/libBrokenLocale.abilist: New file.
4908 * sysdeps/generic/libanl.abilist: New file.
4909 * sysdeps/generic/libc.abilist: New file.
4910 * sysdeps/generic/libcrypt.abilist: New file.
4911 * sysdeps/generic/libdl.abilist: New file.
4912 * sysdeps/generic/libm.abilist: New file.
4913 * sysdeps/generic/libpthread.abilist: New file.
4914 * sysdeps/generic/libresolv.abilist: New file.
4915 * sysdeps/generic/librt.abilist: New file.
4917 2015-02-13 Joseph Myers <joseph@codesourcery.com>
4920 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
4921 Compute absolute value of x as modified by fmod, not original
4923 * math/libm-test.inc (RUN_TEST_ffI_f1): Rename to
4924 RUN_TEST_ffI_f1_mod8. Check extra return value mod 8.
4925 (RUN_TEST_LOOP_ffI_f1): Rename to RUN_TEST_LOOP_ffI_f1_mod8. Call
4926 RUN_TEST_ffI_f1_mod8.
4927 (remquo_test_data): Add more tests.
4929 2015-02-13 Roland McGrath <roland@hack.frob.com>
4931 * sysdeps/init_array/pt-crti.S: New file.
4933 2015-02-13 Joseph Myers <joseph@codesourcery.com>
4936 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Use
4937 __builtin_fmaf instead of relying on contraction of a * b + c.
4939 2015-02-12 J William Piggott <elseifthen@gmx.com>
4942 * manual/time.texi: correct the zoneinfo path in the TZ Variable
4945 2015-02-12 Joseph Myers <joseph@codesourcery.com>
4948 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Use
4949 __builtin_fma instead of relying on contraction of a * b + c.
4951 2015-02-12 Roland McGrath <roland@hack.frob.com>
4953 * Makeconfig (ASFLAGS): Add -Werror=undef.
4954 * sysdeps/arm/Versions (libc: GLIBC_2.19): New (empty) version set.
4955 * sysdeps/unix/make-syscalls.sh: Always emit #define's for
4956 SYSCALL_CANCELLABLE, SYSCALL_NOERRNO, SYSCALL_ERRVAL, to 1 or 0.
4958 * Makeconfig (after-link): New variable.
4959 (+link-pie, +link-pie-tests): Use it.
4960 (+link-static, +link-static-tests): Likewise.
4961 (+link, +link-tests): Likewise.
4962 * Makerules (build-module, build-module-asneeded): Likewise.
4963 (lib%.so, $(common-objpfx)libc.so, $(common-objpfx)linkobj/libc.so):
4965 * elf/Makefile ($(objpfx)ld.so): Likewise.
4967 2015-02-12 Rüdiger Sonderfeld <ruediger@c-plusplus.net>
4970 * manual/time.texi (Elapsed Time): tv_sec is of type time_t in
4971 both struct timeval and struct timespec.
4973 2015-02-12 Joseph Myers <joseph@codesourcery.com>
4976 * math/e_exp2l.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
4978 (__ieee754_exp2l): Do not multiply small fractional parts by
4980 * sysdeps/i386/fpu/e_exp2l.S (__ieee754_exp2l): Just add 1 to
4982 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
4983 * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
4984 * sysdeps/x86_64/fpu/e_exp2l.S (__ieee754_exp2l): Likewise.
4985 * math/auto-libm-test-in: Add more tests of exp2.
4986 * math/auto-libm-test-out: Regenerated.
4988 2015-02-12 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
4990 * sysdeps/powerpc/powerpc64/power7/strncpy.S (strncpy): Optimize
4993 2015-02-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4995 * sysdeps/unix/sysv/linux/powerpc/htm.h [TABORT]: Fix encoding for
4998 2015-02-12 Andreas Schwab <schwab@suse.de>
5001 * nptl/pthread_mutexattr_gettype.c (pthread_mutexattr_gettype):
5002 Filter out elision flags from value returned in kind.
5003 * nptl/Makefile (tests): Add tst-pthread-mutexattr.
5004 * nptl/tst-pthread-mutexattr.c: New file.
5006 2015-02-11 Samuel Thibault <samuel.thibault@ens-lyon.org>
5008 * abi-tags: Revert ae20c9a: rename back gnu into gnu-gnu.
5009 * configure.ac, configure: Revert ba90e05: modify gnu-* host_os back
5010 into gnu-gnu, and update comment to refer to abi-tags.
5012 2015-02-11 Joseph Myers <joseph@codesourcery.com>
5015 * sysdeps/ieee754/dbl-64/s_sincos.c: Include <errno.h>.
5016 (__sincos): Set errno to EDOM for infinite argument.
5017 * sysdeps/ieee754/flt-32/s_sincosf.c: Include <errno.h>.
5018 (SINCOSF_FUNC): Set errno to EDOM for infinite argument.
5019 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Include <errno.h>.
5020 (__sincosl): Set errno to EDOM for infinite argument.
5021 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Include <errno.h>.
5022 (__sincosl): Set errno to EDOM for infinite argument.
5023 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Include <errno.h>.
5024 (__sincosl): Set errno to EDOM for infinite argument.
5025 * math/libm-test.inc (sincos_test_data): Test errno setting.
5027 2015-02-11 Leonhard Holz <leonhard.holz@web.de>
5029 * string/strxfrm_l.c: Remove #define STRCMP.
5030 * string/strcoll_l.c: Remove #define STRLEN.
5031 * wcsmbs/wcsxfrm_l.c: Remove #define STRCMP.
5032 * wcsmbs/wcscoll_l.c: Remove #define STRLEN.
5034 2015-02-10 Joseph Myers <joseph@codesourcery.com>
5036 * sysdeps/mips/soft-fp/sfp-machine.h: Move to ....
5037 * sysdeps/mips/mips32/sfp-machine.h: ... here.
5038 * sysdeps/mips/mips64/soft-fp/Makefile: Move to ....
5039 * sysdeps/mips/mips64/Makefile: ... here.
5040 * sysdeps/mips/mips64/soft-fp/e_sqrtl.c: Move to ....
5041 * sysdeps/mips/mips64/e_sqrtl.c: ... here.
5042 * sysdeps/mips/mips64/soft-fp/sfp-machine.h: Move to ....
5043 * sysdeps/mips/mips64/sfp-machine.h: ... here.
5044 * sysdeps/mips/mips32/Implies: Remove mips/soft-fp.
5045 * sysdeps/mips/mips64/n32/Implies: Remove mips/mips64/soft-fp.
5046 * sysdeps/mips/mips64/n64/Implies: Likewise.
5048 2015-02-10 Roland McGrath <roland@hack.frob.com>
5050 * math/test-snan.c: Drop unnecessary #include's of <stdlib.h>,
5051 <sys/time.h>, <string.h>, and <errno.h>.
5052 (dest_offset, dest_address, value, zero): Remove unused variables.
5053 (ldouble): Remove typedef.
5054 (myFPsighandler): Use simple handler signature, not SA_SIGINFO
5055 signature. Pass 1 to siglongjmp rather than 0 (which is converted to
5057 (set_sigaction_FP, remove_sigaction_FP): Functions removed.
5058 (check): Function removed.
5060 (TEST_FUNC): Fix code style. Use CHECK macro rather than repeating
5061 boilerplate feclearexcept + feenableexcept + sigsetjmp code.
5062 Don't call set_sigaction_FP and remove_sigaction_FP here.
5063 (ldouble_test): Just use 'long double' as macro argument, no need for
5064 the 'ldouble' typedef.
5065 (do_test): Set up SIGFPE handler at start, using plain signal rather
5066 than sigaction. Fix code style.
5068 2015-02-10 Evangelos Foutras <evangelos@foutrelis.com>
5071 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Fix position of
5074 2015-02-09 Adhemerval Zanellla <azanella@linux.vnet.ibm.com>
5076 * sysdeps/powerpc/powerpc32/configure.ac: Remove R_PPC_REL16 check.
5077 * sysdeps/powerpc/powerpc32/configure: Regenerated.
5079 * sysdeps/powerpc/configure.ac: Remove file.
5080 * sysdeps/powerpc/configure: Likewise.
5082 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
5083 [sysdep_routines]: Remove wordcopy-power6 object.
5084 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
5085 (__memmove_power7): Use local call for wordcopy and memcpy symbols.
5086 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c
5087 (__memmove_ppc32): Likewise.
5088 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: Remove
5090 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Remove file.
5091 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c [IS_IN (libc)]:
5092 Remove preprocessor.
5094 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
5095 [sysdep_routines]: Remove wide chars objects.
5096 [wcsmbs]: New rule for wide char objects.
5098 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
5099 Remove wordcopy-power6 obejct.
5100 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c (__memmove_ppc):
5101 Use local call for wordcopy and memcpy symbols.
5102 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: Remove file.
5103 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: Add default
5104 implementation for loader.
5105 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Remove file.
5107 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
5108 Remove wordcopy-power7 object.
5109 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: Remove file.
5110 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c
5111 (_wordcopy_fwd_aligned): Remove POWER7 specialization.
5112 (_wordcopy_fwd_dest_aligned): Likewise.
5113 (_wordcopy_bwd_aligned): Likewise.
5114 (_wordcopy_bwd_dest_aligned): Likewise.
5116 * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c (__bcopy_ppc):
5117 Rewrite to call __memmove_ppc instead of include default
5120 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
5121 Remove wide chars objects.
5122 [wcsmbs]: New rule for wide char objects.
5124 2015-02-09 Andreas Schwab <schwab@suse.de>
5127 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
5128 in terms of __O_DIRECTORY.
5130 2015-02-08 Samuel Thibault <samuel.thibault@ens-lyon.org>
5132 * time/getdate.c: Include <stdbool.h>.
5133 * sysdeps/gnu/unwind-resume.c [!PTR_MANGLE] (__libgcc_s_init): Do not
5135 [!PTR_DEMANGLE] (_Unwind_Resume, __gcc_personality_v0): Do not call
5138 2015-02-07 Paul Eggert <eggert@cs.ucla.edu>
5140 Add ersatz _Static_assert on older C hosts
5141 * misc/sys/cdefs.h (_Static_assert): Define a substitute, if on a
5142 pre-C11 C platform that is not known to support _Static_assert.
5144 2015-02-07 Richard Braun <rbraun@sceen.net>
5146 * hurd/hurd/signal.h (_hurd_critical_section_lock): Don't unlock
5148 * sysdeps/mach/hurd/mmap.c (__mmap): Also handle PROT_NONE case.
5150 2015-02-07 Samuel Thibault <samuel.thibault@ens-lyon.org>
5152 * sysdeps/pthread/aio_misc.c [!AIO_PRIO_DELTA_MAX]: Do not check
5153 priority against unexistent AIO_PRIO_DELTA_MAX.
5154 * misc/chflags.c (chflags): Set flags parameter type to unsigned long
5156 * misc/fchflags.c (fchflags): Likewise.
5157 * sysdeps/mach/hurd/chflags.c (chflags): Likewise.
5158 * sysdeps/mach/hurd/fchflags.c (fchflags): Likewise.
5159 * sysdeps/mach/hurd/bits/stat.h [__USE_MISC] (UF_SETTABLE, UF_NODUMP,
5160 UF_IMMUTABLE, UF_APPEND, UF_OPAQUE, UF_NOUNLINK, SF_SETTABLE,
5161 SF_ARCHIVED, SF_IMMUTABLE, SF_APPEND, SF_NOUNLINK, SF_SNAPSHOT):
5163 [__USE_MISC] (chflags, fchflags): Declare functions.
5164 * hurd/hurdselect.c (_hurd_select): In the poll case, do not return
5165 EINVAL when nfds is greater than FD_SETSIZE.
5166 * hurd/hurd/resource.h (MACH_PRIORITY_TO_NICE,
5167 NICE_TO_MACH_PRIORITY): Align nice levels on Mach priorities from 5 to
5169 * hurd/hurdselect.c (_hurd_select): Pass MACH_RCV_INTERRUPT to
5170 __mach_msg. If that returns MACH_RCV_INTERRUPTED, set ERR to EINTR.
5171 * hurd/hurdselect.c (_hurd_select): Remove unreachable check for
5173 * hurd/hurd/signal.h (_hurd_self_sigstate,
5174 _hurd_critical_section_lock, _hurd_critical_section_unlock):
5175 Explicit casts from void *.
5176 * sysdeps/mach/hurd/tls.h: Include <stdint.h> and <sysdep.h>.
5177 * abi-tags: Rename gnu-gnu os into gnu.
5180 * sysdeps/mach/hurd/bits/ioctls.h (_IOT__IOTBASE_long, _IOT_char,
5181 _IOT_short, _IOT_int, _IOT_long, _IOT__IOTBASE_int8_t,
5182 _IOT__IOTBASE_uint8_t, _IOT__IOTBASE_int16_t, _IOT__IOTBASE_uint16_t,
5183 _IOT__IOTBASE_int32_t, _IOT__IOTBASE_uint32_t, _IOT__IOTBASE_int64_t,
5184 _IOT__IOTBASE_uint64_t, _IOT__IOTBASE_size_t, _IOT__IOTBASE_ssize_t,
5185 _IOTBASE_unsigned, _IOTBASE_signed): Define macros.
5188 * hurd/hurdsocket.h: New file, defines _hurd_sun_path_dupa which
5189 duplicates ADDR->sun_path with sockaddr LEN limitation.
5190 * sysdeps/mach/hurd/connect.c: Include <string.h>
5191 (__connect): Give result of _hurd_sun_path_dupa to name lookup.
5192 * sysdeps/mach/hurd/sendmsg.c: Likewise.
5193 * sysdeps/mach/hurd/sendto.c: Likewise.
5194 * sysdeps/mach/hurd/bind.c: Call _hurd_sun_path_dupa instead of
5195 implementing it by hand.
5197 2015-02-06 Roland McGrath <roland@hack.frob.com>
5199 * sysdeps/arm/sysdep.h [!PROF] [ARCH_HAS_T2 && !PIC] (LDR_GLOBAL):
5200 Use sfi_breg on ldr.
5201 [!PROF] [ARCH_HAS_T2 && PIC && ARM_PCREL_MOVW_OK] (LDR_GLOBAL):
5204 * nptl/tst-cancel25.c (tf2): Test for SIGCANCEL being blocked only if
5206 * nptl/tst-signal7.c (do_test): Test SIGCANCEL only if it's defined.
5207 Test SIGSETXID only if it's defined.
5209 * nptl/tst-locale1.c (useless): Use SIGRTMIN only if it's defined.
5211 * rt/tst-timer2.c (do_test): Don't initialize SIGEV.sigev_signo, which
5212 will not be used. Use NULL rather than 0 for .sigev_notify_attributes.
5214 * nptl/tst-align2.c: Moved ...
5215 * sysdeps/unix/sysv/linux/tst-align-clone.c: ... here.
5216 * nptl/Makefile (tests): Remove tst-align2.
5217 * sysdeps/unix/sysv/linux/Makefile
5218 [$(subdir) = nptl] (tests): Add tst-align-clone.
5219 * nptl/tst-getpid1.c: Moved ...
5220 * sysdeps/unix/sysv/linux/tst-getpid1.c: ... here.
5221 * nptl/tst-getpid2.c: Moved ...
5222 * sysdeps/unix/sysv/linux/tst-getpid2.c: ... here.
5223 * nptl/Makefile (tests): Move tst-getpid1 and tst-getpid2 ...
5224 * sysdeps/unix/sysv/linux/Makefile
5225 [$(subdir) = nptl] (tests): ... here.
5226 * nptl/Makefile (tst-getpid2-ENV): Move variable ...
5227 * sysdeps/unix/sysv/linux/Makefile
5228 [$(subdir) = nptl] (tst-getpid2-ENV): ... here.
5230 * nptl/tst-cleanup2.c (do_test): Use signal rather than sigaction.
5231 Drop trailing \n from perror argument. Use return rather than exit.
5233 * nptl/tst-cancel20.c (do_test): Conditionalize SA_SIGINFO-using tests
5235 * nptl/tst-cancel21.c (do_test): Likewise.
5236 * debug/tst-backtrace6.c: Include <signal.h> first thing.
5237 Conditionalize inclusion of tst-backtrace5.c on [SA_SIGINFO].
5238 [!SA_SIGINFO]: Make it a stub test.
5240 * misc/tst-pselect.c (do_test): Don't set SA_NOCLDWAIT in sa_flags for
5241 SIGCHLD; it's redundant with SIG_IGN as sa_handler.
5243 * posix/tst-getlogin.c: Move to ...
5244 * login/tst-getlogin.c: ... here.
5245 * posix/Makefile (tests): Move tst-getlogin to ...
5246 * login/Makefile (tests): ... here.
5248 * libio/tst-atime.c (do_test): Move local variables SV and E
5249 inside [ST_NOATIME] conditional.
5251 * dirent/tst-fdopendir.c (O_NOATIME): If not defined, #define to 0.
5253 * nptl/tst-kill5.c (do_test): Use INT_MAX rather than SIGRTMAX + 10.
5255 * nptl/tst-join5.c: Drop #include <sys/syscall.h>.
5256 (wait_code): New function replaces macro.
5257 Call nanosleep rather than syscall.
5259 * nptl/pt-system.c: Rewritten. Put everything under
5260 [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
5261 Use IFUNC to redirect when possible.
5263 * nptl/pt-longjmp.c: Rewritten. Put everything under
5264 [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
5265 Use IFUNC to redirect when possible.
5267 * nptl/pt-fork.c: Rewritten. Put everything under
5268 [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
5269 Use IFUNC to redirect when possible.
5270 * nptl/Versions (libpthread: GLIBC_2.22): New (empty) version set.
5272 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: Remove all
5273 code under [!__ASSUME_FUTEX_CLOCK_REALTIME], since that is defined
5274 unconditionally nowadays. This included the only reference to
5275 __vdso_clock_gettime that appears outside libc proper.
5276 * sysdeps/unix/sysv/linux/x86_64/Versions (libc: GLIBC_PRIVATE):
5277 Remove version set (containing only __vdso_clock_gettime).
5278 * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
5279 Add attribute_hidden.
5280 * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
5281 Likewise. Drop __attribute__ ((nocommon)), libc_hidden_proto, and
5282 libc_hidden_data_def.
5283 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
5284 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
5286 * inet/Versions (libc: GLIBC_2.0): Move getrpcbyname, getrpcbyname_r,
5287 getrpcbynumber, getrpcbynumber_r, getrpcent, getrpcent_r, endrpcent,
5288 setrpcent, and getrpcport to ...
5289 * sunrpc/Versions (libc: GLIBC_2.0): ... here.
5290 * inet/Versions (libc: GLIBC_2.1.2): Move getrpcbyname_r,
5291 getrpcbynumber_r, and getrpcent_r to ...
5292 * sunrpc/Versions (libc: GLIBC_2.1.2): ... this new set.
5293 * inet/getrpcbyname.c: Moved ...
5294 * sunrpc/getrpcbyname.c: ... here.
5295 * inet/getrpcbyname_r.c: Moved ...
5296 * sunrpc/getrpcbyname_r.c: ... here.
5297 * inet/getrpcbynumber.c: Moved ...
5298 * sunrpc/getrpcbynumber.c: ... here.
5299 * inet/getrpcbynumber_r.c: Moved ...
5300 * sunrpc/getrpcbynumber_r.c: ... here.
5301 * inet/getrpcent.c: Moved ...
5302 * sunrpc/getrpcent.c: ... here.
5303 * inet/getrpcent_r.c: Moved ...
5304 * sunrpc/getrpcent_r.c: ... here.
5305 * inet/Makefile (routines): Move those to ...
5306 * sunrpc/Makefile (routines): ... here.
5307 * nss/Makefile (databases): Add key and rpc only if sunrpc appears in
5308 the $(subdirs) list.
5309 (CPPFLAGS-getent.c): New variable. Pass -D option to set HAVE_SUNRPC
5310 to 0 or 1, indicating whether sunrpc appears in the $(subdirs) list.
5311 * nss/getent.c (print_rpc, rpc_keys): Conditionalize on [HAVE_SUNRPC].
5312 (databases): Conditionalize rpc entry on [HAVE_SUNRPC].
5314 * elf/Makefile (routines): Include $(all-dl-routines), not just
5316 (rtld-routines): Likewise. Use = rather than :=.
5317 * sysdeps/aarch64/Makefile [$(subdir) = elf]
5318 (sysdep_routines, sysdep-rtld-routines): Don't add tlsdesc and
5319 dl-tlsdesc to these; sysdep-dl-routines alone is enough.
5320 * sysdeps/arm/Makefile: Likewise.
5321 * sysdeps/i386/Makefile: Likewise.
5322 * sysdeps/x86_64/Makefile: Likewise.
5323 * sysdeps/hppa/Makefile [$(subdir) = elf]
5324 (sysdep_routines, sysdep-rtld-routines): Don't add
5325 $(sysdep-dl-routines) to these.
5326 * sysdeps/ia64/Makefile: Likewise.
5327 * sysdeps/unix/sysv/linux/ia64/Makefile: Likewise.
5328 * sysdeps/unix/sysv/linux/aarch64/Makefile [$(subdir) = elf]
5329 [$(build-shared) = yes] (sysdep_routines, sysdep-rtld-routines):
5330 Don't add dl-static to these; sysdep-dl-routines alone is enough.
5331 * sysdeps/unix/sysv/linux/m68k/Makefile: Likewise.
5332 * sysdeps/unix/sysv/linux/mips/Makefile: Likewise.
5333 * sysdeps/unix/sysv/linux/powerpc/Makefile: Likewise.
5334 * sysdeps/unix/sysv/linux/tile/Makefile: Likewise.
5335 * sysdeps/powerpc/Makefile [$(subdir) = elf]
5336 (sysdep_routines, sysdep-rtld-routines): Don't add dl-machine to
5337 these; sysdep-dl-routines alone is enough.
5339 2015-02-06 Joseph Myers <joseph@codesourcery.com>
5342 * soft-fp/op-common.h (_FP_FMA): Set exponent of result in case
5343 where multiplication results in zero and third argument is finite
5345 * math/auto-libm-test-in: Add more tests of fma.
5346 * math/auto-libm-test-out: Regenerated.
5348 * soft-fp/op-common.h (_FP_CMP_CHECK_DENORM): New macro.
5349 (_FP_CMP_CHECK_FLUSH_ZERO): Likewise.
5350 (_FP_CMP): Use_FP_CMP_CHECK_DENORM and _FP_CMP_CHECK_FLUSH_ZERO.
5351 (_FP_CMP_EQ): Likewise.
5352 (_FP_CMP_UNORD): Use _FP_CMP_CHECK_DENORM.
5354 * soft-fp/op-common.h (FP_EXTEND): Rename to _FP_EXTEND_CNAN with
5355 extra argument CHECK_NAN. Redefine as wrapper around
5358 2015-02-06 Carlos O'Donell <carlos@systemhalted.org>
5360 * version.h (RELEASE): Set to "stable".
5361 (VERSION): Set to "2.21"
5362 * include/features.h (__GLIBC_MINOR__): Set to 21.
5364 * sysdeps/unix/sysv/linux/hppa/pthread.h: Sync with pthread.h.
5366 2015-02-05 Paul Pluzhnikov <ppluzhnikov@google.com>
5367 Paul Eggert <eggert@cs.ucla.edu>
5370 * stdio-common/tst-sscanf.c (main): Test for buffer overflow.
5371 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Compute needed
5372 size in bytes. Store needed elements in wpmax. Use needed size
5373 in bytes for extend_alloca.
5375 2015-02-05 Carlos O'Donell <carlos@systemhalted.org>
5377 * manual/install.texi: Latest tested versions are GCC 4.9.2,
5378 binutls 2.25, and texinfo 5.2.
5379 * INSTALL: Regenerate.
5380 * sysdeps/nios2/configure: Regenerate.
5381 * sysdeps/unix/sysv/linux/nios2/configure: Regenerate.
5382 * manual/contrib.texi: Update.
5406 * po/pt_BR.po: Update.
5415 * po/zh_CN.po: Update.
5416 * po/zh_TW.po: Update.
5418 * sysdeps/hppa/Makefile (CFLAGS-dl-fptr.c): Add -Wno-error.
5419 * sysdeps/hppa/bits/setjmp.h: Union is named __jmp_buf_internal_tag.
5420 * sysdeps/hppa/dl-irel.h: Remove #warning.
5421 * sysdeps/hppa/entry.h: Provide prototype for
5422 __canonicalize_funcptr_for_compare and cast argument.
5423 * sysdeps/hppa/fpu/fegetexcept.c (fegetexcept): Add semicolon.
5424 * sysdeps/hppa/fpu/ftestexcept.c (fetestexcept): Likewise.
5425 * sysdeps/hppa/sotruss-lib.c: New file.
5426 * sysdeps/unix/sysv/linux/hppa/bits/atomic.h
5427 (atomic_compare_and_exchange_val_acq): Use __typeof__.
5428 (atomic_compare_and_exchange_bool_acq): Likewise.
5429 * sysdeps/unix/sysv/linux/hppa/mmap.c: Use weak alias.
5430 * sysdeps/unix/sysv/linux/hppa/pthread.h: Include pthread.h.
5432 * sysdeps/unix/sysv/linux/hppa/syscall.S: Delete file.
5433 * sysdeps/unix/sysv/linux/hppa/sysdep.c: Move syscall from here...
5434 * sysdeps/unix/sysv/linux/hppa/syscall.c: ... to here.
5436 2015-02-05 Chung-Lin Tang <cltang@codesourcery.com>
5438 * sysdeps/nios2/machine-gmon.h (NIOS2_MCOUNT_CALL): Correct name of
5439 called function in non-PIC case.
5441 2015-01-31 David S. Miller <davem@davemloft.net>
5443 * sysdeps/sparc/sparc32/bits/atomic.h
5444 (__sparc32_atomic_do_unlock24): Put the memory barrier before the
5445 unlock not after it.
5446 (__v9_compare_and_exchange_val_32_acq): Use unions to avoid getting
5447 volatile register usage warnings from the compiler.
5449 * sysdeps/sparc/nptl/sem_init.c: Delete.
5450 * sysdeps/sparc/nptl/sem_post.c: Delete.
5451 * sysdeps/sparc/nptl/sem_timedwait.c: Delete.
5452 * sysdeps/sparc/nptl/sem_wait.c: Delete.
5453 * sysdeps/sparc/sparc32/sem_init.c: New file.
5454 * sysdeps/sparc/sparc32/sem_waitcommon.c: New file.
5455 * sysdeps/sparc/sparc32/sem_open.c: Generic nptl version with
5456 padding explicitly initialized.
5457 * sysdeps/sparc/sparc32/sem_post.c: Generic nptl version using
5458 padding for in-semaphore spinlock.
5459 * sysdeps/sparc/sparc32/sem_wait.c: Likewise.
5460 * sysdeps/sparc/sparc32/sem_trywait.c: Delete.
5461 * sysdeps/sparc/sparc32/sem_timedwait.c: Delete.
5462 * sysdeps/sparc/sparc32/sparcv9/sem_init.c: New file.
5463 * sysdeps/sparc/sparc32/sparcv9/sem_open.c: New file.
5464 * sysdeps/sparc/sparc32/sparcv9/sem_post.c: New file.
5465 * sysdeps/sparc/sparc32/sparcv9/sem_waitcommon.c: New file.
5466 * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: Redirect to nptl
5468 * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: Delete.
5469 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Delete.
5471 2015-01-30 H.J. Lu <hongjiu.lu@intel.com>
5474 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
5475 Set the bit_AVX_Fast_Unaligned_Load bit for AVX2.
5476 * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX_Fast_Unaligned_Load):
5478 (index_AVX_Fast_Unaligned_Load): Likewise.
5479 (HAS_AVX_FAST_UNALIGNED_LOAD): Likewise.
5480 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Check the
5481 bit_AVX_Fast_Unaligned_Load bit instead of the bit_AVX_Usable bit.
5482 * sysdeps/x86_64/multiarch/memcpy_chk.S (__memcpy_chk): Likewise.
5483 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Likewise.
5484 * sysdeps/x86_64/multiarch/mempcpy_chk.S (__mempcpy_chk): Likewise.
5485 * sysdeps/x86_64/multiarch/memmove.c (__libc_memmove): Replace
5486 HAS_AVX with HAS_AVX_FAST_UNALIGNED_LOAD.
5487 * sysdeps/x86_64/multiarch/memmove_chk.c (__memmove_chk): Likewise.
5489 2015-01-29 Andreas Schwab <schwab@suse.de>
5491 * sysdeps/nptl/allocrtsig.c: Include <signal.h>.
5493 2015-01-29 Siddhesh Poyarekar <siddhesh@redhat.com>
5496 * nscd/nscd_stat.c (send_stats): Initialize DATA.
5498 2015-01-28 Martin Sebor <msebor@redhat.com>
5500 * math/README.libm-test: Clarify. Add "How to read the test output."
5502 2015-01-28 Chris Metcalf <cmetcalf@ezchip.com>
5504 * sysdeps/tile/tilegx/bits/atomic.h [!_LP64] (__HAVE_64B_ATOMICS):
5507 2015-01-28 Joseph Myers <joseph@codesourcery.com>
5509 * sysdeps/mips/bits/atomic.h [_MIPS_SIM == _ABIN32]
5510 (__HAVE_64B_ATOMICS): Define to 0.
5512 2015-01-28 Adhemerval Zanellla <azanella@linux.vnet.ibm.com>
5515 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Fix correct
5516 value to set as new flag.
5519 * sysdeps/powerpc/fpu/math_private.h [__CPU_HAS_FSQRT]: Remove define
5520 and use _ARCH_PPCSQ instead.
5521 (__ieee754_sqrt): Likewise.
5522 (__ieee754_sqrtf): Likewise.
5523 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Build only if
5524 _ARCH_PPCSQ is defined.
5525 (__ieee754_sqrt): Use _ARCH_PPCSQ to select wheter to use hardware
5527 * sysdeps/powerpc/fpu/e_sqrtf.c (__ieee754_sqrtf): Build only if
5528 _ARCH_PPCSQ is defined.
5529 (__ieee754_sqrtf): Use _ARCH_PPCSQ to select wheter to use hardware
5531 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Remove file.
5533 2015-01-27 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5535 * iconv/loop.c: Suppress array out of bound warning caused by GCC
5536 bug (GCC BZ #64739).
5538 2015-01-25 Andreas Schwab <schwab@linux-m68k.org>
5540 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h (lll_futex_requeue):
5541 Mark _retval as used.
5542 (lll_futex_wake_unlock): Likewise.
5543 (lll_futex_timed_wait_requeue_pi): Likewise.
5545 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
5546 (atomic_compare_and_exchange_val_acq): Use uint32_t for the
5549 * sysdeps/m68k/m680x0/fpu/fraiseexcpt.c (__feraiseexcept): Use
5552 * sysdeps/m68k/bits/byteswap.h (__bswap_16, __bswap_32)
5553 (__bswap_64): Mark as __always_inline.
5555 2015-01-25 Bram <bug_rh@spam.wizbit.be>
5558 * elf/dl-load.c (open_path): Avoid writing to 'env_path_list'
5559 when none of the search directories exist.
5561 2015-01-24 Adhemerval Zanellla <azanella@linux.vnet.ibm.com>
5564 * sysdeps/powerpc/powerpc64/power8/memset.S: Use power7 instead of
5565 power8 in .machine directive.
5568 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Force value
5569 set dependency from opd value.
5571 2015-01-23 H.J. Lu <hongjiu.lu@intel.com>
5573 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
5574 Treat model numbers 0x4a/0x4d/0x5a/0x5d as Intel Silvermont
5577 2015-01-23 H.J. Lu <hongjiu.lu@intel.com>
5580 * nptl/sem_post.c (__new_sem_post): Replace unsigned long int
5582 * nptl/sem_waitcommon.c (__sem_wait_cleanup): Replace 1UL with
5584 (__new_sem_wait_fast): Replace unsigned long with uint64_t.
5585 (__new_sem_wait_slow): Replace unsigned long int with uint64_t.
5586 Replace 1UL with (uint64_t) 1.
5587 * sysdeps/nptl/internaltypes.h (new_sem): Replace unsigned long
5590 2015-01-23 Roland McGrath <roland@hack.frob.com>
5592 * inet/if_index.c (if_nameindex): Add missing libc_hidden_weak.
5593 (if_freenameindex): Likewise.
5595 * resource/getrlimit64.c: Add missing libc_hidden_def.
5597 2015-01-22 Joseph Myers <joseph@codesourcery.com>
5599 * soft-fp/op-common.h (_FP_ADD_INTERNAL): Declare labels with
5601 (_FP_FMA): Likewise.
5602 (_FP_TO_INT_ROUND): Likewise.
5603 (_FP_FROM_INT): Likewise.
5605 2015-01-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5608 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c (__get_clockfreq):
5609 Make code racy and cancel safe.
5611 2015-01-21 Carlos O'Donell <carlos@redhat.com>
5613 * sysdeps/arm/unwind-resume.h: Fix copyright year.
5614 * dlfcn/tst-rec-dlopen.c: Fix incorrect copyright year and
5617 * pwd/tst-getpw.c: Rewrite.
5620 * dlfcn/Makefile (tests): Add tst-rec-dlopen.
5621 (modules-names): Add moddummy1 and moddummy2.
5622 ($(objpfx)tst-rec-dlopen): Define.
5623 * dlfcn/moddummy1.c: New file.
5624 * dlfcn/moddummy2.c: New file.
5625 * dlfcn/tst-rec-dlopen.c: New file.
5626 * elf/dl-cache.c (_dl_load_cache_lookup):
5627 Return char*. Copy result with alloca/strcpy/strdup.
5628 * elf/dl-load.c (_dl_map_object): _dl_load_cached_lookup
5629 returns char*. Free cached. If not saving realname
5631 * elf/dl-open.c (dl_open_worker): Do not assert that
5632 _r_debug->r_state is RT_CONSISTENT.
5633 * sysdeps/generic/ldsodefs.h: _dl_load_cache_lookup
5636 2015-01-21 Torvald Riegel <triegel@redhat.com>
5637 Carlos O'Donell <carlos@redhat.com>
5640 * nptl/sem_waitcommon.c: New file.
5641 * nptl/sem_wait.c: Include sem_waitcommon.c.
5642 (__sem_wait_cleanup, do_futex_wait): Remove.
5643 (__new_sem_wait): Adapt.
5644 (__new_sem_trywait): New function.
5645 (__old_sem_trywait): Moved here from nptl/sem_trywait.c.
5646 * nptl/sem_timedwait.c: Include sem_waitcommon.c.
5647 (__sem_wait_cleanup, do_futex_timed_wait): Remove.
5648 (sem_timedwait): Adapt.
5649 * nptl/sem_post.c (__new_sem_post): Adapt.
5650 (futex_wake): New function.
5651 (__old_sem_post): Add release MO fence.
5652 * nptl/sem_open.c (sem_open): Adapt.
5653 * nptl/sem_init.c (__new_sem_init): Adapt.
5654 (futex_private_if_supported): New function.
5655 * nptl/sem_getvalue.c (__new_sem_getvalue): Adapt.
5656 (__old_sem_getvalue): Add using previous code.
5657 * sysdeps/nptl/internaltypes.h: Adapt.
5658 * nptl/tst-sem13.c (do_test): Adapt.
5659 * nptl/tst-sem11.c (main): Adapt.
5660 * nptl/sem_trywait.c: Remove.
5661 * nptl/DESIGN-sem.txt: Remove.
5662 * nptl/Makefile (libpthread-routines): Remove sem_trywait.
5663 (gen-as-const-headers): Remove structsem.sym.
5664 * nptl/structsem.sym: Remove.
5665 * sysdeps/unix/sysv/linux/alpha/sem_post.c: Remove.
5666 * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Remove.
5667 * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Remove.
5668 * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Remove.
5669 * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Remove.
5670 * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Remove.
5671 * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Remove.
5672 * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Remove.
5673 * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Remove.
5674 * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Remove.
5675 * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Remove.
5676 * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Remove.
5677 * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Remove.
5678 * sysdeps/unix/sysv/linux/powerpc/sem_post.c: Remove.
5679 * sysdeps/unix/sysv/linux/sh/sem_post.S: Remove.
5680 * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Remove.
5681 * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Remove.
5682 * sysdeps/unix/sysv/linux/sh/sem_wait.S: Remove.
5683 * sysdeps/unix/sysv/linux/x86_64/sem_post.S: Remove.
5684 * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Remove.
5685 * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Remove.
5686 * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Remove.
5688 2015-01-20 Carlos O'Donell <carlos@redhat.com>
5690 * INSTALL: Regenerated.
5692 * po/libc.pot: Regenerated.
5694 2015-01-18 Chung-Lin Tang <cltang@codesourcery.com>
5695 Sandra Loosemore <sandra@codesourcery.com>
5696 Andrew Jenner <andrew@codesourcery.com>
5697 Joseph Myers <joseph@codesourcery.com>
5698 Nathan Sidwell <nathan@codesourcery.com>
5700 * NEWS: Mention new Nios II port.
5701 * sysdeps/nios2/Implies: New file.
5702 * sysdeps/nios2/Makefile: New file.
5703 * sysdeps/nios2/Subdirs: New file.
5704 * sysdeps/nios2/Versions: New file.
5705 * sysdeps/nios2/__longjmp.S: New file.
5706 * sysdeps/nios2/abort-instr.h: New file.
5707 * sysdeps/nios2/backtrace.c: New file.
5708 * sysdeps/nios2/bits/endian.h: New file.
5709 * sysdeps/nios2/bits/fenv.h: New file.
5710 * sysdeps/nios2/bits/link.h: New file.
5711 * sysdeps/nios2/bits/setjmp.h: New file.
5712 * sysdeps/nios2/bsd-_setjmp.S: New file.
5713 * sysdeps/nios2/bsd-setjmp.S: New file.
5714 * sysdeps/nios2/configure: New generated file.
5715 * sysdeps/nios2/configure.ac: New file.
5716 * sysdeps/nios2/crti.S: New file.
5717 * sysdeps/nios2/crtn.S: New file.
5718 * sysdeps/nios2/dl-init.c: New file.
5719 * sysdeps/nios2/dl-machine.h: New file.
5720 * sysdeps/nios2/dl-sysdep.h: New file.
5721 * sysdeps/nios2/dl-tls.h: New file.
5722 * sysdeps/nios2/dl-trampoline.S: New file.
5723 * sysdeps/nios2/gccframe.h: New file.
5724 * sysdeps/nios2/gmp-mparam.h: New file.
5725 * sysdeps/nios2/jmpbuf-offsets.h: New file.
5726 * sysdeps/nios2/jmpbuf-unwind.h: New file.
5727 * sysdeps/nios2/ldsodefs.h: New file.
5728 * sysdeps/nios2/libc-tls.c: New file.
5729 * sysdeps/nios2/libm-test-ulps: New file.
5730 * sysdeps/nios2/machine-gmon.h: New file.
5731 * sysdeps/nios2/math-tests.h: New file.
5732 * sysdeps/nios2/math_private.h: New file.
5733 * sysdeps/nios2/memusage.h: New file.
5734 * sysdeps/nios2/nptl/Makefile: New file.
5735 * sysdeps/nios2/nptl/bits/pthreadtypes.h: New file.
5736 * sysdeps/nios2/nptl/bits/semaphore.h: New file.
5737 * sysdeps/nios2/nptl/pthread_spin_lock.c: New file.
5738 * sysdeps/nios2/nptl/pthreaddef.h: New file.
5739 * sysdeps/nios2/nptl/tcb-offsets.sym: New file.
5740 * sysdeps/nios2/nptl/tls.h: New file.
5741 * sysdeps/nios2/preconfigure: New file.
5742 * sysdeps/nios2/s_fma.c: New file.
5743 * sysdeps/nios2/s_fmaf.c: New file.
5744 * sysdeps/nios2/setjmp.S: New file.
5745 * sysdeps/nios2/sfp-machine.h: New file.
5746 * sysdeps/nios2/sotruss-lib.c: New file.
5747 * sysdeps/nios2/stackguard-macros.h: New file.
5748 * sysdeps/nios2/stackinfo.h: New file.
5749 * sysdeps/nios2/start.S: New file.
5750 * sysdeps/nios2/sysdep.h: New file.
5751 * sysdeps/nios2/tls-macros.h: New file.
5752 * sysdeps/nios2/tst-audit.h: New file.
5753 * sysdeps/unix/sysv/linux/nios2/Implies: New file.
5754 * sysdeps/unix/sysv/linux/nios2/Makefile: New file.
5755 * sysdeps/unix/sysv/linux/nios2/Versions: New file.
5756 * sysdeps/unix/sysv/linux/nios2/arch-fork.h: New file.
5757 * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: New file.
5758 * sysdeps/unix/sysv/linux/nios2/bits/mman.h: New file.
5759 * sysdeps/unix/sysv/linux/nios2/cacheflush.c: New file.
5760 * sysdeps/unix/sysv/linux/nios2/clone.S: New file.
5761 * sysdeps/unix/sysv/linux/nios2/configure: New generated file.
5762 * sysdeps/unix/sysv/linux/nios2/configure.ac: New file.
5763 * sysdeps/unix/sysv/linux/nios2/getcontext.S: New file.
5764 * sysdeps/unix/sysv/linux/nios2/kernel-features.h: New file.
5765 * sysdeps/unix/sysv/linux/nios2/kernel_rt_sigframe.h: New file.
5766 * sysdeps/unix/sysv/linux/nios2/makecontext.c: New file.
5767 * sysdeps/unix/sysv/linux/nios2/profil-counter.h: New file.
5768 * sysdeps/unix/sysv/linux/nios2/setcontext.S: New file.
5769 * sysdeps/unix/sysv/linux/nios2/shlib-versions: New file.
5770 * sysdeps/unix/sysv/linux/nios2/sigcontextinfo.h: New file.
5771 * sysdeps/unix/sysv/linux/nios2/swapcontext.S: New file.
5772 * sysdeps/unix/sysv/linux/nios2/sys/cachectl.h: New file.
5773 * sysdeps/unix/sysv/linux/nios2/sys/procfs.h: New file.
5774 * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h: New file.
5775 * sysdeps/unix/sysv/linux/nios2/sys/user.h: New file.
5776 * sysdeps/unix/sysv/linux/nios2/syscall.S: New file.
5777 * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h: New file.
5778 * sysdeps/unix/sysv/linux/nios2/sysdep.S: New file.
5779 * sysdeps/unix/sysv/linux/nios2/sysdep.h: New file.
5780 * sysdeps/unix/sysv/linux/nios2/ucontext_i.sym: New file.
5781 * sysdeps/unix/sysv/linux/nios2/vfork.S: New file.
5782 * sysdeps/unix/sysv/linux/nios2/c++-types.data: New file.
5783 * sysdeps/unix/sysv/linux/nios2/ld.abilist: New file.
5784 * sysdeps/unix/sysv/linux/nios2/libBrokenLocale.abilist: New file.
5785 * sysdeps/unix/sysv/linux/nios2/libanl.abilist: New file.
5786 * sysdeps/unix/sysv/linux/nios2/libc.abilist: New file.
5787 * sysdeps/unix/sysv/linux/nios2/libcrypt.abilist: New file.
5788 * sysdeps/unix/sysv/linux/nios2/libdl.abilist: New file.
5789 * sysdeps/unix/sysv/linux/nios2/libm.abilist: New file.
5790 * sysdeps/unix/sysv/linux/nios2/libnsl.abilist: New file.
5791 * sysdeps/unix/sysv/linux/nios2/libpthread.abilist: New file.
5792 * sysdeps/unix/sysv/linux/nios2/libresolv.abilist: New file.
5793 * sysdeps/unix/sysv/linux/nios2/librt.abilist: New file.
5794 * sysdeps/unix/sysv/linux/nios2/libthread_db.abilist: New file.
5795 * sysdeps/unix/sysv/linux/nios2/libutil.abilist: New file.
5796 * sysdeps/unix/sysv/linux/nios2/localplt.data: New file.
5798 2015-01-16 Stefan Liebler <stli@linux.vnet.ibm.com>
5801 * sysdeps/unix/sysv/linux/s390/s390-32/getutent.c
5802 (getutent): Use weak_alias in non SHARED case
5803 and default_symbol_version in SHARED case.
5804 * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c
5805 (getutent_r, pututline): Likewise.
5806 * sysdeps/unix/sysv/linux/s390/s390-32/getutid.c
5807 (getutid): Likewise.
5808 * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c
5809 (getutid_r): Likewise.
5810 * sysdeps/unix/sysv/linux/s390/s390-32/getutline.c
5811 (getutline): Likewise.
5812 * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c
5813 (getutline_r): Likewise.
5814 * sysdeps/unix/sysv/linux/s390/s390-32/updwtmp.c
5815 (updwtmp): Likewise.
5817 2015-01-16 Stefan Liebler <stli@linux.vnet.ibm.com>
5820 * sysdeps/s390/s390-32/memcmp.S
5821 (memcmp_g5): Rename to __memcmp_g5.
5822 * sysdeps/s390/s390-32/memcpy.S
5823 (memcpy_g5): Rename to __memcpy_g5.
5824 Jump to __memcpy_mvcle instead of memcpy_mvcle.
5825 (memcpy_mvcle) Rename to __memcpy_mvcle.
5826 * sysdeps/s390/s390-32/memset.S
5827 (memset_g5): Rename to __memset_g5.
5828 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
5829 (IFUNC_RESOLVE): Prefix ifunc-resolve function
5830 and use prefixed functions.
5831 * sysdeps/s390/s390-32/multiarch/memcmp.S
5832 (memcmp_z196): Rename to __memcmp_z196.
5833 (memcmp_z10): Rename to __memcmp_z10.
5834 (memcmp): Set alias to __memcmp_g5.
5835 (bcmp): Set alias to __memcmp_g5.
5836 * sysdeps/s390/s390-32/multiarch/memcpy.S
5837 (memcpy_z196): Rename to __memcpy_z196.
5838 Jump to __memcpy_mvcle instead of memcpy_mvcle.
5839 (memcpy_z10): Rename to __memcpy_z10.
5840 Jump to __memcpy_mvcle instead of memcpy_mvcle.
5841 (memcpy): Set alias to __memcpy_g5.
5842 * sysdeps/s390/s390-32/multiarch/memset.S
5843 (memset_z196): Rename to __memset_z196.
5844 Jump to __memset_mvcle instead of memset_mvcle.
5845 (memset_z10): Rename to __memset_z10.
5846 Jump to __memset_mvcle instead of memset_mvcle.
5847 (memset_mvcle) Rename to __memset_mvcle.
5848 (memset): Set alias to __memset_g5.
5849 * sysdeps/s390/s390-64/memcmp.S
5850 (memcmp_z900): Rename to __memcmp_z900.
5851 * sysdeps/s390/s390-64/memcpy.S
5852 (memcpy_z900): Rename to __memcpy_z900.
5853 Jump to __memcpy_mvcle instead of memcpy_mvcle.
5854 (memcpy_mvcle) Rename to __memcpy_mvcle.
5855 * sysdeps/s390/s390-64/memset.S
5856 (memset_z900): Rename to __memset_z900.
5857 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c
5858 (IFUNC_RESOLVE): Prefix ifunc-resolve function
5859 and use prefixed functions.
5860 * sysdeps/s390/s390-64/multiarch/memcmp.S
5861 (memcmp_z196): Rename to __memcmp_z196.
5862 (memcmp_z10): Rename to __memcmp_z10.
5863 (memcmp): Set alias to __memcmp_z900.
5864 (bcmp): Set alias to __memcmp_z900.
5865 * sysdeps/s390/s390-64/multiarch/memcpy.S
5866 (memcpy_z196): Rename to __memcpy_z196.
5867 Jump to __memcpy_mvcle instead of memcpy_mvcle.
5868 (memcpy_z10): Rename to __memcpy_z10.
5869 Jump to __memcpy_mvcle instead of memcpy_mvcle.
5870 (memcpy): Set alias to __memcpy_z900.
5871 * sysdeps/s390/s390-64/multiarch/memset.S
5872 (memset_z196): Rename to __memset_z196.
5873 Jump to __memset_mvcle instead of memset_mvcle.
5874 (memset_z10): Rename to __memset_z10.
5875 Jump to __memset_mvcle instead of memset_mvcle.
5876 (memset_mvcle) Rename to __memset_mvcle.
5877 (memset): Set alias to __memset_z900.
5879 2015-01-14 Joseph Myers <joseph@codesourcery.com>
5882 * sysdeps/powerpc/nofpu/feholdexcpt.c (__feholdexcept): Call
5883 __fesetenv instead of fesetenv.
5885 2015-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
5887 * sysdeps/s390/dl-tls.h [IS_IN (rtld)]: Define __tls_get_addr
5890 2015-01-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5892 * sysdeps/powerpc/powerpc64/power7/memcmp.S (memcmp): Fix performance
5895 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: New file.
5896 * sysdeps/powerpc/powerpc64/power8/strncmp.S: New file.
5897 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
5898 strncmp-power8 object.
5899 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
5900 (__libc_ifunc_impl_list): Add __strncmp_power8 implementation.
5901 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c (strncmp): Likewise.
5904 2015-01-13 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
5905 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5907 * sysdeps/powerpc/powerpc64/power7/strcmp.S (strcmp): Optimize
5908 trailing byte check.
5910 2015-01-13 David S. Miller <davem@davemloft.net>
5912 * include/signal.h (__sigreturn): Guard with __USE_MISC.
5914 2015-01-13 Roland McGrath <roland@hack.frob.com>
5916 * login/logout.c (logout): Use memset rather than bzero.
5917 * nis/nss_compat/compat-pwd.c (getpwent_next_file): Likewise.
5918 * nis/nss_compat/compat-spwd.c (getspent_next_file): Likewise.
5919 * resolv/gethnamaddr.c (gethostbyaddr): Use memcmp rather than bcmp.
5920 (_gethtbyaddr): Likewise.
5921 * locale/programs/simple-hash.c (bcopy): Macro removed.
5923 2015-01-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5925 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
5926 Add strcmp-power8 object.
5927 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
5928 (__libc_ifunc_impl_list): Add __strcmp_power8 implementation.
5929 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: New file.
5930 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c (strcmp): Add
5931 __strcmp_power8 implementation.
5932 * sysdeps/powerpc/powerpc64/power8/strcmp.S: New file.
5935 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
5936 Add strncpy-power8 and stpncpy-power8 objects.
5937 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
5938 (__libc_ifunc_impl_list): Add __strncpy_power8 and stpncpy_power8
5940 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: New file.
5941 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c (__stpncpy): Add
5942 __stpncpy_power8 implementation.
5943 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: New file.
5944 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c (strncpy): Add
5945 __strncpy_power8 implementation.
5946 * sysdeps/powerpc/powerpc64/power8/stpncpy.S: New file.
5947 * sysdeps/powerpc/powerpc64/power8/strncpy.S: New file.
5950 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.c: New file.
5951 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: Remove file.
5952 * sysdeps/powerpc/powerpc64/power7/strncat.S: Likewise.
5954 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
5955 strncat-power8 object.
5956 * sysdeps/powerpc/powerpc64/multiarch/strcat.c (strcat): Add
5957 __strcat_power8 implementation.
5958 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
5959 (__libc_ifunc_impl_list): Add __strcat_power8 implementation.
5960 * sysdeps/powerpc/powerpc64/multiarch/strcat-power8.c: New file:
5961 optimized strcat for power8.
5963 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
5964 strcpy-power8 and stpcpy-power8 objects.
5965 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
5966 (__libc_ifunc_impl_list): Add __strcpy_power8 and __stpcpy_power8
5968 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power8.S: New file:
5969 multiarch stpcpy implementation for POWER8.
5970 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power8.S: New file;
5971 multiarch strcpy implementation for POWER8.
5972 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c (strcpy): Add
5973 __strcpy_power8 function.
5974 * sysdeps/powerpc/powerpc64/power8/stpcpy.S: New file: optimized
5976 * sysdeps/powerpc/powerpc64/power8/strcpy.S: New file: optimized
5980 2015-01-13 Leonhard Holz <leonhard.holz@web.de>
5983 * string/strxfrm_l.c (STRXFRM): Allocate fixed size cache for
5984 weights and rules. Use do_xfrm_cached if data fits in cache,
5985 do_xfrm otherwise. Moved former main loop to...
5986 * (do_xfrm_cached): New function.
5987 * (do_xfrm): Non-caching version of do_xfrm_cached. Uses
5988 find_idx, find_position and stack_push.
5989 * (find_idx): New function.
5990 * (find_position): Likewise.
5991 * localedata/sort-test.sh: Added test run for do_xfrm.
5992 * localedata/xfrm-test.c (main): Added command line option
5993 -nocache to run the test with strings that are too large for
5996 2015-01-13 Torvald Riegel <triegel@redhat.com>
5998 * sysdeps/nptl/fork.c (__libc_fork): Provide address of futex
5999 variable to lll_futex_wake call, not the value itself.
6001 2015-01-12 Joseph Myers <joseph@codesourcery.com>
6004 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (twom63): Rename to
6005 twom64. Adjust value to 0x1p-64L.
6006 (__scalblnl): Only return standard underflowing result for K <=
6007 -64 not K <= -63; adjust exponent for underflowing result by 64
6009 * math/libm-test.inc (scalbn_test_data): Add more tests.
6010 (scalbln_test_data): Likewise.
6013 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (two63): Change value to
6015 (__scalblnl): Get new exponent of adjusted subnormal value from ES
6017 * math/libm-test.inc (scalbn_test_data): Add more tests.
6018 (scalbln_test_data): Likewise.
6020 2015-01-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6021 Stefani Seibold <stefani@seibold.net>
6023 * sysdeps/unix/sysv/linux/x86_64/Makefile [$(subdir) = elf]
6024 (sysdep_routines): Add dl-vdso here, ...
6025 * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = elf]
6026 (sysdep_routines): ... not here.
6027 * sysdeps/unix/sysv/linux/i386/gettimeofday.c: New file: set syscall
6028 fallback when vDSO is not presented.
6029 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
6030 Define with libc_hidden_proto/libc_hidden_data_def definitions.
6031 (_libc_vdso_platform_setup): Rename to __vdso_platform_setup.
6032 * sysdeps/unix/sysv/linux/i386/init-first.c: New file: likewise.
6033 * sysdeps/unix/sysv/linux/i386/time.c: New file: likewise.
6034 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Moved to ...
6035 * sysdeps/unix/sysv/linux/x86/libc-vdso.h: ... here.
6036 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: Move to ...
6037 * sysdeps/unix/sysv/linux/x86/clock_gettime.c: ... here.
6038 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Move to ...
6039 * sysdeps/unix/sysv/linux/x86/gettimeofday.c: ... here. Also added
6040 fallback configurable symbol when vDSO is not available.
6041 * sysdeps/unix/sysv/linux/x86_64/time.c: Move to ...
6042 * sysdeps/unix/sysv/linux/x86/time.c: ... here. Also refactored to
6043 be able to redefine fallback symbol when vDSO is not available.
6044 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: Move to ...
6045 * sysdeps/unix/sysv/linux/x86/timespec_get.c: ... here.
6047 2015-01-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6049 * sysdeps/powerpc/nptl/tls.h (tcbhead_t): Add tm_capable field.
6050 (TLS_INIT_TP): Add tm_capable initialization.
6051 (TLS_DEFINE_INIT_TP): Likewise.
6052 (THREAD_GET_TM_CAPABLE): New file: get tm_capable field value from
6054 (THREAD_SET_TM_CAPABLE): New file: set tm_capable field value in TCB.
6055 * sysdeps/powerpc/nptl/tcb-offsets.sym (TM_CAPABLE): Add field offset
6057 * sysdeps/powerpc/powerpc32/sysdep.h (DO_CALL): Abort hardware
6058 transactoion is lock elision is built and TCB tm_capable is set.
6059 * sysdeps/powerpc/powerpc64/sysdep.h (DO_CALL): Likewise.
6060 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
6061 (INTERNAL_SYSCALL_NCS): Likewise.
6062 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
6063 (INTERNAL_SYSCALL_NCS): Likewise.
6064 * sysdeps/powerpc/sysdep.h (ABORT_TRANSACTION): New define.
6066 * sysdeps/powerpc/nptl/elide.h: New file: generic lock elision support
6068 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
6069 [pthread_rwlock_t] (__pad1): Change size to 7 bytes in 64 bits case
6070 and remove it for 32 bits case.
6071 [pthread_rwlock_t] (__rwelision): New field for lock elision.
6072 (__PTHREAD_RWLOCK_ELISION_EXTRA): Adjust for new lock elision field
6074 * sysdeps/unix/sysv/linux/powerpc/elision-conf.c (elision_init):
6075 Disable lock elision with rdlocks if elision is not available.
6077 * sysdeps/unix/sysv/linux/powerpc/Makefile [nptl]
6078 (sysdep_routines): Add lock elision objects.
6079 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
6080 [pthread_mutex_t] (__spins): Rework to add lock elision field.
6081 [pthread_mutex_t] (__elision): Add field.
6082 [__PTHREAD_SPINS]: Adjust to init lock elision field.
6083 * sysdeps/unix/sysv/linux/powerpc/elision-conf.c: New file: lock
6084 elision definitions for powerpc.
6085 * sysdeps/unix/sysv/linux/powerpc/elision-lock.c: New file:
6086 implementation of lock elision for powerpc.
6087 * sysdeps/unix/sysv/linux/powerpc/elision-timed.c: New file:
6088 implementation of timed lock elision for powerpc.
6089 * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c: New file:
6090 implementation of trylock with lock elision for powerpc.
6091 * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c: New file:
6092 implementaion of unlock for lock elision for powerpc.
6093 * sysdeps/unix/sysv/linux/powerpc/force-elision.h: New file:
6094 automatic enable lock elision for mutexes.
6095 * sysdeps/unix/sysv/linux/powerpc/htm.h: New file: hardware
6096 transaction execution definitions for powerpc.
6097 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: New file: add TLE
6099 * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_cond_lock.c: New file.
6100 * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_lock.c: Likewise.
6101 * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_timedlock.c: Likewise.
6102 * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_trylock.c: Likewise.
6105 2015-01-09 Roland McGrath <roland@hack.frob.com>
6107 * sysdeps/posix/shm-directory.c: Use <> rather than ""
6108 for #include of <shm-directory.h>.
6110 2015-01-09 Chung-Lin Tang <cltang@codesourcery.com>
6112 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Remove MIN() and
6113 assign raw DT_REL[A]COUNT value to ranges[0].nrelative.
6115 2015-01-09 Matthew Fortune <matthew.fortune@imgtec.com>
6118 * NEWS: Mention bug fix.
6119 * sysdepsysdeps/unix/sysv/linux/microblaze/sys/user.h
6120 (PAGE_SHIFT, PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Remove.
6121 (HOST_TEXT_START_ADDR, HOST_STACK_END_ADDR): Remove.
6123 2015-01-09 Torvald Riegel <triegel@redhat.com>
6125 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Delete file.
6127 2015-01-09 Torvald Riegel <triegel@redhat.com>
6129 * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: Delete file.
6131 2015-01-09 David Holsgrove <david.holsgrove@xilinx.com>
6133 * sysdeps/microblaze/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as void
6134 pointer and cast to uintptr_t.
6136 2015-01-09 David Holsgrove <david.holsgrove@xilinx.com>
6138 * sysdeps/microblaze/nptl/tls.h (__microblaze_get_thread_area): Function
6140 (READ_THREAD_POINTER): Use __microblaze_thread_area instead.
6142 2015-01-09 David Holsgrove <david.holsgrove@xilinx.com>
6144 * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Use NULL instead
6147 2015-01-08 Roland McGrath <roland@hack.frob.com>
6149 * sysdeps/pthread/timer_routines.c: Fix <pthreadP.h> include to use
6150 <nptl/pthreadP.h> instead.
6151 * sysdeps/pthread/aio_notify.c: Include <signal.h> for raise decl.
6153 * signal/allocrtsig.c (RESERVED_SIGRT): New macro, defined to 0 if not
6155 [__SIGRTMIN] (init): Function removed.
6156 [__SIGRTMIN] (initialized): Variable removed.
6157 [!__SIGRTMIN] (current_rtmin, current_rtmax): Variables removed.
6158 [__SIGRTMIN] (current_rtmin, current_rtmax): Initialize to
6159 __SIGRTMIN + RESERVED_SIGRT and __SIGRTMAX, respectively.
6160 (__libc_current_sigrtmin) [__SIGRTMIN]: Don't call init.
6161 (__libc_current_sigrtmin) [!__SIGRTMIN]: Just return -1.
6162 (__libc_current_sigrtmin): Add __libc_current_sigrtmin_private alias.
6163 (__libc_current_sigrtmax) [__SIGRTMIN]: Don't call init.
6164 (__libc_current_sigrtmax) [!__SIGRTMIN]: Just return -1.
6165 (__libc_current_sigrtmax): Add __libc_current_sigrtmax_private alias.
6166 (__libc_allocate_rtsig) [__SIGRTMIN]: Don't call init.
6167 (__libc_allocate_rtsig): Add __libc_allocate_rtsig_private alias.
6168 * sysdeps/nptl/allocrtsig.c: New file.
6169 * sysdeps/unix/sysv/linux/allocrtsig.c: File removed.
6170 * sysdeps/unix/sysv/linux/testrtsig.h: File removed.
6171 * sysdeps/generic/testrtsig.h: File removed.
6173 * nptl/pthread_sigmask.c [SIGCANCEL || SIGTIMER || SIGSETXID]: #error.
6174 (pthread_sigmask): Call sigprocmask, not __sigprocmask.
6176 * nptl/nptl-init.c (pthread_functions): Conditionalize
6177 .ptr__nptl_setxid initialization on [SIGSETXID].
6179 * sysdeps/nptl/sys/procfs.h: New file.
6180 * nptl_db/Makefile (headers): Add it.
6181 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Don't add it.
6183 * nptl/pthreadP.h (check_cpuset_attr): Moved ...
6184 * sysdeps/unix/sysv/linux/check-cpuset.h: ... to this new file.
6185 * nptl/pthread_attr_setaffinity.c: Include it.
6186 * nptl/pthread_setattr_default_np.c: Likewise.
6187 * nptl/check-cpuset.h: New file.
6189 2015-01-08 Richard Henderson <rth@redhat.com>
6191 * elf/Makefile (CFLAGS-tst-execstack-mod.c): Add -Wno-trampolines
6192 (CFLAGS-tst-execstack-prog.c): Likewise.
6193 * nptl/Makefile (CFLAGS-tst-execstack-mod.c): Likewise.
6195 2015-01-08 Chung-Lin Tang <cltang@codesourcery.com>
6196 Sandra Loosemore <sandra@codesourcery.com>
6197 Andrew Jenner <andrew@codesourcery.com>
6198 Joseph Myers <joseph@codesourcery.com>
6199 Nathan Sidwell <nathan@codesourcery.com>
6201 * elf/elf.h (EM_ALTERA_NIOS2): New machine number for Altera Nios II.
6202 (DT_NIOS2_GP): New dynamic entry type for Nios II _gp address.
6203 (R_NIOS2_NONE,R_NIOS2_S16,R_NIOS2_U16): Define Nios II relocations.
6204 (R_NIOS2_PCREL16,R_NIOS2_CALL26,R_NIOS2_IMM5): Likewise.
6205 (R_NIOS2_CACHE_OPX,R_NIOS2_IMM6,R_NIOS2_IMM8,R_NIOS2_HI16): Likewise.
6206 (R_NIOS2_LO16,R_NIOS2_HIADJ16,R_NIOS2_BFD_RELOC_32): Likewise.
6207 (R_NIOS2_BFD_RELOC_16,R_NIOS2_BFD_RELOC_8,R_NIOS2_GPREL): Likewise.
6208 (R_NIOS2_GNU_VTINHERIT,R_NIOS2_GNU_VTENTRY,R_NIOS2_UJMP): Likewise.
6209 (R_NIOS2_CJMP,R_NIOS2_CALLR,R_NIOS2_ALIGN,R_NIOS2_GOT16): Likewise.
6210 (R_NIOS2_CALL16,R_NIOS2_GOTOFF_LO,R_NIOS2_GOTOFF_HA): Likewise.
6211 (R_NIOS2_PCREL_LO,R_NIOS2_PCREL_HA,R_NIOS2_TLS_GD16): Likewise.
6212 (R_NIOS2_TLS_LDM16,R_NIOS2_TLS_LDO16,R_NIOS2_TLS_IE16): Likewise.
6213 (R_NIOS2_TLS_LE16,R_NIOS2_TLS_DTPMOD,R_NIOS2_TLS_DTPREL): Likewise.
6214 (R_NIOS2_TLS_TPREL,R_NIOS2_COPY,R_NIOS2_GLOB_DAT): Likewise.
6215 (R_NIOS2_JUMP_SLOT,R_NIOS2_RELATIVE,R_NIOS2_GOTOFF): Likewise.
6216 (R_NIOS2_CALL26_NOAT,R_NIOS2_GOT_LO,R_NIOS2_GOT_HA): Likewise.
6217 (R_NIOS2_CALL_LO,R_NIOS2_CALL_HA): Likewise.
6219 2015-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6221 * sysdeps/unix/sysv/linux/futimens.c (futimens): Use address of first
6222 timespec struct member in syscall macro.
6223 * sysdeps/unix/sysv/linux/utimensat.c (utimensat): Likewise.
6224 * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Use address of
6225 first timeval struct member in syscall macro.
6226 * sysdeps/unix/sysv/linux/utimes.c (__utimeS): Likewise.
6228 2015-01-07 Joseph Myers <joseph@codesourcery.com>
6231 * include/fenv.h (__feupdateenv): Use libm_hidden_proto.
6232 * math/feupdateenv.c (__feupdateenv): Use libm_hidden_def.
6233 * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Rename to
6234 __feupdateenv and define as weak alias of __feupdateenv. Use
6236 * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Use
6238 * sysdeps/arm/feupdateenv.c (feupdateenv): Rename to __feupdateenv
6239 and define as weak alias of __feupdateenv. Use libm_hidden_weak.
6240 * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
6241 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Use
6243 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Rename to
6244 __feupdateenv and define as weak alias of __feupdateenv. Use
6246 * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Use
6248 * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Rename to
6249 __feupdateenv and define as weak alias of __feupdateenv. Use
6251 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Use
6253 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
6254 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
6255 (__feupdateenv): Likewise.
6256 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Rename to
6257 __feupdateenv and define as weak alias of __feupdateenv. Use
6259 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
6260 * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Use
6262 * sysdeps/tile/math_private.h (__feupdateenv): New inline
6264 * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Use
6266 * sysdeps/generic/math_private.h (default_libc_feupdateenv): Call
6267 __feupdateenv instead of feupdateenv.
6268 (default_libc_feupdateenv_test): Likewise.
6269 (libc_feresetround_ctx): Likewise.
6271 2015-01-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6273 * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Fix function
6276 2015-01-07 Chris Metcalf <cmetcalf@ezchip.com>
6278 * posix/regcomp.c (parse_bracket_exp): Initialize type to
6279 COLL_SYM in a couple of places to avoid uninitialized variable
6280 wanings on tilegx gcc 4.8.2.
6282 2015-01-07 Richard Earnshaw <rearnsha@arm.com>
6284 * sysdeps/aarch64/strcpy.S: New file.
6285 * sysdeps/aarch64/stpcpy.S: New file.
6288 2015-01-07 Richard Earnshaw <rearnsha@arm.com>
6290 * sysdeps/aarch64/strrchr.S: New file.
6293 2015-01-07 Eric Biggers <ebiggers3@gmail.com>
6296 * stdlib/setenv.c: Fix memory leak when setting large,
6299 2015-01-06 Vladimir A. Nazarenko <naszar@ya.ru>
6302 * misc/mntent_r.c (__getmntent_r): Cut off trailing spaces
6303 and tabs from buffer before parsing fstab entry.
6304 * misc/tst-mntent.c (main): Add test for mount entry with
6305 trailing spaces and tabs.
6307 2015-01-06 Joseph Myers <joseph@codesourcery.com>
6310 * include/fenv.h (__fesetround): Declare. Use libm_hidden_proto.
6311 * math/fesetround.c (fesetround): Rename to __fesetround and
6312 define as weak alias of __fesetround. Use libm_hidden_weak.
6313 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Likewise.
6314 * sysdeps/alpha/fpu/fesetround.c (fesetround): Likewise.
6315 * sysdeps/arm/fesetround.c (fesetround): Likewise.
6316 * sysdeps/hppa/fpu/fesetround.c (fesetround): Likewise.
6317 * sysdeps/i386/fpu/fesetround.c (fesetround): Likewise.
6318 * sysdeps/ia64/fpu/fesetround.c (fesetround): Likewise.
6319 * sysdeps/m68k/fpu/fesetround.c (fesetround): Likewise.
6320 * sysdeps/mips/fpu/fesetround.c (fesetround): Likewise.
6321 * sysdeps/powerpc/fpu/fenv_libc.h (__fesetround): Rename to
6322 __fesetround_inline.
6323 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetround_ppc): Call
6324 __fesetround_inline instead of __fesetround.
6325 * sysdeps/powerpc/fpu/fesetround.c (fesetround): Rename to
6326 __fesetround and define as weak alias of __fesetround. Use
6327 libm_hidden_weak. Call __fesetround_inline instead of
6329 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Rename to
6330 __fesetround and define as weak alias of __fesetround. Use
6332 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c (fesetround):
6334 * sysdeps/s390/fpu/fesetround.c (fesetround): Likewise.
6335 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
6336 * sysdeps/sparc/fpu/fesetround.c (fesetround): Likewise.
6337 * sysdeps/tile/math_private.h (__fesetround): New inline function.
6338 * sysdeps/x86_64/fpu/fesetround.c (fesetround): Rename to
6339 __fesetround and define as weak alias of __fesetround. Use
6341 * sysdeps/generic/math_private.h (default_libc_fesetround): Call
6342 __fesetround instead of fesetround.
6343 (default_libc_feholdexcept_setround): Likewise.
6344 (libc_feholdsetround_ctx): Likewise.
6345 (libc_feholdsetround_noex_ctx): Likewise.
6348 * include/fenv.h (__fesetenv): Use libm_hidden_proto.
6349 * math/fesetenv.c (__fesetenv): Use libm_hidden_def.
6350 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
6351 and define as weak alias of __fesetenv. Use libm_hidden_weak.
6352 * sysdeps/alpha/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
6353 * sysdeps/arm/fesetenv.c (fesetenv): Rename to __fesetenv and
6354 define as weak alias of __fesetenv. Use libm_hidden_weak.
6355 * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
6356 * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
6357 * sysdeps/ia64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
6358 define as weak alias of __fesetenv. Use libm_hidden_weak.
6359 * sysdeps/m68k/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
6360 * sysdeps/mips/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
6361 define as weak alias of __fesetenv. Use libm_hidden_weak.
6362 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Use
6364 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Likewise.
6365 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c (__fesetenv):
6367 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
6368 define as weak alias of __fesetenv. Use libm_hidden_weak.
6369 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
6370 * sysdeps/sparc/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
6371 * sysdeps/tile/math_private.h (__fesetenv): New inline function.
6372 * sysdeps/x86_64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
6373 and define as weak alias of __fesetenv. Use libm_hidden_weak.
6374 * sysdeps/generic/math_private.h (default_libc_fesetenv): Use
6375 __fesetenv instead of fesetenv.
6376 (libc_feresetround_noex_ctx): Likewise.
6377 * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
6378 * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
6379 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Likewise.
6380 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
6381 * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
6382 * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
6383 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
6384 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
6385 (__feupdateenv): Likewise.
6386 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
6387 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
6388 * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
6389 * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Likewise.
6391 2015-01-06 Aurelien Jarno <aurelien@aurel32.net>
6394 * resolv/res_init.c (__res_iclose): Only clear nsinit if the
6395 addresses have been freed.
6397 2015-01-06 Aurelien Jarno <aurelien@aurel32.net>
6399 * resolv/res_init.c (__res_vinit): Improve comments about nserv
6402 2015-01-06 Ondřej Bílka <neleai@seznam.cz>
6404 * sysdeps/unix/sysv/linux/check_pf.c (make_request):
6405 Clean up check_pf allocation pattern. addresses
6407 2015-01-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6409 * nptl/pthread_cancel.c (pthread_cancel): Use ANSI prototype.
6410 * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Likewise.
6411 * nptl/pthread_cond_wait.c (__pthread_cond_wait): Likewise.
6412 * nptl/pthread_exit.c (__pthread_exit): Likewise.
6413 * nptl/pthread_join.c (pthread_join): Likewise.
6414 * nptl/pthread_timedjoin.c (pthread_timedjoin_np): Likewise.
6415 * sysdeps/posix/waitid.c (__waitid): Likewise.
6416 * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
6417 * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
6418 * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
6419 * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
6420 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
6422 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
6423 (__libc_pread64): Likewise.
6424 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
6425 (__libc_pwrite): Likewise.
6426 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
6427 (__libc_pwrite64): Likewsie.
6428 * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
6429 * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
6430 * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
6431 * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
6432 * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
6433 * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
6434 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
6435 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
6437 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
6438 (__libc_pread64): Likewise.
6439 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_pwrite):
6441 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
6442 (__libc_pwrite64): Likewise.
6443 * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
6444 * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
6445 * sysdeps/unix/sysv/linux/preadv.c (PREADV): Likewise.
6446 * sysdeps/unix/sysv/linux/pthread_kill.c (__pthread_kill): Likewise.
6447 * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
6448 * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
6449 * sysdeps/unix/sysv/linux/pwritev.c (__libc_pwritev): Likewise.
6450 * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
6451 * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
6452 * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
6453 * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_write64): Likewise.
6454 * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
6455 * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
6456 * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Likewise.
6457 * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
6458 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
6461 2015-01-06 Andrew Senkevich <andrew.n.senkevich@gmail.com>
6463 * math/Makefile (CFLAGS-test-float.c): Remove -frounding-math.
6464 (CFLAGS-test-double.c): Likewise.
6465 (CFLAGS-test-ldouble.c): Likewise.
6466 (CPPFLAGS-test-ifloat.c): Likewise.
6467 (CPPFLAGS-test-idouble.c): Likewise.
6468 (CPPFLAGS-test-ildoubl.c): Likewise.
6469 (CFLAGS-test-test-fenv.c): Remove variable.
6470 (CFLAGS-test-misc.c): Likewise.
6472 2015-01-06 H.J. Lu <hongjiu.lu@intel.com>
6475 * bits/time.h (CLOCKS_PER_SEC): Changed to ((clock_t) 1000000).
6476 * sysdeps/unix/sysv/linux/bits/time.h (CLOCKS_PER_SEC): Likewise.
6477 * sysdeps/unix/sysv/linux/clock.c (clock): _Static_assert
6478 CLOCKS_PER_SEC == 1000000.
6479 * time/clocktest.c (main): Replace %ld with %jd and cast to
6482 2015-01-05 Roland McGrath <roland@hack.frob.com>
6484 * sysdeps/generic/unwind-resume.h: New file.
6485 * sysdeps/gnu/unwind-resume.c: Include it.
6486 (libgcc_s_personality): Use PERSONALITY_PROTO macro for the prototype.
6487 (__gcc_personality_v0): Likewise, and PERSONALITY_ARGS for the callee
6489 (libgcc_s_resume): Variable renamed to __libgcc_s_resume, made hidden
6490 global rather than static.
6491 (_Unwind_Resume): Update user.
6492 Conditionalize definition on [!HAVE_ARCH_UNWIND_RESUME].
6493 (init): Likewise. Renamed to __libgcc_s_init, made hidden global
6494 rather than static. Add __attribute__ ((cold)).
6495 (_Unwind_Resume, __gcc_personality_v0): Update callers.
6496 * sysdeps/nptl/unwind-forcedunwind.c: Likewise.
6497 * sysdeps/arm/arm-unwind-resume.S: New file.
6498 * sysdeps/arm/rt-arm-unwind-resume.S: New file.
6499 * sysdeps/arm/pt-arm-unwind-resume.S: New file.
6500 * sysdeps/arm/Makefile [$(subdir) = csu]
6501 (sysdep_routines, shared-only-routines): Add arm-unwind-resume.
6502 [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
6503 Add rt-arm-unwind-resume.
6505 (libpthread-sysdep_routines, libpthread-shared-only-routines):
6506 Add pt-arm-unwind-resume.
6507 * sysdeps/unix/sysv/linux/arm/unwind-resume.c: File removed.
6508 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: File removed.
6510 2015-01-05 Joseph Myers <joseph@codesourcery.com>
6513 * include/fenv.h (__feholdexcept): Declare. Use
6515 * math/feholdexcpt.c (feholdexcept): Rename to __feholdexcept and
6516 define as weak alias of __feholdexcept. Use libm_hidden_weak.
6517 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Likewise.
6518 * sysdeps/alpha/fpu/feholdexcpt.c (feholdexcept): Likewise.
6519 * sysdeps/arm/feholdexcpt.c (feholdexcept): Likewise.
6520 * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Likewise.
6521 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Likewise.
6522 * sysdeps/ia64/fpu/feholdexcpt.c (feholdexcept): Likewise.
6523 * sysdeps/m68k/fpu/feholdexcpt.c (feholdexcept): Likewise.
6524 * sysdeps/mips/fpu/feholdexcpt.c (feholdexcept): Likewise.
6525 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
6526 * sysdeps/powerpc/nofpu/feholdexcpt.c (feholdexcept): Likewise.
6527 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c
6528 (feholdexcept): Likewise.
6529 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
6530 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
6531 * sysdeps/sparc/fpu/feholdexcpt.c (feholdexcept): Likewise.
6532 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
6533 * sysdeps/generic/math_private.h (default_libc_feholdexcept): Use
6534 __feholdexcept instead of feholdexcept.
6535 (default_libc_feholdexcept_setround): Likewise.
6537 2015-01-05 Steve Ellcey <sellcey@imgtec.com>
6539 * sysdeps/mips/memset.S (memset): Modify for mips32r6/mips64r6
6540 to avoid using stl/str to align destination.
6542 2015-01-05 Steve Ellcey <sellcey@imgtec.com>
6544 * sysdeps/mips/memcpy.S: Add support for mips32r6/mips64r6.
6546 2015-01-05 Joseph Myers <joseph@codesourcery.com>
6549 * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise.c
6550 [!SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)] (posix_fadvise64):
6551 Define as weak alias not strong alias.
6553 2015-01-05 Steve Ellcey <sellcey@imgtec.com>
6555 * sysdeps/mips/dl-machine.h (elf_machine_load_address): Replace
6556 bltzal with addiupc.
6557 (RTLD_START): Ditto.
6559 2015-01-05 Chris Metcalf <cmetcalf@ezchip.com>
6561 * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Fix return type
6562 for __vdso_* functions in declarations.
6563 * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise for
6565 * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL,
6566 INTERNAL_VSYSCALL): Use struct return types to check for error.
6568 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c [!defined _LP64
6569 && REGISTER_CAST_INT32_TO_INT64]: Provide explicit lround()
6570 function with cast from llround().
6571 * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Define.
6572 * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
6575 2015-01-05 Joseph Myers <joseph@codesourcery.com>
6578 * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c (posix_fadvise64):
6579 Define as weak alias not strong alias.
6582 * ctype/ctype-c99.c: New file. isblank implementation moved from
6584 * ctype/ctype-extn.c: ... here.
6585 (__isblank_l): Move to ...
6586 * ctype/ctype-c99_l.c: ... here. New file.
6587 * ctype/Makefile (routines): Add ctype-c99 and ctype-c99_l.
6588 * conform/Makefile (test-xfail-ISO99/ctype.h/linknamespace):
6590 (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
6591 (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
6592 (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
6593 (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
6594 (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
6597 * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise.c
6598 (posix_fadvise64): Define as weak alias not strong alias.
6599 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
6600 (posix_fallocate64): Likewise.
6601 * conform/Makefile (test-xfail-XOPEN2K/fcntl.h/linknamespace):
6603 (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
6604 (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
6605 (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
6606 (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
6607 (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
6609 2015-01-05 Matthew Fortune <matthew.fortune@imgtec.com>
6612 * NEWS: Mention bug fix.
6613 * sysdeps/unix/sysv/linux/mips/sys/user.h (PAGE_SHIFT): Remove.
6614 (PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Likewise.
6615 (HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR): Likewise.
6616 (HOST_STACK_END_ADDR): Likewise.
6618 2015-01-02 Joseph Myers <joseph@codesourcery.com>
6621 * include/fenv.h (__fegetround): Declare. Use libm_hidden_proto.
6622 * math/fegetround.c (fegetround): Rename to __fegetround and
6623 define as weak alias of __fegetround. Use libm_hidden_weak.
6624 * sysdeps/aarch64/fpu/fegetround.c (fegetround): Likewise.
6625 * sysdeps/alpha/fpu/fegetround.c (fegetround): Likewise.
6626 * sysdeps/arm/fegetround.c (fegetround): Likewise.
6627 * sysdeps/hppa/fpu/fegetround.c (fegetround): Likewise.
6628 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
6629 * sysdeps/ia64/fpu/fegetround.c (fegetround): Likewise.
6630 * sysdeps/m68k/fpu/fegetround.c (fegetround): Likewise.
6631 * sysdeps/mips/fpu/fegetround.c (fegetround): Likewise.
6632 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
6633 Undefine after rather than before function definition; use
6634 parentheses around function name in definition.
6635 (__fegetround): Also undefine macro after function definition.
6636 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Rename to
6637 __fegetround and define as weak alias of __fegetround. Use
6638 libm_hidden_weak. Do not undefine as macro.
6639 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
6641 * sysdeps/s390/fpu/fegetround.c (fegetround): Rename to
6642 __fegetround and define as weak alias of __fegetround. Use
6644 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
6645 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
6646 * sysdeps/tile/math_private.h (__fegetround): New inline function.
6647 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Rename to
6648 __fegetround and define as weak alias of __fegetround. Use
6650 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Use
6651 __fegetround instead of fegetround.
6654 * sysdeps/unix/sysv/linux/mips/bits/termios.h (TIOCSER_TEMT):
6655 Condition macro definition on [__USE_MISC].
6658 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h
6659 (struct sigaction): Change type of sa_flags field to int.
6662 * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (struct flock)
6663 [!__USE_FILE_OFFSET64 && _MIPS_SIM != _ABI64]: Rename pad field to
6666 * nptl/version.c (banner): Use single year in copyright notice.
6668 * NEWS: Update copyright dates.
6669 * catgets/gencat.c (print_version): Likewise.
6670 * csu/version.c (banner): Likewise.
6671 * debug/catchsegv.sh: Likewise.
6672 * debug/pcprofiledump.c (print_version): Likewise.
6673 * debug/xtrace.sh (do_version): Likewise.
6674 * elf/ldconfig.c (print_version): Likewise.
6675 * elf/ldd.bash.in: Likewise.
6676 * elf/pldd.c (print_version): Likewise.
6677 * elf/sotruss.sh: Likewise.
6678 * elf/sprof.c (print_version): Likewise.
6679 * iconv/iconv_prog.c (print_version): Likewise.
6680 * iconv/iconvconfig.c (print_version): Likewise.
6681 * locale/programs/locale.c (print_version): Likewise.
6682 * locale/programs/localedef.c (print_version): Likewise.
6683 * login/programs/pt_chown.c (print_version): Likewise.
6684 * malloc/memusage.sh (do_version): Likewise.
6685 * malloc/memusagestat.c (print_version): Likewise.
6686 * malloc/mtrace.pl: Likewise.
6687 * manual/libc.texinfo: Likewise.
6688 * nptl/version.c (banner): Likewise.
6689 * nscd/nscd.c (print_version): Likewise.
6690 * nss/getent.c (print_version): Likewise.
6691 * nss/makedb.c (print_version): Likewise.
6692 * posix/getconf.c (main): Likewise.
6693 * scripts/test-installation.pl: Likewise.
6694 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
6696 2015-01-02 Will Newton <will.newton@linaro.org>
6698 * sysdeps/arm/armv7/configure: Removed.
6699 * sysdeps/arm/armv7/configure.ac: Likewise.
6701 2015-01-02 Joseph Myers <joseph@codesourcery.com>
6703 * All files with FSF copyright notices: Update copyright dates
6704 using scripts/update-copyrights.
6705 * intl/plural.c: Regenerated.
6706 * locale/programs/charmap-kw.h: Likewise.
6707 * locale/programs/locfile-kw.h: Likewise.
6709 2015-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
6711 * scripts/gen-posix-conf-vars.awk (END): Don't use sprintf.
6713 2014-12-31 Joseph Myers <joseph@codesourcery.com>
6716 * include/fenv.h (__fegetenv): Use libm_hidden_proto.
6717 * math/fegetenv.c (__fegetenv): Use libm_hidden_def.
6718 * sysdeps/aarch64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
6719 and define as weak alias of __fegetenv. Use libm_hidden_weak.
6720 * sysdeps/alpha/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
6721 * sysdeps/arm/fegetenv.c (fegetenv): Rename to __fegetenv and
6722 define as weak alias of __fegetenv. Use libm_hidden_weak.
6723 * sysdeps/hppa/fpu/fegetenv.c (fegetenv): Likewise.
6724 * sysdeps/i386/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
6725 * sysdeps/ia64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
6726 define as weak alias of __fegetenv. Use libm_hidden_weak.
6727 * sysdeps/m68k/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
6728 * sysdeps/mips/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
6729 define as weak alias of __fegetenv. Use libm_hidden_weak.
6730 * sysdeps/powerpc/fpu/fegetenv.c (__fegetenv): Use
6732 * sysdeps/powerpc/nofpu/fegetenv.c (__fegetenv): Likewise.
6733 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (__fegetenv):
6735 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
6736 define as weak alias of __fegetenv. Use libm_hidden_weak.
6737 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
6738 * sysdeps/sparc/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
6739 * sysdeps/tile/math_private.h (__fegetenv): New inline function.
6740 * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
6741 and define as weak alias of __fegetenv. Use libm_hidden_weak.
6742 * sysdeps/generic/math_private.h (libc_feholdsetround_ctx): Use
6743 __fegetenv instead of fegetenv.
6744 (libc_feholdsetround_noex_ctx): Likewise.
6746 2014-12-31 Matthew Fortune <matthew.fortune@imgtec.com>
6748 * elf/elf.h (PT_MIPS_ABIFLAGS): Define.
6749 (Elf_MIPS_ABIFlags_v0): New structure.
6750 (EF_MIPS_FP64): Define.
6751 (MIPS_AFL_REG_NONE, MIPS_AFL_REG_32, MIPS_AFL_REG_64): Likewise.
6752 (MIPS_AFL_REG_128, MIPS_AFL_ASE_DSP, MIPS_AFL_ASE_DSP64): Likewise.
6753 (MIPS_AFL_ASE_DSPR2, MIPS_AFL_ASE_EVA, MIPS_AFL_ASE_MCU): Likewise.
6754 (MIPS_AFL_ASE_MDMX, MIPS_AFL_ASE_MIPS3D, MIPS_AFL_ASE_MT): Likewise.
6755 (MIPS_AFL_ASE_SMARTMIPS, MIPS_AFL_ASE_VIRT): Likewise.
6756 (MIPS_AFL_ASE_VIRT64, MIPS_AFL_ASE_MSA, MIPS_AFL_ASE_MSA64): Likewise.
6757 (MIPS_AFL_ASE_MIPS16, MIPS_AFL_ASE_MICROMIPS): Likewise.
6758 (MIPS_AFL_ASE_XPA, MIPS_AFL_EXT_XLR, MIPS_AFL_EXT_OCTEON2): Likewise.
6759 (MIPS_AFL_EXT_OCTEONP, MIPS_AFL_EXT_LOONGSON_3A): Likewise.
6760 (MIPS_AFL_EXT_OCTEON, MIPS_AFL_EXT_5900, MIPS_AFL_EXT_4010): Likewise.
6761 (MIPS_AFL_EXT_4100, MIPS_AFL_EXT_3900, MIPS_AFL_EXT_10000): Likewise.
6762 (MIPS_AFL_EXT_SB1, MIPS_AFL_EXT_4111, MIPS_AFL_EXT_4120): Likewise.
6763 (MIPS_AFL_EXT_5400, MIPS_AFL_EXT_5500): Likewise.
6764 (MIPS_AFL_EXT_LOONGSON_2E, MIPS_AFL_EXT_LOONGSON_2F): Likewise.
6765 (Val_GNU_MIPS_ABI_FP_ANY, Val_GNU_MIPS_ABI_FP_DOUBLE): New enum values.
6766 (Val_GNU_MIPS_ABI_FP_SINGLE, Val_GNU_MIPS_ABI_FP_SOFT): Likewise.
6767 (Val_GNU_MIPS_ABI_FP_OLD_64, Val_GNU_MIPS_ABI_FP_XX): Likewise.
6768 (Val_GNU_MIPS_ABI_FP_64, Val_GNU_MIPS_ABI_FP_64A): Likewise.
6769 (Val_GNU_MIPS_ABI_FP_MAX): Likewise.
6770 * sysdeps/mips/Makefile [subdir=elf]: Add tst-abi-interlink,
6771 tst-mode-switch-1, tst-mode-switch-2, tst-mode-switch-3 tests.
6772 * sysdeps/mips/bits/linkmap.h (struct link_map_machine): Add fpmode
6774 * sysdeps/mips/dl-machine.h (elf_machine_matches_host): Reject
6776 * sysdeps/mips/dl-machine-reject-phdr.h: New file.
6777 * sysdeps/mips/tst-abi-fp32mod.c: Likewise.
6778 * sysdeps/mips/tst-abi-fpxxmod.c: Likewise.
6779 * sysdeps/mips/tst-abi-fpxxomod.c: Likewise.
6780 * sysdeps/mips/tst-abi-fp64mod.c: Likewise.
6781 * sysdeps/mips/tst-abi-fp64amod.c: Likewise.
6782 * sysdeps/mips/tst-abi-interlink.c: Likewise.
6783 * sysdeps/mips/tst-mode-switch-1.c: Likewise.
6784 * sysdeps/mips/tst-mode-switch-2.c: Likewise.
6785 * sysdeps/mips/tst-mode-switch-3.c: Likewise.
6786 * sysdeps/unix/sysv/linux/mips/configure.ac (o32-fpabi): Define to
6787 record the current FP ABI extension.
6788 (mips-mode-switch): Define to show if kernel headers support mode
6790 * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
6791 * sysdeps/unix/sysv/linux/mips/ldsodefs.h: Increase maximum
6792 supported SYSV ABI version to 3.
6793 * sysdeps/unix/sysv/linux/mips/libc-abis: Add new MIPS_O32_FP64
6796 2014-12-31 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
6797 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6799 * sysdeps/powerpc/powerpc64/power7/strcpy.S (strcpy): Optimize unaligned
6801 * benchtests/bench-strcpy.c (test_main): Add more unaligned inputs.
6803 2014-12-31 Joseph Myers <joseph@codesourcery.com>
6805 * sysdeps/powerpc/bits/fenvinline.h (fegetround): Rename macro to
6806 __fegetround and redefine to call __fegetround. Remove condition
6807 on [!__NO_MATH_INLINES].
6808 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove inline
6810 * sysdeps/powerpc/nofpu/fenv_libc.h: Remove file.
6811 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
6813 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Include <fenv.h>
6814 instead of <fenv_libc.h>.
6815 (__llrintl): Call fegetround instead of __fegetround.
6816 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Include <fenv.h>
6817 instead of <fenv_libc.h>.
6818 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
6819 (__lrintl): Call fegetround instead of __fegetround.
6820 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Include <fenv.h>
6821 instead of <fenv_libc.h>.
6822 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
6823 (__rintl): Call fegetround instead of __fegetround.
6825 2014-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
6827 * scripts/gen-posix-conf-vars.awk: Don't use multi-dimensional
6830 2014-12-30 H.J. Lu <hongjiu.lu@intel.com>
6833 * sysdeps/i386/dl-machine.h (PI_STATIC_AND_HIDDEN): Removed.
6834 (elf_machine_dynamic) [!PI_STATIC_AND_HIDDEN]: Likewise.
6835 (elf_machine_load_address) [!PI_STATIC_AND_HIDDEN]: Likewise.
6837 2014-12-30 Andrew Senkevich <andrew.senkevich@intel.com>
6839 * sysdeps/i386/tls-macros.h: Include <features.h>.
6840 (TLS_LE): Use non-PIC version for GCC >= 5.0.
6844 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Don't
6845 define for GCC >= 5.0.
6847 2014-12-30 Chris Metcalf <cmetcalf@ezchip.com>
6849 * math/test-fenv.c (test_single_exception, set_single_exc,
6850 feenv_nomask_test, feenv_mask_test, feexcp_nomask_test,
6851 feexcp_mask_test, feenable_test, fe_single_test): Add
6852 [!FE_ALL_EXCEPT] test so these routines are not compiled in the
6853 case where they are not used.
6854 * math/libm-test.inc: Likewise.
6855 * setjmp/test-setjmp-fp.c: Mark attribute ((unused)) on variable
6856 unused in the absence of FP rounding/exception support.
6857 * stdio-common/tst-printf-round.c: Likewise.
6858 * stdlib/tst-strtod-round.c: Likewise.
6859 * stdlib/tst-strtod-underflow.c: Likewise.
6861 2014-12-30 Joseph Myers <joseph@codesourcery.com>
6864 * include/fenv.h (__feraiseexcept): Use libm_hidden_proto.
6865 * math/fraiseexcpt.c (__feraiseexcept): Use libm_hidden_def.
6866 * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
6867 __feraiseexcept and define as weak alias of __feraiseexcept. Use
6869 * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Likewise.
6870 * sysdeps/hppa/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
6871 * sysdeps/i386/fpu/fraiseexcpt.c (__feraiseexcept): Use
6873 * sysdeps/ia64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
6874 __feraiseexcept and define as weak alias of __feraiseexcept. Use
6876 * sysdeps/m68k/coldfire/fpu/fraiseexcpt.c (feraiseexcept):
6878 * sysdeps/microblaze/math_private.h (__feraiseexcept): New macro.
6879 * sysdeps/mips/fpu/fraiseexcpt.c (feraiseexcept): Rename to
6880 __feraiseexcept and define as weak alias of __feraiseexcept. Use
6882 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Use
6884 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
6885 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c
6886 (__feraiseexcept): Likewise.
6887 * sysdeps/s390/fpu/fraiseexcpt.c (feraiseexcept): Rename to
6888 __feraiseexcept and define as weak alias of __feraiseexcept. Use
6890 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
6891 * sysdeps/sparc/fpu/fraiseexcpt.c (__feraiseexcept): Use
6893 * sysdeps/tile/math_private.h (__feraiseexcept): New macro.
6894 * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (__feraiseexcept):
6895 Use libm_hidden_def.
6896 * sysdeps/x86_64/fpu/fraiseexcpt.c (__feraiseexcept): Use
6898 (feraiseexcept): Define as weak not strong alias. Use
6900 * sysdeps/x86/fpu/bits/fenv.h (__feraiseexcept_invalid_divbyzero):
6901 New inline function. Factored out of ...
6902 (feraiseexcept): ... here. Use __feraiseexcept_invalid_divbyzero.
6903 * sysdeps/x86/fpu/include/bits/fenv.h: New file.
6904 * math/e_scalb.c (invalid_fn): Call __feraiseexcept instead of
6906 * math/w_acos.c (__acos): Likewise.
6907 * math/w_asin.c (__asin): Likewise.
6908 * math/w_ilogb.c (__ilogb): Likewise.
6909 * math/w_j0.c (y0): Likewise.
6910 * math/w_j1.c (y1): Likewise.
6911 * math/w_jn.c (yn): Likewise.
6912 * math/w_log.c (__log): Likewise.
6913 * math/w_log10.c (__log10): Likewise.
6914 * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Likewise.
6915 * sysdeps/aarch64/fpu/math_private.h
6916 (libc_feupdateenv_test_aarch64): Likewise.
6917 * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
6918 * sysdeps/arm/fenv_private.h (libc_feupdateenv_test_vfp): Likewise.
6919 * sysdeps/arm/feupdateenv.c (feupdateenv): Likewise.
6920 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
6921 * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
6922 * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
6923 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Likewise.
6924 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
6925 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
6926 * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
6928 2014-12-30 H.J. Lu <hongjiu.lu@intel.com>
6931 * io/test-utime.c (main): Replace %ld with %jd and cast to
6933 * libio/tst-ftell-active-handler.c (do_append_test): Likewise.
6934 * nptl/tst-mutex5.c: Include <stdint.h>.
6935 (do_test): Replace %ld with %jd and cast to intmax_t.
6936 * posix/tst-regex.c (run_test): Likewise.
6937 (run_test_backwards): Likewise.
6938 * rt/tst-clock.c: Include <stdint.h>.
6939 (clock_test): Replace %ld with %jd and cast to intmax_t.
6940 * rt/tst-cpuclock1.c: Include <stdint.h>.
6941 (do_test): Replace %lu with %ju and cast to uintmax_t.
6942 * rt/tst-cpuclock2.c: Include <stdint.h>.
6943 (do_test): Replace %lu with %ju and cast to uintmax_t.
6944 * rt/tst-mqueue1.c: Include <stdint.h>.
6945 (check_attrs): Replace %ld with %jd and cast to intmax_t.
6946 * rt/tst-mqueue3.c (fct): Replace %ld with %jd and cast to
6948 * rt/tst-mqueue4.c (do_test): Likewise.
6949 * rt/tst-timer4.c: Include <stdint.h>.
6950 (check_ts): Replace %ld with %jd and cast to intmax_t.
6951 (do_test): Likewise.
6952 * stdio-common/tst-fmemopen2.c (do_test): Replace %ld with %jd
6953 and cast to intmax_t.
6954 * sysdeps/pthread/tst-timer.c (main): Likewise.
6955 * time/clocktest.c (main): Likewise.
6956 * time/tst-posixtz.c (do_test): Likewise.
6957 * timezone/tst-timezone.c (main): Likewise.
6959 2014-12-30 Andrew Senkevich <andrew.senkevich@intel.com>
6960 H.J. Lu <hongjiu.lu@intel.com>
6962 * sysdeps/i386/i686/multiarch/bcopy-sse2-unaligned.S: New file.
6963 * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Likewise.
6964 * sysdeps/i386/i686/multiarch/memmove-sse2-unaligned.S: Likewise.
6965 * sysdeps/i386/i686/multiarch/mempcpy-sse2-unaligned.S: Likewise.
6966 * sysdeps/i386/i686/multiarch/bcopy.S: Select the sse2_unaligned
6967 version if bit_Fast_Unaligned_Load is set.
6968 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
6969 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
6970 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
6971 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
6972 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
6973 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
6974 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
6975 bcopy-sse2-unaligned, memcpy-sse2-unaligned,
6976 memmove-sse2-unaligned and mempcpy-sse2-unaligned.
6977 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c (MAX_IFUNC): Set
6979 (__libc_ifunc_impl_list): Test __bcopy_sse2_unaligned,
6980 __memmove_chk_sse2_unaligned, __memmove_sse2_unaligned,
6981 __memcpy_chk_sse2_unaligned, __memcpy_sse2_unaligned,
6982 __mempcpy_chk_sse2_unaligned, and __mempcpy_sse2_unaligned.
6984 2014-12-29 Chris Metcalf <cmetcalf@ezchip.com>
6986 * sysdeps/unix/sysv/linux/tst-setgetname.c (do_test): Use #ifndef
6987 instead of #if to avoid a Wundef warning.
6988 * stdlib/tst-limits.c (do_test): Likewise.
6990 * sysdeps/tile/math_private.h (fetestexcept): Add macro to
6991 parallel other exception macros.
6992 (fegetenv): Convert from macro to extern inline so that it applies
6993 retroactively to inline functions already seen by the compiler.
6994 (fesetenv, feupdateenv, fegetround, fesetround): Likewise.
6996 * posix/Makefile (before-compile): Use $(objpfx) for
6997 posix-conf-vars-def.h.
6999 2014-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
7001 * posix/getconf.c (main): Use size_t for type of I.
7002 * scripts-gen-posix-conf-vars.awk (END): Use size_t for type of
7005 * posix/posix-conf-vars.list (SPEC:XBS5): Add sysconf prefix.
7006 * posix/confstr.c: Define NEED_SPEC_ARRAY to 0.
7007 * posix/posix-envs.def: Likewise.
7008 * sysdeps/posix/sysconf.c: Likewise.
7009 * posix/getconf.c: Define NEED_SPEC_ARRAY to 1.
7010 (specs): Remove array.
7011 * scripts/gen-posix-conf-vars.awk: Support generation of specs
7014 * posix/posix-conf-vars.list: Add _POSIX sysconf namespace.
7015 * sysdeps/posix/sysconf.c: Include posix-conf-vars.h.
7016 (__sysconf): Use CONF_IS_* macros.
7018 * posix/Makefile (before-compile): Add posix-conf-vars-def.h.
7019 ($(objpfx)posix-conf-vars-def.h): New target.
7020 * posix/posix-conf-vars.list: New file.
7021 * posix/posix-conf-vars.h: New file.
7022 * posix/confstr.c: Include posix-conf-vars.h.
7023 (confstr): Use CONF_IS_* macros.
7024 * posix/posix-envs.def: Include posix-conf-vars.h. Use
7026 * scripts/gen-posix-conf-vars.awk: New file.
7028 2014-12-26 Chris Metcalf <cmetcalf@ezchip.com>
7030 * sysdeps/tile/math_private.h (fegetenv, fesetenv, feupdateenv,
7031 fegetround): Add no-op macros to avoid linknamespace issues.
7033 * sysdeps/unix/sysv/linux/clock_settime.c (SYSDEP_SETTIME): Remove
7034 definitions of INTERNAL_VSYSCALL and INLINE_VSYSCALL.
7036 * sysdeps/unix/sysv/linux/tile/sysdep.h
7037 (HAVE_CLOCK_GETTIME_VSYSCALL): Move definition out of
7038 assembly-specific section to avoid a redefinition warning.
7040 * sysdeps/tile/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast to
7041 long before casting to pointer to avoid a cast warning.
7043 2014-12-23 Chris Metcalf <cmetcalf@ezchip.com>
7045 * sysdeps/tile/tilegx/Implies: New file.
7047 2014-12-23 Richard Earnshaw <rearnsha@arm.com>
7049 * string/stpcpy.c (__stpcpy): Rewrite using strlen and memcpy.
7051 2014-12-23 Florian Weimer <fweimer@redhat.com>
7053 * iconvdata/run-iconv-test.sh: Actually test iconv modules.
7055 2014-12-22 Joseph Myers <joseph@codesourcery.com>
7057 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES): Do
7059 * sysdeps/unix/sysv/linux/utimes.c: Do not include
7060 <kernel-features.h>.
7061 (__utimes) [__NR_utimes]: Make code unconditional.
7062 (__utimes) [!__ASSUME_UTIMES]: Remove conditional code.
7063 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
7064 (__ASSUME_UTIMES): Do not undefine.
7065 * sysdeps/unix/sysv/linux/tile/kernel-features.h
7066 (__ASSUME_UTIMES): Likewise.
7067 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
7068 (__ASSUME_UTIMES): Define for [__LINUX_KERNEL_VERSION >= 0x030e00]
7069 instead of undefining for [__LINUX_KERNEL_VERSION < 0x030e00].
7070 * sysdeps/unix/sysv/linux/hppa/utimes.c: New file.
7072 2014-12-22 Steve Ellcey <sellcey@imgtec.com>
7074 * sysdeps/mips/memcpy.S: Fix preprocessor indentation.
7076 2014-12-22 Chris Metcalf <cmetcalf@ezchip.com>
7079 * math/w_j0.c [defined NO_LONG_DOUBLE] (j0, y0): Convert strong
7080 alias to weak alias for j0l, y0l.
7081 * math/w_j1.c [defined NO_LONG_DOUBLE] (j1, y1): Likewise.
7082 * math/w_jn.c [defined NO_LONG_DOUBLE] (jn, yn): Likewise.
7085 * sysdeps/tile/tilegx/strstr.c (STRSTR2): Remove implicit boolean
7088 2014-12-22 Steve Ellcey <sellcey@imgtec.com>
7090 * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Set
7091 to zero if not already defined.
7093 2014-12-22 Joseph Myers <joseph@codesourcery.com>
7096 * sysdeps/ieee754/k_standard.c: Don't include <float.h>.
7097 (__kernel_standard_f): Remove. Moved to k_standardf.c.
7098 (__kernel_standard_l): Remove. Moved to k_standardl.c with
7099 (char *) casts added.
7100 * sysdeps/ieee754/k_standardf.c: New file.
7101 * sysdeps/ieee754/k_standardl.c: Likewise.
7102 * math/Makefile (libm-support): Remove k_standard.
7103 (libm-calls): Add k_standard.
7105 2014-12-22 Wilco Dijkstra <wdijkstr@arm.com>
7107 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
7108 Optimize to avoid an unnecessary FPCR read.
7110 2014-12-22 Wilco Dijkstra <wdijkstr@arm.com>
7112 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
7113 Optimize to reduce FPCR/FPSR accesses.
7115 2014-12-22 Wilco Dijkstra <wdijkstr@arm.com>
7117 * sysdeps/aarch64/fpu/ftestexcept.c (fetestexcept):
7118 Call libc_fetestexcept_aarch64.
7120 2014-12-22 Wilco Dijkstra <wdijkstr@arm.com>
7122 * sysdeps/aarch64/fpu/fesetround.c (fesetround):
7123 Call libc_fesetround_aarch64.
7125 2014-12-22 Joseph Myers <joseph@codesourcery.com>
7128 * sysdeps/unix/sysv/linux/bind.S (NO_WEAK_ALIAS): Do not define.
7129 (__bind): Do not define as weak alias.
7130 * sysdeps/unix/sysv/linux/getsockname.S (NO_WEAK_ALIAS): Do not
7132 (__getsockname): Do not define as weak alias.
7134 2014-12-22 Will Newton <will.newton@linaro.org>
7136 * manual/install.texi: Document that we require bison 2.7
7138 * INSTALL: Regenerate.
7139 * configure.ac: Use AC_CHECK_PROG_VER instead of
7140 AC_PATH_PROG when checking for bison and check for
7141 version 2.7 or above.
7142 * configure: Regenerate.
7144 2014-12-21 Chris Metcalf <cmetcalf@ezchip.com>
7147 * sysdeps/tile/ffs.c (__ffs): Moved ffsll definition...
7148 * sysdeps/tile/ffsll.c (ffsll): To here.
7150 * sysdeps/unix/sysv/linux/tile/localplt.data: Removed.
7152 2014-12-21 H.J. Lu <hongjiu.lu@intel.com>
7154 * elf/dl-tls.c (__tls_get_addr): Provide the hidden definition
7156 * sysdeps/i386/dl-tls.h (___tls_get_addr): Provide the hidden
7158 * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
7159 hidden ___tls_get_addr.
7160 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
7161 hidden __tls_get_addr.
7162 * sysdeps/generic/localplt.data (__tls_get_addr): Removed.
7163 * sysdeps/unix/sysv/linux/i386/localplt.data (___tls_get_addr):
7166 2014-12-21 Andreas Schwab <schwab@linux-m68k.org>
7168 * sysdeps/m68k/dl-machine.h (RTLD_START): Remove @PLTPC from
7171 2014-12-21 H.J. Lu <hongjiu.lu@intel.com>
7173 * sysdeps/i386/dl-machine.h (_dl_start_user): Remove @PLT
7174 from "call _dl_init@PLT".
7175 * sysdeps/x86_64/dl-machine.h (_dl_start_user): Likewise.
7177 2014-12-21 Anders Kaseorg <andersk@mit.edu>
7179 * manual/search.texi: (Array Sort Function): Clarify stable sorting
7182 2014-12-20 Chris Metcalf <cmetcalf@ezchip.com>
7184 * sysdeps/unix/sysv/linux/tile/localplt.data: New file.
7186 2014-12-19 Chris Metcalf <cmetcalf@ezchip.com>
7189 * sysdeps/tile/tilegx/strstr.c (STRSTR): Call __strnlen, not
7192 2014-12-19 Steve Ellcey <sellcey@imgtec.com>
7194 * sysdeps/mips/addmul_1.S (__mpn_addmul_1): Use mulu/muhu instead
7196 * sysdeps/mips/mul_1.S (__mpn_mul_1): Ditto.
7197 * sysdeps/mips/submul_1.S (__mpn_submul_1): Ditto.
7198 * sysdeps/mips/mips64/addmul_1.S (__mpn_addmul_1): Ditto.
7199 * sysdeps/mips/mips64/mul_1.S (__mpn_mul_1): Ditto.
7200 * sysdeps/mips/mips64/submul_1.S (__mpn_submul_1): Ditto.
7202 2014-12-19 Steve Ellcey <sellcey@imgtec.com>
7204 * sysdeps/mips/sys/asm.h (PTR_ADDU): Use addu on mips32r6/mips64r6.
7205 (PTR_ADDIU): Use addiu for mips32r6/mips64r6.
7206 (PTR_SUBU): Use subu for mips32r6/mips64r6.
7207 (PTR_SUBIU): Use subu for mips32r6/mips64r6 (subiu does not exist).
7208 * sysdeps/mips/machine-gmon.h (PTR_ADDU_STRING) Use addu for
7210 (PTR_SUBU_STRING) Use subu for mips32r6/mips64r6.
7212 2014-12-19 Ondřej Bílka <neleai@seznam.cz>
7214 * string/strncat.c (STRNCAT): Simplify implementation.
7216 2014-12-19 David S. Miller <davem@davemloft.net>
7218 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Use a union to
7219 access the quad as both a long double and as a series of 4 words.
7221 * get-dynamic-info.h (elf_get_dynamic_info): Ignore -Warray-bounds for a
7222 link_map->l_info array access.
7224 2014-12-19 Chris Metcalf <cmetcalf@ezchip.com>
7226 * iconvdata/tst-loading.c (TIMEOUT): Increase timeout 10 sec.
7228 * math/atest-exp.c (TIMEOUT): Increase timeout to 10 sec.
7229 * math/atest-exp2.c (TIMEOUT): Likewise.
7230 * math/atest-sincos.c (TIMEOUT): Likewise.
7232 2014-12-19 H.J. Lu <hongjiu.lu@intel.com>
7234 * sysdeps/x86_64/x32/Makefile (CFLAGS-s_llround.c): Replace
7235 -Wno-error with -fno-builtin-lround.
7237 2014-12-19 Torvald Riegel <triegel@redhat.com>
7239 * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: New file.
7240 Contains futex constants and functions moved over from ...
7241 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here. Include
7242 <lowlevellock-futex.h>.
7243 (lll_wait_tid): Use lll_futex_wait instead of assembly code.
7244 (lll_timedwait_tid): Add comments and parentheses around macro
7247 2014-12-19 Torvald Riegel <triegel@redhat.com>
7249 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Include
7250 <lowlevellock-futex.h>. Remove FUTEX_* constants defined there.
7251 (__lll_private_flag): Remove.
7252 (lll_futex_wait): Likewise.
7253 (lll_futex_timed_wait): Likewise.
7254 (lll_futex_wake): Likewise.
7255 (lll_futex_requeue): Likewise.
7256 (lll_wait_tid): Use lll_futex_wait instead of assembly code.
7257 (__lll_timedwait_tid): Spell out argument names.
7258 (lll_timedwait_tid): Add comments and parentheses around macro
7260 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Make FUTEX_* constants,
7261 LLL_SHARED and LLL_PRIVATE usable from assembly code.
7263 2014-12-19 Torvald Riegel <triegel@redhat.com>
7265 * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Remove file.
7266 * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
7267 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
7268 * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Likewise.
7269 * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Likewise.
7270 * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Likewise.
7271 * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Likewise.
7272 * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Likewise.
7273 * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Likewise.
7274 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: Likewise.
7275 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: Likewise.
7276 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Likewise.
7277 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Likewise.
7278 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Likewise.
7279 * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Likewise.
7280 * sysdeps/unix/sysv/linux/sh/sem_post.S: Likewise.
7281 * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Likewise.
7282 * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Likewise.
7283 * sysdeps/unix/sysv/linux/sh/sem_wait.S: Likewise.
7285 2014-12-19 H.J. Lu <hongjiu.lu@intel.com>
7287 * sysdeps/x86_64/x32/Makefile: New file.
7289 2014-12-19 H.J. Lu <hongjiu.lu@intel.com>
7291 * sysdeps/i386/ldbl2mpn.c (__mpn_extract_long_double): Replace
7292 1L with (mp_limb_t) 1.
7294 2014-12-17 Roland McGrath <roland@hack.frob.com>
7296 * sysdeps/nptl/fork.c (__fork_generation_pointer): Variable moved ...
7297 * nptl/libc_pthread_init.c: ... here.
7298 * sysdeps/nptl/fork.c (__fork_handlers): Variable moved ...
7299 * nptl/register-atfork.c: ... here.
7301 * sysdeps/nptl/gai_misc.h (__gai_start_notify_thread):
7302 Use pthread_sigmask rather than INTERNAL_SYSCALL.
7303 Use assert_perror to check its return value.
7304 (__gai_create_helper_thread): Likewise.
7306 * inet/if_index.c (__if_freenameindex): Add libc_hidden_def.
7308 * malloc/malloc.c (alloc_perturb, free_perturb): Remove inline keyword.
7310 2014-12-17 Joseph Myers <joseph@codesourcery.com>
7313 * sysdeps/generic/profil-counter.h (profil_counter): Rename to
7315 * sysdeps/unix/sysv/linux/hppa/profil-counter.h (profil_counter):
7317 * sysdeps/unix/sysv/linux/i386/profil-counter.h (profil_counter):
7319 * sysdeps/unix/sysv/linux/ia64/profil-counter.h (profil_counter):
7321 * sysdeps/unix/sysv/linux/s390/s390-32/profil-counter.h
7322 (profil_counter): Likewise.
7323 * sysdeps/unix/sysv/linux/s390/s390-64/profil-counter.h
7324 (profil_counter): Likewise.
7325 * sysdeps/unix/sysv/linux/sh/profil-counter.h (profil_counter):
7327 * sysdeps/unix/sysv/linux/tile/profil-counter.h (profil_counter):
7329 * sysdeps/unix/sysv/linux/x86_64/profil-counter.h
7330 (profil_counter): Likewise.
7331 * sysdeps/unix/sysv/linux/arm/profil-counter.h (profil_counter):
7333 [!__profil_counter] (profil_counter): Define as weak alias of
7335 * sysdeps/unix/sysv/linux/sparc/sparc32/profil-counter.h
7336 (profil_counter): Rename to __profil_counter.
7337 [!__profil_counter] (profil_counter): Define as weak alias of
7339 * sysdeps/unix/sysv/linux/sparc/sparc64/profil-counter.h
7340 (profil_counter): Rename to __profil_counter.
7341 [!__profil_counter] (profil_counter): Define as weak alias of
7343 * sysdeps/posix/profil.c: Update comment referring to
7345 (__profil): Use __profil_counter instead of profil_counter.
7346 * sysdeps/posix/sprofil.c (profil_counter): Rename to
7347 __profil_counter. Use __profil_counter_ushort and
7348 __profil_counter_uint in definitions.
7349 (__sprofil): Use __profil_counter_uint and __profil_counter_ushort
7350 instead of profil_counter_uint and profil_counter_ushort.
7353 * inet/inet_mkadr.c (inet_makeaddr): Rename to __inet_makeaddr and
7354 define as weak alias of __inet_makeaddr.
7355 * resolv/inet_addr.c (inet_addr): Rename to __inet_addr and define
7356 as weak alias of __inet_addr.
7357 * resolv/inet_pton.c (inet_pton): Rename to __inet_pton and define
7358 as weak alias of __inet_pton. Use libc_hidden_weak.
7359 * include/arpa/inet.h (__inet_pton): Declare. Use
7361 (inet_makeaddr): Don't use libc_hidden_proto.
7362 (__inet_makeaddr): Declare. Use libc_hidden_proto.
7363 * resolv/res_init.c (__res_vinit): Use __inet_pton instead of
7364 inet_pton. Use __inet_makeaddr instead of inet_makeaddr.
7365 * conform/Makefile (test-xfail-POSIX/pthread.h/linknamespace):
7367 (test-xfail-POSIX/sched.h/linknamespace): Likewise.
7368 (test-xfail-POSIX/time.h/linknamespace): Likewise.
7370 2014-12-17 Steve Ellcey <sellcey@imgtec.com>
7372 * inet/getnetgrent_r.c: Move while loop to be inside if statement.
7374 2014-12-17 Stefan Liebler <stli@linux.vnet.ibm.com>
7376 * stdio-common/bug-vfprintf-nargs.c (do_test):
7377 Cast value to intptr_t to avoid format warning
7378 for usage with PRIdPTR printing macro.
7380 2014-12-17 Stefan Liebler <stli@linux.vnet.ibm.com>
7382 * libio/tst-widetext.c (do_test):
7383 Use format type %td instead of %Zd for ptrdiff_t
7384 in order to avoid format warning.
7386 2014-12-17 Andreas Schwab <schwab@suse.de>
7388 * nscd/mem.c (gc): Add size_t cast to match printf format.
7390 2014-12-16 Roland McGrath <roland@hack.frob.com>
7392 * sysdeps/gnu/unwind-resume.c: #include <sysdep.h>.
7393 (init): Apply PTR_MANGLE to pointers before storing them.
7394 (_Unwind_Resume, __gcc_personality_v0): Apply PTR_DEMANGLE to pointers
7397 2014-12-16 Joseph Myers <joseph@codesourcery.com>
7400 * sysdeps/x86_64/memrchr.S (memrchr): Rename to __memrchr and
7401 define as weak alias of __memrchr.
7402 (__memrchr): Do not define as strong alias of memrchr.
7403 * conform/Makefile (test-xfail-XPG4/libgen.h/linknamespace):
7405 (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
7406 (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
7407 (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
7410 * inet/if_index.c (if_nametoindex): Rename to __if_nametoindex and
7411 define as weak alias of __if_nametoindex. Use libc_hidden_weak.
7412 (if_indextoname): Rename to __if_indextoname and define as weak
7413 alias of __if_indextoname. Use libc_hidden_weak.
7414 (if_freenameindex): Rename to __if_freenameindex and define as
7415 weak alias of __if_freenameindex.
7416 (if_nameindex): Rename to __if_nameindex and define as weak alias
7418 * sysdeps/mach/hurd/if_index.c (if_nametoindex): Rename to
7419 __if_nametoindex and define as weak alias of __if_nametoindex.
7420 Use libc_hidden_weak.
7421 (if_freenameindex): Rename to __if_freenameindex and define as
7422 weak alias of __if_freenameindex.
7423 (if_nameindex): Rename to __if_nameindex and define as weak alias
7425 (if_indextoname): Rename to __if_indextoname and define as weak
7426 alias of __if_indextoname. Use libc_hidden_weak.
7427 * sysdeps/unix/sysv/linux/if_index.c (if_nametoindex): Rename to
7428 __if_nametoindex and define as weak alias of __if_nametoindex.
7429 Use libc_hidden_weak.
7430 (if_freenameindex): Rename to __if_freenameindex and define as
7431 weak alias of __if_freenameindex. Use libc_hidden_weak.
7432 (if_nameindex_netlink): Use __if_freenameindex instead of
7434 (if_nameindex): Rename to __if_nameindex and define as weak alias
7435 of __if_nameindex. Use libc_hidden_weak.
7436 (if_indextoname): Rename to __if_indextoname and define as weak
7437 alias of __if_indextoname. Use libc_hidden_weak.
7438 * include/net/if.h [!_ISOMAC] (__if_nametoindex): Declare and use
7440 [!_ISOMAC] (__if_freenameindex): Likewise.
7441 * resolv/res_init.c (__res_vinit): Use __if_nametoindex instead of
7443 * conform/Makefile (test-xfail-XPG4/grp.h/linknamespace): Remove
7445 (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
7446 (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
7447 (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
7448 (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
7449 (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
7450 (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
7451 (test-xfail-UNIX98/time.h/linknamespace): Likewise.
7453 * conform/Makefile (test-xfail-UNIX98/semaphore.h/linknamespace):
7455 (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
7456 (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
7458 2014-12-16 Siddhesh Poyarekar <siddhesh@redhat.com>
7460 * resolv/res_send.c (__libc_res_nsend): Disable warning 'array
7461 subscript above bounds'
7463 * resolv/res_send.c (__libc_res_nsend): Fix check for nsmap
7466 2014-12-16 Arjun Shankar <arjun.is@lostca.se>
7468 * libio/tst-fopenloc.c: Use test-skeleton.c.
7470 * stdlib/tst-bsearch.c: Use test-skeleton.c.
7471 (entry): Rename to ITEM.
7472 (do_test, comp): Adjust.
7474 * stdio-common/tst-fseek.c: Use test-skeleton.c.
7476 2014-12-16 Torvald Riegel <triegel@redhat.com>
7478 * string/tester.c: Include <libc-internal.h>.
7479 (test_memset): Ignore -Wmemset-transposed-args.
7481 2014-12-16 Torvald Riegel <triegel@redhat.com>
7483 * misc/tst-mntent2.c (do_test): Fix warning.
7485 2014-12-16 Torvald Riegel <triegel@redhat.com>
7487 * elf/tst-unique4lib.cc(a): Mark as used.
7489 2014-12-16 Florian Weimer <fweimer@redhat.com>
7492 * resolv/nss_dns/dns-network.c (getanswer_r): Iterate over alias
7495 2014-12-16 Allan McRae <allan@archlinux.org>
7497 * stdio-common/Makefile (tests): Re-add bug26.
7499 2014-12-15 Ondřej Bílka <neleai@seznam.cz>
7502 * locale/programs/ld-ctype.c (find_translit2, read_widestring): Return
7505 2014-12-15 Bernard Ogden <bernie.ogden@linaro.org>
7507 * nptl/lowlevellock.c (__lll_lock_wait_private): Add comments.
7508 (__lll_lock_wait): Likewise.
7509 (__lll_timedlock_wait): Likewise.
7510 (__lll_timedwait_tid): Likewise.
7511 * nptl/lowlevelrobustlock.c (__lll_robust_lock_wait): Likewise.
7512 (__lll_robust_timedlock_wait): Likewise.
7513 * sysdeps/nptl/lowlevellock.h (lll_trylock): Likewise.
7514 (lll_cond_trylock): Likewise.
7515 (__lll_lock): Likewise.
7516 (__lll_robust_lock): Likewise.
7517 (__lll_cond_lock): Likewise.
7518 (lll_robust_cond_lock): Likewise.
7519 (__lll_timedlock): Likewise.
7520 (__lll_robust_timedlock): Likewise.
7521 (__lll_unlock): Likewise.
7522 (__lll_robust_unlock): Likewise.
7523 (lll_wait_tid): Likewise.
7524 (lll_timedwait_tid): Likewise.
7526 2014-12-15 Torvald Riegel <triegel@redhat.com>
7528 * nptl/tst-sem4.c (do_test): Start with a fresh semaphore state.
7530 2014-12-15 Torvald Riegel <triegel@redhat.com>
7532 * nptl/tst-mutex5.c (do_test): Do not skip tests if elision is enabled.
7534 2014-12-15 Adhemerval Zanella <Azanella@linux.vnet.ibm.com>
7536 * stdio-common/test-vfprintf.c: Include <libc-internal.h>.
7537 * stdio-common/tst-sprintf.c: Likewise.
7539 2014-12-15 Torvald Riegel <triegel@redhat.com>
7541 * sysdeps/unix/sysv/linux/s390/pthread_once.c: Remove file.
7543 2014-12-15 Jeff Law <law@redhat.com>
7546 * stdio-common/vfprintf.c (vfprintf): Allocate large specs array
7547 on the heap. (CVE-2012-3406)
7548 * stdio-common/bug23-2.c, stdio-common/bug23-3.c: New file.
7549 * stdio-common/bug23-4.c: New file. Test case by Joseph Myers.
7550 * stdio-common/Makefile (tests): Add bug23-2, bug23-3, bug23-4.
7552 2014-12-15 Will Newton <will.newton@linaro.org>
7554 * manual/install.texi: Bump required version of texinfo
7556 * INSTALL: Regenerated.
7557 * configure.ac: Check for makeinfo version 4.7 and above.
7558 * configure: Regenerated.
7560 2014-12-12 Roland McGrath <roland@hack.frob.com>
7562 * sysdeps/posix/shm-directory.h (SHM_GET_NAME): Take new argument
7563 PREFIX, string constant to insert between directory and name.
7564 * sysdeps/posix/shm_open.c: Update caller.
7565 * sysdeps/posix/shm_unlink.c: Likewise.
7566 * nptl/semaphoreP.h (struct mountpoint_info): Type removed.
7567 (__where_is_shmfs, mountpoint, __namedsem_once): Declarations removed.
7568 (SEM_SHM_PREFIX): New macro.
7569 * sysdeps/posix/Makefile (librt-routines): Add shm-directory only if
7570 [$(have-thread-library) = no].
7571 * nptl/Makefile (libpthread-routines): Add shm-directory.
7572 * nptl/Versions (GLIBC_PRIVATE): Add __shm_directory.
7573 * sysdeps/nptl/shm-directory.h: New file.
7574 * sysdeps/posix/shm-directory.c
7575 [IS_IN (libpthread)] (__shm_directory): Add hidden_def.
7576 * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
7577 * nptl/sem_open.c (check_add_mapping): Use munmap function rather than
7579 (__where_is_shmfs): Function removed.
7580 (mountpoint, defaultmount, defaultdir, __namedsem_once):
7582 (sem_open): Use __libc_close function rather than INTERNAL_SYSCALL.
7584 * nptl/sem_unlink.c: Prototypify. Use SHM_GET_NAME.
7586 * sysdeps/nptl/bits/libc-lockP.h [IS_IN (libpthread)]
7587 (PTFAVAIL, __libc_ptf_call, __libc_ptf_call_always): Define as
7588 unconditional for use inside libpthread.
7589 [IS_IN (libpthread)]: Include <nptl/pthreadP.h>.
7591 2014-12-12 Roland McGrath <roland@hack.frob.com>
7593 * nptl/pthread_getaffinity.c: New file.
7594 * nptl/pthread_setaffinity.c: New file.
7595 * nptl/pthread_getname.c: New file.
7596 * nptl/pthread_setname.c: New file.
7598 * nptl/pthread_create.c (START_THREAD_DEFN)
7599 [! __ASSUME_SET_ROBUST_LIST]: Add missing & in lll_futex_wake argument.
7601 2014-12-12 Stefan Liebler <stli@linux.vnet.ibm.com>
7602 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7604 * resolv/res_send.c (send_vc): Disable warning resplen may
7605 be used uninitialized.
7607 2014-12-12 Stefan Liebler <stli@linux.vnet.ibm.com>
7610 (ATTR_NULL): New define checks ATTR against NULL.
7611 (do_test): Use !ATTR_NULL instead of ATTR != NULL.
7612 * nptl/tst-mutexpp6.c (ATTR_NULL): New define.
7614 2014-12-11 James Lemke <jwlemke@codesourcery.com>
7618 (mem2mem_check): Revert my previous change.
7619 (malloc_check_get_size): Revert my previous change.
7620 (mem2chunk_check): Revert my previous change.
7622 2014-12-11 Roland McGrath <roland@hack.frob.com>
7624 * sysdeps/posix/shm-directory.c: New file.
7625 * sysdeps/posix/shm-directory.h: New file.
7626 * sysdeps/posix/Makefile [($(subdir) = rt] (librt-routines): Add it.
7627 * sysdeps/posix/shm_open.c: Use SHM_GET_NAME.
7628 Use O_NOFOLLOW and O_CLOEXEC if available. Transmute EISDIR to EINVAL.
7629 * sysdeps/posix/shm_unlink.c: Use SHM_GET_NAME.
7630 Transmute EPERM to EACCES.
7631 * sysdeps/unix/sysv/linux/shm-directory.c: New file, most code taken
7633 * sysdeps/unix/sysv/linux/shm_open.c: ... here. File removed.
7634 * sysdeps/unix/sysv/linux/shm_unlink.c: File removed.
7636 2014-12-11 Kaz Kojima <kkojima@rr.iij4u.or.jp>
7638 * sysdeps/sh/jmpbuf_unwind.h (_jmpbuf_sp): Declare SP as void
7639 pointer and cast to uintptr_t.
7640 * sysdeps/sh/nptl/tls.h (TLS_INIT_TP): Use NULL instead of 0.
7641 * sysdeps/unix/sysv/linux/sh/lowlevellock.h (lll_futex_timed_wait):
7642 Add cast to avoid warning.
7643 * sysdeps/unix/sysv/linux/sh/register-dump.h: Use 0 instead of NULL.
7645 2014-12-11 Joseph Myers <joseph@codesourcery.com>
7647 * nptl/semaphore.h: Move to ...
7648 * sysdeps/pthread/semaphore.h: ... here.
7649 * Makefile (installed-headers): Change nptl/semaphore.h to
7650 sysdeps/pthread/semaphore.h.
7652 2014-12-11 Roland McGrath <roland@hack.frob.com>
7654 * misc/tst-error1.c (do_test): Ignore -Wformat-security for
7655 generated error format strings.
7657 * stdio-common/tstdiomisc.c (t2): Ignore -Wformat and
7658 -Wformat-extra-args warnings for scanf formats.
7659 * stdio-common/scanf4.c (main): Ignore -Wformat-zero-length around
7660 test of zero-length format (duh).
7661 * stdio-common/scanf7.c (main): Ignore -Wformat warnings for
7662 corner-case scanf format test.
7663 * stdio-common/test-vfprintf.c (do_test): Ignore -Wformat-security for
7664 generated fprintf format string.
7665 * stdio-common/tst-sprintf.c (do_test): Ignore -Wformat warnings for
7666 corner-case sprintf format tests.
7667 * stdio-common/tst-printf.c: Ignore -Wformat throughout.
7668 * stdio-common/tst-printfsz.c (main): Ignore -Wformat and
7669 -Wformat-extra-args warnings throughout.
7670 * stdio-common/Makefile (CFLAGS-tstdiomisc.c): Variable removed.
7671 (CFLAGS-scanf4.c): Likewise.
7672 (CFLAGS-scanf7.c): Likewise.
7673 (CFLAGS-tst-sprintf.c): Likewise.
7674 (CFLAGS-tst-printf.c): Likewise.
7675 (CFLAGS-tst-printfsz.c): Likewise.
7677 2014-12-11 Joseph Myers <joseph@codesourcery.com>
7679 * include/cpio.h: New file.
7680 * include/fmtmsg.h: Likewise.
7682 * tst-mbswcs1.c (show): Use %zu format instead of %Zd. Cast
7683 corresponding format argument to size_t.
7684 * tst-mbswcs2.c (show): Likewise. Use %td format for ptrdiff_t
7686 * tst-mbswcs3.c (show): Use %zu format instead of %Zd. Cast
7687 corresponding format argument to size_t.
7688 * tst-mbswcs4.c (show): Likewise. Use %td format for ptrdiff_t
7690 * tst-mbswcs5.c (show): Use %zu format instead of %Zd. Cast
7691 corresponding format argument to size_t.
7692 * tst-trans.c (do_test): Use %lc format for wint_t arguments.
7693 * Makefile (CFLAGS-tst-mbswcs1.c): Remove variable.
7694 (CFLAGS-tst-mbswcs2.c): Likewise.
7695 (CFLAGS-tst-mbswcs3.c): Likewise.
7696 (CFLAGS-tst-mbswcs4.c): Likewise.
7697 (CFLAGS-tst-mbswcs5.c): Likewise.
7698 (CFLAGS-tst-trans.c): Likewise
7700 2014-12-11 Roland McGrath <roland@hack.frob.com>
7702 * posix/regexbug1.c (main): Use "%s" format with regerror results,
7703 rather than assuming they won't contain any '%'s.
7705 2014-12-11 Chris Metcalf <cmetcalf@ezchip.com>
7707 * sysdeps/tile/tilegx/memset.c (__memcpy): Add
7708 inhibit_loop_to_libcall to avoid recursive calls.
7709 * sysdeps/tile/tilegx/memcpy.c (__memcpy): Likewise.
7710 * sysdeps/tile/tilepro/memcpy.c (__memcpy): Likewise.
7712 2014-12-11 Adhemerval Zanella <Azanella@linux.vnet.ibm.com>
7714 * include/sys/socket.h (__sendmmsg): Add __USE_GNU guards on function
7717 2014-12-11 Steve Ellcey <sellcey@imgtec.com>
7719 * sysdeps/mips/dl-trampoline.c: Modify switch expression to have
7720 integer value instead of boolean.
7722 2014-12-11 Steve Ellcey <sellcey@imgtec.com>
7724 * malloc/malloc.c: Fix powerof2 check.
7726 2014-12-11 Stefan Liebler <stli@linux.vnet.ibm.com>
7728 * locale/programs/locfile.h (maybe_swap_uint32):
7729 Remove inline and add unused attribute.
7731 2014-12-11 Stefan Liebler <stli@linux.vnet.ibm.com>
7733 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
7734 Truncating assembler expression to a .long expression.
7736 2014-12-11 Andreas Schwab <schwab@suse.de>
7738 * elf/rtld.c (struct map_args): Constify str member.
7739 (do_preload): Constify fname argument.
7741 2014-12-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7743 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Remove overflow warnings for
7744 constants definition.
7746 2014-12-11 Andreas Schwab <schwab@suse.de>
7749 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Use
7750 FORCE_ELISION instead of DO_ELISION.
7751 * sysdeps/unix/sysv/linux/x86/force-elision.h (DO_ELISION):
7753 * sysdeps/unix/sysv/linux/s390/force-elision.h (DO_ELISION):
7756 * iconvdata/gconv-modules: Remove duplicate entry.
7758 2014-12-11 Will Newton <will.newton@linaro.org>
7760 Merge gettext 0.19.3 into intl/.
7762 This involves a number of cosmetic changes to comments
7763 and ANSI function definitions and prototypes throughout
7764 all the files. The gettext copyright header is used but
7765 with the date ranges taken from the glibc copy.
7767 * NEWS: Add gettext merge to 2.21.
7768 * intl/bindtextdom.c: Switch to gettext copyright.
7769 Use ANSI definitions and prototypes.
7770 Use gl_* locking primitives rather than __libc_* ones.
7771 Use __builtin_expect rather than __glibc_likely/unlikely.
7772 * intl/dcgettext.c: Switch to gettext copyright.
7773 Use ANSI definitions and prototypes.
7774 * intl/dcigettext.c: Switch to gettext copyright.
7775 Use ANSI definitions and prototypes.
7776 (INTDIV0_RAISES_SIGFPE): New define.
7777 Use gl_* locking primitives rather than __libc_* ones.
7778 Include eval-plural.h instead of plural-eval.c.
7779 Use __builtin_expect rather than __glibc_likely/unlikely.
7780 * intl/dcngettext.c: Switch to gettext copyright.
7781 Use ANSI definitions and prototypes.
7782 * intl/dgettext.c: Likewise.
7783 * intl/dngettext.c: Likewise.
7784 * intl/plural-eval.c: Renamed to...
7785 * intl/eval-plural.h: ...this.
7786 * intl/explodename.c: Switch to gettext copyright.
7787 Use ANSI definitions and prototypes.
7788 (_nl_explode_name): Use strchr instead of __rawmemchr.
7789 * intl/finddomain.c: Switch to gettext copyright.
7790 Use ANSI definitions and prototypes.
7791 Use gl_* locking primitives rather than __libc_* ones.
7792 (_nl_find_domain): Use malloc rather than alloca for
7793 allocation of temporary locale name.
7794 * intl/gettext.c: Switch to gettext copyright.
7795 Use ANSI definitions and prototypes.
7796 * intl/gettextP.h: Switch to gettext copyright.
7797 Use ANSI definitions and prototypes.
7798 Use gl_* locking primitives rather than __libc_* ones.
7799 * intl/gmo.h: Switch to gettext copyright.
7800 (struct sysdep_string): Move struct segment_pair outside of
7802 * intl/hash-string.c: Use ANSI definitions and prototypes.
7803 * intl/hash-string.h: Switch to gettext copyright.
7804 Use ANSI definitions and prototypes.
7805 * intl/l10nflist.c: Switch to gettext copyright.
7806 Use ANSI definitions and prototypes.
7807 (_nl_normalize_codeset): Avoid integer overflow.
7808 * intl/loadinfo.h: Switch to gettext copyright.
7809 Use ANSI definitions and prototypes.
7810 (LIBINTL_DLL_EXPORTED): New define.
7811 (PATH_SEPARATOR): New define.
7812 * intl/loadmsgcat.c: Switch to gettext copyright.
7813 * intl/localealias.c: Switch to gettext copyright.
7814 Use ANSI definitions and prototypes.
7815 (_nl_expand_alias): Use PATH_SEPARATOR.
7816 * intl/ngettext.c: Switch to gettext copyright.
7817 Use ANSI definitions and prototypes.
7818 * intl/plural-exp.c: Likewise.
7819 * intl/plural-exp.h: Switch to gettext copyright.
7820 Use ANSI definitions and prototypes.
7821 (struct expression): Move definition of enum operator outside
7822 of struct definition.
7823 * intl/plural.c: Regenerate.
7824 * intl/plural.y: Switch to gettext copyright.
7825 Use ANSI definitions and prototypes.
7827 * intl/textdomain.c: Switch to gettext copyright.
7828 Use ANSI definitions and prototypes.
7829 Use gl_* locking primitives rather than __libc_* ones.
7831 2014-12-10 Steve Ellcey <sellcey@imgtec.com>
7833 * debug/warning-nop.c: Add used atrribute.
7835 2014-12-10 Joseph Myers <joseph@codesourcery.com>
7837 * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: New file.
7839 * sysdeps/unix/sysv/linux/mips/mips64/Makefile
7840 [$(subdir) == signal] (CFLAGS-sigaction.c): New variable.
7841 [$(subdir) == nptl] (CFLAGS-sigaction.c): Likewise.
7843 2014-12-10 Joseph Myers <joseph@codesourcery.com>
7844 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7847 * wcsmbs/wcschr.c [!WCSCHR] (wcschr): Define as __wcschr.
7848 Undefine after defining function. Define as weak alias of
7849 __wcschr. Use libc_hidden_weak.
7850 * include/wchar.h (__wcschr): Declare. Use libc_hidden_proto.
7851 * sysdeps/i386/i686/multiarch/wcschr-c.c [IS_IN (libc) && SHARED]
7852 (libc_hidden_def): Also define __GI___wcschr alias.
7853 * sysdeps/i386/i686/multiarch/wcschr.S (wcschr): Rename to
7854 __wcschr and define as weak alias of __wcschr.
7855 * sysdeps/powerpc/power6/wcschr.c [!WCSCHR] (WCSCHR): Define as
7857 [!WCSCHR] (DEFAULT_WCSCHR): Define.
7858 [DEFAULT_WCSCHR] (__wcschr): Use libc_hidden_def.
7859 [DEFAULT_WCSCHR] (wcschr): Define as weak alias of __wcschr. Use
7860 libc_hidden_weak. Do not use libc_hidden_def.
7861 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c
7862 [IS_IN (libc) && SHARED] (libc_hidden_def): Also define
7863 __GI___wcschr alias.
7864 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c
7865 [IS_IN (libc)] (wcschr): Define as macro expanding to
7867 [IS_IN (libc)] (__wcschr_ppc): Use __redirect_wcschr in typeof.
7868 [IS_IN (libc)] (__wcschr_power6): Likewise.
7869 [IS_IN (libc)] (__wcschr_power7): Likewise.
7870 [IS_IN (libc)] (__libc_wcschr): New. Define with libc_ifunc
7872 [IS_IN (libc)] (wcschr): Undefine and define as weak alias of
7874 [!IS_IN (libc)] (libc_hidden_def): Do not undefine and redefine.
7875 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c (wcschr): Rename to
7876 __wcschr and define as weak alias of __wcschr. Use
7877 libc_hidden_builtin_def.
7878 * sysdeps/x86_64/wcschr.S (wcschr): Rename to __wcschr and define
7879 as weak alias of __wcschr. Use libc_hidden_weak.
7880 * time/alt_digit.c (_nl_get_walt_digit): Use __wcschr instead of
7882 * time/era.c (_nl_init_era_entries): Likewise.
7883 * conform/Makefile (test-xfail-ISO/time.h/linknamespace): Remove
7885 (test-xfail-XPG3/time.h/linknamespace): Likewise.
7886 (test-xfail-XPG4/time.h/linknamespace): Likewise.
7888 2014-12-10 Joseph Myers <joseph@codesourcery.com>
7890 * libio/tst-ftell-active-handler.c (do_ftruncate_test): Use %ld
7891 format for long int variable.
7893 2014-12-10 Anders Kaseorg <andersk@MIT.EDU>
7896 * manual/search.texi: (Array Sort Function): Remove claim how to make
7899 2014-12-10 Andreas Schwab <schwab@suse.de>
7902 * sysdeps/nptl/fork.c (fresetlockfiles): Skip files with
7903 user-controlled locks.
7905 2014-12-10 Richard Earnshaw <rearnsha@arm.com>
7907 * sysdeps/aarch64/strchrnul.S (vrepmask): Use a call-clobbered
7910 2014-12-10 Joseph Myers <joseph@codesourcery.com>
7912 * configure.ac (--disable-werror): New configure option.
7913 (enable_werror): New AC_SUBST.
7914 * configure: Regenerated.
7915 * config.make.in (enable-werror): New variable.
7916 * Makeconfig [$(enable-werror) = yes] (+gccwarn): Add -Werror
7918 (+gccwarn-c): Do not use -Werror=implicit-function-declaration.
7919 * manual/install.texi (Configuring and compiling): Document
7921 * INSTALL: Regenerated.
7922 * debug/Makefile (CFLAGS-tst-chk1.c): Add -Wno-error.
7923 (CFLAGS-tst-chk2.c): Likewise.
7924 (CFLAGS-tst-chk3.c): Likewise.
7925 (CFLAGS-tst-chk4.cc): Likewise.
7926 (CFLAGS-tst-chk5.cc): Likewise.
7927 (CFLAGS-tst-chk6.cc): Likewise.
7928 (CFLAGS-tst-lfschk1.c): Likewise.
7929 (CFLAGS-tst-lfschk2.c): Likewise.
7930 (CFLAGS-tst-lfschk3.c): Likewise.
7931 (CFLAGS-tst-lfschk4.cc): Likewise.
7932 (CFLAGS-tst-lfschk5.cc): Likewise.
7933 (CFLAGS-tst-lfschk6.cc): Likewise.
7935 * stdio-common/tst-printfsz.c: Include <libc-internal.h>.
7936 (main): Disable -Wdeprecated-declarations around calls to
7937 register_printf_function.
7939 * stdio-common/tst-unlockedio.c: Include <libc-internal.h>.
7940 (do_test): Disable -Wdiv-by-zero around some calls to
7941 fwrite_unlocked and fread_unlocked.
7943 * include/libc-internal.h (DIAG_PUSH_NEEDS_COMMENT): New macro.
7944 (DIAG_POP_NEEDS_COMMENT): Likewise.
7945 (_DIAG_STR1): Likewise.
7946 (_DIAG_STR): Likewise.
7947 (DIAG_IGNORE_NEEDS_COMMENT): Likewise.
7948 * stdio-common/bug21.c: Include <libc-internal.h>.
7949 (do_test): Disable -Wformat around call to sscanf.
7950 * stdio-common/scanf14.c: Include <libc-internal.h>.
7951 (main): Disable -Wformat around some calls to scanf functions.
7953 2014-12-09 Torvald Riegel <triegel@redhat.com>
7955 * sysdeps/unix/sysv/linux/sh/pthread_once.S: Remove file.
7957 2014-12-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7959 * libio/tst-ftell-active-handler.c (do_ftell_test): Fix wide-character
7960 stack variable alignment.
7962 2014-12-06 Joseph Myers <joseph@codesourcery.com>
7965 * resource/Versions (libc): Add __getrlimit at GLIBC_PRIVATE.
7966 * resource/getrlimit.c (__getrlimit): Use libc_hidden_def.
7967 * sysdeps/mach/hurd/getrlimit.c (__getrlimit): Likewise.
7968 * include/sys/resource.h (__getrlimit): Use libc_hidden_proto.
7969 * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Use
7970 __getrlimit instead of getrlimit.
7971 * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Use
7972 __gettimeofday instead of gettimeofday.
7973 * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
7975 * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
7977 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
7978 * conform/Makefile (test-xfail-POSIX2008/aio.h/linknamespace):
7980 (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
7981 (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
7983 2014-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7985 * libio/tst-ftell-active-handler.c (do_ftell_test): Fix buffer overrun
7986 for wide-character tests.
7988 2014-12-04 Roland McGrath <roland@hack.frob.com>
7990 * io/openat64.c: #include <libc-internal.h>
7991 (__openat64): Prototypify. Use ignore_value on MODE.
7992 * io/openat.c: Likewise.
7993 * misc/reboot.c: #include <libc-internal.h>
7994 (reboot): Prototypify. Use ignore_value on HOWTO.
7995 * misc/ptrace.c: #include <libc-internal.h>
7996 (ptrace): Prototypify. Use ignore_value for va_arg'd parameters.
7998 2014-12-04 Joseph Myers <joseph@codesourcery.com>
8000 * conform/list-header-symbols.pl (%extra_syms): Add h_errno for
8001 XPG4, UNIX98 and XOPEN2K.
8002 * conform/Makefile (test-xfail-XOPEN2K/grp.h/linknamespace):
8004 (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
8006 2014-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
8008 * libio/fileops.c: Use ISO C style for function definitions.
8009 * libio/iofopen.c: Likewise.
8010 * libio/wfileops.c: Likewise.
8013 * libio/fileops.c (_IO_new_file_underflow): Unset cached
8015 * libio/wfileops.c (_IO_wfile_underflow): Likewise.
8016 * libio/tst-ftell-active-handler.c (fgets_func_t): New type.
8017 (fgets_func): Function pointer to fgets and fgetws.
8018 (do_ftell_test): Add test to verify ftell value after read
8020 (do_test): Set fgets_func.
8022 * libio/tst-ftell-active-handler.c (do_ftruncate_test): Add
8023 O_TRUNC flag for w and w+ modes.
8024 (do_rewind_test): Likewise.
8025 (do_ftell_test): Likewise.
8026 (do_write_test): Likewise.
8029 * libio/fileops.c (do_ftell): Seek only when there are
8031 * libio/wfileops.c (do_ftell_wide): Likewise.
8032 * libio/tst-ftell-active-handler.c (do_ftruncate_test): New
8034 (do_one_test): Call it.
8036 2014-12-03 Joseph Myers <joseph@codesourcery.com>
8038 * conform/list-header-symbols.pl (%extra_syms): Add getdate_err
8039 for XPG4, UNIX98, XOPEN2K and XOPEN2K8.
8040 * conform/Makefile (test-xfail-XOPEN2K/pthread.h/linknamespace):
8042 (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
8043 (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
8044 (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
8046 2014-12-02 Joseph Myers <joseph@codesourcery.com>
8048 * conform/Makefile (test-xfail-XOPEN2K/aio.h/linknamespace):
8050 (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
8053 * inet/ifaddrs.c (getifaddrs): Rename to __getifaddrs and define
8054 as weak alias of __getifaddrs. Use libc_hidden_weak.
8055 (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
8056 __freeifaddrs. Use libc_hidden_weak.
8057 * sysdeps/gnu/ifaddrs.c (getifaddrs): Rename to __getifaddrs and
8058 define as weak alias of __getifaddrs. Use libc_hidden_weak.
8059 (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
8060 __freeifaddrs. Use libc_hidden_weak.
8061 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs): Rename to
8062 __getifaddrs and define as weak alias of __getifaddrs. Use
8064 (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
8065 __freeifaddrs. Use libc_hidden_weak.
8066 * conform/Makefile (test-xfail-XOPEN2K/net/if.h/linknamespace):
8068 (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
8069 (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
8071 2014-12-02 Petar Jovanovic <petar.jovanovic@rt-rk.com>
8074 * sysdeps/mips/start.S (__start): Use indirect jump to call
8077 2014-12-02 Joseph Myers <joseph@codesourcery.com>
8079 * nptl/tst-stack4.c (dso_process): Use int not uintptr_t for t.
8081 * nptl/tst-mutex1.c: Include <stdbool.h>.
8082 [!ATTR] (ATTR_NULL): New macro.
8083 (do_test): Test !ATTR_NULL instead of ATTR != NULL.
8084 * nptl/tst-mutexpi1.c (ATTR_NULL): New macro.
8085 * nptl/tst-mutexpp1.c (ATTR_NULL): New macro.
8087 * posix/tst-getopt_long1.c (do_test): Cast elements of argv array
8091 * posix/unistd.h [__USE_MISC || (__USE_XOPEN && !__USE_UNIX98)]:
8092 Change conditional to [__USE_MISC].
8095 * misc/mntent_r.c (__getmntent_r): Use __fgets_unlocked instead of
8097 * resolv/res_hconf.c [IS_IN (libc)] (fgets_unlocked): Define to
8099 * resolv/res_init.c (__res_vinit): Use __fgets_unlocked instead of
8101 * conform/Makefile (test-xfail-XPG4/sys/statvfs.h/linknamespace):
8103 (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
8104 (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
8105 (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
8106 (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
8107 (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
8108 (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
8109 (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
8110 (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
8111 (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
8113 * elf/tst-unique4lib.cc (b): Mark with __attribute__ ((used)).
8115 2014-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8117 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
8118 Remove strpbrk objects.
8119 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8120 (__libc_ifunc_impl_list): Remove strpbrk implementation.
8121 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: Remove file.
8122 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Remove file.
8123 * sysdeps/powerpc/powerpc64/power7/strpbrk.S: Remove file.
8124 * sysdeps/powerpc/powerpc64/strpbrk.S: New file.
8126 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
8127 Remove strcspn objects.
8128 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8129 (__libc_ifunc_impl_list): Remove strcspn implementation.
8130 * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: Remove file.
8131 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Remove file.
8132 * sysdeps/powerpc/powerpc64/power7/strcspn.S: Remove file.
8133 * sysdeps/powerpc/powerpc64/strcspn.S: New file.
8135 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
8136 Remove strspn objetcs.
8137 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8138 (__libc_ifunc_impl_list): Remove strspn implementation.
8139 * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: Remove file.
8140 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
8141 * sysdeps/powerpc/powerpc64/power7/strspn.S: Remove file.
8142 * sysdeps/powerpc/powerpc64/strspn.S: New file.
8144 2014-12-01 James Lemke <jwlemke@codesourcery.com>
8148 (mem2mem_check): Add a terminator to the chain of checking blocks.
8149 (malloc_check_get_size): Use it here.
8150 (mem2chunk_check): Ditto.
8152 2014-12-01 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
8154 * sysdeps/powerpc/powerpc64/strtok.S: New file.
8155 * sysdeps/powerpc/powerpc64/strtok_r.S: New file.
8157 2014-11-29 Carlos O'Donell <carlos@redhat.com>
8159 * bits/ioctl-types.h: Indent preprocessor directives correctly.
8161 * nptl/nptl-init.c: Include libc-internal.h.
8162 (__pthread_initialize_minimal_internal): Use ROUND_UP.
8164 * elf/ldconfig.c (search_dir): Expand comment.
8166 2014-11-29 Joseph Myers <joseph@codesourcery.com>
8168 * conform/Makefile (linknamespace-symlist-stdlibs-base): New
8170 (linknamespace-symlist-stdlibs-tests): Likewise.
8171 (tests-special): Append $(linknamespace-symlist-stdlibs-tests)
8172 instead of $(objpfx)symlist-stdlibs.
8173 (linknamespace-libs-isoc): New variable.
8174 (linknamespace-libs): Use $(linknamespace-libs-isoc).
8175 (linknamespace-libs-ISO): New variable.
8176 (linknamespace-libs-ISO99): Likewise.
8177 (linknamespace-libs-ISO11): Likewise.
8178 (linknamespace-libs-XPG3): Likewise.
8179 (linknamespace-libs-XPG4): Likewise.
8180 (linknamespace-libs-POSIX): Likewise.
8181 (linknamespace-libs-UNIX98): Likewise.
8182 (linknamespace-libs-XOPEN2K): Likewise.
8183 (linknamespace-libs-POSIX2008): Likewise.
8184 (linknamespace-libs-XOPEN2K8): Likewise.
8185 ($(objpfx)symlist-stdlibs): Replace by
8186 $(linknamespace-symlist-stdlibs-tests). Use
8187 $(linknamespace-libs-$*) as set of libraries.
8188 ($(linknamespace-header-tests)): Update dependencies. Use
8189 $(objpfx)symlist-stdlibs-$$std for --libsyms argument.
8190 (test-xfail-XPG4/sys/mman.h/linknamespace): Remove.
8191 * conform/linknamespace.pl: Remove comment about considering
8192 definitions of symbols from irrelevant libraries.
8194 2014-11-28 H.J. Lu <hongjiu.lu@intel.com>
8197 * elf/dl-tls.c: Include <atomic.h>.
8198 (oom): Remove #ifdef SHARED/#endif.
8199 (_dl_static_dtv, _dl_initial_dtv): Moved before ...
8200 (_dl_resize_dtv): This. Extracted from _dl_update_slotinfo.
8201 (_dl_allocate_tls_init): Resize DTV if the current DTV isn't
8203 (_dl_update_slotinfo): Call _dl_resize_dtv to resize DTV.
8204 * nptl/Makefile (tests): Add tst-stack4.
8205 (modules-names): Add tst-stack4mod.
8206 ($(objpfx)tst-stack4): New.
8207 (tst-stack4mod.sos): Likewise.
8208 ($(objpfx)tst-stack4.out): Likewise.
8209 ($(tst-stack4mod.sos)): Likewise.
8211 * nptl/tst-stack4.c: New file.
8212 * nptl/tst-stack4mod.c: Likewise.
8214 2014-11-27 J. Brown <jb999@gmx.de>
8216 * sysdeps/x86/bits/string.h: Add recent CPUs.
8218 2014-11-27 Joseph Myers <joseph@codesourcery.com>
8220 * misc/tst-pselect.c (do_test): Use sigprocmask instead of
8223 * libio/bug-ungetwc1.c (do_test): Verify results of getwc and
8226 * dlfcn/failtestmod.c (constr): Do not store result of dlsym in a
8229 2014-11-27 Stefan Liebler <stli@linux.vnet.ibm.com>
8231 * nscd/connections.c: Include libc-internal.h because of macro
8234 2014-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
8236 * string/bits/string3.h (__warn_memset_zero_len): Don't
8237 declare for gcc newer than 5.0.
8238 (memset): Don't test for zero-length __LEN for gcc newer than
8241 2014-11-27 Joseph Myers <joseph@codesourcery.com>
8243 * stdio-common/tst-fmemopen.c (do_test): Cast st_size values to
8244 size_t for %zu format.
8246 * nss/tst-nss-test1.c (do_test): Use %td printf format for pointer
8247 difference, not %ju.
8249 2014-11-26 Joseph Myers <joseph@codesourcery.com>
8251 * include/libc-internal.h (ignore_value): New macro.
8252 * nscd/connections.c (restart): Wrap calls to setuid and setgid
8255 * sysdeps/mips/__longjmp.c (____longjmp): Use prototype
8258 * nptl/tst-cancel-self-cancelstate.c (do_test): Cast argument of
8259 pthread_cleanup_push to void *.
8261 * sysdeps/unix/sysv/linux/arm/libc-do-syscall.S (_FORTIFY_SOURCE):
8266 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Use 1LL << 52
8267 instead of 1L << 52.
8269 * libio/bug-rewind.c (do_test): Check fwscanf return values.
8270 * libio/bug-rewind2.c (do_test): Likewise.
8272 * debug/test-stpcpy_chk-ifunc.c: Remove file.
8273 * debug/test-strcpy_chk-ifunc.c: Likewise.
8274 * wcsmbs/test-wcschr-ifunc.c: Likewise.
8275 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
8276 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
8277 * wcsmbs/test-wcslen-ifunc.c: Likewise.
8278 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
8279 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
8280 * Rules [$(multi-arch) = no] (tests): Do not filter out
8282 [$(multi-arch) = no] (xtests): Do not filter out $(xtests-ifunc).
8283 * debug/Makefile (tests-ifunc): Remove variable.
8284 (tests): Do not add $(tests-ifunc).
8285 * wcsmbs/Makefile (tests-ifunc): Remove variable.
8286 (tests): Do not add $(tests-ifunc).
8287 * benchtests/bench-string.h (TEST_IFUNC): Remove macro.
8288 [TEST_IFUNC]: Remove conditionals.
8289 * string/test-string.h (TEST_IFUNC): Remove macro.
8290 [TEST_IFUNC]: Remove conditionals.
8292 * string/test-strchr.c [!WIDE] (L): New macro.
8293 [WIDE] (L): Likewise.
8294 (check1): Use CHAR instead of char. Use L on string and character
8297 2014-11-26 Adhemerval Zanella <azanella@linux.ibm.com>
8299 * csu/tst-atomic.c (do_test): Add atomic_exchange_and_add_{acq,rel}
8301 * sysdeps/powerpc/bits/atomic.h
8302 (__arch_atomic_exchange_and_add_32_acq): Add definition.
8303 (__arch_atomic_exchange_and_add_32_rel): Likewise.
8304 (atomic_exchange_and_add_acq): Likewise.
8305 (atomic_exchange_and_add_rel): Likewise.
8306 * sysdeps/powerpc/powerpc32/bits/atomic.h
8307 (__arch_atomic_exchange_and_add_64_acq): Add definition.
8308 (__arch_atomic_exchange_and_add_64_rel): Likewise.
8309 * sysdeps/powerpc/powerpc64/bits/atomic.h
8310 (__arch_atomic_exchange_and_add_64_acq): Add definition.
8311 (__arch_atomic_exchange_and_add_64_rel): Likewise.
8313 2014-11-26 Torvald Riegel <triegel@redhat.com>
8315 * nptl/tpp.c (__init_sched_fifo_prio, __pthread_tpp_change_priority):
8316 Change synchronization of __sched_fifo_min_prio and
8317 __sched_fifo_max_prio.
8318 * nptl/pthread_mutexattr_getprioceiling.c
8319 (pthread_mutexattr_getprioceiling): Likewise.
8320 * nptl/pthread_mutexattr_setprioceiling.c
8321 (pthread_mutexattr_setprioceiling): Likewise.
8322 * nptl/pthread_mutex_init.c (__pthread_mutex_init): Likewise.
8323 * nptl/pthread_mutex_setprioceiling.c (pthread_mutex_setprioceiling):
8326 2014-11-26 Joseph Myers <joseph@codesourcery.com>
8328 * setjmp/jmpbug.c (test): Make foo volatile and cast it to
8331 2014-11-25 Joseph Myers <joseph@codesourcery.com>
8333 * stdio-common/tst-printf-round.c (test_hex_in_one_mode): Make
8334 third argument const.
8336 2014-11-25 Paul Eggert <eggert@cs.ucla.edu>
8338 fnmatch: work around GCC compiler warning bug with uninit var
8339 * posix/fnmatch_loop.c (FCT): Use a scalar not a one-item array.
8340 This works around a bug with x86-64 GCC 4.9.2 and earlier
8341 where 'gcc -O2 -Wmaybe-uninitialized' incorrectly complains
8342 "../locale/weightwc.h:93:7: warning: '*((void *)&str+4)' may be
8343 used uninitialized in this function [-Wmaybe-uninitialized]".
8345 2014-11-25 Joseph Myers <joseph@codesourcery.com>
8347 * posix/bug-regex31.c (main): Return RES not 0.
8349 2014-11-25 Anton Blanchard <anton@samba.org>
8351 * sysdeps/powerpc/bits/atomic.h
8352 (__arch_compare_and_exchange_bool_64_rel): Load from mem.
8354 2014-11-24 Sterling Augustine <saugustine@google.com>
8356 * sysdeps/x86_64/start.S (_start): Use ENTRY and END macros.
8358 2014-11-24 Ryan Cumming <etaoins@gmail.com>
8361 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_TAI.
8363 2014-11-24 Joseph Myers <joseph@codesourcery.com>
8366 * stdio-common/perror.c (perror): Call __fileno instead of fileno.
8367 * conform/Makefile (test-xfail-ISO/stdio.h/linknamespace): Remove
8369 (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
8370 (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
8372 2014-11-24 Wilco Dijkstra <wdijkstr@arm.com>
8374 * string/strncpy.c (strncpy): Improve performance by using memset.
8376 2014-11-24 Wilco Dijkstra <wdijkstr@arm.com>
8378 * string/strcpy.c (strcpy):
8379 Improve performance by using strlen and memcpy.
8381 2014-11-24 Leonhard Holz <leonhard.holz@web.de>
8383 * string/strcoll_l.c (get_next_seq): __always_inline.
8384 * string/strcoll_l.c (do_compare): __always_inline.
8386 2014-11-24 Siddhesh Poyarekar <siddhesh@redhat.com>
8388 * include/bits/stdlib-float.h: Use IS_IN only if _ISOMAC is
8390 * include/mqueue.h: Likewise.
8391 * include/stdlib.h: Likewise.
8393 * stdlib/isomac.c (fmt): Replace NOT_IN_libc with IN_MODULE.
8394 (get_null_defines): Adjust.
8395 * sunrpc/Makefile: Adjust comment.
8396 * Makerules (CPPFLAGS-nonlib): Remove NOT_IN_libc.
8397 * elf/Makefile (CPPFLAGS-sotruss-lib): Likewise.
8398 (CFLAGS-interp.c): Likewise.
8399 (CFLAGS-ldconfig.c): Likewise.
8400 (CPPFLAGS-.os): Likewise.
8401 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
8402 * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
8403 * extra-modules.mk (extra-modules.mk): Likewise.
8404 * iconv/Makefile (CPPFLAGS-iconvprogs): Likewise.
8405 * locale/Makefile (CPPFLAGS-locale_programs): Likewise.
8406 * malloc/Makefile (CPPFLAGS-memusagestat): Likewise.
8407 * nscd/Makefile (CPPFLAGS-nscd): Likewise.
8408 * nss/Makefile (CPPFLAGS-nss_test1): Likewise.
8409 * stdlib/Makefile (CFLAGS-tst-putenvmod.c): Likewise.
8410 * sysdeps/gnu/Makefile ($(objpfx)errlist-compat.c): Likewise.
8411 * sysdeps/unix/sysv/linux/Makefile (CPPFLAGS-lddlibc4): Likewise.
8412 * iconvdata/Makefile (CPPFLAGS): Likewise.
8413 (cpp-srcs-left): Add libof for all iconvdata routines.
8414 * bits/stdio-lock.h: Replace NOT_IN_libc with IS_IN.
8415 * include/assert.h: Likewise.
8416 * include/ctype.h: Likewise.
8417 * include/errno.h: Likewise.
8418 * include/libc-symbols.h: Likewise.
8419 * include/math.h: Likewise.
8420 * include/netdb.h: Likewise.
8421 * include/resolv.h: Likewise.
8422 * include/stdio.h: Likewise.
8423 * include/stdlib.h: Likewise.
8424 * include/string.h: Likewise.
8425 * include/sys/stat.h: Likewise.
8426 * include/wctype.h: Likewise.
8427 * intl/l10nflist.c: Likewise.
8428 * libidn/idn-stub.c: Likewise.
8429 * libio/libioP.h: Likewise.
8430 * nptl/libc_multiple_threads.c: Likewise.
8431 * nptl/pthreadP.h: Likewise.
8432 * posix/regex_internal.h: Likewise.
8433 * resolv/res_hconf.c: Likewise.
8434 * sysdeps/arm/armv7/multiarch/memcpy.S: Likewise.
8435 * sysdeps/arm/memmove.S: Likewise.
8436 * sysdeps/arm/sysdep.h: Likewise.
8437 * sysdeps/generic/_itoa.h: Likewise.
8438 * sysdeps/generic/symbol-hacks.h: Likewise.
8439 * sysdeps/gnu/errlist.awk: Likewise.
8440 * sysdeps/gnu/errlist.c: Likewise.
8441 * sysdeps/i386/i586/memcpy.S: Likewise.
8442 * sysdeps/i386/i586/memset.S: Likewise.
8443 * sysdeps/i386/i686/memcpy.S: Likewise.
8444 * sysdeps/i386/i686/memmove.S: Likewise.
8445 * sysdeps/i386/i686/mempcpy.S: Likewise.
8446 * sysdeps/i386/i686/memset.S: Likewise.
8447 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
8448 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
8449 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: Likewise.
8450 * sysdeps/i386/i686/multiarch/memchr-sse2.S: Likewise.
8451 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
8452 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
8453 * sysdeps/i386/i686/multiarch/memcmp-ssse3.S: Likewise.
8454 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
8455 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
8456 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
8457 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
8458 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
8459 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
8460 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
8461 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
8462 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
8463 * sysdeps/i386/i686/multiarch/memrchr-c.c: Likewise.
8464 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: Likewise.
8465 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: Likewise.
8466 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
8467 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
8468 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
8469 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
8470 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
8471 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
8472 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
8473 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: Likewise.
8474 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
8475 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Likewise.
8476 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
8477 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
8478 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
8479 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
8480 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
8481 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
8482 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
8483 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
8484 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
8485 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
8486 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
8487 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
8488 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
8489 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
8490 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
8491 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
8492 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
8493 * sysdeps/i386/i686/multiarch/wcschr-c.c: Likewise.
8494 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: Likewise.
8495 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
8496 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
8497 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
8498 * sysdeps/i386/i686/multiarch/wcscpy-c.c: Likewise.
8499 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Likewise.
8500 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
8501 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
8502 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: Likewise.
8503 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
8504 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: Likewise.
8505 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: Likewise.
8506 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
8507 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
8508 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
8509 * sysdeps/ia64/fpu/libm-symbols.h: Likewise.
8510 * sysdeps/nptl/bits/libc-lock.h: Likewise.
8511 * sysdeps/nptl/bits/libc-lockP.h: Likewise.
8512 * sysdeps/nptl/bits/stdio-lock.h: Likewise.
8513 * sysdeps/posix/closedir.c: Likewise.
8514 * sysdeps/posix/opendir.c: Likewise.
8515 * sysdeps/posix/readdir.c: Likewise.
8516 * sysdeps/posix/rewinddir.c: Likewise.
8517 * sysdeps/powerpc/novmx-sigjmp.c: Likewise.
8518 * sysdeps/powerpc/powerpc32/__longjmp.S: Likewise.
8519 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
8520 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
8521 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
8522 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Likewise.
8523 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Likewise.
8524 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: Likewise.
8525 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: Likewise.
8526 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: Likewise.
8527 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: Likewise.
8528 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: Likewise.
8529 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: Likewise.
8530 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: Likewise.
8531 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: Likewise.
8532 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: Likewise.
8533 * sysdeps/powerpc/powerpc32/power4/multiarch/memset.c: Likewise.
8534 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: Likewise.
8535 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: Likewise.
8536 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: Likewise.
8537 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr.c: Likewise.
8538 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: Likewise.
8539 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: Likewise.
8540 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: Likewise.
8541 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: Likewise.
8542 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: Likewise.
8543 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: Likewise.
8544 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: Likewise.
8545 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: Likewise.
8546 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: Likewise.
8547 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: Likewise.
8548 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: Likewise.
8549 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: Likewise.
8550 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: Likewise.
8551 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: Likewise.
8552 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Likewise.
8553 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
8554 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
8555 * sysdeps/powerpc/powerpc64/__longjmp.S: Likewise.
8556 * sysdeps/powerpc/powerpc64/multiarch/bzero.c: Likewise.
8557 * sysdeps/powerpc/powerpc64/multiarch/memchr.c: Likewise.
8558 * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: Likewise.
8559 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: Likewise.
8560 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: Likewise.
8561 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: Likewise.
8562 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Likewise.
8563 * sysdeps/powerpc/powerpc64/multiarch/memmove.c: Likewise.
8564 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: Likewise.
8565 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: Likewise.
8566 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: Likewise.
8567 * sysdeps/powerpc/powerpc64/multiarch/memset.c: Likewise.
8568 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: Likewise.
8569 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
8570 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Likewise.
8571 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: Likewise.
8572 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: Likewise.
8573 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: Likewise.
8574 * sysdeps/powerpc/powerpc64/multiarch/strcat.c: Likewise.
8575 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: Likewise.
8576 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: Likewise.
8577 * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: Likewise.
8578 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: Likewise.
8579 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
8580 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c: Likewise.
8581 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Likewise.
8582 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: Likewise.
8583 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: Likewise.
8584 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: Likewise.
8585 * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: Likewise.
8586 * sysdeps/powerpc/powerpc64/multiarch/strncat.c: Likewise.
8587 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: Likewise.
8588 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Likewise.
8589 * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: Likewise.
8590 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: Likewise.
8591 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: Likewise.
8592 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Likewise.
8593 * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: Likewise.
8594 * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: Likewise.
8595 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
8596 * sysdeps/powerpc/powerpc64/multiarch/strspn.c: Likewise.
8597 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c: Likewise.
8598 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
8599 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c: Likewise.
8600 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Likewise.
8601 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
8602 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Likewise.
8603 * sysdeps/s390/s390-32/multiarch/memcmp.S: Likewise.
8604 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
8605 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
8606 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
8607 * sysdeps/s390/s390-64/multiarch/memcmp.S: Likewise.
8608 * sysdeps/s390/s390-64/multiarch/memcpy.S: Likewise.
8609 * sysdeps/s390/s390-64/multiarch/memset.S: Likewise.
8610 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
8611 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
8612 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: Likewise.
8613 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
8614 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
8615 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Likewise.
8616 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: Likewise.
8617 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
8618 * sysdeps/unix/alpha/sysdep.S: Likewise.
8619 * sysdeps/unix/alpha/sysdep.h: Likewise.
8620 * sysdeps/unix/make-syscalls.sh: Likewise.
8621 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
8622 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
8623 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
8624 * sysdeps/unix/sysv/linux/alpha/vfork.S: Likewise.
8625 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
8626 * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
8627 * sysdeps/unix/sysv/linux/getpid.c: Likewise.
8628 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
8629 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
8630 * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Likewise.
8631 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
8632 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
8633 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
8634 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
8635 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
8636 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
8637 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
8638 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
8639 * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
8640 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
8641 * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
8642 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
8643 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
8644 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
8645 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
8646 * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
8647 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
8648 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
8649 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
8650 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: Likewise.
8651 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
8652 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
8653 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
8654 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
8655 * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
8656 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
8657 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
8658 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
8659 * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
8660 * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
8661 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
8662 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
8663 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
8664 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
8665 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
8666 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
8667 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
8668 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
8669 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
8670 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
8671 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
8672 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
8673 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
8674 * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
8675 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
8676 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
8677 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
8678 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
8679 * sysdeps/wordsize-32/symbol-hacks.h: Likewise.
8680 * sysdeps/x86_64/memcpy.S: Likewise.
8681 * sysdeps/x86_64/memmove.c: Likewise.
8682 * sysdeps/x86_64/memset.S: Likewise.
8683 * sysdeps/x86_64/multiarch/init-arch.h: Likewise.
8684 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
8685 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
8686 * sysdeps/x86_64/multiarch/memcmp.S: Likewise.
8687 * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: Likewise.
8688 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
8689 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
8690 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
8691 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
8692 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
8693 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
8694 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
8695 * sysdeps/x86_64/multiarch/memset-avx2.S: Likewise.
8696 * sysdeps/x86_64/multiarch/memset.S: Likewise.
8697 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
8698 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Likewise.
8699 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
8700 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
8701 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
8702 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
8703 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Likewise.
8704 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
8705 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
8706 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
8707 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
8708 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
8709 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
8710 * sysdeps/x86_64/multiarch/wcscpy-c.c: Likewise.
8711 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
8712 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
8713 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Likewise.
8714 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
8715 * sysdeps/x86_64/strcmp.S: Likewise.
8717 * extra-lib.mk (CPPFLAGS-$(lib)): Remove IS_IN_$(lib).
8719 * elf/Makefile (CPPFLAGS-.os): Remove IS_IN_rtld.
8720 * elf/dl-open.c: Use IS_IN (rtld) instead if IS_IN_rtld.
8721 * elf/rtld-Rules: Likewise.
8722 * elf/setup-vdso.h: Likewise.
8723 * include/assert.h: Likewise.
8724 * include/bits/stdlib-float.h: Likewise.
8725 * include/errno.h: Likewise.
8726 * include/sys/stat.h: Likewise.
8727 * include/unistd.h: Likewise.
8728 * sysdeps/aarch64/setjmp.S: Likewise.
8729 * sysdeps/alpha/setjmp.S: Likewise.
8730 * sysdeps/arm/__longjmp.S: Likewise.
8731 * sysdeps/arm/aeabi_unwind_cpp_pr1.c: Likewise.
8732 * sysdeps/arm/setjmp.S: Likewise.
8733 * sysdeps/arm/sysdep.h: Likewise.
8734 * sysdeps/generic/_itoa.h: Likewise.
8735 * sysdeps/generic/dl-sysdep.h: Likewise.
8736 * sysdeps/generic/ldsodefs.h: Likewise.
8737 * sysdeps/i386/dl-tls.h: Likewise.
8738 * sysdeps/i386/setjmp.S: Likewise.
8739 * sysdeps/m68k/setjmp.c: Likewise.
8740 * sysdeps/mach/hurd/dl-execstack.c: Likewise.
8741 * sysdeps/mach/hurd/opendir.c: Likewise.
8742 * sysdeps/posix/getcwd.c: Likewise.
8743 * sysdeps/posix/opendir.c: Likewise.
8744 * sysdeps/posix/profil.c: Likewise.
8745 * sysdeps/powerpc/dl-procinfo.h: Likewise.
8746 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
8747 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
8748 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
8749 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
8750 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Likewise.
8751 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
8752 * sysdeps/s390/dl-tls.h: Likewise.
8753 * sysdeps/s390/s390-32/setjmp.S: Likewise.
8754 * sysdeps/s390/s390-64/setjmp.S: Likewise.
8755 * sysdeps/sh/sh3/setjmp.S: Likewise.
8756 * sysdeps/sh/sh4/setjmp.S: Likewise.
8757 * sysdeps/unix/alpha/sysdep.h: Likewise.
8758 * sysdeps/unix/arm/sysdep.S: Likewise.
8759 * sysdeps/unix/i386/sysdep.S: Likewise.
8760 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
8761 * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
8762 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
8763 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
8764 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
8765 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
8766 * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
8767 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
8768 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
8769 * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
8770 * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
8771 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
8772 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
8773 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
8774 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
8775 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
8776 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
8777 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
8778 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
8779 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
8780 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
8781 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
8782 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
8783 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
8784 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
8785 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
8786 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
8787 * sysdeps/unix/x86_64/sysdep.S: Likewise.
8788 * sysdeps/x86_64/setjmp.S: Likewise.
8790 * include/math.h: Use IS_IN instead of IS_IN_libm.
8791 * sysdeps/alpha/fpu/s_copysign.c: Likewise.
8792 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
8793 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
8794 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
8795 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
8796 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
8797 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
8798 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
8799 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
8800 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
8801 * sysdeps/ieee754/ldbl-64-128/s_copysignl.c: Likewise.
8802 * sysdeps/ieee754/ldbl-64-128/s_finitel.c: Likewise.
8803 * sysdeps/ieee754/ldbl-64-128/s_frexpl.c: Likewise.
8804 * sysdeps/ieee754/ldbl-64-128/s_isinfl.c: Likewise.
8805 * sysdeps/ieee754/ldbl-64-128/s_isnanl.c: Likewise.
8806 * sysdeps/ieee754/ldbl-64-128/s_modfl.c: Likewise.
8807 * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c: Likewise.
8808 * sysdeps/ieee754/ldbl-64-128/s_signbitl.c: Likewise.
8809 * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Likewise.
8810 * sysdeps/ieee754/ldbl-opt/s_copysign.c: Likewise.
8811 * sysdeps/ieee754/ldbl-opt/s_finite.c: Likewise.
8812 * sysdeps/ieee754/ldbl-opt/s_frexp.c: Likewise.
8813 * sysdeps/ieee754/ldbl-opt/s_isinf.c: Likewise.
8814 * sysdeps/ieee754/ldbl-opt/s_isnan.c: Likewise.
8815 * sysdeps/ieee754/ldbl-opt/s_ldexp.c: Likewise.
8816 * sysdeps/ieee754/ldbl-opt/s_ldexpl.c: Likewise.
8817 * sysdeps/ieee754/ldbl-opt/s_modf.c: Likewise.
8818 * sysdeps/ieee754/ldbl-opt/s_scalbln.c: Likewise.
8819 * sysdeps/ieee754/ldbl-opt/s_scalbn.c: Likewise.
8820 * sysdeps/powerpc/power5+/fpu/s_modf.c: Likewise.
8821 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Likewise.
8822 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
8823 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
8824 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
8826 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c:
8828 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c:
8830 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c:
8832 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c:
8834 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
8835 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Likewise.
8836 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
8837 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
8838 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
8839 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
8840 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Likewise.
8841 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: Likewise.
8842 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: Likewise.
8843 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: Likewise.
8844 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: Likewise.
8845 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Likewise.
8846 * sysdeps/powerpc/powerpc64/fpu/s_copysignl.S: Likewise.
8847 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
8848 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
8849 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
8850 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
8851 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
8852 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
8853 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
8854 * sysdeps/powerpc/powerpc64/power7/fpu/s_isnan.S: Likewise.
8855 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: Likewise.
8856 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: Likewise.
8857 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: Likewise.
8858 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: Likewise.
8859 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
8860 * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S: Likewise.
8862 * nptl/lowlevellock.c: Use IS_IN instead of IS_IN_libpthread.
8863 * nptl/pthreadP.h: Likewise.
8864 * nptl_db/structs.def: Likewise.
8865 * sysdeps/arm/sysdep.h: Likewise.
8866 * sysdeps/nptl/bits/libc-lock.h: Likewise.
8867 * sysdeps/nptl/bits/libc-lockP.h: Likewise.
8868 * sysdeps/sparc/sparc32/lowlevellock.c: Likewise.
8869 * sysdeps/unix/alpha/sysdep.h: Likewise.
8870 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
8871 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
8872 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
8873 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
8874 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
8875 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
8876 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
8877 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
8878 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
8879 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
8880 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
8881 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
8882 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
8883 * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
8884 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
8885 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
8886 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
8887 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
8888 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
8889 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
8890 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
8891 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
8892 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
8893 * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
8894 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: Likewise.
8895 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
8897 * include/mqueue.h: Use IS_IN instead of IS_IN_librt.
8898 * nptl/pthreadP.h: Likewise.
8899 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
8900 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
8901 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
8902 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
8903 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
8904 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
8905 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
8906 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
8907 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
8908 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
8909 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
8910 * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
8911 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
8913 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
8915 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
8916 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
8917 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
8918 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
8919 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
8920 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
8921 * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
8922 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
8924 * dlfcn/dladdr.c: Use IS_IN.
8925 * dlfcn/dladdr1.c: Likewise.
8926 * dlfcn/dlclose.c: Likewise.
8927 * dlfcn/dlerror.c: Likewise.
8928 * dlfcn/dlinfo.c: Likewise.
8929 * dlfcn/dlmopen.c: Likewise.
8930 * dlfcn/dlopen.c: Likewise.
8931 * dlfcn/dlsym.c: Likewise.
8932 * dlfcn/dlvsym.c: Likewise.
8934 * include/ifaddrs.h: Use IS_IN.
8935 * inet/check_pf.c: Likewise.
8936 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
8937 * nscd/Makefile (CPPFLAGS-nscd): Remove IS_IN_nscd.
8939 * elf/Makefile (CFLAGS-ldconfig.c): Remove definition of
8941 * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Use IS_IN.
8942 * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.h: Likewise.
8944 * include/shlib-compat.h [!NOT_IN_libc]: Remove.
8945 * nss/nss_files/files-parse.c (IS_IN_libc): Replace with
8948 * elf/Makefile (libof-sotruss-lib): Set as extramodules.
8950 * elf/Makefile (CPPFLAGS-.os): Remove IN_LIB.
8951 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
8952 * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
8953 * include/libc-symbols.h (IS_IN_LIB): New macro.
8954 * include/errno.h: Use IS_IN_LIB instead of IN_LIB.
8955 * include/netdb.h: Likewise.
8956 * include/stap-probe.h: Remove all uses of IN_LIB.
8958 * Makeconfig (module-cppflags-real): Define MODULE_NAME
8959 instead of IN_MODULE.
8960 * include/libc-symbols.h (IN_MODULE): Define using
8962 (PASTE_NAME, PASTE_NAME1): New macros.
8963 * include/stap-probe.h (LIBC_PROBE_1): Use MODULE_NAME instead
8965 (STAP_PROBE_ASM): Likewise.
8967 2014-11-23 Samuel Thibault <samuel.thibault@ens-lyon.org>
8969 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Call
8970 __mach_init in dlopened libc.
8972 2014-11-22 Mike Frysinger <vapier@gentoo.org>
8974 * sysdeps/arm/preconfigure.ac: Delete EABI check.
8975 * sysdeps/arm/preconfigure: Regenerate.
8977 2014-11-21 Roland McGrath <roland@hack.frob.com>
8979 * nptl/pthread_create.c (__pthread_create_2_1): Set
8980 ATTR_FLAG_POLICY_SET and/or ATTR_FLAG_SCHED_SET in PD->flags
8981 when copying values from IATTR into PD.
8983 2014-11-21 Will Newton <will.newton@linaro.org>
8984 Andrew Pinski <andrew.pinski@caviumnetworks.com>
8986 * sysdeps/aarch64/dl-machine.h (elf_machine_load_address):
8987 Refactor inline-asm. Also add comment.
8989 * sysdeps/aarch64/bits/link.h (la_aarch64_gnu_pltenter): Use
8990 ElfW macro instead of hardcoded Elf64 types.
8991 (la_aarch64_gnu_pltenter): Likewise.
8992 * sysdeps/aarch64/dl-machine.h
8993 (elf_machine_runtime_setup): Use ElfW(Addr).
8995 * elf/elf.h (R_AARCH64_P32_ABS32, R_AARCH64_P32_COPY,
8996 R_AARCH64_P32_GLOB_DAT, R_AARCH64_P32_JUMP_SLOT,
8997 R_AARCH64_P32_RELATIVE, R_AARCH64_P32_TLS_DTPMOD,
8998 R_AARCH64_P32_TLS_DTPREL, R_AARCH64_P32_TLS_TPREL,
8999 R_AARCH64_P32_TLSDESC, R_AARCH64_P32_IRELATIVE): Define.
9000 (R_AARCH64_TLS_DTPMOD64): Rename to ..
9001 (R_AARCH64_TLS_DTPMOD): This.
9002 (R_AARCH64_TLS_DTPREL64): Rename to ...
9003 (R_AARCH64_TLS_DTPREL): This.
9004 (R_AARCH64_TLS_TPREL64): Rename to ...
9005 (R_AARCH64_TLS_TPREL): This.
9006 * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Update
9007 R_AARCH64_TLS_DTPMOD64, R_AARCH64_TLS_DTPREL64, and
9008 R_AARCH64_TLS_TPREL64.
9009 (elf_machine_rela): Likewise.
9011 2014-11-21 Torvald Riegel <triegel@redhat.com>
9013 * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS): Fix value
9014 by setting it to 0. 64b atomics are not supported currently.
9016 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
9019 * resolv/res_query.c (__libc_res_nsearch): Skip leading dot in
9020 search domain names.
9022 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
9026 * resolv/res_query.c (__libc_res_nquerydomain): Retain
9028 * posix/tst-getaddrinfo5.c: New.
9029 * posix/Makefile (tests): Add it.
9031 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
9035 * nss/nss_db/db-XXX.c (_nss_db_get##name##_r): Update hidx
9036 after parsing line but before break_if_match.
9037 * nss/nss_files/files-service (DB_LOOKUP): Don't "continue;"
9038 if there is a protocol mismatch.
9040 2014-11-21 Ma Shimiao <mashimiao.fnst@cn.fujitsu.com>
9042 * manual/sysinfo.texi (addmntent): It is actually MT-Safe,
9043 because the potential race is on the user-supplied stream.
9045 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
9047 * sysdeps/posix/ctermid.c (ctermid): Return a pointer to a
9048 string literal if not passed a buffer.
9049 * manual/job.texi (ctermid): Update reasoning, note deviation
9050 from posix, suggest mtasurace when not passed a buffer, for
9051 future non-preliminary safety notes.
9053 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
9055 * manual/users.texi (cuserid): Fix MT-Safety note for the case
9056 of not passing it a buffer.
9057 Reported by Peng Haitao.
9059 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
9061 * manual/Makefile ($(objpfx)stamp-summary): Require
9062 check-safety.sh to pass.
9063 * manual/check-safety.sh: Wish for verification that every
9064 @deftypefn and @deftypefun is followed by a @safety remark.
9066 2014-11-20 Roland McGrath <roland@hack.frob.com>
9068 * nptl/unwind.c (unwind_cleanup): Use __libc_fatal.
9070 * nptl/pthread_setcanceltype.c [!SIGCANCEL]: Return ENOTSUP early for
9071 PTHREAD_CANCEL_ASYNCHRONOUS.
9072 * nptl/pthread_cancel.c [!SIGCANCEL]: Just abort rather than trying to
9075 * nptl/default-sched.h: New file.
9076 * sysdeps/unix/sysv/linux/default-sched.h: New file.
9077 * nptl/pthread_create.c: Include it.
9078 (__pthread_create_2_1): Use collect_default_sched instead of making
9079 Linux syscalls here directly.
9081 2014-11-20 Torvald Riegel <triegel@redhat.com>
9083 * nptl/pthread_once.c (clear_once_control, __pthread_once_slow,
9084 __pthread_once): Use C11 atomics.
9086 2014-11-20 Torvald Riegel <triegel@redhat.com>
9088 * csu/tst-atomic.c (do_test): Add tests for C11-like atomics.
9090 2014-11-20 Torvald Riegel <triegel@redhat.com>
9092 * include/atomic.h (__atomic_link_error, __atomic_check_size,
9093 atomic_thread_fence_acquire, atomic_thread_fence_release,
9094 atomic_thread_fence_seq_cst, atomic_load_relaxed,
9095 atomic_load_acquire, atomic_store_relaxed, atomic_store_release,
9096 atomic_compare_exchange_weak_relaxed,
9097 atomic_compare_exchange_weak_acquire,
9098 atomic_compare_exchange_weak_release,
9099 atomic_exchange_acquire, atomic_exchange_release,
9100 atomic_fetch_add_relaxed, atomic_fetch_add_acquire,
9101 atomic_fetch_add_release, atomic_fetch_add_acq_rel,
9102 atomic_fetch_and_acquire,
9103 atomic_fetch_or_relaxed, atomic_fetch_or_acquire): New.
9105 2014-11-20 Torvald Riegel <triegel@redhat.com>
9107 * sysdeps/aarch64/bits/atomic.h (__HAVE_64B_ATOMICS,
9108 USE_ATOMIC_COMPILER_BUILTINS): Define.
9109 * sysdeps/alpha/bits/atomic.h (__HAVE_64B_ATOMICS,
9110 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
9111 * sysdeps/arm/bits/atomic.h (__HAVE_64B_ATOMICS,
9112 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
9113 * sysdeps/i386/i486/bits/atomic.h (__HAVE_64B_ATOMICS,
9114 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
9115 * sysdeps/ia64/bits/atomic.h (__HAVE_64B_ATOMICS,
9116 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
9117 * sysdeps/m68k/coldfire/bits/atomic.h (__HAVE_64B_ATOMICS,
9118 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
9119 * sysdeps/m68k/m680x0/m68020/bits/atomic.h (__HAVE_64B_ATOMICS,
9120 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
9121 * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS,
9122 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
9123 * sysdeps/mips/bits/atomic.h (__HAVE_64B_ATOMICS,
9124 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
9125 * sysdeps/powerpc/powerpc32/bits/atomic.h (__HAVE_64B_ATOMICS,
9126 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
9127 * sysdeps/powerpc/powerpc64/bits/atomic.h (__HAVE_64B_ATOMICS,
9128 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
9129 * sysdeps/s390/bits/atomic.h (__HAVE_64B_ATOMICS,
9130 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
9131 * sysdeps/sparc/sparc32/bits/atomic.h (__HAVE_64B_ATOMICS,
9132 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
9133 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (__HAVE_64B_ATOMICS,
9134 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
9135 * sysdeps/sparc/sparc64/bits/atomic.h (__HAVE_64B_ATOMICS,
9136 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
9137 * sysdeps/tile/tilegx/bits/atomic.h (__HAVE_64B_ATOMICS,
9138 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
9139 * sysdeps/tile/tilepro/bits/atomic.h (__HAVE_64B_ATOMICS,
9140 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
9141 * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (__HAVE_64B_ATOMICS,
9142 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
9143 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
9144 (__HAVE_64B_ATOMICS, USE_ATOMIC_COMPILER_BUILTINS): Likewise.
9145 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (__HAVE_64B_ATOMICS,
9146 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
9147 * sysdeps/x86_64/bits/atomic.h (__HAVE_64B_ATOMICS,
9148 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
9150 2014-11-19 Roland McGrath <roland@hack.frob.com>
9152 * nptl/pthread_create.c (__pthread_create_2_1): Don't try to validate
9153 the sched_priority value here. It was already checked when the user
9154 called pthread_attr_setschedparam.
9156 * nptl/tst-bad-schedattr.c: New file.
9157 * nptl/Makefile (tests): Add it.
9159 2014-11-19 Carlos O'Donell <carlos@redhat.com>
9160 Florian Weimer <fweimer@redhat.com>
9161 Joseph Myers <joseph@codesourcery.com>
9162 Adam Conrad <adconrad@0c3.net>
9163 Andreas Schwab <schwab@suse.de>
9164 Brooks <bmoses@google.com>
9167 * wordexp-test.c (__dso_handle): Add prototype.
9168 (__register_atfork): Likewise.
9169 (__app_register_atfork): New function.
9170 (registered_forks): New global.
9171 (register_fork): New function.
9172 (test_case): Add 3 new tests for WRDE_CMDSUB.
9173 (main): Call __app_register_atfork.
9174 (testit): If WRDE_NOCMD set registered_forks to zero, run test, and if
9175 fork count is non-zero fail the test.
9176 * posix/wordexp.c (exec_comm): Return WRDE_CMDSUB if WRDE_NOCMD flag
9178 (parse_dollars): Remove check for WRDE_NOCMD.
9179 (parse_dquote): Likewise.
9181 2014-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
9183 * Makeconfig (built-modules): List non-library modules to be
9185 (module-cppflags): Include libc-modules.h for
9186 everything except shlib-versions.v.i.
9188 (before-compile): Add libc-modules.h.
9189 ($(common-objpfx)libc-modules.h,
9190 $(common-objpfx)libc-modules.stmp): New targets.
9191 (common-generated): Add libc-modules.h and libc-modules.stmp.
9192 ($(common-objpfx)Versions.v.i): Depend on libc-modules.h.
9193 * include/libc-symbols.h: Don't include libc-modules.h.
9194 * include/libc-modules.h: Remove file.
9195 * scripts/gen-libc-modules.awk: New script to generate
9197 * sysdeps/unix/Makefile ($(common-objpfx)sysd-syscalls):
9198 Depend on libc-modules.stmp.
9200 * include/shlib-compat.h (_SHLIB_COMPAT): Use IS_IN.
9202 * Makeconfig (in-module): Get value of libof set for the
9204 (CPPFLAGS): Use $(in-module).
9205 * Makerules: Don't suffix routine names for nonlib.
9206 * include/libc-modules.h: New file.
9207 * include/libc-symbols.h: Include libc-modules.h
9208 (IS_IN): New macro to replace IS_IN_* macros.
9209 * elf/Makefile: Set libof-* for each routine.
9210 * elf/rtld-Rules: Likewise.
9211 * extra-modules.mk: Likewise.
9212 * iconv/Makefile: Likewise.
9213 * iconvdata/Makefile: Likewise.
9214 * locale/Makefile: Likewise.
9215 * malloc/Makefile: Likewise.
9216 * nss/Makefile: Likewise.
9217 * sysdeps/gnu/Makefile: Likewise.
9218 * sysdeps/ieee754/ldbl-opt/Makefile: Likewise.
9219 * sysdeps/unix/sysv/linux/Makefile: Likewise.
9220 * sysdeps/s390/s390-64/Makefile: Likewise.
9221 * nscd/Makefile: Set libof-* for each routine. Set CFLAGS and
9222 CPPFLAGS for nscd instead of nonlib.
9224 2014-11-18 Roland McGrath <roland@hack.frob.com>
9226 * nptl/createthread.c: New file.
9228 * nptl/createthread.c: Moved ...
9229 * sysdeps/unix/sysv/linux/createthread.c: ... here.
9231 * nptl/createthread.c: Add proper top-line comment.
9232 (do_clone): Folded into ...
9233 (create_thread): ... here. Take new arguments STOPPED_START and
9234 THREAD_RAN. Always set PD->stopped_start to something here. Don't
9235 increment __nptl_threads, do event-reporting logic, do
9236 CHECK_THREAD_SYSINFO, or set THREAD_SELF->header.multiple_threads
9237 here. Set *THREAD_RAN after ARCH_CLONE call succeeds. Don't do any
9238 resource cleanup if sched_setaffinity or sched_setscheduler fails,
9239 just send SIGCANCEL.
9240 * nptl/pthread_create.c: Forward-declare create_thread before
9241 including createthread.c.
9242 (start_thread): Use new macro START_THREAD_DEFN to replace defining
9243 declaration, and new macro START_THREAD_SELF to replace argument.
9244 Remove return statement.
9245 (report_thread_creation): New function.
9246 (__pthread_create_2_1): Use it. Do TD_CREATE reporting,
9247 synchronization logic, and __nptl_nthreads increment here, around
9248 calling create_thread. Do CHECK_THREAD_SYSINFO and initialize
9249 PD->parent_cancelhandling here, before create_thread. When
9250 create_thread fails, do __nptl_nthreads decrement, setxid_futex wake,
9251 __deallocate_stack, and ENOMEM translation here.
9253 2014-11-18 Joseph Myers <joseph@codesourcery.com>
9256 * sysdeps/ieee754/dbl-64/mpa.c (mpone): Rename to __mpone.
9257 (mptwo): Rename to __mptwo.
9258 (__inv): Use __mptwo instead of mptwo.
9259 * sysdeps/ieee754/dbl-64/mpa.h (mpone): Rename to __mpone.
9260 (mptwo): Rename to __mptwo.
9261 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __mpone instead
9262 of mpone and __mptwo instead of mptwo.
9263 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Use __mpone
9265 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
9266 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Likewise.
9267 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use __mpone instead
9268 of mpone and __mptwo instead of mptwo.
9269 (__mpranred): Use __mpone instead of mpone.
9270 * conform/Makefile (test-xfail-ISO/math.h/linknamespace): Remove
9272 (test-xfail-ISO99/complex.h/linknamespace): Likewise.
9273 (test-xfail-ISO99/math.h/linknamespace): Likewise.
9274 (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
9275 (test-xfail-ISO11/complex.h/linknamespace): Likewise.
9276 (test-xfail-ISO11/math.h/linknamespace): Likewise.
9277 (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
9278 (test-xfail-XPG3/math.h/linknamespace): Likewise.
9279 (test-xfail-XPG4/math.h/linknamespace): Likewise.
9280 (test-xfail-POSIX/math.h/linknamespace): Likewise.
9281 (test-xfail-UNIX98/math.h/linknamespace): Likewise.
9282 (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
9283 (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
9284 (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
9285 (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
9286 (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
9287 (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
9288 (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
9289 (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
9290 (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
9292 2014-11-18 Tom de Vries <tom@codesoucery.com>
9294 * manual/signal.texi (Primitives Interrupted by Signals): In section,
9295 replace BSD Handler xref with BSD Signal Handling.
9297 2014-11-17 Richard Henderson <rth@redhat.com>
9299 * sysdeps/alpha/soft-fp/local-soft-fp.h (_FP_UNPACK_RAW_2): Remove.
9300 (_FP_PACK_RAW_2): Remove.
9301 (AXP_DECL_RETURN_Q): Rename from FP_DECL_RETURN, use _FP_UNION_Q.
9302 (AXP_RETURN_Q): Rename from FP_RETURN, use _FP_UNION_Q.
9303 (AXP_UNPACK_RAW_Q, AXP_UNPACK_SEMIRAW_Q, AXP_UNPACK_Q): New.
9304 (AXP_PACK_RAW_Q, AXP_PACK_SEMIRAW_Q, AXP_PACK_Q): New.
9305 * sysdeps/alpha/soft-fp/ots_add.c (_OtsAddX): Update to match.
9306 * sysdeps/alpha/soft-fp/ots_cmp.c (internal_equality): Likewise.
9307 * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Likewise.
9308 * sysdeps/alpha/soft-fp/ots_cvtqux.c (_OtsCvtQUX): Likewise.
9309 * sysdeps/alpha/soft-fp/ots_cvtqx.c (_OtsCvtQX): Likewise.
9310 * sysdeps/alpha/soft-fp/ots_cvttx.c (_OtsConvertFloatTX): Likewise.
9311 * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Likewise.
9312 * sysdeps/alpha/soft-fp/ots_cvtxt.c (_OtsConvertFloatXT): Likewise.
9313 * sysdeps/alpha/soft-fp/ots_div.c (_OtsDivX): Likewise.
9314 * sysdeps/alpha/soft-fp/ots_mul.c (_OtsMulX): Likewise.
9315 * sysdeps/alpha/soft-fp/ots_nintxq.c (_OtsNintXQ): Likewise.
9316 * sysdeps/alpha/soft-fp/ots_sub.c (_OtsSubX): Likewise.
9318 2014-11-14 Roland McGrath <roland@hack.frob.com>
9320 * signal/signal.h [__USE_MISC]
9321 (struct sigvec): Remove type.
9322 (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): Remove macros.
9323 (sigvec): Remove declaration.
9324 * sysdeps/posix/sigvec.c: Moved ...
9325 * signal/sigvec.c: ... here, replacing old file.
9326 (struct sigvec): New type, copied from old signal.h definition.
9327 (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): New macros, likewise copied.
9328 (__sigvec): Convert definition to prototype.
9329 (sigvec): Replace weak_alias with compat_symbol.
9330 * signal/Versions (libc: GLIBC_2.21): New version set.
9331 * include/signal.h: Remove __sigvec declaration.
9332 * sysdeps/unix/bsd/sigvec.c: Remove file.
9333 * sysdeps/unix/bsd/syscalls.list: Remove sigvec.
9334 * manual/signal.texi (BSD Handler): Remove subsection.
9335 Move siginterrupt up to ...
9336 (BSD Signal Handling): ... here. Mark it as XPG rather than BSD.
9337 (Blocking in BSD): Fold subsection into its parent.
9338 * NEWS: Mention sigvec removal.
9340 2014-11-14 Joseph Myers <joseph@codesourcery.com>
9342 * sysdeps/x86_64/fpu/dla.h [__FMA4__ && __GNUC_PREREQ (4, 6)]
9343 (DLA_FMS): Make definition conditional only on [__FMA4__].
9344 [__FMA4__ && !__GNUC_PREREQ (4, 6)] (DLA_FMS): Remove conditional
9347 * sysdeps/arm/sysdep.h [PROF && __GNUC_PREREQ(4,4)] (CALL_MCOUNT):
9348 Make definition conditional only on [PROF].
9349 [PROF && !__GNUC_PREREQ(4,4)] (CALL_MCOUNT): Remove conditional
9351 [__GNUC_PREREQ(4,4)] (mcount): Make definition unconditional.
9352 [!__GNUC_PREREQ(4,4)] (mcount): Remove conditional definition.
9354 * signal/signal.h (__sigpause): Only declare if [__USE_XOPEN &&
9356 * include/signal.h (__sigpause): Move declaration above call to
9358 * conform/Makefile (test-xfail-ISO/signal.h/linknamespace): Remove
9360 (test-xfail-ISO99/signal.h/linknamespace): Likewise.
9361 (test-xfail-ISO11/signal.h/linknamespace): Likewise.
9363 2014-11-14 David S. Miller <davem@davemloft.net>
9365 * sysdeps/sparc/sparc64/rtld-memcpy.c (NO_MEMPCPY_STPCPY_REDIRECT):
9366 Define before including <string/memcpy.c> and <string/mempcpy.c>.
9368 2014-11-14 Joseph Myers <joseph@codesourcery.com>
9370 * configure.ac (libc_cv_compiler_ok): Require GCC 4.6 or later.
9371 * configure: Regenerated.
9372 * manual/install.texi (Tools for Compilation): Document a
9373 requirement of GCC 4.6 or later and that GCC 4.9 is the newest
9374 compiler verified to work.
9375 * INSTALL: Regenerated.
9377 * include/string.h [NO_MEMPCPY_STPCPY_REDIRECT] (mempcpy): Do not
9378 redeclare with asm name.
9379 [NO_MEMPCPY_STPCPY_REDIRECT] (stpcpy): Likewise.
9380 * string/mempcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Define before
9381 including <string.h>.
9382 * string/stpcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
9383 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c
9384 [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
9385 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c
9386 [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
9387 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
9388 [SHARED && !NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
9390 2014-11-13 Joseph Myers <joseph@codesourcery.com>
9392 * stdlib/strtol.c (__strtol): Use prototype definition.
9395 * stdlib/strtol.c (SYM__): New macro.
9397 (__strtol): Likewise.
9398 (strtol): Rename to __strtol and define as weak alias of
9399 __strtol. Use libc_hidden_weak.
9401 2014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
9403 * sysdeps/s390/s390-32/dl-machine.h (RTLD_START):
9404 Use numbered labels in inline assembly.
9406 2014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
9408 * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp):
9409 Add setjmp LIBC_PROBE.
9410 * sysdeps/s390/s390-64/setjmp.S (__sigsetjmp):
9412 * sysdeps/s390/s390-32/__longjmp.c (__longjmp):
9413 Add longjmp, longjmp_target LIBC_PROBE.
9414 * sysdeps/s390/s390-64/__longjmp.c (__longjmp):
9417 2014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
9419 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
9420 Gate the definition of refsym additionally with !RTLD_BOOTSTRAP
9421 to get rid of unused variable warning.
9423 2014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
9425 * sysdeps/s390/s390-32/backtrace.c (__backtrace):
9426 Check for unwind_backtrace == NULL only in SHARED case.
9427 (__backchain_backtrace): Compile only in SHARED case.
9428 * sysdeps/s390/s390-64/backtrace.c (__backtrace):
9430 (__backchain_backtrace): Declare as static.
9432 2014-11-12 Roland McGrath <roland@hack.frob.com>
9434 * nptl/createthread.c [!TLS_MULTIPLE_THREADS_IN_TCB]
9435 (__libc_multiple_threads_ptr): Variable moved ...
9436 * nptl/nptl-init.c [!TLS_MULTIPLE_THREADS_IN_TCB]: ... here.
9438 2014-11-12 Joseph Myers <joseph@codesourcery.com>
9440 * conform/GlibcConform.pm: New file.
9441 * conform/conformtest.pl: Use GlibcConform module.
9442 * conform/linknamespace.pl: New file.
9443 * conform/list-header-symbols.pl: Likewise.
9444 * conform/Makefile (linknamespace-symlists-base): New variable.
9445 (linknamespace-symlists-tests): Likewise.
9446 (linknamespace-header-base): Likewise.
9447 (linknamespace-header-tests): Likewise.
9448 (tests-special): Add new tests.
9449 ($(linknamespace-symlists-tests)): New rule.
9450 (linknamespace-libs): New variable.
9451 ($(objpfx)symlist-stdlibs): New rule.
9452 ($(linknamespace-header-tests)): Likewise.
9453 (test-xfail-XPG3/varargs.h/linknamespace): New variable.
9454 (test-xfail-XPG4/varargs.h/linknamespace): Likewise.
9455 (test-xfail-UNIX98/varargs.h/linknamespace): Likewise.
9456 (test-xfail-XPG4/ndbm.h/linknamespace): Likewise.
9457 (test-xfail-UNIX98/ndbm.h/linknamespace): Likewise.
9458 (test-xfail-XOPEN2K/ndbm.h/linknamespace): Likewise.
9459 (test-xfail-XOPEN2K8/ndbm.h/linknamespace): Likewise.
9460 (test-xfail-ISO/math.h/linknamespace): Likewise.
9461 (test-xfail-ISO/signal.h/linknamespace): Likewise.
9462 (test-xfail-ISO/stdio.h/linknamespace): Likewise.
9463 (test-xfail-ISO/time.h/linknamespace): Likewise.
9464 (test-xfail-ISO99/complex.h/linknamespace): Likewise.
9465 (test-xfail-ISO99/ctype.h/linknamespace): Likewise.
9466 (test-xfail-ISO99/math.h/linknamespace): Likewise.
9467 (test-xfail-ISO99/signal.h/linknamespace): Likewise.
9468 (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
9469 (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
9470 (test-xfail-ISO11/complex.h/linknamespace): Likewise.
9471 (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
9472 (test-xfail-ISO11/math.h/linknamespace): Likewise.
9473 (test-xfail-ISO11/signal.h/linknamespace): Likewise.
9474 (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
9475 (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
9476 (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
9477 (test-xfail-XPG3/fnmatch.h/linknamespace): Likewise.
9478 (test-xfail-XPG3/glob.h/linknamespace): Likewise.
9479 (test-xfail-XPG3/math.h/linknamespace): Likewise.
9480 (test-xfail-XPG3/regex.h/linknamespace): Likewise.
9481 (test-xfail-XPG3/search.h/linknamespace): Likewise.
9482 (test-xfail-XPG3/stdio.h/linknamespace): Likewise.
9483 (test-xfail-XPG3/time.h/linknamespace): Likewise.
9484 (test-xfail-XPG3/unistd.h/linknamespace): Likewise.
9485 (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
9486 (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
9487 (test-xfail-XPG4/fmtmsg.h/linknamespace): Likewise.
9488 (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
9489 (test-xfail-XPG4/glob.h/linknamespace): Likewise.
9490 (test-xfail-XPG4/grp.h/linknamespace): Likewise.
9491 (test-xfail-XPG4/libgen.h/linknamespace): Likewise.
9492 (test-xfail-XPG4/math.h/linknamespace): Likewise.
9493 (test-xfail-XPG4/netdb.h/linknamespace): Likewise.
9494 (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
9495 (test-xfail-XPG4/regex.h/linknamespace): Likewise.
9496 (test-xfail-XPG4/search.h/linknamespace): Likewise.
9497 (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
9498 (test-xfail-XPG4/stdlib.h/linknamespace): Likewise.
9499 (test-xfail-XPG4/sys/mman.h/linknamespace): Likewise.
9500 (test-xfail-XPG4/sys/statvfs.h/linknamespace): Likewise.
9501 (test-xfail-XPG4/syslog.h/linknamespace): Likewise.
9502 (test-xfail-XPG4/time.h/linknamespace): Likewise.
9503 (test-xfail-XPG4/unistd.h/linknamespace): Likewise.
9504 (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
9505 (test-xfail-POSIX/aio.h/linknamespace): Likewise.
9506 (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
9507 (test-xfail-POSIX/glob.h/linknamespace): Likewise.
9508 (test-xfail-POSIX/math.h/linknamespace): Likewise.
9509 (test-xfail-POSIX/mqueue.h/linknamespace): Likewise.
9510 (test-xfail-POSIX/pthread.h/linknamespace): Likewise.
9511 (test-xfail-POSIX/regex.h/linknamespace): Likewise.
9512 (test-xfail-POSIX/sched.h/linknamespace): Likewise.
9513 (test-xfail-POSIX/semaphore.h/linknamespace): Likewise.
9514 (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
9515 (test-xfail-POSIX/time.h/linknamespace): Likewise.
9516 (test-xfail-POSIX/unistd.h/linknamespace): Likewise.
9517 (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
9518 (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
9519 (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
9520 (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
9521 (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
9522 (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
9523 (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
9524 (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
9525 (test-xfail-UNIX98/math.h/linknamespace): Likewise.
9526 (test-xfail-UNIX98/mqueue.h/linknamespace): Likewise.
9527 (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
9528 (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
9529 (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
9530 (test-xfail-UNIX98/regex.h/linknamespace): Likewise.
9531 (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
9532 (test-xfail-UNIX98/search.h/linknamespace): Likewise.
9533 (test-xfail-UNIX98/semaphore.h/linknamespace): Likewise.
9534 (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
9535 (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
9536 (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
9537 (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
9538 (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
9539 (test-xfail-UNIX98/time.h/linknamespace): Likewise.
9540 (test-xfail-UNIX98/unistd.h/linknamespace): Likewise.
9541 (test-xfail-UNIX98/wchar.h/linknamespace): Likewise.
9542 (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
9543 (test-xfail-XOPEN2K/aio.h/linknamespace): Likewise.
9544 (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
9545 (test-xfail-XOPEN2K/fcntl.h/linknamespace): Likewise.
9546 (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
9547 (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
9548 (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
9549 (test-xfail-XOPEN2K/grp.h/linknamespace): Likewise.
9550 (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
9551 (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
9552 (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
9553 (test-xfail-XOPEN2K/net/if.h/linknamespace): Likewise.
9554 (test-xfail-XOPEN2K/netdb.h/linknamespace): Likewise.
9555 (test-xfail-XOPEN2K/pthread.h/linknamespace): Likewise.
9556 (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
9557 (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
9558 (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
9559 (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
9560 (test-xfail-XOPEN2K/signal.h/linknamespace): Likewise.
9561 (test-xfail-XOPEN2K/spawn.h/linknamespace): Likewise.
9562 (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
9563 (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
9564 (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
9565 (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
9566 (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
9567 (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
9568 (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
9569 (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
9570 (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
9571 (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
9572 (test-xfail-POSIX2008/aio.h/linknamespace): Likewise.
9573 (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
9574 (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
9575 (test-xfail-POSIX2008/dirent.h/linknamespace): Likewise.
9576 (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
9577 (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
9578 (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
9579 (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
9580 (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
9581 (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
9582 (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
9583 (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
9584 (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
9585 (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
9586 (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
9587 (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
9588 (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
9589 (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
9590 (test-xfail-POSIX2008/unistd.h/linknamespace): Likewise.
9591 (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
9592 (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
9593 (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
9594 (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
9595 (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
9596 (test-xfail-XOPEN2K8/grp.h/linknamespace): Likewise.
9597 (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
9598 (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
9599 (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
9600 (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
9601 (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
9602 (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
9603 (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
9604 (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
9605 (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
9606 (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
9607 (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
9608 (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
9609 (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
9610 (test-xfail-XOPEN2K8/syslog.h/linknamespace): Likewise.
9611 (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
9612 (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
9613 (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
9616 * intl/localealias.c [_LIBC] (FGETS): Use __fgets_unlocked instead
9620 * string/memmem.c [!_LIBC] (__memmem): Define to memmem.
9621 (memmem): Rename to __memmem and define as weak alias of
9622 __memmem. Use libc_hidden_weak.
9623 (__memmem): Use libc_hidden_def.
9624 * include/string.h (__memmem): Declare. Use libc_hidden_proto.
9625 * locale/findlocale.c (valid_locale_name): Use __memmem instead of
9629 * libio/iofgets.c [weak_alias && !_IO_MTSAFE_IO]
9630 (__fgets_unlocked): Add alias of _IO_fgets. Use libc_hidden_def.
9631 * libio/iofgets_u.c (fgets_unlocked): Rename to __fgets_unlocked
9632 and define as weak alias of __fgets_unlocked. Use
9634 (__fgets_unlocked): Use libc_hidden_def.
9635 * include/stdio.h (__fgets_unlocked): Declare. Use
9637 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Use
9638 __fgets_unlocked instead of fgets_unlocked.
9639 * sysdeps/unix/sysv/linux/alpha/getsysstats.c
9640 (GET_NPROCS_CONF_PARSER): Likewise.
9641 * sysdeps/unix/sysv/linux/sparc/getsysstats.c
9642 (GET_NPROCS_CONF_PARSER): Likewise.
9645 * wcsmbs/wmemset.c (wmemset): Rename to __wmemset and define as
9646 weak alias of __wmemset. Use libc_hidden_weak.
9647 (__wmemset): Use libc_hidden_def.
9648 * include/wchar.h (__wmemset): Declare. Use libc_hidden_proto.
9649 * stdio-common/printf_fp.c (___printf_fp): Call __wmemset instead
9653 * include/string.h [NOT_IN_libc || !SHARED] (mempcpy): Declare
9654 with asm name __mempcpy.
9655 [NOT_IN_libc || !SHARED] (stpcpy): Declare with asm name __stpcpy.
9658 * sysdeps/x86_64/rawmemchr.S (rawmemchr): Rename to __rawmemchr
9659 and define as weak alias of __rawmemchr.
9660 (__rawmemchr): Do not define as strong alias of rawmemchr.
9663 * stdlib/msort.c (qsort_r): Rename to __qsort_r and define as weak
9665 (qsort): Call __qsort_r instead of qsort_r.
9666 * include/stdlib.h (qsort_r): Do not call libc_hidden_proto.
9667 (__qsort_r): Declare. Call libc_hidden_proto.
9668 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Call __qsort_r
9670 * nscd/gai.c (__qsort_r): Define to qsort_r.
9671 * posix/tst-rfc3484.c (__qsort_r): Likewise.
9672 * posix/tst-rfc3484-2.c (__qsort_r): Likewise.
9673 * posix/tst-rfc3484-3.c (__qsort_r): Likewise.
9676 * malloc/malloc.c (malloc_info): Rename to __malloc_info and
9677 define as weak alias of __malloc_info.
9680 * dirent/rewinddir.c (rewinddir): Rename to __rewinddir and define
9681 as weak alias of __rewinddir. Don't use libc_hidden_def.
9682 (__rewinddir): Use libc_hidden_def.
9683 * sysdeps/mach/hurd/rewinddir.c: Rename to __rewinddir and define
9684 as weak alias of __rewinddir. Don't use libc_hidden_def.
9685 (__rewinddir): Use libc_hidden_def.
9686 * sysdeps/posix/rewinddir.c: Rename to __rewinddir and define as
9687 weak alias of __rewinddir. Don't use libc_hidden_def.
9688 (__rewinddir): Use libc_hidden_def.
9689 * include/dirent.h (rewinddir): Don't use libc_hidden_proto.
9690 (__rewinddir): Use libc_hidden_proto.
9691 * sysdeps/posix/getcwd.c [!_LIBC] (__rewinddir): Define to
9693 (__getcwd): Use __rewinddir instead of rewinddir.
9696 * libio/fileno.c (fileno): Rename to __fileno and define as weak
9697 alias of __fileno. Use libc_hidden_weak.
9698 (__fileno): Use libc_hidden_def.
9699 [weak_alias] (fileno_unlocked): Define as weak alias of __fileno.
9700 * libio/ftello.c (ftello): Rename to __ftello and define as weak
9702 [__OFF_T_MATCHES_OFF64_T] (ftello64): Define as weak alias of
9704 * libio/iofread.c [weak_alias && !_IO_MTSAFE_IO]
9705 (__fread_unlocked): Define as strong alias of _IO_fread. Use
9707 (fread_unlocked): Don't use libc_hidden_ver.
9708 * libio/iofread_u.c (fread_unlocked): Rename to __fread_unlocked
9709 and define as weak alias of __fread_unlocked. Don't use
9711 (__fread_unlocked): Use libc_hidden_def.
9712 * include/stdio.h (__fileno): Declare. Use libc_hidden_proto.
9713 (ftello): Don't use libc_hidden_proto.
9714 (__ftello): Declare. Use libc_hidden_proto.
9715 (fread_unlocked): Don't use libc_hidden_proto.
9716 (__fread_unlocked): Declare. Use libc_hidden_proto.
9717 * time/tzfile.c (__tzfile_read): Use __fileno, __fread_unlocked
9718 and __ftello instead of fileno, fread_unlocked and ftello.
9720 2012-11-12 Siddhesh Poyarekar <siddhesh@redhat.com>
9722 * sysdeps/s390/s390-32/bcopy.S (__bcopy): Use GOT instead of
9724 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
9726 (_dl_start_user): Likewise.
9727 * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp): Likewise.
9729 2014-11-12 Carlos O'Donell <carlos@redhat.com>
9730 Siddhesh Poyarekar <siddhesh@redhat.com>
9732 * sysdeps/s390/s390-32/dl-machine.h (_dl_start_user):
9733 Move argv and envp down instead of moving argc up.
9734 * sysdeps/s390/s390-32/dl-sysdep.h: New file.
9736 2014-11-12 Leonhard Holz <leonhard.holz@web.de>
9739 * test-skeleton.c (main): Return successful if one of
9740 EXPECTED_SIGNAL or EXPECTED_STATUS is met when both given.
9741 * string/tst-strcoll-overflow.c: Define expected status.
9743 2014-11-12 Tatiana Udalova <t.udalova@samsung.com>
9746 * locale/iso-639.def: Define Bhili and Tulu language codes.
9748 2014-11-11 Alan Hayward <alan.hayward@arm.com>
9750 * sysdeps/unix/sysv/linux/aarch64/bits/ipc.h: New file.
9752 2014-11-10 Renlin Li <Renlin.Li@arm.com>
9755 * sysdeps/aarch64/start.S (_start): Delete x29 overwritten assignment.
9757 2014-11-10 Andrew Senkevich <andrew.n.senkevich@gmail.com>
9759 * configure.ac: Updated check of minimal required version to
9761 * manual/install.texi (Tools for Compilation): Updated version
9763 * configure: Regenerated.
9764 * INSTALL: Likewise.
9766 2014-11-07 Andreas Schwab <schwab@linux-m68k.org>
9768 * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Remove
9771 2014-11-07 Joseph Myers <joseph@codesourcery.com>
9773 * include/sys/wait.h (__libc_waitpid): Remove declaration.
9774 * posix/waitpid.c (__libc_waitpid): Rename to __waitpid.
9775 (__waitpid): Don't define as alias. Use libc_hidden_def not
9777 (waitpid): Define as alias of __waitpid.
9778 * sysdeps/unix/bsd/waitpid.c (__libc_waitpid): Rename to
9780 (__waitpid): Don't define as alias. Use libc_hidden_def not
9782 (waitpid): Define as alias of __waitpid.
9783 * sysdeps/unix/sysv/linux/i386/syscalls.list (waitpid): Remove
9784 __libc_waitpid alias.
9785 * sysdeps/unix/sysv/linux/m68k/syscalls.list (waitpid): Likewise.
9786 * sysdeps/unix/sysv/linux/powerpc/syscalls.list (waitpid):
9788 * sysdeps/unix/sysv/linux/sh/syscalls.list (waitpid): Likewise.
9789 * sysdeps/unix/sysv/linux/sparc/syscalls.list (waitpid): Likewise.
9790 * sysdeps/unix/sysv/linux/tile/waitpid.S (__libc_waitpid): Remove
9792 * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Rename to
9794 (__waitpid): Don't define as alias. Use libc_hidden_def not
9796 (waitpid): Define as alias of __waitpid.
9798 2014-11-06 Carlos O'Donell <carlos@redhat.com>
9800 * manual/llio.texi: Add comment that write safety has been
9803 * elf/Makefile (all-built-dso): Add $(common-objpfx)elf/ld.so.
9804 (localplt-build-dso): Add elf/ld.so.
9805 * sysdeps/unix/sysv/linux/i386/localplt.data: Add ___tls_get_addr
9806 i.e. 3 underscore version, __libc_memalign, malloc, calloc, realloc,
9808 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: Add
9809 __libc_memalign, malloc, calloc, realloc, and free for ld.so.
9810 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data:
9812 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
9814 * sysdeps/unix/sysv/linux/s390/localplt.data: Likewise.
9815 * sysdeps/generic/localplt.data: Add __tls_get_addr i.e. 2 underscore
9816 version, __libc_memalign, malloc, calloc, realloc and free for ld.so.
9817 * sysdeps/unix/sysv/linux/aarch64/localplt.data: Likewise.
9818 * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
9819 * sysdeps/unix/sysv/linux/alpha/localplt.data: Likewise.
9820 * sysdeps/unix/sysv/linux/ia64/localplt.data: Likewise.
9821 * sysdeps/unix/sysv/linux/m68k/localplt.data: Likewise.
9822 * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
9823 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Likewise.
9824 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
9826 2014-11-05 Joseph Myers <joseph@codesourcery.com>
9829 * include/libc-symbols.h (INTUSE): Remove macro.
9831 (INTVARDEF): Likewise.
9832 (_INTVARDEF): Likewise.
9833 (INTDEF2): Likewise.
9834 (INTVARDEF2): Likewise.
9835 * elf/rtld.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Use
9836 rtld_hidden_def instead of INTVARDEF.
9837 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]
9838 (_dl_starting_up_internal): Remove declaration.
9839 (_dl_starting_up): Use rtld_hidden_proto.
9840 * elf/dl-init.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Remove
9842 [!HAVE_INLINED_SYSCALLS] (_dl_starting_up_internal): Likewise.
9843 (_dl_init) [!HAVE_INLINED_SYSCALLS]: Don't use INTUSE with
9845 * elf/dl-writev.h (_dl_writev): Likewise.
9846 * sysdeps/powerpc/powerpc64/dl-machine.h [!HAVE_INLINED_SYSCALLS]
9847 (DL_STARTING_UP_DEF): Use __GI__dl_starting_up instead of
9848 _dl_starting_up_internal.
9850 2014-11-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9852 * stdio-common/tst-fmemopen.c (do_test): Refactor to use
9855 2014-11-05 Will Newton <will.newton@linaro.org>
9857 * benchtests/Makefile: (bench-malloc): Add malloc thread
9858 scalability benchmark.
9859 * benchtests/bench-malloc-threads.c: New file.
9861 2014-11-05 Richard Earnshaw <rearnsha@arm.com>
9863 * sysdeps/aarch64/strchrnul.S: New file.
9865 2014-11-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9867 * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Simplify
9869 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
9871 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
9873 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
9875 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
9877 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
9880 2014-11-05 Arjun Shankar <arjun.is@lostca.se>
9882 * catgets/test-gencat.c: Use test-skeleton.c.
9883 * catgets/tst-catgets.c: Likewise.
9884 * csu/tst-empty.c: Likewise.
9885 * elf/tst-audit2.c: Likewise.
9886 * elf/tst-global1.c: Likewise.
9887 * elf/tst-pathopt.c: Likewise.
9888 * elf/tst-piemod1.c: Likewise.
9889 * elf/tst-tls10.c: Likewise.
9890 * elf/tst-tls11.c: Likewise.
9891 * elf/tst-tls12.c: Likewise.
9892 * gnulib/tst-gcc.c: Likewise.
9893 * iconvdata/tst-e2big.c: Likewise.
9894 * iconvdata/tst-loading.c: Likewise.
9895 * iconv/tst-iconv1.c: Likewise.
9896 * iconv/tst-iconv2.c: Likewise.
9897 * inet/test-inet6_opt.c: Likewise.
9898 * inet/tst-gethnm.c: Likewise.
9899 * inet/tst-network.c: Likewise.
9900 * inet/tst-ntoa.c: Likewise.
9901 * intl/tst-codeset.c: Likewise.
9902 * intl/tst-gettext2.c: Likewise.
9903 * intl/tst-gettext3.c: Likewise.
9904 * intl/tst-ngettext.c: Likewise.
9905 * intl/tst-translit.c: Likewise.
9906 * io/test-stat.c: Likewise.
9907 * libio/test-fmemopen.c: Likewise.
9908 * libio/tst-freopen.c: Likewise.
9909 * libio/tst-sscanf.c: Likewise.
9910 * libio/tst-ungetwc1.c: Likewise.
9911 * libio/tst-ungetwc2.c: Likewise.
9912 * libio/tst-widetext.c: Likewise.
9913 * localedata/tst-ctype.c: Likewise.
9914 * localedata/tst-digits.c: Likewise.
9915 * localedata/tst-leaks.c: Likewise.
9916 * localedata/tst-mbswcs1.c: Likewise.
9917 * localedata/tst-mbswcs2.c: Likewise.
9918 * localedata/tst-mbswcs3.c: Likewise.
9919 * localedata/tst-mbswcs4.c: Likewise.
9920 * localedata/tst-mbswcs5.c: Likewise.
9921 * localedata/tst-setlocale.c: Likewise.
9922 * localedata/tst-trans.c: Likewise.
9923 * localedata/tst-wctype.c: Likewise.
9924 * localedata/tst-xlocale1.c: Likewise.
9925 * login/tst-grantpt.c: Likewise.
9926 * malloc/tst-calloc.c: Likewise.
9927 * malloc/tst-malloc.c: Likewise.
9928 * malloc/tst-mallocstate.c: Likewise.
9929 * malloc/tst-mcheck.c: Likewise.
9930 * malloc/tst-mtrace.c: Likewise.
9931 * malloc/tst-obstack.c: Likewise.
9932 * math/atest-exp2.c: Likewise.
9933 * math/atest-exp.c: Likewise.
9934 * math/atest-sincos.c: Likewise.
9935 * math/test-matherr.c: Likewise.
9936 * math/test-misc.c: Likewise.
9937 * math/test-powl.c: Likewise.
9938 * math/tst-definitions.c: Likewise.
9939 * misc/tst-dirname.c: Likewise.
9940 * misc/tst-efgcvt.c: Likewise.
9941 * misc/tst-fdset.c: Likewise.
9942 * misc/tst-hsearch.c: Likewise.
9943 * misc/tst-mntent2.c: Likewise.
9944 * nptl/tst-sem7.c: Likewise.
9945 * nptl/tst-sem8.c: Likewise.
9946 * nptl/tst-sem9.c: Likewise.
9947 * nss/test-netdb.c: Likewise.
9948 * posix/tst-fnmatch.c: Likewise.
9949 * posix/tst-getlogin.c: Likewise.
9950 * posix/tst-gnuglob.c: Likewise.
9951 * posix/tst-mmap.c: Likewise.
9952 * pwd/tst-getpw.c: Likewise.
9953 * resolv/tst-inet_ntop.c: Likewise.
9954 * rt/tst-timer.c: Likewise.
9955 * stdio-common/test-fseek.c: Likewise.
9956 * stdio-common/test-popen.c: Likewise.
9957 * stdio-common/test-vfprintf.c: Likewise.
9958 * stdio-common/tst-cookie.c: Likewise.
9959 * stdio-common/tst-fileno.c: Likewise.
9960 * stdio-common/tst-gets.c: Likewise.
9961 * stdio-common/tst-obprintf.c: Likewise.
9962 * stdio-common/tst-perror.c: Likewise.
9963 * stdio-common/tst-sprintf2.c: Likewise.
9964 * stdio-common/tst-sprintf3.c: Likewise.
9965 * stdio-common/tst-sprintf.c: Likewise.
9966 * stdio-common/tst-swprintf.c: Likewise.
9967 * stdio-common/tst-tmpnam.c: Likewise.
9968 * stdio-common/tst-unbputc.c: Likewise.
9969 * stdio-common/tst-wc-printf.c: Likewise.
9970 * stdlib/tst-environ.c: Likewise.
9971 * stdlib/tst-fmtmsg.c: Likewise.
9972 * stdlib/tst-limits.c: Likewise.
9973 * stdlib/tst-rand48-2.c: Likewise.
9974 * stdlib/tst-rand48.c: Likewise.
9975 * stdlib/tst-random2.c: Likewise.
9976 * stdlib/tst-random.c: Likewise.
9977 * stdlib/tst-strtol.c: Likewise.
9978 * stdlib/tst-strtoll.c: Likewise.
9979 * stdlib/tst-tls-atexit.c: Likewise.
9980 * stdlib/tst-xpg-basename.c: Likewise.
9981 * string/test-ffs.c: Likewise.
9982 * string/tst-bswap.c: Likewise.
9983 * string/tst-inlcall.c: Likewise.
9984 * string/tst-strtok.c: Likewise.
9985 * string/tst-strxfrm.c: Likewise.
9986 * sysdeps/x86_64/tst-audit10.c: Likewise.
9987 * sysdeps/x86_64/tst-audit3.c: Likewise.
9988 * sysdeps/x86_64/tst-audit4.c: Likewise.
9989 * sysdeps/x86_64/tst-audit5.c: Likewise.
9990 * time/tst-ftime_l.c: Likewise.
9991 * time/tst-getdate.c: Likewise.
9992 * time/tst-mktime3.c: Likewise.
9993 * time/tst-mktime.c: Likewise.
9994 * time/tst-posixtz.c: Likewise.
9995 * time/tst-strptime2.c: Likewise.
9996 * time/tst-strptime3.c: Likewise.
9997 * wcsmbs/tst-btowc.c: Likewise.
9998 * wcsmbs/tst-mbrtowc.c: Likewise.
9999 * wcsmbs/tst-mbsrtowcs.c: Likewise.
10000 * wcsmbs/tst-wchar-h.c: Likewise.
10001 * wcsmbs/tst-wcpncpy.c: Likewise.
10002 * wcsmbs/tst-wcrtomb.c: Likewise.
10003 * wcsmbs/tst-wcsnlen.c: Likewise.
10004 * wcsmbs/tst-wcstof.c: Likewise.
10006 2014-11-04 Joseph Myers <joseph@codesourcery.com>
10009 * elf/dl-profile.c (_dl_mcount): Use rtld_hidden_def instead of
10011 * sysdeps/generic/ldsodefs.h (_dl_mcount_internal): Remove
10013 (_dl_mcount): Use rtld_hidden_proto.
10014 * elf/dl-runtime.c (_dl_profile_fixup): Don't use INTUSE with
10016 * elf/rtld.c (_rtld_global_ro): Likewise.
10019 * elf/dl-init.c (_dl_init): Don't use INTDEF.
10020 * sysdeps/aarch64/dl-machine.h (RTLD_START): Use _dl_init instead
10021 of _dl_init_internal.
10022 * sysdeps/alpha/dl-machine.h (RTLD_START): Likewise.
10023 * sysdeps/arm/dl-machine.h (RTLD_START): Likewise.
10024 * sysdeps/hppa/dl-machine.h (RTLD_START): Likewise.
10025 * sysdeps/i386/dl-machine.h (RTLD_START): Likewise.
10026 * sysdeps/ia64/dl-machine.h (RTLD_START): Likewise.
10027 * sysdeps/m68k/dl-machine.h (RTLD_START): Likewise.
10028 * sysdeps/microblaze/dl-machine.h (RTLD_START): Likewise.
10029 * sysdeps/mips/dl-machine.h (RTLD_START): Likewise.
10030 * sysdeps/powerpc/powerpc32/dl-start.S (_start): Likewise.
10031 * sysdeps/s390/s390-32/dl-machine.h (RTLD_START): Likewise.
10032 * sysdeps/s390/s390-64/dl-machine.h (RTLD_START): Likewise.
10033 * sysdeps/sh/dl-machine.h (RTLD_START): Likewise.
10034 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
10035 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
10036 * sysdeps/tile/dl-start.S (_start): Likewise.
10037 * sysdeps/x86_64/dl-machine.h (RTLD_START): Likewise.
10038 * sysdeps/x86_64/x32/dl-machine.h (RTLD_START): Likewise.
10041 * sysdeps/generic/ldsodefs.h (_dl_argv): Use rtld_hidden_proto.
10042 [IS_IN_rtld] (_dl_argv_internal): Do not declare.
10043 (rtld_progname): Make macro definition unconditional.
10044 * elf/rtld.c (_dl_argv): Use rtld_hidden_data_def instead of
10046 (dlmopen_doit): Do not use INTUSE with _dl_argv.
10047 (dl_main): Likewise.
10048 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
10049 * sysdeps/alpha/dl-machine.h (RTLD_START): Use __GI__dl_argv
10050 instead of _dl_argv_internal.
10051 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
10052 __GI__dl_argv instead of INTUSE(_dl_argv).
10053 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Use
10054 __GI__dl_argv instead of _dl_argv_internal.
10056 * soft-fp/op-common.h (_FP_TO_INT_ROUND): New macro.
10057 * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_D): New
10059 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_D): Likewise.
10060 * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_E):
10062 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_E): Likewise.
10063 * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_Q): New
10065 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_Q): Likewise.
10066 * soft-fp/single.h (FP_TO_INT_ROUND_S): New macro.
10068 2014-11-04 Andreas Schwab <schwab@suse.de>
10070 * posix/regex_internal.h: Don't include <locale/elem-hash.h>.
10072 2014-11-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10074 * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Encode
10075 mtvsrd instruction in binary form.
10077 2014-11-03 Andreas Schwab <schwab@suse.de>
10080 * libio/wfileops.c (_IO_wdo_write): If the file buffer has room
10081 for less than MB_LEN_MAX use a local buffer of that size.
10082 * libio/tst-fputws.c: New file.
10083 * libio/Makefile (tests): Add tst-fputws.
10085 2014-11-01 Jose E. Marchesi <jose.marchesi@oracle.com>
10087 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu): fix
10088 the size of the fpu_fr.fpu_dregs[] array.
10090 2014-11-01 Joseph Myers <joseph@codesourcery.com>
10092 * posix/nanosleep.c (__libc_nanosleep): Rename to __nanosleep.
10093 (__nanosleep): Do not define as alias.
10094 (nanosleep): Define as alias of __nanosleep.
10095 * sysdeps/unix/sysv/linux/syscalls.list (nanosleep): Remove
10096 __libc_nanosleep name.
10098 2014-10-31 Joseph Myers <joseph@codesourcery.com>
10100 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): Mention need to update
10101 install.texi in comment.
10103 2014-10-31 Torvald Riegel <triegel@redhat.com>
10105 * sysdeps/powerpc/bits/atomic.h (atomic_write_barrier): Remove and...
10106 * sysdeps/powerpc/powerpc32/bits/atomic.h (atomic_write_barrier):
10107 ... add here and use lwsync or sync ...
10108 * sysdeps/powerpc/powerpc64/bits/atomic.h (atomic_write_barrier):
10109 ... and add here using lwsync.
10111 2014-10-31 Matthew Fortune <matthew.fortune@imgtec.com>
10113 * elf/dl-machine-reject-phdr.h: New file.
10114 * elf/dl-load.c: #include that.
10115 (open_verify): Call elf_machine_reject_phdr_p and ignore the file
10116 if that returned true.
10118 2014-10-31 Roland McGrath <roland@hack.frob.com>
10121 * Makerules: Move gnu/lib-names.h generation chunk up, to right after
10122 gen-as-const-headers chunk. Add a big scare comment after the last
10123 safe place to touch before-compile.
10125 2014-10-31 Joseph Myers <joseph@codesourcery.com>
10127 * manual/install.texi (Tools for Compilation): Update autoconf
10128 version requirements.
10129 * INSTALL: Regenerated.
10131 * misc/pselect.c [!__pselect] (__libc_pselect): Remove alias.
10132 * sysdeps/unix/sysv/linux/pselect.c [__NR_pselect6]
10133 (__libc_pselect): Likewise.
10136 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Remove file.
10137 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
10138 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
10139 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
10141 2014-10-31 Torvald Riegel <triegel@redhat.com>
10143 * sysdeps/sparc/sparc32/bits/atomic.h (atomic_write_barrier): Use
10144 correct barrier instruction.
10145 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_write_barrier):
10147 * sysdeps/sparc/sparc64/bits/atomic.h (atomic_write_barrier):
10150 2014-10-30 Roland McGrath <roland@hack.frob.com>
10152 * include/ctype.h: Include <ctype/ctype.h> first thing rather than
10153 after defining inlines. Instead, just use parens to defeat macro
10154 expansion of __isctype in its declaration.
10156 2014-10-30 Joseph Myers <joseph@codesourcery.com>
10158 * include/sys/uio.h (__libc_readv): Remove declaration.
10159 (__libc_writev): Likewise.
10160 * misc/readv.c (__libc_readv): Rename to __readv.
10161 (__readv): Do not define as alias.
10162 (readv): Define as alias of __readv.
10163 * misc/writev.c (__libc_writev): Rename to __writev.
10164 (__writev): Do not define as alias.
10165 (writev): Define as alias of __writev.
10166 * sysdeps/posix/readv.c (__libc_readv): Rename to __readv.
10167 (__readv): Do not define as alias.
10168 (readv): Define unconditionally as alias of __readv.
10169 * sysdeps/posix/writev.c (__libc_writev): Rename to __writev.
10170 (__writev): Do not define as alias.
10171 (writev): Define unconditionally as alias of __writev.
10172 * sysdeps/unix/syscalls.list (readv): Do not define __libc_readv
10174 (writev): Do not define __libc_writev name.
10176 2014-10-30 Roland McGrath <roland@hack.frob.com>
10178 * iconv/iconv_charmap.c (add_bytes): Make IN argument pointer to const.
10179 (convert_charseq): New function, broken out of ...
10180 (use_from_charmap): ... here. Call it.
10181 (use_to_charmap): Use convert_charseq and free instead of duplicating
10182 its code with a variable-length stack struct.
10184 2014-10-30 Joseph Myers <joseph@codesourcery.com>
10186 * include/fcntl.h (__libc_creat): Remove declaration.
10187 * io/creat.c (__libc_creat): Rename to creat.
10188 (creat): Do not define as alias.
10189 * sysdeps/unix/sysv/linux/alpha/creat.c (creat64): Define as alias
10190 of creat instead of __libc_creat.
10191 * sysdeps/unix/sysv/linux/generic/creat.c (__libc_creat): Rename
10193 (creat): Do not define as alias.
10194 [__WORDSIZE == 64] (creat64): Define as alias of creat instead of
10196 * sysdeps/unix/sysv/linux/syscalls.list (creat): Do not define
10198 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (creat):
10201 2014-10-29 Carlos O'Donell <carlos@redhat.com>
10203 * manual/llio.texi: Add comments discussing why write() may be
10204 considered MT-unsafe on Linux.
10206 2014-10-28 Carlos O'Donell <carlos@redhat.com>
10208 * dl-load.c (local_strdup): Remove.
10209 (expand_dynamic_string_token): Use __strdup.
10210 (decompose_rpath): Likewise.
10211 (_dl_map_object): Likewise.
10213 2014-10-28 Joseph Myers <joseph@codesourcery.com>
10216 * sysdeps/generic/unwind-dw2-fde.c
10217 (__register_frame_info_bases_internal): Do not declare.
10218 (__register_frame_info_table_bases_internal): Likewise.
10219 (__deregister_frame_info_bases_internal): Likewise.
10220 (__register_frame_info_bases): Declare and use hidden_proto before
10221 definition. Use hidden_def instead of INTDEF.
10222 (__register_frame_info_table_bases): Likewise.
10223 (__deregister_frame_info_bases): Likewise.
10224 (__register_frame_info): Do not use INTUSE.
10225 (__register_frame): Likewise.
10226 (__register_frame_info_table): Likewise.
10227 (__register_frame_table): Likewise.
10228 (__deregister_frame_info): Likewise.
10229 (__deregister_frame): Likewise.
10231 2014-10-27 Gratian Crisan <gratian.crisan@ni.com>
10233 * sysdeps/unix/sysv/linux/arm/kernel-features.h
10234 [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_FUTEX_LOCK_PI): Do
10236 [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_REQUEUE_PI):
10238 [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_SET_ROBUST_LIST):
10241 2014-10-27 Joseph Myers <joseph@codesourcery.com>
10244 * sysdeps/unix/sysv/linux/arm/setfsgid.c: Remove file.
10245 * sysdeps/unix/sysv/linux/arm/setfsuid.c: Likewise.
10246 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Likewise.
10247 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Likewise.
10248 * sysdeps/unix/sysv/linux/m68k/setfsgid.c: Likewise.
10249 * sysdeps/unix/sysv/linux/m68k/setfsuid.c: Likewise.
10250 * sysdeps/unix/sysv/linux/s390/s390-32/setfsgid.c: Likewise.
10251 * sysdeps/unix/sysv/linux/s390/s390-32/setfsuid.c: Likewise.
10252 * sysdeps/unix/sysv/linux/sh/setfsgid.c: Likewise.
10253 * sysdeps/unix/sysv/linux/sh/setfsuid.c: Likewise.
10254 * sysdeps/unix/sysv/linux/sparc/sparc32/setfsgid.c: Likewise.
10255 * sysdeps/unix/sysv/linux/sparc/sparc32/setfsuid.c: Likewise.
10256 * sysdeps/unix/sysv/linux/arm/syscalls.list (setfsgid): Add
10258 (setfsuid): Likewise.
10259 * sysdeps/unix/sysv/linux/i386/syscalls.list (setfsgid): Likewise.
10260 (setfsuid): Likewise.
10261 * sysdeps/unix/sysv/linux/m68k/syscalls.list (setfsgid): Likewise.
10262 (setfsuid): Likewise.
10263 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setfsgid):
10265 (setfsuid): Likewise.
10266 * sysdeps/unix/sysv/linux/sh/syscalls.list (setfsgid): Likewise.
10267 (setfsuid): Likewise.
10268 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (setfsgid):
10270 (setfsuid): Likewise.
10272 2014-10-27 Andreas Schwab <schwab@suse.de>
10275 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Fix
10276 check for Slow_SSE4_2 feature bit.
10277 * sysdeps/i386/i686/multiarch/strcmp.S (STRCMP): Likewise.
10278 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
10279 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP, __strcascmp):
10280 Likewise. Fix check for Fast_Unaligned_Load feature bit.
10282 2014-10-24 Roland McGrath <roland@hack.frob.com>
10284 * configure.ac: Validate compiler version with a empirical test of
10285 __GNUC__ and __GNUC_MINOR__ predefined values, rather than by grepping
10287 * configure: Regenerated.
10289 * inet/htons.c (htons): Prototypify.
10290 * inet/htonl.c (htonl): Likewise.
10292 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
10294 * string/strncat.c (strncat): Improve performance by using strlen.
10296 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
10298 * string/strcat.c (strcat): Improve performance by using strlen/strcpy.
10300 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
10302 * sysdeps/aarch64/fpu/fgetexcptflg.c (fegetexceptflag):
10303 Call libc_fetestexcept_aarch64.
10305 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
10307 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept):
10308 Call libc_feholdexcept_aarch64.
10310 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
10312 * sysdeps/aarch64/fpu/fegetround.c (fegetround):
10313 Call get_rounding_mode.
10315 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
10317 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
10320 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
10322 * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept):
10325 2014-10-24 Joseph Myers <joseph@codesourcery.com>
10328 * sysdeps/unix/sysv/linux/arm/getegid.c: Remove file.
10329 * sysdeps/unix/sysv/linux/arm/geteuid.c: Likewise.
10330 * sysdeps/unix/sysv/linux/arm/getgid.c: Likewise.
10331 * sysdeps/unix/sysv/linux/arm/getgroups.c: Likewise.
10332 * sysdeps/unix/sysv/linux/arm/getresgid.c: Likewise.
10333 * sysdeps/unix/sysv/linux/arm/getresuid.c: Likewise.
10334 * sysdeps/unix/sysv/linux/arm/getuid.c: Likewise.
10335 * sysdeps/unix/sysv/linux/i386/getegid.c: Likewise.
10336 * sysdeps/unix/sysv/linux/i386/geteuid.c: Likewise.
10337 * sysdeps/unix/sysv/linux/i386/getgid.c: Likewise.
10338 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
10339 * sysdeps/unix/sysv/linux/i386/getresgid.c: Likewise.
10340 * sysdeps/unix/sysv/linux/i386/getresuid.c: Likewise.
10341 * sysdeps/unix/sysv/linux/i386/getuid.c: Likewise.
10342 * sysdeps/unix/sysv/linux/m68k/getegid.c: Likewise.
10343 * sysdeps/unix/sysv/linux/m68k/geteuid.c: Likewise.
10344 * sysdeps/unix/sysv/linux/m68k/getgid.c: Likewise.
10345 * sysdeps/unix/sysv/linux/m68k/getgroups.c: Likewise.
10346 * sysdeps/unix/sysv/linux/m68k/getresgid.c: Likewise.
10347 * sysdeps/unix/sysv/linux/m68k/getresuid.c: Likewise.
10348 * sysdeps/unix/sysv/linux/m68k/getuid.c: Likewise.
10349 * sysdeps/unix/sysv/linux/s390/s390-32/getegid.c: Likewise.
10350 * sysdeps/unix/sysv/linux/s390/s390-32/geteuid.c: Likewise.
10351 * sysdeps/unix/sysv/linux/s390/s390-32/getgid.c: Likewise.
10352 * sysdeps/unix/sysv/linux/s390/s390-32/getgroups.c: Likewise.
10353 * sysdeps/unix/sysv/linux/s390/s390-32/getresgid.c: Likewise.
10354 * sysdeps/unix/sysv/linux/s390/s390-32/getresuid.c: Likewise.
10355 * sysdeps/unix/sysv/linux/s390/s390-32/getuid.c: Likewise.
10356 * sysdeps/unix/sysv/linux/sh/getegid.c: Likewise.
10357 * sysdeps/unix/sysv/linux/sh/geteuid.c: Likewise.
10358 * sysdeps/unix/sysv/linux/sh/getgid.c: Likewise.
10359 * sysdeps/unix/sysv/linux/sh/getgroups.c: Likewise.
10360 * sysdeps/unix/sysv/linux/sh/getresgid.c: Likewise.
10361 * sysdeps/unix/sysv/linux/sh/getresuid.c: Likewise.
10362 * sysdeps/unix/sysv/linux/sh/getuid.c: Likewise.
10363 * sysdeps/unix/sysv/linux/sparc/sparc32/getegid.c: Likewise.
10364 * sysdeps/unix/sysv/linux/sparc/sparc32/geteuid.c: Likewise.
10365 * sysdeps/unix/sysv/linux/sparc/sparc32/getgid.c: Likewise.
10366 * sysdeps/unix/sysv/linux/sparc/sparc32/getgroups.c: Likewise.
10367 * sysdeps/unix/sysv/linux/sparc/sparc32/getuid.c: Likewise.
10368 * sysdeps/unix/sysv/linux/arm/syscalls.list (getegid): Add
10370 (geteuid): Likewise.
10371 (getgid): Likewise.
10372 (getuid): Likewise.
10373 (getresgid): Likewise.
10374 (getresuid): Likewise.
10375 (getgroups): Likewise.
10376 * sysdeps/unix/sysv/linux/i386/syscalls.list (getegid): Likewise.
10377 (geteuid): Likewise.
10378 (getgid): Likewise.
10379 (getuid): Likewise.
10380 (getresgid): Likewise.
10381 (getresuid): Likewise.
10382 (getgroups): Likewise.
10383 * sysdeps/unix/sysv/linux/m68k/syscalls.list (getegid): Likewise.
10384 (geteuid): Likewise.
10385 (getgid): Likewise.
10386 (getuid): Likewise.
10387 (getresgid): Likewise.
10388 (getresuid): Likewise.
10389 (getgroups): Likewise.
10390 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (getegid):
10392 (geteuid): Likewise.
10393 (getgid): Likewise.
10394 (getuid): Likewise.
10395 (getresgid): Likewise.
10396 (getresuid): Likewise.
10397 (getgroups): Likewise.
10398 * sysdeps/unix/sysv/linux/sh/syscalls.list (getegid): Likewise.
10399 (geteuid): Likewise.
10400 (getgid): Likewise.
10401 (getuid): Likewise.
10402 (getresgid): Likewise.
10403 (getresuid): Likewise.
10404 (getgroups): Likewise.
10405 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (getegid):
10407 (geteuid): Likewise.
10408 (getgid): Likewise.
10409 (getuid): Likewise.
10410 (getgroups): Likewise.
10413 * sysdeps/unix/sysv/linux/i386/chown.c: Remove file.
10414 * sysdeps/unix/sysv/linux/i386/fchown.c: Likewise.
10415 * sysdeps/unix/sysv/linux/i386/lchown.c: Likewise.
10416 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
10417 * sysdeps/unix/sysv/linux/s390/s390-32/fchown.c: Remove file.
10418 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Likewise.
10419 * sysdeps/unix/sysv/linux/sh/chown.c: Likewise.
10420 * sysdeps/unix/sysv/linux/sh/fchown.c: Likewise.
10421 * sysdeps/unix/sysv/linux/sh/lchown.c: Likewise.
10422 * sysdeps/unix/sysv/linux/sparc/sparc32/chown.c: Likewise.
10423 * sysdeps/unix/sysv/linux/sparc/sparc32/fchown.c: Likewise.
10424 * sysdeps/unix/sysv/linux/sparc/sparc32/lchown.c: Likewise.
10425 * sysdeps/unix/sysv/linux/s390/s390-32/Versions (GLIBC_2.1): Add
10427 * sysdeps/unix/sysv/linux/i386/syscalls.list (chown): Add syscall.
10428 (lchown): Likewise.
10429 (fchown): Likewise.
10430 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (chown):
10432 (lchown): Likewise.
10433 (fchown): Likewise.
10434 * sysdeps/unix/sysv/linux/sh/syscalls.list (chown): Likewise.
10435 (lchown): Likewise.
10436 (fchown): Likewise.
10437 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (chown):
10439 (lchown): Likewise.
10440 (fchown): Likewise.
10442 2014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
10444 * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept):
10447 2014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
10449 * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
10452 2014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
10454 * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
10455 Remove unused include.
10457 2014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
10459 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Remove spaces.
10460 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Remove spaces.
10461 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Remove spaces.
10462 * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Remove spaces.
10464 2014-10-23 Carlos O'Donell <carlos@systemhalted.org>
10465 Helge Deller <deller@gmx.de>
10468 * sysdeps/unix/sysv/linux/hppa/bits/signum.h: Remove SIGEMT.
10469 Define SIGSTKFLT as 7. Define SIGSYS as 31. Define SIGXCPU as 12.
10470 Remove SIGLOST. Define SIGXFSZ as 30. Define __SIGRTMIN as 32.
10472 2014-10-23 Joseph Myers <joseph@codesourcery.com>
10475 * sysdeps/powerpc/powerpc32/libgcc-compat.S (__ashldi3_v_glibc20):
10476 Remove macro definition.
10477 (__ashrdi3_v_glibc20): Likewise.
10478 (__lshrdi3_v_glibc20): Likewise.
10479 (__cmpdi2_v_glibc20): Likewise.
10480 (__ucmpdi2_v_glibc20): Likewise.
10481 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixdfdi_v_glibc20): Likewise.
10482 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
10483 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
10484 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
10485 [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
10486 [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdisf_v_glibc20): Likewise.
10488 2014-10-22 Roland McGrath <roland@hack.frob.com>
10490 * inet/netgroup.h (struct name_list): Use C99 [] syntax rather than
10491 old GNU extension [0] syntax.
10492 * nscd/nscd_helper.c (open_socket): Use a flexible array member and
10493 alloca rather than an array member with variable length.
10494 * nscd/netgroupcache.c (addgetnetgrentX): Likewise.
10495 * nscd/nscd.c (invalidate_db): New function, broken out of ...
10496 (parse_opt): ... here. Likewise use alloca there.
10497 Validate the -i argument before checking for rootness.
10498 (send_shutdown): New function, broken out of ...
10499 (parse_opt): ... here.
10501 2014-10-22 Roland McGrath <roland@hack.frob.com>
10503 * sysdeps/arm/__longjmp.S [NEED_HWCAP] [IS_IN_rtld]: Use LDST_PCREL
10504 macro to get at the _rt_local_ro field.
10505 [NEED_HWCAP] [!IS_IN_rtld]: Use LDR_GLOBAL to get at _rtld_global_ro
10506 ([PIC] case) or _dl_hwcap ([!PIC] case).
10507 * sysdeps/arm/setjmp.S: Likewise.
10509 * config.h.in (ARM_PCREL_MOVW_OK): New macro.
10510 * sysdeps/arm/configure.ac: New check to define it.
10511 * sysdeps/arm/configure: Regenerated.
10512 * sysdeps/arm/sysdep.h [__ASSEMBLER__]: Include <arm-features.h>.
10513 (LDST_INDEXED_NOINDEX, LDST_INDEXED_INDEX): New macros.
10514 (LDST_INDEXED, LDST_PC_INDEXED): New macros, differing definitions
10515 depending on [ARM_NO_INDEX_REGISTER] and [__thumb2__].
10516 (LDST_PCREL) [!__thumb2__ && ARCH_HAS_T2 && ARM_PCREL_MOVW_OK]:
10517 Use move/movt pair instead of a load.
10518 (LDST_GLOBAL): Macro removed.
10519 (LDR_GLOBAL): New macro replaces it.
10520 (LDR_HIDDEN): New macro.
10521 (PTR_MANGLE_LOAD): Use LDR_GLOBAL rather than LDST_GLOBAL.
10522 Use LDR_HIDDEN instead for __pointer_chk_guard_local.
10524 * setjmp/tst-setjmp-static.c: New file.
10525 * setjmp/Makefile (tests): Add it.
10526 (tests-static): New variable.
10528 2014-10-22 Maciej W. Rozycki <macro@codesourcery.com>
10531 * sysdeps/unix/sysv/linux/mips/vfork.S (__libc_vfork): Define.
10533 2014-10-21 Joseph Myers <joseph@codesourcery.com>
10536 * math/s_ldexpf.c (__ldexpf): Do not use INTDEF.
10538 2014-10-21 Roland McGrath <roland@hack.frob.com>
10540 * nptl/version.c (__nptl_main): Call __libc_write, not __write.
10542 2014-10-20 Roland McGrath <roland@hack.frob.com>
10544 * io/fts.c (dirent_not_directory): New function.
10545 (fts_build): Call it.
10547 2014-10-20 Roland McGrath <roland@hack.frob.com>
10549 * nptl/version.c (__nptl_main): Use normal __write rather than
10551 (banner): Update copyright years.
10553 * nptl/pthread_rwlock_timedrdlock.c: #include <sys/time.h> before using
10555 * nptl/pthread_rwlock_timedwrlock.c: Likewise.
10556 * nptl/pthread_cond_timedwait.c: Likewise.
10557 * nptl/pthread_mutex_timedlock.c: Likewise.
10558 * nptl/sem_timedwait.c: Likewise.
10560 * sysdeps/nptl/bits/libc-lock.h
10561 [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
10562 (__libc_lock_init_recursive): Return void, not 0.
10563 * sysdeps/nptl/bits/libc-lockP.h (__libc_lock_init): Likewise.
10564 (__libc_rwlock_init): Likewise.
10565 * sysdeps/nptl/bits/stdio-lock.h (_IO_lock_init): Likewise.
10567 2014-10-20 Torvald Riegel <triegel@redhat.com>
10570 * nptl/pthread_once.c (__pthread_once): Split out fast path to ...
10571 (__pthread_once_slow): ... here.
10572 * sysdeps/unix/sysv/linux/i386/pthread_once.S: Remove file.
10573 * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Remove file.
10575 2014-10-20 Torvald Riegel <triegel@redhat.com>
10578 * nptl/pthreadP.h (__PTHREAD_ONCE_INPROGRESS, __PTHREAD_ONCE_DONE,
10579 __PTHREAD_ONCE_FORK_GEN_INCR): New.
10580 * sysdeps/nptl/fork.c (__libc_fork): Use them.
10581 * nptl/pthread_once.c (__pthread_once): Likewise.
10584 2014-10-20 Joseph Myers <joseph@codesourcery.com>
10587 * sysdeps/unix/syscalls.list (readv): Use __libc_readv as strong
10589 (writev): Use __libc_writev as strong name.
10590 * sysdeps/unix/sysv/linux/readv.c: Remove file.
10591 * sysdeps/unix/sysv/linux/writev.c: Likewise.
10593 2014-10-17 Roland McGrath <roland@hack.frob.com>
10595 * nptl/createthread.c (TLS_DEFINE_INIT_TP, TLS_VALUE): Macros removed.
10597 * sysdeps/i386/nptl/tls.h
10598 (THREAD_SELF_SYSINFO, THREAD_SYSINFO): Macros removed.
10599 [NEED_DL_SYSINFO] (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO):
10601 * sysdeps/ia64/nptl/tls.h [NEED_DL_SYSINFO]
10602 (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO): New macros.
10603 * nptl/allocatestack.c (allocate_stack) [NEED_DL_SYSINFO]:
10604 Call SETUP_THREAD_SYSINFO instead of doing an assignment.
10605 * nptl/createthread.c (create_thread) [NEED_DL_SYSINFO]:
10606 Call CHECK_THREAD_SYSINFO instead of doing an assert.
10608 * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
10609 Conditionalize FUTEX_PRIVATE_FLAG and FUTEX_CLOCK_REALTIME probes
10611 * nptl/pthread_mutex_init.c (prio_inherit_missing): New function,
10613 (__pthread_mutex_init): ... here. Call it.
10614 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full):
10615 Conditionalize PI cases on [__NR_futex].
10616 * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
10617 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Likewise.
10618 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
10620 * nptl/nptl-init.c (sighandler_setxid, __xidcmd): Make definitions
10621 conditional on [SIGSETXID].
10622 (sigcancel_handler): Make definition conditional on [SIGCANCEL].
10623 (__pthread_initialize_minimal_internal): Set up SIGCANCEL only if it
10624 is defined. Likewise for SIGSETXID.
10625 * nptl/allocatestack.c (setxid_mark_thread, setxid_unmark_thread):
10626 Conditionalize definitions on [SIGSETXID].
10627 (setxid_signal_thread, __nptl_setxid_error, __nptl_setxid): Likewise.
10628 * nptl/pthread_create.c (start_thread): Conditionalize SIGCANCEL
10629 unblocking on [SIGCANCEL].
10631 * nptl/nptl-init.c (__nptl_set_robust): Conditionalize body on
10632 [__NR_set_robust_list].
10634 2014-10-17 Siddhesh Poyarekar <siddhesh@redhat.com>
10636 * string/strcoll_l.c (get_next_seq): Fix up formatting.
10637 (do_compare): Likewise.
10639 2014-10-17 Leonhard Holz <leonhard.holz@web.de>
10642 * string/strcoll_l.c: Don't include stdio.h.
10643 (coll_seq): Remove members idxarr and rulearr.
10644 (get_next_seq_cached): Remove function.
10645 (get_next_seq): Likewise.
10646 (get_next_seq_nocache): Rename to get_next_seq.
10647 (do_compare): Remove function.
10648 (do_compare_nocache): Rename to do_compare.
10649 (STRCOLL): Remove weight and rules cache.
10651 2014-10-16 Roland McGrath <roland@hack.frob.com>
10653 * sysdeps/arm/soft-fp/sfp-machine.h: Filed moved ...
10654 * sysdeps/arm/sfp-machine.h: ... to here.
10655 * sysdeps/arm/Implies: Remove arm/soft-fp.
10657 2014-10-14 Joseph Myers <joseph@codesourcery.com>
10659 * conform/data/sys/utsname.h-data (*_t): Allow.
10660 * conform/data/sys/wait.h-data [POSIX] (uid_t): Do not define.
10661 [POSIX] (WEXITED): Do not expect constant.
10662 [POSIX] (WSTOPPED): Likewise.
10663 [POSIX] (WNOHANG): Likewise.
10664 [POSIX] (WNOWAIT): Likewise.
10665 [POSIX] (siginfo_t): Do not expect type or elements.
10666 [POSIX] (pid_t): Do not expect type.
10667 [POSIX] (signal.h): Do not allow header.
10668 [POSIX] (sys/resource.h): Likewise.
10669 [POSIX] (si_*): Do not allow pattern.
10670 [POSIX] (W*): Likewise.
10671 [POSIX] (P_*): Likewise.
10672 [POSIX] (BUS_*): Likewise.
10673 [POSIX] (CLD_*): Likewise.
10674 [POSIX] (FPE_*): Likewise.
10675 [POSIX] (ILL_*): Likewise.
10676 [POSIX] (POLL_*): Likewise.
10677 [POSIX] (SEGV_*): Likewise.
10678 [POSIX] (SI_*): Likewise.
10679 [POSIX] (TRAP_*): Likewise.
10680 * conform/Makefile (test-xfail-POSIX/sys/wait.h/conform): New
10683 2014-10-14 Paul Pluzhnikov <ppluzhnikov@google.com>
10686 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Avoid
10687 infinite loop when __recvmsg returns 0.
10689 2014-10-10 Joseph Myers <joseph@codesourcery.com>
10691 * CANCEL-FCT-WAIVE: Remove file.
10692 * CANCEL-FILE-WAIVE: Likewise.
10695 * elf/dl-sysdep.c (__libc_enable_secure): Use rtld_hidden_data_def
10696 instead of INTVARDEF.
10697 (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
10698 * sysdeps/mach/hurd/dl-sysdep.c (__libc_enable_secure): Use
10699 rtld_hidden_data_def instead of INTVARDEF.
10700 (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
10701 * elf/dl-deps.c (expand_dst): Likewise.
10702 * elf/dl-load.c (_dl_dst_count): Likewise.
10703 (_dl_dst_substitute): Likewise.
10704 (decompose_rpath): Likewise.
10705 (_dl_init_paths): Likewise.
10706 (open_path): Likewise.
10707 (_dl_map_object): Likewise.
10708 * elf/rtld.c (dl_main): Likewise.
10709 (process_dl_audit): Likewise.
10710 (process_envvars): Likewise.
10711 * include/unistd.h [IS_IN_rtld] (__libc_enable_secure_internal):
10712 Remove declaration.
10713 (__libc_enable_secure): Use rtld_hidden_proto.
10715 2014-10-09 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
10718 (add_path): New function broken out of _dl_rtld_di_serinfo.
10719 (_dl_rtld_di_serinfo): Remove that nested function. Update call sites.
10721 2014-10-09 Joseph Myers <joseph@codesourcery.com>
10723 * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_D): Use
10724 parentheses around macro arguments.
10725 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_DP): Likewise.
10726 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_D): Likewise.
10727 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_DP): Likewise.
10728 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_D): Likewise.
10729 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_DP): Likewise.
10730 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_D): Likewise.
10731 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
10732 [_FP_W_TYPE_SIZE < 64] (FP_PACK_D): Likewise.
10733 [_FP_W_TYPE_SIZE < 64] (FP_PACK_DP): Likewise.
10734 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_D): Likewise.
10735 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_DP): Likewise.
10736 [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_D): Likewise.
10737 [_FP_W_TYPE_SIZE < 64] (FP_CMP_D): Likewise.
10738 [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_D): Likewise.
10739 [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_D): Likewise.
10740 [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_D): Likewise.
10741 [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_D): Likewise.
10742 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_D): Likewise.
10743 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_DP): Likewise.
10744 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_D): Likewise.
10745 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_DP): Likewise.
10746 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_D): Likewise.
10747 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_DP): Likewise.
10748 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_D): Likewise.
10749 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
10750 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_D): Likewise.
10751 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_DP): Likewise.
10752 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_D): Likewise.
10753 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_DP): Likewise.
10754 [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_D): Likewise.
10755 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_D): Likewise.
10756 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_D): Likewise.
10757 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_D): Likewise.
10758 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_D): Likewise.
10759 [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_D): Likewise.
10760 * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_E):
10762 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_EP): Likewise.
10763 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_E): Likewise.
10764 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
10765 [_FP_W_TYPE_SIZE < 64] (FP_PACK_E): Likewise.
10766 [_FP_W_TYPE_SIZE < 64] (FP_PACK_EP): Likewise.
10767 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_E): Likewise.
10768 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_EP): Likewise.
10769 [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_E): Likewise.
10770 [_FP_W_TYPE_SIZE < 64] (FP_CMP_E): Likewise.
10771 [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_E): Likewise.
10772 [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_E): Likewise.
10773 [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_E): Likewise.
10774 [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_E): Likewise.
10775 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_E): Likewise.
10776 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_EP): Likewise.
10777 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_E): Likewise.
10778 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
10779 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_E): Likewise.
10780 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_EP): Likewise.
10781 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_E): Likewise.
10782 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_EP): Likewise.
10783 [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_E): Likewise.
10784 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_E): Likewise.
10785 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_E): Likewise.
10786 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_E): Likewise.
10787 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_E): Likewise.
10788 [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_E): Likewise.
10789 * soft-fp/op-1.h (_FP_FRAC_SRST_1): Likewise.
10790 (_FP_FRAC_SRS_1): Likewise.
10791 (_FP_FRAC_CLZ_1): Likewise.
10792 (_FP_MUL_MEAT_1_imm): Likewise.
10793 (_FP_MUL_MEAT_1_wide): Likewise.
10794 (_FP_MUL_MEAT_1_hard): Likewise.
10795 (_FP_SQRT_MEAT_1): Likewise.
10796 (_FP_FRAC_ASSEMBLE_1): Likewise.
10797 (_FP_FRAC_DISASSEMBLE_1): Likewise.
10798 * soft-fp/op-2.h (_FP_FRAC_CLZ_2): Likewise.
10799 (__FP_CLZ_2): Likewise.
10800 (_FP_MUL_MEAT_2_wide): Likewise.
10801 (_FP_MUL_MEAT_2_wide_3mul): Likewise.
10802 (_FP_MUL_MEAT_2_gmp): Likewise.
10803 (_FP_MUL_MEAT_2_120_240_double): Likewise.
10804 (_FP_SQRT_MEAT_2): Likewise.
10805 (_FP_FRAC_ASSEMBLE_2): Likewise.
10806 (_FP_FRAC_DISASSEMBLE_2): Likewise.
10807 * soft-fp/op-4.h (_FP_FRAC_SRS_4): Likewise.
10808 (_FP_FRAC_CLZ_4): Likewise.
10809 (_FP_MUL_MEAT_4_wide): Likewise.
10810 (_FP_MUL_MEAT_4_gmp): Likewise.
10811 (_FP_SQRT_MEAT_4): Likewise.
10812 (_FP_FRAC_ASSEMBLE_4): Likewise.
10813 (_FP_FRAC_DISASSEMBLE_4): Likewise.
10814 * soft-fp/op-common.h (_FP_CMP): Likewise.
10815 (_FP_CMP_EQ): Likewise.
10816 (_FP_CMP_UNORD): Likewise.
10817 (_FP_TO_INT): Likewise.
10818 (_FP_FROM_INT): Likewise.
10819 [!__FP_CLZ] (__FP_CLZ): Likewise.
10820 (_FP_DIV_HELP_imm): Likewise.
10821 * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_Q):
10823 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_QP): Likewise.
10824 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_Q): Likewise.
10825 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_QP): Likewise.
10826 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_Q): Likewise.
10827 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_QP): Likewise.
10828 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
10829 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
10830 [_FP_W_TYPE_SIZE < 64] (FP_PACK_Q): Likewise.
10831 [_FP_W_TYPE_SIZE < 64] (FP_PACK_QP): Likewise.
10832 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_Q): Likewise.
10833 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_QP): Likewise.
10834 [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_Q): Likewise.
10835 [_FP_W_TYPE_SIZE < 64] (FP_CMP_Q): Likewise.
10836 [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_Q): Likewise.
10837 [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_Q): Likewise.
10838 [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_Q): Likewise.
10839 [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_Q): Likewise.
10840 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_Q): Likewise.
10841 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_QP): Likewise.
10842 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_Q): Likewise.
10843 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_QP): Likewise.
10844 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_Q): Likewise.
10845 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_QP): Likewise.
10846 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
10847 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
10848 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_Q): Likewise.
10849 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_QP): Likewise.
10850 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_Q): Likewise.
10851 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_QP): Likewise.
10852 [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_Q): Likewise.
10853 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_Q): Likewise.
10854 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_Q): Likewise.
10855 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_Q): Likewise.
10856 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_Q): Likewise.
10857 [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_Q): Likewise.
10858 * soft-fp/single.h (FP_UNPACK_RAW_S): Likewise.
10859 (FP_UNPACK_RAW_SP): Likewise.
10860 (FP_PACK_RAW_S): Likewise.
10861 (FP_PACK_RAW_SP): Likewise.
10862 (FP_UNPACK_S): Likewise.
10863 (FP_UNPACK_SP): Likewise.
10864 (FP_UNPACK_SEMIRAW_S): Likewise.
10865 (FP_UNPACK_SEMIRAW_SP): Likewise.
10866 (FP_PACK_S): Likewise.
10867 (FP_PACK_SP): Likewise.
10868 (FP_PACK_SEMIRAW_S): Likewise.
10869 (FP_PACK_SEMIRAW_SP): Likewise.
10870 (_FP_SQRT_MEAT_S): Likewise.
10871 (FP_CMP_S): Likewise.
10872 (FP_CMP_EQ_S): Likewise.
10873 (FP_CMP_UNORD_S): Likewise.
10874 (FP_TO_INT_S): Likewise.
10875 (FP_FROM_INT_S): Likewise.
10877 * soft-fp/op-common.h (_FP_TO_INT): Handle rsigned == 2.
10879 * soft-fp/soft-fp.h (FP_EX_INVALID_SNAN): New macro.
10880 (FP_EX_INVALID_IMZ): Likewise.
10881 (FP_EX_INVALID_IMZ_FMA): Likewise.
10882 (FP_EX_INVALID_ISI): Likewise.
10883 (FP_EX_INVALID_ZDZ): Likewise.
10884 (FP_EX_INVALID_IDI): Likewise.
10885 (FP_EX_INVALID_SQRT): Likewise.
10886 (FP_EX_INVALID_CVI): Likewise.
10887 (FP_EX_INVALID_VC): Likewise.
10888 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Specify more precise
10889 "invalid" exceptions.
10890 (_FP_CHECK_SIGNAN_SEMIRAW): Likewise.
10891 (_FP_ADD_INTERNAL): Likewise.
10892 (_FP_MUL): Likewise.
10893 (_FP_FMA): Likewise.
10894 (_FP_DIV): Likewise.
10895 (_FP_CMP_CHECK_NAN): Likewise.
10896 (_FP_SQRT): Likewise.
10897 (_FP_TO_INT): Likewise.
10898 (FP_EXTEND): Likewise.
10900 2014-10-09 Allan McRae <allan@archlinux.org>
10902 * po/fr.po: Update French translation from translation project.
10904 2014-10-09 Joseph Myers <joseph@codesourcery.com>
10907 * stdlib/cxa_atexit.c (__cxa_atexit): Use libc_hidden_def instead
10909 * include/stdlib.h (__cxa_atexit_internal): Remove declaration.
10910 (__cxa_atexit): Use libc_hidden_proto.
10911 [!NOT_IN_libc] (__cxa_atexit): Remove macro definition.
10914 * include/wctype.h [!_ISOMAC] (__iswalpha_l_internal): Remove
10916 [!_ISOMAC] (__iswdigit_l_internal): Likewise.
10917 [!_ISOMAC] (__iswspace_l_internal): Likewise.
10918 [!_ISOMAC] (__iswxdigit_l_internal): Likewise.
10919 [!_ISOMAC] (__iswctype_internal): Likewise.
10920 * stdio-common/siglist.c (_sys_siglist_internal): Remove alias.
10921 * sysdeps/unix/syscalls.list (chown): Remove __chown_internal
10923 (fcntl): Remove __fcntl_internal alias.
10924 * sysdeps/unix/sysv/linux/hppa/syscalls.list (connect): Remove
10925 __connect_internal alias.
10926 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (connect):
10929 * soft-fp/soft-fp.h (FP_DENORM_ZERO): New macro.
10930 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Check
10932 (_FP_CHECK_FLUSH_ZERO): New macro.
10933 (_FP_ADD_INTERNAL): Call _FP_CHECK_FLUSH_ZERO.
10934 (_FP_CMP): Likewise.
10935 (_FP_CMP_EQ): Likewise.
10936 (_FP_TO_INT): Do not set inexact for subnormal arguments if
10938 (FP_EXTEND): Call _FP_CHECK_FLUSH_ZERO.
10939 (FP_TRUNC): Likewise.
10941 * soft-fp/op-common.h (_FP_TO_INT): Ensure maximum exponent is
10942 treated as invalid conversion, not as normal exponent.
10944 * soft-fp/op-common.h (_FP_CMP_CHECK_NAN): New macro.
10945 (_FP_CMP): Add extra argument EX. Call _FP_CMP_CHECK_NAN.
10946 (_FP_CMP_EQ): Likewise.
10947 (_FP_CMP_UNORD): Likewise.
10948 * soft-fp/double.h (FP_CMP_D): Add extra argument EX.
10949 (FP_CMP_EQ_D): Likewise.
10950 (FP_CMP_UNORD_D): Likewise.
10951 * soft-fp/extended.h (FP_CMP_E): Likewise.
10952 (FP_CMP_EQ_E): Likewise.
10953 (FP_CMP_UNORD_E): Likewise.
10954 * soft-fp/quad.h (FP_CMP_Q): Likewise.
10955 (FP_CMP_EQ_Q): Likewise.
10956 (FP_CMP_UNORD_Q): Likewise.
10957 * soft-fp/single.h (FP_CMP_S): Likewise.
10958 (FP_CMP_EQ_S): Likewise.
10959 (FP_CMP_UNORD_S): Likewise.
10960 * soft-fp/eqdf2.c (__eqdf2): Update call to FP_CMP_EQ_D.
10961 * soft-fp/eqsf2.c (__eqsf2): Update call to FP_CMP_EQ_S.
10962 * soft-fp/eqtf2.c (__eqtf2): Update call to FP_CMP_EQ_Q.
10963 * soft-fp/gedf2.c (__gedf2): Update call to FP_CMP_D.
10964 * soft-fp/gesf2.c (__gesf2): Update call to FP_CMP_S.
10965 * soft-fp/getf2.c (__getf2): Update call to FP_CMP_Q.
10966 * soft-fp/ledf2.c (__ledf2): Update call to FP_CMP_D.
10967 * soft-fp/lesf2.c (__lesf2): Update call to FP_CMP_S.
10968 * soft-fp/letf2.c (__letf2): Update call to FP_CMP_Q.
10969 * soft-fp/unorddf2.c (__unorddf2): Update call to FP_CMP_UNORD_D.
10970 * soft-fp/unordsf2.c (__unordsf2): Update call to FP_CMP_UNORD_S.
10971 * soft-fp/unordtf2.c (__unordtf2): Update call to FP_CMP_UNORD_Q.
10972 * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Update call
10974 * sysdeps/sparc/sparc32/soft-fp/q_cmp.c (_Q_cmp): Update call to
10976 * sysdeps/sparc/sparc32/soft-fp/q_cmpe.c (_Q_cmpe): Likewise.
10977 * sysdeps/sparc/sparc32/soft-fp/q_feq.c (_Q_feq): Update call to
10979 * sysdeps/sparc/sparc32/soft-fp/q_fge.c (_Q_fge): Update call to
10981 * sysdeps/sparc/sparc32/soft-fp/q_fgt.c (_Q_fgt): Likewise.
10982 * sysdeps/sparc/sparc32/soft-fp/q_fle.c (_Q_fle): Likewise.
10983 * sysdeps/sparc/sparc32/soft-fp/q_flt.c (_Q_flt): Likewise.
10984 * sysdeps/sparc/sparc32/soft-fp/q_fne.c (_Q_fne): Update call to
10986 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c (_Qp_cmp): Update call to
10988 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c (_Qp_cmpe): Likewise.
10989 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c (_Qp_feq): Update call to
10991 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c (_Qp_fge): Update call to
10993 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c (_Qp_fgt): Likewise.
10994 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c (_Qp_fle): Likewise.
10995 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c (_Qp_flt): Likewise.
10996 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c (_Qp_fne): Update call to
10999 * soft-fp/op-common.h (FP_EXTEND): When a subnormal input produces
11000 a subnormal result, set the underflow exception if trapping on
11001 underflow is enabled.
11002 * soft-fp/soft-fp.h (FP_INIT_TRAPPING_EXCEPTIONS): New macro.
11003 (FP_INIT_EXCEPTIONS): Default to FP_INIT_TRAPPING_EXCEPTIONS.
11004 [FP_NO_EXACT_UNDERFLOW] (FP_TRAPPING_EXCEPTIONS): Undefine and
11006 * soft-fp/extenddftf2.c (FP_NO_EXACT_UNDERFLOW): Define.
11007 * soft-fp/extendsfdf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
11008 * soft-fp/extendsftf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
11009 * soft-fp/extendxftf2.c (__extendxftf2): Use
11010 FP_INIT_TRAPPING_EXCEPTIONS instead of FP_INIT_ROUNDMODE.
11012 * soft-fp/soft-fp.h (FP_CLEAR_EXCEPTIONS): Remove macro.
11013 * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: Define FP_NO_EXCEPTIONS.
11014 (_Q_itoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
11015 FP_HANDLE_EXCEPTIONS.
11016 * sysdeps/sparc/sparc32/soft-fp/q_lltoq.c: Define FP_NO_EXCEPTIONS.
11017 (_Q_lltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
11018 FP_HANDLE_EXCEPTIONS.
11019 * sysdeps/sparc/sparc32/soft-fp/q_ulltoq.c: Define FP_NO_EXCEPTIONS.
11020 (_Q_ulltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
11021 FP_HANDLE_EXCEPTIONS.
11022 * sysdeps/sparc/sparc32/soft-fp/q_utoq.c: Define FP_NO_EXCEPTIONS.
11023 (_Q_utoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
11024 FP_HANDLE_EXCEPTIONS.
11026 2014-10-08 Joseph Myers <joseph@codesourcery.com>
11029 * sysdeps/unix/sysv/linux/include/sys/timex.h: New file.
11030 * sysdeps/unix/sysv/linux/adjtime.c [!ADJTIMEX] (ADJTIMEX): Do not
11032 [!ADJTIMEX] (INTUSE(__adjtimex)): Remove declaration.
11033 * sysdeps/unix/sysv/linux/alpha/adjtime.c (__adjtimex_internal):
11035 (__adjtimex): Define using libc_hidden_ver.
11036 * sysdeps/unix/sysv/linux/ntp_gettime.c (INTUSE(__adjtimex)):
11037 Remove declaration.
11038 (ntp_gettime): Call __adjtimex directly.
11039 * sysdeps/unix/sysv/linux/ntp_gettimex.c (INTUSE(__adjtimex)):
11040 Remove declaration.
11041 (ntp_gettimex): Call __adjtimex directly.
11042 * sysdeps/unix/sysv/linux/syscalls.list (adjtimex): Remove
11043 __adjtimex_internal alias.
11045 2014-10-08 Roland McGrath <roland@hack.frob.com>
11048 * nscd/nscd.c (more_help): Rewrite list of tables collection
11049 using xstrdup and asprintf.
11051 * nscd/nscd_conf.c: Remove local xstrdup declaration.
11053 2014-10-08 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
11054 Roland McGrath <roland@hack.frob.com>
11056 * elf/dl-lookup.c (enter_unique_sym): New function, broken out of ...
11057 (do_lookup_unique): ... local function 'enter' here; update callers.
11059 2014-10-06 Joseph Myers <joseph@codesourcery.com>
11061 * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Condition
11062 compat_symbol calls on [SHARED].
11063 * sysdeps/unix/sysv/linux/powerpc/lchown.S: Remove file.
11064 * sysdeps/unix/sysv/linux/i386/syscalls.list (oldsetrlimit):
11066 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
11067 * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list
11068 (oldsetrlimit): Remove.
11069 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
11070 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
11071 (lchown): New syscall entry.
11072 (oldsetrlimit): Remove.
11073 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
11074 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list
11075 (oldsetrlimit): Remove.
11076 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
11079 * sysdeps/unix/sysv/linux/arm/fchown.c: Remove file.
11080 * sysdeps/unix/sysv/linux/arm/lchown.c: Likewise.
11081 * sysdeps/unix/sysv/linux/m68k/fchown.c: Likewise.
11082 * sysdeps/unix/sysv/linux/m68k/lchown.c: Likewise.
11083 * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
11084 * sysdeps/unix/sysv/linux/arm/syscalls.list (lchown): Add syscall.
11085 (fchown): Likewise.
11086 * sysdeps/unix/sysv/linux/m68k/syscalls.list (lchown): Likewise.
11087 (fchown): Likewise.
11088 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list (chown):
11091 2014-10-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11093 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Remove file.
11094 * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c
11095 (pthread_spin_unlock): Use __ARCH_REL_INSTR instead of
11096 __lll_rel_instr and __ARCH_ACQ_INSTR instead of __lll_acq_instr.
11097 * sysdeps/unix/sysv/linux/powerpc/sem_post.c (__new_sem_post):
11099 (__old_sem_post): Likewise.
11101 2014-10-06 Chris Metcalf <cmetcalf@tilera.com>
11103 * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Define
11104 INLINE_VSYSCALL, INTERNAL_VSYSCALL, and
11105 HAVE_CLOCK_GETTIME_VSYSCALL macros.
11106 * sysdeps/unix/sysv/linux/tile/gettimeofday.c (__gettimeofday):
11107 Use INLINE_VSYSCALL macro.
11108 * sysdeps/unix/sysv/linux/tile/bits/libc-vdso: Add declaration of
11109 __vdso_clock_gettime.
11110 * sysdeps/unix/sysv/linux/tile/init-first.c
11111 (_libc_vdso_platform_setup): Set new __vdso_clock_gettime global.
11112 * sysdeps/unix/sysv/linux/tile/Versions (GLIBC_PRIVATE): Add
11113 __vdso_clock_gettime.
11115 * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Fix code
11116 to set up frame more cleanly.
11118 * sysdeps/tile/memcmp.c: New file.
11120 * sysdeps/unix/sysv/linux/tile/sysconf.c: New file.
11122 * sysdeps/tile/tilegx/string-endian.h (STRSHIFT): New macro.
11123 * sysdeps/tile/tilegx/strcasestr.c: New file.
11124 * sysdeps/tile/tilegx/strnlen.c: New file.
11125 * sysdeps/tile/tilegx/strstr.c: New file.
11127 * sysdeps/tile/tilegx/string-endian.h (copy_byte): Optimize.
11129 2014-10-06 Arjun Shankar <arjun.is@lostca.se>
11131 * nptl/tst-setuid3.c: Write errors to stdout.
11133 2014-10-01 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
11136 (preload): New functions broken out of _dl_map_object_deps.
11137 (_dl_map_object_deps): Remove a nested function. Update call sites.
11139 2014-10-01 Joseph Myers <joseph@codesourcery.com>
11142 * sysdeps/unix/sysv/linux/execve.c: Remove file.
11143 * sysdeps/unix/sysv/linux/syscalls.list (execve): Add syscall.
11145 2014-10-01 Steve Ellcey <sellcey@mips.com>
11147 * sysdeps/mips/strcmp.S: New.
11149 2014-09-30 Joseph Myers <joseph@codesourcery.com>
11152 * sysdeps/unix/sysv/linux/syscalls.list (fchownat): New syscall.
11153 (linkat): Likewise.
11154 (mkdirat): Likewise.
11155 (readlinkat): Likewise.
11156 (renameat): Likewise.
11157 (symlinkat): Likewise.
11158 (unlinkat): Likewise.
11159 * sysdeps/unix/sysv/linux/fchownat.c: Remove file.
11160 * sysdeps/unix/sysv/linux/linkat.c: Likewise.
11161 * sysdeps/unix/sysv/linux/mkdirat.c: Likewise.
11162 * sysdeps/unix/sysv/linux/readlinkat.c: Likewise.
11163 * sysdeps/unix/sysv/linux/renameat.c: Likewise.
11164 * sysdeps/unix/sysv/linux/symlinkat.c: Likewise.
11165 * sysdeps/unix/sysv/linux/unlinkat.c: Likewise.
11167 2014-09-30 Will Newton <will.newton@linaro.org>
11169 * math/math.h: Define long double math functions if
11170 _LIBC_TEST is defined.
11171 * stdlib/tst-strtod-round.c: Define _LIBC_TEST.
11173 * localedata/Makefile: Move assignment to tests-special
11174 into an ifdef testing run-built-tests.
11175 * timezone/Makefile: Likewise.
11177 2014-09-29 Joseph Myers <joseph@codesourcery.com>
11179 * sysdeps/x86/Makefile ($(objpfx)tst-ld-sse-use.out): Run script
11180 with $(BASH) not $(SHELL).
11182 2014-09-29 Carlos O'Donell <carlos@redhat.com>
11183 Matthew LeGendre <legendre1@llnl.gov>
11186 * elf/dl-reloc.c (_dl_relocate_object): Allocate correct amount for
11189 2014-09-29 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
11191 * stdio-common/printf_fp.c
11192 (hack_digit): New function, broken out of ...
11193 (__printf_fp): ... local function here. Update call sites.
11194 hack_digit now takes an additional parameter that is a pointer
11195 to a struct of the referenced locals. Those locals moved inside
11196 the struct and references updated.
11198 2014-09-29 H.J. Lu <hongjiu.lu@intel.com>
11200 * aclocal.m4: Require autoconf 2.69.
11201 * configure: Regenerated.
11202 * sysdeps/aarch64/configure: Likewise.
11203 * sysdeps/alpha/configure: Likewise.
11204 * sysdeps/arm/armv7/configure: Likewise.
11205 * sysdeps/arm/configure: Likewise.
11206 * sysdeps/ia64/configure: Likewise.
11207 * sysdeps/mach/configure: Likewise.
11208 * sysdeps/mips/configure: Likewise.
11209 * sysdeps/s390/configure: Likewise.
11210 * sysdeps/unix/sysv/linux/mips/configure: Likewise.
11211 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Likewise.
11213 * sysdeps/alpha/configure.ac: Avoid empty lines at the end of
11215 * sysdeps/ia64/configure.ac: Likewise.
11217 2014-09-26 Joseph Myers <joseph@codesourcery.com>
11219 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Do not
11220 specify symbol version for ld.so. Do not include entry for
11222 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
11223 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
11224 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
11227 * Makeconfig [$(build-shared) = yes]
11228 ($(common-objpfx)soversions.mk): Don't handle SONAMEs specified in
11230 [$(build-shared) = yes && $(soversions.mk-done) = t]
11231 ($(common-objpfx)gnu/lib-names.h): Remove rule.
11232 [$(build-shared) = yes && $(soversions.mk-done) = t]
11233 ($(common-objpfx)gnu/lib-names.stmp): Likewise. Split and moved
11235 [$(build-shared) = yes && $(soversions.mk-done) = t]
11236 (before-compile): Don't append $(common-objpfx)gnu/lib-names.h
11238 [$(build-shared) = yes && $(soversions.mk-done) = t]
11239 (common-generated): Don't append gnu/lib-names.h and
11240 gnu/lib-names.stmp here.
11241 * Makerules [$(build-shared) = yes && $(soversions.mk-done) = t]
11242 (lib-names-h-abi): New variable.
11243 [$(build-shared) = yes && $(soversions.mk-done) = t]
11244 (lib-names-stmp-abi): Likewise.
11245 [$(build-shared) = yes && $(soversions.mk-done) = t &&
11246 abi-variants] (before-compile): Append
11247 $(common-objpfx)$(lib-names-h-abi).
11248 [$(build-shared) = yes && $(soversions.mk-done) = t &&
11249 abi-variants] (common-generated): Append gnu/lib-names.h.
11250 [$(build-shared) = yes && $(soversions.mk-done) = t &&
11251 abi-variants] (install-others-nosubdir): Depend on
11252 $(inst_includedir)/$(lib-names-h-abi).
11253 [$(build-shared) = yes && $(soversions.mk-done) = t &&
11254 abi-variants] ($(common-objpfx)gnu/lib-names.h): New rule.
11255 [$(build-shared) = yes && $(soversions.mk-done) = t]
11256 ($(common-objpfx)$(lib-names-h-abi)): New rule.
11257 [$(build-shared) = yes && $(soversions.mk-done) = t]
11258 ($(common-objpfx)$(lib-names-stmp-abi)): Likewise.
11259 [$(build-shared) = yes && $(soversions.mk-done) = t]
11260 (common-generated): Append $(lib-names-h-abi) and
11261 $(lib-names-stmp-abi).
11262 * scripts/lib-names.awk: Do not handle multi being set.
11263 * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-ld-soname):
11265 (abi-lp64_be-ld-soname): Likewise.
11266 * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-ld-soname):
11268 (abi-hard-ld-soname): Likewise.
11269 * sysdeps/unix/sysv/linux/i386/shlib-versions: New file.
11270 * sysdeps/unix/sysv/linux/mips/Makefile (abi-o32_soft-ld-soname):
11272 (abi-o32_hard-ld-soname): Likewise.
11273 (abi-o32_soft_2008-ld-soname): Likewise.
11274 (abi-o32_hard_2008-ld-soname): Likewise.
11275 (abi-n32_soft-ld-soname): Likewise.
11276 (abi-n32_hard-ld-soname): Likewise.
11277 (abi-n32_soft_2008-ld-soname): Likewise.
11278 (abi-n32_hard_2008-ld-soname): Likewise.
11279 (abi-n64_soft-ld-soname): Likewise.
11280 (abi-n64_hard-ld-soname): Likewise.
11281 (abi-n64_soft_2008-ld-soname): Likewise.
11282 (abi-n64_hard_2008-ld-soname): Likewise.
11283 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-64-v1-ld-soname):
11285 (abi-64-v2-ld-soname): Likewise.
11286 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Add
11288 * sysdeps/unix/sysv/linux/s390/Makefile (abi-64-ld-soname): Remove
11290 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Add ld.so
11292 * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-ld-soname): Remove
11294 (abi-64-ld-soname): Likewise.
11295 (abi-x32-ld-soname): Likewise.
11296 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Add ld.so
11298 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
11300 2014-09-23 Joseph Myers <joseph@codesourcery.com>
11303 * sysdeps/unix/sysv/linux/arm/setrlimit.c: Remove file.
11304 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Likewise.
11305 * sysdeps/unix/sysv/linux/m68k/setrlimit.c: Likewise.
11306 * sysdeps/unix/sysv/linux/powerpc/setrlimit.c: Likewise.
11307 * sysdeps/unix/sysv/linux/s390/s390-32/setrlimit.c: Likewise.
11308 * sysdeps/unix/sysv/linux/sh/setrlimit.c: Likewise.
11309 * sysdeps/unix/sysv/linux/i386/syscalls.list (setrlimit): Add
11310 syscall entry for GLIBC_2.2 symbol version.
11311 * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list (setrlimit):
11313 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
11314 (setrlimit): Likewise.
11315 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setrlimit):
11318 2014-09-23 Will Newton <will.newton@linaro.org>
11320 * sysdeps/unix/sysv/linux/arm/bits/hwcap.h: Check for
11321 _LINUX_ARM_SYSDEP_H include guard too.
11322 * sysdeps/unix/sysv/linux/arm/sysdep.h (_SYS_AUXV_H): Remove
11325 2014-09-20 Rasmus Villemoes <rv@rasmusvillemoes.dk>
11327 * sysdeps/unix/sysv/linux/eventfd.c:
11328 Make first argument unsigned.
11329 * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Likewise.
11330 * sysdeps/unix/sysv/linux/sys/eventfd.h: Likewise.
11332 2014-09-20 Ondřej Bílka <neleai@seznam.cz>
11334 * socket/recvmmsg.c (recvmmsg): Drop const argument.
11335 * socket/sys/socket.h: Likewise
11336 * sysdeps/unix/sysv/linux/recvmmsg.c: Likewise.
11338 2014-09-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11340 * stdlib/longlong.h: Add __udiv_w_sdiv prototype.
11342 2014-09-17 Arjun Shankar <arjun.is@lostca.se>
11344 * time/tst-ftime.c: New test.
11345 * time/Makefile (tests): Add tst-ftime.
11347 2014-09-17 Joseph Myers <joseph@codesourcery.com>
11349 * soft-fp/extended.h: Fix comment formatting.
11350 * soft-fp/op-1.h: Likewise.
11351 * soft-fp/op-2.h: Likewise.
11352 * soft-fp/op-4.h: Likewise.
11353 * soft-fp/op-8.h: Likewise.
11354 * soft-fp/op-common.h: Likewise.
11355 * soft-fp/soft-fp.h: Likewise.
11357 * soft-fp/op-common.h (_FP_TO_INT): Correct formatting.
11359 2014-09-16 Joseph Myers <joseph@codesourcery.com>
11362 * Makeconfig (soversions-default-setname): Remove variable.
11363 ($(common-objpfx)soversions.i): Don't pass default_setname to
11365 * Makerules ($(common-objpfx)abi-versions.h): Don't pass
11366 oldest_abi to abi-versions.awk.
11367 * config.h.in (GLIBC_OLDEST_ABI): Remove macro undefine.
11368 * config.make.in (oldest-abi): Remove variable.
11369 * configure.ac (--enable-oldest-abi): Remove configure option.
11370 * configure: Regenerated.
11371 * csu/version.c (banner) [GLIBC_OLDEST_ABI]: Remove conditional
11373 * scripts/abi-versions.awk: Do not handle oldest_abi variable.
11374 * scripts/soversions.awk: Do not handle default_setname variable.
11375 * sysdeps/mach/hurd/configure.ac: Do not handle oldest_abi
11377 * sysdeps/mach/hurd/configure: Regenerated.
11378 * sysdeps/unix/sysv/linux/configure.ac: Do not handle oldest_abi
11380 * sysdeps/unix/sysv/linux/configure: Regenerated.
11382 2014-09-16 Siddhesh Poyarekar <siddhesh@redhat.com>
11384 * elf/Makefile (CFLAGS-interp.c): Remove.
11385 ($(elf-objpfx)runtime-linker.h): Generate header with linker
11387 * elf/interp.c: Include generated runtime-linker.h
11389 * Makerules (lib%.so): Don't include $(+interp) in
11391 * elf/Makefile (CFLAGS-interp.c): Don't define NOT_IN_libc.
11392 * dlfcn/eval.c: Remove file.
11394 * posix/getconf.c (vars): Don't check for _[SP]C_* and _CS
11398 * misc/sys/cdefs.h: Define __extern_always_inline for clang
11402 * libio/wfileops.c (do_ftell_wide): Free OUT on error path.
11404 2014-09-16 Siddhesh Poyarekar <siddhesh@redhat.com>
11405 Jakub Jelinek <jakub@redhat.com>
11408 * libio/stdio.h: Check definition of __fortify_function
11409 instead of __extern_always_inline to include bits/stdio2.h.
11410 * math/bits/math-finite.h [__USE_XOPEN || __USE_ISOC99]: Also
11411 check if __extern_always_inline is defined.
11412 [__USE_MISC || __USE_XOPEN]: Likewise.
11413 [__USE_ISOC99] Likewise.
11414 * misc/sys/cdefs.h (__fortify_function): Define only if
11415 __extern_always_inline is defined.
11416 [!__cplusplus || __GNUC_PREREQ (4,3)]: Revert to defining
11417 __extern_always_inline and __extern_inline only for g++-4.3
11418 and newer or a compatible gcc.
11420 2014-09-15 Andreas Schwab <schwab@linux-m68k.org>
11423 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
11424 last change to handle zero prefix length.
11426 2014-09-15 Siddhesh Poyarekar <siddhesh@redhat.com>
11428 * sysdeps/posix/sysconf.c (__sysconf): Return -1 for
11431 * posix/getconf.c (vars): Add _POSIX_IPV6 and
11432 _POSIX_RAW_SOCKETS.
11434 2014-09-13 Allan McRae <allan@archlinux.org>
11436 * po/ru.po: Update Russian translation from translation project.
11438 2014-09-12 Roland McGrath <roland@hack.frob.com>
11440 * locale/programs/locale.c (show_locale_vars): Inline local function
11441 into its sole call site. Clean up some style nits.
11442 (print_item): New function, broken out of ...
11443 (show_info): ... local function here. Clean up style nits.
11445 * locale/programs/ld-ctype.c (set_one_default): New function, broken
11447 (set_class_defaults): ... local function set_default here.
11448 Define set_default as a macro locally to pass constant parameters.
11449 (allocate_arrays, set_class_defaults): Use C99 for scope for each CNT,
11450 rather than a shared local.
11452 * stdlib/rpmatch.c (try): New function, broken out of ...
11453 (rpmatch): ... local function here. Also, prototypify definition.
11455 2014-09-12 Joseph Myers <joseph@codesourcery.com>
11457 * scripts/soversions.awk: Do not handle configuration names.
11458 * Makeconfig ($(common-objpfx)soversions.i): Do not pass cpu,
11459 vendor and os variables to soversions.awk.
11460 * configure.ac: Do not modify gnu-* host_os.
11461 * configure: Regenerated
11462 * shlib-versions: Remove first column with configuration names.
11463 * nptl/shlib-versions: Likewise.
11464 * nptl_db/shlib-versions: Likewise.
11465 * sysdeps/hppa/shlib-versions: Likewise.
11466 * sysdeps/m68k/shlib-versions: Likewise.
11467 * sysdeps/mach/hurd/shlib-versions: Likewise.
11468 * sysdeps/unix/sysv/linux/aarch64/shlib-versions: Likewise.
11469 * sysdeps/unix/sysv/linux/alpha/shlib-versions: Likewise.
11470 * sysdeps/unix/sysv/linux/arm/shlib-versions: Likewise.
11471 * sysdeps/unix/sysv/linux/hppa/shlib-versions: Likewise.
11472 * sysdeps/unix/sysv/linux/ia64/shlib-versions: Likewise.
11473 * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: Likewise.
11474 * sysdeps/unix/sysv/linux/microblaze/shlib-versions: Likewise.
11475 * sysdeps/unix/sysv/linux/mips/shlib-versions: Likewise.
11476 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
11478 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
11479 * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
11480 * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
11481 * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
11482 * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
11483 * sysdeps/unix/sysv/linux/tile/shlib-versions: Likewise.
11484 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
11485 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
11487 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
11488 (HAVE_ELFV2_ABI): AC_DEFINE in ELFv2 case.
11489 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
11491 * config.h.in (HAVE_ELFV2_ABI): New macro undefine.
11492 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
11493 Condition symbol version definitions on [HAVE_ELFV2_ABI].
11495 * shlib-versions: Remove OS-specific entries. Moved to files in
11497 * sysdeps/mach/hurd/shlib-versions: New file.
11498 * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
11500 * nptl/shlib-versions: Remove architecture-specific entries.
11501 Moved to files in sysdeps.
11502 * shlib-versions: Likewise.
11503 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: New
11505 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
11506 * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
11507 * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
11508 * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
11510 * sysdeps/gnu/netinet/udp.h (UDP_NO_CHECK6_TX): New macro.
11511 (UDP_NO_CHECK6_RX): Likewise.
11513 2014-09-12 Siddhesh Poyarekar <siddhesh@redhat.com>
11515 * sysdeps/posix/sysconf.c (__sysconf): Spell
11516 _POSIX_DEVICE_SPECIFIC and _POSIX_DEVICE_SPECIFIC_R correctly.
11518 2014-08-12 Florian Weimer <fweimer@redhat.com>
11520 * iconv/gconv_open.c (__gconv_open): Remove transliteration module
11522 * iconv/Versions (__gconv_transliterate): Export for use from
11524 * iconv/gconv.h (__GCONV_TRANSLIT): New flag.
11525 (struct __gconv_trans_data, __gconv_trans_fct,
11526 __gconv_trans_context_fct, __gconv_trans_query_fct,
11527 __gconv_trans_init_fct, __gconv_trans_end_fct): Remove type
11529 (struct __gconv_step_data): Remove __trans member.
11530 (__gconv_transliterate): Declaration moved from gconv_int.h. No
11531 longer hidden. Remove unused trans_data argument.
11532 * iconv/gconv_int.h (struct trans_struct): Remove definition.
11533 (__gconv_translit_find): Remove declaration.
11534 (__gconv_transliterate): Declaration moved to gconv.h. Add hidden
11536 * iconv/gconv_close.c (__gconv_close): Remove __trans cleanup.
11537 * iconv/gconv_trans.c (__gconv_transliterate): Remove unused
11538 trans_data argument. Add hidden definition.
11539 (__gconv_translit_find): Remove.
11540 * iconv/loop.c (STANDARD_TO_LOOP_ERR_HANDLER): Call
11541 __gconv_transliterate directly if __GCONV_TRANSLIT is set.
11542 * iconv/skeleton.c: Remove transliteration initialization.
11543 * libio/fileops.c (_IO_new_file_fopen): Adjust struct
11544 __gconv_step_data initialization.
11545 * libio/iofwide.c (__libio_translit_): Remove.
11546 (_IO_fwide): Adjust struct __gconv_step_data initialization.
11547 * wcsmbs/btowc.c (__btowc): Likewise.
11548 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
11549 * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
11550 * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
11551 * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
11552 * wcsmbs/wcrtomb.c (__wcrtomb): Likewise.
11553 * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
11554 * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
11555 * wcsmbs/wctob.c (wctob): Likewise.
11557 2014-09-12 Siddhesh Poyarekar <siddhesh@redhat.com>
11560 * sysdeps/x86/tst-xmmymm.sh: Rename file to...
11561 * sysdeps/x86/tst-ld-sse-use.sh: ... this. Check for zmm
11563 * sysdeps/x86/Makefile: Adjust.
11565 2014-09-11 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
11566 Roland McGrath <roland@hack.frob.com>
11568 * locale/weight.h: Add include guard.
11569 (findidx): Make static rather than auto; take new parameters
11570 TABLE, INDIRECT, and EXTRA instead of getting them as outer locals.
11571 * locale/weightwc.h: Likewise.
11572 * posix/fnmatch_loop.c
11573 (FCT): Change type of EXTRA from int32_t to wint_t.
11574 Don't include either header inside the function.
11575 Call FINDIDX rather than findidx, and pass new arguments.
11576 #undef FINDIDX at the end of the file.
11577 * posix/fnmatch.c [_LIBC]: #include <locale/weight.h> and define
11578 FINDIDX before including fnmatch_loop.c for the non-wide version.
11579 [_LIBC] [HANDLE_MULTIBYTE]: #define findidx to findidxwc around
11580 #include <locale/weightwc.h>, and define FINDIDX to findidxwc
11581 for the wide version.
11582 * posix/regcomp.c [_LIBC]: #include <locale/weight.h>.
11583 (build_equiv_class) [_LIBC]: Don't #include it inside the function.
11584 Pass new arguments to findidx.
11585 * posix/regexec.c [RE_ENABLE_I18N] [_LIBC]: #include <locale/weight.h>.
11586 [RE_ENABLE_I18N] (check_node_accept_bytes) [_LIBC]:
11587 Don't #include it inside the function. Pass new arguments to findidx.
11588 * posix/regex_internal.h
11589 [!NOT_IN_libc] [_LIBC]: #include <locale/weight.h>.
11590 (re_string_elem_size_at): Don't #include it inside the function.
11591 Pass new arguments to findidx.
11592 * string/strcoll_l.c: #include WEIGHT_H at top level.
11593 (get_next_seq): Don't #include it inside the function.
11594 Pass new arguments to findidx.
11595 (get_next_seq_nocache): Likewise.
11596 * string/strxfrm_l.c: #include WEIGHT_H at top level.
11597 (STRXFRM): Don't #include it inside the function.
11598 Pass new arguments to findidx.
11600 2014-09-11 Florian Weimer <fweimer@redhat.com>
11603 * malloc/malloc.c (unlink): Turn asserts into a call to
11606 2014-09-11 Tim Lammens <tim.lammens@gmail.com>
11609 * libio/wfileops (do_ftell_wide): Free OUT.
11611 2014-09-10 Chris Metcalf <cmetcalf@tilera.com>
11613 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Remove file.
11615 2014-09-10 Siddhesh Poyarekar <siddhesh@redhat.com>
11618 * inet/getnetgrent_r.c (__internal_getnetgrent_r): Try next
11619 group if the current group is empty.
11621 2014-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11623 * benchtests/bench-memset.c (test_main): Add more test from size
11624 from 32 to 512 bytes.
11625 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
11626 Add POWER8 memset object.
11627 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11628 (__libc_ifunc_impl_list): Add POWER8 memset and bzero implementations.
11629 * sysdeps/powerpc/powerpc64/multiarch/bzero.c (__bzero): Add POWER8
11631 * sysdeps/powerpc/powerpc64/multiarch/memset.c (__libc_memset):
11633 * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: New file:
11634 multiarch POWER8 memset optimization.
11635 * sysdeps/powerpc/powerpc64/power8/memset.S: New file: optimized
11636 POWER8 memset optimization.
11638 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
11639 Remove bzero multiarch objects.
11640 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: Remove file.
11641 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: Likewise.
11642 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: Likewise.
11643 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S [NO_BZERO_IMPL]:
11645 [__bzero]: Redefine to specific name.
11646 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
11647 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
11648 * sysdeps/powerpc/powerpc64/power4/memset.S [NO_BZERO_IMPL]: Remove
11650 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
11651 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
11653 2014-09-10 Florian Weimer <fweimer@redhat.com>
11655 * Makeconfig (gccwarn-c): Turn implicit-function-declaration
11656 warnings into errors.
11658 * stdlib/tst-tls-atexit-lib.c: Include <stdlib.h>, for the
11659 __cxa_thread_atexit_impl prototype.
11661 2014-09-09 Steve Ellcey <sellcey@mips.com>
11663 * sysdeps/mips/preconfigure: Put code inside mips* case statement.
11664 Fix capitalization of error message.
11666 2014-09-09 Steve Ellcey <sellcey@mips.com>
11668 * sysdeps/mips/preconfigure: Modify ABI tests.
11670 2014-09-07 Carlos O'Donell <carlos@systemhalted.org>
11672 * sysdeps/unix/sysv/linux/hppa/c++-types.data: New file.
11674 2014-09-07 Roland McGrath <roland@hack.frob.com>
11675 Carlos O'Donell <carlos@systemhalted.org>
11677 * sysdeps/unix/sysv/linux/hppa/nptl/libc-lowlevellock.c: File removed.
11678 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Moved ...
11679 * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: ... here.
11680 * sysdeps/unix/sysv/linux/hppa/nptl/pt-vfork.S: Moved ...
11681 * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: ... here.
11682 * sysdeps/unix/sysv/linux/hppa/nptl/pthread.h: Moved ...
11683 * sysdeps/unix/sysv/linux/hppa/pthread.h: ... here.
11684 * sysdeps/unix/sysv/linux/hppa/nptl/pthreadP.h: Moved ...
11685 * sysdeps/unix/sysv/linux/hppa/pthreadP.h: ... here.
11686 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_broadcast.c: Moved ...
11687 * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c: ... here.
11688 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_destroy.c: Moved ...
11689 * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c: ... here.
11690 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_init.c: Moved ...
11691 * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c: ... here.
11692 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_signal.c: Moved ...
11693 * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c: ... here.
11694 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_timedwait.c: Moved ...
11695 * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c: ... here.
11696 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_wait.c: Moved ...
11697 * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c: ... here.
11698 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Moved ...
11699 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: ... here.
11700 * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h: Moved ...
11701 * sysdeps/hppa/nptl/bits/pthreadtypes.h: ... here.
11702 * sysdeps/unix/sysv/linux/hppa/nptl/bits/semaphore.h: Moved ...
11703 * sysdeps/hppa/nptl/bits/semaphore.h: ... here.
11704 * sysdeps/unix/sysv/linux/hppa/clone.S: Include <tcb-offsets.h>.
11705 Deconditionalize the code that was previously under [RESET_PID].
11706 * sysdeps/unix/sysv/linux/hppa/nptl/clone.S: File removed.
11707 * sysdeps/unix/sysv/linux/hppa/arch-fork.h: New file.
11708 * sysdeps/unix/sysv/linux/hppa/nptl/fork.c: File removed.
11709 * sysdeps/hppa/nptl/tcb-offsets.sym: Include pthread.h and don't
11712 2014-09-08 Allan McRae <allan@archlinux.org>
11714 * version.h (RELEASE): Set to "development".
11715 (VERSION): Set to "2.20.90"
11717 2014-09-07 Allan McRae <allan@archlinux.org
11719 * version.h (RELEASE): Set to "stable".
11720 (VERSION): Set to "2.20"
11721 * include/features.h (__GLIBC_MINOR__): Set to 20.
11723 * manual/contrib.texi: Add entries for Wilco Dijkstra and Stefan
11726 * po/ko.po: Update Korean translation from translation project.
11728 2014-09-06 Chris Metcalf <cmetcalf@tilera.com>
11731 * sysdeps/tile/dl-machine.h (elf_machine_rela): Add a MUNGE_SIGNED
11732 macro for handling signed relocations.
11734 2014-09-03 Florian Weimer <fweimer@redhat.com>
11737 * iconvdata/ibm1364.c (BODY): Fix check for sentinel.
11738 * iconvdata/ibm932.c (BODY): Replace invalid sentinel check with
11740 * iconvdata/ibm933.c (BODY): Fix check for sentinel.
11741 * iconvdata/ibm935.c (BODY): Likewise.
11742 * iconvdata/ibm937.c (BODY): Likewise.
11743 * iconvdata/ibm939.c (BODY): Likewise.
11744 * iconvdata/ibm943.c (BODY): Replace invalid sentinel check with
11746 * iconvdata/Makefile (iconv-test.out): Pass module list to test
11748 * iconvdata/run-iconv-test.sh: New test loop for checking for
11751 2014-09-02 Khem Raj <raj.khem@gmail.com>
11753 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (fegetenv): Add
11756 2014-09-01 Allan McRae <allan@archlinux.org>
11758 * po/eo.po: Update Esperanto translation from translation project.
11760 * po/ca.po: Update Catalan translation from translation project.
11762 2014-08-28 Samuel Thibault <samuel.thibault@ens-lyon.org>
11764 * sysdeps/mach/hurd/fork.c (__fork): Lock SS->lock around
11765 __proc_dostop call.
11767 2014-08-27 Mark Wielaard <mjw@redhat.com>
11770 * sysdeps/i386/nptl/tls.h (TLS_INIT_TP): Use INTERNAL_SYSCALL
11771 to call set_thread_area instead of hand written asm.
11772 (__NR_set_thread_area): Removed define.
11773 (TLS_FLAG_WRITABLE): Likewise.
11774 (__ASSUME_SET_THREAD_AREA): Remove check.
11775 (TLS_EBX_ARG): Remove define.
11776 (TLS_LOAD_EBX): Likewise.
11778 2014-08-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
11780 Simplify atomicity of socket creation in bind.
11782 * sysdeps/mach/hurd/bind.c (__bind): Use dir_lookup(node, "") instead of
11783 looking up the name after linking the file.
11785 2014-08-27 Allan McRae <allan@archlinux.org>
11787 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
11789 2014-08-26 Florian Weimer <fweimer@redhat.com>
11792 * iconv/gconv_trans.c (struct known_trans, search_tree, lock,
11793 trans_compare, open_translit, __gconv_translit_find):
11794 Remove module loading code.
11796 2014-08-26 Allan McRae <allan@archlinux.org>
11798 * po/vi.po: Update Vietnamese translation from translation project.
11800 * po/uk.po: Update Ukrainian translation from translation project.
11802 * po/fr.po: Update French translation from translation project.
11804 * po/ru.po: Update Russian translation from translation project.
11806 * po/pl.po: Update Polish translation from translation project.
11808 * po/cs.po: Update Czech translation from translation project.
11810 * po/de.po: Update German translation from translation project.
11812 * po/bg.po: Update Bulgarian translation from translation project.
11814 * po/sv.po: Update Sweedish translation from translation project.
11816 * po/nl.po: Update Dutch translation from translation project.
11818 * po/es.po: Update Spanish translation from translation project.
11820 2014-08-21 Siddhesh Poyarekar <siddhesh@redhat.com>
11822 * nptl/Makefile (CFLAGS-pthread_atfork.c): Remove.
11824 * catgets/Makefile (CPPFLAGS-gencat): Remove.
11825 * iconv/Makefile (CPPFLAGS-iconv_prog): Likewise.
11826 (CPPFLAGS-iconvconfig): Likewise.
11827 * timezone/Makefile (CPPFLAGS-zic): Likewise.
11829 * include/libc-symbols.h: Remove unnecessary check for
11831 * nptl/pthreadP.h: Likewise.
11832 * sysdeps/aarch64/setjmp.S: Likewise.
11833 * sysdeps/alpha/setjmp.S: Likewise.
11834 * sysdeps/arm/sysdep.h: Likewise.
11835 * sysdeps/i386/setjmp.S: Likewise.
11836 * sysdeps/m68k/setjmp.c: Likewise.
11837 * sysdeps/posix/getcwd.c: Likewise.
11838 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
11839 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
11840 * sysdeps/s390/s390-32/setjmp.S: Likewise.
11841 * sysdeps/s390/s390-64/setjmp.S: Likewise.
11842 * sysdeps/sh/sh3/setjmp.S: Likewise.
11843 * sysdeps/sh/sh4/setjmp.S: Likewise.
11844 * sysdeps/unix/alpha/sysdep.h: Likewise.
11845 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
11846 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
11847 * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
11848 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
11849 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
11850 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
11851 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
11852 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
11853 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
11854 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
11855 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
11856 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
11857 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
11858 * sysdeps/x86_64/setjmp.S: Likewise.
11860 2014-08-13 Joseph Myers <joseph@codesourcery.com>
11863 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Include
11865 (__get_clockfreq): Use uint64_t instead of hp_timing_t in
11866 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK call.
11868 2014-08-13 Siddhesh Poyarekar <siddhesh@redhat.com>
11870 * sysdeps/x86/fpu/bits/mathinline.h: Fix typo in comment.
11873 * sysdeps/x86/fpu/bits/mathinline.h: Check both __SSE2_MATH__
11874 and __x86_64__ when disabling x87 inline functions.
11876 2014-08-12 H.J. Lu <hongjiu.lu@intel.com>
11879 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Replace cpuid
11880 asm statement with __cpuid_count.
11882 2014-08-12 Mike Frysinger <vapier@gentoo.org>
11884 * configure.ac: Change __ehdr_start code to dereference the struct.
11885 Run readelf on the output to look for relocations.
11886 * configure: Regenerated.
11888 2014-08-12 Joseph Myers <joseph@codesourcery.com>
11891 * sysdeps/powerpc/nofpu/fenv_const.c (__fe_enabled_env): Change
11893 (__fe_nonieee_env): Define as an alias for __fe_dfl_env.
11895 2014-08-12 Roland McGrath <roland@hack.frob.com>
11897 * NEWS: Mention x86-64 ld.so use of Intel MPX instructions.
11899 2014-08-12 Bernard Ogden <bernie.ogden@linaro.org>
11902 * sysdeps/nptl/lowlevellock.h (__lll_timedlock): Use
11903 atomic_compare_and_exchange_bool_acq rather than atomic_exchange_acq.
11905 2014-08-12 Sean Anderson <seanga2@gmail.com>
11907 * malloc/malloc.c: Fix typo in comment.
11909 2014-08-09 Allan McRae <allan@archlinux.org>
11911 * Regenerate libc.po.
11913 2014-08-08 Mike Frysinger <vapier@gentoo.org>
11915 * intl/tst-gettext2.sh: Check every lang file for creation.
11917 2014-08-07 Wilco Dijkstra <wdijkstr@arm.com>
11919 * sysdeps/aarch64/fpu/math_private.h
11920 (libc_feholdsetround_noex_aarch64_ctx): New function.
11922 2014-08-07 Wilco Dijkstra <wdijkstr@arm.com>
11924 * sysdeps/arm/armv6/strcpy.S (strcpy):
11925 Fix performance issue in misaligned cases.
11927 2014-08-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11929 * sysdeps/unix/sysv/linux/powerpc/bits/ioctl-types.h (struct winsize):
11930 Move definition from termios.h.
11931 (struct termio): Likewise.
11932 (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
11933 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
11934 N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
11935 N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
11937 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (struct winsize):
11938 Move definition to ioctl-types.h
11939 (struct termio): Likewise.
11940 (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
11941 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
11942 N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
11943 N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
11946 2014-08-05 Richard Henderson <rth@redhat.com>
11948 * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Always raise
11950 * sysdeps/alpha/soft-fp/Makefile [soft-fp] (sysdep_routines):
11952 * sysdeps/alpha/soft-fp/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
11953 Use __feraiseexcept.
11954 * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (feraiseexcept):
11955 Protect libm symbols with IS_IN_libm.
11957 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Remove file.
11959 2014-08-04 Bernard Ogden <bernie.ogden@linaro.org>
11961 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Remove file.
11963 2014-08-04 Will Newton <will.newton@linaro.org>
11965 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Remove
11968 2014-08-04 Mike Frysinger <vapier@gentoo.org>
11970 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Add nocancel
11971 variants for each function.
11973 2014-08-04 Roland McGrath <roland@hack.frob.com>
11975 * sysdeps/unix/sysv/linux/ia64/nptl/Makefile: File removed, contents
11977 * sysdeps/unix/sysv/linux/ia64/Makefile: ... here.
11978 * sysdeps/unix/sysv/linux/ia64/nptl/Versions: File removed, contents
11980 * sysdeps/unix/sysv/linux/ia64/Versions: ... here.
11981 * sysdeps/unix/sysv/linux/ia64/nptl/__ia64_longjmp.S: Moved ...
11982 * sysdeps/unix/sysv/linux/ia64/__ia64_longjmp.S: ... here.
11983 * sysdeps/unix/sysv/linux/ia64/nptl/__sigstack_longjmp.c: Moved ...
11984 * sysdeps/unix/sysv/linux/ia64/__sigstack_longjmp.c: ... here.
11985 * sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data: Moved ...
11986 * sysdeps/unix/sysv/linux/ia64/c++-types.data: ... here.
11987 * sysdeps/unix/sysv/linux/ia64/nptl/dl-sysdep.h: Moved ...
11988 * sysdeps/unix/sysv/linux/ia64/dl-sysdep.h: ... here.
11989 * sysdeps/unix/sysv/linux/ia64/nptl/ld.abilist: Moved ...
11990 * sysdeps/unix/sysv/linux/ia64/ld.abilist: ... here.
11991 * sysdeps/unix/sysv/linux/ia64/nptl/libBrokenLocale.abilist: Moved ...
11992 * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: ... here.
11993 * sysdeps/unix/sysv/linux/ia64/nptl/libanl.abilist: Moved ...
11994 * sysdeps/unix/sysv/linux/ia64/libanl.abilist: ... here.
11995 * sysdeps/unix/sysv/linux/ia64/nptl/libc.abilist: Moved ...
11996 * sysdeps/unix/sysv/linux/ia64/libc.abilist: ... here.
11997 * sysdeps/unix/sysv/linux/ia64/nptl/libcrypt.abilist: Moved ...
11998 * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: ... here.
11999 * sysdeps/unix/sysv/linux/ia64/nptl/libdl.abilist: Moved ...
12000 * sysdeps/unix/sysv/linux/ia64/libdl.abilist: ... here.
12001 * sysdeps/unix/sysv/linux/ia64/nptl/libm.abilist: Moved ...
12002 * sysdeps/unix/sysv/linux/ia64/libm.abilist: ... here.
12003 * sysdeps/unix/sysv/linux/ia64/nptl/libnsl.abilist: Moved ...
12004 * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: ... here.
12005 * sysdeps/unix/sysv/linux/ia64/nptl/libpthread.abilist: Moved ...
12006 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: ... here.
12007 * sysdeps/unix/sysv/linux/ia64/nptl/libresolv.abilist: Moved ...
12008 * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: ... here.
12009 * sysdeps/unix/sysv/linux/ia64/nptl/librt.abilist: Moved ...
12010 * sysdeps/unix/sysv/linux/ia64/librt.abilist: ... here.
12011 * sysdeps/unix/sysv/linux/ia64/nptl/libthread_db.abilist: Moved ...
12012 * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: ... here.
12013 * sysdeps/unix/sysv/linux/ia64/nptl/libutil.abilist: Moved ...
12014 * sysdeps/unix/sysv/linux/ia64/libutil.abilist: ... here.
12015 * sysdeps/unix/sysv/linux/ia64/nptl/localplt.data: Moved ...
12016 * sysdeps/unix/sysv/linux/ia64/localplt.data: ... here.
12017 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Moved ...
12018 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: ... here.
12019 * sysdeps/unix/sysv/linux/ia64/nptl/sysdep-cancel.h: Moved ...
12020 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: ... here.
12021 * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Moved ...
12022 * sysdeps/unix/sysv/linux/ia64/timer_create.c: ... here.
12023 * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Moved ...
12024 * sysdeps/unix/sysv/linux/ia64/timer_delete.c: ... here.
12025 * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Moved ...
12026 * sysdeps/unix/sysv/linux/ia64/timer_getoverr.c: ... here.
12027 * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Moved ...
12028 * sysdeps/unix/sysv/linux/ia64/timer_gettime.c: ... here.
12029 * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Moved ...
12030 * sysdeps/unix/sysv/linux/ia64/timer_settime.c: ... here.
12031 * sysdeps/unix/sysv/linux/ia64/nptl/unwind-forcedunwind.c: Moved ...
12032 * sysdeps/unix/sysv/linux/ia64/unwind-forcedunwind.c: ... here.
12034 * sysdeps/unix/sysv/linux/ia64/nptl/unwind_longjmp.c: Moved ...
12035 * sysdeps/unix/sysv/linux/ia64/unwind_longjmp.c: ... here.
12037 2014-08-04 Roland McGrath <roland@hack.frob.com>
12039 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h: Moved ...
12040 * sysdeps/ia64/nptl/bits/pthreadtypes.h: ... here.
12041 * sysdeps/unix/sysv/linux/ia64/nptl/bits/semaphore.h: Moved ...
12042 * sysdeps/ia64/nptl/bits/semaphore.h: ... here.
12043 * sysdeps/unix/sysv/linux/ia64/nptl/bits/local_lim.h: Moved ...
12044 * sysdeps/unix/sysv/linux/ia64/bits/local_lim.h: ... here.
12046 2014-08-04 Roland McGrath <roland@hack.frob.com>
12048 * nptl/sysdeps/pthread/createthread.c: Include <arch-fork.h>.
12049 * sysdeps/unix/sysv/linux/ia64/arch-fork.h (ARCH_CLONE): New macro.
12050 * sysdeps/ia64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
12051 * sysdeps/unix/sysv/linux/ia64/nptl/createthread.c: File removed.
12053 2014-08-04 Roland McGrath <roland@hack.frob.com>
12055 * sysdeps/unix/sysv/linux/ia64/nptl/vfork.S: Moved ...
12056 * sysdeps/unix/sysv/linux/ia64/vfork.S: ... here.
12057 (__libc_vfork): Define function under this name.
12058 (__vfork): Define as an alias.
12059 * sysdeps/unix/sysv/linux/ia64/pt-vfork.S: New file.
12060 * sysdeps/unix/sysv/linux/ia64/nptl/pt-vfork.S: File removed.
12062 2014-08-04 Roland McGrath <roland@hack.frob.com>
12064 * sysdeps/unix/sysv/linux/ia64/clone2.S: Deconditionalize the code
12065 that was previously under [RESET_PID].
12066 * sysdeps/unix/sysv/linux/ia64/nptl/clone2.S: File removed.
12068 2014-08-04 Andreas Schwab <schwab@suse.de>
12070 * sysdeps/ieee754/ldbl-96/s_fma.c: Include <math_private.h>.
12072 2014-08-03 Mike Frysinger <vapier@gentoo.org>
12074 * stdlib/tst-setcontext.c (test_stack): Fix coding style.
12077 2014-08-01 Roland McGrath <roland@hack.frob.com>
12079 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: File removed.
12081 2014-08-01 Richard Henderon <rth@redhat.com>
12083 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval before
12084 feclearexcept; use math_opt_barrier instead of open-coded asm; fix
12085 typo in exact zero test.
12086 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
12087 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
12088 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
12090 2014-08-01 Roland McGrath <roland@hack.frob.com>
12092 * sysdeps/unix/sysv/linux/arm/sysdep.h (PTR_MANGLE_LOAD, PTR_MANGLE)
12093 (PTR_MANGLE2, PTR_DEMANGLE, PTR_DEMANGLE2): Move these macros...
12094 * sysdeps/arm/sysdep.h: ... here.
12095 [!__ASSEMBLER__]: Include <stdint.h>.
12097 2014-08-01 Siddhesh Poyarekar <siddhesh@redhat.com>
12099 * include/libc-symbols.h (HAVE_LIBINTL_H): Define macro.
12100 (HAVE_WCTYPE_H): Likewise.
12101 (HAVE_ISWCTYPE): Likewise.
12102 (ENABLE_NLS): Likewise.
12103 * posix/regex_internal.h [(defined MB_CUR_MAX && HAVE_WCTYPE_H
12104 && HAVE_ISWCTYPE) || _LIBC]: Sync up with gnulib.
12106 * posix/regex_internal.c: Check if DEBUG is defined and is
12109 * include/libc-symbols.h (HAVE_MBSTATE_T): Define macro.
12110 (HAVE_MBSRTOWCS): Likewise.
12111 * posix/fnmatch.c: Include string.h unconditionally.
12113 2014-08-01 Stefan Liebler <stli@linux.vnet.ibm.com>
12115 * NEWS: Explain the s390 jmp_buf / ucontext_t ABI change
12118 2014-07-31 Roland McGrath <roland@hack.frob.com>
12120 * sysdeps/generic/safe-fatal.h: New file.
12121 * sysdeps/unix/sysv/linux/safe-fatal.h: New file.
12122 * nptl/forward.c: Include it.
12123 (__pthread_unwind): Use __safe_fatal as default action, rather
12124 than a bogus use of INTERNAL_SYSCALL that could never work.
12126 * config.h.in (HAVE_BUILTIN_TRAP): New #define to 0.
12127 * configure.ac (libc_cv_builtin_trap): New test.
12128 * configure: Regenerated.
12129 * sysdeps/generic/abort-instr.h [HAVE_BUILTIN_TRAP]
12130 (ABORT_INSTRUCTION): Define using __builtin_trap.
12132 * nptl/pthreadP.h (SIGCANCEL, SIGTIMER, SIGSETXID, __xidcmd): Moved ...
12133 * sysdeps/unix/sysv/linux/nptl-signals.h: ... to this new file.
12134 * sysdeps/nptl/nptl-signals.h: New file.
12135 * nptl/pthreadP.h: Include <nptl-signals.h>.
12137 2014-07-31 Stefan Liebler <stli@linux.vnet.ibm.com>
12139 * sysdeps/s390/s390-64/utf16-utf32-z9.c
12140 (ONE_DIRECTION): Define.
12141 * sysdeps/s390/s390-64/utf8-utf16-z9.c
12142 (ONE_DIRECTION): Define.
12143 * sysdeps/s390/s390-64/utf8-utf32-z9.c
12144 (ONE_DIRECTION): Define.
12146 2014-07-31 Stefan Liebler <stli@linux.vnet.ibm.com>
12148 * sysdeps/s390/Makefile: Delete file.
12149 * sysdeps/s390/Versions (GLIBC_2.19): Remove __setjmp.
12150 * sysdeps/s390/__longjmp.c: Delete file.
12151 * sysdeps/s390/bits/setjmp.h (__s390_jmp_buf):
12152 Remove fields __flags and __reserved.
12153 * sysdeps/s390/longjmp.c: Include setjmp/longjmp.c
12154 and add versioning.
12155 * sysdeps/s390/rtld-__longjmp.c: Delete file.
12156 * sysdeps/s390/rtld-global-offsets.sym: Likewise.
12157 * sysdeps/s390/rtld-setjmp.S: Likewise.
12158 * sysdeps/s390/s390-32/__longjmp-common.c: Move to ...
12159 * sysdeps/s390/s390-32/__longjmp.c: ... here.
12160 * sysdeps/s390/s390-32/setjmp-common.S: Move to ...
12161 * sysdeps/s390/s390-32/setjmp.S: ... here.
12163 (__sigsetjmp): Remove setting __flags field.
12164 * sysdeps/s390/s390-64/__longjmp-common.c:Move to ...
12165 * sysdeps/s390/s390-64/__longjmp.c: ... here.
12166 * sysdeps/s390/s390-64/setjmp-common.S: Move to ...
12167 * sysdeps/s390/s390-64/setjmp.S: ... here.
12169 (__sigsetjmp): Remove setting __flags field.
12170 * sysdeps/s390/setjmp.S: Delete file.
12171 * sysdeps/s390/sigjmp.c: Likewise.
12172 * sysdeps/s390/v1-longjmp.c: Likewise.
12173 * sysdeps/s390/v1-setjmp.h: Likewise.
12174 * sysdeps/s390/v1-sigjmp.c: Likewise.
12175 * sysdeps/unix/sysv/linux/s390/Makefile (sysdep_routines):
12176 Remove v1-longjmp_chk.
12177 * sysdeps/unix/sysv/linux/s390/getcontext.S: Delete file.
12178 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c:
12179 Include debug/longjmp_chk.c and add versioning.
12180 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c:
12181 Include nptl/pt-longjmp.c and add versioning.
12182 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: Delete file.
12183 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c:
12184 Include __longjmp.c.
12185 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
12187 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: ... here.
12188 (__getcontext): Remove setting __flags field.
12190 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
12191 Don't restore upper high grps.
12192 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S:
12194 (__swapcontext): Remove setting uc_flags field.
12195 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym:
12197 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
12198 Include __longjmp.c.
12199 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
12201 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: ... here.
12202 (__getcontext): Remove setting __flags field.
12204 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S:
12205 (__swapcontext): Remove setting uc_flags field.
12206 * unix/sysv/linux/s390/s390-64/ucontext_i.sym: Delete file.
12207 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (ucontext):
12208 Remove fields uc_high_gprs and __reserved.
12209 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym:
12210 New file with reverted content.
12211 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: Delete file.
12212 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist:
12214 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist:
12217 2014-07-31 Andreas Schwab <schwab@suse.de>
12219 * config.h.in (HAVE_IFUNC): Define to 0.
12220 * rt/clock-compat.c [HAVE_IFUNC]: Check for value, not
12223 2014-07-30 Ling Ma <ling.ml@alibaba-inc.com>
12225 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
12226 memmove-avx-unaligned, memcpy-avx-unaligned and
12227 mempcpy-avx-unaligned.
12228 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
12229 Add tests for AVX memcpy functions.
12230 * sysdeps/x86_64/multiarch/memcpy.S: Add support for AVX memcpy.
12231 * sysdeps/x86_64/multiarch/memcpy_chk.S: Add support for AVX
12233 * sysdeps/x86_64/multiarch/memmove.c: Add support for AVX memmove.
12234 * sysdeps/x86_64/multiarch/memmove_chk.c: Add support for AVX
12236 * sysdeps/x86_64/multiarch/mempcpy.S: Add support for AVX mempcpy.
12237 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Add support for AVX
12239 * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: New file.
12240 * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: New file.
12241 * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: New file.
12243 2013-07-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12246 * sysdeps/powerpc/powerpc64/entry.h: Fix TEXT_START definition for
12249 2014-07-29 Jeff Layton <jlayton@poochiereds.net>
12252 * manual/llio.texi: Add section about open file description locks.
12253 * manual/examples/ofdlocks.c: Example of open file description
12255 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Define F_OFD_GETLK,
12256 F_OFD_SETLK, and F_OFD_SETLKW.
12258 2014-07-23 Allan McRae <allan@archlinux.org>
12260 * po/es.po: Update Spanish translation from translation project.
12262 2014-07-18 Andreas Schwab <schwab@linux-m68k.org>
12264 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Removed.
12266 2014-07-17 Maciej W. Rozycki <macro@codesourcery.com>
12269 * sysdeps/arm/dl-machine.h (elf_machine_rela)
12270 [RESOLVE_CONFLICT_FIND_MAP]: Handle R_ARM_TLS_DESC relocation.
12271 (elf_machine_lazy_rel): Handle prelinked R_ARM_TLS_DESC entries.
12273 2014-07-17 Joseph Myers <joseph@codesourcery.com>
12276 * math/fesetenv.c (__fesetenv)
12277 [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Return 1 for FE_NOMASK_ENV.
12278 * math/feupdateenv.c (__feupdateenv)
12279 [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Likewise.
12281 * sysdeps/unix/sysv/linux/s390/kernel-features.h: New file.
12282 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
12283 (__ASSUME_SOCKETCALL): Do not define.
12285 * sysdeps/unix/sysv/linux/sh/kernel-features.h: New file.
12286 * sysdeps/unix/sysv/linux/kernel-features.h [__sh__]
12287 (__ASSUME_SOCKETCALL): Do not define.
12288 (__ASSUME_ST_INO_64_BIT): Define unconditionally.
12289 [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
12290 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
12291 [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
12292 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
12293 [__LINUX_KERNEL_VERSION >= 0x030000 && __sh__]
12294 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
12295 [__sh__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
12297 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: New file.
12298 * sysdeps/unix/sysv/linux/kernel-features.h [__powerpc__]
12299 (__ASSUME_SOCKETCALL): Do not define.
12300 (__ASSUME_IPC64): Define unconditionally.
12301 [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
12302 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
12303 [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
12304 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
12305 [__LINUX_KERNEL_VERSION >= 0x030000 && __powerpc__]
12306 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
12307 [__powerpc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL):
12310 * sysdeps/unix/sysv/linux/sparc/kernel-features.h: New file.
12311 * sysdeps/unix/sysv/linux/kernel-features.h [__sparc__]
12312 (__ASSUME_SOCKETCALL): Do not define.
12313 (__ASSUME_SET_ROBUST_LIST): Define unconditionally.
12314 (__ASSUME_FUTEX_LOCK_PI): Likewise.
12315 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL): Do not define.
12316 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
12317 (__ASSUME_REQUEUE_PI): Define unconditionally.
12318 [__LINUX_KERNEL_VERSION >= 0x020621 && __sparc__]
12319 (__ASSUME_RECVMMSG_SYSCALL): Do not define.
12320 [__sparc__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
12321 [__LINUX_KERNEL_VERSION >= 0x030000 && __sparc__]
12322 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
12323 [__sparc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
12325 * sysdeps/unix/sysv/linux/i386/kernel-features.h: New file.
12326 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__]
12327 (__ASSUME_SOCKETCALL): Do not define.
12328 [__LINUX_KERNEL_VERSION >= 0x020621 && __i386__]
12329 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
12330 [__i386__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
12331 [__LINUX_KERNEL_VERSION >= 0x030000 && __i386__]
12332 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
12333 [__i386__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
12335 * sysdeps/unix/sysv/linux/x86_64/kernel-features.h: New file.
12336 * sysdeps/unix/sysv/linux/kernel-features.h [__x86_64__]
12337 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
12338 [__LINUX_KERNEL_VERSION >= 0x020621 && __x86_64__]
12339 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
12340 [__LINUX_KERNEL_VERSION >= 0x030000 && __x86_64__]
12341 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
12342 [__x86_64__ && __LINUX_KERNEL_VERSION >= 0x030100]
12343 (__ASSUME_GETCPU_SYSCALL): Likewise.
12345 * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): New macro.
12346 * sysdeps/gnu/configure.ac: Use LIBC_SLIBDIR_RTLDDIR. Remove
12347 cases for individual architectures.
12348 * sysdeps/gnu/configure: Regenerated.
12349 * sysdeps/unix/sysv/linux/aarch64/configure.ac: Use
12350 LIBC_SLIBDIR_RTLDDIR.
12351 * sysdeps/unix/sysv/linux/aarch64/configure: Regenerated.
12352 * sysdeps/unix/sysv/linux/mips/configure.ac: Use
12353 LIBC_SLIBDIR_RTLDDIR.
12354 * sysdeps/unix/sysv/linux/mips/configure: Regenerated.
12355 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: Use
12356 LIBC_SLIBDIR_RTLDDIR.
12357 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
12359 * sysdeps/unix/sysv/linux/s390/s390-64/configure.ac: New file.
12360 * sysdeps/unix/sysv/linux/s390/s390-64/configure: New generated
12362 * sysdeps/unix/sysv/linux/sparc/sparc64/configure.ac: New file.
12363 * sysdeps/unix/sysv/linux/sparc/sparc64/configure: New generated
12365 * sysdeps/unix/sysv/linux/x86_64/64/configure.ac: New file.
12366 * sysdeps/unix/sysv/linux/x86_64/64/configure: New generated file.
12367 * sysdeps/unix/sysv/linux/x86_64/x32/configure.ac: New file.
12368 * sysdeps/unix/sysv/linux/x86_64/x32/configure: Generate.
12370 * sysdeps/aarch64/shlib-versions: Move to ...
12371 * sysdeps/unix/sysv/linux/aarch64/shlib-versions: ... here.
12372 * sysdeps/alpha/shlib-versions: Move to ...
12373 * sysdeps/unix/sysv/linux/alpha/shlib-versions: ... here.
12374 * sysdeps/arm/shlib-versions: Move to ...
12375 * sysdeps/unix/sysv/linux/arm/shlib-versions: ... here.
12376 * sysdeps/hppa/shlib-versions: Move all contents except for
12377 libgcc_s entry to ...
12378 * sysdeps/unix/sysv/linux/hppa/shlib-versions: ... here. Merge in
12380 * sysdeps/hppa/nptl/shlib-versions: ... here. Remove file.
12381 * sysdeps/ia64/shlib-versions: Move to ...
12382 * sysdeps/unix/sysv/linux/ia64/shlib-versions: ... here. Merge in
12384 * sysdeps/ia64/nptl/shlib-versions: ... here. Remove file.
12385 * sysdeps/m68k/coldfire/shlib-versions: Move to ...
12386 * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: ... here.
12387 * sysdeps/microblaze/shlib-versions: Move to ...
12388 * sysdeps/unix/sysv/linux/microblaze/shlib-versions: ... here.
12389 * sysdeps/mips/shlib-versions: Move to ...
12390 * sysdeps/unix/sysv/linux/mips/shlib-versions: ... here. Merge in
12392 * sysdeps/mips/nptl/shlib-versions: ... here. Remove file.
12393 * sysdeps/tile/shlib-versions: Move to ...
12394 * sysdeps/unix/sysv/linux/tile/shlib-versions: ... here.
12395 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Merge in entry
12397 * sysdeps/x86_64/64/shlib-versions: ... here. Remove file.
12398 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Merge in
12400 * sysdeps/x86_64/x32/shlib-versions: ... here. Remove file.
12402 2014-07-17 Will Newton <will.newton@linaro.org>
12404 * sysdeps/arm/bits/atomic.h
12405 (__arch_compare_and_exchange_bool_8_int): Evaluate to zero.
12406 (__arch_compare_and_exchange_bool_16_int): Likewise.
12407 (__arch_compare_and_exchange_bool_64_int): Likewise.
12409 * iconv/loop.c: Move definition of LOOPFCT and gconv_btowc
12410 into an #else block.
12412 2014-07-16 Roland McGrath <roland@hack.frob.com>
12414 * sysdeps/arm/preconfigure.ac: Apply EABI sanity check to arm*, not
12415 just Linux configurations. Test empirically that the compiler sets
12416 __ARM_EABI__, rather than using the tuple to decide.
12417 * sysdeps/arm/preconfigure: Regenerated.
12418 * sysdeps/unix/sysv/linux/arm/configure: File removed.
12419 * sysdeps/unix/sysv/linux/arm/configure.ac: File removed,
12420 contents appended ...
12421 * sysdeps/arm/configure.ac: ... here.
12422 * sysdeps/arm/configure: Regenerated.
12424 2014-07-15 Roland McGrath <roland@hack.frob.com>
12426 * nptl/pthread_kill.c: New file.
12427 * nptl/pthread_sigmask.c: New file.
12428 * nptl/pthread_sigqueue.c: New file.
12430 * sysdeps/nptl/lowlevellock.h: New file.
12431 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: New file.
12432 * sysdeps/nptl/lowlevellock-futex.h: New file.
12434 * nptl/pthreadP.h (__current_sigrtmin, __current_sigrtmax):
12435 Remove dead declarations.
12437 2014-07-14 H.J. Lu <hongjiu.lu@intel.com>
12439 * config.h.in (HAVE_AVX2_SUPPORT): New #undef.
12440 * sysdeps/i386/configure.ac: Set HAVE_AVX2_SUPPORT and
12441 config-cflags-avx2.
12442 * sysdeps/x86_64/configure.ac: Likewise.
12443 * sysdeps/i386/configure: Regenerated.
12444 * sysdeps/x86_64/configure: Likewise.
12445 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
12446 memset-avx2 only if config-cflags-avx2 is yes.
12447 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
12448 Tests for memset_chk and memset only if HAVE_AVX2_SUPPORT is
12450 * sysdeps/x86_64/multiarch/memset.S: Define multiple versions
12451 only if HAVE_AVX2_SUPPORT is defined.
12452 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
12454 2014-07-14 Alan Modra <amodra@gmail.com>
12457 * elf/elf.h (DT_PPC64_NUM): Correct value.
12458 * NEWS: Add to fixed bug list.
12460 2014-07-13 Jim Meyering <meyering@fb.com>
12463 regex: don't deref NULL upon heap allocation failure
12464 * posix/regcomp.c: (parse_dup_op): Handle duplicate_tree
12465 failure in one more place.
12466 To trigger the segfault, configure grep -with-included-regex,
12467 build it, and run these commands:
12468 ( ulimit -v 300000; echo a|src/grep -E a+++++++++++++++++++++ )
12470 2014-07-13 Andreas Schwab <schwab@linux-m68k.org>
12472 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
12474 2014-07-11 Richard Henderson <rth@redhat.com>
12476 * sysdeps/aarch64/libm-test-ulps: Update.
12478 2014-07-10 Florian Weimer <fweimer@redhat.com>
12481 * nptl/pthreadP.h (__nptl_setxid_error): Declare function.
12482 * nptl/allocatestack.c (__nptl_setxid_error): New function.
12483 (__nptl_setxid): Initialize error member. Call
12484 __nptl_setxid_error.
12485 * nptl/nptl-init.c (sighandler_setxid): Call __nptl_setxid_error.
12486 * nptl/descr.h (struct xid_command): Add error member.
12487 * nptl/tst-setuid3.c: New file.
12488 * nptl/Makefile (tests): Add it.
12490 2014-07-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12492 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h (__lll_base_trylock):
12494 (__lll_trylock): Use __lll_base_trylock.
12495 (__lll_cond_trylock): Likewise.
12497 2014-07-10 Roland McGrath <roland@hack.frob.com>
12499 * nptl/pthread_create.c (start_thread): Use atomic_or and
12500 lll_futex_wake directly rather than lll_robust_dead.
12501 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
12502 (lll_robust_dead): Macro removed.
12503 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Likewise.
12504 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
12505 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
12506 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
12507 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
12508 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
12509 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
12510 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
12511 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
12512 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
12513 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
12514 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
12515 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
12516 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
12517 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
12519 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
12520 Use atomic_compare_and_exchange_val_acq directly rather than
12521 lll_robust_trylock.
12522 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
12523 (__lll_robust_trylock, lll_robust_trylock): Removed.
12524 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
12525 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
12526 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
12527 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
12528 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
12529 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
12530 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
12531 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
12532 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
12533 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
12534 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
12535 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
12536 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
12537 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
12539 2014-07-02 Florian Weimer <fweimer@redhat.com>
12541 * manual/locale.texi (Locale Names): New section documenting
12542 locale name syntax. Adjust menu and node chaining accordingly.
12543 (Choosing Locale): Reference Locale Names, Locale Categories.
12544 Mention setting LC_ALL=C. Reflect that name syntax is now
12546 (Locale Categories): New section title. Reference Locale Names.
12547 LC_ALL is an environment variable, but not a category.
12548 (Setting the Locale): Remove "locale -a" invocation and LOCPATH
12549 description, now in Locale Name. Reference that section. Locale
12550 name syntax is now documented.
12552 2014-07-02 Florian Weimer <fweimer@redhat.com>
12555 * locale/findlocale.c (name_present, valid_locale_name): New
12557 (_nl_find_locale): Use the loc_name variable to store name
12558 candidates. Call name_present and valid_locale_name to check and
12559 validate locale names. Return an error if the locale is invalid.
12561 2014-07-02 Florian Weimer <fweimer@redhat.com>
12563 * locale/setlocale.c (setlocale): Use strdup for allocating
12564 composite name copy.
12566 2014-07-10 Siddhesh Poyarekar <siddhesh@redhat.com>
12568 Sync up with gnulib.
12569 * misc/error.c: Use !_LIBC instead of HAVE_CONFIG_H.
12570 [!_LIBC && ENABLE_NLS]: Include gettext.h.
12571 [_LIBC]: Define USE_UNLOCKED_IO, _GL_ATTRIBUTE_FORMAT_PRINTF
12572 and _GL_ARG_NONNULL.
12573 [USE_UNLOCKED_IO]: Include unlocked-io.h.
12574 [!_LIBC]: Include code for Windows and Cygwin.
12575 [!_LIBC && !HAVE_DECL_STRERROR_R && !STRERROR_R_CHAR_P]:
12576 Include prototype for int strerror_r.
12577 [!_LIBC] (is_open): New function.
12578 (flush_stdout): New function.
12579 (print_errno_message): Use it.
12581 (error_at_line): Likewise.
12582 (error_tail) Add function attribute macros. Use
12585 * time/strptime_l.c [_LIBC]: Define HAVE_LOCALTIME_R.
12587 * time/strftime_l.c [_LIBC]: Define HAVE_STRFTIME.
12589 * io/ftw.c: Include sys/param.h unconditionally.
12591 * locale/programs/simple-hash.c [!HAVE_OBSTACK]: Remove code.
12594 * sysdeps/unix/sysv/linux/check_pf.c (cache): Don't use
12596 (freecache): New function to free CACHE on exit.
12598 * sunrpc/xdr.c (xdr_string): Add comment about SIZE
12601 2014-07-09 David S. Miller <davem@davemloft.net>
12603 * sysdeps/sparc/fpu/libm-test-ulps: Update.
12605 * sysdeps/sparc/nptl/internaltypes.h: Delete.
12606 * sysdeps/sparc/nptl/sparc-nptl.h: New file.
12607 * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Include it.
12608 * sysdeps/sparc/nptl/pthread_barrier_init.c: Likewise.
12609 * sysdeps/sparc/nptl/pthread_barrier_wait.c: Likewise.
12610 * sysdeps/sparc/nptl/sem_init.c: Likewise.
12611 * sysdeps/sparc/nptl/sem_post.c: Likewise.
12612 * sysdeps/sparc/nptl/sem_timedwait.c: Likewise.
12613 * sysdeps/sparc/nptl/sem_wait.c: Likewise.
12614 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Likewise.
12615 * sysdeps/sparc/sparc32/nptl/sem_post.c: Likewise.
12616 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Likewise.
12617 * sysdeps/sparc/sparc32/nptl/sem_wait.c: Likewise.
12619 2014-07-09 Andreas Schwab <schwab@suse.de>
12621 * sysdeps/powerpc/test-gettimebase.c (do_test): Add newline to
12623 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c
12624 (do_test): Likewise.
12626 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
12628 2014-07-09 Will Newton <will.newton@linaro.org>
12630 * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Test SHARED with #ifdef.
12631 * sysdeps/arm/tlsdesc.c (_dl_unmap): Likewise.
12632 * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
12633 * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
12634 * sysdeps/hppa/start.S (_start): Likewise.
12636 2014-07-09 Siddhesh Poyarekar <siddhesh@redhat.com>
12638 * sunrpc/xdr.c (xdr_string): Initialize SIZE to 0.
12640 * sysdeps/generic/unwind-pe.h: Only check if __cplusplus is
12643 2014-07-08 Siddhesh Poyarekar <siddhesh@redhat.com>
12645 * resolv/res_query.c (__libc_res_nsearch): Dereference resplen2
12646 after checking that it is non-NULL.
12648 * sysdeps/i386/dl-machine.h: Define ELF_MACHINE_NO_REL.
12650 2014-07-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12652 * sysdeps/powerpc/memmove.c: Remove file.
12653 * sysdeps/powerpc/powerpc32/power4/memcopy.h
12654 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Define it to 1.
12655 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
12656 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Remove define.
12657 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c:
12658 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Likewise.
12659 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Include default
12660 string memmove instead of removed powerpc one.
12662 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
12663 [weak_alias]: Fix compiler warning due trailing data.
12664 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S:
12665 [weak_alias]: Likewise.
12666 * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Fix compile
12667 warnigs due missing definition of __strcpy_power7 and __strlen_power7.
12669 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
12670 (__libc_ifunc_impl_list): Add memmove functions.
12672 2014-07-08 Siddhesh Poyarekar <siddhesh@redhat.com>
12674 * localedata/tests-mbwc/dat_iswalnum.c [SHOJI_IS_RIGHT]:
12676 * localedata/tests-mbwc/dat_iswalpha.c [SHOJI_IS_RIGHT]:
12678 * localedata/tests-mbwc/dat_iswctype.c [SHOJI_IS_RIGHT]:
12680 * localedata/tests-mbwc/dat_iswgraph.c [SHOJI_IS_RIGHT]:
12682 * localedata/tests-mbwc/dat_iswprint.c [SHOJI_IS_RIGHT]:
12684 * localedata/tests-mbwc/dat_iswpunct.c [SHOJI_IS_RIGHT]:
12686 * localedata/tests-mbwc/dat_mbrlen.c [SHOJI_IS_RIGHT]:
12688 * localedata/tests-mbwc/dat_mbstowcs.c [SHOJI_IS_RIGHT]:
12690 * localedata/tests-mbwc/dat_mbtowc.c [SHOJI_IS_RIGHT]:
12692 * localedata/tests-mbwc/dat_strcoll.c [SHOJI_IS_RIGHT]:
12694 * localedata/tests-mbwc/dat_swscanf.c [SHOJI_IS_RIGHT]:
12696 * localedata/tests-mbwc/dat_towctrans.c [SHOJI_IS_RIGHT]:
12698 * localedata/tests-mbwc/dat_wcscoll.c [SHOJI_IS_RIGHT]:
12700 * localedata/tests-mbwc/dat_wcswidth.c [SHOJI_IS_RIGHT]:
12702 * localedata/tests-mbwc/dat_wctob.c [SHOJI_IS_RIGHT]:
12704 * localedata/tests-mbwc/dat_wcwidth.c [SHOJI_IS_RIGHT]:
12706 * localedata/tests-mbwc/tst_towctrans.c [SHOJI_IS_RIGHT]:
12709 2014-07-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12711 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Align VSX copies to 16B
12712 to avoid alignment traps in non-cacheable memory.
12713 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
12715 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memmove
12717 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c: New
12718 file: multiarch power7 memmove.
12719 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c: New file:
12720 multiarch default memmove.
12721 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: New file:
12722 multiarch memove for powerpc32/power4.
12724 * string/bcopy.c: Use full path to include memmove.c.
12725 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memmove and bcopy
12727 * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c: New file: default
12728 bcopy for powerpc64.
12729 * sysdeps/powerpc/powerpc64/multiarch/bcopy.c: New file: multiarch
12730 bcopy for powerpc64.
12731 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add bcopy
12732 and memmove implementations.
12733 * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: New file:
12734 optimized multiarch memmove for POWER7/powerpc64.
12735 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: New file:
12736 default multiarch memmove for powerpc64.
12737 * sysdeps/powerpc/powerpc64/multiarch/memmove.c: New file: memmove
12738 multiarch for powerpc64.
12739 * sysdeps/powerpc/powerpc64/power7/bcopy.c: New file: optimized bcopy
12740 for POWER7/powerpc64.
12741 * sysdeps/powerpc/powerpc64/power7/memmove.S: New file: optimized
12742 memmove for POWER7/powerpc64.
12744 * sysdeps/powerpc/memmove.c (memmove): Cleanup impplementation to use
12747 * sysdeps/powerpc/bits/link.h [_CALL_ELF]: Guard check for
12748 __ELF_NATIVE_CLASS equal to 64.
12750 2014-07-07 Roland McGrath <roland@hack.frob.com>
12752 * sysdeps/nptl/lowlevellock.h: File removed.
12754 * NEWS: NPTL is no longer an add-on!
12755 * nptl/internaltypes.h: Moved ...
12756 * sysdeps/nptl/internaltypes.h: ... here.
12757 * sysdeps/nptl/aio_misc.h: Use <nptl/pthreadP.h> in #include.
12758 * sysdeps/nptl/fork.c: Likewise.
12759 * sysdeps/nptl/gai_misc.h: Likewise.
12760 * sysdeps/nptl/librt-cancellation.c: Likewise.
12761 * sysdeps/nptl/jmp-unwind.c: Likewise.
12762 * sysdeps/nptl/setxid.h: Likewise.
12763 * sysdeps/unix/sysv/linux/aarch64/Implies: New file.
12764 * sysdeps/unix/sysv/linux/alpha/Implies: Add alpha/nptl.
12765 * sysdeps/unix/sysv/linux/arm/Implies: New file.
12766 * sysdeps/unix/sysv/linux/hppa/Implies: New file.
12767 * sysdeps/unix/sysv/linux/i386/Implies: Add i386/nptl.
12768 * sysdeps/unix/sysv/linux/i386/i686/Implies: New file.
12769 * sysdeps/unix/sysv/linux/ia64/Implies: Add ia64/nptl.
12770 * sysdeps/unix/sysv/linux/m68k/Implies: New file.
12771 * sysdeps/unix/sysv/linux/microblaze/Implies: New file.
12772 * sysdeps/unix/sysv/linux/mips/Implies: New file.
12773 * sysdeps/unix/sysv/linux/powerpc/Implies: New file.
12774 * sysdeps/unix/sysv/linux/s390/Implies: Add s390/nptl.
12775 * sysdeps/unix/sysv/linux/sh/Implies: New file.
12776 * sysdeps/unix/sysv/linux/sparc/Implies: New file.
12777 * sysdeps/unix/sysv/linux/tile/Implies: New file.
12778 * sysdeps/unix/sysv/linux/x86_64/Implies: Add x86_64/nptl.
12779 * sysdeps/unix/sysv/linux/x86_64/x32/Implies: New file.
12780 * nptl/Makeconfig: Moved ...
12781 * sysdeps/nptl/Makeconfig: ... here.
12782 * nptl/configure: File removed.
12783 * nptl/ANNOUNCE: File removed.
12784 * sysdeps/unix/sysv/linux/configure.ac: Remove nptl sanity check.
12785 * sysdeps/unix/sysv/linux/configure: Regenerated.
12787 * nptl/Makefile (routines): Add libc_pthread_init,
12788 libc_multiple_threads, register-atfork and unregister-atfork.
12789 (libpthread-routines): Add pthread_mutex_cond_lock and pt-fork here.
12790 (gen-as-const-headers): Add lowlevelcond.sym, lowlevelrwlock.sym,
12791 lowlevelbarrier.sym, unwindbuf.sym, lowlevelrobustlock.sym,
12792 pthread-pi-defines.sym, structsem.sym.
12793 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = posix]
12794 (CFLAGS-fork.c, CFLAGS-getpid.o, CFLAGS-getpid.os): New variables.
12795 [$(subdir) = nptl] (tests): Add tst-setgetname.
12796 * nptl/sysdeps/unix/sysv/linux/Makefile: File removed.
12797 * sysdeps/unix/sysv/linux/sigaction.c: Just include
12798 <nptl/sigaction.c> directly here, instead of WRAPPER_INCLUDE.
12799 [!LIBC_SIGACTION]: Remove aliases.
12800 * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
12801 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
12802 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
12803 * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
12804 * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
12805 * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
12806 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
12807 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
12808 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
12809 * nptl/Versions (libc: GLIBC_2.3.2): Add __register_atfork.
12810 (libc: GLIBC_PRIVATE): Add __libc_pthread_init,
12811 __libc_current_sigrtmin_private, __libc_current_sigrtmax_private,
12812 __libc_allocate_rtsig_private.
12813 * nptl/sysdeps/unix/sysv/linux/Versions: File removed.
12814 * sysdeps/unix/sysv/linux/sigtimedwait.c: Include <nptl/pthreadP.h>.
12815 * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
12816 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
12817 * sysdeps/unix/sysv/linux/sleep.c: Likewise.
12818 * nptl/sysdeps/unix/sysv/linux/sigwait.c: File removed.
12819 * nptl/sysdeps/unix/sysv/linux/sigtimedwait.c: File removed.
12820 * nptl/sysdeps/unix/sysv/linux/sigwaitinfo.c: File removed.
12821 * nptl/sysdeps/unix/sysv/linux/sleep.c: File removed.
12822 * nptl/sysdeps/unix/sysv/linux/createthread.c: File removed.
12823 * sysdeps/unix/sysv/linux/ia64/fork.S: File removed.
12824 * nptl/sysdeps/unix/sysv/linux/internaltypes.h: Moved ...
12825 * nptl/internaltypes.h: ... here.
12826 * nptl/sysdeps/unix/sysv/linux/jmp-unwind.c: Moved ...
12827 * sysdeps/nptl/jmp-unwind.c: ... here.
12828 * nptl/sysdeps/unix/sysv/linux/libc-lowlevellock.c: Moved ...
12829 * nptl/libc-lowlevellock.c: ... here.
12830 * nptl/sysdeps/unix/sysv/linux/libc_multiple_threads.c: Moved ...
12831 * nptl/libc_multiple_threads.c: ... here.
12832 * nptl/sysdeps/unix/sysv/linux/libc_pthread_init.c: Moved ...
12833 * nptl/libc_pthread_init.c: ... here.
12834 * nptl/sysdeps/unix/sysv/linux/lowlevelbarrier.sym: Moved ...
12835 * nptl/lowlevelbarrier.sym: ... here.
12836 * nptl/sysdeps/unix/sysv/linux/lowlevelcond.sym: Moved ...
12837 * nptl/lowlevelcond.sym: ... here.
12838 * nptl/sysdeps/unix/sysv/linux/lowlevellock.c: Moved ...
12839 * nptl/lowlevellock.c: ... here.
12840 * nptl/lowlevellock.h: Moved ...
12841 * sysdeps/nptl/lowlevellock.h: ... here.
12842 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Moved ...
12843 * nptl/lowlevelrobustlock.c: ... here.
12844 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.sym: Moved ...
12845 * nptl/lowlevelrobustlock.sym: ... here.
12846 * nptl/sysdeps/unix/sysv/linux/lowlevelrwlock.sym: Moved ...
12847 * nptl/lowlevelrwlock.sym: ... here.
12848 * nptl/sysdeps/unix/sysv/linux/pt-fork.c: Moved ...
12849 * nptl/pt-fork.c: ... here.
12850 * nptl/sysdeps/unix/sysv/linux/pthread-pi-defines.sym: Moved ...
12851 * nptl/pthread-pi-defines.sym: ... here.
12852 * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Moved ...
12853 * nptl/pthread_attr_getaffinity.c: ... here.
12854 * nptl/sysdeps/unix/sysv/linux/pthread_attr_setaffinity.c: Moved ...
12855 * nptl/pthread_attr_setaffinity.c: ... here.
12856 * nptl/sysdeps/unix/sysv/linux/pthread_mutex_cond_lock.c: Moved ...
12857 * nptl/pthread_mutex_cond_lock.c: ... here.
12858 * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
12860 * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Likewise.
12861 * nptl/sysdeps/unix/sysv/linux/pthread_once.c: Moved ...
12862 * nptl/pthread_once.c: ... here, replacing old file.
12863 * nptl/sysdeps/unix/sysv/linux/pthread_yield.c: Moved ...
12864 * nptl/pthread_yield.c: ... here.
12865 * nptl/sysdeps/unix/sysv/linux/register-atfork.c: Moved ...
12866 * nptl/register-atfork.c: ... here.
12867 * nptl/sysdeps/unix/sysv/linux/sem_post.c: Moved ...
12868 * nptl/sem_post.c: ... here.
12869 * sysdeps/unix/sysv/linux/alpha/sem_post.c: Update #include.
12870 * nptl/sysdeps/unix/sysv/linux/sem_timedwait.c: Moved ...
12871 * nptl/sem_timedwait.c: ... here.
12872 * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Moved ...
12873 * nptl/sem_trywait.c: ... here.
12874 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Update #include.
12875 * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Moved ...
12876 * nptl/sem_wait.c: ... here.
12877 * nptl/sysdeps/unix/sysv/linux/structsem.sym: Moved ...
12878 * nptl/structsem.sym: ... here.
12879 * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Moved ...
12880 * sysdeps/unix/sysv/linux/mq_notify.c: ... here, replacing old file.
12881 * nptl/sysdeps/unix/sysv/linux/unregister-atfork.c: Moved ...
12882 * nptl/unregister-atfork.c: ... here.
12883 * nptl/sysdeps/unix/sysv/linux/unwindbuf.sym: Moved ...
12884 * nptl/unwindbuf.sym: ... here.
12885 * nptl/sysdeps/unix/sysv/linux/fork.c: Moved ...
12886 * sysdeps/nptl/fork.c: ... here.
12887 * nptl/sysdeps/unix/sysv/linux/fork.h: Moved ...
12888 * sysdeps/nptl/fork.h: ... here.
12889 * sysdeps/unix/sysv/linux/syscalls.list: Remove fork.
12890 * nptl/sysdeps/unix/sysv/linux/aio_misc.h: Moved ...
12891 * sysdeps/unix/sysv/linux/aio_misc.h: ... here.
12892 * nptl/sysdeps/unix/sysv/linux/allocrtsig.c: Moved ...
12893 * sysdeps/unix/sysv/linux/allocrtsig.c: ... here.
12894 * nptl/sysdeps/unix/sysv/linux/getpid.c: Moved ...
12895 * sysdeps/unix/sysv/linux/getpid.c: ... here.
12896 * nptl/sysdeps/unix/sysv/linux/kernel-posix-timers.h: Moved ...
12897 * sysdeps/unix/sysv/linux/kernel-posix-timers.h: ... here.
12898 * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Moved ...
12899 * sysdeps/unix/sysv/linux/pt-raise.c: ... here.
12900 * nptl/sysdeps/unix/sysv/linux/pthread_getaffinity.c: Moved ...
12901 * sysdeps/unix/sysv/linux/pthread_getaffinity.c: ... here.
12902 * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Moved ...
12903 * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: ... here.
12904 * nptl/sysdeps/unix/sysv/linux/pthread_getname.c: Moved ...
12905 * sysdeps/unix/sysv/linux/pthread_getname.c: ... here.
12906 * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Moved ...
12907 * sysdeps/unix/sysv/linux/pthread_kill.c: ... here.
12908 * nptl/sysdeps/unix/sysv/linux/pthread_setaffinity.c: Moved ...
12909 * sysdeps/unix/sysv/linux/pthread_setaffinity.c: ... here.
12910 * nptl/sysdeps/unix/sysv/linux/pthread_setname.c: Moved ...
12911 * sysdeps/unix/sysv/linux/pthread_setname.c: ... here.
12912 * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Moved ...
12913 * sysdeps/unix/sysv/linux/pthread_sigqueue.c: ... here.
12914 * nptl/sysdeps/unix/sysv/linux/raise.c: Moved ...
12915 * sysdeps/unix/sysv/linux/raise.c: ... here.
12916 * nptl/sysdeps/unix/sysv/linux/timer_create.c: Moved ...
12917 * sysdeps/unix/sysv/linux/timer_create.c: ... here.
12918 * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Moved ...
12919 * sysdeps/unix/sysv/linux/timer_delete.c: ... here.
12920 * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Moved ...
12921 * sysdeps/unix/sysv/linux/timer_getoverr.c: ... here.
12922 * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Moved ...
12923 * sysdeps/unix/sysv/linux/timer_gettime.c: ... here.
12924 * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Moved ...
12925 * sysdeps/unix/sysv/linux/timer_routines.c: ... here.
12926 * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Moved ...
12927 * sysdeps/unix/sysv/linux/timer_settime.c: ... here.
12928 * nptl/sysdeps/unix/sysv/linux/tst-setgetname.c: Moved ...
12929 * sysdeps/unix/sysv/linux/tst-setgetname.c: ... here.
12930 * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Update #include.
12932 2014-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
12934 * sysdeps/generic/memcopy.h: Add comment for
12935 MEMCPY_OK_FOR_FWD_MEMMOVE.
12937 2014-07-04 Will Newton <will.newton@linaro.org>
12939 * string/memchr.c: Merge from gnulib.
12940 [_LIBC]: Remove conditionals.
12941 (__ptr_t): Remove define.
12942 (LONG_MAX_32_BITS): Likewise.
12943 (LONG_MAX): Likewise.
12944 (MEMCHR): Use ANSI prototype and optimize algorithm.
12946 * sysdeps/arm/dl-machine.h (ELF_MACHINE_NO_REL): Define.
12948 2014-07-03 Roland McGrath <roland@hack.frob.com>
12950 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h
12951 (lll_futex_timed_wait_bitset): Fix syscall argument count.
12953 * sysdeps/nptl/configure.ac (libc_cv_forced_unwind):
12954 Use -Dinhibit_libc=1 for unwind.h check to prevent false failure
12955 in a bare environment with no <stdlib.h> installed.
12956 * sysdeps/nptl/configure: Regenerated.
12958 * sysdeps/alpha/fpu/s_nearbyint.c: Include <math_ldbl_opt.h>.
12960 * sysdeps/unix/sysv/linux/configure.ac: Use AC_TRY_COMPILE rather than
12961 AC_EGREP_CPP for kernel header checks, so they only succeed if
12962 including <linux/version.h> actually works right.
12963 * sysdeps/unix/sysv/linux/configure: Regenerated.
12965 * sysdeps/s390/nptl/tls.h (THREAD_SET_POINTER_GUARD): Refer to the
12966 value so it's not diagnosed as unused.
12968 * sysdeps/pthread/Makefile: Conditionalize tst-timer bits (the only
12969 thing) with "ifeq ($(subdir),rt)".
12971 2014-07-03 Richard Henderson <rth@redhat.com>
12973 * sysdeps/alpha/fpu/s_nearbyintf.c: Remove file.
12974 * sysdeps/alpha/fpu/s_nearbyint.c (__nearbyint): Remove;
12975 include sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c.
12977 * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): New.
12978 (math_force_eval): New.
12980 * sysdeps/alpha/fpu/s_lround.c: Add 0.5 with chopped rounding.
12981 * sysdeps/alpha/fpu/s_lroundf.c: Likewise.
12983 * sysdeps/alpha/fpu/s_round.c: Remove file.
12984 * sysdeps/alpha/fpu/s_roundf.c: Remove file.
12986 * elf/dl-support.c (HP_TIMING_AVAIL): Do not redefine.
12987 (_dl_non_dynamic_init): Check HP_SMALL_TIMING_AVAIL instead.
12988 * elf/rtld.c (HP_TIMING_AVAIL): Do not redefine.
12989 (_dl_start_final): Check HP_SMALL_TIMING_AVAIL instead.
12990 (_dl_start, print_statistics): Likewise.
12991 * sysdeps/generic/ldsodefs.h (struct rtld_global): Only check
12992 HP_SMALL_TIMING_AVAIL in defining _dl_cpuclock_offset.
12994 * sysdeps/aarch64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
12995 * sysdeps/generic/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
12996 * sysdeps/i386/i686/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
12997 * sysdeps/ia64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
12998 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
12999 (HP_SMALL_TIMING_AVAIL): Define.
13000 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
13001 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
13002 (HP_SMALL_TIMING_AVAIL): Define.
13003 * sysdeps/sparc/sparc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
13004 * sysdeps/x86_64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
13006 * sysdeps/aarch64/hp-timing.h: New file.
13008 * sysdeps/generic/hp-timing.h: Remove dead comment.
13009 * sysdeps/generic/hp-timing-common.h: New file.
13010 * sysdeps/alpha/hp-timing.h: Include it.
13011 (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT, HP_TIMING_PRINT): Remove.
13012 * sysdeps/i386/i686/hp-timing.h: Likewise.
13013 * sysdeps/ia64/hp-timing.h: Likewise.
13014 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
13015 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
13016 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
13017 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
13018 * sysdeps/x86_64/hp-timing.h: Don't include the i686 version.
13019 (HP_TIMING_AVAIL, HP_TIMING_INLINE): Define.
13020 (hp_timing_t): New.
13022 * benchtests/bench-string.h (_dl_hp_timing_overhead): Remove.
13023 * benchtests/bench-timing.h (_dl_hp_timing_overhead): Remove.
13024 (TIMING_INIT): Remove call to HP_TIMING_DIFF_INIT.
13025 * elf/rtld.c (_dl_start_final): Likewise.
13026 * sysdeps/generic/ldsodefs.h (_dl_hp_timing_overhead): Remove.
13027 * sysdeps/alpha/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
13028 * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
13029 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
13030 * sysdeps/ia64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
13031 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
13032 (HP_TIMING_DIFF_INIT): Remove.
13033 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
13034 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
13035 (HP_TIMING_DIFF_INIT): Remove.
13036 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
13037 * sysdeps/i386/i686/hp-timing.c: Remove file.
13038 * sysdeps/x86_64/hp-timing.c: Remove file.
13039 * sysdeps/ia64/hp-timing.c: Remove file.
13040 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Remove file.
13041 * sysdeps/powerpc/powerpc64/hp-timing.c: Remove file.
13042 * sysdeps/sparc/sparc32/sparcv9/hp-timing.c: Remove file.
13043 * sysdeps/sparc/sparc64/hp-timing.c: Remove file.
13045 * sysdeps/alpha/hp-timing.h (HP_TIMING_ACCUM): Remove.
13046 * sysdeps/generic/hp-timing.h (HP_TIMING_ACCUM): Remove.
13047 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ACCUM): Remove.
13048 * sysdeps/ia64/hp-timing.h (HP_TIMING_ACCUM): Remove.
13049 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
13050 (HP_TIMING_ACCUM): Remove.
13051 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
13052 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ACCUM): Remove.
13053 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
13055 * sysdeps/alpha/hp-timing.h (HP_TIMING_ZERO): Remove.
13056 * sysdeps/generic/hp-timing.h (HP_TIMING_ZERO): Remove.
13057 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ZERO): Remove.
13058 * sysdeps/ia64/hp-timing.h (HP_TIMING_ZERO): Remove.
13059 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_ZERO): Remove.
13060 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ZERO): Remove.
13061 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ZERO): Remove.
13062 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ZERO): Remove.
13064 * sysdeps/powerpc/powerpc32/hp-timing.h: Remove file.
13066 2014-07-03 Maciej W. Rozycki <macro@codesourcery.com>
13068 * stdlib/tst-strtod-overflow.c (TIMEOUT): Bump up to 30.
13070 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
13072 Sync up with gettext.
13073 * intl/loadmsgcat.c: Define O_BINARY if not defined.
13074 [_MSC_VER]: Include malloc.h
13075 [_LIBC]: Define PRI_MACROS_BROKEN if it is not defined.
13076 (get_sysdep_segment_value) [!__UCLIBC__]: Return "I" flag.
13077 (_nl_load_domain): Open DOMAIN_FILE in binary mode. Don't use
13078 TEMP_FAILURE_RETRY. Cast return of alloca.
13079 [!_LIBC] Call gl_rwlock_init.
13080 [IN_LIBGLOCALE]: Call _nl_find_msg with one less argument.
13082 2014-07-02 Roland McGrath <roland@hack.frob.com>
13084 * misc/sys/cdefs.h: Check if __STDC_VERSION__ is defined
13085 before checking its value.
13087 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
13089 * intl/loadmsgcat.c (_nl_load_domain): Use __builtin_expect.
13091 * debug/memcpy_chk.c: Don't include pagecopy.h.
13092 * debug/mempcpy_chk.c: Likewise.
13093 * string/memcpy.c: Likewise.
13094 * string/memmove.c: Likewise.
13095 * sysdeps/powerpc/memmove.c: Likewise.
13096 * sysdeps/generic/memcopy.h: Include pagecopy.h. Move
13097 definition of PAGE_COPY_FWD_MAYBE here...
13098 * sysdeps/generic/pagecopy.h: ... from here.
13099 * sysdeps/mach/pagecopy.h: Don't include generic pagecopy.h.
13101 2014-07-02 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
13102 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13104 * sysdeps/powerpc/strcat.c: Using macro to redefine symbol name.
13105 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcat multiarch
13107 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
13108 (__libc_ifunc_impl_list): Likewise.
13109 * sysdeps/powerpc/powerpc64/multiarch/strcat.c: New file:
13110 multiarch strcat for PPC64.
13111 * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: New file/
13112 * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: New file.
13114 2014-07-02 Roland McGrath <roland@hack.frob.com>
13116 * sysdeps/unix/sysv/linux/dl-sysdep.c: Include <sys/param.h>.
13118 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
13120 * intl/loadmsgcat.c: Remove declaration of
13121 get_sysdep_segment_value.
13122 (get_sysdep_segment_value): Use ISO C style.
13123 (_nl_load_domain): Use ISO C style. Get rid of redundant
13124 semicolon. Fix typo and formatting in comment.
13125 (_nl_unload_domain): Use ISO C style.
13127 * sysdeps/posix/sysconf.c (__sysconf): Fix typo in macro name.
13129 2014-07-02 Will Newton <will.newton@linaro.org>
13131 * malloc/obstack.c: Merge from gnulib master.
13132 [HAVE_CONFIG_H]: Remove conditional code.
13133 [!_LIBC]: Include config.h.
13134 [!ELIDE_CODE]: Don't include inttypes.h, include
13135 stdint.h unconditionally.
13136 (print_and_abort): Mark as _Noreturn.
13137 (_obstack_allocated_p): Mark as __attribute_pure__.
13138 (obstack_free): Rename to __obstack_free.
13139 [!__attribute__]: Remove conditional code.
13140 * malloc/obstack.h: Merge from gnulib master.
13141 [__cplusplus]: Move conditional down.
13142 [!__attribute_pure__]: Define __attribute_pure__ here
13143 if it is not already defined.
13144 (_obstack_memory_used): Mark as __attribute_pure__.
13145 [!__obstack_free]: Define as obstack_free.
13146 [__GNUC__]: Remove check for ancient NeXT gcc.
13148 2014-07-02 Will Newton <will.newton@linaro.org>
13149 Paul Eggert <eggert@cs.ucla.edu>
13151 * misc/sys/cdefs.h (_Noreturn): New macro, for pre-C11 compilers.
13153 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
13155 * resolv/gethnamaddr.c: Add comment warning that the file is
13158 2014-07-01 Carlos O'Donell <carlos@redhat.com>
13160 * sysdeps/unix/sysv/linux/hppa/librt.abilist: Remove GLIBC_2.3
13163 * sysdeps/unix/sysv/linux/hppa/Versions: Remove librt GLIBC_2.3
13164 entry for aio_cancel and aio_cancel64.
13165 * sysdeps/unix/sysv/linux/hppa/ld.abilist: New file.
13166 * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: New file.
13167 * sysdeps/unix/sysv/linux/hppa/libanl.abilist: New file.
13168 * sysdeps/unix/sysv/linux/hppa/libc.abilist: New file.
13169 * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: New file.
13170 * sysdeps/unix/sysv/linux/hppa/libdl.abilist: New file.
13171 * sysdeps/unix/sysv/linux/hppa/libm.abilist: New file.
13172 * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: New file.
13173 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: New file.
13174 * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: New file.
13175 * sysdeps/unix/sysv/linux/hppa/librt.abilist: New file.
13176 * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: New file.
13177 * sysdeps/unix/sysv/linux/hppa/libutil.abilist: New file.
13179 2014-07-01 Roland McGrath <roland@hack.frob.com>
13181 * sysdeps/unix/sysv/linux/sysconf.c: Include <sys/param.h>.
13182 * nptl/pthread_mutex_lock.c: Likewise.
13183 * nptl/pthread_mutex_timedlock.c: Likewise.
13184 * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Likewise.
13186 2014-07-01 Richard henderson <rth@redhat.com>
13188 * sysdeps/alpha/fpu/bits/mathinline.h (__isnanf): Remove.
13189 (__isnan, __isnanl): Remove.
13190 * sysdeps/alpha/fpu/s_isnan.c (__isnan): Use integer arithmetic.
13192 * sysdeps/alpha/fpu/libm-test-ulps: Update.
13194 2014-07-01 Stefan Liebler <stli@linux.vnet.ibm.com>
13196 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
13198 2014-07-01 Siddhesh Poyarekar <siddhesh@redhat.com>
13200 * resolv/nss_dns/dns-host.c (getanswer_r)
13201 [MULTI_PTRS_ARE_ALIASES]: Remove code.
13203 2014-07-01 Joseph Myers <joseph@codesourcery.com>
13205 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
13206 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PSELECT): Do not
13208 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PREADV): Likewise.
13209 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PWRITEV): Likewise.
13211 2014-07-01 Roland McGrath <roland@hack.frob.com>
13213 * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: New file.
13214 * sysdeps/unix/sysv/linux/microblaze/nptl/fork.c: File removed.
13216 * sysdeps/microblaze/nptl/tls.h: Define TLS_DEFINE_INIT_TP.
13217 * sysdeps/unix/sysv/linux/microblaze/nptl/createthread.c: File removed.
13219 * sysdeps/microblaze/nptl/bits/pthreadtypes.h: Moved ...
13220 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h:
13222 * sysdeps/microblaze/nptl/bits/semaphore.h: Moved ...
13223 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/semaphore.h: ... here.
13225 * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Moved ...
13226 * sysdeps/unix/sysv/linux/microblaze/nptl/pt-vfork.S: ... here.
13227 * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Moved ...
13228 * sysdeps/unix/sysv/linux/microblaze/vfork.S: ... here.
13230 * sysdeps/unix/sysv/linux/microblaze/c++-types.data: Moved ...
13231 * sysdeps/unix/sysv/linux/microblaze/nptl/c++-types.data: ... here.
13232 * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Moved ...
13233 * sysdeps/unix/sysv/linux/microblaze/nptl/ld.abilist: ... here.
13234 * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist:
13236 * sysdeps/unix/sysv/linux/microblaze/nptl/libBrokenLocale.abilist:
13238 * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Moved ...
13239 * sysdeps/unix/sysv/linux/microblaze/nptl/libanl.abilist: ... here.
13240 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Moved ...
13241 * sysdeps/unix/sysv/linux/microblaze/nptl/libc.abilist: ... here.
13242 * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Moved ...
13243 * sysdeps/unix/sysv/linux/microblaze/nptl/libcrypt.abilist: ... here.
13244 * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Moved ...
13245 * sysdeps/unix/sysv/linux/microblaze/nptl/libdl.abilist: ... here.
13246 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Moved ...
13247 * sysdeps/unix/sysv/linux/microblaze/nptl/libm.abilist: ... here.
13248 * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Moved ...
13249 * sysdeps/unix/sysv/linux/microblaze/nptl/libnsl.abilist: ... here.
13250 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Moved ...
13251 * sysdeps/unix/sysv/linux/microblaze/nptl/libpthread.abilist: ... here.
13252 * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Moved ...
13253 * sysdeps/unix/sysv/linux/microblaze/nptl/libresolv.abilist: ... here.
13254 * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Moved ...
13255 * sysdeps/unix/sysv/linux/microblaze/nptl/librt.abilist: ... here.
13256 * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Moved ...
13257 * sysdeps/unix/sysv/linux/microblaze/nptl/libthread_db.abilist:
13259 * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Moved ...
13260 * sysdeps/unix/sysv/linux/microblaze/nptl/libutil.abilist: ... here.
13261 * sysdeps/unix/sysv/linux/microblaze/localplt.data: Moved ...
13262 * sysdeps/unix/sysv/linux/microblaze/nptl/localplt.data: ... here.
13263 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Moved ...
13264 * sysdeps/unix/sysv/linux/microblaze/nptl/lowlevellock.h: ... here.
13265 * sysdeps/unix/sysv/linux/microblaze/nptl/pthread_once.c: Moved ...
13266 * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: ... here.
13268 2014-07-01 David Holsgrove <david.holsgrove@xilinx.com>
13270 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: New file.
13271 * sysdeps/unix/sysv/linux/microblaze/socket.S: Update SINGLE_THREAD_P use.
13272 * sysdeps/unix/sysv/linux/microblaze/Makefile(libpthread-routines):
13275 2014-06-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13277 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13279 2014-06-30 Joseph Myers <joseph@codesourcery.com>
13281 * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
13282 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
13284 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
13286 * sysdeps/arm/libm-test-ulps: Regenerated.
13288 2014-06-30 Maciej W. Rozycki <macro@codesourcery.com>
13289 Roland McGrath <roland@hack.frob.com>
13291 * test-skeleton.c (signal_handler): Kill the whole process group
13292 before killing the child individually.
13293 (main): Report any failure on `setpgid'.
13295 2014-06-30 Roland McGrath <roland@hack.frob.com>
13297 * sysdeps/arm/nptl/tls.h: Rename the multiple inclusion guard
13298 from _TLS_H to _ARM_NPTL_TLS_H.
13299 (TLS_INIT_TP): Move macro, and #include of <sysdep.h>, to ...
13300 * sysdeps/unix/sysv/linux/arm/tls.h: ... this new file.
13302 2014-06-30 Joseph Myers <joseph@codesourcery.com>
13305 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include <float.h>.
13306 (__expm1l): Return argument unchanged when small but not
13309 * soft-fp/op-1.h (_FP_UNPACK_RAW_1): Rename local variables to
13310 include macro name.
13311 (_FP_UNPACK_RAW_1_P): Likewise.
13312 (_FP_PACK_RAW_1): Likewise.
13313 (_FP_PACK_RAW_1_P): Likewise.
13314 (_FP_MUL_MEAT_1_wide): Likewise.
13315 (_FP_MUL_MEAT_DW_1_hard): Likewise.
13316 (_FP_MUL_MEAT_1_hard): Likewise.
13317 (_FP_DIV_MEAT_1_imm): Likewise.
13318 (_FP_DIV_MEAT_1_udiv_norm): Likewise.
13319 (_FP_DIV_MEAT_1_udiv): Likewise.
13320 * soft-fp/op-2.h (__FP_FRAC_DEC_2): Likewise.
13321 (_FP_UNPACK_RAW_2): Likewise.
13322 (_FP_UNPACK_RAW_2_P): Likewise.
13323 (_FP_PACK_RAW_2): Likewise.
13324 (_FP_PACK_RAW_2_P): Likewise.
13325 (_FP_MUL_MEAT_DW_2_wide): Likewise.
13326 (_FP_MUL_MEAT_2_wide): Likewise.
13327 (_FP_MUL_MEAT_DW_2_wide_3mul): Likewise.
13328 (_FP_MUL_MEAT_2_wide_3mul): Likewise.
13329 (_FP_MUL_MEAT_DW_2_gmp): Likewise.
13330 (_FP_MUL_MEAT_2_gmp): Likewise.
13331 (_FP_DIV_MEAT_2_udiv): Likewise.
13332 * soft-fp/op-4.h (_FP_FRAC_SLL_4): Likewise.
13333 (_FP_FRAC_SRL_4): Likewise.
13334 (_FP_FRAC_SRST_4): Likewise.
13335 (_FP_FRAC_SRS_4): Likewise.
13336 (_FP_UNPACK_RAW_4): Likewise.
13337 (_FP_UNPACK_RAW_4_P): Likewise.
13338 (_FP_PACK_RAW_4): Likewise.
13339 (_FP_PACK_RAW_4_P): Likewise.
13340 (_FP_MUL_MEAT_DW_4_wide): Likewise.
13341 (_FP_MUL_MEAT_4_wide): Likewise.
13342 (_FP_MUL_MEAT_4_gmp): Likewise.
13343 (umul_ppppmnnn): Likewise.
13344 (_FP_DIV_MEAT_4_udiv): Likewise.
13345 (__FP_FRAC_ADD_4): Likewise.
13346 (__FP_FRAC_SUB_3): Likewise.
13347 (__FP_FRAC_SUB_4): Likewise.
13348 (__FP_FRAC_DEC_3): Likewise.
13349 (__FP_FRAC_DEC_4): Likewise.
13350 (__FP_FRAC_ADDI_4): Likewise.
13351 * soft-fp/op-8.h (_FP_FRAC_SLL_8): Likewise.
13352 (_FP_FRAC_SRL_8): Likewise.
13353 (_FP_FRAC_SRS_8): Likewise.
13355 * soft-fp/extended.h (FP_UNPACK_RAW_E): Rename local variables to
13356 include macro name.
13357 (FP_UNPACK_RAW_EP): Likewise.
13358 (FP_PACK_RAW_E): Likewise.
13359 (FP_PACK_RAW_EP): Likewise.
13360 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Likewise.
13361 (_FP_ISSIGNAN): Likewise.
13362 (_FP_ADD_INTERNAL): Likewise.
13363 (_FP_FMA): Likewise.
13364 (_FP_CMP): Likewise.
13365 (_FP_SQRT): Likewise.
13366 (_FP_TO_INT): Likewise.
13367 (_FP_FROM_INT): Likewise.
13368 (FP_EXTEND): Likewise.
13369 (_FP_DIV_MEAT_N_loop): Likewise.
13371 2014-06-30 Maciej W. Rozycki <macro@codesourcery.com>
13373 * sysdeps/unix/sysv/linux/bits/socket.h: Adjust macro formatting
13376 2014-06-29 Joseph Myers <joseph@codesourcery.com>
13379 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Return
13380 result with correct sign in case of exponents that produce
13381 overflow except for X very close to 1.
13383 2014-06-28 Paul Eggert <eggert@cs.ucla.edu>
13385 mktime: merge #if/#ifdef usage from glibc
13386 * lib/mktime.c: Use "#if defined DEBUG && DEBUG", not "#if DEBUG",
13387 as that works with both Glibc's and Gnulib's style.
13388 See thread starting at Siddhesh Poyarekar's bug report at:
13389 http://lists.gnu.org/archive/html/bug-gnulib/2014-06/msg00102.html
13391 2014-06-28 Siddhesh Poyarekar <siddhesh@redhat.com>
13393 * sysdeps/generic/memcopy.h: Define MEMCPY_OK_FOR_FWD_MEMMOVE.
13394 * sysdeps/tile/memcopy.h: Redefine MEMCPY_OK_FOR_FWD_MEMMOVE.
13395 * sysdeps/tile/tilegx/memmove.c: Remove file.
13397 2014-06-27 Joseph Myers <joseph@codesourcery.com>
13399 * Makeconfig ($(common-objpfx)soversions.mk): Do not generate
13400 abi-name definition.
13401 * scripts/soversions.awk: Do not handle or generate ABI lines.
13402 * shlib-versions: Remove ABI entries.
13403 * sysdeps/powerpc/nofpu/shlib-versions: Remove file.
13404 * sysdeps/x86_64/x32/shlib-versions: Remove ABI entry.
13406 2014-06-27 Roland McGrath <roland@hack.frob.com>
13408 * sysdeps/unix/sysv/linux/mips/mips32/nptl/c++-types.data: Moved ...
13409 * sysdeps/unix/sysv/linux/mips/mips32/c++-types.data: ... here.
13410 * sysdeps/unix/sysv/linux/mips/mips32/fpu/nptl/libc.abilist: Moved ...
13411 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: ... here.
13412 * sysdeps/unix/sysv/linux/mips/mips32/nptl/ld.abilist: Moved ...
13413 * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: ... here.
13414 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libBrokenLocale.abilist:
13416 * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
13418 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libanl.abilist: Moved ...
13419 * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: ... here.
13420 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcidn.abilist: Moved ...
13421 * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: ... here.
13422 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcrypt.abilist: Moved ...
13423 * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: ... here.
13424 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libdl.abilist: Moved ...
13425 * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: ... here.
13426 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libm.abilist: Moved ...
13427 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: ... here.
13428 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnsl.abilist: Moved ...
13429 * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: ... here.
13430 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_compat.abilist:
13432 * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: ... here.
13433 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_db.abilist: Moved ...
13434 * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: ... here.
13435 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_dns.abilist: Moved ...
13436 * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: ... here.
13437 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_files.abilist:
13439 * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: ... here.
13440 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_hesiod.abilist:
13442 * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: ... here.
13443 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nis.abilist: Moved ...
13444 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: ... here.
13445 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nisplus.abilist:
13447 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: ... here.
13448 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libpthread.abilist: Moved ...
13449 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: ... here.
13450 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libresolv.abilist: Moved ...
13451 * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: ... here.
13452 * sysdeps/unix/sysv/linux/mips/mips32/nptl/librt.abilist: Moved ...
13453 * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: ... here.
13454 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libthread_db.abilist:
13456 * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: ... here.
13457 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libutil.abilist: Moved ...
13458 * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: ... here.
13459 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/nptl/libc.abilist:
13461 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: ... here.
13462 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/c++-types.data:
13464 * sysdeps/unix/sysv/linux/mips/mips64/n32/c++-types.data: ... here.
13465 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/ld.abilist: Moved ...
13466 * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: ... here.
13467 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libBrokenLocale.abilist:
13469 * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
13471 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libBrokenLocale.abilist:
13472 Identical file removed.
13473 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libanl.abilist:
13475 * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: ... here.
13476 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libanl.abilist:
13477 Identical file removed.
13478 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libc.abilist: Moved ...
13479 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: ... here.
13480 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libcrypt.abilist:
13482 * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: ... here.
13483 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libcrypt.abilist:
13484 Identical file removed.
13485 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libdl.abilist: Moved ...
13486 * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: ... here.
13487 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libdl.abilist:
13488 Identical file removed.
13489 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libm.abilist: Moved ...
13490 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: ... here.
13491 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libm.abilist:
13492 Identical file removed.
13493 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libnsl.abilist: Moved ...
13494 * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: ... here.
13495 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libnsl.abilist:
13496 Identical file removed.
13497 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libpthread.abilist:
13499 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: ... here.
13500 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libpthread.abilist:
13501 Identical file removed.
13502 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libresolv.abilist:
13504 * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: ... here.
13505 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/librt.abilist: Moved ...
13506 * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: ... here.
13507 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/librt.abilist:
13508 Identical file removed.
13509 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libthread_db.abilist:
13511 * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist:
13513 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libthread_db.abilist:
13514 Identical file removed.
13515 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libutil.abilist:
13517 * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: ... here.
13518 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libutil.abilist:
13519 Identical file removed.
13520 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/c++-types.data:
13522 * sysdeps/unix/sysv/linux/mips/mips64/n64/c++-types.data: ... here.
13523 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/ld.abilist: Moved ...
13524 * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: ... here.
13525 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libc.abilist: Moved ...
13526 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: ... here.
13527 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libresolv.abilist:
13529 * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: ... here.
13530 * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h: Moved ...
13531 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: ... here.
13533 * sysdeps/unix/sysv/linux/mips/vfork.S: Incorporate
13534 SAVE_PID and RESTORE_PID blocks from nptl/pt-vfork.S.
13535 * sysdeps/unix/sysv/linux/mips/nptl/vfork.S: File removed.
13536 * sysdeps/unix/sysv/linux/mips/nptl/pt-vfork.S: File removed.
13537 * sysdeps/unix/sysv/linux/mips/pt-vfork.S: New file.
13539 2014-06-27 Arjun Shankar <arjun.is@lostca.se>
13542 * nscd/nscd.c (monitor_child): Return exit status of child
13543 instead of return value from wait syscall.
13545 2014-06-27 Joseph Myers <joseph@codesourcery.com>
13547 * configure.ac (libc_commonpagesize): Remove variable.
13548 (libc_relro_required): Likewise.
13549 (libc_cv_z_relro): Remove configure test.
13550 * configure: Regenerated.
13551 * sysdeps/aarch64/preconfigure (libc_commonpagesize): Do not set
13553 (libc_relro_required): Likewise.
13554 * sysdeps/alpha/preconfigure (libc_commonpagesize): Likewise.
13555 (libc_relro_required): Likewise.
13556 * sysdeps/arm/preconfigure.ac (libc_commonpagesize): Likewise.
13557 (libc_relro_required): Likewise.
13558 * sysdeps/arm/preconfigure: Regenerated.
13559 * sysdeps/ia64/preconfigure: Remove file.
13560 * sysdeps/tile/preconfigure (libc_commonpagesize): Do not set
13562 (libc_relro_required): Likewise.
13566 * sysdeps/ieee754/dbl-64/e_jn.c: Include <float.h>.
13567 (__ieee754_yn): Set FE_TONEAREST mode internally and then
13568 recompute overflowing results in original rounding mode.
13569 * sysdeps/ieee754/flt-32/e_jnf.c: Include <float.h>.
13570 (__ieee754_ynf): Set FE_TONEAREST mode internally and then
13571 recompute overflowing results in original rounding mode.
13572 * sysdeps/ieee754/ldbl-128/e_jnl.c: Include <float.h>.
13573 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
13574 recompute overflowing results in original rounding mode.
13575 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Include <float.h>.
13576 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
13577 recompute overflowing results in original rounding mode.
13578 * sysdeps/ieee754/ldbl-96/e_jnl.c: Include <float.h>.
13579 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
13580 recompute overflowing results in original rounding mode.
13581 * sysdeps/i386/fpu/fenv_private.h [!__SSE2_MATH__]
13582 (libc_feholdsetround_ctx): New macro.
13583 * math/libm-test.inc (yn_test): Use ALL_RM_TEST.
13584 * sysdeps/i386/fpu/libm-test-ulps: Update.
13585 * sysdeps/x86_64/fpu/libm-test-ulps : Likewise.
13587 2014-06-26 Joseph Myers <joseph@codesourcery.com>
13589 * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h
13590 [__PIC__] (PSEUDO): Use name of _nocancel entry point in
13591 corresponding .cpsetup call.
13593 2014-06-26 Roland McGrath <roland@hack.frob.com>
13595 * sysdeps/unix/sysv/linux/arm/libc-aeabi_read_tp.S: Moved ...
13596 * sysdeps/arm/libc-aeabi_read_tp.S: ... here.
13597 * sysdeps/arm/Makefile [$(subdir) = csu]
13598 (aeabi_routines): Add aeabi_read_tp and libc-aeabi_read_tp here.
13599 (static-only-routines): Add aeabi_read_tp here.
13600 (shared-only-routines): Add libc-aeabi_read_tp here.
13601 (CFLAGS-libc-start.c): Add -fexceptions here.
13602 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = csu]
13603 (sysdep_routines, static-only-routines, shared-only-routines):
13604 Don't add to these here.
13605 (CFLAGS-libc-start.c): Likewise.
13607 * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: Moved ...
13608 * sysdeps/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
13609 * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: Moved ...
13610 * sysdeps/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
13611 * sysdeps/arm/Makefile [$(subdir) = rt]
13612 (librt-sysdep_routines, librt-shared-only-routines):
13613 Append rt-aeabi_unwind_cpp_pr1 here.
13614 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = rt]
13615 (librt-sysdep_routines, librt-shared-only-routines): Don't do it here.
13616 * sysdeps/arm/nptl/Makefile [$(subdir) = nptl]
13617 (libpthread-sysdep_routines, libpthread-shared-only-routines):
13618 Append nptl-aeabi_unwind_cpp_pr1 here.
13619 (tests): Filter out tst-cleanupx4 here.
13620 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = nptl]
13621 (libpthread-sysdep_routines, libpthread-shared-only-routines, tests):
13622 Don't do those here.
13624 2014-06-26 Joseph Myers <joseph@codesourcery.com>
13626 * scripts/list-sources.sh: Do not handle ports specially.
13628 2014-06-26 Roland McGrath <roland@hack.frob.com>
13630 * sysdeps/arm/fesetenv.c: Include <fpu_control.h>.
13631 * sysdeps/arm/feupdateenv.c: Likewise.
13633 * posix/spawn_faction_addopen.c: Include <stdlib.h> for free decl.
13635 2014-06-26 Joseph Myers <joseph@codesourcery.com>
13637 * manual/texinfo.tex: Update to version 2014-05-05.10 with
13638 trailing whitespace removed.
13639 * scripts/config.guess: Update to version 2014-03-23.
13640 * scripts/config.sub: Update to version 2014-05-01
13641 * scripts/install-sh: Update to version 2013-12-25.23.
13642 * scripts/move-if-change: Update from gnulib.
13644 2014-06-26 Siddhesh Poyarekar <siddhesh@redhat.com>
13646 * debug/memmove_chk.c: Remove pagecopy.h include.
13648 2014-06-26 Paul Eggert <eggert@cs.ucla.edu>
13650 * time/mktime.c (leapyear): Remove inline keyword. The code is now
13651 identical to gnulib mktime.
13653 2014-06-26 Joseph Myers <joseph@codesourcery.com>
13655 * configure.ac: Do not test for machine being rs6000. Do not test
13656 for powerpc*-*soft.
13657 * configure: Regenerated.
13660 * configure.ac (libc_cv_asm_cfi_directives): Remove configure
13662 * configure: Regenerated.
13663 * config.h.in (HAVE_ASM_CFI_DIRECTIVES): Remove macro undefine.
13664 * sysdeps/arm/configure.ac (libc_cv_asm_cfi_directive_sections):
13665 Remove configure test.
13666 * sysdeps/arm/configure: Regenerated.
13667 * sysdeps/nptl/configure.ac: Do not check
13668 libc_cv_asm_cfi_directives.
13669 * sysdeps/nptl/configure: Regenerated.
13670 * sysdeps/x86_64/nptl/configure.ac: Remove file.
13671 * sysdeps/x86_64/nptl/configure: Remove generated file.
13672 * b/sysdeps/generic/sysdep.h [HAVE_ASM_CFI_DIRECTIVES]: Make code
13674 [!HAVE_ASM_CFI_DIRECTIVES]: Remove conditional code.
13676 2014-06-26 Siddhesh Poyarekar <siddhesh@redhat.com>
13678 * posix/fnmatch.c: Define WIDE_CHAR_VERSION.
13679 * posix/fnmatch_loop.c: Undefine WIDE_CHAR_VERSION.
13680 (FCT): Check value of WIDE_CHAR_VERSION instead of checking if
13683 * elf/dl-runtime.c: Check for value of ELF_MACHINE_NO_RELA
13684 instead of whether it is defined.
13685 * sysdeps/aarch64/dl-machine.h: Define ELF_MACHINE_NO_RELA.
13686 * sysdeps/hppa/dl-machine.h: Likewise.
13687 * sysdeps/ia64/dl-machine.h: Likewise.
13688 * sysdeps/m68k/dl-machine.h: Likewise.
13689 * sysdeps/microblaze/dl-machine.h: Likewise.
13690 * sysdeps/mips/dl-machine.: Likewise.
13691 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
13692 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
13693 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
13694 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
13695 * sysdeps/sh/dl-machine.h: Likewise.
13696 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
13697 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
13698 * sysdeps/tile/dl-machine.h: Likewise.
13699 * sysdeps/x86_64/dl-machine.h: Likewise.
13701 * nscd/connections.c (enum usekey) [SEPARATE_KEY]: Remove
13703 (verify_persistent_db): Likewise.
13705 2014-06-26 Roland McGrath <roland@hack.frob.com>
13707 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data: Moved ...
13708 * sysdeps/unix/sysv/linux/s390/s390-32/c++-types.data: ... here.
13709 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Moved ...
13710 * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: ... here.
13711 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
13713 * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
13715 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: Moved ...
13716 * sysdeps/unix/sysv/linux/s390/libanl.abilist: ... here.
13717 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist:
13718 Identical file removed.
13719 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Moved ...
13720 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: ... here.
13721 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: Moved ...
13722 * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: ... here.
13723 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: Moved ...
13724 * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: ... here.
13725 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Moved ...
13726 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: ... here.
13727 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: Moved ...
13728 * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: ... here.
13729 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
13731 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: ... here.
13732 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: Moved ...
13733 * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: ... here.
13734 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Moved ...
13735 * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: ... here.
13736 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
13738 * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: ... here.
13739 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Moved ...
13740 * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: ... here.
13741 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data: Moved ...
13742 * sysdeps/unix/sysv/linux/s390/localplt.data: ... here.
13743 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
13744 Identical file removed.
13745 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data: Moved ...
13746 * sysdeps/unix/sysv/linux/s390/s390-64/c++-types.data: ... here.
13747 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Moved ...
13748 * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: ... here.
13749 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
13751 * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
13753 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Moved ...
13754 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: ... here.
13755 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: Moved ...
13756 * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: ... here.
13757 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: Moved ...
13758 * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: ... here.
13759 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Moved ...
13760 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: ... here.
13761 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: Moved ...
13762 * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: ... here.
13763 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
13765 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: ... here.
13766 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist:
13768 * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: ... here.
13769 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: Moved ...
13770 * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: ... here.
13771 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
13773 * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: ... here.
13774 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: Moved ...
13775 * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: ... here.
13777 * nptl/sysdeps/unix/sysv/linux/s390/Makefile: File removed, contents
13779 * sysdeps/unix/sysv/linux/s390/Makefile [$(subdir) = nptl]: ... here.
13780 * sysdeps/unix/sysv/linux/s390/Versions
13781 (libpthread: GLIBC_2.19): New version set.
13782 * nptl/sysdeps/unix/sysv/linux/s390/Versions: File removed.
13783 * sysdeps/unix/sysv/linux/s390/s390-64/Versions
13784 (librt: GLIBC_2.3.3): New version set.
13785 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/Versions: File removed.
13786 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: Moved ...
13787 * sysdeps/unix/sysv/linux/s390/elision-conf.c: ... here.
13788 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Moved ...
13789 * sysdeps/unix/sysv/linux/s390/elision-conf.h: ... here.
13790 * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Moved ...
13791 * sysdeps/unix/sysv/linux/s390/elision-lock.c: ... here.
13792 * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Moved ...
13793 * sysdeps/unix/sysv/linux/s390/elision-timed.c: ... here.
13794 * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Moved ...
13795 * sysdeps/unix/sysv/linux/s390/elision-trylock.c: ... here.
13796 * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Moved ...
13797 * sysdeps/unix/sysv/linux/s390/elision-unlock.c: ... here.
13798 * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Moved ...
13799 * sysdeps/unix/sysv/linux/s390/force-elision.h: ... here.
13800 * nptl/sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Moved ...
13801 * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: ... here.
13802 * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h: Moved ...
13803 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: ... here.
13804 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Moved ...
13805 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: ... here.
13806 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: Moved ...
13807 * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: ... here.
13808 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: Moved ...
13809 * sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: ... here.
13810 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: Moved ...
13811 * sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: ... here.
13812 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: Moved ...
13813 * sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: ... here.
13814 * nptl/sysdeps/unix/sysv/linux/s390/pthread_once.c: Moved ...
13815 * sysdeps/unix/sysv/linux/s390/pthread_once.c: ... here.
13816 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Moved ...
13817 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: ... here.
13818 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Moved ...
13819 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: ... here.
13820 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Moved ...
13821 * sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: ... here.
13822 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Moved ...
13823 * sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: ... here.
13824 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Moved ...
13825 * sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: ... here.
13826 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Moved ...
13827 * sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: ... here.
13828 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Moved ...
13829 * sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: ... here.
13831 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Moved ...
13832 * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: ... here.
13833 (__libc_vfork): Define the function under this name.
13834 [!NOT_IN_libc] (__vfork): Make this an alias.
13835 [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
13836 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Moved ...
13837 * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: ... here.
13838 (__libc_vfork): Define the function under this name.
13839 [!NOT_IN_libc] (__vfork): Make this an alias.
13840 [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
13841 * sysdeps/unix/sysv/linux/s390/pt-vfork.S: New file.
13842 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: File removed.
13843 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: File removed.
13844 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Remove vfork.
13845 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
13847 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Deconditionalize the
13848 code that was previously under [RESET_PID].
13849 * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
13850 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/clone.S: File removed.
13851 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/clone.S: File removed.
13853 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h: Moved ...
13854 * sysdeps/aarch64/nptl/bits/pthreadtypes.h: ... here.
13855 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/semaphore.h: Moved ...
13856 * sysdeps/aarch64/nptl/bits/semaphore.h: ... here.
13857 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/local_lim.h: Moved ...
13858 * sysdeps/unix/sysv/linux/aarch64/bits/local_lim.h: ... here.
13859 * sysdeps/unix/sysv/linux/aarch64/nptl/c++-types.data: Moved ...
13860 * sysdeps/unix/sysv/linux/aarch64/c++-types.data: ... here.
13861 * sysdeps/unix/sysv/linux/aarch64/nptl/ld.abilist: Moved ...
13862 * sysdeps/unix/sysv/linux/aarch64/ld.abilist: ... here.
13863 * sysdeps/unix/sysv/linux/aarch64/nptl/libBrokenLocale.abilist:
13865 * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: ... here.
13866 * sysdeps/unix/sysv/linux/aarch64/nptl/libanl.abilist: Moved ...
13867 * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: ... here.
13868 * sysdeps/unix/sysv/linux/aarch64/nptl/libc.abilist: Moved ...
13869 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: ... here.
13870 * sysdeps/unix/sysv/linux/aarch64/nptl/libcrypt.abilist: Moved ...
13871 * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: ... here.
13872 * sysdeps/unix/sysv/linux/aarch64/nptl/libdl.abilist: Moved ...
13873 * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: ... here.
13874 * sysdeps/unix/sysv/linux/aarch64/nptl/libm.abilist: Moved ...
13875 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: ... here.
13876 * sysdeps/unix/sysv/linux/aarch64/nptl/libnsl.abilist: Moved ...
13877 * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: ... here.
13878 * sysdeps/unix/sysv/linux/aarch64/nptl/libpthread.abilist: Moved ...
13879 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: ... here.
13880 * sysdeps/unix/sysv/linux/aarch64/nptl/libresolv.abilist: Moved ...
13881 * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: ... here.
13882 * sysdeps/unix/sysv/linux/aarch64/nptl/librt.abilist: Moved ...
13883 * sysdeps/unix/sysv/linux/aarch64/librt.abilist: ... here.
13884 * sysdeps/unix/sysv/linux/aarch64/nptl/libthread_db.abilist: Moved ...
13885 * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: ... here.
13886 * sysdeps/unix/sysv/linux/aarch64/nptl/libutil.abilist: Moved ...
13887 * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: ... here.
13888 * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data: Moved ...
13889 * sysdeps/unix/sysv/linux/aarch64/localplt.data: ... here.
13890 * sysdeps/unix/sysv/linux/aarch64/nptl/lowlevellock.h: Moved ...
13891 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: ... here.
13892 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Moved ...
13893 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: ... here.
13895 2014-06-25 Roland McGrath <roland@hack.frob.com>
13897 * sysdeps/unix/sysv/linux/mips/clone.S: Deconditionalize the code
13898 that was previously under [RESET_PID].
13899 * sysdeps/unix/sysv/linux/mips/nptl/clone.S: File removed.
13901 2014-06-25 Joseph Myers <joseph@codesourcery.com>
13903 * sysdeps/unix/sysv/linux/dl-opendir.c (__ASSUME_O_CLOEXEC): Do
13904 not undefine and redefine.
13905 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs)
13906 [O_CLOEXEC]: Make code unconditional.
13907 (__get_nprocs) [!O_CLOEXEC]: Remove conditional code.
13908 * sysdeps/unix/sysv/linux/shm_open.c: Do not include
13909 <kernel-features.h>.
13910 [O_CLOEXEC && !__ASSUME_O_CLOEXEC] (have_o_cloexec): Remove
13911 conditional variable definition.
13912 (shm_open) [O_CLOEXEC]: Make code unconditional.
13913 (shm_open) [!O_CLOEXEC || !__ASSUME_O_CLOEXEC]: Remove conditional
13916 * configure.ac (USE_REGPARMS): Don't define here.
13917 * configure: Regenerated.
13918 * sysdeps/i386/configure.ac (USE_REGPARMS): Define here.
13919 * sysdeps/i386/configure: Regenerated.
13921 * nptl/createthread.c: Don't include kernel-features.h.
13922 * nptl/pthread_cancel.c: Likewise.
13923 * nptl/pthread_condattr_setclock.c: Likewise.
13924 * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Likewise.
13925 * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Likewise.
13926 * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Likewise.
13927 * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Likewise.
13928 * nptl/sysdeps/unix/sysv/linux/raise.c: Likewise.
13929 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: Likewise.
13930 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
13931 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: Likewise.
13932 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
13933 * nptl/sysdeps/unix/sysv/linux/timer_create.c: Likewise.
13934 * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Likewise.
13935 * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Likewise.
13936 * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Likewise.
13937 * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Likewise.
13938 * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Likewise.
13939 * nscd/gai.c: Likewise.
13940 * nss/nss_db/db-open.c: Likewise.
13941 * sysdeps/generic/ldsodefs.h: Likewise.
13942 * sysdeps/sh/nptl/tls.h: Likewise.
13943 * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
13944 * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h: Likewise.
13945 * sysdeps/unix/sysv/linux/aarch64/vfork.S: Likewise.
13946 * sysdeps/unix/sysv/linux/adjtime.c: Likewise.
13947 * sysdeps/unix/sysv/linux/alpha/xstatconv.h: Likewise.
13948 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
13949 * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
13950 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
13951 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
13952 * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
13953 * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
13954 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
13955 * sysdeps/unix/sysv/linux/clock_settime.c: Likewise.
13956 * sysdeps/unix/sysv/linux/dl-execstack.c: Likewise.
13957 * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
13958 * sysdeps/unix/sysv/linux/dl-sysdep.c: Likewise.
13959 * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
13960 * sysdeps/unix/sysv/linux/generic/poll.c: Likewise.
13961 * sysdeps/unix/sysv/linux/generic/wordsize-32/fcntl.c: Likewise.
13962 * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
13963 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
13964 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
13965 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Likewise.
13966 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
13967 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
13968 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
13969 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Likewise.
13970 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
13971 * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
13972 * sysdeps/unix/sysv/linux/getpagesize.c: Likewise.
13973 * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
13974 * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
13975 * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
13976 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
13977 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
13978 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
13979 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
13980 * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
13981 * sysdeps/unix/sysv/linux/ia64/system.c: Likewise.
13982 * sysdeps/unix/sysv/linux/if_index.c: Likewise.
13983 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
13984 * sysdeps/unix/sysv/linux/ifreq.c: Likewise.
13985 * sysdeps/unix/sysv/linux/ldsodefs.h: Likewise.
13986 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
13987 * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
13988 * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Likewise.
13989 * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Likewise.
13990 * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
13991 * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
13992 * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
13993 * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
13994 * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
13995 * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
13996 * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
13997 * sysdeps/unix/sysv/linux/mmap64.c: Likewise.
13998 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
13999 * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
14000 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Likewise.
14001 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
14002 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c: Likewise.
14003 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c: Likewise.
14004 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Likewise.
14005 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise.
14006 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
14007 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
14008 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
14009 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
14010 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
14011 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
14012 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c: Likewise.
14013 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c: Likewise.
14014 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise.
14015 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
14016 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
14017 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
14018 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
14019 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
14020 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise.
14021 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
14022 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
14023 * sysdeps/unix/sysv/linux/pread.c: Likewise.
14024 * sysdeps/unix/sysv/linux/pread64.c: Likewise.
14025 * sysdeps/unix/sysv/linux/prof-freq.c: Likewise.
14026 * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
14027 * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
14028 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
14029 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
14030 * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
14031 * sysdeps/unix/sysv/linux/sh/pread.c: Likewise.
14032 * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
14033 * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
14034 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
14035 * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
14036 * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
14037 * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
14038 * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
14039 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
14040 * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
14041 * sysdeps/unix/sysv/linux/syslog.c: Likewise.
14042 * sysdeps/unix/sysv/linux/system.c: Likewise.
14043 * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
14044 * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
14045 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
14046 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
14047 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
14048 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
14049 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
14051 * configure.ac (libc_cv_c_asmcr0_bug): Remove configure test.
14052 * configure: Regenerated.
14053 * config.h.in (BROKEN_PPC_ASM_CR0): Remove macro.
14055 * configure.ac (base_machine): Do not set specially for particular
14057 * configure: Regenerated.
14058 * sysdeps/powerpc/preconfigure: Move machine and base_machine
14059 settings from configure.ac.
14060 * sysdeps/i386/preconfigure: New file.
14061 * sysdeps/s390/preconfigure: Likewise.
14062 * sysdeps/sh/preconfigure: Likewise.
14063 * sysdeps/sparc/preconfigure: Likewise.
14065 2014-06-25 Roland McGrath <roland@hack.frob.com>
14067 * sysdeps/sparc/sparc64/nptl/cpu_relax.S: Moved ...
14068 * sysdeps/sparc/sparc64/cpu_relax.S: ... here.
14069 * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: Moved ...
14070 * sysdeps/sparc/sparc64/pthread_spin_init.c: ... here.
14071 * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: Moved ...
14072 * sysdeps/sparc/sparc64/pthread_spin_lock.S: ... here.
14073 * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: Moved ...
14074 * sysdeps/sparc/sparc64/pthread_spin_trylock.S: ... here.
14075 * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: Moved ...
14076 * sysdeps/sparc/sparc64/pthread_spin_unlock.S: ... here.
14077 * sysdeps/sparc/sparc64/nptl/pthreaddef.h: Moved ...
14078 * sysdeps/sparc/sparc64/pthreaddef.h: ... here.
14079 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Update #include.
14080 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Likewise.
14081 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Likewise.
14082 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Likewise.
14083 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Likewise.
14084 * sysdeps/sparc/sparc64/nptl/Makefile: File removed, its contents ...
14085 * sysdeps/sparc/sparc64/Makefile: ... appended here.
14087 * sysdeps/sparc/sparc32/nptl/lowlevellock.c: Moved ...
14088 * sysdeps/sparc/sparc32/lowlevellock.c: ... here.
14089 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Moved ...
14090 * sysdeps/sparc/sparc32/pthread_barrier_wait.c: ... here.
14091 * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: Moved ...
14092 * sysdeps/sparc/sparc32/pthread_spin_lock.S: ... here.
14093 * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: Moved ...
14094 * sysdeps/sparc/sparc32/pthread_spin_trylock.S: ... here.
14095 * sysdeps/sparc/sparc32/nptl/pthreaddef.h: Moved ...
14096 * sysdeps/sparc/sparc32/pthreaddef.h: ... here.
14097 * sysdeps/sparc/sparc32/nptl/sem_post.c: Moved ...
14098 * sysdeps/sparc/sparc32/sem_post.c: ... here.
14099 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Moved ...
14100 * sysdeps/sparc/sparc32/sem_timedwait.c: ... here.
14101 * sysdeps/sparc/sparc32/nptl/sem_trywait.c: Moved ...
14102 * sysdeps/sparc/sparc32/sem_trywait.c: ... here.
14103 * sysdeps/sparc/sparc32/nptl/sem_wait.c: Moved ...
14104 * sysdeps/sparc/sparc32/sem_wait.c: ... here.
14105 * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: Moved ...
14106 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: ... here.
14107 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: Moved ...
14108 * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: ... here.
14109 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: Moved ...
14110 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: ... here.
14111 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: Moved ...
14112 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: ... here.
14113 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: Moved ...
14114 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: ... here.
14115 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Moved ...
14116 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: ... here.
14117 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: Moved ...
14118 * sysdeps/sparc/sparc32/sparcv9/sem_post.c: ... here.
14119 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: Moved ...
14120 * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: ... here.
14121 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: Moved ...
14122 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: ... here.
14123 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: Moved ...
14124 * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: ... here.
14126 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data: Moved ...
14127 * sysdeps/unix/sysv/linux/sparc/sparc32/c++-types.data: ... here.
14128 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: Moved ...
14129 * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: ... here.
14130 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
14132 * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
14134 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: Moved ...
14135 * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: ... here.
14136 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Moved ...
14137 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: ... here.
14138 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist:
14140 * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: ... here.
14141 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: Moved ...
14142 * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: ... here.
14143 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: Moved ...
14144 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: ... here.
14145 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: Moved ...
14146 * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: ... here.
14147 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
14149 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: ... here.
14150 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
14152 * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: ... here.
14153 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: Moved ...
14154 * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: ... here.
14155 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
14157 * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: ... here.
14158 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: Moved ...
14159 * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: ... here.
14160 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data: Moved ...
14161 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: ... here.
14162 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data: Moved ...
14163 * sysdeps/unix/sysv/linux/sparc/sparc64/c++-types.data: ... here.
14164 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: Moved ...
14165 * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: ... here.
14166 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
14168 * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
14170 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: Moved ...
14171 * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: ... here.
14172 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Moved ...
14173 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: ... here.
14174 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist:
14176 * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: ... here.
14177 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: Moved ...
14178 * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: ... here.
14179 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: Moved ...
14180 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: ... here.
14181 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: Moved ...
14182 * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: ... here.
14183 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
14185 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: ... here.
14186 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
14188 * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: ... here.
14189 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: Moved ...
14190 * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: ... here.
14191 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
14193 * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: ... here.
14194 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: Moved ...
14195 * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: ... here.
14196 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data: Moved ...
14197 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: ... here.
14199 2014-06-25 Joseph Myers <joseph@codesourcery.com>
14201 * timezone/checktab.awk: Update from tzcode 2014e.
14202 * timezone/private.h: Likewise.
14203 * timezone/tzfile.h: Likewise.
14204 * timezone/zdump.c: Likewise.
14205 * timezone/zic.c: Likewise.
14207 * sysdeps/unix/sysv/linux/kernel-features.h
14208 (__ASSUME_XFS_RESTRICTED_CHOWN): Remove macro.
14209 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_chown_restricted)
14210 [__ASSUME_XFS_RESTRICTED_CHOWN]: Make code unconditional.
14211 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
14212 Remove conditional code.
14214 2014-06-25 Will Newton <will.newton@linaro.org>
14216 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
14217 (_dl_arm_cap_flags): Add HWCAP2 values.
14218 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h
14219 (_DL_HWCAP_COUNT): Increase to 37.
14220 (_DL_HWCAP_LAST): New define.
14221 (_DL_HWCAP2_LAST): New define.
14222 (_dl_procinfo): Add support for printing
14224 (_dl_string_hwcap): Use _dl_hwcap_string.
14226 2014-06-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14228 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14230 2014-06-25 Joseph Myers <joseph@codesourcery.com>
14232 * README: Do not mention ports directory.
14234 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMENSAT):
14236 * sysdeps/unix/sysv/linux/futimes.c: Do not include
14237 <kernel-features.h>.
14238 [__NR_utimensat && !__ASSUME_UTIMENSAT] (miss_utimensat): Remove
14239 conditional variable definition.
14240 (__futimes): Update comment.
14241 (__futimes) [__ASSUME_UTIMENSAT]: Make code unconditional.
14242 (__futimes) [!__ASSUME_UTIMENSAT]: Remove conditional code.
14245 * sysdeps/ieee754/dbl-64/e_exp10.c (__ieee754_exp10): Return 1 for
14246 arguments close to 0.
14247 * sysdeps/ieee754/ldbl-128/e_exp10l.c (__ieee754_exp10l):
14249 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (__ieee754_exp10l):
14251 * math/auto-libm-test-in: Add more tests of exp10.
14252 * math/auto-libm-test-out: Regenerated.
14253 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
14255 * sysdeps/unix/sysv/linux/kernel-features.h
14256 (__ASSUME_COMPLETE_READV_WRITEV): Remove macro.
14257 * sysdeps/unix/sysv/linux/readv.c: Do not include
14258 <kernel-features.h>.
14259 [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
14260 [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
14261 (__libc_readv) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
14263 (__libc_readv) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
14265 * sysdeps/unix/sysv/linux/writev.c: Do not include
14266 <kernel-features.h>.
14267 [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
14268 [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
14269 (__libc_writev) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
14271 (__libc_writev) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
14274 2014-06-25 Will Newton <will.newton@linaro.org>
14276 * sysdeps/posix/tempname.c: Merge from gnulib, cosmetic
14277 comment changes throughout the file. Remove checks
14278 for HAVE_*_H definitions that are not required.
14279 (__gen_tempname): Call abort if an unknown kind value is
14282 2014-06-25 Andreas Schwab <schwab@suse.de>
14285 * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Add compat symbols for
14286 scalbln, scalblnf, scalblnl in libc.
14288 2014-06-25 Siddhesh Poyarekar <siddhesh@redhat.com>
14291 * sysdeps/i386/fpu/s_scalbn.S: Add compat symbol for libc.so.
14292 * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
14293 * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
14295 2014-06-24 Roland McGrath <roland@hack.frob.com>
14297 * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: Moved ...
14298 * sysdeps/i386/i486/pthread_spin_trylock.S: ... here.
14299 * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: Moved ...
14300 * sysdeps/i386/i586/pthread_spin_trylock.S: ... here.
14302 * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: Moved ...
14303 * sysdeps/i386/i686/pthread_spin_trylock.S: ... here.
14305 * sysdeps/x86_64/64/nptl/shlib-versions: Moved ...
14306 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: ... here.
14307 * sysdeps/x86_64/x32/nptl/shlib-versions: Moved ...
14308 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: ... here.
14309 * sysdeps/x86/nptl/bits/pthreadtypes.h: Moved ...
14310 * sysdeps/x86/bits/pthreadtypes.h: ... here.
14311 * sysdeps/x86/nptl/bits/semaphore.h: Moved ...
14312 * sysdeps/x86/bits/semaphore.h: ... here.
14313 * sysdeps/x86/nptl/elide.h: Moved ...
14314 * sysdeps/x86/elide.h: ... here.
14315 * sysdeps/x86_64/nptl/Implies: File removed.
14316 * sysdeps/i386/nptl/Implies: File removed.
14318 2014-06-24 Joseph Myers <joseph@codesourcery.com>
14321 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Just
14322 return the argument for normal arguments with exponent below -64.
14323 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
14325 * math/auto-libm-test-in: Add another test of expm1.
14326 * math/auto-libm-test-out: Regenerated.
14329 * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Return 1 without
14330 calling __erfcl for arguments at least 16.
14331 * math/auto-libm-test-in: Add more tests of erf.
14332 * math/auto-libm-test-out: Regenerated.
14334 * sysdeps/unix/sysv/linux/configure.ac: Remove cases for
14335 individual architectures.
14336 * sysdeps/unix/sysv/linux/configure: Regenerated.
14337 * sysdeps/unix/sysv/linux/i386/configure.ac: New file.
14338 * sysdeps/unix/sysv/linux/i386/configure: New generated file.
14339 * sysdeps/unix/sysv/linux/powerpc/configure.ac
14340 (ldd_rewrite_script): Define variable.
14341 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
14342 * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure.ac: New
14344 * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure: New
14346 * sysdeps/unix/sysv/linux/s390/configure.ac: New file.
14347 * sysdeps/unix/sysv/linux/s390/configure: New generated file.
14348 * sysdeps/unix/sysv/linux/sh/configure.ac: New file.
14349 * sysdeps/unix/sysv/linux/sh/configure: New generated file.
14350 * sysdeps/unix/sysv/linux/sparc/configure.ac: New file.
14351 * sysdeps/unix/sysv/linux/sparc/configure: New generated file.
14352 * sysdeps/unix/sysv/linux/x86_64/configure.ac: New file.
14353 * sysdeps/unix/sysv/linux/x86_64/configure: New generated file.
14355 2014-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
14358 * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_mutex_t):
14359 Rename member __data.d to __data.__elision_data.
14361 2014-06-24 Wilco <wdijkstr@arm.com>
14363 * NEWS: Add 16918 to fixed bug list.
14365 2014-06-24 Wilco <wdijkstr@arm.com>
14367 * sysdeps/arm/fesetenv.c (fesetenv): Optimize implementation.
14369 2014-06-24 Wilco <wdijkstr@arm.com>
14371 * sysdeps/arm/fpu_control.h (_FPU_MASK_RM): Define.
14372 * sysdeps/arm/fenv_private.h (libc_fesetround_vfp)
14373 (libc_feholdexcept_setround_vfp) (libc_feholdsetround_vfp)
14374 (libc_feresetround_vfp) (libc_feholdsetround_vfp_ctx)
14375 (libc_feresetround_vfp_ctx): Use _FPU_MASK_RM.
14376 * sysdeps/arm/fesetround.c (fesetround): Use _FPU_MASK_RM.
14377 * sysdeps/arm/get-rounding-mode.h (get_rounding_mode):
14380 2014-06-24 Wilco <wdijkstr@arm.com>
14382 * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Remove unused include.
14384 2014-06-24 Wilco <wdijkstr@arm.com>
14386 * sysdeps/arm/feholdexcpt.c (feholdexcept): Remove space.
14387 * sysdeps/arm/fesetenv.c (fesetenv): Remove space.
14388 * sysdeps/arm/fesetround.c (fesetround): Remove space.
14389 * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Remove space.
14391 2014-06-24 Wilco <wdijkstr@arm.com>
14394 * sysdeps/arm/feupdateenv.c (feupdateenv):
14395 Rewrite to reduce FPSCR accesses and fix return value.
14397 2014-06-24 Wilco <wdijkstr@arm.com>
14399 * sysdeps/arm/fclrexcpt.c (feclearexcept):
14400 Optimize to avoid unnecessary FPSCR writes.
14401 * sysdeps/arm/fedisblxcpt.c (fedisableexcept): Likewise.
14402 * sysdeps/arm/feenablxcpt.c (feenableexcept): Likewise.
14403 * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Likewise.
14404 * sysdeps/arm/setfpucw.c (__setfpucw): Likewise.
14406 2014-06-24 Wilco <wdijkstr@arm.com>
14408 * sysdeps/arm/fegetround.c (fegetround): Call get_rounding_mode.
14409 * sysdeps/arm/feholdexcpt.c (feholdexcept): Call libc_feholdexcept_vfp.
14410 * sysdeps/arm/fesetround.c (fesetround): Call libc_fesetround_vfp.
14411 * sysdeps/arm/fgetexcptflg.c (fegetexceptflag):
14412 Call libc_fetestexcept_vfp.
14413 * sysdeps/arm/ftestexcept.c (fetestexcept): Call libc_fetestexcept_vfp.
14414 * sysdeps/arm/fenv_private.h: Move libc_*_vfp functions outside of
14415 __SOFTFP__ ifdef so that they can be built for softfp.
14417 2014-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
14419 * sysdeps/x86/nptl/elide.h (elision_adapt): Make first
14420 argument type signed char.
14422 * Makerules (check-abi): Dump diff of symlist if the test
14425 2014-06-23 Roland McGrath <roland@hack.frob.com>
14427 * sysdeps/generic/get-rounding-mode.h: Include <stdlib.h> before
14430 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
14431 Remove unused variable ST.
14433 2014-06-23 Joseph Myers <joseph@codesourcery.com>
14437 * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Check for
14438 small arguments before calling __expm1.
14439 * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Check for
14440 small arguments before calling __expm1f.
14441 * sysdeps/ieee754/ldbl-128/e_coshl.c (__ieee754_coshl): Check for
14442 small arguments before calling __expm1l.
14443 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
14445 * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
14446 * math/auto-libm-test-in: Add more cosh tests. Do not allow
14447 spurious underflow for some cosh tests.
14448 * math/auto-libm-test-out: Regenerated.
14449 * sysdeps/i386/fpu/libm-test-ulps: Update.
14452 * sysdeps/ieee754/dbl-64/e_j1.c: Include <errno.h>.
14453 (__ieee754_y1): Set errno if return value overflows.
14454 * sysdeps/ieee754/flt-32/e_j1f.c: Include <errno.h>.
14455 (__ieee754_y1f): Set errno if return value overflows.
14456 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <errno.h>.
14457 (__ieee754_y1l): Set errno if return value overflows.
14458 * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <errno.h>.
14459 (__ieee754_y1l): Set errno if return value overflows.
14460 * math/auto-libm-test-in: Add more tests of y0, y1 and yn.
14461 * math/auto-libm-test-out: Regenerated.
14463 * math/gen-auto-libm-tests.c: Document use of
14464 ignore-zero-inf-sign.
14465 (input_flag_type): Add value flag_ignore_zero_inf_sign.
14466 (input_flags): Add ignore-zero-inf-sign.
14467 (output_for_one_input_case): Handle flag_ignore_zero_inf_sign.
14468 * math/gen-libm-test.pl (generate_testfile): Handle
14469 ignore-zero-inf-sign.
14470 * math/auto-libm-test-in: Mark some cpow tests with
14471 ignore-zero-inf-sign and some with xfail-rounding.
14472 * math/auto-libm-test-out: Regenerated.
14473 * math/libm-test.inc (cpow_test): Use ALL_RM_TEST.
14474 * sysdeps/i386/fpu/libm-test-ulps: Update.
14475 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14478 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Ensure possibly
14479 overflowing or underflowing operations take place with sign of
14481 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
14482 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
14483 * sysdeps/ieee754/dbl-64/e_pow.c: Include <math.h>.
14484 (__ieee754_pow): Recompute overflowing and underflowing results in
14485 original rounding mode.
14486 * sysdeps/x86/fpu/powl_helper.c: Include <stdbool.h>.
14487 (__powl_helper): Allow negative argument X and scale negated value
14488 as needed. Avoid passing value outside [-1, 1] to f2xm1.
14489 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Ensure possibly
14490 overflowing or underflowing operations take place with sign of
14492 * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]:
14494 * math/auto-libm-test-in: Add more tests of pow.
14495 * math/auto-libm-test-out: Regenerated.
14496 * math/libm-test.inc (pow_test): Use ALL_RM_TEST.
14497 (pow_tonearest_test_data): Remove.
14498 (pow_test_tonearest): Likewise.
14499 (pow_towardzero_test_data): Likewise.
14500 (pow_test_towardzero): Likewise.
14501 (pow_downward_test_data): Likewise.
14502 (pow_test_downward): Likewise.
14503 (pow_upward_test_data): Likewise.
14504 (pow_test_upward): Likewise.
14505 (main): Don't call removed functions.
14506 * sysdeps/i386/fpu/libm-test-ulps: Update.
14507 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14509 2014-06-23 Roland McGrath <roland@hack.frob.com>
14511 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/c++-types.data:
14513 * sysdeps/unix/sysv/linux/powerpc/powerpc32/c++-types.data: ... here.
14514 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
14516 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: ... here.
14517 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
14519 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: ... here.
14520 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
14522 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data: ... here.
14523 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
14525 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
14527 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libBrokenLocale.abilist:
14529 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libanl.abilist:
14531 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libcrypt.abilist:
14533 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libdl.abilist:
14535 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libnsl.abilist:
14537 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
14539 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libresolv.abilist:
14541 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
14543 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libthread_db.abilist:
14545 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libutil.abilist:
14547 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/ld.abilist:
14549 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: ... here.
14550 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libBrokenLocale.abilist:
14552 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
14554 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libanl.abilist:
14556 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: ... here.
14557 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libcrypt.abilist:
14559 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: ... here.
14560 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libdl.abilist:
14562 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: ... here.
14563 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libnsl.abilist:
14565 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: ... here.
14566 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libpthread.abilist:
14568 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist: ... here.
14569 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libresolv.abilist:
14571 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist: ... here.
14572 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/librt.abilist:
14574 * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: ... here.
14575 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libthread_db.abilist: Moved ...
14576 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
14578 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libutil.abilist:
14580 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: ... here.
14581 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
14583 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
14585 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libm.abilist:
14587 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
14589 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
14591 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
14593 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
14595 * sysdeps/unix/sysv/linux/powerpc/powerpc64/c++-types.data: ... here.
14596 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
14598 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: ... here.
14599 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: Moved ...
14600 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: ... here.
14601 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
14603 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
14605 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
14607 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
14609 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
14611 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist: ... here.
14612 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
14614 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: ... here.
14615 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
14617 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: ... here.
14618 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
14620 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: ... here.
14621 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
14623 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
14625 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
14627 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: ... here.
14628 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
14630 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: ... here.
14631 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
14633 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: ... here.
14634 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
14636 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: ... here.
14637 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: Moved ...
14638 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: ... here.
14639 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
14641 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist: ... here.
14642 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
14644 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: ... here.
14645 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
14647 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
14649 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
14651 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
14653 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
14655 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
14657 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
14659 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist: ... here.
14660 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
14662 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: ... here.
14663 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
14665 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: ... here.
14666 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
14668 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
14670 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
14672 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
14674 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
14676 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
14678 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
14680 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: ... here.
14681 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
14683 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: ... here.
14685 2014-06-23 Will Newton <will.newton@linaro.org>
14686 Wilco <wdijkstr@arm.com>
14688 * sysdeps/generic/math_private.h: Add generic HAVE_RM_CTX
14689 implementation. Include get-rounding-mode.h.
14690 [!HAVE_RM_CTX]: Define HAVE_RM_CTX to zero.
14691 [!libc_feholdsetround_noex_ctx]: Define
14692 libc_feholdsetround_noex_ctx.
14693 [!libc_feholdsetround_noexf_ctx]: Define
14694 libc_feholdsetround_noexf_ctx.
14695 [!libc_feholdsetround_noexl_ctx]: Define
14696 libc_feholdsetround_noexl_ctx.
14697 (libc_feholdsetround_ctx): New function.
14698 (libc_feresetround_ctx): New function.
14699 (libc_feholdsetround_noex_ctx): New function.
14700 (libc_feresetround_noex_ctx): New function.
14702 2014-06-23 Roland McGrath <roland@hack.frob.com>
14704 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Moved ...
14705 * sysdeps/mips/nptl/bits/pthreadtypes.h: ... here.
14706 * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h: Moved ...
14707 * sysdeps/mips/nptl/bits/semaphore.h: ... here.
14708 * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Moved ...
14709 * sysdeps/unix/sysv/linux/mips/bits/local_lim.h: ... here.
14711 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h: Moved ...
14712 * sysdeps/m68k/nptl/bits/pthreadtypes.h: ... here.
14713 * sysdeps/unix/sysv/linux/m68k/nptl/bits/semaphore.h: Moved ...
14714 * sysdeps/m68k/nptl/bits/semaphore.h: ... here.
14715 * sysdeps/unix/sysv/linux/m68k/nptl/c++-types.data: Moved ...
14716 * sysdeps/unix/sysv/linux/m68k/c++-types.data: ... here.
14717 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/bits/atomic.h: Moved ...
14718 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: ... here.
14719 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/ld.abilist: Moved ...
14720 * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: ... here.
14721 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libBrokenLocale.abilist:
14723 * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
14725 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libanl.abilist: Moved ...
14726 * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: ... here.
14727 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libc.abilist: Moved ...
14728 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: ... here.
14729 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libcrypt.abilist:
14731 * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: ... here.
14732 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libdl.abilist: Moved ...
14733 * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: ... here.
14734 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libm.abilist: Moved ...
14735 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: ... here.
14736 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libnsl.abilist: Moved ...
14737 * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: ... here.
14738 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libpthread.abilist:
14740 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: ... here.
14741 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libresolv.abilist:
14743 * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: ... here.
14744 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/librt.abilist: Moved ...
14745 * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: ... here.
14746 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libthread_db.abilist:
14748 * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: ... here.
14749 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libutil.abilist: Moved ...
14750 * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: ... here.
14751 * sysdeps/unix/sysv/linux/m68k/nptl/localplt.data: Moved ...
14752 * sysdeps/unix/sysv/linux/m68k/localplt.data: ... here.
14753 * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h: Moved ...
14754 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: ... here.
14755 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/ld.abilist: Moved ...
14756 * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: ... here.
14757 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libBrokenLocale.abilist:
14759 * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
14761 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libanl.abilist: Moved ...
14762 * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: ... here.
14763 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libc.abilist: Moved ...
14764 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: ... here.
14765 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libcrypt.abilist: Moved ...
14766 * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: ... here.
14767 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libdl.abilist: Moved ...
14768 * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: ... here.
14769 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libm.abilist: Moved ...
14770 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: ... here.
14771 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libnsl.abilist: Moved ...
14772 * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: ... here.
14773 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libpthread.abilist:
14775 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: ... here.
14776 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libresolv.abilist: Moved ...
14777 * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: ... here.
14778 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/librt.abilist: Moved ...
14779 * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: ... here.
14780 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libthread_db.abilist:
14782 * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: ... here.
14783 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libutil.abilist: Moved ...
14784 * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: ... here.
14785 * sysdeps/unix/sysv/linux/m68k/nptl/sysdep-cancel.h: Moved ...
14786 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: ... here.
14788 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: Moved ...
14789 * sysdeps/unix/sysv/linux/sh/c++-types.data: ... here.
14790 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: Moved ...
14791 * sysdeps/unix/sysv/linux/sh/ld.abilist: ... here.
14792 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: Moved ...
14793 * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: ... here.
14794 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: Moved ...
14795 * sysdeps/unix/sysv/linux/sh/libanl.abilist: ... here.
14796 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Moved ...
14797 * sysdeps/unix/sysv/linux/sh/libc.abilist: ... here.
14798 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: Moved ...
14799 * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: ... here.
14800 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: Moved ...
14801 * sysdeps/unix/sysv/linux/sh/libdl.abilist: ... here.
14802 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Moved ...
14803 * sysdeps/unix/sysv/linux/sh/libm.abilist: ... here.
14804 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: Moved ...
14805 * sysdeps/unix/sysv/linux/sh/libnsl.abilist: ... here.
14806 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: Moved ...
14807 * sysdeps/unix/sysv/linux/sh/libpthread.abilist: ... here.
14808 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: Moved ...
14809 * sysdeps/unix/sysv/linux/sh/libresolv.abilist: ... here.
14810 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Moved ...
14811 * sysdeps/unix/sysv/linux/sh/librt.abilist: ... here.
14812 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: Moved ...
14813 * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: ... here.
14814 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: Moved ...
14815 * sysdeps/unix/sysv/linux/sh/libutil.abilist: ... here.
14817 2014-06-23 Joseph Myers <joseph@codesourcery.com>
14819 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
14820 (FALLOC_FL_COLLAPSE_RANGE): New macro.
14821 [__USE_GNU] (FALLOC_FL_ZERO_RANGE): Likewise.
14822 * sysdeps/unix/sysv/linux/bits/in.h (IP_PMTUDISC_OMIT): Likewise.
14823 (IPV6_PMTUDISC_INTERFACE): Likewise.
14824 (IPV6_PMTUDISC_OMIT): Likewise.
14826 2014-06-23 Andreas Schwab <schwab@suse.de>
14828 * nptl/sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink):
14829 Remove unused errout label.
14831 2014-06-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14833 * sysdeps/powerpc/bits/hwcap.h [PPC_FEATURE2_HAS_VEC_CRYPTO]: New
14834 macro: hardware supports Vector Crypto instructions.
14836 2014-06-23 Will Newton <will.newton@linaro.org>
14838 * elf/dl-lookup.c: Use __glibc_unlikely and __glibc_likely
14839 rather than __builtin_expect.
14841 * elf/dl-lookup.c (undefined_msg): Remove variable.
14842 (_dl_lookup_symbol_x): Replace undefined_msg with string
14845 * elf/dl-lookup.c (do_lookup_unique): New function.
14846 (do_lookup_x): Move STB_GNU_UNIQUE handling code
14847 to a separate function.
14849 2014-06-23 Andreas Schwab <schwab@suse.de>
14852 * nss/nss_files/files-XXX.c (get_contents): Store overflow marker
14853 before reading the next line.
14855 2014-06-23 Will Newton <will.newton@linaro.org>
14857 * test-skeleton.c (signal_handler): Use printf and %m
14858 rather than perror. Use printf rather than fprintf to
14859 stderr. Use puts rather than fputs to stderr.
14862 2014-06-22 Ludovic Courtès <ludo@gnu.org>
14864 * nscd/nscd.c (thread_info_t): Remove typedef.
14865 (thread_info): Remove variable.
14867 2014-06-21 Allan McRae <allan@archlinux.org>
14869 * NEWS: Mention CVE-2014-4043.
14871 2014-06-20 Roland McGrath <roland@hack.frob.com>
14873 * nptl/sysdeps/unix/sysv/linux/smp.h: Moved ...
14874 * nptl/smp.h: ... here.
14876 * nptl/sysdeps/unix/sysv/linux/rtld-lowlevel.h: File removed.
14878 * include/libc-symbols.h (HAVE_CONFIG_H, STDC_HEADERS): New macros.
14879 * catgets/Makefile (catgets-CPPFLAGS): Remove -DHAVE_CONFIG_H.
14880 * locale/Makefile (CPPFLAGS-locale-programs): Likewise.
14881 * stdlib/strtol_l.c [_LIBC] (STDC_HEADERS): Don't define it.
14883 * nptl/allocatestack.c: Include <stack-aliasing.h>.
14884 * nptl/stack-aliasing.h: New file.
14885 * sysdeps/i386/i686/stack-aliasing.h: New file.
14886 * sysdeps/i386/i686/nptl/Makefile: File removed.
14887 * sysdeps/x86_64/stack-aliasing.h: New file.
14888 * sysdeps/x86_64/nptl/Makefile
14889 (CFLAGS-pthread_create.c): Variable removed.
14891 * nptl/sysdeps/unix/sysv/linux/bits/local_lim.h: Moved ...
14892 * sysdeps/unix/sysv/linux/bits/local_lim.h: ... here, replacing the
14894 * nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h: Moved ...
14895 * sysdeps/unix/sysv/linux/bits/posix_opt.h: ... here, replacing the
14898 2014-06-21 Joseph Myers <joseph@codesourcery.com>
14900 * sysdeps/unix/sysv/linux/arm/kernel-features.h
14901 (__ASSUME_SIGFRAME_V2): Remove macro.
14902 * sysdeps/unix/sysv/linux/arm/sigrestorer.S: Update comment.
14903 [!__ASSUME_SIGFRAME_V2]: Remove conditional code.
14904 (__default_sa_restorer_v2): Rename to __default_sa_restorer.
14905 (__default_rt_sa_restorer_v2): Rename to __default_rt_sa_restorer.
14906 * sysdeps/unix/sysv/linux/arm/sigaction.c (__default_sa_restorer):
14907 Declare as function. Remove conditional macro definitions.
14908 (__default_rt_sa_restorer): Likewise.
14909 (__default_sa_restorer_v1): Remove declaration.
14910 (__default_sa_restorer_v2): Likewise.
14911 (__default_rt_sa_restorer_v1): Likewise.
14912 (__default_rt_sa_restorer_v2): Likewise.
14913 * sysdeps/unix/sysv/linux/arm/Versions (GLIBC_PRIVATE): Remove
14914 __default_sa_restorer_v1, __default_rt_sa_restorer_v1,
14915 __default_sa_restorer_v2 and __default_rt_sa_restorer_v2.
14917 2014-06-20 Roland McGrath <roland@hack.frob.com>
14919 * sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl]
14920 (libpthread-routines): Add sysdep.
14921 * nptl/sysdeps/unix/sysv/linux/sparc/Makefile: File removed.
14922 * sysdeps/unix/sysv/linux/sparc/Versions
14923 (libpthread: GLIBC_2.3.3): New version set.
14924 * nptl/sysdeps/unix/sysv/linux/sparc/Versions: File removed.
14925 * nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c: Moved ...
14926 * sysdeps/unix/sysv/linux/sparc/aio_cancel.c: ... here.
14927 * nptl/sysdeps/unix/sysv/linux/sparc/internaltypes.h: Moved ...
14928 * sysdeps/sparc/nptl/internaltypes.h: ... here. Use #include_next.
14929 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_destroy.c:
14931 * sysdeps/sparc/nptl/pthread_barrier_destroy.c: ... here.
14932 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c: Moved ...
14933 * sysdeps/sparc/nptl/pthread_barrier_init.c: ... here.
14934 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_wait.c: Moved ...
14935 * sysdeps/sparc/nptl/pthread_barrier_wait.c: ... here.
14936 * nptl/sysdeps/unix/sysv/linux/sparc/sem_init.c: Moved ...
14937 * sysdeps/sparc/nptl/sem_init.c: ... here.
14938 * nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c: Moved ...
14939 * sysdeps/sparc/nptl/sem_post.c: ... here.
14940 * nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Moved ...
14941 * sysdeps/sparc/nptl/sem_timedwait.c: ... here.
14942 * nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c: Moved ...
14943 * sysdeps/sparc/nptl/sem_wait.c: ... here.
14944 * nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Moved ...
14945 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: ... here.
14946 * sysdeps/sparc/sparc32/sparcv9/Makefile [$(subdir) = nptl]
14947 (libpthread-routines): Add cpu_relax.
14948 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile:
14950 * sysdeps/unix/sysv/linux/sparc/sparc64/Versions
14951 (librt: GLIBC_2.3.3): New version set.
14952 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Versions: File removed.
14953 * sysdeps/sparc/sparc64/nptl/Makefile: New file.
14954 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile [$(subdir) = nptl]
14955 (CFLAGS-pause.c, CFLAGS-sigsuspend.c): New variables.
14956 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: File removed.
14957 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c: Moved ...
14958 * sysdeps/sparc/sparc32/nptl/lowlevellock.c: ... here.
14959 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pthread_barrier_wait.c:
14961 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: ... here.
14962 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Moved ...
14963 * sysdeps/sparc/sparc32/nptl/sem_post.c: ... here.
14964 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Moved ...
14965 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: ... here.
14966 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c: Moved ...
14967 * sysdeps/sparc/sparc32/nptl/sem_trywait.c: ... here.
14968 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Moved ...
14969 * sysdeps/sparc/sparc32/nptl/sem_wait.c: ... here.
14970 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S:
14972 * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: ... here.
14974 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c:
14976 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: ... here.
14978 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c:
14980 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: ... here.
14982 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c:
14984 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: ... here.
14986 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_trywait.c:
14988 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: ... here.
14990 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c:
14992 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: ... here.
14994 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: Moved ...
14995 * sysdeps/sparc/sparc64/nptl/cpu_relax.S: ... here.
14996 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Moved ...
14997 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: ... here.
14998 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Moved ...
14999 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: ... here.
15000 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: Moved ...
15001 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: ... here.
15002 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: Moved ...
15003 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: ... here.
15004 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
15006 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: ... here.
15007 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: Moved ...
15008 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: ... here.
15009 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: Moved ...
15010 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: ... here.
15012 2014-06-20 Joseph Myers <joseph@codesourcery.com>
15014 * nptl/pthread_cond_wait.c: Include <kernel-features.h>.
15015 * nptl/pthread_rwlock_timedrdlock.c: Likewise.
15016 * nptl/pthread_rwlock_timedwrlock.c: Likewise.
15017 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise.
15018 * nscd/nscd.c: Likewise.
15019 * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
15020 * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
15021 * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
15022 * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
15024 * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include
15025 <kernel-features.h>.
15026 (init_mq_netlink): Remove conditional have_sock_cloexec
15027 definitions. Remove code conditional on have_sock_cloexec < 0.
15028 (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code.
15029 (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise.
15030 * sysdeps/unix/sysv/linux/opensock.c: Do not include
15031 <kernel-features.h>.
15032 (__opensock) [SOCK_CLOEXEC]: Make code unconditional.
15033 (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code.
15035 2014-06-20 H.J. Lu <hongjiu.lu@intel.com>
15037 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
15038 Add tests for memset_chk and memset.
15040 * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined
15043 2014-06-20 Maciej W. Rozycki <macro@codesourcery.com>
15046 * elf/tst-dl-iter-static.c: New file.
15047 * elf/Makefile (tests-static): Add tst-dl-iter-static.
15049 * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation
15052 2014-06-20 Joseph Myers <joseph@codesourcery.com>
15054 * sysdeps/unix/sysv/linux/kernel-features.h
15055 (__ASSUME_F_GETOWN_EX): Remove macro.
15056 * sysdeps/unix/sysv/linux/fcntl.c: Do not include
15057 <kernel-features.h>.
15058 (miss_F_GETOWN_EX): Remove variable or macro.
15059 (do_fcntl): Do not check miss_F_GETOWN_EX.
15060 (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code.
15062 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM):
15064 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard)
15065 [!__ASSUME_AT_RANDOM]: Remove conditional code.
15066 (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise.
15068 * sysdeps/unix/sysv/linux/kernel-features.h
15069 (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro.
15070 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME)
15071 [ADJ_OFFSET_SS_READ]: Make code unconditional.
15072 (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code.
15074 2014-06-20 Maciej W. Rozycki <macro@codesourcery.com>
15077 * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>:
15078 Fix calculation of the symbol's value.
15079 * sysdeps/arm/tst-armtlsdescloc.c: New file.
15080 * sysdeps/arm/tst-armtlsdesclocmod.c: New file.
15081 * sysdeps/arm/tst-armtlsdescextnow.c: New file.
15082 * sysdeps/arm/tst-armtlsdescextlazymod.c: New file.
15083 * sysdeps/arm/tst-armtlsdescextlazy.c: New file.
15084 * sysdeps/arm/tst-armtlsdescextnowmod.c: New file.
15085 * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc',
15086 `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'.
15087 (modules-names): Add `tst-armtlsdescmod',
15088 `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'.
15089 (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable.
15090 (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise.
15091 (CFLAGS-tst-armtlsdesclocmod.c): Likewise.
15092 (CFLAGS-tst-armtlsdescextnowmod.c): Likewise.
15093 (CFLAGS-tst-armtlsdescextlazymod.c): Likewise.
15094 (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise.
15095 ($(objpfx)tst-armtlsdescloc): New dependency.
15096 ($(objpfx)tst-armtlsdescextnow): Likewise.
15097 ($(objpfx)tst-armtlsdescextlazy): Likewise.
15098 * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor
15099 TLS scheme support.
15100 * sysdeps/arm/configure: Regenerate.
15102 2014-06-20 Joseph Myers <joseph@codesourcery.com>
15104 * include/fcntl.h (__atfct_seterrno): Remove prototype.
15105 (__atfct_seterrno_2): Likewise.
15106 * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include
15107 <kernel-features.h>.
15108 (__ASSUME_ATFCTS): Do not undefine and redefine.
15109 * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS]
15110 (__have_atfcts): Remove conditional definition.
15111 (__fxstatat([__NR_fstatat64]: Make code unconditional.
15112 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code
15113 unreachable if [__ASSUME_ATFCTS].
15114 * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do
15115 not undefine and redefine.
15116 * sysdeps/unix/sysv/linux/faccessat.c: Do not include
15117 <kernel-features.h>.
15118 (faccessat) [__NR_faccessat]: Make code unconditional.
15119 (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code.
15120 * sysdeps/unix/sysv/linux/fchmodat.c: Do not include
15121 <kernel-features.h>.
15122 (fchmodat) [__NR_fchmodat]: Make code unconditional.
15123 (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code.
15124 * sysdeps/unix/sysv/linux/fchownat.c: Do not include
15125 <kernel-features.h>.
15126 (fchownat) [__NR_fchownat]: Make code unconditional.
15127 (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code.
15128 * sysdeps/unix/sysv/linux/futimesat.c: Do not include
15129 <kernel-features.h>.
15130 (futimesat) [__NR_futimesat]: Make code unconditional.
15131 (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code.
15132 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
15133 <kernel-features.h>.
15134 (__fxstatat) [__NR_newfstatat]: Make code unconditional.
15135 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
15136 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
15137 <kernel-features.h>.
15138 (__fxstatat64) [__NR_fstatat64]: Make code unconditional.
15139 (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
15140 * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file.
15141 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
15142 <kernel-features.h>.
15143 (__fxstatat) [__NR_fstatat64]: Make code unconditional.
15144 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
15145 * sysdeps/unix/sysv/linux/linkat.c: Do not include
15146 <kernel-features.h>.
15147 (linkat) [__NR_linkat]: Make code unconditional.
15148 (linkat) [!__ASSUME_ATFCTS]: Remove conditional code.
15149 * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file.
15150 * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
15151 <kernel-features.h>.
15152 (__fxstatat64) [__NR_newfstatat]: Make code unconditional.
15153 (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
15154 * sysdeps/unix/sysv/linux/mkdirat.c: Do not include
15155 <kernel-features.h>.
15156 (mkdirat) [__NR_mkdirat]: Make code unconditional.
15157 (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code.
15158 * sysdeps/unix/sysv/linux/openat.c: Do not include
15159 <kernel-features.h>.
15160 [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function.
15161 [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable.
15162 (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional.
15163 (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code.
15164 * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file.
15165 * sysdeps/unix/sysv/linux/readlinkat.c: Do not include
15166 <kernel-features.h>.
15167 (readlinkat) [__NR_readlinkat]: Make code unconditional.
15168 (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code. Return
15169 result of INLINE_SYSCALL directly, not via int variable.
15170 * sysdeps/unix/sysv/linux/renameat.c: Do not include
15171 <kernel-features.h>.
15172 [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function.
15173 (renameat) [__NR_renameat]: Make code unconditional.
15174 (renameat) [!__ASSUME_ATFCTS]: Remove conditional code.
15175 * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file.
15176 * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file.
15177 * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file.
15178 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
15179 (__ASSUME_ATFCTS): Do not undefine and redefine.
15180 * sysdeps/unix/sysv/linux/symlinkat.c: Do not include
15181 <kernel-features.h>.
15182 (symlinkat) [__NR_symlinkat]: Make code unconditional.
15183 (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
15184 * sysdeps/unix/sysv/linux/unlinkat.c: Do not include
15185 <kernel-features.h>.
15186 (unlinkat) [__NR_unlinkat]: Make code unconditional.
15187 (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
15188 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
15189 (__ASSUME_ATFCTS): Do not undefine and redefine.
15190 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
15191 <kernel-features.h>.
15192 (__fxstatat) [__NR_newfstatat]: Make code unconditional.
15193 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
15194 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
15195 <kernel-features.h>.
15196 (__xmknodat) [__NR_mknodat]: Make code unconditional.
15197 (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code.
15199 2014-06-20 H.J. Lu <hongjiu.lu@intel.com>
15201 * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed.
15203 2014-06-20 Andreas Schwab <schwab@linux-m68k.org>
15206 * posix/regcomp.c (parse_reg_exp): Deallocate partially
15207 constructed tree before returning error.
15208 * posix/bug-regexp36.c: Expand test case.
15210 2014-06-20 Stefan Liebler <stli@linux.vnet.ibm.com>
15213 * math/libm-test.inc (scalbln_test_date):
15214 Add errno expectations.
15215 * math/w_scalblnf.c: New File.
15216 Add wrapper which checks for setting errno to ERANGE.
15217 Add weak_alias for corresponding scalbln function.
15218 * math/w_scalbln.c: Likewise.
15219 * math/w_scalblnl.c: Likewise.
15220 * math/Makefile (libm-calls): Add w_scalbln.
15221 * sysdeps/ieee754/flt-32/s_scalblnf.c:
15222 Remove weak_alias for corresponding scalbln function.
15223 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
15224 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
15225 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
15226 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
15227 * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
15228 * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
15229 * sysdeps/i386/fpu/s_scalbn.S: Likewise.
15230 * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
15231 * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
15232 * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
15233 Remove long_double_symbol for scalblnl function in libm, libc.
15234 * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: New File.
15235 Add wrapper which checks for setting errno to ERANGE.
15236 Add long_double_symbol for scalblnl function in libm, libc.
15237 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
15238 Remove long_double_symbol for scalblnl in libm.
15239 * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: New File.
15240 Add wrapper which checks for setting errno to ERANGE.
15241 Add long_double_symbol for scalblnl function in libm.
15242 * sysdeps/ia64/fpu/w_scalblnf.c: New File.
15243 Do not use wrapper because of own implementation.
15245 2014-06-19 H.J. Lu <hongjiu.lu@intel.com>
15247 * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
15248 3 bytes for __pad1 for x32.
15249 (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
15251 2014-06-19 Ling Ma <ling.ml@alibaba-inc.com>
15252 H.J. Lu <hongjiu.lu@intel.com>
15254 * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
15255 * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
15256 * sysdeps/x86_64/multiarch/memset.S: Likewise.
15257 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
15258 * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
15260 2014-06-19 Andreas Schwab <schwab@linux-m68k.org>
15263 * posix/regcomp.c (parse_expression): Deallocate partially
15264 constructed tree before returning error.
15265 * posix/Makefile.c (tests): Add bug-regex36.
15266 (generated): Add bug-regex36.mtrace.
15267 (tests-special): Add $(objpfx)bug-regex36-mem.out
15268 (bug-regex36-ENV): New variable.
15269 ($(objpfx)bug-regex36-mem.out): New rule.
15270 * posix/bug-regex36.c: New file.
15272 2014-06-19 Will Newton <will.newton@linaro.org>
15274 * malloc/malloc.c (systrim): If extra is zero then return
15277 2014-06-19 Siddhesh Poyarekar <siddhesh@redhat.com>
15279 * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
15281 2014-06-19 Richard Earnshaw <rearnsha@arm.com>
15283 * sysdeps/aarch64/strchr.S: New file.
15285 2014-06-18 Joseph Myers <joseph@codesourcery.com>
15288 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
15289 from arguments -2 or below.
15290 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
15291 * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
15293 2014-06-18 Andreas Schwab <schwab@suse.de>
15296 * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
15297 of a bracket expr not to run off the end of the string.
15298 * posix/Makefile (tests): Add tst-fnmatch3.
15299 * posix/tst-fnmatch3.c: New file.
15301 2014-06-18 Joseph Myers <joseph@codesourcery.com>
15303 * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
15304 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
15305 [$(cross-compiling) = no]: Likewise.
15306 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
15307 [$(cross-compiling) = no]: Likewise.
15309 2014-16-17 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
15312 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
15313 double, adjusted for any remainder from the high double.
15314 * math/libm-test.inc (nearbyint): Add tests.
15317 2014-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15319 * nptl/sysdeps/powerpc/Makefile: Moved ...
15320 * sysdeps/powerpc/nptl/Makefile: ... here.
15321 * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
15322 * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
15323 * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
15324 * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
15325 * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
15326 * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
15327 * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
15328 * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
15329 * nptl/sysdeps/powerpc/tls.h: Moved ...
15330 * sysdeps/powerpc/nptl/tls.h: ... here.
15332 2014-06-16 Joseph Myers <joseph@codesourcery.com>
15335 * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
15336 * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
15337 * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
15338 * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
15339 * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
15340 * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
15341 * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
15342 * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
15343 * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
15345 2014-06-17 Andreas Schwab <schwab@linux-m68k.org>
15347 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
15349 2014-06-16 Andreas Schwab <schwab@linux-m68k.org>
15351 * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
15354 * scripts/cross-test-ssh.sh (timeoutfactor): Default to
15357 2014-06-16 Florian Weimer <fweimer@redhat.com>
15360 * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
15361 non-executed part of the test.
15363 2014-06-16 Andreas Schwab <schwab@suse.de>
15365 * string/bits/string2.h (strdup, strndup): Update feature guard.
15367 2014-06-14 David S. Miller <davem@davemloft.net>
15369 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15371 2014-06-14 Andreas Schwab <schwab@linux-m68k.org>
15373 * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
15374 that was previously under [RESET_PID].
15375 * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
15377 * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
15378 * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
15379 * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
15380 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
15381 (__libc_vfork): New strong alias.
15382 * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
15384 2014-06-14 Andi Kleen <ak@linux.intel.com>
15386 * sysdeps/generic/elide.h: New file.
15388 2014-06-13 Stefan Liebler <stli@linux.vnet.ibm.com>
15390 * Makefile (installed-headers): Adjust path of pthread.h header.
15392 2014-06-13 Roland McGrath <roland@hack.frob.com>
15394 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
15395 * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
15396 * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
15397 * sysdeps/s390/nptl/bits/semaphore.h: ... here.
15399 * nptl/sysdeps/s390/Makefile: Moved ...
15400 * sysdeps/s390/nptl/Makefile: ... here.
15401 * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
15402 * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
15403 * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
15404 * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
15405 * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
15406 * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
15407 * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
15408 * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
15409 * nptl/sysdeps/s390/pthreaddef.h: Moved ...
15410 * sysdeps/s390/nptl/pthreaddef.h: ... here.
15411 * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
15412 * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
15413 * nptl/sysdeps/s390/tls.h: Moved ...
15414 * sysdeps/s390/nptl/tls.h: ... here.
15416 * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
15417 * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
15419 2014-06-13 David S. Miller <davem@davemloft.net>
15421 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
15422 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
15423 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
15424 * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
15425 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
15426 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
15427 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
15428 * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
15429 * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
15430 * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
15431 * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
15432 Remove RESET_PID cpp guards.
15433 * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
15434 Remove RESET_PID cpp guards.
15435 * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
15437 2014-06-13 Andreas Schwab <schwab@linux-m68k.org>
15439 * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
15442 2014-06-13 Andi Kleen <ak@linux.intel.com>
15444 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
15445 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
15446 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
15447 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
15448 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
15449 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
15450 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
15451 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
15452 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
15453 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
15454 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
15455 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
15456 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
15457 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
15458 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
15459 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
15460 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
15461 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
15462 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
15463 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
15465 * nptl/pthread_rwlock_rdlock.c: Include elide.h.
15466 (pthread_rwlock_rdlock): Add elision.
15467 * nptl/pthread_rwlock_wrlock.c: Include elide.h.
15468 (pthread_rwlock_wrlock): Add elision.
15469 * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
15470 (pthread_rwlock_trywrlock): Add elision.
15471 * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
15472 (pthread_rwlock_tryrdlock): Add elision.
15473 * nptl/pthread_rwlock_unlock.c: Include elide.h.
15474 (pthread_rwlock_tryrdlock): Add elision unlock.
15475 * nptl/sysdeps/pthread/pthread.h:
15476 (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
15477 (PTHREAD_RWLOCK_INITIALIZER,
15478 PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
15479 Handle new elision field.
15480 * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
15481 * sysdeps/arm/nptl/bits/pthreadtypes.h
15482 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
15483 * sysdeps/sh/nptl/bits/pthreadtypes.h
15484 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
15485 * sysdeps/tile/nptl/bits/pthreadtypes.h
15486 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
15487 * sysdeps/a/nptl/bits/pthreadtypes.h
15488 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
15489 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
15490 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
15491 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
15492 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
15493 * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
15494 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
15495 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
15496 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
15497 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
15498 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
15499 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
15500 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
15501 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
15502 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
15503 * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
15504 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
15505 * sysdeps/unix/sysv/linux/x86/elision-conf.c:
15506 (elision_init): Set try_xbegin to zero when no RTM.
15507 * sysdeps/x86/nptl/bits/pthreadtypes.h
15508 (pthread_rwlock_t): Change __pad1 to __rwelision.
15509 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
15511 2014-06-13 Andi Kleen <ak@linux.intel.com>
15513 * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
15514 Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
15515 * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
15516 Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
15518 2014-06-13 Meador Inge <meadori@codesourcery.com>
15521 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
15522 that the cached result has been set before returning it.
15524 2014-06-12 Roland McGrath <roland@hack.frob.com>
15526 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
15527 * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
15528 * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
15529 * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
15530 * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
15531 * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
15533 * nptl/sysdeps/sparc/Makefile: Moved ...
15534 * sysdeps/sparc/nptl/Makefile: ... here.
15535 * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
15536 * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
15537 * nptl/sysdeps/sparc/tls.h: Moved ...
15538 * sysdeps/sparc/nptl/tls.h: ... here.
15539 * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
15540 * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
15541 * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
15542 * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
15543 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
15544 * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
15545 * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
15546 * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
15547 * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
15548 * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
15549 * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
15550 * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
15551 * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
15552 * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
15553 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
15554 * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
15555 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
15556 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
15558 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
15559 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
15561 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
15562 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
15564 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
15565 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
15568 * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
15570 * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
15571 * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
15573 * sysdeps/pthread/posix-timer.h: Include <list.h>.
15574 (struct list_links): Type removed.
15575 (struct thread_node, struct timer_node): Replace struct list_links
15576 with struct list_head.
15577 (list_unlink_ip): Likewise.
15578 * sysdeps/pthread/timer_routines.c
15579 (timer_free_list, thread_free_list, thread_active_list): Likewise.
15580 (list_append, list_insbefore): Likewise.
15581 (list_init): Function removed.
15582 (thread_init, init_module): Use INIT_LIST_HEAD instead.
15583 * sysdeps/nptl/Makefile: Move tst-timer bits to ...
15584 * sysdeps/pthread/Makefile: ... here, new file.
15586 * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
15587 * sysdeps/nptl/Implies: ... here.
15588 * sysdeps/unix/sysv/linux/Implies: Add nptl.
15589 * nptl/sysdeps/pthread/list.h: Moved ...
15590 * include/list.h: ... here.
15591 * nptl/sysdeps/pthread/createthread.c: Moved ...
15592 * nptl/createthread.c: ... here.
15593 * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
15594 * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
15595 * nptl/pt-longjmp.c: ... here.
15596 * nptl/sysdeps/pthread/Makefile: Moved ...
15597 * sysdeps/nptl/Makefile: ... here.
15598 * nptl/sysdeps/pthread/Subdirs: Moved ...
15599 * sysdeps/nptl/Subdirs: ... here.
15600 * nptl/sysdeps/pthread/aio_misc.h: Moved ...
15601 * sysdeps/nptl/aio_misc.h: ... here.
15602 * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
15603 * sysdeps/nptl/bits/libc-lock.h: ... here.
15604 * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
15605 * sysdeps/nptl/bits/libc-lockP.h: ... here.
15606 * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
15607 * sysdeps/nptl/bits/stdio-lock.h: ... here.
15608 * nptl/sysdeps/pthread/configure: Moved ...
15609 * sysdeps/nptl/configure: ... here.
15610 * nptl/sysdeps/pthread/configure.ac: Moved ...
15611 * sysdeps/nptl/configure.ac: ... here.
15612 * nptl/sysdeps/pthread/gai_misc.h: Moved ...
15613 * sysdeps/nptl/gai_misc.h: ... here.
15614 * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
15615 * sysdeps/nptl/librt-cancellation.c: ... here.
15616 * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
15617 * sysdeps/nptl/malloc-machine.h: ... here.
15618 * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
15619 * sysdeps/nptl/pthread-functions.h: ... here.
15620 * nptl/sysdeps/pthread/pthread.h: Moved ...
15621 * sysdeps/nptl/pthread.h: ... here.
15622 * nptl/sysdeps/pthread/setxid.h: Moved ...
15623 * sysdeps/nptl/setxid.h: ... here.
15624 * nptl/sysdeps/pthread/sigfillset.c: Moved ...
15625 * sysdeps/nptl/sigfillset.c: ... here.
15626 * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
15627 * sysdeps/nptl/tcb-offsets.h: ... here.
15628 * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
15629 * sysdeps/nptl/tst-mqueue8x.c: ... here.
15630 * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
15631 * sysdeps/nptl/unwind-forcedunwind.c: ... here.
15632 * nptl/sysdeps/pthread/allocalim.h: Moved ...
15633 * sysdeps/pthread/allocalim.h: ... here.
15634 * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
15635 * sysdeps/pthread/bits/sigthread.h: ... here.
15636 * nptl/sysdeps/pthread/flockfile.c: Moved ...
15637 * sysdeps/pthread/flockfile.c: ... here.
15638 * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
15639 * sysdeps/pthread/ftrylockfile.c: ... here.
15640 * nptl/sysdeps/pthread/funlockfile.c: Moved ...
15641 * sysdeps/pthread/funlockfile.c: ... here.
15642 * nptl/sysdeps/pthread/posix-timer.h: Moved ...
15643 * sysdeps/pthread/posix-timer.h: ... here.
15644 * nptl/sysdeps/pthread/timer_create.c: Moved ...
15645 * sysdeps/pthread/timer_create.c: ... here.
15646 * nptl/sysdeps/pthread/timer_delete.c: Moved ...
15647 * sysdeps/pthread/timer_delete.c: ... here.
15648 * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
15649 * sysdeps/pthread/timer_getoverr.c: ... here.
15650 * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
15651 * sysdeps/pthread/timer_gettime.c: ... here.
15652 * nptl/sysdeps/pthread/timer_routines.c: Moved ...
15653 * sysdeps/pthread/timer_routines.c: ... here.
15654 * nptl/sysdeps/pthread/timer_settime.c: Moved ...
15655 * sysdeps/pthread/timer_settime.c: ... here.
15656 * nptl/sysdeps/pthread/tst-timer.c: Moved ...
15657 * sysdeps/pthread/tst-timer.c: ... here.
15658 * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
15659 * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
15661 * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
15662 * nptl/sysdeps/pthread/sigprocmask.c: File removed.
15664 * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
15665 * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
15666 * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
15667 * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
15668 Update #include target.
15669 * nptl/sysdeps/i386/i686/Makefile: Moved ...
15670 * sysdeps/i386/i686/nptl/Makefile: ... here.
15671 * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
15672 * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
15673 Update #include target.
15674 * nptl/sysdeps/i386/i686/tls.h: Moved ...
15675 * sysdeps/i386/i686/nptl/tls.h: ... here. Use #include_next.
15676 * nptl/sysdeps/i386/Makefile: Moved ...
15677 * sysdeps/i386/nptl/Makefile: ... here.
15678 * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
15679 * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
15680 * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
15681 * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
15682 * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
15683 * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
15684 * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
15685 * nptl/sysdeps/i386/pthreaddef.h: Moved ...
15686 * sysdeps/i386/nptl/pthreaddef.h: ... here.
15687 * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
15688 * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
15689 * nptl/sysdeps/i386/tls.h: Moved ...
15690 * sysdeps/i386/nptl/tls.h: ... here.
15692 * sysdeps/sh/Makefile [$(subdir) = csu]
15693 (gen-as-const-headers): Add tcb-offsets.sym.
15694 * nptl/sysdeps/sh/Makefile: File removed.
15695 * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
15696 * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
15697 * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
15698 * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
15699 * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
15700 * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
15701 * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
15702 * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
15703 * nptl/sysdeps/sh/pthreaddef.h: Moved ...
15704 * sysdeps/sh/nptl/pthreaddef.h: ... here.
15705 * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
15706 * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
15707 * nptl/sysdeps/sh/tls.h: Moved ...
15708 * sysdeps/sh/nptl/tls.h: ... here.
15709 * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
15710 * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
15711 * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
15712 * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
15713 * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
15714 * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
15715 * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
15716 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
15717 * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
15718 * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
15719 * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
15720 * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
15721 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
15722 * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
15723 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
15724 * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
15725 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
15726 * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
15727 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
15728 * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
15729 * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
15730 * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
15731 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
15732 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
15733 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
15735 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
15736 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
15738 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
15739 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
15740 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
15741 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
15742 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
15743 * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
15744 * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
15745 * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
15746 * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
15747 * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
15748 * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
15749 * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
15750 * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
15751 * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
15752 * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
15753 * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
15754 * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
15755 * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
15756 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
15758 2014-06-12 Stefan Liebler <stli@linux.vnet.ibm.com>
15760 * posix/spawn_faction_addopen.c: Include string.h.
15762 2014-06-11 Roland McGrath <roland@hack.frob.com>
15764 * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
15765 * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
15766 * nptl/sysdeps/x86_64/Makefile: Moved ...
15767 * sysdeps/x86_64/nptl/Makefile: ... here.
15768 * nptl/sysdeps/x86_64/configure: Moved ...
15769 * sysdeps/x86_64/nptl/configure: ... here.
15770 * nptl/sysdeps/x86_64/configure.ac: Moved ...
15771 * sysdeps/x86_64/nptl/configure.ac: ... here.
15772 * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
15773 * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
15774 * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
15775 * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
15776 * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
15777 * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
15778 * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
15779 * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
15780 * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
15781 * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
15782 * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
15783 * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
15784 * nptl/sysdeps/x86_64/tls.h: Moved ...
15785 * sysdeps/x86_64/nptl/tls.h: ... here.
15786 * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
15787 * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
15788 * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
15789 * sysdeps/x86_64/x32/nptl/tls.h: ... here.
15791 * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
15793 2014-06-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15795 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15797 2014-06-11 Joseph Myers <joseph@codesourcery.com>
15799 * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
15801 [POSIX] (off_t): Likewise.
15802 * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
15803 [POSIX] (S_ISBLK): Require macro.
15804 [POSIX] (S_ISCHR): Likewise.
15805 [POSIX] (S_ISDIR): Likewise.
15806 [POSIX] (S_ISFIFO): Likewise.
15807 [POSIX] (S_ISREG): Likewise.
15808 [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
15810 * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
15812 [POSIX] (time_t): Likewise.
15813 [POSIX] (timer_t): Likewise.
15815 2014-06-11 Florian Weimer <fweimer@redhat.com>
15818 * posix/spawn_int.h (struct __spawn_action): Make the path string
15819 non-const to support deallocation.
15820 * posix/spawn_faction_addopen.c
15821 (posix_spawn_file_actions_addopen): Make a copy of the pathname.
15822 * posix/spawn_faction_destroy.c
15823 (posix_spawn_file_actions_destroy): Adjust comment. Deallocate
15824 path in all spawn_do_open actions.
15825 * posix/tst-spawn.c (do_test): Exercise the copy operation in
15826 posix_spawn_file_actions_addopen.
15828 2014-06-11 Chris Metcalf <cmetcalf@tilera.com>
15830 * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
15831 * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
15832 * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
15833 conditional code always true.
15834 (__libc_vfork): New alias.
15836 2014-06-11 Roland McGrath <roland@hack.frob.com>
15838 * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
15839 * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
15841 * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
15843 * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
15844 * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
15846 * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
15847 * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
15849 * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
15850 * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
15852 2014-06-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
15854 * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
15855 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
15856 multiarch strcmp for PPC64.
15857 * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
15858 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
15859 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
15860 multiarch optimizations.
15861 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
15862 (__libc_ifunc_impl_list): Likewise.
15864 2014-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
15866 * benchtests/scripts/validate_benchout.py: New script.
15867 * benchtests/Makefile (bench-func): Call it.
15868 * benchtests/scripts/benchout.schema.json: New file.
15870 2014-06-10 Chris Metcalf <cmetcalf@tilera.com>
15872 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
15873 * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
15874 * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
15875 * sysdeps/tile/nptl/bits/semaphore.h: ... here.
15876 * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
15877 * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
15878 * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
15879 * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
15880 * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
15881 * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
15882 * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
15883 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
15884 * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
15885 * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
15886 * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
15887 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
15888 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
15890 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
15892 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
15894 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
15895 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
15897 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
15899 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
15901 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
15903 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
15905 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
15906 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
15908 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
15910 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
15912 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
15914 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
15916 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
15917 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
15919 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
15921 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
15923 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
15925 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
15927 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
15929 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
15931 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
15932 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
15934 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
15936 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
15938 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
15940 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
15942 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
15944 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
15946 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
15947 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
15949 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
15951 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
15953 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
15955 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
15957 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
15958 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
15960 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
15962 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
15964 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
15965 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
15967 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
15968 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
15970 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
15972 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
15974 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
15976 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
15978 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
15980 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
15982 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
15983 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
15985 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
15987 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
15989 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
15991 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
15992 * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
15993 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
15994 * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
15995 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
15997 * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
15999 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
16000 * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
16001 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
16002 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
16003 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
16004 * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
16005 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
16006 * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
16007 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
16008 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
16009 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
16010 * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
16011 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
16013 * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
16014 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
16016 * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
16017 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
16018 * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
16019 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
16021 * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
16022 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
16023 * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
16024 * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
16025 * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
16026 * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
16027 * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
16029 2014-06-10 Wilco <wdijkstr@arm.com>
16031 * math/test-fenv-return.c: New file.
16032 * math/Makefile: Add new test test-fenv-return.
16034 2014-06-10 Joseph Myers <joseph@codesourcery.com>
16037 * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
16038 when x - 1 is zero.
16039 * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
16040 * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
16041 * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
16042 0.0L for an argument of 1.0L.
16043 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
16045 * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
16046 value when x - 1 is zero.
16047 * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
16048 * sysdeps/i386/fpu/libm-test-ulps: Update.
16049 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16051 2014-06-09 Bernard Ogden <bernie.ogden@linaro.org>
16054 * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
16056 2014-06-09 Roland McGrath <roland@hack.frob.com>
16058 * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
16059 * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
16061 2014-06-09 Roland McGrath <roland@hack.frob.com>
16063 * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
16064 * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
16066 * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
16067 * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
16069 * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
16070 * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
16072 * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
16073 * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
16075 * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
16076 if not already defined.
16077 (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
16078 * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
16079 * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
16080 (TLS_INIT_TP): Use it.
16081 (TLS_DEFINE_INIT_TP): New macro.
16082 * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
16084 2014-06-09 Joseph Myers <joseph@codesourcery.com>
16086 * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
16088 [POSIX] (IXANY): Likewise.
16089 [POSIX] (OLCUC): Likewise.
16090 [POSIX || POSIX2008] (CBAUD): Do not allow.
16091 [POSIX || POSIX2008] (DEFECHO): Likewise.
16092 [POSIX || POSIX2008] (ECHOCTL): Likewise.
16093 [POSIX || POSIX2008] (ECHOKE): Likewise.
16094 [POSIX || POSIX2008] (ECHOPRT): Likewise.
16095 [POSIX || POSIX2008] (EXTA): Likewise.
16096 [POSIX || POSIX2008] (EXTB): Likewise.
16097 [POSIX || POSIX2008] (FLUSHO): Likewise.
16098 [POSIX || POSIX2008] (LOBLK): Likewise.
16099 [POSIX || POSIX2008] (PENDIN): Likewise.
16100 [POSIX || POSIX2008] (SWTCH): Likewise.
16101 [POSIX || POSIX2008] (VDISCARD): Likewise.
16102 [POSIX || POSIX2008] (VDSUSP): Likewise.
16103 [POSIX || POSIX2008] (VLNEXT): Likewise.
16104 [POSIX || POSIX2008] (VREPRINT): Likewise.
16105 [POSIX || POSIX2008] (VSTATUS): Likewise.
16106 [POSIX || POSIX2008] (VWERASE): Likewise.
16107 (B*): Change to B[0123456789]*.
16108 * conform/data/time.h-data [POSIX || UNIX98]
16109 (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
16110 [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
16111 [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
16112 [POSIX] (tm_*): Do not allow.
16114 2014-06-07 Joseph Myers <joseph@codesourcery.com>
16116 * Makefile (install): Don't set LANGUAGE.
16117 * Makefile.in (install): Likewise.
16118 * assert/Makefile (test-assert-ENV): Remove variable.
16119 (test-assert-perr-ENV): Likewise.
16120 * elf/Makefile (neededtest4-ENV): Likewise.
16121 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
16122 [$(cross-compiling) = no]: Don't set LANGUAGE.
16123 * io/ftwtest-sh (LANG): Remove variable.
16124 * libio/Makefile (tst-widetext-ENV): Likewise.
16125 * manual/install.texi (Running make install): Don't refer to
16126 environment settings for make install.
16127 * INSTALL: Regenerated.
16128 * nptl/tst-tls6.sh: Don't set LANG.
16129 * posix/globtest.sh (LANG): Remove variable.
16130 * string/Makefile (tester-ENV): Likewise.
16131 (inl-tester-ENV): Likewise.
16132 (noinl-tester-ENV): Likewise.
16133 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
16134 [$(cross-compiling) = no]: Don't set LANGUAGE.
16135 * timezone/Makefile (build-testdata): Use $(built-program-cmd)
16136 without explicit environment settings.
16138 2014-06-06 Roland McGrath <roland@hack.frob.com>
16140 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
16141 * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
16142 * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
16143 * sysdeps/sh/nptl/bits/semaphore.h: ... here.
16145 2014-06-06 Chris Metcalf <cmetcalf@tilera.com>
16147 * crypt/crypt-private.h [DOS]: Add some includes taken from the
16148 other files in the crypt directory.
16149 * crypt/crypt.c: Remove duplicate includes.
16150 * crypt/crypt-entry.c: Likewise.
16151 * crypt/crypt_util.c: Likewise.
16153 2014-06-06 Joseph Myers <joseph@codesourcery.com>
16155 * Makeconfig (run-program-env): New variable.
16156 (run-program-prefix-before-env): Likewise.
16157 (run-program-prefix-after-env): Likewise.
16158 (run-program-prefix): Define in terms of new variables.
16159 (built-program-cmd-before-env): New variable.
16160 (built-program-cmd-after-env): Likewise.
16161 (built-program-cmd): Define in terms of new variables.
16162 (test-program-prefix-before-env): New variable.
16163 (test-program-prefix-after-env): Likewise.
16164 (test-program-prefix): Define in terms of new variables.
16165 (test-program-cmd-before-env): New variable.
16166 (test-program-cmd-after-env): Likewise.
16167 (test-program-cmd): Define in terms of new variables.
16168 * Rules (make-test-out): Use $(run-program-env).
16169 * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
16170 (help): Do not mention environment variables. Mention
16171 --timeoutfactor option.
16172 (timeoutfactor): New variable.
16173 (blacklist_exports): Remove function.
16174 (exports): Remove variable.
16175 (command): Do not include ${exports}.
16176 * manual/install.texi (Configuring and compiling): Do not mention
16177 test wrappers preserving environment variables. Mention that last
16178 assignment to a variable must take precedence.
16179 * INSTALL: Regenerated.
16180 * benchtests/Makefile (run-bench): Use $(run-program-env).
16181 * catgets/Makefile ($(objpfx)test1.cat): Use
16182 $(built-program-cmd-before-env), $(run-program-env) and
16183 $(built-program-cmd-after-env).
16184 ($(objpfx)test2.cat): Do not specify environment variables
16186 ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
16187 $(run-program-env) and $(built-program-cmd-after-env).
16188 ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
16189 $(run-program-env) and $(test-program-cmd-after-env).
16190 ($(objpfx)sample.SJIS.cat): Do not specify environment variables
16192 * catgets/test-gencat.sh: Use test_program_cmd_before_env,
16193 run_program_env and test_program_cmd_after_env arguments.
16194 * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
16195 * elf/tst-pathopt.sh: Use run_program_env argument.
16196 * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
16197 $(test-wrapper-env) and $(run-program-env).
16198 * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
16199 run_program_env arguments.
16200 * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
16201 * intl/Makefile ($(objpfx)tst-gettext.out): Use
16202 $(test-program-prefix-before-env), $(run-program-env) and
16203 $(test-program-prefix-after-env).
16204 ($(objpfx)tst-gettext2.out): Likewise.
16205 * intl/tst-gettext.sh: Use test_program_prefix_before_env,
16206 run_program_env and test_program_prefix_after_env arguments.
16207 * intl/tst-gettext2.sh: Likewise.
16208 * intl/tst-gettext4.sh: Do not set environment variables
16210 * intl/tst-gettext6.sh: Likewise.
16211 * intl/tst-translit.sh: Likewise.
16212 * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
16213 $(test-program-prefix-before-env), $(run-program-env) and
16214 $(test-program-prefix-after-env).
16215 * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
16216 run_program_env and test_program_prefix_after_env arguments.
16217 * math/Makefile (run-regen-ulps): Use $(run-program-env).
16218 * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
16219 * nptl/tst-tls6.sh: Use run_program_env argument. Set LANG=C
16220 explicitly with each use of ${test_wrapper_env}.
16221 * posix/Makefile ($(objpfx)wordexp-tst.out): Use
16222 $(test-program-prefix-before-env), $(run-program-env) and
16223 $(test-program-prefix-after-env).
16224 * posix/tst-getconf.sh: Do not set environment variables
16226 * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
16227 run_program_env and test_program_prefix_after_env arguments.
16228 * stdio-common/tst-printf.sh: Do not set environment variables
16230 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
16231 $(test-program-prefix-before-env), $(run-program-env) and
16232 $(test-program-prefix-after-env).
16233 * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
16234 run_program_env and test_program_prefix_after_env arguments.
16235 Split $test calls into $test_pre and $test.
16236 * timezone/Makefile (build-testdata): Use
16237 $(built-program-cmd-before-env), $(run-program-env) and
16238 $(built-program-cmd-after-env).
16240 2014-06-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16242 * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
16243 strlen for non SHARED builds.
16245 2014-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
16247 * nptl/allocatestack.c (check_list): Inlined function...
16248 (__reclaim_stacks): ... here.
16250 2014-06-05 Ondřej Bílka <neleai@seznam.cz>
16253 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
16256 2014-06-05 Joseph Myers <joseph@codesourcery.com>
16258 * Rules (make-test-out): Include
16259 LOCPATH=$(common-objpfx)localedata in default environment.
16260 * debug/Makefile (tst-chk1-ENV): Remove variable.
16261 (tst-chk2-ENV): Likewise.
16262 (tst-chk3-ENV): Likewise.
16263 (tst-chk4-ENV): Likewise.
16264 (tst-chk5-ENV): Likewise.
16265 (tst-chk6-ENV): Likewise.
16266 (tst-lfschk1-ENV): Likewise.
16267 (tst-lfschk2-ENV): Likewise.
16268 (tst-lfschk3-ENV): Likewise.
16269 (tst-lfschk4-ENV): Likewise.
16270 (tst-lfschk5-ENV): Likewise.
16271 (tst-lfschk6-ENV): Likewise.
16272 * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
16273 (tst-iconv7-ENV): Likewise.
16274 * intl/Makefile (LOCPATH-ENV): Likewise.
16275 (tst-codeset-ENV): Likewise.
16276 (tst-gettext3-ENV): Likewise.
16277 (tst-gettext5-ENV): Likewise.
16278 * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
16279 (tst-fopenloc-ENV): Likewise.
16280 (tst-fgetws-ENV): Remove variable.
16281 (tst-ungetwc1-ENV): Likewise.
16282 (tst-ungetwc2-ENV): Likewise.
16283 (bug-ungetwc2-ENV): Likewise.
16284 (tst-swscanf-ENV): Likewise.
16285 (bug-ftell-ENV): Likewise.
16286 (tst-fgetwc-ENV): Likewise.
16287 (tst-fseek-ENV): Likewise.
16288 (tst-ftell-partial-wide-ENV): Likewise.
16289 (tst-ftell-active-handler-ENV): Likewise.
16290 (tst-ftell-append-ENV): Likewise.
16291 * posix/Makefile (tst-fnmatch-ENV): Likewise.
16292 (tst-regexloc-ENV): Likewise.
16293 (bug-regex1-ENV): Likewise.
16294 (tst-regex-ENV): Likewise.
16295 (tst-regex2-ENV): Likewise.
16296 (bug-regex5-ENV): Likewise.
16297 (bug-regex6-ENV): Likewise.
16298 (bug-regex17-ENV): Likewise.
16299 (bug-regex18-ENV): Likewise.
16300 (bug-regex19-ENV): Likewise.
16301 (bug-regex20-ENV): Likewise.
16302 (bug-regex22-ENV): Likewise.
16303 (bug-regex23-ENV): Likewise.
16304 (bug-regex25-ENV): Likewise.
16305 (bug-regex26-ENV): Likewise.
16306 (bug-regex30-ENV): Likewise.
16307 (bug-regex32-ENV): Likewise.
16308 (bug-regex33-ENV): Likewise.
16309 (bug-regex34-ENV): Likewise.
16310 (bug-regex35-ENV): Likewise.
16311 (tst-rxspencer-ENV): Likewise.
16312 (tst-rxspencer-no-utf8-ENV): Likewise.
16313 * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
16314 (tst-sscanf-ENV): Likewise.
16315 (tst-swprintf-ENV): Likewise.
16316 (tst-swscanf-ENV): Likewise.
16317 (test-vfprintf-ENV): Likewise.
16318 (scanf13-ENV): Likewise.
16319 (bug14-ENV): Likewise.
16320 (tst-grouping-ENV): Likewise.
16321 * stdlib/Makefile (tst-strtod-ENV): Likewise.
16322 (tst-strtod3-ENV): Likewise.
16323 (tst-strtod4-ENV): Likewise.
16324 (tst-strtod5-ENV): Likewise.
16325 (testmb2-ENV): Likewise./
16326 * string/Makefile (tst-strxfrm-ENV): Likewise.
16327 (tst-strxfrm2-ENV): Likewise.
16328 (bug-strcoll1-ENV): Likewise.
16329 (test-strcasecmp-ENV): Likewise.
16330 (test-strncasecmp-ENV): Likewise.
16331 * time/Makefile (tst-strptime-ENV): Likewise.
16332 (tst-ftime_l-ENV): Likewise.
16333 * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
16334 (tst-mbrtowc-ENV): Likewise.
16335 (tst-wcrtomb-ENV): Likewise.
16336 (tst-mbrtowc2-ENV): Likewise.
16337 (tst-c16c32-1-ENV): Likewise.
16338 (tst-mbsnrtowcs-ENV): Likewise.
16340 2014-06-05 Ondřej Bílka <neleai@seznam.cz>
16342 * manual/resource.texi (How to get information about the memory
16343 subsystem?): Fix typo.
16344 Reported by Peon de la Parra Ivan <peon@keba.com>
16346 2014-06-03 Guo Yixuan <culu.gyx@gmail.com>
16349 * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
16350 (pthread_spin_lock): Branch out of spin loop to proper location.
16351 * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
16352 (pthread_spin_lock): Likewise.
16354 * nptl/tst-spin4.c: New test.
16355 * nptl/Makefile (tests): Add tst-spin4.
16357 2014-06-03 Andreas Schwab <schwab@suse.de>
16360 * resolv/res_send.c (send_dg): Reload file descriptor after
16363 2014-06-03 Stefan Liebler <stli@linux.vnet.ibm.com>
16365 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
16367 2014-06-03 Richard Henderson <rth@redhat.com>
16369 * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
16370 * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
16371 * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
16372 SAVE_PID and RESTORE_PID blocks from pt-vfork.S. Map 0 to INT_MIN
16373 in the SAVE_PID block.
16374 (__libc_vfork): New alias.
16375 * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
16377 * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
16378 child in registers, not on the stack. Remove RESET_PID conditionals.
16379 * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
16381 2014-06-03 Marcus Shawcroft <marcus.shawcroft@arm.com>
16383 * sysdeps/aarch64/libm-test-ulps: Regenerate.
16385 2014-06-03 Wilco <wdijkstr@arm.com>
16387 * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
16388 (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
16389 (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
16390 Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
16391 * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
16394 2014-06-03 Wilco <wdijkstr@arm.com>
16396 * sysdeps/aarch64/fpu/math_private.h
16397 (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
16398 (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
16399 (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
16400 (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
16403 2014-06-03 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
16405 * crypt/crypt-private.h: Include ufc-crypt.h.
16406 (__b64_from_24bit): Declare extern.
16407 * crypt/crypt_util.c(__b64_from_24bit): New function.
16408 (b64t): New static const variable.
16409 * crypt/md5-crypt.c (b64_from_24bit): Remove function.
16410 (b64t): Remove variable.
16411 (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
16412 * crypt/sha256-crypt.c: Include crypt-private.h.
16413 (b64t): Remove variable.
16414 (__sha256_crypt_r): Remove b64_from_24bit and replace
16415 with __b64_from_24bit.
16416 * crypt/sha512-crypt.c: Likewise.
16418 2014-06-02 Roland McGrath <roland@hack.frob.com>
16420 * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
16421 * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
16422 Label the code __libc_vfork rather than __vfork.
16423 [!NOT_IN_libc] (vfork): Define as weak alias.
16424 [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
16425 * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
16426 * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
16428 2014-06-02 Siddhesh Poyarekar <siddhesh@redhat.com>
16430 * malloc/malloc.c (malloc_info): Fix format specifier for
16433 2014-06-02 Wilco <wdijkstr@arm.com>
16435 * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
16438 2014-06-02 Wilco <wdijkstr@arm.com>
16441 * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
16442 Rewrite to reduce FPCR/FPSR accesses.
16444 2014-06-01 David S. Miller <davem@davemloft.net>
16446 * sysdeps/sparc/fpu/libm-test-ulps: Update.
16448 2014-05-31 David S. Miller <davem@davemloft.net>
16450 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
16451 to occur in round to nearest mode when |x| >= 2.0
16453 2014-05-30 Richard Henderson <rth@twiddle.net>
16455 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
16456 (PSEUDO_RET_NOERRNO): Remove.
16457 (ret): Don't redefine.
16458 (ret_NOERRNO): Define in terms of ret.
16459 (ret_ERRVAL): Likewise.
16461 * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
16462 use of PSEUDO_RET; perform the error check directly.
16464 2014-05-30 Marko Myllynen <myllynen@redhat.com>
16466 * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
16469 2014-05-30 Siddhesh Poyarekar <siddhesh@redhat.com>
16471 * malloc/malloc (malloc_info): Fix formatting.
16473 2014-05-30 Siddhesh Poyarekar <siddhesh@redhat.com>
16474 Roland McGrath <roland@hack.frob.com>
16476 * malloc/malloc (malloc_info): Also print mmapped statistics.
16478 2014-05-30 Roland McGrath <roland@hack.frob.com>
16480 * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
16481 * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
16483 2014-05-30 Ondřej Bílka <neleai@seznam.cz>
16485 * malloc/malloc.c (malloc_info): Inline mi_arena.
16487 2014-05-29 Richard Henderson <rth@twiddle.net>
16489 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
16490 Remove comma before expanding ASM_ARGS_##nr.
16491 (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
16492 Make _x0 a strict output; make _x8 a strict input; adjust expansion
16494 (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
16495 (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
16496 (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
16497 (ASM_ARGS_1): Add leading comma.
16499 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
16500 (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
16501 to __errno_location.
16502 * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
16503 Remove the expected plt for __errno_location.
16505 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
16506 [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
16509 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
16510 Always allocate 64 bytes of stack frame. Use ldp/stp to create
16511 it and break it down.
16512 (DOCARGS_0, DOCARGS_1): Do nothing.
16513 (DOCARGS_2): Update to store into the new stack frame.
16514 (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
16515 (UNDOCARGS_1): Update to restore from the new stack frame.
16516 (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
16517 (UNDOCARGS_5, UNDOCARGS_6): Likewise.
16519 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
16520 (SINGLE_THREAD_P): New parameter for result regno.
16521 (PSEUDO): Update to match; use cbz instead of beq.
16523 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
16524 Use ENTRY to define the _nocancel entry point. Share the syscall
16525 and syscall error check paths with the cancel path.
16528 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
16529 whitespace; tabs before and after asm mnemonics.
16531 2014-05-29 Eric Wong <normalperson@yhbt.net>
16534 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
16535 Call fstat64 or stat64 internally, depending on arguments passed.
16536 Replace stat buffer argument with file descriptor argument.
16537 (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
16538 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
16539 Pass fd to __internal_statvfs instead of calling fstat64.
16540 * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
16541 Pass fd to __internal_statvfs64 instead of calling fstat64.
16542 * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
16543 Pass -1 to __internal_statvfs instead of calling stat64.
16544 * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
16545 Pass -1 to __internal_statvfs64 instead of calling stat64.
16547 2014-05-28 Roland McGrath <roland@hack.frob.com>
16549 * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
16550 that was previously under [RESET_PID].
16551 * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
16553 * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
16554 * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
16556 2014-05-27 Roland McGrath <roland@hack.frob.com>
16558 * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
16560 * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
16561 * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
16563 2014-05-27 Ondřej Bílka <neleai@seznam.cz>
16565 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
16567 2014-05-27 Andreas Schwab <schwab@suse.de>
16569 * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
16571 * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
16572 * elf/rtld.c (init_tls, dl_main): Likewise.
16573 * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
16574 * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
16575 * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
16576 * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
16577 * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
16578 * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
16579 * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
16580 * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
16581 * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
16582 * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
16583 * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
16584 * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
16585 * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
16586 * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
16587 * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
16588 * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
16589 * sysdeps/generic/tls.h: Update description.
16591 2014-05-27 Will Newton <will.newton@linaro.org>
16594 * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
16595 and restore r2 rather than just restoring.
16597 2014-05-27 Siddhesh Poyarekar <siddhesh@redhat.com>
16600 * libio/tst-ftell-append.c: New test case.
16601 * libio/Makefile (tests): Add test case.
16602 * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
16604 * libio/wfileops.c (do_ftell_wide): Likewise.
16606 2014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16608 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16610 * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
16612 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
16613 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
16614 * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
16615 * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
16616 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
16617 * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
16618 * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
16619 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
16620 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
16622 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
16623 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
16625 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
16626 * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
16627 * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
16628 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
16629 * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
16630 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
16632 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
16633 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
16635 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
16637 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
16639 * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
16640 * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
16641 * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
16643 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
16644 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
16645 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
16646 * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
16648 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
16650 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
16651 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
16653 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
16654 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
16656 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
16657 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
16659 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
16661 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
16663 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
16664 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
16666 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
16668 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
16669 conditional [RESET_PID].
16670 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
16671 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
16673 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
16676 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
16678 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
16679 (__libc_vfork): New strong alias.
16680 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
16682 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
16685 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
16687 (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
16688 (__libc_vfork): New strong alias.
16689 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
16691 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
16694 2014-05-26 Carlos O'Donell <carlos@redhat.com>
16696 * malloc/malloc.c (mi_arena): New function.
16697 (malloc_info): Remove nested function mi_arena. Call non-nosted
16700 2014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16702 * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
16704 * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
16705 * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
16706 * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
16707 * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
16708 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
16709 * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
16710 * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
16712 2014-05-26 Andreas Schwab <schwab@suse.de>
16715 * locale/programs/repertoire.c (repertoire_read): Add slash
16716 between I18NPATH element and file name.
16717 * locale/programs/locfile.c (locfile_read): Likewise.
16719 2014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
16721 * nptl/pthread_mutexattr_settype.c
16722 (__pthread_mutexattr_settype):
16723 Disable lock elision for PTHREAD_MUTEX_NORMAL.
16725 2014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
16727 * nptl/tst-mutex5 (do_test):
16728 Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
16730 2014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
16732 * benchtests/README: Document 'init' directive.
16733 * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
16735 * scripts/bench.py (gen_source): Define BENCH_INIT macro.
16736 (parse_file): Recognize 'init' directive.
16738 2014-05-26 Kyle McMartin <kyle@redhat.com>
16741 * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
16742 alignment of struct pthread.
16744 2014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
16747 * nscd/netgroupcache.c (addgetnetgrentX): Look for
16748 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
16749 * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
16750 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
16752 2014-05-25 Richard Henderson <rth@twiddle.net>
16754 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
16755 (SINGLE_THREAD_P_PIC): Remove.
16756 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
16757 (SINGLE_THREAD_P_PIC): Remove.
16759 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
16760 branch to syscall error ...
16761 (PSEUDO): ... here.
16762 [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
16763 from __local_syscall_error to .Lsyscall_error.
16764 [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
16765 (SYSCALL_ERROR): Update label name.
16767 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
16768 Do not use DOARGS/UNDOARGS.
16769 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
16770 (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
16771 (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
16772 (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
16773 (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
16775 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
16778 * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
16779 define if !NOT_IN_libc.
16780 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
16781 define with non-default symbol versions.
16783 2014-05-23 Richard Henderson <rth@twiddle.net>
16785 * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
16786 (vfork, __vfork): Define via compat_symbol.
16788 * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
16789 [!HAVE_IFUNC] (vfork_compat): Remove.
16790 [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
16792 2014-05-23 Joseph Myers <joseph@codesourcery.com>
16795 * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
16796 * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
16799 2014-05-23 Richard Henderson <rth@twiddle.net>
16801 * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
16802 * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
16803 * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
16804 * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
16806 * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
16807 * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
16808 * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
16809 * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
16810 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
16811 * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
16812 * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
16813 * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
16814 * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
16815 * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
16816 * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
16817 * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
16818 * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
16819 * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
16820 * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
16821 * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
16822 * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
16823 * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
16824 * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
16825 * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
16826 * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
16827 * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
16828 * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
16829 * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
16830 * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
16831 * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
16832 * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
16833 * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
16834 * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
16835 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
16836 * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
16837 * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
16838 * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
16839 * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
16840 * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
16841 * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
16842 * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
16843 * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
16844 * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
16845 * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
16846 * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
16847 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
16848 * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
16849 * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
16850 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
16851 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
16852 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
16853 * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
16854 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
16855 * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
16856 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
16857 * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
16858 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
16859 * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
16860 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
16861 * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
16863 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
16864 * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
16865 * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here. Restore PID
16866 before exiting on error.
16867 (__libc_vfork): New strong alias.
16868 * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
16869 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
16871 * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
16872 that was previously under [RESET_PID].
16873 * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
16875 * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
16877 2014-05-23 Joseph Myers <joseph@codesourcery.com>
16880 * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
16881 value when x - 1 is zero.
16882 * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
16883 * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
16884 * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
16885 0.0L for an argument of 1.0L.
16886 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
16888 * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
16889 value when x - 1 is zero.
16890 * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
16891 * sysdeps/i386/fpu/libm-test-ulps: Update.
16892 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16894 2014-05-23 Rasmus Villemoes <rv@rasmusvillemoes.dk>
16896 * manual/filesys.texi (Scanning Directory Content): Fix prototype of
16897 alphasort and versionsort.
16899 2014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16901 * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
16903 [copysignf]: Likewise.
16905 2014-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
16907 * crypt/md5-crypt.c: Fix formatting.
16909 2014-05-22 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
16911 * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
16912 (b64_from_24bit): New function.
16914 2014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16916 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
16917 libc_hidden_builtin_def to ifunc.
16918 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
16919 [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
16921 2014-05-21 Roland McGrath <roland@hack.frob.com>
16923 * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
16924 * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
16926 2014-05-21 Joseph Myers <joseph@codesourcery.com>
16928 * nscd/Depend (linuxthreads): Remove.
16930 * resolv/Depend (linuxthreads): Remove.
16931 * rt/Depend (linuxthreads): Remove.
16933 * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
16934 (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
16935 $(common-objpfx)elf/.
16936 (link-libc-before-gnulib): Likewise.
16937 (elfobjdir): Remove variable.
16938 * Makefile (install): Use $(elf-objpfx) instead of
16939 $(common-objpfx)elf/.
16940 * Makerules (link-libc-args): Use $(elf-objpfx) instead of
16942 (link-libc-deps): Likewise.
16943 ($(common-objpfx)libc.so): Likewise.
16944 ($(common-objpfx)linkobj/libc.so): Likewise.
16945 [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
16946 instead of $(common-objpfx)elf/.
16947 (symbolic-link-list): Likewise.
16948 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
16949 [$(cross-compiling) = no]: Likewise.
16950 * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
16952 (static-gnulib-arch): Likewise.
16953 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
16954 [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
16955 $(common-objpfx)elf/.
16957 2014-05-21 Richard Henderson <rth@redhat.com>
16959 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
16960 (SINGLE_THREAD_P): Use the correct width load. Fold
16961 into the ldr offset.
16963 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
16964 (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
16966 2014-05-20 Joseph Myers <joseph@codesourcery.com>
16968 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
16969 (libgcc_s_resume): Use __attribute_used__.
16970 * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
16973 2014-05-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16975 * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
16976 optimization when used with float constants.
16978 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16980 2014-05-20 Aurelien Jarno <aurelien@aurel32.net>
16983 * locale/nl_langinfo_l.c: Make direct reference to every
16984 _nl_current_CATEGORY symbol.
16985 * localedata/Makefile (test-srcs): Add tst-langinfo-static.
16986 (tests-static): Add tst-langinfo-static.
16987 (tests-special): Add tst-langinfo-static.out.
16988 ($(objpfx)tst-langinfo.out): Redirect output.
16989 ($(objpfx)tst-langinfo-static.out): New.
16990 * localedata/tst-langinfo.sh: Send output to stdout.
16991 * localedata/tst-langinfo-static.c: New file.
16994 * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
16995 when the shift amount is modulo the limb size.
16997 2014-05-20 Richard Henderson <rth@redhat.com>
17000 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
17001 Change type of sa_flags from unsigned int to int.
17004 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
17006 * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
17008 2014-05-20 Will Newton <will.newton@linaro.org>
17010 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
17011 Test the return value of the system call in the nocancel case.
17013 2014-05-20 Will Newton <will.newton@linaro.org>
17014 Yvan Roux <yvan.roux@linaro.org>
17016 * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
17017 #include of asm/ptrace.h.
17018 (PTRACE_GET_THREAD_AREA): Remove #undef.
17019 (PTRACE_GETHBPREGS): Likewise.
17020 (PTRACE_SETHBPREGS): Likewise.
17021 (struct user_regs_struct): New structure.
17022 (struct user_fpsimd_struct): New structure.
17023 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
17024 #include of asm/ptrace.h and second #include of sys/user.h.
17025 (PTRACE_GET_THREAD_AREA): Remove #undef.
17026 (PTRACE_GETHBPREGS): Likewise.
17027 (PTRACE_SETHBPREGS): Likewise.
17028 (ELF_NGREG): Use new struct user_regs_struct.
17029 (elf_fpregset_t): Use new struct user_fpsimd_struct.
17031 2014-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17033 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
17034 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
17036 2014-05-17 Jose E. Marchesi <jose.marchesi@oracle.com>
17039 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
17040 membar to avoid block loads/stores to overlap previous stores.
17042 2014-05-17 Richard Henderson <rth@redhat.com>
17044 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
17045 Create the __##syscall_name##_nocancel entry point.
17046 * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
17047 Remove; let the sysdep-cancel.h code create it.
17049 2014-05-17 David S. Miller <davem@davemloft.net>
17051 * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
17052 Protect with __USE_GNU.
17053 (TIOCSET_TEMPT): Likewise.
17054 (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
17055 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
17056 these are already provided in bits/ioctl-types.h
17058 2014-05-16 Roland McGrath <roland@hack.frob.com>
17060 * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
17061 * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
17063 * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
17064 Use wait4 regardless of [__NR_waitpid].
17066 2014-05-16 Maciej W. Rozycki <macro@codesourcery.com>
17069 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
17070 (_FP_NANSIGN_Q): Set the quiet bit.
17072 2014-05-16 Joseph Myers <joseph@codesourcery.com>
17074 * benchtests/Makefile
17075 ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
17076 not $(common-objpfx)math/libm.so.
17077 ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
17078 $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
17079 * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
17080 $(common-objpfx)dlfcn/libdl.so.
17081 ($(objpfx)tst-audit8): Depend on $(libm), not
17082 $(common-objpfx)math/libm.so.
17083 * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
17084 not $(common-objpfx)dlfcn/libdl.so.
17086 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
17087 Depend on $(libm), not $(objpfx)libm.so. Do not condition on
17088 [$(build-shared) = yes].
17089 ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
17090 $(common-objpfx)nptl/libpthread.so.
17091 * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
17092 $(common-objpfx)math/libm.so$(libm.so-version) or
17093 $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
17094 * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
17095 $(common-objpfx)dlfcn/libdl.so.
17096 * setjmp/Makefile (link-libm): Remove variable.
17097 ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
17098 * stdio-common/Makefile (link-libm): Remove variable.
17099 ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
17100 * stdlib/Makefile (link-libm): Remove variable.
17101 ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
17102 ($(objpfx)tst-strtod-round): Likewise.
17103 ($(objpfx)tst-tininess): Likewise.
17104 ($(objpfx)tst-strtod-underflow): Likewise.
17105 ($(objpfx)tst-strtod6): Likewise.
17106 ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
17107 $(libdl), not $(common-objpfx)nptl/libpthread.so and
17108 $(common-objpfx)dlfcn/libdl.so.
17110 2014-05-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17112 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
17113 BSD terminal modes definitions.
17115 2014-05-16 Roland McGrath <roland@hack.frob.com>
17117 * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
17118 * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
17120 * sysdeps/unix/sysv/linux/arch-fork.h: New file.
17121 * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
17122 * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
17123 Don't do #include_next.
17124 * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
17125 * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
17126 Don't do #include_next.
17127 * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
17128 * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
17129 * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
17130 * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
17132 2014-05-16 Allan McRae <allan@archlinux.org>
17134 * po/sv.po: Update Swedish translation from translation project.
17136 * timezone/Makefile ($(objpfx)tzselect): Use correct variable
17139 2014-05-16 Aurelien Jarno <aurelien@aurel32.net>
17142 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
17143 errno if the TIOCGPTN ioctl fails with an error different than
17145 * login/tst-ptsname.c: New file.
17146 * login/Makefile (tests): Add tst-ptsname.
17149 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
17152 2014-05-15 Siddhesh Poyarekar <siddhesh@redhat.com>
17155 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
17156 herrno to return EAI_AGAIN.
17158 2014-05-14 Roland McGrath <roland@hack.frob.com>
17160 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
17161 * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
17162 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
17163 * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
17164 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
17165 * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
17166 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
17167 * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
17168 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
17169 * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
17170 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
17171 * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
17172 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
17173 * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
17174 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
17175 * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
17176 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
17177 * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
17178 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
17179 * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
17180 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
17181 * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
17182 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
17183 * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
17184 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
17185 * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
17186 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
17187 * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
17188 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
17189 * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
17190 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
17191 * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
17192 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
17193 * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
17194 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
17196 * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
17197 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
17198 * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
17199 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
17200 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
17201 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
17202 * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
17203 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
17204 * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
17205 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
17206 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
17207 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
17208 * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
17209 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
17210 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
17211 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
17212 * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
17213 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
17214 * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
17215 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
17216 * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
17217 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
17218 * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
17219 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
17220 * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
17221 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
17222 * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
17223 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
17225 * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
17226 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
17227 * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
17228 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
17229 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
17230 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
17231 * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
17232 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
17233 * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
17234 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
17235 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
17236 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
17237 * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
17238 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
17239 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
17240 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
17241 * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
17242 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
17243 * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
17244 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
17246 * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
17247 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
17248 * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
17250 * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
17251 * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
17252 (libpthread-sysdep_routines): Add elision-related stuff here instead.
17253 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
17254 * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
17255 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
17256 * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
17257 * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
17258 * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
17259 * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
17260 * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
17261 * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
17262 * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
17263 * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
17264 * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
17265 * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
17266 * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
17267 * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
17268 * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
17269 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
17270 * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
17271 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
17272 * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
17273 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
17274 * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
17275 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
17276 * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
17277 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
17278 * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
17279 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
17280 * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
17282 * sysdeps/unix/sysv/linux/mips/fork.h: New file.
17283 * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
17285 * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
17286 * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
17287 * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
17288 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
17289 * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
17290 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
17292 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
17293 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
17295 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
17296 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
17298 * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
17299 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
17301 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
17302 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
17303 * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
17304 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
17306 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
17307 * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
17308 * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
17309 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
17310 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
17311 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
17312 * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
17313 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
17315 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
17316 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
17318 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
17320 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
17321 * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
17322 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
17323 * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
17324 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
17326 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
17328 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
17330 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
17331 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
17332 * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
17333 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
17334 * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
17335 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
17337 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
17338 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
17340 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
17341 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
17343 * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
17344 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
17346 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
17347 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
17348 * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
17349 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
17351 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
17352 * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
17353 * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
17354 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
17355 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
17356 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
17357 * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
17358 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
17360 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
17361 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
17363 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
17365 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
17366 * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
17367 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
17368 * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
17369 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
17371 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
17373 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
17375 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
17376 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
17377 * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
17378 * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
17379 * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
17380 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
17381 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
17382 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
17383 * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
17384 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
17386 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
17387 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
17389 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
17390 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
17392 * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
17393 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
17395 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
17396 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
17397 * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
17398 * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
17399 * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
17400 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
17402 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
17403 * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
17404 * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
17405 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
17406 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
17407 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
17408 * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
17409 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
17411 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
17412 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
17414 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
17416 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
17417 * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
17418 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
17419 * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
17420 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
17422 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
17424 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
17426 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
17427 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
17428 * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
17429 * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
17430 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
17431 * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
17432 * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
17433 * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
17434 * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
17435 * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
17436 * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
17438 * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
17439 * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
17441 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
17442 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
17444 * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
17445 * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
17446 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
17447 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
17448 * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
17449 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
17450 * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
17451 * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
17452 * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
17453 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
17454 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
17455 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
17456 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
17457 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
17458 * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
17459 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
17460 * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
17461 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
17463 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
17464 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
17465 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
17466 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
17468 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
17469 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
17470 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
17471 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
17472 * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
17473 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
17474 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
17475 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
17477 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
17478 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
17480 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
17481 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
17482 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
17483 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
17484 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
17485 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
17486 * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
17487 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
17488 * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
17489 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
17490 * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
17491 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
17492 * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
17493 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
17494 * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
17495 * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
17496 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
17498 * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
17499 * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
17500 * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
17501 * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
17502 * sysdeps/unix/sysv/linux/i386/fork.h: New file.
17504 * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
17505 * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
17506 * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
17507 * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
17508 * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
17509 * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
17510 * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
17511 * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
17512 * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
17513 * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
17515 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
17516 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
17518 * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
17519 * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
17520 * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
17521 * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
17522 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
17523 * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
17524 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
17525 * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
17526 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
17527 * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
17528 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
17529 * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
17530 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
17531 * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
17532 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
17534 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
17536 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
17538 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
17540 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
17542 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
17544 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
17546 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
17548 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
17550 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
17552 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
17553 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
17554 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
17555 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
17556 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
17557 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
17558 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
17559 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
17560 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
17561 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
17562 * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
17563 * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
17564 * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
17565 * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Likewise.
17566 * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Likewise.
17568 * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
17569 that was previously under [RESET_PID].
17570 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
17571 * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
17572 * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
17574 * sysdeps/i386/nptl/Implies: New file.
17575 * sysdeps/x86_64/nptl/Implies: New file.
17576 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
17577 * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
17578 * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
17579 * sysdeps/x86/nptl/bits/semaphore.h: ... here.
17581 * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
17582 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
17583 (__libc_vfork): New strong alias.
17584 * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
17585 * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
17587 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
17588 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
17589 (__libc_vfork): New strong alias.
17590 * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
17591 * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
17593 * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
17594 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
17595 (__libc_vfork): New strong alias.
17596 * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
17597 * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
17598 * nptl/pt-vfork.c: New file.
17599 * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
17600 (libpthread: GLIBC_2.20): New version set (empty).
17602 2014-05-14 Will Newton <will.newton@linaro.org>
17604 * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
17607 2014-05-14 Joseph Myers <joseph@codesourcery.com>
17610 * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
17611 arguments with exponent 65 or above.
17612 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
17613 arguments 0x1p113L or above.
17614 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
17615 to arguments 0x1p107L or above.
17616 * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
17617 positive arguments with exponent 65 or above.
17618 * math/auto-libm-test-in: Add more tests of log1p.
17619 * math/auto-libm-test-out: Regenerated.
17622 * math/s_cacos.c (__cacos): Ensure zero real part of result from
17623 non-finite arguments is +0.
17624 * math/s_cacosf.c (__cacosf): Likewise.
17625 * math/s_cacosl.c (__cacosl): Likewise.
17626 * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
17627 * sysdeps/i386/fpu/libm-test-ulps: Update.
17628 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17631 * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
17633 * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
17634 * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
17635 * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
17636 for explicit high bit of mantissa when testing for argument equal
17638 * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
17639 * sysdeps/i386/fpu/libm-test-ulps: Update.
17640 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17643 * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
17644 (__erf): Scale by 16 instead of 8 in potentially underflowing
17645 case. Ensure exception if result actually underflows.
17646 * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
17647 (__erff): Scale by 16 instead of 8 in potentially underflowing
17648 case. Ensure exception if result actually underflows.
17649 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
17650 (efx8): Remove variable.
17651 (__erfl): Scale by 16 instead of 8 in potentially underflowing
17652 case. Ensure exception if result actually underflows.
17653 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
17654 (efx8): Remove variable.
17655 (__erfl): Scale by 16 instead of 8 in potentially underflowing
17656 case. Ensure exception if result actually underflows.
17657 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
17658 (efx8): Remove variable.
17659 (__erfl): Scale by 16 instead of 8 in potentially underflowing
17660 case. Ensure exception if result actually underflows.
17661 * math/auto-libm-test-in: Add more tests of erf.
17662 * math/auto-libm-test-out: Regenerated.
17664 2014-05-14 Andreas Schwab <schwab@suse.de>
17666 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
17667 Remove code conditionalized on USE___THREAD.
17669 * config.h.in (HAVE_PT_CHOWN): Define as 0.
17670 * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
17673 2014-05-14 Joseph Myers <joseph@codesourcery.com>
17675 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
17676 Define unconditionally.
17677 (__ASSUME_O_CLOEXEC): Likewise.
17678 (__ASSUME_SOCK_CLOEXEC): Likewise.
17679 (__ASSUME_IN_NONBLOCK): Likewise.
17680 (__ASSUME_PIPE2): Likewise.
17681 (__ASSUME_EVENTFD2): Likewise.
17682 (__ASSUME_SIGNALFD4): Likewise.
17683 (__ASSUME_DUP3): Likewise.
17684 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
17685 (__ASSUME_DUP3): Do not define.
17686 (__ASSUME_EVENTFD2): Likewise.
17687 (__ASSUME_IN_NONBLOCK): Likewise.
17688 (__ASSUME_O_CLOEXEC): Likewise.
17689 (__ASSUME_PIPE2): Likewise.
17690 (__ASSUME_SIGNALFD4): Likewise.
17691 (__ASSUME_SOCK_CLOEXEC): Likewise.
17692 (__ASSUME_UTIMES): Undefine.
17693 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
17694 (__ASSUME_UTIMES): Do not define.
17695 (__ASSUME_O_CLOEXEC): Likewise.
17696 (__ASSUME_SOCK_CLOEXEC): Likewise.
17697 (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
17698 0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
17700 (__ASSUME_PIPE2): Likewise.
17701 (__ASSUME_EVENTFD2): Likewise.
17702 (__ASSUME_SIGNALFD4): Likewise.
17703 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
17704 * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
17706 (__ASSUME_EVENTFD2): Likewise.
17707 (__ASSUME_SIGNALFD4): Likewise.
17708 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
17709 (__ASSUME_32BITUIDS): Likewise.
17710 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
17711 (__ASSUME_IPC64): Likewise.
17712 (__ASSUME_ST_INO_64_BIT): Likewise.
17713 (__ASSUME_GETDENTS64_SYSCALL): Likewise.
17714 [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
17715 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
17716 (__ASSUME_UTIMES): Do not define.
17717 (__ASSUME_PSELECT): Likewise.
17718 (__ASSUME_PPOLL): Likewise.
17719 (__ASSUME_O_CLOEXEC): Likewise.
17720 (__ASSUME_SOCK_CLOEXEC): Likewise.
17721 (__ASSUME_IN_NONBLOCK): Likewise.
17722 (__ASSUME_PIPE2): Likewise.
17723 (__ASSUME_EVENTFD2): Likewise.
17724 (__ASSUME_SIGNALFD4): Likewise.
17725 (__ASSUME_DUP3): Likewise.
17726 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
17727 (__ASSUME_UTIMES): Likewise.
17728 (__ASSUME_O_CLOEXEC): Likewise.
17729 (__ASSUME_SOCK_CLOEXEC): Likewise.
17730 (__ASSUME_IN_NONBLOCK): Likewise.
17731 (__ASSUME_PIPE2): Likewise.
17732 (__ASSUME_EVENTFD2): Likewise.
17733 (__ASSUME_SIGNALFD4): Likewise.
17734 (__ASSUME_DUP3): Likewise.
17735 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
17736 (__ASSUME_UTIMES): Likewise.
17737 (__ASSUME_O_CLOEXEC): Likewise.
17738 (__ASSUME_SOCK_CLOEXEC): Likewise.
17739 (__ASSUME_IN_NONBLOCK): Likewise.
17740 (__ASSUME_PIPE2): Likewise.
17741 (__ASSUME_EVENTFD2): Likewise.
17742 (__ASSUME_SIGNALFD4): Likewise.
17743 (__ASSUME_DUP3): Likewise.
17744 * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
17746 (__ASSUME_UTIMES): Likewise.
17747 (__ASSUME_EVENTFD2): Likewise.
17748 (__ASSUME_SIGNALFD4): Likewise.
17749 * sysdeps/unix/sysv/linux/tile/kernel-features.h
17750 (__ASSUME_O_CLOEXEC): Likewise.
17751 (__ASSUME_SOCK_CLOEXEC): Likewise.
17752 (__ASSUME_IN_NONBLOCK): Likewise.
17753 (__ASSUME_PIPE2): Likewise.
17754 (__ASSUME_EVENTFD2): Likewise.
17755 (__ASSUME_SIGNALFD4): Likewise.
17756 (__ASSUME_DUP3): Likewise.
17757 (__ASSUME_UTIMES): Undefine.
17759 * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
17760 feclearexcept. Remove symbol versioning code.
17761 * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv. Remove
17762 symbol versioning code.
17763 * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv. Remove
17764 symbol versioning code.
17765 * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
17766 feupdateenv. Remove symbol versioning code.
17767 * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
17768 fegetexceptflag. Remove symbol versioning code.
17769 * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
17770 fesetexceptflag. Remove symbol versioning code.
17771 * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
17772 GLIBC_2.2 and GLIBC_2.3.3 entries. Change GLIBC_2.1 to GLIBC_2.4.
17773 * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
17774 (__posix_fadvise64_l32): Remove prototype.
17775 [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
17778 2014-05-13 Roland McGrath <roland@hack.frob.com>
17780 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
17781 * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
17782 * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
17783 * sysdeps/arm/nptl/bits/semaphore.h: ... here.
17785 2014-05-13 Sami Kerola <kerolasa@iki.fi>
17787 * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
17788 current working directory
17790 2014-05-13 Roland McGrath <roland@hack.frob.com>
17792 * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
17793 * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
17794 * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
17795 * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
17796 * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
17797 * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
17798 * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
17799 * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
17800 * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
17801 * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
17802 * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
17803 * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
17804 * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
17805 * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
17806 * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
17807 * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
17808 * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
17809 * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
17810 * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
17811 * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
17812 * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
17813 * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
17814 * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
17815 * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
17816 * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
17817 * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
17818 * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
17819 * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
17820 * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
17821 * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
17822 * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
17823 * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
17824 * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
17825 * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
17826 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
17827 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
17828 * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
17829 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
17830 * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
17831 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
17832 * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
17833 * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
17835 * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
17836 * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
17838 * sysdeps/unix/sysv/linux/arm/Makefile
17839 [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
17840 Add rt-aeabi_unwind_cpp_pr1.
17841 [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
17842 Add nptl-aeabi_unwind_cpp_pr1.
17843 [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
17844 * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
17845 * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
17846 * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
17847 * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
17848 * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
17850 * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
17851 * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
17852 * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
17853 * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
17855 * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
17856 Deconditionalize the code that was previously under [RESET_PID].
17857 * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
17859 * sysdeps/generic/exit-thread.h: New file.
17860 * sysdeps/unix/sysv/linux/exit-thread.h: New file.
17861 * include/unistd.h (__exit_thread): Remove declaration.
17862 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
17863 * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
17864 * csu/libc-start.c: Include <exit-thread.h>.
17865 (LIBC_START_MAIN): Pass no argument to __exit_thread.
17866 * nptl/pthread_create.c: Include <exit-thread.h>.
17867 (start_thread): Call __exit_thread in place of __exit_thread_inline.
17868 * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
17869 * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
17870 * nptl/sysdeps/s390/pthreaddef.h: Likewise.
17871 * nptl/sysdeps/sh/pthreaddef.h: Likewise.
17872 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
17873 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
17874 * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
17875 * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
17876 * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
17877 * sysdeps/arm/nptl/pthreaddef.h: Likewise.
17878 * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
17879 * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
17880 * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
17881 * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
17882 * sysdeps/mips/nptl/pthreaddef.h: Likewise.
17883 * sysdeps/tile/nptl/pthreaddef.h: Likewise.
17885 2014-05-13 Andreas Schwab <schwab@suse.de>
17887 * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
17889 2014-05-12 Joseph Myers <joseph@codesourcery.com>
17891 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
17892 (__ASSUME_UTIMES): Do not condition on kernel version.
17893 (__ASSUME_PSELECT): Define unconditionally.
17894 (__ASSUME_PPOLL): Likewise.
17895 (__ASSUME_ATFCTS): Likewise.
17896 (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
17897 (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
17898 (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
17899 (__ASSUME_UTIMENSAT): Define unconditionally.
17900 (__ASSUME_PRIVATE_FUTEX): Likewise.
17901 (__ASSUME_FALLOCATE): Likewise.
17902 (__ASSUME_O_CLOEXEC): Likewise.
17903 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
17904 (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
17905 (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
17906 (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
17907 (__ASSUME_IN_NONBLOCK): Likewise.
17908 (__ASSUME_PIPE2): Likewise.
17909 (__ASSUME_EVENTFD2): Likewise.
17910 (__ASSUME_SIGNALFD4): Likewise.
17911 (__ASSUME_DUP3): Likewise.
17912 [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
17913 (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
17914 (__ASSUME_AT_RANDOM): Likewise.
17915 (__ASSUME_PREADV): Likewise.
17916 (__ASSUME_PWRITEV): Likewise.
17917 (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
17918 (__ASSUME_F_GETOWN_EX): Define unconditionally.
17919 (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
17920 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
17921 [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
17922 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
17923 (__ASSUME_O_CLOEXEC): Define unconditionally.
17924 (__ASSUME_PSELECT): Do not undefine conditionally.
17925 (__ASSUME_PPOLL): Likewise.
17926 (__ASSUME_ATFCTS): Likewise.
17927 (__ASSUME_SET_ROBUST_LIST): Likewise.
17928 (__ASSUME_UTIMENSAT): Likewise.
17929 (__ASSUME_FDATASYNC): Define unconditionally.
17930 * sysdeps/unix/sysv/linux/arm/kernel-features.h
17931 (__ASSUME_SIGFRAME_V2): Likewise.
17932 )__ASSUME_EVENTFD2): Likewise.
17933 (__ASSUME_SIGNALFD4): Likewise.
17934 (__ASSUME_PSELECT): Do not undefine conditionally.
17935 (__ASSUME_PPOLL): Likewise.
17936 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
17937 (__ASSUME_PSELECT): Define unconditionally.
17938 (__ASSUME_PPOLL): Likewise.
17939 (__ASSUME_O_CLOEXEC): Likewise.
17940 (__ASSUME_SOCK_CLOEXEC): Likewise.
17941 (__ASSUME_IN_NONBLOCK): Likewise.
17942 (__ASSUME_PIPE2): Likewise.
17943 (__ASSUME_EVENTFD2): Likewise.
17944 (__ASSUME_SIGNALFD4): Likewise.
17945 (__ASSUME_DUP3): Likewise.
17946 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
17947 (__ASSUME_O_CLOEXEC): Likewise.
17948 (__ASSUME_SOCK_CLOEXEC): Likewise.
17949 (__ASSUME_IN_NONBLOCK): Likewise.
17950 (__ASSUME_PIPE2): Likewise.
17951 (__ASSUME_EVENTFD2): Likewise.
17952 (__ASSUME_SIGNALFD4): Likewise.
17953 (__ASSUME_DUP3): Likewise.
17954 * sysdeps/unix/sysv/linux/mips/kernel-features.h
17955 (__ASSUME_EVENTFD2): Likewise.
17956 (__ASSUME_SIGNALFD4): Likewise.
17957 (__ASSUME_ACCEPT4_SYSCALL): Likewise.
17959 2014-05-12 Andreas Schwab <schwab@suse.de>
17962 * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
17963 (_nss_nis_gethostbyname4_r): Return error if item length is larger
17964 than maximum RPC packet size.
17965 * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
17966 * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
17967 * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
17968 (_nss_nis_getservbyport_r): Likewise.
17970 2014-05-12 Will Newton <will.newton@linaro.org>
17972 * malloc/Makefile (tests): Add tst-mallopt.
17973 * malloc/tst-mallopt.c: New file.
17975 2014-05-09 Roland McGrath <roland@hack.frob.com>
17977 * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
17978 [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
17980 2014-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17982 * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
17983 (tst-tlsmod6.so): Likewise.
17985 2014-05-09 Roland McGrath <roland@hack.frob.com>
17987 * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
17989 2014-05-09 Joseph Myers <joseph@codesourcery.com>
17992 * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
17993 and <dl-procinfo.h>.
17994 (__fegetenv): Save SSE state in envp->__eip if supported.
17995 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
17996 envp->__eip if supported.
17997 * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
17998 and <dl-procinfo.h>.
17999 (__fesetenv): Always set __eip, __cs_selector, __opcode,
18000 __data_offset and __data_selector in environment to 0. Set SSE
18001 state if supported.
18002 * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
18004 [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
18006 * sysdeps/x86/fpu/test-fenv-sse.c: New file.
18008 2014-05-09 Will Newton <will.newton@linaro.org>
18010 * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
18011 and libc_relro_required for ARM.
18012 * sysdeps/arm/preconfigure: Regenerate.
18014 2014-05-09 Dominik Vogt <vogt@linux.vnet.ibm.com>
18015 Stefan Liebler <stli@linux.vnet.ibm.com>
18017 * config.make.in (enable-lock-elision): New Makefile variable.
18018 * configure.ac: Likewise.
18019 * configure: Regenerate.
18020 * sysdeps/s390/configure.ac:
18021 Add check for gcc transactions support.
18022 * sysdeps/s390/configure: Regenerate.
18023 * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
18024 Build elision files if enabled.
18025 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
18026 Add lock elision support for s390.
18027 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
18028 * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
18029 * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
18030 * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
18031 * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
18032 * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
18033 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
18035 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
18037 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
18039 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
18041 * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
18042 (__lll_timedlock_elision, __lll_lock_elision)
18043 (__lll_unlock_elision, __lll_trylock_elision)
18044 (lll_timedlock_elision, lll_lock_elision)
18045 (lll_unlock_elision, lll_trylock_elision): Add.
18046 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
18047 (pthread_mutex_t): Add lock elision support for s390.
18049 2014-05-14 Wilco <wdijkstr@arm.com>
18051 * sysdeps/arm/fclrexcpt.c: Cleanup.
18052 * sysdeps/arm/fedisblxcpt.c: Cleanup.
18053 * sysdeps/arm/feenablxcpt.c: Cleanup.
18054 * sysdeps/arm/fegetenv.c: Cleanup.
18055 * sysdeps/arm/fegetexcept.c: Cleanup.
18056 * sysdeps/arm/fegetround.c: Cleanup.
18057 * sysdeps/arm/feholdexcpt.c: Cleanup.
18058 * sysdeps/arm/fesetenv.c: Cleanup.
18059 * sysdeps/arm/fesetround.c: Cleanup.
18060 * sysdeps/arm/feupdateenv.c: Cleanup.
18061 * sysdeps/arm/fgetexcptflg.c: Cleanup.
18062 * sysdeps/arm/fraiseexcpt.c: Cleanup.
18063 * sysdeps/arm/fsetexcptflg.c: Cleanup.
18064 * sysdeps/arm/ftestexcept.c: Cleanup.
18065 * sysdeps/arm/get-rounding-mode.h: Cleanup.
18066 * sysdeps/arm/setfpucw.c: Cleanup.
18068 2014-05-09 Will Newton <will.newton@linaro.org>
18070 * sysdeps/arm/armv7/strcmp.S: New file.
18071 * NEWS: Mention addition of ARMv7 optimized strcmp.
18073 2014-05-08 Roland McGrath <roland@hack.frob.com>
18075 * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
18076 look for %.ac rather than %.in.
18078 * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
18079 * sysdeps/unix/sysv/linux/configure.ac: Likewise.
18080 * sysdeps/mach/hurd/configure: Regenerated.
18081 * sysdeps/unix/sysv/linux/configure: Regenerated.
18083 * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
18085 2014-05-07 Steve Ellcey <sellcey@mips.com>
18088 * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
18092 2014-05-07 Andreas Schwab <schwab@suse.de>
18094 * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
18095 when skipping over non-matching result from nscd.
18097 2014-05-07 Ondřej Bílka <neleai@seznam.cz>
18100 * nptl/sockperf.c (client): Check socket return value.
18103 * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
18104 nscd security class.
18106 2014-05-06 Roland McGrath <roland@hack.frob.com>
18108 * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
18109 * sysdeps/arm/unwind.h: ... here.
18111 2014-05-06 Aurelien Jarno <aurelien@aurel32.net>
18114 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
18117 2014-05-06 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
18119 * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
18120 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
18121 multiarch strncpy for PPC64.
18122 * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
18123 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
18124 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
18125 multiarch optimizations.
18126 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
18127 (__libc_ifunc_impl_list): Likewise.
18128 * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
18129 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
18130 multiarch stpncpy for PPC64.
18131 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
18132 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
18134 2014-05-06 Andreas Schwab <schwab@suse.de>
18137 * gmon/mcount.c (_MCOUNT_DECL): Use
18138 atomic_compare_and_exchange_bool_acq instead of
18139 catomic_compare_and_exchange_bool_acq.
18141 2014-05-05 Roland McGrath <roland@hack.frob.com>
18143 * elf/Makefile (others, install-bin): Remove pldd.
18144 (pldd-modules): Variable removed.
18145 ($(objpfx)pldd): Target removed.
18146 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
18147 (others, install-bin): Append pldd here.
18148 ($(objpfx)pldd): New target.
18150 * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
18151 to 0, so the first #if test emitted later doesn't see it undefined.
18152 (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
18153 * sysdeps/gnu/errlist.c: Regenerated.
18155 2014-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18157 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
18158 [libc_hidden_builtin_def]: Define to empty value.
18159 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
18160 [libc_hidden_builtin_def]: Likewise.
18161 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
18162 [libc_hidden_builtin_def]: Likewise.
18163 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
18164 [libc_hidden_builtin_def]: Likewise.
18165 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
18166 __redirect_memcpy and define ifunc as default hidden symbol.
18167 * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
18168 * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
18170 2014-05-04 Adam Conrad <adconrad@0c3.net>
18172 * locale/iso-4217.def: Reintroduce XDR currency.
18174 2014-05-04 Allan McRae <allan@archlinux.org>
18176 * po/eo.po: Update Esperanto translation from translation project.
18178 2014-05-02 Carlos O'Donell <carlos@redhat.com>
18180 * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
18181 and FEATURE_INDEX_MAX to 1.
18182 [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
18184 2014-05-01 Steve Ellcey <sellcey@mips.com>
18186 * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
18187 * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
18188 * iconvdata/big5.c (ONE_DIRECTION): Define.
18189 * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
18190 * iconvdata/cp1255.c (ONE_DIRECTION): Define.
18191 * iconvdata/cp1258.c (ONE_DIRECTION): Define.
18192 * iconvdata/cp932.c (ONE_DIRECTION): Define.
18193 * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
18194 * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
18195 * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
18196 * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
18197 * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
18198 * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
18199 * iconvdata/gb18030.c (ONE_DIRECTION): Define.
18200 * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
18201 * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
18202 * iconvdata/gbk.c (ONE_DIRECTION): Define.
18203 * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
18204 * iconvdata/ibm930.c (ONE_DIRECTION): Define.
18205 * iconvdata/ibm932.c (ONE_DIRECTION): Define.
18206 * iconvdata/ibm933.c (ONE_DIRECTION): Define.
18207 * iconvdata/ibm935.c (ONE_DIRECTION): Define.
18208 * iconvdata/ibm937.c (ONE_DIRECTION): Define.
18209 * iconvdata/ibm939.c (ONE_DIRECTION): Define.
18210 * iconvdata/ibm943.c (ONE_DIRECTION): Define.
18211 * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
18212 * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
18213 * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
18214 * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
18215 * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
18216 * iconvdata/iso646.c (ONE_DIRECTION): Define.
18217 * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
18218 * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
18219 * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
18220 * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
18221 * iconvdata/johab.c (ONE_DIRECTION): Define.
18222 * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
18223 * iconvdata/sjis.c (ONE_DIRECTION): Define.
18224 * iconvdata/t.61.c (ONE_DIRECTION): Define.
18225 * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
18226 * iconvdata/tscii.c (ONE_DIRECTION): Define.
18227 * iconvdata/uhc.c (ONE_DIRECTION): Define.
18228 * iconvdata/unicode.c (ONE_DIRECTION): Define.
18229 * iconvdata/utf-16.c (ONE_DIRECTION): Define.
18230 * iconvdata/utf-32.c (ONE_DIRECTION): Define.
18231 * iconvdata/utf-7.c (ONE_DIRECTION): Define.
18233 2014-05-01 Roland McGrath <roland@hack.frob.com>
18235 * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
18236 (_IO_JUMPS_OFFSET): Define to 0.
18238 * nptl/sysdeps/pthread/bits/libc-lock.h
18239 [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
18240 (__libc_lock_define_initialized_recursive): Always define using
18241 initializer. Modern compilers treat uninitialized (implicit zero) and
18242 explicit zero initializers the same (i.e. put the datum in bss).
18244 2014-05-01 Andreas Schwab <schwab@linux-m68k.org>
18246 * nscd/nscd-client.h: Include <string.h>.
18248 2014-05-01 David S. Miller <davem@davemloft.net>
18251 * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
18252 multiple zero bytes exist at the end of a string.
18253 Reported by Aurelien Jarno <aurelien@aurel32.net>
18255 * string/test-strcmp.c (check): Add explicit test for situations where
18256 there are multiple zero bytes after the first.
18258 2014-05-01 Andreas Schwab <schwab@linux-m68k.org>
18261 * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
18262 when compiling wprintf.
18263 * stdio-common/tstdiomisc.c (t3): New function.
18266 2014-05-01 Steve Ellcey <sellcey@mips.com>
18268 * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
18269 * iconv/gconv_simple.c (ONE_DIRECTION): Define.
18270 * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
18271 * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
18273 2014-05-01 Steve Ellcey <sellcey@mips.com>
18275 * stdlib/longlong.h: Updated from GCC.
18277 2014-05-01 Will Newton <will.newton@linaro.org>
18278 Bernard Ogden <bernie.ogden@linaro.org>
18280 * NEWS: Update fixed bug list.
18283 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
18285 2014-04-30 David S. Miller <davem@davemloft.net>
18287 * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
18288 (libc_feholdexcept_setround_sparc_ctx): New function.
18289 (libc_fesetenv_sparc_ctx): Likewise.
18290 (libc_feupdateenv_sparc_ctx): Likewise.
18291 (libc_feholdsetround_sparc_ctx): Likewise.
18292 (libc_feholdexcept_setround_ctx): Define.
18293 (libc_feholdexcept_setroundf_ctx): Likewise.
18294 (libc_feholdexcept_setroundl_ctx): Likewise.
18295 (libc_fesetenv_ctx): Likewise.
18296 (libc_fesetenvf_ctx): Likewise.
18297 (libc_fesetenvl_ctx): Likewise.
18298 (libc_feupdateenv_ctx): Likewise.
18299 (libc_feupdateenvf_ctx): Likewise.
18300 (libc_feupdateenvl_ctx): Likewise.
18301 (libc_feresetround_ctx): Likewise.
18302 (libc_feresetroundf_ctx): Likewise.
18303 (libc_feresetroundl_ctx): Likewise.
18304 (libc_feholdsetround_ctx): Likewise.
18305 (libc_feholdsetroundf_ctx): Likewise.
18306 (libc_feholdsetroundl_ctx): Likewise.
18308 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
18309 with __USE_GNU instead of XOPEN cpp guards.
18311 * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
18314 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
18315 with XOPEN cpp guards.
18317 2014-04-30 Julian Brown <julian@codesourcery.com>
18320 * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
18323 2014-04-30 Joseph Myers <joseph@codesourcery.com>
18326 * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
18328 (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
18329 * sysdeps/unix/sysv/linux/configure: Regenerated.
18330 * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
18331 * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
18332 * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
18333 * sysdeps/unix/sysv/linux/tile/configure: Likewise.
18334 * README: Update reference to required Linux kernel version.
18335 * manual/install.texi (Linux): Update reference to required Linux
18336 kernel headers version.
18337 * INSTALL: Regenerated.
18339 * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
18341 [POSIX] (limits.h): Likewise.
18342 [POSIX] (math.h): Likewise.
18343 [POSIX] (sys/wait.h): Likewise.
18344 * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
18346 [POSIX] (stddef.h): Do not allow header inclusion.
18348 2014-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18350 * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
18352 2014-04-30 Yang Yingliang <yangyingliang@huawei.com>
18354 * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
18355 Return immediately after lll_futex_wake.
18357 2014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
18360 * nscd/nscd-client.h (datahead_init_common): Initialize entire
18362 (datahead_init_pos): Call datahead_init_common early.
18363 (datahead_init_neg): Likewise.
18365 * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
18366 datahead_init_neg): New functions.
18367 * nscd/aicache.c (addhstaiX): Use them.
18368 * nscd/grpcache.c (cache_addgr): Likewise.
18369 * nscd/hstcache.c (cache_addhst): Likewise.
18370 * nscd/initgrcache.c (addinitgroupsX): Likewise.
18371 * nscd/netgroupcache.c (do_notfound): Likewise.
18372 (addgetnetgrentX): Likewise.
18373 (addinnetgrX): Likewise.
18374 * nscd/pwdcache.c (cache_addpw): Likewise.
18375 * nscd/servicescache.c (cache_addserv): Likewise.
18377 2014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
18378 Atsushi Onoe <atsushi@onoe.org>
18383 * resolv/res_query.c (__libc_res_nsearch): Return if at least
18384 one response is valid.
18385 * resolv/res_send.c (send_dg): Check for validity of other
18386 response if the current response is a referral.
18388 2014-04-29 Steve Ellcey <sellcey@mips.com>
18390 * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
18392 2014-04-29 Stefan Liebler <stli@linux.vnet.ibm.com>
18395 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
18396 Always divide by positive zero when computing -Inf result.
18397 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
18398 * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
18400 2014-04-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18402 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
18403 FPSCR if value do not change.
18404 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
18405 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
18406 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
18407 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
18408 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
18409 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
18412 2014-05-29 Carlos O'Donell <carlos@systemhalted.org>
18414 * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
18415 * sysdeps/unix/sysv/linux/hppa: Move directory from
18416 ports/systeps/unix/sysv/linux/hppa.
18417 * README: Update listing for hppa-*-linux-gnu.
18419 2014-04-28 Ondřej Bílka <neleai@seznam.cz>
18422 * manual/stdio.texi (Hook functions): Fix types of stream hook
18425 * socket/sys/socket.h: Fix typo in comment.
18427 2014-04-28 Wilco <wdijkstr@arm.com>
18429 * sysdeps/arm/fenv_private.h: New file.
18430 * sysdeps/arm/math_private.h: New file.
18431 * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
18433 2014-04-25 H.J. Lu <hongjiu.lu@intel.com>
18435 * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
18437 (La_x86_64_retval): Likewise.
18439 2014-04-24 Ian Bolton <ian.bolton@arm.com>
18441 * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
18442 fpsr if value didn't change.
18443 * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
18444 to fpcr if value didn't change.
18445 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
18446 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
18447 fpsr or fpcr if value didn't change.
18448 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
18449 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
18450 fpcr if value didn't change.
18451 * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
18452 to fpsr if value didn't change.
18454 2014-02-23 Siddhesh Poyarekar <siddhesh@redhat.com>
18456 * nptl/tst-sem3.c: Use test-skeleton.c
18457 (main): Rename to do_test. Use return instead of
18459 * nptl/tst-sem4.c: Use test-skeleton.c
18460 (main): Rename to do_test.
18462 2014-04-22 David S. Miller <davem@davemloft.net>
18464 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
18465 (struct sigaction): New struct member __glibc_reserved0, change
18466 type of sa_flags to int.
18468 2014-04-22 Yufeng Zhang <yufeng.zhang@arm.com>
18470 * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
18471 (COUNT_LEADING_ZEROS_0): Define for AArch64.
18473 2014-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
18475 * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
18476 * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
18478 2014-04-22 Will Newton <will.newton@linaro.org>
18479 Venkataramanan Kumar <venkataramanan.kumar@linaro.org>
18481 * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
18482 (__longjmp): Add longjmp and longjmp_target SystemTap
18484 * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
18485 (__sigsetjmp): Add setjmp SystemTap probe.
18487 2014-04-17 Carlos O'Donell <carlos@redhat.com>
18489 * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
18490 match manual order.
18492 2014-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18494 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
18496 * sysdeps/powerpc/fpu/fenv_private.h
18497 (libc_feholdexcept_setroundl_ctx): Define to
18498 libc_feholdexcept_setround_ppc_ctx.
18499 (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
18500 (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
18501 (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
18502 (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
18504 2014-04-17 Ian Bolton <ian.bolton@arm.com>
18506 * sysdeps/aarch64/math-tests.h: New file.
18508 2014-04-17 Sihai Yao <sihai.ysh@alibaba-inc.com>
18510 * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
18512 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
18513 Check and set bit_AVX2_Usable.
18514 * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
18516 (bit_AVX2): Likewise.
18517 (index_AVX2_Usable): Likewise.
18518 (CPUID_AVX2): Likewise.
18519 (HAS_AVX2): Likewise.
18521 2014-04-17 Will Newton <will.newton@linaro.org>
18523 * manual/setjmp.texi (System V contexts): Add note that
18524 calling setcontext on a context created by a call to a
18525 signal handler is undefined. Update text to note that
18526 setcontext from a signal handler is possible but not
18530 * stdlib/tst-setcontext.c: Include signal.h.
18531 (main): Check that the signal stack before and
18532 after swapcontext is the same.
18534 * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
18535 Re-implement to restore registers in user code and avoid
18536 rt_sigreturn system call.
18538 2014-04-17 Wilco <wdijkstr@arm.com>
18540 * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
18541 * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
18542 * math/test-fenv.c: Skip exception trap tests on targets which only
18543 support non-stop mode.
18545 2014-04-17 Ian Bolton <ian.bolton@arm.com>
18546 Wilco Dijkstra <wilco.dijkstra@arm.com>
18548 * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
18549 (libc_feholdsetround_aarch64_ctx)
18550 (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
18551 (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
18552 (libc_feresetround_ctx, libc_feresetroundf_ctx)
18553 (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
18554 (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
18555 (libc_feresetround_noexl_ctx): Define.
18557 2014-04-16 Richard Henderson <rth@redhat.com>
18559 * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
18561 * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
18564 * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
18565 const from the non-libc, non-ldso copy.
18567 * sysdeps/alpha/libm-test-ulps: Regenerate.
18569 2014-04-16 Ian Bolton <ian.bolton@arm.com>
18570 Wilco Dijkstra <wilco.dijkstra@arm.com>
18572 * sysdeps/aarch64/fpu/math_private.h: New file.
18574 2014-04-16 Marcus Shawcroft <marcus.shawcroft@arm.com>
18576 * sysdeps/aarch64/libm-test-ulps: Regenerate.
18578 2014-04-16 Igor Zamyatin <igor.zamyatin@intel.com>
18581 * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
18582 (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
18583 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
18584 Intel MPX bound registers before _dl_profile_fixup.
18585 * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
18586 registers after _dl_profile_fixup. Save and restore bound
18587 registers bnd0/bnd1 when calling _dl_call_pltexit.
18588 * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
18589 (LR_BND_OFFSET): Likewise.
18590 (LRV_BND0_OFFSET): Likewise.
18591 (LRV_BND1_OFFSET): Likewise.
18593 2014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
18595 * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
18597 * sysdeps/mach/hurd/i386/tls.h: ... here.
18598 (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
18599 pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
18602 2014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
18604 * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
18606 2014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
18608 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
18610 2014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
18613 * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
18614 * sysdeps/s390/configure: Regenerate.
18617 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
18618 Set round-to-nearest internally to reduce error accumulation.
18620 2014-04-16 Alan Modra <amodra@gmail.com>
18624 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
18625 * math/libm-test.inc (frexp_test_data): Add tests.
18626 * NEWS: Update fixed bug list.
18628 2014-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
18630 * benchtests/Makefile: Depend on libraries in build directory.
18631 (bench-math): Separate out math tests.
18632 (bench-pthread): Separate out pthread tests.
18633 (bench): Include math and pthread tests.
18635 2014-04-14 Carlos O'Donell <carlos@redhat.com>
18638 * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
18639 _dl_debug_initialize.
18641 * configure.ac: Remove SELinux header check.
18642 * configure: Regenerate.
18643 * nscd/selinux.c (perms): Array of const char* to permission names.
18644 (nscd_request_avc_has_perm): Call security_deny_unknown to find
18645 default policy. Call string_to_security_class and string_to_av_perm to
18646 translate strings. Enforce default policy and call avs_has_perm with
18647 results of translated strings.
18649 2014-04-13 David S. Miller <davem@davemloft.net>
18651 * sysdeps/sparc/fpu/libm-test-ulps: Update.
18653 2014-04-12 Allan McRae <allan@archlinux.org>
18656 * manual/string.texi (Collation Functions): Fix qsort argument
18658 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
18660 2014-04-11 Chris Metcalf <cmetcalf@tilera.com>
18662 * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
18663 Make the test a no-op if there are no exceptions defined.
18665 2014-04-11 Paul Pluzhnikov <ppluzhnikov@google.com>
18667 * elf/Makefile (tests): make tst-dlopen-aout conditional on
18668 enable-hardcoded-path-in-tests
18670 2014-04-11 Will Newton <will.newton@linaro.org>
18672 * benchtests/Makefile (extra-objs): Add json-lib.o.
18673 (bench-func): Tidy up JSON output.
18674 * benchtests/bench-skeleton.c: Include json-lib.h.
18675 (main): Use JSON library functions to do output of
18677 * benchtests/bench-timing-type.c (main): Output the
18678 timing type simply, leaving formatting to the user.
18679 * benchtests/json-lib.c: New file.
18680 * benchtests/json-lib.h: Likewise.
18682 2014-04-11 Torvald Riegel <triegel@redhat.com>
18685 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
18686 * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here. Add missing
18687 memory barriers. Add comments.
18688 * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
18689 * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
18690 * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
18691 * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
18692 * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
18693 * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
18695 2014-04-11 Stefan Liebler <stli@linux.vnet.ibm.com>
18697 * sysdeps/s390/s390-32/configure.ac: Unify file with ...
18698 * sysdeps/s390/s390-64/configure.ac: ... this ...
18699 * sysdeps/s390/configure.ac: ... to here.
18700 * sysdeps/s390/s390-32/configure: Delete file.
18701 * sysdeps/s390/s390-64/configure: Delete file.
18702 * sysdeps/s390/configure: Regenerate.
18704 2014-04-11 Joseph Anthony Pasquale Holsten <joseph@josephholsten.com>
18706 * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
18708 2014-04-11 Will Newton <will.newton@linaro.org>
18710 * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
18711 to zero if it is not defined elsewhere. (mtrim): Test
18712 the value of MALLOC_DEBUG with #if rather than #ifdef.
18714 2014-04-10 Torvald Riegel <triegel@redhat.com>
18716 * benchtests/pthread_once-inputs: New file.
18717 * benchtests/pthread_once-source.c: New file.
18718 * benchtests/README: Update documentation.
18720 2014-04-09 Igor Zamyatin <igor.zamyatin@intel.com>
18721 H.J. Lu <hongjiu.lu@intel.com>
18724 * config.h.in (HAVE_MPX_SUPPORT): New #undef.
18725 * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
18726 * sysdeps/x86_64/configure: Regenerated.
18727 * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
18729 (REGISTER_SAVE_RAX): Likewise.
18730 (REGISTER_SAVE_RCX): Likewise.
18731 (REGISTER_SAVE_RDX): Likewise.
18732 (REGISTER_SAVE_RSI): Likewise.
18733 (REGISTER_SAVE_RDI): Likewise.
18734 (REGISTER_SAVE_R8): Likewise.
18735 (REGISTER_SAVE_R9): Likewise.
18736 (REGISTER_SAVE_BND0): Likewise.
18737 (REGISTER_SAVE_BND1): Likewise.
18738 (REGISTER_SAVE_BND2): Likewise.
18739 (_dl_runtime_resolve): Use them. Save and restore Intel MPX
18740 bound registers when calling _dl_fixup.
18742 2014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18744 * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
18745 * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
18747 * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
18748 * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
18749 * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
18750 * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
18751 * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
18752 * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
18753 * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
18755 2014-04-09 Peter Brett <peter@peter-b.co.uk>
18758 * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
18759 pathconf(_PC_NAME_MAX).
18761 2014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18763 * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
18764 Remove macro usage.
18765 (__PTHREAD_SPINS): Move definition to ...
18766 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
18767 (__PTHREAD_SPINS): ... here.
18768 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
18769 (__PTHREAD_SPIN): Likewise.
18770 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
18771 (__PTHREAD_SPIN): Likewise.
18772 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
18773 (__PTHREAD_SPIN): Likewise.
18774 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
18775 (__PTHREAD_SPIN): Likewise.
18776 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
18777 (__PTHREAD_SPIN): Likewise.
18778 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
18779 (__PTHREAD_SPIN): Likewise.
18780 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
18781 (__PTHREAD_SPIN): Likewise.
18782 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
18783 (__PTHREAD_SPIN): Likewise.
18784 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
18785 (__PTHREAD_SPIN): Likewise.
18786 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
18787 (__PTHREAD_SPIN): Likewise.
18788 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
18789 (__PTHREAD_SPIN): Likewise.
18790 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
18791 (__PTHREAD_SPIN): Likewise.
18793 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
18794 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
18795 * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
18796 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
18798 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
18799 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
18800 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
18801 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
18802 correct imply path.
18803 * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
18804 strlen symbol for non multi-arch builds.
18805 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
18806 missing hidden_def and weak_alias.
18808 2014-04-08 Carlos O'Donell <carlos@redhat.com>
18810 * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
18812 2014-04-07 Will Newton <will.newton@linaro.org>
18814 * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
18815 and contents. [!_LIBC] Remove #ifndef and contents.
18816 (basename): Use ANSI prototype. [_LIBC] Remove #idef.
18817 * string/memccpy.c (__memccpy): Use ANSI prototype.
18818 * string/memfrob.c (memfrob): Likewise.
18819 * string/strcoll.c (STRCOLL): Likewise.
18820 * string/strlen.c (strlen): Likewise.
18821 * string/strtok.c (STRTOK): Likewise.
18822 * string/strcat.c: Remove unused #include of memcopy.h.
18823 (strcat): Use ANSI prototype.
18824 * string/strchr.c: Remove unused #include of memcopy.h.
18825 (strchr): Use ANSI prototype.
18826 * string/strcmp.c: Remove unused #include of memcopy.h.
18827 (strcmp): Use ANSI prototype.
18828 * string/strcpy.c: Remove unused #include of memcopy.h.
18829 (strcpy): Use ANSI prototype.
18831 2014-04-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18833 * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
18834 * config.make.in (config-extra-cppflags): Set it from
18835 libc_extra_cppflags.
18836 * configure.ac (libc_extra_cflags): Make it accumulate over
18837 configure fragments.
18838 (libc_extra_cppflags): New flag.
18839 * configure. Regenerate.
18840 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
18841 (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
18842 not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
18843 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
18846 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
18847 result for FE_DOWNWARD rounding mode.
18848 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
18850 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18852 2014-04-04 Chris Metcalf <cmetcalf@tilera.com>
18854 * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
18855 in function argument name.
18857 2014-04-03 David Svoboda <svoboda@cert.org>
18860 * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
18863 2014-04-03 Roland McGrath <roland@hack.frob.com>
18865 * elf/dl-unmap-segments.h: New file.
18866 * sysdeps/generic/ldsodefs.h
18867 (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
18868 * elf/dl-close.c: Include <dl-unmap-segments.h>.
18869 * elf/dl-fptr.c: Likewise.
18870 (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
18871 * sysdeps/aarch64/tlsdesc.c: Likewise.
18872 * sysdeps/arm/tlsdesc.c: Likewise.
18873 * sysdeps/i386/tlsdesc.c: Likewise.
18874 * sysdeps/tile/dl-runtime.c: Likewise.
18875 * sysdeps/x86_64/tlsdesc.c: Likewise.
18876 * elf/dl-load.h: New file.
18877 * elf/dl-load.c: Include it.
18878 (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
18879 Macros moved to dl-load.h.
18880 (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
18881 (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
18882 Use _dl_unmap_segments in place of __munmap.
18883 Break out segment-mapping loop into ...
18884 * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
18886 2014-04-03 Will Newton <will.newton@linaro.org>
18888 * elf/dl-lookup.c (do_lookup_x): Remove comment
18889 referring to nested function and move variable
18890 declarations down to before first use.
18892 2014-04-02 Joseph Myers <joseph@codesourcery.com>
18896 * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
18898 * math/s_catanf.c (__catanf): Likewise.
18899 * math/s_catanh.c (__catanh): Likewise.
18900 * math/s_catanhf.c (__catanhf): Likewise.
18901 * math/s_catanhl.c (__catanhl): Likewise.
18902 * math/s_catanl.c (__catanl): Likewise.
18903 * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
18904 by positive zero when computing -Inf result.
18905 * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
18906 (catanh_test): Likewise.
18907 * sysdeps/i386/fpu/libm-test-ulps: Update.
18908 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18911 * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
18912 instead of using underflowing value in computing result.
18913 * math/s_clog10.c (__clog10): Likewise.
18914 * math/s_clog10f.c (__clog10f): Likewise.
18915 * math/s_clog10l.c (__clog10l): Likewise.
18916 * math/s_clogf.c (__clogf): Likewise.
18917 * math/s_clogl.c (__clogl): Likewise.
18918 * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
18919 (clog10_test): Likewise.
18920 * sysdeps/i386/fpu/libm-test-ulps: Update.
18921 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18923 2014-04-02 Alan Modra <amodra@gmail.com>
18926 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
18927 output when value is near a power of two. Use int64_t for lx and
18928 remove casts. Use decimal rather than hex exponent constants.
18929 Don't use long double multiplication when double will suffice.
18930 * math/libm-test.inc (nextafter_test_data): Add tests.
18931 * NEWS: Add 16739 and 16786 to bug list.
18933 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
18935 * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
18937 2014-04-01 Will Newton <will.newton@linaro.org>
18939 * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
18940 -fno-builtin. (CFLAGS-bench-ffsll.c): Likewise.
18942 2014-04-01 Florian Weimer <fweimer@redhat.com>
18945 * nptl/nptl-init.c (sighandler_setxid): Check system call result.
18946 * nptl/tst-setuid2.c: New file.
18947 * nptl/Makefile (xtests): Add tst-setuid2.
18949 2014-04-01 Alan Modra <amodra@gmail.com>
18952 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
18954 2014-03-31 Joseph Myers <joseph@codesourcery.com>
18958 * math/w_scalb.c (__scalb): For non-SVID mode, check result and
18959 set errno as appropriate.
18960 * math/w_scalbf.c (__scalbf): Likewise.
18961 * math/w_scalbl.c (__scalbl): Likewise.
18962 * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
18963 ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
18964 * math/libm-test.inc (scalb_test_data): Add errno expectations.
18965 Add more NaN tests.
18968 * math/w_atan2.c: Include <errno.h>.
18969 (__atan2): Set errno for result underflowing to zero.
18970 * math/w_atan2f.c: Include <errno.h>.
18971 (__atan2f): Set errno for result underflowing to zero.
18972 * math/w_atan2l.c: Include <errno.h>.
18973 (__atan2l): Set errno for result underflowing to zero.
18974 * math/auto-libm-test-in: Don't allow missing errno for some atan2
18976 * math/auto-libm-test-out: Regenerated.
18978 2014-03-31 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18980 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
18981 Encode instruction correctly in little endian.
18982 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
18984 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
18986 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
18988 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
18991 2014-03-31 Joseph Myers <joseph@codesourcery.com>
18994 * sysdeps/unix/sysv/linux/kernel-features.h
18995 [__sparc__ && !__arch64__ && !__sparc_v9__]
18996 (__ASSUME_SET_ROBUST_LIST): Do not define.
18997 [__sparc__ && !__arch64__ && !__sparc_v9__]
18998 (__ASSUME_FUTEX_LOCK_PI): Likewise.
18999 [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
19001 * sysdeps/unix/sysv/linux/arm/kernel-features.h
19002 (__ASSUME_FUTEX_LOCK_PI): Undefine.
19003 (__ASSUME_REQUEUE_PI): Likewise.
19004 (__ASSUME_SET_ROBUST_LIST): Likewise.
19005 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
19006 [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
19008 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
19009 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
19011 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
19013 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
19015 * sysdeps/unix/sysv/linux/mips/kernel-features.h
19016 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
19018 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
19019 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
19023 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
19024 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
19025 * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
19027 2014-03-31 Will Newton <will.newton@linaro.org>
19029 * benchtests/Makefile (bench): Add ffs and ffsll to list
19031 * benchtests/ffs-inputs: New file.
19032 * benchtests/ffsll-inputs: Likewise.
19034 2014-03-29 Joseph Myers <joseph@codesourcery.com>
19037 * math/e_scalb.c (__ieee754_scalb): Check second argument is not
19038 too large before casting to int.
19039 * math/e_scalbf.c (__ieee754_scalbf): Likewise.
19040 * math/e_scalbl.c (__ieee754_scalbl): Likewise.
19041 * math/libm-test.inc (scalb_test_data): Add more tests.
19043 2014-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
19045 * benchtests/Makefile (DETAILED_OPT): New make option.
19046 (bench-func): Run benchmark program with -d if DETAILED_OPT is
19048 * benchtests/bench-skeleton.c: Include stdbool.h.
19049 (main): Store and print timings per input.
19050 * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
19051 member to each argument value.
19052 (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
19053 (_print_arg_data): Initialize per-input timing to 0.
19055 * benchtests/Makefile (timing-type): New binary.
19056 (bench-clean): Also remove bench-timing-type.
19057 (bench): New target for timing-type.
19058 (bench-func): Print output in JSON format.
19059 * benchtests/bench-skeleton.c (main): Print output in JSON
19061 * benchtests/bench-timing-type.c: New file.
19062 * benchtests/bench-timing.h (TIMING_TYPE): New macro.
19063 (TIMING_PRINT_STATS): Remove.
19064 * benchtests/scripts/bench.py (_print_arg_data): Store variant
19067 * benchtests/bench-modf.c: Remove.
19068 * benchtests/modf-inputs: New inputs file.
19070 2014-03-28 Joseph Myers <joseph@codesourcery.com>
19073 * math/s_clog10.c (M_PI_LOG10E): New macro.
19074 (__clog10): Use M_PI_LOG10E instead of M_PI when real and
19075 imaginary parts are 0.
19076 * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
19077 (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
19078 imaginary parts are 0.
19079 * math/s_clog10l.c (M_PI_LOG10El): New macro.
19080 (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
19081 imaginary parts are 0.
19082 * math/libm-test.inc (clog10_test_data): Update expected results
19083 for when real and imaginary parts are 0.
19085 2014-03-27 Paul Pluzhnikov <ppluzhnikov@google.com>
19087 * elf/dl-load.c: Finish conversion of __builtin_expect into
19088 __glibc_{un}likely.
19090 2014-03-27 Joseph Myers <joseph@codesourcery.com>
19093 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
19094 1+x for argument with exponent below -67.
19095 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
19097 * math/auto-libm-test-in: Add more tests of exp.
19098 * math/auto-libm-test-out: Regenerated.
19100 2014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
19103 * inet/getnetgrent_r.c (get_nonempty_val): New function.
19104 (nscd_getnetgrent): Use it.
19107 * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
19110 2014-03-27 Andi Kleen <ak@linux.intel.com>
19112 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
19113 (lll_robust_lock, lll_cond_lock, lll_timedlock)
19114 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
19115 (lll_robust_unlock): Remove out of line section. Use cfi
19117 (LLL_STUB_UNWIND_INFO*): Remove.
19118 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
19119 (lll_robust_lock, lll_cond_lock, lll_timedlock)
19120 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
19121 (lll_robust_unlock): Remove out of line section. Use cfi
19123 (LLL_STUB_UNWIND_INFO*): Remove.
19125 2014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
19128 * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
19131 2014-03-26 Paul Pluzhnikov <ppluzhnikov@google.com>
19133 * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
19135 2014-03-26 Joseph Myers <joseph@codesourcery.com>
19138 * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
19140 * math/test-fenv-preserve.c: New file.
19141 * math/Makefile (tests): Add test-fenv-preserve.
19143 2014-03-26 Will Newton <will.newton@linaro.org>
19145 * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
19147 2014-03-25 Roland McGrath <roland@hack.frob.com>
19149 * scripts/versionlist.awk: Partition the version sets and emit all
19150 GLIBC_* (sorted) before all others (sorted).
19152 2014-03-25 Joseph Myers <joseph@codesourcery.com>
19154 * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
19155 GLIBC_2.2.5 version.
19157 2014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19159 * scripts/localplt.awk: Check for PLT generated by internal IFUNC
19162 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
19165 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19167 2014-03-25 Andreas Schwab <schwab@suse.de>
19169 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
19170 label to be used after in6ailist is initialized.
19172 2014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19174 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
19175 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
19177 2014-03-25 Joseph Myers <joseph@codesourcery.com>
19181 * math/gen-auto-libm-tests.c (fp_format_desc): Add field
19183 (fp_formats): Update initializers.
19184 (init_fp_formats): Initialize new field.
19185 (output_for_one_input_case): Allow underflow for results up to
19187 * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
19188 * math/auto-libm-test-in: Don't mark some underflows from asin and
19190 * math/auto-libm-test-out: Regenerated.
19191 * sysdeps/i386/fpu/libm-test-ulps: Update.
19192 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19194 2014-03-25 Andreas Schwab <schwab@suse.de>
19196 * libio/Makefile (tst-ftell-partial-wide-ENV)
19197 (tst-ftell-active-handler-ENV): Define.
19199 2014-03-25 Stefan Liebler <stli@linux.vnet.ibm.com>
19201 * NEWS: Add 16712, 16713, 16714 to fixed bug list.
19203 2014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
19205 * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
19207 2014-03-24 Joseph Myers <joseph@codesourcery.com>
19209 * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
19210 * sysdeps/x86_64/fpu/multiarch/e_exp.c
19211 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
19213 2014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
19216 * elf/dl-load.c (open_verify): Add mode parameter.
19217 Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
19218 (open_path): Change from boolean 'secure' to complete flag 'mode'
19219 (_dl_map_object): Adjust.
19220 * elf/Makefile (tests): Add tst-dlopen-aout.
19221 * elf/tst-dlopen-aout.c: New test.
19223 2014-03-24 Stefan Liebler <stli@linux.vnet.ibm.com>
19226 * sysdeps/unix/sysv/linux/s390/bits/stat.h
19227 (struct stat): Rename member pad0 to __glibc_reserved0.
19230 * sysdeps/s390/s390-32/bits/wordsize.h
19231 (__WORDSIZE32_SIZE_ULONG): New define.
19232 * sysdeps/s390/s390-64/bits/wordsize.h
19233 (__WORDSIZE32_SIZE_ULONG): Likewise.
19234 * sysdeps/generic/stdint.h (SIZE_MAX):
19235 Define as UL if __WORDSIZE32_SIZE_ULONG.
19238 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
19239 (__glibc_reserved0): New variable.
19240 (sa_flags): Change type to int.
19242 * posix/Makefile (before-compile): Use += before-compile instead
19245 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
19246 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
19248 2014-03-20 Andreas Schwab <schwab@suse.de>
19251 * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
19252 non-matching result from nscd.
19254 2014-03-24 Siddhesh Poyarekar <siddhesh@redhat.com>
19256 * scripts/bench.py: Moved to ...
19257 * benchtests/scripts/bench.py: ... here.
19258 * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
19260 2014-03-24 Andreas Schwab <schwab@suse.de>
19263 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
19264 alloca_account and account alloca use for struct in6ailist.
19266 2014-03-24 Joseph Myers <joseph@codesourcery.com>
19269 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
19270 rounding mode to recompute results that overflow to infinity or
19272 * math/auto-libm-test-in: Don't mark tests as expected to fail for
19274 * math/auto-libm-test-out: Regenerated.
19275 * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
19276 (ccosh_test): Likewise.
19277 (csin_test_data): Use plus_oflow.
19278 (csin_test): Use ALL_RM_TEST.
19279 (csinh_test_data): Use plus_oflow.
19280 (csinh_test): Use ALL_RM_TEST.
19281 * sysdeps/i386/fpu/libm-test-ulps: Update.
19282 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19284 2014-03-21 Joseph Myers <joseph@codesourcery.com>
19286 * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
19287 * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
19288 * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
19291 * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
19292 when x - 1 is zero.
19293 * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
19294 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
19295 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
19296 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
19298 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
19299 * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
19301 * math/libm-test.inc (log_test): Use ALL_RM_TEST.
19302 * sysdeps/i386/fpu/libm-test-ulps: Update.
19303 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19305 2014-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
19307 * scripts/bench.pl: Remove file.
19308 * scripts/bench.py: New benchmark script.
19309 * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
19310 * benchtests/README: Mention python dependency.
19311 * scripts/pylintrc: New file.
19312 * scripts/pylint: New file.
19314 * bits/mathdef.h: Use #ifdef instead of #if.
19315 * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
19316 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
19317 * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
19318 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
19319 * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
19320 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
19322 2014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19323 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
19325 * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
19326 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
19327 and strpbrk-ppc64 objects.
19328 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
19329 (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
19330 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
19331 multiarch strpbrk for POWER7.
19332 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
19333 multiarch strpbrk for PPC64.
19334 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
19336 * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
19337 strpbrk for POWER7.
19339 2014-03-20 Joseph Myers <joseph@codesourcery.com>
19341 * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
19342 (atan_test): Likewise.
19343 (atanh_test_data): Use NO_TEST_INLINE for two tests.
19344 (atanh_test): Use ALL_RM_TEST.
19345 (atan2_test_data): Likewise.
19346 (cabs_test): Likewise.
19347 (cacosh_test): Likewise.
19348 (carg_test): Likewise.
19349 (casin_test): Likewise.
19350 (casinh_test): Likewise.
19351 (cbrt_test): Likewise.
19352 (csqrt_test): Likewise.
19353 (erf_test): Likewise.
19354 (erfc_test): Likewise.
19355 (pow10_test): Likewise.
19356 (exp2_test): Likewise.
19357 (hypot_test): Likewise.
19358 (j0_test): Likewise.
19359 (j1_test): Likewise.
19360 (lgamma_test): Likewise.
19361 (gamma_test): Likewise.
19362 (sincos_test): Likewise.
19363 (tanh_test): Likewise.
19364 (y0_test): Likewise.
19365 (y1_test): Likewise.
19366 * sysdeps/i386/fpu/libm-test-ulps: Update.
19367 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19369 2014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19371 * string/strcspn.c (strcspn): Using macro to redefine symbol name.
19372 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
19373 and strcspn-ppc64 objects.
19374 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
19375 (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
19376 * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
19377 multiarch strcspn for POWER7.
19378 * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
19379 multiarch strcspn for PPC64.
19380 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
19382 * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
19383 strcspn for POWER7.
19385 2014-03-20 Joseph Myers <joseph@codesourcery.com>
19387 * math/gen-libm-test.pl (generate_testfile): Expect only function
19388 name as argument to AUTO_TESTS_* and pass results for all rounding
19389 modes to parse_args.
19390 (parse_auto_input): Separate inputs of automatic tests from
19391 outputs before storing in %auto_tests.
19392 * math/libm-test.inc (acos_test_data): Update call to
19394 (acos_test): Use ALL_RM_TEST.
19395 (acos_tonearest_test_data): Remove.
19396 (acos_test_tonearest): Likewise.
19397 (acos_towardzero_test_data): Likewise.
19398 (acos_test_towardzero): Likewise.
19399 (acos_downward_test_data): Likewise.
19400 (acos_test_downward): Likewise.
19401 (acos_upward_test_data): Likewise.
19402 (acos_test_upward): Likewise.
19403 (acosh_test_data): Update call to AUTO_TESTS_f_f.
19404 (asin_test_data): Likewise.
19405 (asin_test): Use ALL_RM_TEST.
19406 (asin_tonearest_test_data): Remove.
19407 (asin_test_tonearest): Likewise.
19408 (asin_towardzero_test_data): Likewise.
19409 (asin_test_towardzero): Likewise.
19410 (asin_downward_test_data): Likewise.
19411 (asin_test_downward): Likewise.
19412 (asin_upward_test_data): Likewise.
19413 (asin_test_upward): Likewise.
19414 (asinh_test_data): Update call to AUTO_TESTS_f_f.
19415 (atan_test_data): Likewise.
19416 (atanh_test_data): Likewise.
19417 (atan2_test_data): Update call to AUTO_TESTS_ff_f.
19418 (cabs_test_data): Update call to AUTO_TESTS_c_f.
19419 (carg_test_data): Likewise.
19420 (cbrt_test_data): Update call to AUTO_TESTS_f_f.
19421 (ccos_test_data): Update call to AUTO_TESTS_c_c.
19422 (ccosh_test_data): Likewise.
19423 (cexp_test_data): Likewise.
19424 (clog_test_data): Likewise.
19425 (clog10_test_data): Likewise.
19426 (cos_test_data): Update call to AUTO_TESTS_f_f.
19427 (cos_test): Use ALL_RM_TEST.
19428 (cos_tonearest_test_data): Remove.
19429 (cos_test_tonearest): Likewise.
19430 (cos_towardzero_test_data): Likewise.
19431 (cos_test_towardzero): Likewise.
19432 (cos_downward_test_data): Likewise.
19433 (cos_test_downward): Likewise.
19434 (cos_upward_test_data): Likewise.
19435 (cos_test_upward): Likewise.
19436 (cosh_test_data): Update call to AUTO_TESTS_f_f.
19437 (cosh_test): Use ALL_RM_TEST.
19438 (cosh_tonearest_test_data): Remove.
19439 (cosh_test_tonearest): Likewise.
19440 (cosh_towardzero_test_data): Likewise.
19441 (cosh_test_towardzero): Likewise.
19442 (cosh_downward_test_data): Likewise.
19443 (cosh_test_downward): Likewise.
19444 (cosh_upward_test_data): Likewise.
19445 (cosh_test_upward): Likewise.
19446 (cpow_test_data): Update call to AUTO_TESTS_cc_c.
19447 (csqrt_test_data): Update call to AUTO_TESTS_c_c.
19448 (ctan_test_data): Likewise.
19449 (ctan_test): Use ALL_RM_TEST.
19450 (ctan_tonearest_test_data): Remove.
19451 (ctan_test_tonearest): Likewise.
19452 (ctan_towardzero_test_data): Likewise.
19453 (ctan_test_towardzero): Likewise.
19454 (ctan_downward_test_data): Likewise.
19455 (ctan_test_downward): Likewise.
19456 (ctan_upward_test_data): Likewise.
19457 (ctan_test_upward): Likewise.
19458 (ctanh_test_data): Update call to AUTO_TESTS_c_c.
19459 (ctanh_test): Use ALL_RM_TEST.
19460 (ctanh_tonearest_test_data): Remove.
19461 (ctanh_test_tonearest): Likewise.
19462 (ctanh_towardzero_test_data): Likewise.
19463 (ctanh_test_towardzero): Likewise.
19464 (ctanh_downward_test_data): Likewise.
19465 (ctanh_test_downward): Likewise.
19466 (ctanh_upward_test_data): Likewise.
19467 (ctanh_test_upward): Likewise.
19468 (erf_test_data): Update call to AUTO_TESTS_f_f.
19469 (erfc_test_data): Likewise.
19470 (exp_test_data): Likewise.
19471 (exp_test): Use ALL_RM_TEST.
19472 (exp_tonearest_test_data): Remove.
19473 (exp_test_tonearest): Likewise.
19474 (exp_towardzero_test_data): Likewise.
19475 (exp_test_towardzero): Likewise.
19476 (exp_downward_test_data): Likewise.
19477 (exp_test_downward): Likewise.
19478 (exp_upward_test_data): Likewise.
19479 (exp_test_upward): Likewise.
19480 (exp10_test_data): Update call to AUTO_TESTS_f_f.
19481 (exp10_test): Use ALL_RM_TEST.
19482 (exp10_tonearest_test_data): Remove.
19483 (exp10_test_tonearest): Likewise.
19484 (exp10_towardzero_test_data): Likewise.
19485 (exp10_test_towardzero): Likewise.
19486 (exp10_downward_test_data): Likewise.
19487 (exp10_test_downward): Likewise.
19488 (exp10_upward_test_data): Likewise.
19489 (exp10_test_upward): Likewise.
19490 (exp2_test_data): Update call to AUTO_TESTS_f_f.
19491 (expm1_test_data): Likewise.
19492 (expm1_test): Use ALL_RM_TEST.
19493 (expm1_tonearest_test_data): Remove.
19494 (expm1_test_tonearest): Likewise.
19495 (expm1_towardzero_test_data): Likewise.
19496 (expm1_test_towardzero): Likewise.
19497 (expm1_downward_test_data): Likewise.
19498 (expm1_test_downward): Likewise.
19499 (expm1_upward_test_data): Likewise.
19500 (expm1_test_upward): Likewise.
19501 (fma_test_data): Update call to AUTO_TESTS_fff_f.
19502 (fma_test): Use ALL_RM_TEST.
19503 (fma_towardzero_test_data): Remove.
19504 (fma_test_towardzero): Likewise.
19505 (fma_downward_test_data): Likewise.
19506 (fma_test_downward): Likewise.
19507 (fma_upward_test_data): Likewise.
19508 (fma_test_upward): Likewise.
19509 (hypot_test_data): Update call to AUTO_TESTS_ff_f.
19510 (j0_test_data): Update call to AUTO_TESTS_f_f.
19511 (j1_test_data): Likewise.
19512 (jn_test_data): Update call to AUTO_TESTS_if_f.
19513 (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
19514 (log_test_data): Update call to AUTO_TESTS_f_f.
19515 (log10_test_data): Likewise.
19516 (log1p_test_data): Likewise.
19517 (log2_test_data): Likewise.
19518 (pow_test_data): Update call to AUTO_TESTS_ff_f.
19519 (pow_tonearest_test_data): Likewise.
19520 (sin_test_data): Update call to AUTO_TESTS_f_f.
19521 (sin_test): Use ALL_RM_TEST.
19522 (sin_tonearest_test_data): Remove.
19523 (sin_test_tonearest): Likewise.
19524 (sin_towardzero_test_data): Likewise.
19525 (sin_test_towardzero): Likewise.
19526 (sin_downward_test_data): Likewise.
19527 (sin_test_downward): Likewise.
19528 (sin_upward_test_data): Likewise.
19529 (sin_test_upward): Likewise.
19530 (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
19531 (sinh_test_data): Update call to AUTO_TESTS_f_f.
19532 (sinh_test): Use ALL_RM_TEST.
19533 (sinh_tonearest_test_data): Remove.
19534 (sinh_test_tonearest): Likewise.
19535 (sinh_towardzero_test_data): Likewise.
19536 (sinh_test_towardzero): Likewise.
19537 (sinh_downward_test_data): Likewise.
19538 (sinh_test_downward): Likewise.
19539 (sinh_upward_test_data): Likewise.
19540 (sinh_test_upward): Likewise.
19541 (sqrt_test_data): Update call to AUTO_TESTS_f_f.
19542 (sqrt_test): Use ALL_RM_TEST.
19543 (sqrt_tonearest_test_data): Remove.
19544 (sqrt_test_tonearest): Likewise.
19545 (sqrt_towardzero_test_data): Likewise.
19546 (sqrt_test_towardzero): Likewise.
19547 (sqrt_downward_test_data): Likewise.
19548 (sqrt_test_downward): Likewise.
19549 (sqrt_upward_test_data): Likewise.
19550 (sqrt_test_upward): Likewise.
19551 (tan_test_data): Update call to AUTO_TESTS_f_f.
19552 (tan_test): Use ALL_RM_TEST.
19553 (tan_tonearest_test_data): Remove.
19554 (tan_test_tonearest): Likewise.
19555 (tan_towardzero_test_data): Likewise.
19556 (tan_test_towardzero): Likewise.
19557 (tan_downward_test_data): Likewise.
19558 (tan_test_downward): Likewise.
19559 (tan_upward_test_data): Likewise.
19560 (tan_test_upward): Likewise.
19561 (tanh_test_data): Update call to AUTO_TESTS_f_f.
19562 (tgamma_test_data): Likewise.
19563 (y0_test_data): Likewise.
19564 (y1_test_data): Likewise.
19565 (yn_test_data): Update call to AUTO_TESTS_if_f.
19566 (main): Do not call removed functions.
19568 2014-03-19 Joseph Myers <joseph@codesourcery.com>
19570 * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
19571 (ldexp_test_data): Remove.
19572 (ldexp_test): Move to after scalbn_test. Use ALL_RM_TEST with
19574 (scalb_test): Use ALL_RM_TEST.
19576 2014-03-19 Andreas Schwab <schwab@suse.de>
19578 * nscd/nscd.service: Also invalidate netgroup cache on reload.
19580 2014-03-19 Joseph Myers <joseph@codesourcery.com>
19583 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
19584 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
19585 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
19586 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
19587 (__ASSUME_PREADV): Undefine.
19588 (__ASSUME_PWRITEV): Likewise.
19590 2014-03-18 Roland McGrath <roland@hack.frob.com>
19592 * bits/mman-linux.h: Add comment about non-Linux use.
19593 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
19594 bits/mman-linux.h resting place.
19596 * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
19597 * bits/mman-linux.h: ... here.
19599 2014-03-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19601 * conform/conformtest.pl: Add standard definition when calling C
19602 preprocessor on data files.
19603 (checknamespace): Remove unused variable.
19605 2014-03-18 Joseph Myers <joseph@codesourcery.com>
19607 * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
19608 minus_oflow, plus_uflow and minus_uflow in expected results.
19609 * math/libm-test.inc (scalbn_test_data): Add more tests of
19610 negative arguments. Use plus_oflow, minus_oflow, plus_uflow and
19612 (scalbn_test): Use ALL_RM_TEST.
19613 (scalbln_test_data): Add more tests of negative arguments. Use
19614 plus_oflow, minus_oflow, plus_uflow and minus_uflow.
19615 (scalbln_test): Use ALL_RM_TEST.
19617 2014-03-18 Roland McGrath <roland@hack.frob.com>
19619 * scripts/abilist.awk: Ignore symbols marked with .hidden.
19621 2014-03-18 Will Newton <will.newton@linaro.org>
19623 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
19624 inaccurate comment.
19626 2014-03-18 Joseph Myers <joseph@codesourcery.com>
19628 * Makerules [!subdir] (check-abi): Exit with error status if a
19631 2014-03-17 Joseph Myers <joseph@codesourcery.com>
19633 * math/libm-test.inc (nearbyint_test_data): Include all tests used
19634 for rint. Include results for all rounding modes.
19635 (nearbyint_test): Use ALL_RM_TEST.
19636 (rint_test_data): Include all tests used for nearbyint.
19638 2014-03-17 Will Newton <will.newton@linaro.org>
19640 * nptl/sysdeps/pthread/pthread.h: Revert previous
19643 * sysdeps/generic/ldsodefs.h: Revert previous
19646 * libio/genops.c: Revert previous change.
19647 * libio/libioP.h: Likewise.
19648 * stdio-common/vfprintf.c: Likewise.
19650 * sysdeps/generic/math_private.h: Revert previous
19653 * sysdeps/generic/math_private.h: Check whether
19654 HAVE_RM_CTX is defined with #ifdef rather
19657 * argp/argp-fmtstream.h: Check whether
19658 __STRICT_ANSI__ is defined with #ifdef rather
19660 * argp/argp.h: Likewise.
19662 * libio/genops.c: Check whether
19663 _IO_JUMPS_OFFSET is defined with #ifdef rather
19665 * libio/libioP.h: Likewise.
19666 * stdio-common/vfprintf.c: Likewise.
19668 * sysdeps/generic/ldsodefs.h: Check whether
19669 HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
19672 * nptl/sysdeps/pthread/pthread.h: Check
19673 __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
19676 2014-03-17 Siddhesh Poyarekar <siddhesh@redhat.com>
19678 * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
19680 * libio/tst-ftell-active-handler.c (do_append_test): Add a
19684 * libio/fileops.c (_IO_file_open): Seek to end of file but
19685 don't cache the offset.
19686 (get_file_offset): Remove function.
19687 (do_ftell): Use cached offset when available.
19688 * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
19689 don't cache the offset.
19690 * libio/tst-ftell-active-handler.c (do_rewind_test): New test
19692 (do_one_test): Call it.
19693 (do_ftell_test): Fix up expected old offset for a+ mode.
19694 * libio/wfileops.c (do_ftell_wide): Used cached offset when
19697 * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
19698 up test status with function return status.
19699 (do_write_test): Likewise.
19700 (do_append_test): Likewise.
19702 * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
19703 && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
19706 2014-03-17 Joseph Myers <joseph@codesourcery.com>
19708 * math/gen-libm-test.pl (parse_args): Handle results specified for
19709 each rounding mode separately.
19710 * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
19711 tests and results from lrint_tonearest_test_data,
19712 lrint_towardzero_test_data, lrint_downward_test_data and
19713 lrint_upward_test_data.
19714 (lrint_test): Use ALL_RM_TEST.
19715 (lrint_tonearest_test_data): Remove.
19716 (lrint_test_tonearest): Likewise.
19717 (lrint_towardzero_test_data): Likewise.
19718 (lrint_test_towardzero): Likewise.
19719 (lrint_downward_test_data): Likewise.
19720 (lrint_test_downward): Likewise.
19721 (lrint_upward_test_data): Likewise.
19722 (lrint_test_upward): Likewise.
19723 (llrint_test_data): Merge in per-rounding-mode tests and results
19724 from llrint_tonearest_test_data, llrint_towardzero_test_data,
19725 llrint_downward_test_data and llrint_upward_test_data.
19726 (llrint_test): Use ALL_RM_TEST.
19727 (llrint_tonearest_test_data): Remove.
19728 (llrint_test_tonearest): Likewise.
19729 (llrint_towardzero_test_data): Likewise.
19730 (llrint_test_towardzero): Likewise.
19731 (llrint_downward_test_data): Likewise.
19732 (llrint_test_downward): Likewise.
19733 (llrint_upward_test_data): Likewise.
19734 (llrint_test_upward): Likewise.
19735 (rint_test_data): Merge in per-rounding-mode tests and results
19736 from rint_tonearest_test_data, rint_towardzero_test_data,
19737 rint_downward_test_data and rint_upward_test_data. Add
19738 per-rounding-mode results for tests not in those arrays.
19739 (rint_test): Use ALL_RM_TEST.
19740 (rint_tonearest_test_data): Remove.
19741 (rint_test_tonearest): Likewise.
19742 (rint_towardzero_test_data): Likewise.
19743 (rint_test_towardzero): Likewise.
19744 (rint_downward_test_data): Likewise.
19745 (rint_test_downward): Likewise.
19746 (rint_upward_test_data): Likewise.
19747 (rint_test_upward): Likewise.
19748 (main): Don't call removed functions.
19750 2014-03-14 Roland McGrath <roland@hack.frob.com>
19752 * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
19753 "Compiled on ..." crapola. It is anti-useful.
19755 2014-03-14 Joseph Myers <joseph@codesourcery.com>
19757 * scripts/evaluate-test.sh: Handle fourth argument to determine
19758 whether test run should stop on failure.
19759 * Makeconfig (stop-on-test-failure): New variable.
19760 (evaluate-test): Pass fourth argument to evaluate-test.sh based on
19761 $(stop-on-test-failure).
19762 * Makefile (tests): Give a summary of results from testing and
19763 exit with failure status if they include an ERROR or FAIL.
19764 (xtests): Likewise.
19765 * manual/install.texi (Configuring and compiling): Mention
19766 stop-on-test-failure=y.
19767 * INSTALL: Regenerated.
19769 2014-03-14 Roland McGrath <roland@hack.frob.com>
19771 * scripts/versionlist.awk: New file.
19772 * Makerules [$(build-shared) = yes]
19773 (postclean-generated): Add Versions.def, not Versions.def.v and
19775 ($(common-objpfx)Versions.def.v.i): Target removed.
19776 ($(common-objpfx)Versions.def): New target.
19777 ($(common-objpfx)Versions.all): Depend on that rather that
19778 $(common-objpfx)Versions.def.v.
19779 * Versions.def: File removed.
19781 * Makeconfig (+gccwarn): Add -Wundef.
19782 * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
19783 a dl-sysdep.h breaking its contract.
19784 [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
19785 * include/stackinfo.h: New file.
19786 * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
19787 * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
19788 * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
19789 * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
19790 * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
19791 * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
19792 * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
19793 * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
19794 * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
19795 * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
19796 * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
19797 * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
19798 * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
19799 * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
19800 * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
19802 2014-03-14 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19805 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
19807 * math/libm-test.inc (round_test_data): Add more tests.
19810 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
19812 * math/libm-test.inc (nearbyint_test_data): Add more tests.
19815 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
19817 * math/libm-test.inc (ceil_test_data): Add more tests.
19819 * math/libm-test.inc (trunc_test_data): Add more tests related to
19822 2014-03-14 Roland McGrath <roland@hack.frob.com>
19824 * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
19825 with #if rather than #ifdef.
19826 * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
19828 2014-03-14 H.J. Lu <hongjiu.lu@intel.com>
19830 * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
19831 first. Disable AVX-512 GCC support if assembler doesn't support
19833 * sysdeps/x86_64/configure: Regenerated.
19835 2014-03-13 Carlos O'Donell <carlos@redhat.com>
19837 * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
19838 [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
19839 (__old_pthread_attr_setstack): Likewise.
19840 * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
19841 [!_STACK_GROWS_DOWN]: Likewise.
19843 2014-03-13 Mike Frysinger <vapier@gentoo.org>
19845 * config.make.in (have-bash2): Delete.
19846 * configure.ac (libc_cv_have_bash2): Delete.
19847 * configure: Regenerate.
19848 * elf/Makefile (common-ldd-rewrite): Rename to ...
19849 (ldd-rewrite): ... this. Move bash-ldd-rewrite content to end.
19850 (sh-ldd-rewrite): Delete.
19851 (bash-ldd-rewrite): Delete.
19852 (have-bash2): Delete checks.
19853 [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
19856 * config.make.in (have-ksh): Delete.
19858 * configure.ac (libc_cv_have_ksh): Delete.
19859 * configure: Regenerate.
19861 * elf/Makefile: Delete $(have-ksh) check.
19862 ($(objpfx)sotruss): Change KSH to BASH.
19863 * elf/sotruss.ksh: Rename to ...
19864 * elf/sotruss.sh: ... this. Change @KSH@ to @BASH@. Change
19865 function style to match POSIX. Drop ksh vim mode setting.
19867 * manual/time.texi (Specifying the Time Zone with TZ): Change
19868 Tuesday to Thursday.
19870 * debug/tst-longjmp_chk2.c: Update header comment.
19871 (stackoverflow_handler): Add comment. Call assert on pass value.
19873 2014-03-13 Igor Zamyatin <igor.zamyatin@intel.com>
19876 * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
19877 (HAVE_AVX512_ASM_SUPPORT): Likewise.
19878 * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
19879 (La_x86_64_vector): Add zmm.
19880 * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
19881 (modules-names): Add tst-auditmod10a and tst-auditmod10b.
19882 ($(objpfx)tst-audit10): New target.
19883 ($(objpfx)tst-audit10.out): Likewise.
19884 (tst-audit10-ENV): New.
19885 (AVX512-CFLAGS): Likewise.
19886 (CFLAGS-tst-audit10.c): Likewise.
19887 (CFLAGS-tst-auditmod10a.c): Likewise.
19888 (CFLAGS-tst-auditmod10b.c): Likewise.
19889 * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
19890 HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
19891 * sysdeps/x86_64/configure: Regenerated.
19892 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
19893 AVX-512 zmm register support.
19894 (_dl_x86_64_save_sse): Likewise.
19895 (_dl_x86_64_restore_sse): Likewise.
19896 * sysdeps/x86_64/dl-trampoline.h: Updated to support different
19897 size vector registers.
19898 * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
19899 (ZMM_SIZE): Likewise.
19900 * sysdeps/x86_64/tst-audit10.c: New file.
19901 * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
19902 * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
19904 2014-03-13 Roland McGrath <roland@hack.frob.com>
19906 * configure.ac (HAVE_EHDR_START): New check.
19907 * configure: Regenerated.
19908 * config.h.in (HAVE_EHDR_START): New #undef.
19909 * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
19910 assuming the lowest-addressed segment maps the start of the file.
19912 2014-03-13 Joseph Myers <joseph@codesourcery.com>
19914 * INSTALL: Regenerated.
19916 2014-03-13 Will Newton <will.newton@linaro.org>
19918 * manual/setjmp.texi (System V contexts): Improve
19919 clarity and grammar of documentation.
19921 2014-03-12 Paul Pluzhnikov <ppluzhnikov@google.com>
19924 * elf/Makefile (tests): Add tst-pie2.
19925 (tests-pie): Add tst-pie2.
19926 * elf/tst-pie2.c: New file.
19927 * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
19929 * elf/rtld.c (map_doit): Load executable as lt_executable.
19930 (dl_main): Likewise.
19932 2014-03-12 Joseph Myers <joseph@codesourcery.com>
19935 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
19936 (__ASSUME_PSELECT): Undefine.
19938 2014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19941 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
19942 (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
19944 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
19945 selector for static builds.
19947 2014-03-12 Siddhesh Poyarekar <siddhesh@redhat.com>
19950 * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
19953 2014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19955 * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
19956 IFUNC selector for static builds.
19958 2014-03-11 Joseph Myers <joseph@codesourcery.com>
19960 * sysdeps/mips/math_private.h [__mips_hard_float]
19961 (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
19962 libc_feresetround_mips_ctx.
19963 [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
19964 [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
19965 [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
19968 * math/s_nextafter.c (__nextafter): Do not return value from
19969 overflowing computation.
19970 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
19971 * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
19972 * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
19974 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
19976 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
19977 * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
19979 2014-03-11 Roland McGrath <roland@hack.frob.com>
19981 * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
19982 * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
19983 Move sfi_sp use from the load-multiple (that no longer sets sp) to
19984 the new mov targetting sp.
19986 2014-03-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19989 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
19990 Define it for static builds as well.
19991 (NO_BZERO_IMPL): Likewise.
19993 2014-03-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
19995 * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
19996 * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
19997 multiarch strspn for PPC64.
19998 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
19999 * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
20000 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
20001 (__libc_ifunc_impl_list): Likewise.
20002 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
20003 multiarch optimizations
20004 * string/strspn.c (strspn): Using macro to redefine symbol name.
20006 2014-03-10 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
20007 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20009 * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
20010 * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
20011 multiarch strncat for PPC64.
20012 * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
20013 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
20014 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
20015 (__libc_ifunc_impl_list): Likewise.
20016 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
20017 multiarch optimizations
20019 2014-03-10 Siddhesh Poyarekar <siddhesh@redhat.com>
20022 * nscd/nscd.service: Make service type forking.
20024 2014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20026 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
20027 sign in non default rounding modes.
20028 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
20030 2014-03-08 Joseph Myers <joseph@codesourcery.com>
20032 * math/libm-test.inc (ALL_RM_TEST): New macro.
20033 (ceil_test): Use ALL_RM_TEST.
20034 (cimag_test): Likewise.
20035 (conj_test): Likewise.
20036 (copysign_test): Likewise.
20037 (cproj_test): Likewise.
20038 (creal_test): Likewise.
20039 (fabs_test): Likewise.
20040 (floor_test): Likewise.
20041 (fmax_test): Likewise.
20042 (fmin_test): Likewise.
20043 (fmod_test): Likewise.
20044 (fpclassify_test): Likewise.
20045 (frexp_test): Likewise.
20046 (ilogb_test): Likewise.
20047 (isfinite_test): Likewise.
20048 (finite_test): Likewise.
20049 (isgreater_test): Likewise.
20050 (isgreaterequal_test): Likewise.
20051 (isinf_test): Likewise.
20052 (isless_test): Likewise.
20053 (islessequal_test): Likewise.
20054 (islessgreater_test): Likewise.
20055 (isnan_test): Likewise.
20056 (isnormal_test): Likewise.
20057 (issignaling_test): Likewise.
20058 (isunordered_test): Likewise.
20059 (logb_test): Likewise.
20060 (logb_downward_test_data): Remove.
20061 (logb_test_downward): Likewise.
20062 (lround_test): Use ALL_RM_TEST.
20063 (llround_test): Likewise.
20064 (modf_test): Likewise.
20065 (nexttoward_test): Likewise.
20066 (remainder_test): Likewise.
20067 (drem_test): Likewise.
20068 (remainder_tonearest_test_data): Likewise.
20069 (remainder_test_tonearest): Likewise.
20070 (drem_test_tonearest): Likewise.
20071 (remainder_towardzero_test_data): Likewise.
20072 (remainder_test_towardzero): Likewise.
20073 (drem_test_towardzero): Likewise.
20074 (remainder_downward_test_data): Likewise.
20075 (remainder_test_downward): Likewise.
20076 (drem_test_downward): Likewise.
20077 (remainder_upward_test_data): Likewise.
20078 (remainder_test_upward): Likewise.
20079 (drem_test_upward): Likewise.
20080 (remquo_test): Use ALL_RM_TEST. Remove comment about x.
20081 (round_test): Use ALL_RM_TEST.
20082 (signbit_test): Likewise.
20083 (trunc_test): Likewise.
20084 (significand_test): Likewise.
20085 (main): Don't call removed functions.
20087 2014-03-07 Joseph Myers <joseph@codesourcery.com>
20090 * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
20091 || __USE_XOPEN2K8].
20092 (ILL_ILLOPN): Likewise.
20093 (ILL_ILLADR): Likewise.
20094 (ILL_ILLTRP): Likewise.
20095 (ILL_PRVOPC): Likewise.
20096 (ILL_PRVREG): Likewise.
20097 (ILL_COPROC): Likewise.
20098 (ILL_BADSTK): Likewise.
20099 (FPE_INTDIV): Likewise.
20100 (FPE_INTOVF): Likewise.
20101 (FPE_FLTDIV): Likewise.
20102 (FPE_FLTOVF): Likewise.
20103 (FPE_FLTUND): Likewise.
20104 (FPE_FLTRES): Likewise.
20105 (FPE_FLTINV): Likewise.
20106 (FPE_FLTSUB): Likewise.
20107 (SEGV_MAPERR): Likewise.
20108 (SEGV_ACCERR): Likewise.
20109 (BUS_ADRALN): Likewise.
20110 (BUS_ADRERR): Likewise.
20111 (BUS_OBJERR): Likewise.
20112 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
20113 (TRAP_TRACE): Likewise.
20114 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
20116 (CLD_KILLED): Likewise.
20117 (CLD_DUMPED): Likewise.
20118 (CLD_TRAPPED): Likewise.
20119 (CLD_STOPPED): Likewise.
20120 (CLD_CONTINUED): Likewise.
20121 (POLL_IN): Likewise.
20122 (POLL_OUT): Likewise.
20123 (POLL_MSG): Likewise.
20124 (POLL_ERR): Likewise.
20125 (POLL_PRI): Likewise.
20126 (POLL_HUP): Likewise.
20127 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
20129 (ILL_ILLOPN): Likewise.
20130 (ILL_ILLADR): Likewise.
20131 (ILL_ILLTRP): Likewise.
20132 (ILL_PRVOPC): Likewise.
20133 (ILL_PRVREG): Likewise.
20134 (ILL_COPROC): Likewise.
20135 (ILL_BADSTK): Likewise.
20136 (FPE_INTDIV): Likewise.
20137 (FPE_INTOVF): Likewise.
20138 (FPE_FLTDIV): Likewise.
20139 (FPE_FLTOVF): Likewise.
20140 (FPE_FLTUND): Likewise.
20141 (FPE_FLTRES): Likewise.
20142 (FPE_FLTINV): Likewise.
20143 (FPE_FLTSUB): Likewise.
20144 (SEGV_MAPERR): Likewise.
20145 (SEGV_ACCERR): Likewise.
20146 (BUS_ADRALN): Likewise.
20147 (BUS_ADRERR): Likewise.
20148 (BUS_OBJERR): Likewise.
20149 (BUS_MCEERR_AR): Likewise.
20150 (BUS_MCEERR_AO): Likewise.
20151 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
20152 (TRAP_TRACE): Likewise.
20153 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
20155 (CLD_KILLED): Likewise.
20156 (CLD_DUMPED): Likewise.
20157 (CLD_TRAPPED): Likewise.
20158 (CLD_STOPPED): Likewise.
20159 (CLD_CONTINUED): Likewise.
20160 (POLL_IN): Likewise.
20161 (POLL_OUT): Likewise.
20162 (POLL_MSG): Likewise.
20163 (POLL_ERR): Likewise.
20164 (POLL_PRI): Likewise.
20165 (POLL_HUP): Likewise.
20166 * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
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/ia64/bits/siginfo.h (ILL_ILLOPC):
20206 (ILL_ILLOPN): Likewise.
20207 (ILL_ILLADR): Likewise.
20208 (ILL_ILLTRP): Likewise.
20209 (ILL_PRVOPC): Likewise.
20210 (ILL_PRVREG): Likewise.
20211 (ILL_COPROC): Likewise.
20212 (ILL_BADSTK): Likewise.
20213 (ILL_BADIADDR): Likewise.
20214 (ILL_BREAK): Likewise.
20215 (FPE_INTDIV): Likewise.
20216 (FPE_INTOVF): Likewise.
20217 (FPE_FLTDIV): Likewise.
20218 (FPE_FLTOVF): Likewise.
20219 (FPE_FLTUND): Likewise.
20220 (FPE_FLTRES): Likewise.
20221 (FPE_FLTINV): Likewise.
20222 (FPE_FLTSUB): Likewise.
20223 (FPE_DECOVF): Likewise.
20224 (FPE_DECDIV): Likewise.
20225 (FPE_DECERR): Likewise.
20226 (FPE_INVASC): Likewise.
20227 (FPE_INVDEC): Likewise.
20228 (SEGV_MAPERR): Likewise.
20229 (SEGV_ACCERR): Likewise.
20230 (SEGV_PSTKOVF): Likewise.
20231 (BUS_ADRALN): Likewise.
20232 (BUS_ADRERR): Likewise.
20233 (BUS_OBJERR): Likewise.
20234 (BUS_MCEERR_AR): Likewise.
20235 (BUS_MCEERR_AO): Likewise.
20236 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
20237 (TRAP_TRACE): Likewise.
20238 (TRAP_BRANCH): Likewise.
20239 (TRAP_HWBKPT): Likewise.
20240 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
20242 (CLD_KILLED): Likewise.
20243 (CLD_DUMPED): Likewise.
20244 (CLD_TRAPPED): Likewise.
20245 (CLD_STOPPED): Likewise.
20246 (CLD_CONTINUED): Likewise.
20247 (POLL_IN): Likewise.
20248 (POLL_OUT): Likewise.
20249 (POLL_MSG): Likewise.
20250 (POLL_ERR): Likewise.
20251 (POLL_PRI): Likewise.
20252 (POLL_HUP): Likewise.
20253 * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
20254 (ILL_ILLOPN): Likewise.
20255 (ILL_ILLADR): Likewise.
20256 (ILL_ILLTRP): Likewise.
20257 (ILL_PRVOPC): Likewise.
20258 (ILL_PRVREG): Likewise.
20259 (ILL_COPROC): Likewise.
20260 (ILL_BADSTK): Likewise.
20261 (FPE_INTDIV): Likewise.
20262 (FPE_INTOVF): Likewise.
20263 (FPE_FLTDIV): Likewise.
20264 (FPE_FLTOVF): Likewise.
20265 (FPE_FLTUND): Likewise.
20266 (FPE_FLTRES): Likewise.
20267 (FPE_FLTINV): Likewise.
20268 (FPE_FLTSUB): Likewise.
20269 (SEGV_MAPERR): Likewise.
20270 (SEGV_ACCERR): Likewise.
20271 (BUS_ADRALN): Likewise.
20272 (BUS_ADRERR): Likewise.
20273 (BUS_OBJERR): Likewise.
20274 (BUS_MCEERR_AR): Likewise.
20275 (BUS_MCEERR_AO): Likewise.
20276 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
20277 (TRAP_TRACE): 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/s390/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/sparc/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/tile/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 (ILL_DBLFLT): Likewise.
20376 (ILL_HARDWALL): Likewise.
20377 (FPE_INTDIV): Likewise.
20378 (FPE_INTOVF): Likewise.
20379 (FPE_FLTDIV): Likewise.
20380 (FPE_FLTOVF): Likewise.
20381 (FPE_FLTUND): Likewise.
20382 (FPE_FLTRES): Likewise.
20383 (FPE_FLTINV): Likewise.
20384 (FPE_FLTSUB): Likewise.
20385 (SEGV_MAPERR): Likewise.
20386 (SEGV_ACCERR): Likewise.
20387 (BUS_ADRALN): Likewise.
20388 (BUS_ADRERR): Likewise.
20389 (BUS_OBJERR): Likewise.
20390 (BUS_MCEERR_AR): Likewise.
20391 (BUS_MCEERR_AO): Likewise.
20392 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
20393 (TRAP_TRACE): Likewise.
20394 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
20396 (CLD_KILLED): Likewise.
20397 (CLD_DUMPED): Likewise.
20398 (CLD_TRAPPED): Likewise.
20399 (CLD_STOPPED): Likewise.
20400 (CLD_CONTINUED): Likewise.
20401 (POLL_IN): Likewise.
20402 (POLL_OUT): Likewise.
20403 (POLL_MSG): Likewise.
20404 (POLL_ERR): Likewise.
20405 (POLL_PRI): Likewise.
20406 (POLL_HUP): Likewise.
20407 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
20408 (ILL_ILLOPN): Likewise.
20409 (ILL_ILLADR): Likewise.
20410 (ILL_ILLTRP): Likewise.
20411 (ILL_PRVOPC): Likewise.
20412 (ILL_PRVREG): Likewise.
20413 (ILL_COPROC): Likewise.
20414 (ILL_BADSTK): 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 * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
20446 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
20449 * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
20450 before #include of <time.h>.
20451 [!__USE_XOPEN2K] (__need_timespec): Likewise.
20452 * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
20453 (test-xfail-UNIX98/sched.h/conform): Likewise.
20455 2014-03-07 Marcus Shawcroft <marcus.shawcroft@arm.com>
20457 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
20458 error absence of trapping exception support.
20459 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
20461 2014-03-07 Joseph Myers <joseph@codesourcery.com>
20463 * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
20464 ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
20465 * timezone/Makefile (testdata): Move definition above include of
20467 (test-zones): New variable.
20468 (tests-special): Add zone files.
20469 (build-testdata): Use $(evaluate-test).
20471 * elf/Makefile (tests-special): Rename tests to end with .out.
20472 ($(objpfx)noload-mem): Likewise.
20473 ($(objpfx)tst-leaks1-mem): Likewise.
20474 ($(objpfx)tst-leaks1-static-mem.out): Likewise.
20475 * iconv/Makefile (xtests-special): Change test-iconvconfig to
20476 $(objpfx)test-iconvconfig.out.
20477 (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out. Use
20478 set -e inside subshell and redirect output to file.
20479 * iconvdata/Makefile (generated): Rename tests to end with .out.
20481 (tests-special): Rename tests to end with .out.
20482 ($(objpfx)mtrace-tst-loading): Likewise.
20483 * intl/Makefile (generated): Likewise.
20484 (tests-special): Likewise.
20485 ($(objpfx)mtrace-tst-gettext): Likewise.
20486 * misc/Makefile (generated): Likewise.
20487 (tests-special): Likewise.
20488 ($(objpfx)tst-error1-mem): Likewise.
20489 * nptl/Makefile (tests-special): Likewise.
20490 ($(objpfx)tst-stack3-mem): Likewise.
20491 (generated): Likewise.
20492 * posix/Makefile (generated): Likewise.
20493 (tests-special): Likewise.
20494 (xtests-special): Likewise.
20495 ($(objpfx)tst-fnmatch-mem): Likewise.
20496 ($(objpfx)bug-regex2-mem): Likewise.
20497 ($(objpfx)bug-regex14-mem): Likewise.
20498 ($(objpfx)bug-regex21-mem): Likewise.
20499 ($(objpfx)bug-regex31-mem): Likewise.
20500 ($(objpfx)tst-vfork3-mem): Likewise.
20501 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
20502 ($(objpfx)tst-pcre-mem): Likewise.
20503 ($(objpfx)tst-boost-mem): Likewise.
20504 ($(objpfx)bug-ga2-mem): Likewise.
20505 ($(objpfx)bug-glob2-mem): Likewise.
20506 * resolv/Makefile (generate): Likewise.
20507 (tests-special): Likewise.
20508 (xtests-special): Likewise.
20509 (generated): Likewise.
20510 ($(objpfx)mtrace-tst-leaks): Likewise.
20511 ($(objpfx)mtrace-tst-leaks2): Likewise.
20513 * scripts/merge-test-results.sh: New file.
20514 * Makefile (tests-special-notdir): New variable.
20515 (tests): Run merge-test-results.sh.
20516 (xtests): Likewise.
20517 * Rules (tests-special-notdir): New variable.
20518 (xtests-special-notdir): Likewise.
20519 (tests): Run merge-test-results.sh
20520 (xtests): Likewise.
20522 * Makeconfig (test-xfail-name): New variable.
20523 (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
20524 compute variable name for expected failures.
20525 * conform/Makefile (conformtest-headers-data): New variable.
20526 (conformtest-standards): Likewise.
20527 (conformtest-headers-ISO): Likewise.
20528 (conformtest-headers-ISO99): Likewise.
20529 (conformtest-headers-ISO11): Likewise.
20530 (conformtest-headers-POSIX): Likewise.
20531 (conformtest-headers-XPG3): Likewise.
20532 (conformtest-headers-XPG4): Likewise.
20533 (conformtest-headers-UNIX98): Likewise.
20534 (conformtest-headers-XOPEN2K): Likewise.
20535 (conformtest-headers-POSIX2008): Likewise.
20536 (conformtest-headers-XOPEN2K8): Likewise.
20537 (conformtest-header-list-base): Likewise.
20538 (conformtest-header-list-tests): Likewise.
20539 (conformtest-header-base): Likewise.
20540 (conformtest-header-tests): Likewise.
20541 (tests-special): Add $(conformtest-header-list-tests). If
20542 [$(fast-check) && !$(cross-compiling)], add
20543 $(conformtest-header-tests) instead of
20544 $(objpfx)run-conformtest.out.
20545 (generated): Add $(conformtest-header-list-base). If
20546 [$(fast-check) && !$(cross-compiling)], add
20547 $(conformtest-header-base). Remove previous setting.
20548 ($(conformtest-header-list-tests)): New target.
20549 (test-xfail-run-conformtest): Remove variable.
20550 ($(objpfx)run-conformtest.out): Remove target.
20551 (test-xfail-ISO11/complex.h/conform): New variable.
20552 (test-xfail-ISO11/stdalign.h/conform): Likewise.
20553 (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
20554 (test-xfail-XPG3/varargs.h/conform): Likewise.
20555 (test-xfail-XPG4/varargs.h/conform): Likewise.
20556 (test-xfail-UNIX98/varargs.h/conform): Likewise.
20557 (test-xfail-XPG4/ndbm.h/conform): Likewise.
20558 (test-xfail-UNIX98/ndbm.h/conform): Likewise.
20559 (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
20560 (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
20561 (test-xfail-XPG3/fcntl.h/conform): Likewise.
20562 (test-xfail-XPG3/ftw.h/conform): Likewise.
20563 (test-xfail-XPG3/grp.h/conform): Likewise.
20564 (test-xfail-XPG3/langinfo.h/conform): Likewise.
20565 (test-xfail-XPG3/limits.h/conform): Likewise.
20566 (test-xfail-XPG3/pwd.h/conform): Likewise.
20567 (test-xfail-XPG3/search.h/conform): Likewise.
20568 (test-xfail-XPG3/signal.h/conform): Likewise.
20569 (test-xfail-XPG3/stdio.h/conform): Likewise.
20570 (test-xfail-XPG3/stdlib.h/conform): Likewise.
20571 (test-xfail-XPG3/string.h/conform): Likewise.
20572 (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
20573 (test-xfail-XPG3/sys/msg.h/conform): Likewise.
20574 (test-xfail-XPG3/sys/sem.h/conform): Likewise.
20575 (test-xfail-XPG3/sys/shm.h/conform): Likewise.
20576 (test-xfail-XPG3/sys/stat.h/conform): Likewise.
20577 (test-xfail-XPG3/sys/types.h/conform): Likewise.
20578 (test-xfail-XPG3/sys/wait.h/conform): Likewise.
20579 (test-xfail-XPG3/termios.h/conform): Likewise.
20580 (test-xfail-XPG3/time.h/conform): Likewise.
20581 (test-xfail-XPG3/unistd.h/conform): Likewise.
20582 (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
20583 (test-xfail-XPG4/fcntl.h/conform): Likewise.
20584 (test-xfail-XPG4/langinfo.h/conform): Likewise.
20585 (test-xfail-XPG4/netdb.h/conform): Likewise.
20586 (test-xfail-XPG4/netinet/in.h/conform): Likewise.
20587 (test-xfail-XPG4/signal.h/conform): Likewise.
20588 (test-xfail-XPG4/stdio.h/conform): Likewise.
20589 (test-xfail-XPG4/stdlib.h/conform): Likewise.
20590 (test-xfail-XPG4/stropts.h/conform): Likewise.
20591 (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
20592 (test-xfail-XPG4/sys/msg.h/conform): Likewise.
20593 (test-xfail-XPG4/sys/sem.h/conform): Likewise.
20594 (test-xfail-XPG4/sys/shm.h/conform): Likewise.
20595 (test-xfail-XPG4/sys/socket.h/conform): Likewise.
20596 (test-xfail-XPG4/sys/stat.h/conform): Likewise.
20597 (test-xfail-XPG4/sys/time.h/conform): Likewise.
20598 (test-xfail-XPG4/sys/types.h/conform): Likewise.
20599 (test-xfail-XPG4/sys/wait.h/conform): Likewise.
20600 (test-xfail-XPG4/termios.h/conform): Likewise.
20601 (test-xfail-XPG4/ucontext.h/conform): Likewise.
20602 (test-xfail-XPG4/unistd.h/conform): Likewise.
20603 (test-xfail-XPG4/utmpx.h/conform): Likewise.
20604 (test-xfail-POSIX/sched.h/conform): Likewise.
20605 (test-xfail-POSIX/signal.h/conform): Likewise.
20606 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
20607 (test-xfail-POSIX/tar.h/conform): Likewise.
20608 (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
20609 (test-xfail-UNIX98/fcntl.h/conform): Likewise.
20610 (test-xfail-UNIX98/langinfo.h/conform): Likewise.
20611 (test-xfail-UNIX98/netdb.h/conform): Likewise.
20612 (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
20613 (test-xfail-UNIX98/sched.h/conform): Likewise.
20614 (test-xfail-UNIX98/signal.h/conform): Likewise.
20615 (test-xfail-UNIX98/stdio.h/conform): Likewise.
20616 (test-xfail-UNIX98/stdlib.h/conform): Likewise.
20617 (test-xfail-UNIX98/stropts.h/conform): Likewise.
20618 (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
20619 (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
20620 (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
20621 (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
20622 (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
20623 (test-xfail-UNIX98/sys/time.h/conform): Likewise.
20624 (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
20625 (test-xfail-UNIX98/ucontext.h/conform): Likewise.
20626 (test-xfail-UNIX98/unistd.h/conform): Likewise.
20627 (test-xfail-UNIX98/utmpx.h/conform): Likewise.
20628 (test-xfail-XOPEN2K/aio.h/conform): Likewise.
20629 (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
20630 (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
20631 (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
20632 (test-xfail-XOPEN2K/math.h/conform): Likewise.
20633 (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
20634 (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
20635 (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
20636 (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
20637 (test-xfail-XOPEN2K/signal.h/conform): Likewise.
20638 (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
20639 (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
20640 (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
20641 (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
20642 (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
20643 (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
20644 (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
20645 (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
20646 (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
20647 (test-xfail-XOPEN2K/termios.h/conform): Likewise.
20648 (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
20649 (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
20650 (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
20651 (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
20652 (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
20653 (test-xfail-POSIX2008/netdb.h/conform): Likewise.
20654 (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
20655 (test-xfail-POSIX2008/signal.h/conform): Likewise.
20656 (test-xfail-POSIX2008/stropts.h/conform): Likewise.
20657 (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
20658 (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
20659 (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
20660 (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
20661 (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
20662 (test-xfail-XOPEN2K8/math.h/conform): Likewise.
20663 (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
20664 (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
20665 (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
20666 (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
20667 (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
20668 (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
20669 (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
20670 (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
20671 (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
20672 (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
20673 (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
20674 (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
20675 (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
20676 (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
20677 (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
20678 (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
20679 (conformtest-cc-flags): Likewise.
20680 ($(conformtest-header-tests): New target.
20681 * conform/check-header-lists.sh: New file.
20682 * conform/run-conformtest.sh: Remove.
20684 * conform/conformtest.pl: Allow ' and \ in values given for
20686 * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
20688 [POSIX] (sys/types.h): Likewise.
20689 [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
20691 [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
20693 * conform/data/signal.h-data (SIGIO): Remove expectation.
20694 [XPG3] (SIGBUS): Do not expect.
20695 [POSIX || XPG3] (SIGPOLL): Likewise.
20696 [POSIX || XPG3] (SIGPROF): Likewise.
20697 [POSIX || XPG3] (SIGSYS): Likewise.
20698 [XPG3] (SIGTRAP): Likewise.
20699 [POSIX || XPG3] (SIGURG): Likewise.
20700 [POSIX || XPG3] (SIGVTALRM): Likewise.
20701 [POSIX || XPG3] (SIGXCPU): Likewise.
20702 [POSIX || XPG3] (SIGXFSZ): Likewise.
20703 [POSIX] (SA_SIGINFO): Expect.
20704 [XPG3] (siginfo_t): Do not expect type or contents.
20705 [POSIX] (si_pid): Do not expect element.
20706 [POSIX] (si_uid): Likewise.
20707 [POSIX] (si_addr): Likewise.
20708 [POSIX] (si_status): Likewise.
20709 [POSIX] (si_band): Likewise.
20710 [XPG4] (si_value): Likewise.
20711 [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
20712 [POSIX || XPG3] (ILL_ILLOPN): Likewise.
20713 [POSIX || XPG3] (ILL_ILLADR): Likewise.
20714 [POSIX || XPG3] (ILL_ILLTRP): Likewise.
20715 [POSIX || XPG3] (ILL_PRVOPC): Likewise.
20716 [POSIX || XPG3] (ILL_PRVREG): Likewise.
20717 [POSIX || XPG3] (ILL_COPROC): Likewise.
20718 [POSIX || XPG3] (ILL_BADSTK): Likewise.
20719 [POSIX || XPG3] (FPE_INTDIV): Likewise.
20720 [POSIX || XPG3] (FPE_INTOVF): Likewise.
20721 [POSIX || XPG3] (FPE_FLTDIV): Likewise.
20722 [POSIX || XPG3] (FPE_FLTOVF): Likewise.
20723 [POSIX || XPG3] (FPE_FLTUND): Likewise.
20724 [POSIX || XPG3] (FPE_FLTRES): Likewise.
20725 [POSIX || XPG3] (FPE_FLTINV): Likewise.
20726 [POSIX || XPG3] (FPE_FLTSUB): Likewise.
20727 [POSIX || XPG3] (SEGV_MAPERR): Likewise.
20728 [POSIX || XPG3] (SEGV_ACCERR): Likewise.
20729 [POSIX || XPG3] (BUS_ADRALN): Likewise.
20730 [POSIX || XPG3] (BUS_ADRERR): Likewise.
20731 [POSIX || XPG3] (BUS_OBJERR): Likewise.
20732 [POSIX || XPG3] (CLD_EXITED): Likewise.
20733 [POSIX || XPG3] (CLD_KILLED): Likewise.
20734 [POSIX || XPG3] (CLD_DUMPED): Likewise.
20735 [POSIX || XPG3] (CLD_TRAPPED): Likewise.
20736 [POSIX || XPG3] (CLD_STOPPED): Likewise.
20737 [POSIX || XPG3] (CLD_CONTINUED): Likewise.
20738 [POSIX || XPG3] (POLL_IN): Likewise.
20739 [POSIX || XPG3] (POLL_OUT): Likewise.
20740 [POSIX || XPG3] (POLL_MSG): Likewise.
20741 [POSIX || XPG3] (POLL_ERR): Likewise.
20742 [POSIX || XPG3] (POLL_PRI): Likewise.
20743 [POSIX || XPG3] (POLL_HUP): Likewise.
20744 [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
20745 [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
20746 (SIG*): Do not allow.
20747 [XPG3] (si_*): Likewise.
20748 [XPG3] (SI_*): Likewise.
20749 [XPG3 || XPG4] (sigev_*): Likewise.
20750 [XPG3 || XPG4] (SIGEV_*): Likewise.
20751 [XPG3 || XPG4] (sival_*): Likewise.
20752 [POSIX || XPG3 || XPG4] (uc_*): Likewise.
20753 [POSIX || XPG3] (BUS_*): Likewise.
20754 [POSIX || XPG3] (CLD_*): Likewise.
20755 [POSIX || XPG3] (FPE_*): Likewise.
20756 [POSIX || XPG3] (ILL_*): Likewise.
20757 [POSIX || XPG3] (POLL_*): Likewise.
20758 [POSIX || XPG3] (SEGV_*): Likewise.
20759 [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
20760 [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
20761 [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
20762 [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
20763 [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
20764 * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
20765 Specify type and value.
20766 (TVERSLEN): Likewise.
20767 (REGTYPE): Likewise.
20768 (AREGTYPE): Likewise.
20769 (LNKTYPE): Likewise.
20770 (SYMTYPE): Likewise.
20771 (CHRTYPE): Likewise.
20772 (BLKTYPE): Likewise.
20773 (DIRTYPE): Likewise.
20774 (FIFOTYPE): Likewise.
20775 (CONTTYPE): Likewise.
20779 (TUREAD): Likewise.
20780 (TUWRITE): Likewise.
20781 (TUEXEC): Likewise.
20782 (TGREAD): Likewise.
20783 (TGWRITE): Likewise.
20784 (TGEXEC): Likewise.
20785 (TOREAD): Likewise.
20786 (TOWRITE): Likewise.
20787 (TOEXEC): Likewise.
20788 [POSIX] (TSVTX): Expect constant.
20790 2014-03-06 Joseph Myers <joseph@codesourcery.com>
20792 * Makefile (tests): Change dependencies to ....
20793 (tests-special): ... additions to this variable.
20794 (tests): Depend on $(tests-special).
20795 * Makerules (check-abi-list): New variable.
20796 (check-abi): Depend on $(check-abi-list).
20797 [$(subdir) = elf] (tests-special): Add
20798 $(objpfx)check-abi-libc.out.
20799 [$(build-shared) = yes && subdir] (tests-special): Add
20801 [$(build-shared) = yes && subdir] (tests): Do not depend on
20803 * Rules (tests): Depend on $(tests-special).
20804 (xtests): Depend on $(xtests-special).
20805 * catgets/Makefile (tests): Change dependencies to ....
20806 (tests-special): ... additions to this variable.
20807 * conform/Makefile (tests): Change dependencies to ....
20808 (tests-special): ... additions to this variable.
20809 * elf/Makefile (tests): Change dependencies to ....
20810 (tests-special): ... additions to this variable.
20811 * grp/Makefile (tests): Change dependencies to ....
20812 (tests-special): ... additions to this variable.
20813 * iconv/Makefile (xtests): Change dependencies to ....
20814 (xtests-special): ... additions to this variable.
20815 * iconvdata/Makefile (tests): Change dependencies to ....
20816 (tests-special): ... additions to this variable.
20817 * intl/Makefile (tests): Change dependencies to ....
20818 (tests-special): ... additions to this variable. Also add
20819 $(objpfx)tst-gettext.out.
20820 * io/Makefile (tests): Change dependencies to ....
20821 (tests-special): ... additions to this variable.
20822 * libio/Makefile (tests): Change dependencies to ....
20823 (tests-special): ... additions to this variable.
20824 * malloc/Makefile (tests): Change dependencies to ....
20825 (tests-special): ... additions to this variable.
20826 * misc/Makefile (tests): Change dependencies to ....
20827 (tests-special): ... additions to this variable.
20828 * nptl/Makefile (tests): Change dependencies to ....
20829 (tests-special): ... additions to this variable.
20830 * nptl_db/Makefile (tests): Change dependencies to ....
20831 (tests-special): ... additions to this variable.
20832 * posix/Makefile (tests): Change dependencies to ....
20833 (tests-special): ... additions to this variable.
20834 (xtests): Change dependencies to ....
20835 (xtests-special): ... additions to this variable.
20836 * resolv/Makefile (tests): Change dependencies to ....
20837 (tests-special): ... additions to this variable.
20838 (xtests): Change dependencies to ....
20839 (xtests-special): ... additions to this variable.
20840 * stdio-common/Makefile (tests): Change dependencies to ....
20841 (tests-special): ... additions to this variable.
20842 (do-tst-unbputc): Remove target.
20843 (do-tst-printf): Likewise.
20844 * stdlib/Makefile (tests): Change dependencies to ....
20845 (tests-special): ... additions to this variable.
20846 * string/Makefile (tests): Change dependencies to ....
20847 (tests-special): ... additions to this variable.
20848 * sysdeps/x86/Makefile (tests): Change dependencies to ....
20849 (tests-special): ... additions to this variable.
20851 * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
20853 * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
20855 * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
20856 * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
20858 * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
20859 * conform/data/arpa/inet.h-data [XPG3]: Likewise.
20860 * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
20861 * conform/data/fmtmsg.h-data [XPG3]: Likewise.
20862 * conform/data/libgen.h-data [XPG3]: Likewise.
20863 * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
20864 * conform/data/ndbm.h-data [XPG3]: Likewise.
20865 * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
20866 * conform/data/netdb.h-data [XPG3]: Likewise.
20867 * conform/data/netinet/in.h-data [XPG3]: Likewise.
20868 * conform/data/poll.h-data [XPG3]: Likewise.
20869 * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
20870 * conform/data/strings.h-data [XPG3]: Likewise.
20871 * conform/data/stropts.h-data [XPG3]: Likewise.
20872 * conform/data/sys/mman.h-data [XPG3]: Likewise.
20873 * conform/data/sys/resource.h-data [XPG3]: Likewise.
20874 * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
20876 * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
20877 * conform/data/sys/time.h-data [XPG3]: Likewise.
20878 * conform/data/sys/timeb.h-data [XPG3]: Likewise.
20879 * conform/data/sys/uio.h-data [XPG3]: Likewise.
20880 * conform/data/sys/un.h-data [XPG3]: Likewise.
20881 * conform/data/syslog.h-data [XPG3]: Likewise.
20882 * conform/data/ucontext.h-data [XPG3]: Likewise.
20883 * conform/data/utmpx.h-data [XPG3]: Likewise.
20884 * conform/data/varargs.h-data [UNIX98]: Enable file.
20886 * manual/Makefile (INSTALL_INFO): Remove variable setting.
20888 * math/libm-test.inc (struct test_f_f_data): Move expected results
20889 into structure for each rounding mode.
20890 (struct test_ff_f_data): Likewise.
20891 (struct test_ff_f_data_nexttoward): Likewise.
20892 (struct test_fi_f_data): Likewise.
20893 (struct test_fl_f_data): Likewise.
20894 (struct test_if_f_data): Likewise.
20895 (struct test_fff_f_data): Likewise.
20896 (struct test_c_f_data): Likewise.
20897 (struct test_f_f1_data): Likewise.
20898 (struct test_fF_f1_data): Likewise.
20899 (struct test_ffI_f1_data): Likewise.
20900 (struct test_c_c_data): Likewise.
20901 (struct test_cc_c_data): Likewise.
20902 (struct test_f_i_data): Likewise.
20903 (struct test_ff_i_data): Likewise.
20904 (struct test_f_l_data): Likewise.
20905 (struct test_f_L_data): Likewise.
20906 (struct test_fFF_11_data): Likewise.
20908 (RM_FE_DOWNWARD): Likewise.
20909 (RM_FE_TONEAREST): Likewise.
20910 (RM_FE_TOWARDZERO): Likewise.
20911 (RM_FE_UPWARD): Likewise.
20912 (RUN_TEST_LOOP_f_f): Update references to expected results.
20913 (RUN_TEST_LOOP_2_f): Likewise.
20914 (RUN_TEST_LOOP_fff_f): Likewise.
20915 (RUN_TEST_LOOP_c_f): Likewise.
20916 (RUN_TEST_LOOP_f_f1): Likewise.
20917 (RUN_TEST_LOOP_fF_f1): Likewise.
20918 (RUN_TEST_LOOP_fI_f1): Likewise.
20919 (RUN_TEST_LOOP_ffI_f1): Likewise.
20920 (RUN_TEST_LOOP_c_c): Likewise.
20921 (RUN_TEST_LOOP_cc_c): Likewise.
20922 (RUN_TEST_LOOP_f_i): Likewise.
20923 (RUN_TEST_LOOP_f_i_tg): Likewise.
20924 (RUN_TEST_LOOP_ff_i_tg): Likewise.
20925 (RUN_TEST_LOOP_f_b): Likewise.
20926 (RUN_TEST_LOOP_f_b_tg): Likewise.
20927 (RUN_TEST_LOOP_f_l): Likewise.
20928 (RUN_TEST_LOOP_f_L): Likewise.
20929 (RUN_TEST_LOOP_fFF_11): Likewise.
20930 * math/gen-libm-test.pl (parse_args): Output four copies of
20931 expected results for each test.
20933 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
20934 (__ASSUME_UTIMES): Remove.
20935 * sysdeps/unix/sysv/linux/tile/kernel-features.h
20936 (__ASSUME_UTIMES): Likewise.
20938 * math/gen-auto-libm-tests.c: Update comment on output format.
20939 (output_for_one_input_case): Generate before-rounding and
20940 after-rounding information as conditions on output flags not
20941 floating-point format.
20942 * math/auto-libm-test-out: Regenerated.
20943 * math/gen-libm-test.pl (cond_value): New function.
20944 (or_cond_value): Use cond_value.
20945 (generate_testfile): Handle conditional exceptions.
20947 2014-03-05 Joseph Myers <joseph@codesourcery.com>
20949 * math/libm-test.inc (max_valid_error): New variable.
20950 (init_max_error): Take new argument specifying whether function
20951 results are exactly determined. Set max_valid_error and bound
20952 other variables for errors based on this argument.
20953 (set_max_error): Do not record results above max_valid_error.
20954 (check_float_internal): Only accept errors of up to 0.5ulps if
20955 also at most max_valid_error.
20956 (START): Take new argument EXACT and pass it to init_max_error.
20957 (acos_test): Update call to START.
20958 (acos_test_tonearest): Likewise.
20959 (acos_test_towardzero): Likewise.
20960 (acos_test_downward): Likewise.
20961 (acos_test_upward): Likewise.
20962 (acosh_test): Likewise.
20963 (asin_test): Likewise.
20964 (asin_test_tonearest): Likewise.
20965 (asin_test_towardzero): Likewise.
20966 (asin_test_downward): Likewise.
20967 (asin_test_upward): Likewise.
20968 (asinh_test): Likewise.
20969 (atan_test): Likewise.
20970 (atanh_test): Likewise.
20971 (atan2_test): Likewise.
20972 (cabs_test): Likewise.
20973 (cacos_test): Likewise.
20974 (cacosh_test): Likewise.
20975 (carg_test): Likewise.
20976 (casin_test): Likewise.
20977 (casinh_test): Likewise.
20978 (catan_test): Likewise.
20979 (catanh_test): Likewise.
20980 (cbrt_test): Likewise.
20981 (ccos_test): Likewise.
20982 (ccosh_test): Likewise.
20983 (ceil_test): Likewise.
20984 (cexp_test): Likewise.
20985 (cimag_test): Likewise.
20986 (clog_test): Likewise.
20987 (clog10_test): Likewise.
20988 (conj_test): Likewise.
20989 (copysign_test): Likewise.
20990 (cos_test): Likewise.
20991 (cos_test_tonearest): Likewise.
20992 (cos_test_towardzero): Likewise.
20993 (cos_test_downward): Likewise.
20994 (cos_test_upward): Likewise.
20995 (cosh_test): Likewise.
20996 (cosh_test_tonearest): Likewise.
20997 (cosh_test_towardzero): Likewise.
20998 (cosh_test_downward): Likewise.
20999 (cosh_test_upward): Likewise.
21000 (cpow_test): Likewise.
21001 (cproj_test): Likewise.
21002 (creal_test): Likewise.
21003 (csin_test): Likewise.
21004 (csinh_test): Likewise.
21005 (csqrt_test): Likewise.
21006 (ctan_test): Likewise.
21007 (ctan_test_tonearest): Likewise.
21008 (ctan_test_towardzero): Likewise.
21009 (ctan_test_downward): Likewise.
21010 (ctan_test_upward): Likewise.
21011 (ctanh_test): Likewise.
21012 (ctanh_test_tonearest): Likewise.
21013 (ctanh_test_towardzero): Likewise.
21014 (ctanh_test_downward): Likewise.
21015 (ctanh_test_upward): Likewise.
21016 (erf_test): Likewise.
21017 (erfc_test): Likewise.
21018 (exp_test): Likewise.
21019 (exp_test_tonearest): Likewise.
21020 (exp_test_towardzero): Likewise.
21021 (exp_test_downward): Likewise.
21022 (exp_test_upward): Likewise.
21023 (exp10_test): Likewise.
21024 (exp10_test_tonearest): Likewise.
21025 (exp10_test_towardzero): Likewise.
21026 (exp10_test_downward): Likewise.
21027 (exp10_test_upward): Likewise.
21028 (pow10_test): Likewise.
21029 (exp2_test): Likewise.
21030 (expm1_test): Likewise.
21031 (expm1_test_tonearest): Likewise.
21032 (expm1_test_towardzero): Likewise.
21033 (expm1_test_downward): Likewise.
21034 (expm1_test_upward): Likewise.
21035 (fabs_test): Likewise.
21036 (fdim_test): Likewise.
21037 (floor_test): Likewise.
21038 (fma_test): Likewise.
21039 (fma_test_towardzero): Likewise.
21040 (fma_test_downward): Likewise.
21041 (fma_test_upward): Likewise.
21042 (fmax_test): Likewise.
21043 (fmin_test): Likewise.
21044 (fmod_test): Likewise.
21045 (fpclassify_test): Likewise.
21046 (frexp_test): Likewise.
21047 (hypot_test): Likewise.
21048 (ilogb_test): Likewise.
21049 (isfinite_test): Likewise.
21050 (finite_test): Likewise.
21051 (isgreater_test): Likewise.
21052 (isgreaterequal_test): Likewise.
21053 (isinf_test): Likewise.
21054 (isless_test): Likewise.
21055 (islessequal_test): Likewise.
21056 (islessgreater_test): Likewise.
21057 (isnan_test): Likewise.
21058 (isnormal_test): Likewise.
21059 (issignaling_test): Likewise.
21060 (isunordered_test): Likewise.
21061 (j0_test): Likewise.
21062 (j1_test): Likewise.
21063 (jn_test): Likewise.
21064 (ldexp_test): Likewise.
21065 (lgamma_test): Likewise.
21066 (gamma_test): Likewise.
21067 (lrint_test): Likewise.
21068 (lrint_test_tonearest): Likewise.
21069 (lrint_test_towardzero): Likewise.
21070 (lrint_test_downward): Likewise.
21071 (lrint_test_upward): Likewise.
21072 (llrint_test): Likewise.
21073 (llrint_test_tonearest): Likewise.
21074 (llrint_test_towardzero): Likewise.
21075 (llrint_test_downward): Likewise.
21076 (llrint_test_upward): Likewise.
21077 (log_test): Likewise.
21078 (log10_test): Likewise.
21079 (log1p_test): Likewise.
21080 (log2_test): Likewise.
21081 (logb_test): Likewise.
21082 (logb_test_downward): Likewise.
21083 (lround_test): Likewise.
21084 (llround_test): Likewise.
21085 (modf_test): Likewise.
21086 (nearbyint_test): Likewise.
21087 (nextafter_test): Likewise.
21088 (nexttoward_test): Likewise.
21089 (pow_test): Likewise.
21090 (pow_test_tonearest): Likewise.
21091 (pow_test_towardzero): Likewise.
21092 (pow_test_downward): Likewise.
21093 (pow_test_upward): Likewise.
21094 (remainder_test): Likewise.
21095 (drem_test): Likewise.
21096 (remainder_test_tonearest): Likewise.
21097 (drem_test_tonearest): Likewise.
21098 (remainder_test_towardzero): Likewise.
21099 (drem_test_towardzero): Likewise.
21100 (remainder_test_downward): Likewise.
21101 (drem_test_downward): Likewise.
21102 (remainder_test_upward): Likewise.
21103 (drem_test_upward): Likewise.
21104 (remquo_test): Likewise.
21105 (rint_test): Likewise.
21106 (rint_test_tonearest): Likewise.
21107 (rint_test_towardzero): Likewise.
21108 (rint_test_downward): Likewise.
21109 (rint_test_upward): Likewise.
21110 (round_test): Likewise.
21111 (scalb_test): Likewise.
21112 (scalbn_test): Likewise.
21113 (scalbln_test): Likewise.
21114 (signbit_test): Likewise.
21115 (sin_test): Likewise.
21116 (sin_test_tonearest): Likewise.
21117 (sin_test_towardzero): Likewise.
21118 (sin_test_downward): Likewise.
21119 (sin_test_upward): Likewise.
21120 (sincos_test): Likewise.
21121 (sinh_test): Likewise.
21122 (sinh_test_tonearest): Likewise.
21123 (sinh_test_towardzero): Likewise.
21124 (sinh_test_downward): Likewise.
21125 (sinh_test_upward): Likewise.
21126 (sqrt_test): Likewise.
21127 (sqrt_test_tonearest): Likewise.
21128 (sqrt_test_towardzero): Likewise.
21129 (sqrt_test_downward): Likewise.
21130 (sqrt_test_upward): Likewise.
21131 (tan_test): Likewise.
21132 (tan_test_tonearest): Likewise.
21133 (tan_test_towardzero): Likewise.
21134 (tan_test_downward): Likewise.
21135 (tan_test_upward): Likewise.
21136 (tanh_test): Likewise.
21137 (tgamma_test): Likewise.
21138 (trunc_test): Likewise.
21139 (y0_test): Likewise.
21140 (y1_test): Likewise.
21141 (yn_test): Likewise.
21142 (significand_test): Likewise.
21144 * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
21145 individual tests in comment.
21146 (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
21147 (prev_max_error): New variable.
21148 (prev_real_max_error): Likewise.
21149 (prev_imag_max_error): Likewise.
21150 (compare_ulp_data): Don't refer to test names in comment.
21151 (find_test_ulps): Remove function.
21152 (find_function_ulps): Likewise.
21153 (find_complex_function_ulps): Likewise.
21154 (init_max_error): Take function name as argument. Look up ulps
21156 (print_ulps): Remove function.
21157 (print_max_error): Use prev_max_error instead of calling
21158 find_function_ulps.
21159 (print_complex_max_error): Use prev_real_max_error and
21160 prev_imag_max_error instead of calling find_complex_function_ulps.
21161 (check_float_internal): Take max_ulp parameter instead of calling
21162 find_test_ulps. Don't call print_ulps.
21163 (check_float): Update call to check_float_internal.
21164 (check_complex): Update calls to check_float_internal.
21165 (START): Pass argument to init_max_error.
21166 * math/gen-libm-test.pl (%results): Don't include "kind"
21168 (parse_ulps): Don't handle ulps of individual tests.
21169 (print_ulps_file): Likewise.
21170 (output_ulps): Likewise.
21171 * math/README.libm-test: Update.
21172 * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
21174 * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
21175 * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
21176 * sysdeps/arm/libm-test-ulps: Likewise.
21177 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
21178 * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
21179 * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
21180 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
21181 * sysdeps/microblaze/libm-test-ulps: Likewise.
21182 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
21183 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
21184 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
21185 * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
21186 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
21187 * sysdeps/sh/libm-test-ulps: Likewise.
21188 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
21189 * sysdeps/tile/libm-test-ulps: Likewise.
21190 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21192 2014-03-04 Joseph Myers <joseph@codesourcery.com>
21194 * math/libm-test.inc (print_complex_max_error): Check separately
21195 whether real and imaginary errors are within allowed range and
21196 pass 0 to print_complex_function_ulps instead of value within
21199 2014-03-04 Siddhesh Poyarekar <siddhesh@redhat.com>
21201 * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
21203 (get_handles_fopen): Likewise.
21204 (do_write_test): Likewise.
21206 * libio/wfileops.c (do_ftell_wide): Fix up formatting.
21208 * libio/fileops.c (do_ftell): Use cached offset when
21210 * libio/iofwide.c (do_ftell_wide): Likewise.
21211 * libio/iofdopen.c (_IO_new_fdopen): Don't use
21213 * libio/wfileops.c (_IO_fwide): Don't cache offset.
21216 * libio/libioP.h (get_file_offset): New function.
21217 * libio/fileops.c (get_file_offset): Likewise.
21218 (do_ftell): Likewise.
21219 (_IO_new_file_seekoff): Split out ftell logic.
21220 * libio/wfileops.c (do_ftell_wide): Likewise.
21221 (_IO_wfile_seekoff): Split out ftell logic.
21222 * libio/tst-ftell-active-handler.c: New test case.
21223 * libio/Makefile (tests): Add it.
21225 2014-03-03 Roland McGrath <roland@hack.frob.com>
21227 * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
21228 * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
21230 2014-03-03 Siddhesh Poyarekar <siddhesh@redhat.com>
21233 * nscd/connections.c (nscd_init): Call do_exit.
21234 (start_threads): Call do_exit and notify_parent.
21235 (begin_drop_privileges): Call do_exit.
21236 (finish_drop_privileges): Likewise.
21237 * nscd/selinux.c (preserve_capabilities): Likewise.
21238 (install_real_capabilities): Likewise.
21239 (nscd_selinux_enabled): Likewise.
21240 (avc_create_thread): Likewise.
21241 (avc_alloc_lock): Likewise.
21242 (nscd_avc_init): Likewise.
21243 * nscd/nscd.c (parent_fd): New static variable.
21244 (main): Create a pipe between parent and child processes.
21245 Skip closing parent_fd.
21246 (monitor_child): New function.
21247 (do_exit): Likewise.
21248 (notify_parent): Likewise.
21249 * nscd/nscd.h (notify_parent): Likewise.
21250 (do_exit): Likewise.
21252 2014-03-03 Carlos O'Donell <carlos@redhat.com>
21254 * malloc/malloc.c (__libc_calloc): Revert last change.
21256 2014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21258 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21260 2014-03-03 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
21262 * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
21263 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
21265 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
21266 (__libc_ifunc_impl_list): Likewise.
21267 * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
21268 * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
21269 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
21270 * string/strrchr.c: Define STRRCHR.
21272 2014-02-28 Ondřej Bílka <neleai@seznam.cz>
21274 * benchtest/bench-strtok.c (simple_strtok): Delete.
21275 (strtok_string): Use as benchmark.
21276 * string/strtok (STRTOK): New macro.
21278 2014-02-28 Carlos O'Donell <carlos@redhat.com>
21280 * manual/threads.texi: Add header and standard comments to all
21283 * elf/dl-lookup.c (check_match): New function.
21284 (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
21285 (do_lookup_x): Remove nested function check_match. Use non-nested
21286 function check_match.
21288 2014-02-28 Roland McGrath <roland@hack.frob.com>
21290 * csu/Makefile (generated, before-compile): Use += rather than =.
21291 * catgets/Makefile (generated, generated-dirs): Likewise.
21292 * debug/Makefile (generated): Likewise.
21293 * dlfcn/Makefile (generated): Likewise.
21294 * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
21295 * iconvdata/Makefile (before-compile, generated): Likewise.
21296 * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
21297 * libio/Makefile (generated): Likewise.
21298 * malloc/Makefile (generated): Likewise.
21299 * manual/Makefile (generated, generated-dirs): Likewise.
21300 * misc/Makefile (generated): Likewise.
21301 * posix/Makefile (generated): Likewise.
21302 * resolv/Makefile (generated): Likewise.
21303 * sunrpc/Makefile (generated, generated-dirs): Likewise.
21304 * timezone/Makefile (generated, generated-dirs): Likewise.
21306 * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
21308 2014-02-27 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21310 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
21311 power8 implementation.
21312 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
21313 file: POWER8 llround ifunc implementation.
21314 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
21315 (__lllround): Add POWER8 implementation.
21316 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
21317 POWER8 llround implementation.
21319 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
21320 power8 implementation.
21321 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
21322 file: POWER8 llrint ifunc implementation.
21323 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
21324 Add POWER8 implementation.
21325 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
21326 POWER8 llrint implementation.
21328 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
21329 power8 implementation.
21330 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
21331 file: POWER8 finite ifunc implementation.
21332 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
21333 Add POWER8 implementation.
21334 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
21336 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
21337 POWER8 finite implementation.
21338 * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
21340 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
21341 power8 implementation.
21342 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
21343 file: POWER8 isinf ifunc implementation.
21344 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
21345 POWER8 implementation.
21346 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
21348 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
21349 isinf implementation.
21350 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
21352 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
21353 (INIT_ARCH): Add hwcap2 initialization.
21354 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
21355 power8 implementation.
21356 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
21357 file: POWER8 isnan ifunc implementation.
21358 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
21359 POWER8 implementation.
21360 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
21362 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
21363 isnan implementation.
21364 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
21366 2014-02-27 Joey Ye <joey.ye@arm.com>
21368 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
21369 (_FP_NANFRAC_Q): Set to zero.
21371 2014-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
21374 * math/auto-libm-test-in: New test inputs.
21375 * math/auto-libm-test-out: Regenerate.
21376 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
21379 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
21381 2014-02-27 Joseph Myers <joseph@codesourcery.com>
21383 * scripts/evaluate-test.sh: Take new argument indicating whether
21384 failure is expected.
21385 * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
21386 indicating whether failure is expected.
21387 * conform/Makefile (test-xfail-run-conformtest): New variable.
21388 ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
21390 * posix/Makefile (test-xfail-annexc): New variable.
21391 ($(objpfx)annexc.out): Don't expect to fail at makefile level.
21393 2014-02-26 Joseph Myers <joseph@codesourcery.com>
21395 * argp/Makefile: Include Makeconfig immediately after defining
21397 * assert/Makefile: Likewise.
21398 * benchtests/Makefile: Likewise.
21399 * catgets/Makefile: Likewise.
21400 * conform/Makefile: Likewise.
21401 * crypt/Makefile: Likewise.
21402 * csu/Makefile: Likewise.
21403 (all): Remove target.
21404 * ctype/Makefile: Include Makeconfig immediately after defining
21406 * debug/Makefile: Likewise.
21407 * dirent/Makefile: Likewise.
21408 * dlfcn/Makefile: Likewise.
21409 * gmon/Makefile: Likewise.
21410 * gnulib/Makefile: Likewise.
21411 * grp/Makefile: Likewise.
21412 * gshadow/Makefile: Likewise.
21413 * hesiod/Makefile: Likewise.
21414 * hurd/Makefile: Likewise.
21415 (all): Remove target.
21416 * iconvdata/Makefile: Include Makeconfig immediately after
21418 * inet/Makefile: Likewise.
21419 * intl/Makefile: Likewise.
21420 * io/Makefile: Likewise.
21421 * libio/Makefile: Likewise.
21422 (all): Remove target.
21423 * locale/Makefile: Include Makeconfig immediately after defining
21425 * login/Makefile: Likewise.
21426 * mach/Makefile: Likewise.
21427 (all): Remove target.
21428 * malloc/Makefile: Include Makeconfig immediately after defining
21430 (all): Remove target.
21431 * manual/Makefile: Include Makeconfig immediately after defining
21433 * math/Makefile: Likewise.
21434 * misc/Makefile: Likewise.
21435 * nis/Makefile: Likewise.
21436 * nss/Makefile: Likewise.
21437 * po/Makefile: Likewise.
21438 (all): Remove target.
21439 * posix/Makefile: Include Makeconfig immediately after defining
21441 * pwd/Makefile: Likewise.
21442 * resolv/Makefile: Likewise.
21443 * resource/Makefile: Likewise.
21444 * rt/Makefile: Likewise.
21445 * setjmp/Makefile: Likewise.
21446 * shadow/Makefile: Likewise.
21447 * signal/Makefile: Likewise.
21448 * socket/Makefile: Likewise.
21449 * soft-fp/Makefile: Likewise.
21450 * stdio-common/Makefile: Likewise.
21451 * stdlib/Makefile: Likewise.
21452 * streams/Makefile: Likewise.
21453 * string/Makefile: Likewise.
21454 * sunrpc/Makefile: Likewise.
21455 (all): Remove target.
21456 * sysvipc/Makefile: Include Makeconfig immediately after defining
21458 * termios/Makefile: Likewise.
21459 * time/Makefile: Likewise.
21460 * timezone/Makefile: Likewise.
21461 (all): Remove target.
21462 * wcsmbs/Makefile: Include Makeconfig immediately after defining
21464 * wctype/Makefile: Likewise.
21466 2014-02-26 Steve Ellcey <sellcey@mips.com>
21468 * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
21469 (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
21470 (libc_feholdexcept_setround_mips): Ditto.
21471 (libc_feholdsetround): New.
21472 (libc_feholdsetroundf): New.
21473 (libc_feholdsetroundl): New.
21474 (libc_feupdateenv_test_mips): New.
21475 (libc_feupdateenv_test): New.
21476 (libc_feupdateenv_testf): New.
21477 (libc_feupdateenv_testl): New.
21478 (libc_feresetround): New.
21479 (libc_feresetroundf): New.
21480 (libc_feresetroundl): New.
21481 (libc_fetestexcept_mips): New.
21482 (libc_fetestexcept): New.
21483 (libc_fetestexceptf): New.
21484 (libc_fetestexceptl): New.
21485 (HAVE_RM_CTX): New.
21486 (libc_feholdexcept_setround_mips_ctx): New.
21487 (libc_feholdexcept_setround_ctx): New.
21488 (libc_feholdexcept_setroundf_ctx): New.
21489 (libc_feholdexcept_setroundl_ctx): New.
21490 (libc_fesetenv_mips_ctx): New.
21491 (libc_fesetenv_ctx): New.
21492 (libc_fesetenv_ctxf): New.
21493 (libc_fesetenv_ctxl): New.
21494 (libc_feupdateenv_mips_ctx): New.
21495 (libc_feupdateenv_ctx): New.
21496 (libc_feupdateenvf_ctx): New.
21497 (libc_feupdateenvl_ctx): New.
21498 (libc_feholdsetround_mips_ctx): New.
21499 (libc_feholdsetround_ctx): New.
21500 (libc_feholdsetroundf_ctx): New.
21501 (libc_feholdsetroundl_ctx): New.
21502 (libc_feresetround_mips_ctx): New.
21503 (libc_feresetround_ctx): New.
21504 (libc_feresetroundf_ctx): New.
21505 (libc_feresetroundl_ctx): New.
21507 2014-02-26 Carlos O'Donell <carlos@redhat.com>
21509 * manual/ipc.texi (Semaphores): Use @Theglibc{}.
21511 * manual/ipc.texi: New file.
21512 * manual/Makefile (chapters): Add ipc.
21513 * manual/job.texi: Add "Inter-Process Communication" to next.
21514 * manual/process.texi: Add "Inter-Process Communication" to prev.
21516 2014-02-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21518 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21520 2014-02-26 Ondřej Bílka <neleai@seznam.cz>
21522 * malloc/malloc.c (__libc_calloc): Simplify implementation.
21524 * manual/arith.texi: Fix spaces after sentences.
21525 * manual/charset.texi: Likewise.
21526 * manual/errno.texi: Likewise.
21527 * manual/install.texi: Likewise.
21528 * manual/llio.texi: Likewise.
21529 * manual/locale.texi: Likewise.
21530 * manual/maint.texi: Likewise.
21531 * manual/math.texi: Likewise.
21532 * manual/memory.texi: Likewise.
21533 * manual/message.texi: Likewise.
21534 * manual/probes.texi: Likewise.
21535 * manual/resource.texi: Likewise.
21536 * manual/signal.texi: Likewise.
21537 * manual/socket.texi: Likewise.
21538 * manual/stdio.texi: Likewise.
21539 * manual/string.texi: Likewise.
21540 * manual/time.texi: Likewise.
21541 * manual/users.texi: Likewise.
21543 2014-02-25 Carlos O'Donell <carlos@redhat.com>
21546 * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
21547 _DEFAULT_SOURCE is defined.
21549 2014-02-25 Ulrich Drepper <drepper@gmail.com>
21550 Carlos O'Donell <carlos@redhat.com>
21553 * elf/dl-tls.c (_dl_count_modids): New function.
21554 * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
21555 * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
21556 audit library and increment generation counter.
21557 (_dl_allocate_tls_init): Add assertion to check TLS generation count.
21558 * elf/tst-audit9.c: New file.
21559 * elf/tst-auditmod9a.c: New file.
21560 * elf/tst-auditmod9b.c: New file.
21561 * elf/Makefile: Add rules to build and run tst-audit9.
21563 2014-02-25 Florian Weimer <fweimer@redhat.com>
21566 * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
21568 2014-02-25 Will Newton <will.newton@linaro.org>
21570 * sysdeps/arm/__longjmp.S: Include stap-probe.h.
21571 (__longjmp): Restore sp and lr before restoring callee
21572 saved registers. Add longjmp and longjmp_target
21573 SystemTap probe point.
21574 * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
21575 * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
21576 Define to zero to match jmpbuf layout.
21577 * sysdeps/arm/setjmp.S: Include stap-probe.h.
21578 (__sigsetjmp): Save sp and lr before saving callee
21579 saved registers. Add setjmp SystemTap probe point.
21581 2014-02-24 Stefan Liebler <stli@linux.vnet.ibm.com>
21583 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
21585 2014-02-24 Andreas Schwab <schwab@suse.de>
21588 * elf/pldd.c (wait_for_ptrace_stop): New function.
21589 (main): Call it after attaching.
21591 2014-02-22 Roland McGrath <roland@hack.frob.com>
21593 * Makerules ($(common-objpfx)Versions.v.i): No longer depend
21594 on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
21595 Versions files is now verboten.
21596 * hurd/Versions (libc: GLIBC_2.0):
21597 Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
21598 (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
21599 [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
21600 * mach/Versions: Likewise.
21602 * csu/Versions: Remove unused %include.
21603 * resolv/Versions: Likewise.
21605 2014-02-21 Joseph Myers <joseph@codesourcery.com>
21607 * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
21608 ($(objpfx)check-local-headers.out): Likewise.
21609 ($(objpfx)begin-end-check.out): Likewise.
21610 * Makerules (check-abi-%.out): Likewise.
21611 * catgets/Makefile ($(objpfx)test1.cat): Likewise.
21612 ($(objpfx)test2.cat): Likewise.
21613 ($(objpfx)de/libc.cat): Likewise.
21614 ($(objpfx)test-gencat.out): Likewise.
21615 * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
21616 * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
21617 ($(objpfx)noload-mem): Likewise.
21618 ($(objpfx)tst-pathopt.out): Likewise.
21619 ($(objpfx)tst-rtld-load-self.out): Likewise.
21620 ($(objpfx)tst-array1-cmp.out): Likewise.
21621 ($(objpfx)tst-array1-static-cmp.out): Likewise.
21622 ($(objpfx)tst-array2-cmp.out): Likewise.
21623 ($(objpfx)tst-array3-cmp.out): Likewise.
21624 ($(objpfx)tst-array4-cmp.out): Likewise.
21625 ($(objpfx)tst-array5-cmp.out): Likewise.
21626 ($(objpfx)tst-array5-static-cmp.out): Likewise.
21627 ($(objpfx)check-textrel.out): Likewise.
21628 ($(objpfx)check-execstack.out): Likewise.
21629 ($(objpfx)check-localplt.out): Likewise.
21630 ($(objpfx)order2-cmp.out): Likewise.
21631 ($(objpfx)tst-leaks1-mem): Likewise.
21632 ($(objpfx)tst-leaks1-static-mem): Likewise.
21633 ($(objpfx)tst-initorder-cmp.out): Likewise.
21634 ($(objpfx)tst-initorder2-cmp.out): Likewise.
21635 ($(objpfx)tst-unused-dep.out): Likewise.
21636 ($(objpfx)tst-unused-dep-cmp.out): Likewise.
21637 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
21638 * iconv/Makefile (test-iconvconfig): Likewise.
21639 * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
21640 ($(objpfx)iconv-test.out): Likewise.
21641 ($(objpfx)tst-tables.out): Likewise.
21642 * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
21643 ($(objpfx)tst-gettext.out): Likewise.
21644 ($(objpfx)tst-translit.out): Likewise.
21645 ($(objpfx)tst-gettext2.out): Likewise.
21646 ($(objpfx)tst-gettext4.out): Likewise.
21647 ($(objpfx)tst-gettext6.out): Likewise.
21648 * io/Makefile ($(objpfx)ftwtest.out): Likewise.
21649 * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
21650 ($(objpfx)tst-fopenloc-cmp.out): Likewise.
21651 ($(objpfx)tst-fopenloc-mem.out): Likewise.
21652 * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
21653 * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
21654 * posix/Makefile ($(objpfx)globtest.out): Likewise.
21655 ($(objpfx)wordexp-tst.out): Likewise.
21656 ($(objpfx)annexc.out): Likewise.
21657 ($(objpfx)tst-fnmatch-mem): Likewise.
21658 ($(objpfx)bug-regex2-mem): Likewise.
21659 ($(objpfx)bug-regex14-mem): Likewise.
21660 ($(objpfx)bug-regex21-mem): Likewise.
21661 ($(objpfx)bug-regex31-mem): Likewise.
21662 ($(objpfx)tst-vfork3-mem): Likewise.
21663 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
21664 ($(objpfx)tst-pcre-mem): Likewise.
21665 ($(objpfx)tst-boost-mem): Likewise.
21666 ($(objpfx)tst-getconf.out): Likewise.
21667 ($(objpfx)bug-ga2-mem): Likewise.
21668 ($(objpfx)bug-glob2-mem): Likewise.
21669 * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
21670 ($(objpfx)mtrace-tst-leaks2): Likewise.
21671 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
21672 ($(objpfx)tst-printf.out): Likewise.
21673 ($(objpfx)tst-setvbuf1.out): Likewise.
21674 ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
21675 * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
21676 ($(objpfx)tst-fmtmsg.out): Likewise.
21677 * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
21678 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
21680 * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
21681 * bits/sigaction.h [__USE_MISC]: Likewise.
21682 * bits/waitstatus.h: Update #endif comments.
21683 * ctype/ctype.h: Likewise.
21684 * dirent/dirent.h: Likewise.
21685 [__USE_MISC]: Remove redundant conditionals.
21686 * grp/grp.h: Update #endif comments.
21687 [__USE_GNU]: Remove redundant conditionals.
21688 [__USE_MISC]: Likewise.
21689 * inet/netinet/in.h [__USE_GNU]: Likewise.
21690 * io/sys/stat.h [__USE_MISC]: Likewise.
21691 * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
21692 * libio/bits/stdio.h: Update #endif comments.
21693 [__USE_MISC]: Remove redundant conditionals.
21694 * libio/bits/stdio2.h [__USE_MISC]: Likewise.
21695 * libio/stdio.h: Update #endif comments.
21696 [__USE_MISC]: Remove redundant conditionals.
21697 * math/bits/math-finite.h [__USE_MISC]: Likewise.
21698 * math/bits/mathcalls.h [__USE_MISC]: Likewise.
21699 * math/math.h: Update #else and #endif comments.
21700 [__USE_MISC]: Remove redundant conditionals.
21701 * misc/sys/uio.h: Update #endif comments.
21702 * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
21703 * posix/glob.h [__USE_MISC]: Likewise.
21704 * posix/sys/types.h: Update #endif comments.
21705 [__USE_MISC]: Remove redundant conditionals.
21706 * posix/sys/wait.h: Update #endif comments.
21707 [__USE_MISC]: Remove redundant conditionals.
21708 * posix/unistd.h: Update #endif comments.
21709 [__USE_MISC]: Remove redundant conditionals.
21710 * pwd/pwd.h [__USE_GNU]: Likewise.
21711 [__USE_MISC]: Likewise.
21712 * resolv/netdb.h [__USE_GNU]: Likewise.
21713 * signal/signal.h: Update #endif comments.
21714 [__USE_MISC]: Remove redundant conditionals.
21715 * stdlib/stdlib.h: Update #else and #endif comments.
21716 [__USE_MISC]: Remove redundant conditionals.
21717 [__USE_GNU]: Likewise.
21718 * string/bits/string2.h [__USE_MISC]: Likewise.
21719 * string/string.h: Update #endif comments.
21720 [__USE_MISC]: Remove redundant conditionals.
21721 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
21723 * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
21724 * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
21725 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
21727 * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
21729 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
21731 [__USE_MISC]: Remove redundant conditionals.
21732 * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
21733 * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
21734 * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
21735 * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
21736 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
21738 * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
21739 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
21741 * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
21742 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
21744 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
21746 * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
21747 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
21749 * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
21751 * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
21752 * sysdeps/x86/bits/string.h: Update #endif comments.
21753 * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
21755 * time/sys/time.h: Update #endif comments.
21756 * time/time.h: Likewise.
21757 [__USE_MISC]: Remove redundant conditionals.
21759 2014-02-21 Yury Gribov <y.gribov@samsung.com>
21762 * sysdeps/arm/libm-test-ulps: Update for VFPv4.
21764 2014-02-21 Andreas Schwab <schwab@linux-m68k.org>
21766 * Versions.def (librt): Add GLIBC_2.17.
21768 2014-02-21 Adam Conrad <adconrad@0c3.net>
21770 * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
21771 synonym for _SYS_AUXV_H to allow direct inclusion.
21772 * sysdeps/sparc/bits/hwcap.h: Likewise.
21773 * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
21774 _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
21775 * sysdeps/sparc/sysdep.h: Likewise.
21777 2014-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
21779 * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
21781 2014-02-21 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
21783 * benchtests/bench-strrchr.c: Print length instead of position.
21785 2014-02-20 Joseph Myers <joseph@codesourcery.com>
21788 * sysdeps/unix/sysv/linux/kernel-features.h
21789 [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
21790 (__ASSUME_SENDMMSG_SOCKETCALL): Define.
21791 [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
21792 __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
21794 [__i386__ || __powerpc__ || __sh__ || __sparc__]
21795 (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
21796 [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
21797 (__ASSUME_SENDMMSG): Define instead of using previous
21798 [__LINUX_KERNEL_VERSION >= 0x020627] condition.
21799 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
21800 (__ASSUME_SENDMMSG_SYSCALL): Define.
21801 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
21802 [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
21804 * sysdeps/unix/sysv/linux/arm/kernel-features.h
21805 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
21807 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
21808 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
21810 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
21811 && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
21812 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
21813 [__ASSUME_SENDMMSG]: Change conditionals to
21814 [__ASSUME_SENDMMSG_SOCKETCALL].
21815 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
21816 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
21818 * sysdeps/unix/sysv/linux/mips/kernel-features.h
21819 [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
21821 * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
21822 !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
21823 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
21824 [!__ASSUME_SENDMMSG]: Change conditional to
21825 [!__ASSUME_SENDMMSG_SOCKETCALL].
21826 * sysdeps/unix/sysv/linux/tile/kernel-features.h
21827 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
21831 * sysdeps/unix/sysv/linux/kernel-features.h
21832 [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
21833 (__ASSUME_RECVMMSG_SOCKETCALL): Define.
21834 [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
21835 __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
21836 || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
21837 [__i386__ || __sparc__]
21838 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
21839 [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
21840 (__ASSUME_RECVMMSG): Define instead of using previous
21841 [__LINUX_KERNEL_VERSION >= 0x020621] condition.
21842 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
21843 (__ASSUME_RECVMMSG_SYSCALL): Define.
21844 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
21845 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
21847 * sysdeps/unix/sysv/linux/arm/kernel-features.h
21848 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
21850 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
21851 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
21853 * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
21854 && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
21855 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
21856 [__ASSUME_RECVMMSG]: Change condition to
21857 [__ASSUME_RECVMMSG_SOCKETCALL].
21858 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
21859 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
21861 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
21862 * sysdeps/unix/sysv/linux/mips/kernel-features.h
21863 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
21865 * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
21866 !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
21867 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
21868 [!__ASSUME_RECVMMSG]: Change condition to
21869 [!__ASSUME_RECVMMSG_SOCKETCALL].
21870 * sysdeps/unix/sysv/linux/tile/kernel-features.h
21871 (__ASSUME_RECVMMSG_SYSCALL): Define.
21874 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
21875 __powerpc__ || __s390__ || __sh__ || __sparc__]
21876 (__ASSUME_SOCKETCALL): Define.
21877 [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
21878 (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
21879 [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
21880 || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
21881 __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
21882 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
21883 [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
21884 (__ASSUME_ACCEPT4): Define instead of using previous
21885 [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
21886 __powerpc__ || __sparc__ || __s390__)] condition.
21887 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
21888 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
21889 * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
21890 !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
21891 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
21892 [!__ASSUME_ACCEPT4]: Change condition to
21893 [!__ASSUME_ACCEPT4_SOCKETCALL].
21894 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
21895 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL. Correct
21896 condition to [__LINUX_KERNEL_VERSION >= 0x030200].
21897 * sysdeps/unix/sysv/linux/arm/kernel-features.h
21898 [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
21899 __ASSUME_ACCEPT4_SYSCALL.
21900 * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
21901 Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
21902 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
21903 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
21904 __ASSUME_ACCEPT4_SYSCALL.
21905 * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
21906 && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
21907 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
21908 [__ASSUME_ACCEPT4]: Change condition to
21909 [__ASSUME_ACCEPT4_SOCKETCALL].
21910 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
21911 (__ASSUME_SOCKETCALL): Define.
21912 [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
21913 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
21914 (__ASSUME_SOCKETCALL): Define.
21915 (__ASSUME_ACCEPT4): Remove.
21916 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
21918 * sysdeps/unix/sysv/linux/mips/kernel-features.h
21919 [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
21921 * sysdeps/unix/sysv/linux/tile/kernel-features.h
21922 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
21924 * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
21926 (HWCAP_ARM_LPAE): Likewise.
21927 (HWCAP_ARM_EVTSTRM): Likewise.
21928 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
21929 Add vpfd32, lpae and evtstrm.
21930 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
21933 2014-02-19 Joseph Myers <joseph@codesourcery.com>
21935 * math/auto-libm-test-in: Add tests of clog10.
21936 * math/auto-libm-test-out: Regenerated.
21937 * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
21938 * sysdeps/i386/fpu/libm-test-ulps: Update.
21939 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21941 2014-02-18 Andreas Schwab <schwab@suse.de>
21944 * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
21945 Store non-zero if the second buffer was newly allocated.
21946 (send_dg): Likewise.
21947 (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
21948 to send_vc and send_dg.
21949 (res_nsend): Pass NULL for ansp2_malloced.
21950 * resolv/res_query.c (__libc_res_nquery): Add parameter
21951 answerp2_malloced and pass it down to __libc_res_nsend.
21952 (res_nquery): Pass additional NULL to __libc_res_nquery.
21953 (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
21954 down to __libc_res_nquery and __libc_res_nquerydomain. Deallocate
21955 second answer buffer if answerp2_malloced was set.
21956 (res_nsearch): Pass additional NULL to __libc_res_nsearch.
21957 (__libc_res_nquerydomain): Add parameter
21958 answerp2_malloced and pass it down to __libc_res_nquery.
21959 (res_nquerydomain): Pass additional NULL to
21960 __libc_res_nquerydomain.
21961 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
21962 additional NULL to __libc_res_nsend and __libc_res_nquery.
21963 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
21964 additional NULL to __libc_res_nsearch.
21965 (_nss_dns_gethostbyname4_r): Revert last change. Use new
21966 parameter of __libc_res_nsearch to check for separately allocated
21968 (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
21970 * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
21971 additional NULL to __libc_res_nquery.
21972 * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
21973 __libc_res_nsearch.
21974 (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
21975 * include/resolv.h: Update prototypes of __libc_res_nquery,
21976 __libc_res_nsearch, __libc_res_nsend.
21978 2014-02-18 Joseph Myers <joseph@codesourcery.com>
21980 * math/auto-libm-test-in: Add tests of fma.
21981 * math/auto-libm-test-out: Regenerated.
21982 * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
21983 (fma_towardzero_test_data): Likewise.
21984 (fma_downward_test_data): Likewise.
21985 (fma_upward_test_data): Likewise.
21986 * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
21988 (rounding_modes): Add values for new field.
21989 (func_calc_method): Add value mpfr_fff_f.
21990 (func_calc_desc): Add mpfr_fff_f union field.
21991 (test_function): Add field exact_args.
21992 (FUNC): Add macro argument EXACT_ARGS.
21993 (FUNC_mpfr_f_f): Update call to FUNC.
21994 (FUNC_mpfr_f_f): Likewise.
21995 (FUNC_mpfr_ff_f): Likewise.
21996 (FUNC_mpfr_if_f): Likewise.
21997 (FUNC_mpc_c_f): Likewise.
21998 (FUNC_mpc_c_c): Likewise.
21999 (test_functions): Add fma. Update calls to FUNC.
22000 (handle_input_arg): Add argument exact_args.
22001 (add_test): Update call to handle_input_arg.
22002 (calc_generic_results): Add argument mode. Handle mpfr_fff_f.
22003 (output_for_one_input_case): Update call to calc_generic_results.
22004 Recalculate exact zero results in each rounding mode.
22006 * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
22007 non-negative before setting low bit.
22008 * math/auto-libm-test-in: Mark one asin test possibly having
22009 spurious underflow.
22010 * math/auto-libm-test-out: Regenerated.
22011 * sysdeps/i386/fpu/libm-test-ulps: Update.
22012 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22014 2014-02-17 David Holsgrove <david.holsgrove@xilinx.com>
22016 * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
22017 * sysdeps/unix/sysv/linux/microblaze: Move directory from
22018 ports/sysdeps/unix/sysv/linux/microblaze.
22019 * README: Add missing listing for microblaze*-*-linux-gnu.
22021 2014-02-16 Ondřej Bílka <neleai@seznam.cz>
22023 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Remove
22026 2014-02-16 Mike Frysinger <vapier@gentoo.org>
22028 * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
22029 * sysdeps/unix/sysv/linux/ia64: Move directory from
22030 ports/sysdeps/unix/sysv/linux/ia64.
22031 * README: Update listing for ia64-*-linux-gnu.
22033 2014-02-14 Tomas Dohnalek <tdohnale@redhat.com>
22034 Joseph Myers <joseph@codesourcery.com>
22036 * Makeconfig (test-name): New variable.
22037 (evaluate-test): Likewise.
22038 * Makerules (do-test-clean): Remove .test-result files.
22039 (common-mostlyclean): Likewise.
22040 * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
22041 * scripts/evaluate-test.sh: New file.
22043 2014-02-14 Joseph Myers <joseph@codesourcery.com>
22045 * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
22046 separate $(objpfx)tst-fopenloc-cmp.out and
22047 $(objpfx)tst-fopenloc-mem.out targets.
22048 (tests): Update dependencies.
22049 * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
22050 (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
22051 tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
22052 (tst-rxspencer-no-utf8-ARGS): New variable.
22053 (tst-rxspencer-no-utf8-ENV): Likewise.
22054 (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
22055 instead of $(objpfx)tst-rxspencer-mem.
22056 ($(objpfx)tst-rxspencer-mem): Change target to
22057 $(objpfx)tst-rxspencer-no-utf8-mem. Depend on
22058 $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
22059 * posix/tst-rxspencer-no-utf8.c: New file.
22061 * elf/Makefile ($(objpfx)order.out): Remove rule.
22062 [$(run-built-tests) = yes] (tests): Depend on
22063 $(objpfx)order-cmp.out.
22064 ($(objpfx)order-cmp.out): New rule.
22065 [$(run-built-tests) = yes] (tests): Depend on
22066 $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
22067 $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
22068 $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
22069 $(objpfx)tst-array5-static-cmp.out.
22070 ($(objpfx)tst-array1.out): Remove rule.
22071 ($(objpfx)tst-array1-cmp.out): New rule.
22072 ($(objpfx)tst-array1-static.out): Remove rule.
22073 ($(objpfx)tst-array1-static-cmp.out): New rule.
22074 ($(objpfx)tst-array2.out): Remove rule.
22075 ($(objpfx)tst-array2-cmp.out): New rule.
22076 ($(objpfx)tst-array3.out): Remove rule.
22077 ($(objpfx)tst-array3-cmp.out): New rule.
22078 ($(objpfx)tst-array4.out): Remove rule.
22079 ($(objpfx)tst-array4-cmp.out): New rule.
22080 ($(objpfx)tst-array5.out): Remove rule.
22081 ($(objpfx)tst-array5-cmp.out): New rule.
22082 ($(objpfx)tst-array5-static.out): Remove rule.
22083 ($(objpfx)tst-array5-static-cmp.out): New rule.
22084 [$(run-built-tests) = yes] (tests): Depend on
22085 $(objpfx)order2-cmp.out.
22086 ($(objpfx)order2.out): Remove rule.
22087 ($(objpfx)order2-cmp.out): New rule.
22088 ($(objpfx)tst-initorder.out): Remove rule.
22089 [$(run-built-tests) = yes] (tests): Depend on
22090 $(objpfx)tst-initorder-cmp.out.
22091 ($(objpfx)tst-initorder-cmp.out): New rule.
22092 ($(objpfx)tst-initorder2.out): Remove rule.
22093 [$(run-built-tests) = yes] (tests): Depend on
22094 $(objpfx)tst-initorder2-cmp.out.
22095 ($(objpfx)tst-initorder2-cmp.out): New rule.
22096 [$(run-built-tests) = yes] (tests): Depend on
22097 $(objpfx)tst-unused-dep-cmp.out.
22098 ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
22099 ($(objpfx)tst-unused-dep-cmp.out): New rule.
22100 * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
22101 on $(objpfx)tst-setvbuf1-cmp.out.
22102 ($(objpfx)tst-setvbuf1.out): Do not run cmp.
22103 ($(objpfx)tst-setvbuf1-cmp.out): New rule.
22104 * string/Makefile [$(run-built-tests) = yes] (tests): Depend
22105 $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
22106 ($(objpfx)tst-svc.out): Remove rule.
22107 ($(objpfx)tst-svc-cmp.out): New rule.
22109 2014-02-13 Joseph Myers <joseph@codesourcery.com>
22111 * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
22112 * ctype/ctype.h [__USE_MISC]: Likewise.
22113 * dirent/dirent.h [__USE_MISC]: Likewise.
22114 * grp/grp.h [__USE_MISC]: Likewise.
22115 * io/fcntl.h [__USE_MISC]: Likewise.
22116 * io/sys/stat.h [__USE_MISC]: Likewise.
22117 * libio/stdio.h [__USE_MISC]: Likewise.
22118 * posix/unistd.h [__USE_MISC]: Likewise.
22119 * pwd/pwd.h [__USE_MISC]: Likewise.
22120 * stdlib.h [__USE_MISC]: Likewise.
22121 * string/bits/string2.h [__USE_MISC]: Likewise.
22122 * string/string.h [__USE_MISC]: Likewise.
22123 * time/time.h [__USE_MISC]: Likewise.
22125 2014-02-13 Andreas Schwab <schwab@suse.de>
22128 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
22129 second answer buffer if it was separately allocated.
22131 2014-02-12 Joseph Myers <joseph@codesourcery.com>
22133 * sysdeps/mips/math-tests.h: Include <features.h>.
22134 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
22135 (ROUNDING_TESTS_long_double): Do not define.
22136 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
22137 (EXCEPTION_TESTS_long_double): Likewise.
22138 * sysdeps/mips/mips64/libm-test-ulps: Update.
22140 * include/features.h (__USE_BSD): Remove macro definitions.
22141 (__USE_SVID): Likewise.
22142 (_BSD_SOURCE): Likewise.
22143 (_SVID_SOURCE): Likewise.
22144 [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
22145 from definition of _DEFAULT_SOURCE.
22146 [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
22148 * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
22149 * bits/mman.h [__USE_BSD]: Likewise.
22150 * bits/termios.h [__USE_BSD]: Likewise.
22151 * bits/waitstatus.h [__USE_BSD]: Likewise.
22152 * ctype/ctype.h [__USE_SVID]: Likewise.
22153 * dirent/dirent.h [__USE_BSD]: Likewise.
22154 * grp/grp.h [__USE_SVID]: Likewise.
22155 [__USE_BSD]: Likewise.
22156 * inet/netinet/igmp.h [__USE_BSD]: Likewise.
22157 * io/fcntl.h [__USE_BSD]: Likewise.
22158 * io/ftw.h [__USE_BSD]: Likewise.
22159 * io/sys/stat.h [__USE_BSD]: Likewise.
22160 * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
22161 * libio/bits/stdio2.h [__USE_BSD]: Likewise.
22162 * libio/stdio.h [__USE_SVID]: Likewise.
22163 [__USE_BSD]: Likewise.
22164 * math/math.h [__USE_SVID]: Likewise.
22165 [__USE_BSD]: Likewise.
22166 * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
22167 * misc/bits/syslog.h [__USE_BSD]: Likewise.
22168 * misc/search.h [__USE_SVID]: Likewise.
22169 * misc/sys/mman.h [__USE_BSD]: Likewise.
22170 * misc/sys/syslog.h [__USE_BSD]: Likewise.
22171 * misc/sys/uio.h [__USE_BSD]: Likewise.
22172 * posix/bits/unistd.h [__USE_BSD]: Likewise.
22173 * posix/glob.h [__USE_BSD]: Likewise.
22174 * posix/regex.h [__USE_BSD]: Likewise.
22175 * posix/sys/types.h [__USE_BSD]: Likewise.
22176 [__USE_SVID]: Likewise.
22177 * posix/sys/utsname.h [__USE_SVID]: Likewise.
22178 * posix/sys/wait.h [__USE_BSD]: Likewise.
22179 [__USE_SVID]: Likewise.
22180 * posix/unistd.h [__USE_BSD]: Likewise.
22181 [__USE_SVID]: Likewise.
22182 * pwd/pwd.h [__USE_SVID]: Likewise.
22183 * resolv/netdb.h [__USE_BSD]: Likewise.
22184 * setjmp/setjmp.h [__USE_BSD]: Likewise.
22185 * signal/signal.h [__USE_BSD]: Likewise.
22186 [__USE_SVID]: Likewise.
22187 * socket/sys/socket.h [__USE_BSD]: Likewise.
22188 * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
22189 * stdlib/stdlib.h [__USE_BSD]: Likewise.
22190 [__USE_SVID]: Likewise.
22191 * string/bits/string2.h [__USE_BSD]: Likewise.
22192 [__USE_SVID]: Likewise.
22193 * string/bits/string3.h [__USE_BSD]: Likewise.
22194 * string/endian.h [__USE_BSD]: Likewise.
22195 * string/string.h [__USE_SVID]: Likewise.
22196 [__USE_BSD]: Likewise.
22197 * string/strings.h [__USE_BSD]: Likewise.
22198 * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
22199 * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
22200 * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
22201 * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
22202 * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
22203 * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
22205 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
22207 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
22208 * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
22210 * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
22211 * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
22213 * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
22215 * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
22216 * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
22217 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
22219 * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
22221 * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
22222 * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
22223 * termios/termios.h [__USE_BSD]: Likewise.
22224 * time/sys/time.h [__USE_BSD]: Likewise.
22225 * time/time.h [__USE_BSD]: Likewise.
22226 [__USE_SVID]: Likewise.
22228 * Makefile (subdir_targets): Remove subdir_lint.out.
22230 * stdio-common/Makefile (do-tst-unbputc): Remove target.
22231 (do-tst-printf): Likewise.
22232 (tests): Depend directly on $(objpfx)tst-unbputc.out and
22233 $(objpfx)tst-printf.out.
22235 * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
22237 * Makerules (check-abi-%): Change target to
22238 $(objpfx)check-abi-%.out.
22239 (check-abi target): Update dependencies.
22240 (check-abi-pattern variable): Redirect output of diff to $@.
22241 (check-abi variable): Likewise.
22242 * elf/Makefile (check-abi): Update dependencies.
22244 * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
22246 (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
22247 value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
22249 (_FP_PACK_CANONICAL): Determine tininess based on rounding to
22250 normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
22251 value has largest subnormal exponent.
22252 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
22253 (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
22254 * sysdeps/aarch64/soft-fp/sfp-machine.h
22255 (_FP_TININESS_AFTER_ROUNDING): New macro.
22256 * sysdeps/alpha/soft-fp/sfp-machine.h
22257 (_FP_TININESS_AFTER_ROUNDING): Likewise.
22258 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
22260 * sysdeps/mips/mips64/soft-fp/sfp-machine.h
22261 (_FP_TININESS_AFTER_ROUNDING): Likewise.
22262 * sysdeps/mips/soft-fp/sfp-machine.h
22263 (_FP_TININESS_AFTER_ROUNDING): Likewise.
22264 * sysdeps/powerpc/soft-fp/sfp-machine.h
22265 (_FP_TININESS_AFTER_ROUNDING): Likewise.
22266 * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
22268 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
22269 (_FP_TININESS_AFTER_ROUNDING): Likewise.
22270 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
22271 (_FP_TININESS_AFTER_ROUNDING): Likewise.
22272 * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
22275 2014-02-12 Dylan Alex Simon <dylan@dylex.net>
22278 * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
22281 2014-02-12 Richard Henderson <rth@redhat.com>
22283 * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
22284 * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
22285 * sysdeps/unix/sysv/linux/alpha: Move directory from
22286 ports/sysdeps/unix/sysv/linux/alpha.
22287 * README: Update listing for alpha-*-linux-gnu.
22289 2014-02-11 Joseph Myers <joseph@codesourcery.com>
22291 * include/features.h: Update comment documenting feature test
22293 [_BSD_SOURCE || _SVID_SOURCE]: Give #warning. Define
22295 * manual/creature.texi (_BSD_SOURCE): Remove documentation.
22296 (_SVID_SOURCE): Likewise.
22297 (_DEFAULT_SOURCE): Update description of default features.
22298 (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
22300 * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
22301 (S_ISVTX): Likewise.
22302 * manual/math.texi (Mathematical Constants): Likewise.
22303 * manual/signal.texi (Interrupted Primitives): Likewise.
22304 * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
22305 * math/test-matherr.c (_SVID_SOURCE): Do not define.
22306 * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
22307 Don't refer to _SVID_SOURCE in warning text.
22309 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
22311 * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
22313 (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
22314 * sysdeps/mips/dl-lookup.c: Remove.
22315 * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
22317 2014-02-11 Stefan Liebler <stli@linux.vnet.ibm.com>
22320 * math/auto-libm-test-in: Add testcase for expl.
22321 * math/auto-libm-test-out: Regenerate.
22322 * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
22323 calculation of unsafe.
22324 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
22326 2014-02-11 Marcus Shawcroft <marcus.shawcroft@arm.com>
22328 * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
22329 * sysdeps/unix/sysv/linux/aarch64: Move directory from
22330 ports/sysdeps/unix/sysv/linux/aarch64.
22331 * README: Update listing for aarch64*-*-linux-gnu.
22333 2014-02-11 Will Newton <will.newton@linaro.org>
22335 * manual/probes.texi (Mathematical Function Probes): Use
22336 "triggered" instead of "hit".
22338 * manual/probes.texi (Internal Probes): Add documentation
22339 of setjmp, longjmp and longjmp_target probes.
22341 * include/stap-probe.h: Add comment about probe argument
22344 * malloc/mtrace.c (attribute_hidden): Remove unused macro
22345 definition. (tr_where, tr_freehook, tr_mallochook,
22346 tr_reallochook, tr_memalignhook): Use ANSI protoype.
22348 2014-02-11 David S. Miller <davem@davemloft.net>
22350 * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
22351 processing int_tests.
22353 2014-02-10 Joseph Myers <joseph@codesourcery.com>
22355 * sysdeps/mips: Move directory from ports/sysdeps/mips.
22356 * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
22357 * sysdeps/unix/sysv/linux/mips: Move directory from
22358 ports/sysdeps/unix/sysv/linux/mips.
22359 * README: Update listing for mips-*-linux-gnu and
22360 mips64-*-linux-gnu.
22362 2014-02-10 Andreas Schwab <schwab@linux-m68k.org>
22364 * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
22365 * sysdeps/unix/sysv/linux/m68k: Move directory from
22366 ports/sysdeps/unix/sysv/linux/m68k.
22367 * README: Update listing for m68k-*-linux-gnu.
22369 2014-02-10 Chris Metcalf <cmetcalf@tilera.com>
22371 * sysdeps/tile: Move directory from ports/sysdeps/tile.
22372 * sysdeps/unix/sysv/linux/generic: Move directory from
22373 ports/sysdeps/unix/sysv/linux/generic.
22374 * sysdeps/unix/sysv/linux/tile: Move directory from
22375 ports/sysdeps/unix/sysv/linux/tile.
22376 * README: Update listing for tile*-*-linux-gnu.
22378 2014-02-10 Ondřej Bílka <neleai@seznam.cz>
22380 * assert/assert.c (__assert_fail_base): Use glibc_likely instead
22382 * benchtests/bench-memmem.c (simple_memmem): Likewise.
22383 * catgets/open_catalog.c (__open_catalog): Likewise.
22384 * csu/libc-start.c (LIBC_START_MAIN): Likewise.
22385 * debug/confstr_chk.c: Likewise.
22386 * debug/fread_chk.c (__fread_chk): Likewise.
22387 * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
22388 * debug/getgroups_chk.c: Likewise.
22389 * debug/mbsnrtowcs_chk.c: Likewise.
22390 * debug/mbsrtowcs_chk.c: Likewise.
22391 * debug/mbstowcs_chk.c: Likewise.
22392 * debug/memcpy_chk.c: Likewise.
22393 * debug/memmove_chk.c: Likewise.
22394 * debug/mempcpy_chk.c: Likewise.
22395 * debug/memset_chk.c: Likewise.
22396 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
22397 * debug/strcat_chk.c (__strcat_chk): Likewise.
22398 * debug/strcpy_chk.c (__strcpy_chk): Likewise.
22399 * debug/strncat_chk.c (__strncat_chk): Likewise.
22400 * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
22401 * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
22402 * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
22403 * debug/wcpncpy_chk.c: Likewise.
22404 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
22405 * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
22406 * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
22407 * debug/wcsncpy_chk.c: Likewise.
22408 * debug/wcsnrtombs_chk.c: Likewise.
22409 * debug/wcsrtombs_chk.c: Likewise.
22410 * debug/wcstombs_chk.c: Likewise.
22411 * debug/wmemcpy_chk.c: Likewise.
22412 * debug/wmemmove_chk.c: Likewise.
22413 * debug/wmempcpy_chk.c: Likewise.
22414 * debug/wmemset_chk.c: Likewise.
22415 * dirent/scandirat.c (SCANDIRAT): Likewise.
22416 * dlfcn/dladdr1.c (dladdr1): Likewise.
22417 * dlfcn/dladdr.c (dladdr): Likewise.
22418 * dlfcn/dlclose.c (dlclose_doit): Likewise.
22419 * dlfcn/dlerror.c (__dlerror): Likewise.
22420 * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
22421 * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
22422 * dlfcn/dlopen.c (dlopen_doit): Likewise.
22423 * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
22424 * dlfcn/dlsym.c (dlsym_doit): Likewise.
22425 * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
22426 * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
22427 * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
22429 * elf/dl-conflict.c: Likewise.
22430 * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
22431 * elf/dl-dst.h: Likewise.
22432 * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
22433 * elf/dl-fptr.c (_dl_make_fptr): Likewise.
22434 * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
22435 * elf/dl-init.c (call_init, _dl_init): Likewise.
22436 * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
22437 * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
22438 (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
22440 * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
22442 * elf/dl-minimal.c (__libc_memalign): Likewise.
22443 * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
22444 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
22445 * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
22446 * elf/dl-sym.c (do_sym): Likewise.
22447 * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
22448 (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
22449 * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
22450 * elf/dl-writev.h (_dl_writev): Likewise.
22451 * elf/ldconfig.c (search_dir): Likewise.
22452 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
22453 (dl_main): Likewise.
22454 * elf/setup-vdso.h (setup_vdso): Likewise.
22455 * grp/compat-initgroups.c (compat_call): Likewise.
22456 * grp/fgetgrent.c (fgetgrent): Likewise.
22457 * grp/initgroups.c (getgrouplist, initgroups): Likewise.
22458 * grp/putgrent.c (putgrent): Likewise.
22459 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
22461 * hurd/hurdinit.c: Likewise.
22462 * iconvdata/8bit-gap.c (struct): Likewise.
22463 * iconvdata/ansi_x3.110.c : Likewise.
22464 * iconvdata/big5.c : Likewise.
22465 * iconvdata/big5hkscs.c : Likewise.
22466 * iconvdata/cp1255.c: Likewise.
22467 * iconvdata/cp1258.c : Likewise.
22468 * iconvdata/cp932.c : Likewise.
22469 * iconvdata/euc-cn.c: Likewise.
22470 * iconvdata/euc-jisx0213.c : Likewise.
22471 * iconvdata/euc-jp.c: Likewise.
22472 * iconvdata/euc-jp-ms.c : Likewise.
22473 * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
22474 * iconvdata/gb18030.c : Likewise.
22475 * iconvdata/gbbig5.c (const): Likewise.
22476 * iconvdata/gbgbk.c: Likewise.
22477 * iconvdata/gbk.c : Likewise.
22478 * iconvdata/ibm1364.c : Likewise.
22479 * iconvdata/ibm930.c : Likewise.
22480 * iconvdata/ibm932.c: Likewise.
22481 * iconvdata/ibm933.c : Likewise.
22482 * iconvdata/ibm935.c : Likewise.
22483 * iconvdata/ibm937.c : Likewise.
22484 * iconvdata/ibm939.c : Likewise.
22485 * iconvdata/ibm943.c: Likewise.
22486 * iconvdata/iso_11548-1.c: Likewise.
22487 * iconvdata/iso-2022-cn.c : Likewise.
22488 * iconvdata/iso-2022-cn-ext.c : Likewise.
22489 * iconvdata/iso-2022-jp-3.c: Likewise.
22490 * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
22491 * iconvdata/iso-2022-kr.c : Likewise.
22492 * iconvdata/iso646.c (gconv_end): Likewise.
22493 * iconvdata/iso_6937-2.c : Likewise.
22494 * iconvdata/iso_6937.c : Likewise.
22495 * iconvdata/iso8859-1.c: Likewise.
22496 * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
22497 * iconvdata/shift_jisx0213.c : Likewise.
22498 * iconvdata/sjis.c : Likewise.
22499 * iconvdata/t.61.c : Likewise.
22500 * iconvdata/tcvn5712-1.c : Likewise.
22501 * iconvdata/tscii.c: Likewise.
22502 * iconvdata/uhc.c : Likewise.
22503 * iconvdata/unicode.c (gconv_end): Likewise.
22504 * iconvdata/utf-16.c (gconv_end): Likewise.
22505 * iconvdata/utf-32.c (gconv_end): Likewise.
22506 * iconvdata/utf-7.c (base64): Likewise.
22507 * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
22508 * iconv/gconv_close.c (__gconv_close): Likewise.
22509 * iconv/gconv_open.c (__gconv_open): Likewise.
22510 * iconv/gconv_simple.c (internal_ucs4_loop_single)
22511 (ucs4_internal_loop, ucs4_internal_loop_unaligned)
22512 (ucs4_internal_loop_single, internal_ucs4le_loop_single)
22513 (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
22514 (ucs4le_internal_loop_single): Likewise.
22515 * iconv/iconv.c (iconv): Likewise.
22516 * iconv/iconv_close.c: Likewise.
22517 * iconv/loop.c (SINGLE): Likewise.
22518 * iconv/skeleton.c (FUNCTION_NAME): Likewise.
22519 * include/atomic.h: Likewise.
22520 * inet/inet6_option.c (option_alloc): Likewise.
22521 * intl/bindtextdom.c (set_binding_values): Likewise.
22522 * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
22523 * intl/loadmsgcat.c (_nl_load_domain): Likewise.
22524 * intl/localealias.c (read_alias_file): Likewise.
22525 * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
22526 * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
22527 (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
22528 * libio/fmemopen.c (fmemopen): Likewise.
22529 * libio/iofgets.c (_IO_fgets): Likewise.
22530 * libio/iofgets_u.c (fgets_unlocked): Likewise.
22531 * libio/iofgetws.c (fgetws): Likewise.
22532 * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
22533 * libio/iogetdelim.c (_IO_getdelim): Likewise.
22534 * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
22535 (adjust_wide_data, _IO_wfile_seekoff): Likewise.
22536 * locale/findlocale.c (_nl_find_locale): Likewise.
22537 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
22538 * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
22540 * locale/setlocale.c (setlocale): Likewise.
22541 * login/programs/pt_chown.c (main): Likewise.
22542 * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
22543 * malloc/malloc.c (_int_malloc, _int_free): Likewise.
22544 * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
22545 (mmap, mmap64, mremap, munmap): Likewise.
22546 * math/e_exp2l.c: Likewise.
22547 * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
22548 * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
22549 * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
22550 * math/s_catan.c (__catan): Likewise.
22551 * math/s_catanf.c (__catanf): Likewise.
22552 * math/s_catanh.c (__catanh): Likewise.
22553 * math/s_catanhf.c (__catanhf): Likewise.
22554 * math/s_catanhl.c (__catanhl): Likewise.
22555 * math/s_catanl.c (__catanl): Likewise.
22556 * math/s_ccosh.c (__ccosh): Likewise.
22557 * math/s_ccoshf.c (__ccoshf): Likewise.
22558 * math/s_ccoshl.c (__ccoshl): Likewise.
22559 * math/s_cexp.c (__cexp): Likewise.
22560 * math/s_cexpf.c (__cexpf): Likewise.
22561 * math/s_cexpl.c (__cexpl): Likewise.
22562 * math/s_clog10.c (__clog10): Likewise.
22563 * math/s_clog10f.c (__clog10f): Likewise.
22564 * math/s_clog10l.c (__clog10l): Likewise.
22565 * math/s_clog.c (__clog): Likewise.
22566 * math/s_clogf.c (__clogf): Likewise.
22567 * math/s_clogl.c (__clogl): Likewise.
22568 * math/s_csin.c (__csin): Likewise.
22569 * math/s_csinf.c (__csinf): Likewise.
22570 * math/s_csinh.c (__csinh): Likewise.
22571 * math/s_csinhf.c (__csinhf): Likewise.
22572 * math/s_csinhl.c (__csinhl): Likewise.
22573 * math/s_csinl.c (__csinl): Likewise.
22574 * math/s_csqrt.c (__csqrt): Likewise.
22575 * math/s_csqrtf.c (__csqrtf): Likewise.
22576 * math/s_csqrtl.c (__csqrtl): Likewise.
22577 * math/s_ctan.c (__ctan): Likewise.
22578 * math/s_ctanf.c (__ctanf): Likewise.
22579 * math/s_ctanh.c (__ctanh): Likewise.
22580 * math/s_ctanhf.c (__ctanhf): Likewise.
22581 * math/s_ctanhl.c (__ctanhl): Likewise.
22582 * math/s_ctanl.c (__ctanl): Likewise.
22583 * math/w_pow.c: Likewise.
22584 * math/w_powf.c: Likewise.
22585 * math/w_powl.c: Likewise.
22586 * math/w_scalb.c (sysv_scalb): Likewise.
22587 * math/w_scalbf.c (sysv_scalbf): Likewise.
22588 * math/w_scalbl.c (sysv_scalbl): Likewise.
22589 * misc/error.c (error_tail): Likewise.
22590 * misc/pselect.c (__pselect): Likewise.
22591 * nis/nis_callback.c (__nis_create_callback): Likewise.
22592 * nis/nis_call.c (__nisfind_server): Likewise.
22593 * nis/nis_creategroup.c (nis_creategroup): Likewise.
22594 * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
22595 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
22596 * nis/nis_getservlist.c (nis_getservlist): Likewise.
22597 * nis/nis_lookup.c (nis_lookup): Likewise.
22598 * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
22599 * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
22600 (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
22601 * nis/nis_xdr.c (xdr_endpoint): Likewise.
22602 * nis/nss_compat/compat-grp.c (getgrent_next_file)
22603 (internal_getgrnam_r, internal_getgrgid_r): Likewise.
22604 * nis/nss_compat/compat-initgroups.c (add_group)
22605 (internal_getgrent_r): Likewise.
22606 * nis/nss_compat/compat-pwd.c (getpwent_next_file)
22607 (internal_getpwnam_r, internal_getpwuid_r): Likewise.
22608 * nis/nss_compat/compat-spwd.c (getspent_next_file)
22609 (internal_getspnam_r): Likewise.
22610 * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
22611 (_nss_nis_getaliasbyname_r): Likewise.
22612 * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
22613 (_nss_nis_getntohost_r): Likewise.
22614 * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
22615 (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
22616 (_nss_nis_getgrgid_r): Likewise.
22617 * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
22618 (internal_nis_gethostent_r, internal_gethostbyname2_r)
22619 (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
22620 (_nss_nis_gethostbyname4_r): Likewise.
22621 * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
22622 (initgroups_netid): Likewise.
22623 * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
22624 * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
22625 (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
22626 * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
22627 (_nss_nis_getprotobynumber_r): Likewise.
22628 * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
22629 (_nss_nis_getsecretkey): Likewise.
22630 * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
22631 (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
22632 (_nss_nis_getpwuid_r): Likewise.
22633 * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
22634 (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
22635 * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
22636 (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
22637 * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
22638 (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
22639 * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
22641 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
22642 (_nss_nisplus_getntohost_r): Likewise.
22643 * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
22644 (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
22645 * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
22646 (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
22648 * nis/nss_nisplus/nisplus-initgroups.c
22649 (_nss_nisplus_initgroups_dyn): Likewise.
22650 * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
22651 (_nss_nisplus_getnetbyaddr_r): Likewise.
22652 * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
22653 (_nss_nisplus_getprotobynumber_r): Likewise.
22654 * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
22655 (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
22656 * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
22658 * nis/nss_nisplus/nisplus-service.c
22659 (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
22660 (_nss_nisplus_getservbyport_r): Likewise.
22661 * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
22662 (_nss_nisplus_getspnam_r): Likewise.
22663 * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
22665 * nscd/aicache.c (addhstaiX): Likewise.
22666 * nscd/cache.c (cache_search, prune_cache): Likewise.
22667 * nscd/connections.c (register_traced_file, send_ro_fd)
22668 (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
22669 (main_loop_epoll): Likewise.
22670 * nscd/grpcache.c (addgrbyX): Likewise.
22671 * nscd/hstcache.c (addhstbyX): Likewise.
22672 * nscd/initgrcache.c (addinitgroupsX): Likewise.
22673 * nscd/mem.c (gc, mempool_alloc): Likewise.
22674 * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
22675 (addinnetgrX): Likewise.
22676 * nscd/nscd-client.h (__nscd_acquire_maplock)
22677 (__nscd_drop_map_ref): Likewise.
22678 * nscd/nscd_getai.c (__nscd_getai): Likewise.
22679 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
22680 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
22682 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
22683 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
22684 * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
22685 (__nscd_get_map_ref): Likewise.
22686 * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
22687 * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
22689 * nscd/pwdcache.c (addpwbyX): Likewise.
22690 * nscd/selinux.c (preserve_capabilities): Likewise.
22691 * nscd/servicescache.c (addservbyX): Likewise.
22692 * nss/nss_files/files-XXX.c (internal_getent): Likewise.
22693 * posix/fnmatch.c (fnmatch): Likewise.
22694 * posix/getopt.c (_getopt_internal_r): Likewise.
22695 * posix/glob.c (glob, glob_in_dir): Likewise.
22696 * posix/wordexp.c (exec_comm_child): Likewise.
22697 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
22698 (getanswer_r, gaih_getanswer_slice): Likewise.
22699 * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
22700 * resolv/res_init.c: Likewise.
22701 * resolv/res_mkquery.c (res_nmkquery): Likewise.
22702 * resolv/res_query.c (__libc_res_nquery): Likewise.
22703 * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
22705 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
22706 * stdio-common/perror.c (perror): Likewise.
22707 * stdio-common/printf_fp.c (___printf_fp): Likewise.
22708 * stdio-common/tmpnam.c (tmpnam): Likewise.
22709 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
22710 * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
22711 * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
22713 * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
22714 * stdlib/putenv.c (putenv): Likewise.
22715 * stdlib/setenv.c (__add_to_environ): Likewise.
22716 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
22717 * stdlib/strtol_l.c (INTERNAL): Likewise.
22718 * string/memmem.c (memmem): Likewise.
22719 * string/strerror.c (strerror): Likewise.
22720 * string/strnlen.c (__strnlen): Likewise.
22721 * string/test-memmem.c (simple_memmem): Likewise.
22722 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
22723 * sunrpc/pm_getport.c (__get_socket): Likewise.
22724 * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
22725 * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
22726 * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
22727 (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
22729 * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
22730 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
22731 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
22732 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
22733 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
22734 * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
22736 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
22738 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
22739 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
22740 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
22741 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
22742 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
22743 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
22744 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
22745 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
22746 * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
22747 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
22748 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
22749 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
22751 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
22753 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
22755 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
22756 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
22757 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
22758 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
22759 * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
22760 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
22761 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
22762 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
22763 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
22764 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
22765 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
22766 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
22767 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
22768 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
22769 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
22770 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
22772 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
22774 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
22776 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
22778 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
22779 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
22780 * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
22782 * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
22783 * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
22784 * sysdeps/posix/opendir.c (__opendirat): Likewise.
22785 * sysdeps/posix/sleep.c: Likewise.
22786 * sysdeps/posix/tempname.c: Likewise.
22787 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
22788 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
22790 * sysdeps/powerpc/powerpc32/dl-machine.h
22791 (elf_machine_runtime_setup, elf_machine_rela): Likewise.
22792 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
22793 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
22794 * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
22795 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
22797 * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
22798 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
22799 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
22800 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
22801 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
22802 * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
22803 * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
22804 * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
22805 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
22806 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
22807 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
22808 (elf_machine_lazy_rel): Likewise.
22809 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
22810 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
22811 (elf_machine_lazy_rel): Likewise.
22812 * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
22813 * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
22814 * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
22815 * sysdeps/unix/grantpt.c (grantpt): Likewise.
22816 * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
22817 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
22818 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
22819 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
22821 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
22822 * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
22823 * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
22824 * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
22825 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
22826 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
22827 * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
22828 * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
22829 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
22830 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
22831 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
22833 * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
22834 (__posix_fallocate64_l64): Likewise.
22835 * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
22836 (posix_fallocate): Likewise.
22837 * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
22839 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
22840 * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
22841 (getifaddrs_internal): Likewise.
22842 * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
22843 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
22844 * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
22845 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
22846 * sysdeps/unix/sysv/linux/posix_fallocate64.c
22847 (__posix_fallocate64_l64): Likewise.
22848 * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
22850 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
22851 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
22852 (__get_clockfreq): Likewise.
22853 * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
22854 * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
22855 * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
22856 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
22857 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
22858 * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
22859 * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
22860 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
22862 * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
22863 * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
22864 * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
22865 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
22866 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
22867 * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
22868 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
22870 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
22871 (posix_fallocate): Likewise.
22872 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
22873 * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
22874 * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
22875 * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
22876 (elf_machine_rela, elf_machine_rela_relative)
22877 (elf_machine_lazy_rel): Likewise.
22878 * time/asctime.c (asctime_internal): Likewise.
22879 * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
22880 * time/tzset.c (__tzset_parse_tz): Likewise.
22881 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
22882 * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
22883 * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
22884 * wcsmbs/wcsmbsload.h: Likewise.
22887 * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
22889 * malloc/arena.c (grow_heap, get_free_list, reused_arena)
22890 (arena_get2): Remove THREAD_STATS conditionals.
22891 * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
22892 (__malloc_stats, int): Likewise.
22894 2014-02-08 Mike Frysinger <vapier@gentoo.org>
22896 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
22897 f.f_type to RAMFS_MAGIC too. Compare mp->mnt_type to shm too.
22899 * manual/setjmp.texi: Fix typos/grammar errors.
22901 * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
22902 Only return early when n is <= 0. Delete unused return statement.
22904 * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
22905 (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
22906 * debug/tst-longjmp_chk3.c: New file.
22908 * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
22909 (test_main): Replace code with set_fortify_handler call.
22910 * debug/test-strcpy_chk.c: Likewise.
22911 * debug/tst-chk1.c: Likewise.
22912 * debug/tst-longjmp_chk.c: Likewise.
22913 * test-skeleton.c: Include fcntl.h & paths.h
22914 (set_fortify_handler): Define.
22916 * debug/tst-longjmp_chk.c: Add header comment and include
22917 ../test-skeleton.c.
22918 (do_test): Mark static.
22919 (TEST_FUNCTION): Define.
22921 * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
22922 (IP_PMTUDISC_INTERFACE): Likewise.
22923 (IP_MULTICAST_IF): Likewise.
22924 (IP_MULTICAST_TTL): Likewise.
22925 (IP_MULTICAST_LOOP): Likewise.
22926 (IP_ADD_MEMBERSHIP): Likewise.
22927 (IP_DROP_MEMBERSHIP): Likewise.
22928 (IP_UNBLOCK_SOURCE): Likewise.
22929 (IP_BLOCK_SOURCE): Likewise.
22930 (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
22931 (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
22932 (IP_MSFILTER): Likewise.
22933 (MCAST_JOIN_GROUP): Likewise.
22934 (MCAST_BLOCK_SOURCE): Likewise.
22935 (MCAST_UNBLOCK_SOURCE): Likewise.
22936 (MCAST_LEAVE_GROUP): Likewise.
22937 (MCAST_JOIN_SOURCE_GROUP): Likewise.
22938 (MCAST_LEAVE_SOURCE_GROUP): Likewise.
22939 (MCAST_MSFILTER): Likewise.
22940 (IP_MULTICAST_ALL): Likewise.
22941 (IP_UNICAST_IF): Likewise.
22943 * timezone/Makefile: Delete $(have-ksh) check.
22944 ($(objpfx)tzselect): Change $(KSH) to $(BASH).
22945 * timezone/tzselect.ksh: Add +x mode bits.
22947 * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
22948 (ANON_INODE_FS_MAGIC): Likewise.
22949 (BDEVFS_MAGIC): Likewise.
22950 (BINFMTFS_MAGIC): Likewise.
22951 (BTRFS_TEST_MAGIC): Likewise.
22952 (CRAMFS_MAGIC_WEND): Likewise.
22953 (DEBUGFS_MAGIC): Likewise.
22954 (ECRYPTFS_SUPER_MAGIC): Likewise.
22955 (EXT3_SUPER_MAGIC): Likewise.
22956 (EXT4_SUPER_MAGIC): Likewise.
22957 (FUTEXFS_SUPER_MAGIC): Likewise.
22958 (HOSTFS_SUPER_MAGIC): Likewise.
22959 (HUGETLBFS_MAGIC): Likewise.
22960 (MINIX3_SUPER_MAGIC): Likewise.
22961 (MTD_INODE_FS_MAGIC): Likewise.
22962 (NILFS_SUPER_MAGIC): Likewise.
22963 (OPENPROM_SUPER_MAGIC): Likewise.
22964 (PIPEFS_MAGIC): Likewise.
22965 (PSTOREFS_MAGIC): Likewise.
22966 (QNX6_SUPER_MAGIC): Likewise.
22967 (RAMFS_MAGIC): Likewise.
22968 (REISERFS_SUPER_MAGIC_STRING): Likewise.
22969 (REISER2FS_SUPER_MAGIC_STRING): Likewise.
22970 (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
22971 (SECURITYFS_MAGIC): Likewise.
22972 (SELINUX_MAGIC): Likewise.
22973 (SMACK_MAGIC): Likewise.
22974 (SOCKFS_MAGIC): Likewise.
22975 (SQUASHFS_MAGIC): Likewise.
22976 (STACK_END_MAGIC): Likewise.
22977 (TMPFS_MAGIC): Likewise.
22978 (USBDEVICE_SUPER_MAGIC): Likewise.
22979 (V9FS_MAGIC): Likewise.
22980 (XENFS_SUPER_MAGIC): Likewise.
22981 (CRAMFS_MAGIC): Fix typo in comment.
22982 (EXT2_SUPER_MAGIC): Update comment.
22983 (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
22985 2014-02-08 Joseph Myers <joseph@codesourcery.com>
22987 * sysdeps/arm: Move directory from ports/sysdeps/arm.
22988 * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
22989 * sysdeps/unix/sysv/linux/arm: Move directory from
22990 ports/sysdeps/unix/sysv/linux/arm.
22991 * README: Update listing for arm-*-linux-gnueabi.
22993 * README: Remove mention of am33.
22995 2014-02-07 Roland McGrath <roland@hack.frob.com>
22997 * bits/sigset.h (__sigemptyset): Use a statement expression rather
22998 than the comma operator, to avoid "rhs of comma has no effect"
23000 (__sigfillset, __sigandset, __sigorset): Likewise.
23001 * include/signal.h (__sigemptyset): Likewise.
23002 * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
23004 2014-02-07 Allan McRae <allan@archlinux.org>
23006 * version.h (RELEASE): Set to "development".
23007 (VERSION): Set to "2.19.90"
23008 * NEWS: Add 2.20 section.
23010 2014-02-06 Carlos O'Donell <carlos@redhat.com>
23013 * inet/netinet/in.h: Remove comma after IPPROTO_MH.
23015 2014-02-06 Siddhesh Poyarekar <siddhesh@redhat.com>
23017 * manual/contrib.texi: Update entry for Carlos O'Donell,
23018 Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
23020 2014-02-05 Carlos O'Donell <carlos@rehdat.com>
23022 * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
23024 * sysdeps/unix/sysv/linux/kernel-features.h
23025 [__LINUX_KERNEL_VERSION >= 0x020621]
23026 (__ASSUME_PROC_PID_TASK_COMM): Define.
23028 2014-02-05 Siddhesh Poyarekar <siddhesh@redhat.com>
23031 * libio/wfileops.c (_IO_wfile_seekoff): Break out form
23032 conversion when destination buffer does not have enough space.
23033 * libio/tst-ftell-partial-wide.c: New test case.
23034 * libio/Makefile (tests): Add tst-ftell-partial-wide.
23036 * manual/contrib.texi: Update entry for Ondrej Bilka, Will
23037 Newton and Alexandre Oliva. Add entries for Steve Ellcey, Chris
23038 Leonard and Allan McRae.
23040 2014-02-04 David S. Miller <davem@davemloft.net>
23042 * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
23045 2014-02-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23047 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
23049 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
23051 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
23053 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
23055 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
23057 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
23059 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
23061 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
23063 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
23065 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
23067 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
23069 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
23071 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
23074 2014-02-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23076 * nptl/shlib-versions: Change powerpc*le start to 2.17.
23077 * shlib-versions: Likewise.
23079 2014-02-04 Roland McGrath <roland@hack.frob.com>
23080 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23082 * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
23083 (abilist-pattern): New variable, set to %-le.abilist.
23085 * Makerules (abilist-pattern): New variable.
23086 (vpath): Use $(abilist-pattern) in place of %.abilist.
23087 (check-abi-% pattern rule): Likewise.
23088 (check-abi, update-abi): Likewise.
23090 2014-02-04 Eric Wong <normalperson@yhbt.net>
23092 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
23094 2014-02-03 Carlos O'Donell <carlos@redhat.com>
23096 * manual/startup.texi: Add next, previous, and top entries for
23097 the `Program Arguments' and `Environment Variables' nodes.
23099 2014-02-03 Alexandre Oliva <aoliva@redhat.com>
23101 * manual/macros.texi: Add comments before MTASC-safety macros.
23103 * manual/users.texi: Document MTASC-safety properties.
23105 * manual/threads.texi (pthread_key_create, pthread_key_delete)
23106 (pthread_getspecific, pthread_setspecific): Format with
23107 @deftypefun, and add @safety note.
23108 * manual/signal.texi: Move comments that analyze the above
23109 functions to their home place.
23111 2014-02-03 Allan McRae <allan@archlinux.org>
23113 * po/sl.po: Update Slovenian translation from translation project.
23115 2014-02-02 Alexandre Oliva <aoliva@redhat.com>
23117 * manual/time.texi (timegm): Add missing blank after @c.
23118 Reported by Joseph Myers <joseph@codesourcery.com>.
23120 2014-02-01 Alexandre Oliva <aoliva@redhat.com>
23122 * manual/check-safety.sh: New.
23123 * manual/Makefile ($(objpfx)stamp-summary): Run it.
23125 * manual/terminal.texi: Document MTASC-safety properties.
23127 * manual/filesys.texi: Document MTASC-safety properties.
23129 * manual/errno.texi: Document MTASC-safety properties.
23131 * manual/intro.texi: Document safety identifiers and
23134 * manual/string.texi (wcstok): Fix prototype.
23135 (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
23137 * manual/time.texi: Document MTASC-safety properties.
23139 * manual/string.texi: Document MTASC-safety properties.
23141 * manual/threads.texi: Document MTASC-safety properties.
23143 * manual/stdio.texi: Document MTASC-safety properties.
23145 * manual/syslog.texi: Document MTASC-safety properties.
23147 * manual/sysinfo.texi: Document MTASC-safety properties.
23149 * manual/startup.texi: Document MTASC-safety properties.
23151 * manual/socket.texi: Document MTASC-safety properties.
23153 * manual/signal.texi: Document MTASC-safety properties.
23155 2014-01-31 Alexandre Oliva <aoliva@redhat.com>
23157 * manual/setjmp.texi: Document MTASC-safety properties.
23159 * manual/search.texi: Document MTASC-safety properties.
23161 * manual/resource.texi: Document MTASC-safety properties.
23163 * manual/process.texi: Document MTASC-safety properties.
23165 * manual/platform.texi: Document MTASC-safety properties.
23167 * manual/pipe.texi: Document MTASC-safety properties.
23169 * manual/pattern.texi: Document MTASC-safety properties.
23171 * manual/message.texi: Document MTASC-safety properties.
23174 * manual/memory.texi: Document MTASC-safety properties.
23176 * manual/math.texi: Document MTASC-safety properties.
23178 * manual/locale.texi: Document MTASC-safety properties.
23180 * manual/llio.texi: Document MTASC-safety properties.
23182 * manual/libdl.texi: New.
23184 * manual/lang.texi: Document MTASC-safety properties.
23186 * manual/job.texi: Document MTASC-safety properties.
23188 * manual/getopt.texi: Document MTASC-safety properties.
23190 * manual/ctype.texi: Document MTASC-safety properties.
23192 2014-01-31 Maciej W. Rozycki <macro@codesourcery.com>
23195 * csu/libc-tls.c (static_map): Remove variable.
23196 (__libc_setup_tls): Use main executable's link map for TLS data.
23197 * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
23198 casing for LM_ID_BASE and GL(dl_nns).
23199 * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
23200 function. Alias dl_iterate_phdr to __dl_iterate_phdr.
23201 * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
23202 casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
23203 * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
23205 (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
23208 2014-01-30 Alexandre Oliva <aoliva@redhat.com>
23210 * manual/debug.texi: Document MTASC-safety properties.
23212 2014-01-29 H.J. Lu <hongjiu.lu@intel.com>
23215 * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
23216 of __x86_64__ when disabling x87 inline functions.
23218 2014-01-29 Alexandre Oliva <aoliva@redhat.com>
23220 * manual/charset.texi: Document MTASC-safety properties.
23222 * manual/crypt.texi: Document MTASC-safety properties.
23224 * manual/conf.texi: Document MTASC-safety properties.
23226 * manual/arith.texi: Document MTASC-safety properties.
23228 * manual/argp.texi: Document MTASC-safety properties.
23230 * manual/macros.texi: Introduce macros to document multi
23231 thread, asynchronous signal and asynchronous cancellation
23233 * manual/intro.texi: Introduce the properties themselves.
23235 2014-01-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
23237 * sysdeps/sh/sh4/Makefile: New file.
23239 2014-01-27 Andreas Schwab <schwab@linux-m68k.org>
23241 * math/gen-libm-test.pl ($srcdir): New variable.
23242 ($auto_input): Use it.
23244 2014-01-27 Siddhesh Poyarekar <siddhesh@redhat.com>
23247 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
23248 access beyond array bounds when parsing netgroups file.
23250 * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
23251 the old buffer before realloc.
23253 2014-01-27 Allan McRae <allan@archlinux.org>
23255 * po/fr.po: Update French translation from translation project.
23257 2014-01-26 Kaz Kojima <kkojima@rr.iij4u.or.jp>
23259 * sysdeps/sh/libm-test-ulps: Regenerate.
23261 2014-01-24 David S. Miller <davem@davemloft.net>
23263 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
23265 2014-01-25 Kaz Kojima <kkojima@rr.iij4u.or.jp>
23267 * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
23268 * sysdeps/sh/libm-test-ulps: ... here and regenerated.
23270 2013-01-24 Siddhesh Poyarekar <siddhesh@redhat.com>
23273 * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
23274 string pointers after reallocation.
23276 2014-01-24 Kaz Kojima <kkojima@rr.iij4u.or.jp>
23278 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
23279 __SH4A__ instead of __SH_FPU_ANY__.
23281 2014-01-23 Kaz Kojima <kkojima@rr.iij4u.or.jp>
23283 * sysdeps/sh/fpu_control.h: New file.
23284 * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
23285 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
23286 * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
23287 * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
23288 * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
23289 * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
23290 * sysdeps/sh/sys/ucontext.h: Remove.
23291 * sysdeps/sh/sys: Remove directory.
23293 2014-01-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
23295 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
23296 s390/sys/ucontext.h.
23297 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
23298 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
23300 2014-01-20 H.J. Lu <hongjiu.lu@intel.com>
23303 * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
23305 2014-01-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23308 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
23309 Adjust the vDSO correctly for internal calls.
23310 * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
23312 2014-01-20 Allan McRae <allan@archlinux.org>
23314 * po/ca.po: Update Catalan translation from translation project.
23316 2014-01-16 Mike Frysinger <vapier@gentoo.org>
23318 * sysdeps/s390/sotruss-lib.c: New file.
23320 2014-01-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23323 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
23324 (__GI___gettimeofday): Alias for a different internal symbol to avoid
23325 local calls issues by not having a PLT stub required for IFUNC calls.
23326 * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
23328 2014-01-16 Joseph Myers <joseph@codesourcery.com>
23330 * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
23331 * math/test-fpucw-static.c: Likewise.
23333 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
23336 * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
23338 2014-01-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23340 * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
23341 implementation for powerpc.
23343 2014-01-15 Ondřej Bílka <neleai@seznam.cz>
23346 * sysdeps/posix/system.c (__libc_system): Do not enable
23347 asynchronous cancellation.
23349 2014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
23352 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
23353 handling only for numbers special also in the IEEE case.
23355 2014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
23357 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
23359 2014-01-11 Allan McRae <allan@archlinux.org>
23361 * po/bg.po: Update Bulgarian translation from translation project.
23363 * po/de.po: Update German translation from translation project.
23365 2014-01-10 Roland McGrath <roland@hack.frob.com>
23367 * sysdeps/generic/gcc-compat.h: New file.
23369 2014-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
23371 * benchtests/asin-inputs: Correct slow inputs.
23372 * benchtests/acos-inputs: Likewise.
23374 2014-01-10 Allan McRae <allan@archlinux.org>
23376 * po:sv.po: Update Swedish translation from translation project.
23378 * po/vi.po: Update Vietnamese translation from translation project.
23380 * po/eo.po: Update Esperanto translation from translation project.
23382 * po/cs.po: Update Czech translation from translation project.
23384 * po/nl.po: Update Dutch translation from translation project.
23386 * po/pl.po: Update Polish translation from translation project.
23388 * po/ru.po: Update Russian translation from translation project.
23390 * po/uk.po: Update Ukrainian translation from translation project.
23392 2014-01-08 Brooks Moses <bmoses@google.com>
23394 * elf/dl-load.c: Fix comment typo.
23396 2014-01-08 Carlos O'Donell <carlos@redhat.com>
23398 * po/header.pot: Rename to...
23399 * po/pot.header: ... this.
23400 * po/Makefile: Use pot.header.
23402 2014-01-08 Yuriy Kaminskiy <yumkam@gmail.com>
23403 Maxim Kuvyrkov <maxim@kugelworks.com>
23406 * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
23407 SRC and DEST against LEN.
23409 2014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23412 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
23414 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
23416 2014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23418 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23420 2014-01-08 Joseph Myers <joseph@codesourcery.com>
23423 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
23424 for large positive arguments.
23426 2014-01-07 Joseph Myers <joseph@codesourcery.com>
23428 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
23430 * math/auto-libm-test-in: Mark various tests with
23431 xfail-rounding:ldbl-128ibm.
23432 * math/auto-libm-test-out: Regenerated.
23435 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
23436 Increase overflow threshold.
23438 2014-01-07 Ondřej Bílka <neleai@seznam.cz>
23441 * stdio-common/vfprintf.c: Check for integer overflow.
23443 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
23445 * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
23446 the first argument and return value of __tls_get_addr_internal.
23448 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
23450 * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
23451 also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
23453 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
23455 * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
23456 * sysdeps/s390/rtld-global-offsets.sym: New file.
23457 * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
23459 * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
23460 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
23461 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
23463 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
23464 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
23466 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
23468 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
23470 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
23471 halfs of GPRs for high_gprs contexts.
23472 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
23473 restore upper halfs of GPRs for high_gprs contexts. Copy uc_flags
23475 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
23477 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
23479 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
23480 for high GPRs (uc_high_gprs) and for future extensions
23482 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
23483 for future extensions (__reserved).
23484 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
23486 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
23487 SC_HIGHGPRS offset definition.
23488 * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
23489 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
23491 * Versions.def: Add GLIBC_2.19 for libpthread.
23492 * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
23493 siglongjmp for libpthread with GLIBC_2.19 symver.
23494 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
23495 * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
23496 * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
23497 * sysdeps/s390/__longjmp.c: New file.
23498 * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
23499 * sysdeps/s390/longjmp.c: New file.
23500 * sysdeps/s390/setjmp.S: New file.
23501 * sysdeps/s390/sigjmp.S: New file.
23502 * sysdeps/s390/v1-longjmp.c: New file.
23503 * sysdeps/s390/v1-setjmp.h: New file.
23504 * sysdeps/s390/v1-sigjmp.c: New file.
23505 * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
23506 * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
23507 GLIBC_2.19 version.
23508 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
23509 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
23510 versioned symbols for ____longjmp_chk.
23511 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
23513 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
23515 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
23517 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
23519 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
23521 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
23522 * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
23523 * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
23524 * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
23525 * sysdeps/s390/s390-32/setjmp-common.S: ... this.
23526 * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
23527 * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
23528 * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
23529 * sysdeps/s390/s390-64/setjmp-common.S: ... this.
23530 * sysdeps/s390/rtld-__longjmp.c: New file.
23531 * sysdeps/s390/rtld-setjmp.S: New file.
23533 2014-01-06 Joseph Myers <joseph@codesourcery.com>
23536 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
23537 Return -__logl (x) for small positive arguments without evaluating
23540 2014-01-06 Mike Frysinger <vapier@gentoo.org>
23542 * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
23544 (__ptrace_peeksiginfo_args): ... this.
23545 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
23546 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
23547 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
23549 2014-01-06 Allan McRae <allan@archlinux.org>
23551 * inet/netinet/in.h: Fix typo in comment.
23553 2014-01-05 Andreas Jaeger <aj@suse.de>
23555 * sysdeps/i386/fpu/libm-test-ulps: Update.
23557 2014-01-05 Allan McRae <allan@archlinux.org>
23559 * po/libc.pot: Regenerated.
23561 * malloc/memusagestat.c: Fix gettext call formatting.
23563 2014-01-04 Sami Kerola <kerolasa@iki.fi>
23565 * nscd/nscd.c: Improve usage() output.
23567 2014-01-04 Mike Frysinger <vapier@gentoo.org>
23569 * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
23570 * sysdeps/unix/sysv/linux/configure: Regenerated.
23571 * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
23572 * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
23574 2014-01-03 Joseph Myers <joseph@codesourcery.com>
23577 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
23578 (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
23580 2014-01-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23582 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
23583 extra tokens at end of #undef directive.
23584 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
23585 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
23586 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
23588 2014-01-03 Joseph Myers <joseph@codesourcery.com>
23590 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
23592 * math/auto-libm-test-in: Mark various tests with
23593 xfail-rounding:ldbl-128ibm.
23594 * math/auto-libm-test-out: Regenerated.
23596 2014-01-02 Joseph Myers <joseph@codesourcery.com>
23599 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
23600 numbers with subnormal high part when calculating exponent.
23603 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
23607 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
23609 (__ieee754_acoshl): Use __log1pl not __log1p.
23611 2013-01-02 Ondřej Bílka <neleai@seznam.cz>
23613 * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
23614 (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
23615 (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
23616 (grow_heap, heap_trim, _int_new_arena, get_free_list)
23617 (reused_arena, arena_get2): Convert to GNU style.
23618 * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
23619 (mem2mem_check, mem2chunk_check, top_check, realloc_check)
23620 (memalign_check, __malloc_set_state): Likewise.
23621 * malloc/mallocbug.c (main): Likewise.
23622 * malloc/malloc.c (__malloc_assert, malloc_init_state)
23623 (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
23624 (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
23625 (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
23626 (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
23627 (__posix_memalign, malloc_info): Likewise.
23628 * malloc/malloc.h: Likewise.
23629 * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
23630 (mallochook, memalignhook, reallochook, mabort): Likewise.
23631 * malloc/mcheck.h: Likewise.
23632 * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
23633 (free, mmap, mmap64, mremap, munmap, dest): Likewise.
23634 * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
23635 * malloc/morecore.c (__default_morecore): Likewise.
23636 * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
23637 * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
23638 (_obstack_allocated_p, obstack_free, _obstack_memory_used)
23639 (print_and_abort): Likewise.
23640 * malloc/obstack.h: Likewise.
23641 * malloc/set-freeres.c (__libc_freeres): Likewise.
23642 * malloc/tst-mallocstate.c (main): Likewise.
23643 * malloc/tst-mtrace.c (main): Likewise.
23644 * malloc/tst-realloc.c (do_test): Likewise.
23646 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
23649 * nscd/netgroupcache.c (do_notfound): New function.
23650 (addgetnetgrentX): Use it.
23653 * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
23654 NSS_STATUS_NOTFOUND.
23656 2014-01-01 Joseph Myers <joseph@codesourcery.com>
23658 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
23659 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23661 2014-01-01 Allan McRae <allan@archlinux.org>
23663 * scripts/update-copyrights: Update configure input file suffix.
23665 * NEWS: Update copyright year.
23666 * catgets/gencat.c: Likewise.
23667 * csu/version.c: Likewise.
23668 * debug/catchsegv.sh: Likewise.
23669 * debug/pcprofiledump.c: Likewise.
23670 * debug/xtrace.sh: Likewise.
23671 * elf/ldconfig.c: Likewise.
23672 * elf/ldd.bash.in: Likewise.
23673 * elf/pldd.c: Likewise.
23674 * elf/sotruss.ksh: Likewise.
23675 * elf/sprof.c: Likewise.
23676 * iconv/iconv_prog.c: Likewise.
23677 * iconv/iconvconfig.c: Likewise.
23678 * locale/programs/locale.c: Likewise.
23679 * locale/programs/localedef.c: Likewise.
23680 * login/programs/pt_chown.c: Likewise.
23681 * malloc/memusage.sh: Likewise.
23682 * malloc/memusagestat.c: Likewise.
23683 * malloc/mtrace.pl: Likewise.
23684 * manual/libc.texinfo: Likewise.
23685 * nscd/nscd.c: Likewise.
23686 * nss/getent.c: Likewise.
23687 * nss/makedb.c: Likewise.
23688 * posix/getconf.c: Likewise.
23689 * scripts/test-installation.pl: Likewise.
23691 * All files with FSF copyright notices: Update copyright dates
23692 using scripts/update-copyrights.
23693 * intl/plural.c: Regenerated.
23694 * locale/programs/charmap-kw.h: Likewise.
23695 * locale/programs/locfile-kw.h: Likewise.
23697 2013-12-31 Mike Frysinger <vapier@gentoo.org>
23699 * sysdeps/unix/sysv/linux/configure: Regenerated.
23700 * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
23701 the linux/fanotify.h header.
23702 * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
23703 HAVE_LINUX_FANOTIFY_H is defined.
23705 2013-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
23707 * benchtests/cos-inputs: New inputs.
23708 * benchtests/sin-inputs: Likewise.
23710 * benchtests/atan-inputs: New inputs. Fix name of multiple
23711 precision fallback inputs.
23713 * benchtests/atanh-inputs: New inputs.
23714 * benchtests/tanh-inputs: Likewise.
23716 * benchtests/acosh-inputs: New inputs.
23717 * benchtests/asinh-inputs: Likewise.
23719 * benchtests/cosh-inputs: New inputs.
23720 * benchtests/sinh-inputs: Likewise.
23722 * benchtests/acos-inputs: Add more inputs.
23723 * benchtests/asin-inputs: Likewise.
23725 2013-12-30 Ville Skytta <ville.skytta@iki.fi>
23728 * manual/arith.texi: Fix spelling.
23729 * manual/charset.texi: Likewise.
23730 * manual/errno.texi: Likewise.
23731 * manual/filesys.texi: Likewise.
23732 * manual/lang.texi: Likewise.
23733 * manual/llio.texi: Likewise.
23734 * manual/locale.texi: Likewise.
23735 * manual/message.texi: Likewise.
23736 * manual/resource.texi: Likewise.
23737 * manual/search.texi: Likewise.
23738 * manual/setjmp.texi: Likewise.
23739 * manual/stdio.texi: Likewise.
23740 * manual/string.texi: Likewise.
23741 * manual/sysinfo.texi: Likewise.
23742 * manual/time.texi: Likewise.
23744 2013-12-27 Carlos O'Donell <carlos@redhat.com>
23746 * po/sl.po: New file.
23748 2013-12-27 Mike Frysinger <vapier@gentoo.org>
23750 * .gitignore: Add core/.gdbinit/.gdb_history.
23752 2013-12-27 Allan McRae <allan@archlinux.org>
23755 * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
23756 Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
23758 2013-12-24 Brooks Moses <bmoses@google.com>
23760 * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
23761 all compilers that claim C++98 compliance, not just GCC.
23762 * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
23765 2013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
23767 * NEWS: Restore accidentally deleted bug-fix entries.
23769 2013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
23770 Ondřej Bílka <neleai@seznam.cz>
23773 * malloc/malloc.c (_int_free): Perform sanity check only if we
23776 2013-12-23 Ondřej Bílka <neleai@seznam.cz>
23779 * manual/stdio.texi (String Input Conversions): Clarify that character
23780 classes are not supported.
23782 2013-12-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23784 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23786 2013-12-22 Joseph Myers <joseph@codesourcery.com>
23789 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
23790 Calculate results for small negative arguments directly rather
23791 than using reflection formula with special underflow handling.
23793 * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
23794 * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
23795 sysdeps/unix/bsd/bsd4.4/syscalls.list.
23796 (fchflags): Likewise.
23797 (revoke): Likewise.
23798 (setlogin): Likewise.
23799 (sigaltstack): Likewise.
23801 (sigblock): Remove.
23802 (sigsetmask): Likewise.
23804 (waitpid): Likewise.
23805 * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
23806 * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
23808 * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
23809 * sysdeps/unix/bsd/Makefile: ... here.
23810 * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
23811 * sysdeps/unix/bsd/Versions: ... here.
23812 * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
23813 * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
23814 * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
23815 * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
23816 * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
23817 * sysdeps/unix/bsd/sigblock.c: ... here.
23818 * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
23819 * sysdeps/unix/bsd/sigsetmask.c: ... here.
23820 * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
23821 * sysdeps/unix/bsd/sigvec.c: ... here.
23822 * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
23823 * sysdeps/unix/bsd/tcdrain.c: ... here.
23824 * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
23825 * sysdeps/unix/bsd/tcgetattr.c: ... here.
23826 * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
23827 * sysdeps/unix/bsd/tcsetattr.c: ... here.
23828 * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
23829 * sysdeps/unix/bsd/wait.c: ... here.
23830 * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
23831 * sysdeps/unix/bsd/wait3.c: ... here.
23832 * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
23833 * sysdeps/unix/bsd/waitpid.c: ... here.
23835 2013-12-21 Joseph Myers <joseph@codesourcery.com>
23838 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
23839 round-to-nearest for [!USE_AS_EXPM1L].
23840 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
23841 * math/auto-libm-test-in: Do not expect cosh tests to fail. Add
23842 more tests of exp and exp10. Expect some exp10 tests to miss
23843 exceptions or fail in directed rounding modes.
23844 * math/auto-libm-test-out: Regenerated.
23845 * math/libm-test.inc (exp10_tonearest_test_data): New array.
23846 (exp10_test_tonearest): New function.
23847 (exp10_towardzero_test_data): New array.
23848 (exp10_test_towardzero): New function.
23849 (exp10_downward_test_data): New array.
23850 (exp10_test_downward): New function.
23851 (exp10_upward_test_data): New array.
23852 (exp10_test_upward): New function.
23853 (main): Call the new functions.
23854 * sysdeps/i386/fpu/libm-test-ulps: Update.
23855 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23857 2013-12-20 Joseph Myers <joseph@codesourcery.com>
23859 * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
23860 asinh, atan, atan2, atanh, cbrt, cos and cosh.
23861 * math/auto-libm-test-out: Regenerated.
23862 * math/libm-test.inc (acosh_test_data): Add more tests.
23863 (atanh_test_data): Likewise.
23864 (ceil_test_data): Likewise.
23865 (copysign_test_data): Likewise.
23866 * sysdeps/i386/fpu/libm-test-ulps: Update.
23867 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23869 * timezone/checktab.awk: Update from tzcode 2013i.
23870 * timezone/private.h: Likewise.
23871 * timezone/scheck.c: Likewise.
23872 * timezone/tzfile.h: Likewise.
23873 * timezone/tzselect.ksh: Likewise.
23874 * timezone/zdump.c: Likewise.
23875 * timezone/zic.c: Likewise.
23877 * math/auto-libm-test-in: Add tests of cpow.
23878 * math/auto-libm-test-out: Regenerated.
23879 * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
23880 * math/gen-auto-libm-tests.c (func_calc_method): Add value
23882 (func_calc_desc): Add mpc_cc_c union field.
23883 (test_functions): Add cpow.
23884 (special_fill_2pi): New function.
23885 (special_real_inputs): Add 2pi.
23886 (calc_generic_results): Handle mpc_cc_c.
23887 * sysdeps/i386/fpu/libm-test-ulps: Update.
23888 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23890 * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
23891 csqrt, ctan and ctanh.
23892 * math/auto-libm-test-out: Regenerated.
23893 * math/libm-test.inc (TEST_COND_x86_64): New macro.
23894 (TEST_COND_x86): Likewise.
23895 (ccos_test_data): Use AUTO_TESTS_c_c.
23896 (ccosh_test_data): Likewise.
23897 (cexp_test_data): Likewise.
23898 (clog_test_data): Likewise.
23899 (csqrt_test_data): Likewise.
23900 (ctan_test_data): Likewise.
23901 (ctan_tonearest_test_data): Likewise.
23902 (ctan_towardzero_test_data): Likewise.
23903 (ctan_downward_test_data): Likewise.
23904 (ctan_upward_test_data): Likewise.
23905 (ctanh_test_data): Likewise.
23906 (ctanh_tonearest_test_data): Likewise.
23907 (ctanh_towardzero_test_data): Likewise.
23908 (ctanh_downward_test_data): Likewise.
23909 (ctanh_upward_test_data): Likewise.
23910 * math/gen-auto-libm-tests.c (func_calc_method): Add value
23912 (func_calc_desc): Add mpc_c_c union field.
23913 (FUNC_mpc_c_c): New macro.
23914 (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
23915 ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
23917 (special_fill_min_subnorm_p120): New function.
23918 (special_real_inputs): Add min_subnorm_p120.
23919 (calc_generic_results): Handle mpc_c_c.
23920 * sysdeps/i386/fpu/libm-test-ulps: Update.
23921 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23923 2013-12-20 Siddhesh Poyarekar <siddhesh@redhat.com>
23925 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
23926 (do_sin_slow): New functions.
23927 (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
23928 (cslow2, csloww1, csloww2): Use the new functions.
23930 * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
23931 Use M to change sign of result instead of X. Assume X is
23933 (csloww1): Likewise.
23937 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
23938 arguments A and DA.
23942 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
23944 (sloww1): Don't adjust sign of DX.
23945 (csloww1): Likewise.
23946 (sloww2): Use X directly and don't adjust sign of DX.
23947 (csloww2): Likewise.
23949 2013-12-19 Joseph Myers <joseph@codesourcery.com>
23951 * math/auto-libm-test-in: Add tests of cabs and carg.
23952 * math/auto-libm-test-out: Regenerated.
23953 * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
23954 (carg_test_data): Likewise.
23955 * math/gen-auto-libm-tests.c (func_calc_method): Add value
23957 (func_calc_desc): Add mpc_c_f union field.
23958 (test_functions): Add cabs and carg.
23959 (calc_generic_results): Handle mpc_c_f.
23961 * sysdeps/powerpc/powerpc32/libgcc-compat.S
23962 [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
23963 as a macro and a compat symbol.
23964 [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
23965 [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
23966 [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
23967 [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
23968 [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
23969 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
23971 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
23973 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
23975 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
23977 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
23979 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
23981 * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
23982 __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
23985 2013-12-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23987 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23989 2013-12-19 Joseph Myers <joseph@codesourcery.com>
23991 * manual/texinfo.tex: Update to version 2013-11-26.10 with
23992 trailing whitespace removed.
23993 * scripts/config.guess: Update to version 2013-11-29.
23994 * scripts/config.sub: Update to version 2013-10-01.
23996 * math/auto-libm-test-in: Add tests of sincos.
23997 * math/auto-libm-test-out: Regenerated.
23998 * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
23999 * math/gen-auto-libm-tests.c (func_calc_method): Add value
24001 (func_calc_desc): Add mpfr_f_11 union field.
24002 (test_functions): Add sincos.
24003 (calc_generic_results): Handle mpfr_f_11.
24004 * sysdeps/i386/fpu/libm-test-ulps: Update.
24005 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24007 2013-12-19 Andreas Schwab <schwab@suse.de>
24009 * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
24011 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
24012 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
24013 [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
24015 2013-12-19 Joseph Myers <joseph@codesourcery.com>
24017 * math/gen-libm-test.pl (%beautify): Remove M_* constants.
24018 * sysdeps/i386/fpu/libm-test-ulps: Update.
24019 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24022 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
24023 round-to-nearest mode when using frndint.
24024 * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
24025 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
24026 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
24028 * math/auto-libm-test-in: Add more tests of expm1. Do not expect
24030 * math/auto-libm-test-out: Regenerated.
24031 * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
24032 (TEST_COND_x86): Likewise.
24033 (expm1_tonearest_test_data): New array.
24034 (expm1_test_tonearest): New function.
24035 (expm1_towardzero_test_data): New array.
24036 (expm1_test_towardzero): New function.
24037 (expm1_downward_test_data): New array.
24038 (expm1_test_downward): New function.
24039 (expm1_upward_test_data): New array.
24040 (expm1_test_upward): New function.
24041 (main): Run the new test functions.
24042 * sysdeps/i386/fpu/libm-test-ulps: Update.
24043 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24045 * include/features.h: Update comment documenting feature test
24046 macros. Mention _DEFAULT_SOURCE in comment.
24047 [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
24048 [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
24049 _BSD_SOURCE and _SVID_SOURCE.
24050 [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
24051 !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
24052 !_SVID_SOURCE]: Likewise.
24053 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
24054 (__USE_POSIX_IMPLICITLY): Define.
24055 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
24056 (_POSIX_SOURCE): Undefine and redefine.
24057 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
24058 (_POSIX_C_SOURCE): Likewise.
24059 * manual/creature.texi (_DEFAULT_SOURCE): Document.
24060 (Feature Test Macros): Update documentation of default features.
24062 2013-12-19 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
24064 * benchtests/Makefile: Add bench-strtok.
24065 * benchtests/bench-strtok.c: New file: strtok benchtest.
24067 2013-12-19 Allan McRae <allan@archlinux.org>
24069 * manual/install.texi: Suppress menu for plain text output.
24070 * INSTALL: Regenerated.
24072 2013-12-18 Brooks Moses <bmoses@google.com>
24075 * misc/getauxval.c: Include errno.h.
24076 (__getauxval): Set errno to ENOENT if the requested type is not
24078 * misc/sys/auxv.h (getauxval): Document that it may set errno;
24079 don't declare with __attribute_const__.
24080 * elf/tst-auxv.c: Add tests for errno and type-not-found case.
24081 * manual/startup.texi: Document that getauxval sets errno.
24083 2013-12-18 Joseph Myers <joseph@codesourcery.com>
24085 * math/auto-libm-test-in: Add tests of jn and yn.
24086 * math/auto-libm-test-out: Regenerated.
24087 * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
24088 (yn_test_data): Likewise.
24089 * math/gen-auto-libm-tests.c (func_calc_method): Add value
24091 (func_calc_desc): Add mpfr_if_f union field.
24092 (FUNC_mpfr_if_f): New macro.
24093 (test_functions): Add jn and yn.
24094 (calc_generic_results): Assert type of second input for
24095 mpfr_ff_f. Handle mpfr_if_f.
24096 (output_for_one_input_case): Disable all checking for arguments
24097 fitting floating-point types in case of an integer argument.
24098 * sysdeps/i386/fpu/libm-test-ulps: Update.
24099 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24101 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
24102 Don't expect fegetround reference in libm.so.
24104 2013-12-17 Marcus Shawcroft <marcus.shawcroft@linaro.org>
24106 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
24107 $(config-cflags-nofma).
24109 2013-12-18 Joseph Myers <joseph@codesourcery.com>
24111 * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
24112 * math/auto-libm-test-out: Regenerated.
24115 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
24116 to determine exponent and adjust argument to have exponent of -1.
24117 * math/auto-libm-test-in: Add more tests of log, log10, log1p and
24119 * math/auto-libm-test-out: Regenerated.
24120 * sysdeps/i386/fpu/libm-test-ulps: Update.
24121 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24123 2013-12-18 Ondřej Bílka <neleai@seznam.cz>
24125 * manual/probes.texi: Remove cases when per-thread arenas are
24128 2013-12-18 Andreas Schwab <schwab@suse.de>
24130 * sysdeps/i386/i686/multiarch/strstr.c: Remove.
24131 * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
24132 * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
24133 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
24134 * sysdeps/i386/i686/multiarch/Makefile: Update.
24135 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
24137 2013-12-17 Joseph Myers <joseph@codesourcery.com>
24139 * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
24140 * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
24142 2013-12-17 Paul Eggert <eggert@cs.ucla.edu>
24145 Support TZ transition times < 00:00:00.
24146 This is needed for version-3 tz-format files; it supports time
24147 stamps past 2037 for America/Godthab (the only entry in the tz
24148 database for which this change is relevant).
24149 * manual/time.texi (TZ Variable): Document transition times
24150 from -167:59:59 through -00:00:01.
24151 * time/tzset.c (tz_rule): Time of day is now signed.
24152 (__tzset_parse_tz): Parse negative time of day.
24154 Document TZ transition times >= 25:00:00.
24155 * manual/time.texi (TZ Variable): Document transition times from
24156 25:00:00 through 167:59:59. These are already supported, and this
24157 support will help with version-3 tz-format files.
24159 * manual/time.texi (TZ Variable): Modernize North America example
24160 to reflect current (i.e., 2007-and-later) daylight saving rules.
24162 * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
24164 2013-12-17 Joseph Myers <joseph@codesourcery.com>
24166 * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
24167 * sysdeps/unix/bsd/bits/stat.h: Likewise.
24168 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
24169 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
24170 * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
24171 * sysdeps/unix/bsd/bsdstat.h: Likewise.
24172 * sysdeps/unix/bsd/clock.c: Likewise.
24173 * sysdeps/unix/bsd/i386/vfork.S: Likewise.
24174 * sysdeps/unix/bsd/i386/wait3.S: Likewise.
24175 * sysdeps/unix/bsd/init-posix.c: Likewise.
24176 * sysdeps/unix/bsd/poll.c: Likewise.
24177 * sysdeps/unix/bsd/ptsname.c: Likewise.
24178 * sysdeps/unix/bsd/seekdir.c: Likewise.
24179 * sysdeps/unix/bsd/setegid.c: Likewise.
24180 * sysdeps/unix/bsd/seteuid.c: Likewise.
24181 * sysdeps/unix/bsd/setgid.c: Likewise.
24182 * sysdeps/unix/bsd/setrgid.c: Likewise.
24183 * sysdeps/unix/bsd/setruid.c: Likewise.
24184 * sysdeps/unix/bsd/setsid.c: Likewise.
24185 * sysdeps/unix/bsd/setuid.c: Likewise.
24186 * sysdeps/unix/bsd/sigaction.c: Likewise.
24187 * sysdeps/unix/bsd/sigprocmask.c: Likewise.
24188 * sysdeps/unix/bsd/sigsuspend.c: Likewise.
24189 * sysdeps/unix/bsd/sys/reboot.h: Likewise.
24190 * sysdeps/unix/bsd/telldir.c: Likewise.
24191 * sysdeps/unix/bsd/times.c: Likewise.
24192 * sysdeps/unix/bsd/usleep.c: Likewise.
24194 * misc/Makefile (install-lib): Remove libbsd-compat.a.
24195 ($(objpfx)libbsd-compat.a): Remove rule.
24197 * include/features.h (__FAVOR_BSD): Do not define.
24198 * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
24199 features conflicting with POSIX.
24200 (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
24201 (_BSD_SOURCE): Remove description of not being a subset of other
24202 feature test macros.
24203 * manual/job.texi (getpgrp): Do not document BSD version.
24204 (getpgid): Do not document by reference to BSD getpgrp.
24205 * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
24206 * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
24207 * signal/signal.h [__FAVOR_BSD]: Likewise.
24208 * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
24209 instead of making contents conditional on [__FAVOR_BSD].
24210 * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
24212 2013-12-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24214 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24216 2013-12-17 Joseph Myers <joseph@codesourcery.com>
24219 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
24220 values below 2**-450, not 2**-500.
24221 * math/auto-libm-test-in: Don't allow spurious underflow from
24223 * math/auto-libm-test-out: Regenerated.
24227 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
24228 values of ha and hb and sort them after adjusting subnormal
24230 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
24232 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
24233 values of ea and eb and sort them after adjusting subnormal
24235 * math/auto-libm-test-in: Do not expect some hypot tests of
24236 subnormals to fail. Add more hypot tests.
24237 * math/auto-libm-test-out: Regenerated.
24239 2013-12-16 Kaz Kojima <kkojima@rr.iij4u.or.jp>
24242 * sysdeps/sh/s_fma.c: New file.
24243 * sysdeps/sh/s_fmaf.c: New file.
24244 * sysdeps/sh/soft-fp/sfp-machine.h: New file. Based on arm
24246 * sysdeps/sh/Implies: Add sh/soft-fp.
24248 2013-12-16 Roland McGrath <roland@hack.frob.com>
24250 * elf/dl-error.c (struct catch): Add new member `errcode'. Add a
24251 level of indirection to members `objname', `errstring', `malloced'.
24252 (_dl_signal_error): Store through pointers in *LCATCH rather modifying
24253 *LCATCH itself. Set *LCATCH->errcode to ERRCODE rather than passing
24254 it as the __longjmp argument (just pass 1 instead).
24255 (_dl_catch_error): Initialize C with argument pointers and address of
24256 volatile local ERRCODE rather than copying values out of C at return.
24258 2013-12-16 Joseph Myers <joseph@codesourcery.com>
24260 * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
24261 * math/auto-libm-test-out: Regenerated.
24262 * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
24263 (hypot_test_data): Likewise.
24264 (pow_test_data): Likewise.
24265 (pow_tonearest_test_data): Likewise.
24266 * math/gen-auto-libm-tests.c (func_calc_method): Add value
24268 (func_calc_desc): Add mpfr_ff_f union field.
24269 (FUNC_mpfr_ff_f): New macro.
24270 (test_functions): Add atan2, hypot and pow.
24271 (special_fill_min): New function.
24272 (special_fill_minus_min): Likewise.
24273 (special_fill_min_subnorm): Likewise.
24274 (special_fill_minus_min_subnorm): Likewise.
24275 (special_real_inputs): Add min, -min, min_subnorm and
24277 (calc_generic_results): Handle mpfr_ff_f.
24278 * sysdeps/i386/fpu/libm-test-ulps: Update.
24279 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24281 2013-12-16 Will Newton <will.newton@linaro.org>
24283 * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
24284 (Aligned Memory Blocks): Add documentation for aligned_alloc
24285 and suggest it as an alternative to posix_memalign.
24286 (Hooks for Malloc): Document __memalign_hook is also called
24287 for aligned_alloc. (Summary of Malloc): Add summary for
24288 aligned alloc. Document __memalign_hook is also called
24291 2013-12-16 Will Newton <will.newton@linaro.org>
24293 * manual/memory.texi (Malloc Examples): Clarify default
24294 alignment documentation. Suggest posix_memalign rather
24295 than memalign or valloc.
24296 (Aligned Memory Blocks): Remove suggestion to use memalign
24297 or valloc. Remove obsolete comment about BSD.
24298 Document memalign errno values and mark the function obsolete.
24299 Document posix_memalign returned error codes. Mark valloc
24300 as obsolete. (Hooks for Malloc): __memalign_hook is also
24301 called for posix_memalign and valloc.
24302 (Summary of Malloc): Add posix_memalign to function summary.
24303 __memalign_hook is also called for posix_memalign and valloc.
24305 2013-12-16 Siddhesh Poyarekar <siddhesh@redhat.com>
24307 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
24311 (sloww): Use mynumber union. Expand ternary operator into
24312 if-else statements.
24313 (cslow): use mynumber union.
24315 2013-12-16 Allan McRae <allan@archlinux.org>
24317 * configure.ac: Set AUTOCONF when maintainer-mode is not used.
24318 * configure: Regenerated.
24320 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
24323 * configure.ac: Added --enable-maintainer-mode. Check for
24324 autoconf when enabled.
24325 * configure: Regenerated.
24327 * nscd/nscd.service: New file.
24328 * nscd/nscd.tmpfiles: New file.
24330 2013-12-14 Ondřej Bílka <neleai@seznam.cz>
24333 * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
24334 * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
24335 * sysdeps/x86_64/multiarch/strstr.c: ... here.
24336 (strstr): Add __strstr_sse2_unaligned ifunc.
24337 * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
24338 * sysdeps/x86_64/multiarch/strcasestr.c ... here.
24339 (strcasestr): Remove __strcasestr_sse42 ifunc.
24340 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
24341 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
24342 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
24344 2013-12-14 Kaz Kojima <kkojima@rr.iij4u.or.jp>
24346 * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
24347 * sysdeps/sh/bits/fenv.h: ... here.
24348 * sysdeps/sh/sh4/fpu/bits: Remove directory.
24350 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24352 * NEWS: Mention ppc64 STT_GNU_IFUNC support.
24354 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
24355 hypotf multiarch implementations.
24356 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
24357 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
24358 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
24359 multiarch hypot for PPC64.
24360 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
24361 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
24362 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
24363 multiarch hypotf for PPC64.
24365 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
24366 modff multiarch implementations.
24367 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
24368 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
24369 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
24370 multiarch modf for PPC64.
24371 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
24372 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
24373 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
24374 multiarch modff for PPC64.
24376 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
24377 and logl multiarch implementations.
24378 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
24379 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
24380 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
24381 multiarch logb for PPC64.
24382 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
24383 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
24384 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
24385 multiarch logb for PPC64.
24386 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
24387 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
24388 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
24389 multiarch logb for PPC64.
24391 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
24392 isinff multiarch implementation.
24393 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
24395 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
24396 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
24397 multiarch isinf for PPC64.
24398 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
24400 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
24401 multiarch isinff for PPC64.
24403 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
24404 finitef multiarch implementation.
24405 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
24407 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
24408 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
24409 multiarch finite for PPC64.
24410 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
24412 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
24413 multiarch finitef for PPC64.
24415 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
24416 lrint multiarch implementation.
24417 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
24419 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
24420 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
24421 multiarch llrint for PPC64.
24422 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
24423 multiarch lrint for PPC64.
24425 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
24426 copysignf multiarch implementation.
24427 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
24429 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
24431 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
24432 multiarch copysign for PPC64.
24433 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
24434 multiarch copysignf for PPC64.
24436 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
24437 multiarch implementation.
24438 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
24440 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
24442 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
24444 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
24446 multiarch llround for PPC64.
24447 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
24448 multiarch trunc for PPC64.
24449 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
24450 multiarch truncf for PPC64.
24452 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
24453 multiarch implementation.
24454 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
24456 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
24458 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
24460 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
24462 multiarch llround for PPC64.
24463 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
24464 multiarch round for PPC64.
24465 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
24466 multiarch roundf for PPC64.
24468 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
24469 multiarch implementation.
24470 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
24472 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
24474 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
24476 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
24478 multiarch llround for PPC64.
24479 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
24480 multiarch floor for PPC64.
24481 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
24482 multiarch floorf for PPC64.
24484 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
24485 multiarch implementation.
24486 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
24488 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
24490 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
24492 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
24494 multiarch llround for PPC64.
24495 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
24496 multiarch ceil for PPC64.
24497 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
24498 multiarch ceilf for PPC64.
24500 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
24501 multiarch implementation.
24502 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
24504 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
24506 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
24508 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
24509 multiarch llround for PPC64.
24510 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
24511 multiarch lround for PPC64.
24513 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
24514 multiarch implementation.
24515 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
24516 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
24517 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
24519 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
24520 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
24521 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
24522 multiarch isnan for PPC64.
24523 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
24524 multiarch isnanf for PPC64.
24526 * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
24527 * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
24528 * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
24529 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
24530 * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
24531 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
24533 * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
24534 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
24535 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
24536 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
24538 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
24539 multiarch implementations.
24540 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
24541 (__libc_ifunc_impl_list): Likewise.
24542 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
24543 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
24544 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
24545 multiarch stpcpy for PPC64.
24547 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
24548 multiarch implementations.
24549 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
24550 (__libc_ifunc_impl_list): Likewise.
24551 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
24552 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
24553 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
24554 multiarch strcpy for PPC64.
24556 * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
24557 redefine function name.
24558 (_wordcopy_fwd_dest_aligned): Likewise.
24559 (_wordcopy_bwd_aligned): Likewise.
24560 (_wordcopy_bwd_dest_aligned): Likewise.
24561 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
24562 multiarch implementations.
24563 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
24564 (__libc_ifunc_impl_list): Likewise.
24565 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
24566 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
24567 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
24568 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
24569 multiarch wcscpy for PPC64.
24571 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
24572 multiarch implementations.
24573 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
24574 (__libc_ifunc_impl_list): Likewise.
24575 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
24576 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
24577 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
24578 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
24579 multiarch wcscpy for PPC64.
24581 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
24582 multiarch implementations.
24583 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
24584 (__libc_ifunc_impl_list): Likewise.
24585 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
24586 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
24587 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
24588 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
24589 multiarch wcsrchr for PPC64.
24591 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
24592 multiarch implementations.
24593 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
24594 (__libc_ifunc_impl_list): Likewise.
24595 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
24596 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
24597 * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
24598 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
24599 multiarch wcschr for PPC64.
24601 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
24602 multiarch implementations.
24603 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
24604 (__libc_ifunc_impl_list): Likewise.
24605 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
24606 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
24607 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
24608 multiarch strchrnul for PPC64.
24610 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
24612 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
24613 (__libc_ifunc_impl_list): Likewise.
24614 * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
24615 * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
24616 * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
24617 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
24620 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
24622 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
24623 (__libc_ifunc_impl_list): Likewise.
24624 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
24625 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
24626 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
24627 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
24630 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
24631 multiarch implementations.
24632 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
24633 (__libc_ifunc_impl_list): Likewise.
24634 * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
24635 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
24636 strncasecmp for PPC64.
24637 * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
24638 * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
24639 multiarch strncasecmp_l for PPC64.
24641 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
24642 multiarch implementations.
24643 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
24644 (__libc_ifunc_impl_list): Likewise.
24645 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
24646 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
24647 multiarch strcasecmp for PPC64.
24648 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
24650 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
24651 multiarch strcasecmp_l for PPC64.
24653 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
24655 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
24656 (__libc_ifunc_impl_list): Likewise.
24657 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
24658 * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
24659 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
24662 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
24664 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
24665 (__libc_ifunc_impl_list): Likewise.
24666 * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
24667 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
24668 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
24671 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
24673 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
24674 (__libc_ifunc_impl_list): Likewise.
24675 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
24676 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
24677 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
24678 rawmemrchr for PPC64.
24680 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
24682 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
24683 (__libc_ifunc_impl_list): Likewise.
24684 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
24685 * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
24686 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
24689 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
24691 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
24692 (__libc_ifunc_impl_list): Likewise.
24693 * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
24694 * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
24695 * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
24698 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
24700 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
24701 (__libc_ifunc_impl_list): Likewise.
24702 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
24703 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
24704 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
24707 * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
24708 avoid cretion of __bzero symbol.
24709 * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
24711 * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
24713 * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
24715 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
24716 multiarch implementations.
24717 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
24718 (__libc_ifunc_impl_list): Likewise.
24719 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
24720 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
24721 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
24722 * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
24724 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
24725 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
24726 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
24727 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
24728 * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
24730 * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
24732 * string/memcmp.c (memcmp): Using macro to redefine symbol name.
24733 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
24735 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
24736 (__libc_ifunc_impl_list): Likewise.
24737 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
24738 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
24739 * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
24740 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
24743 * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
24744 multiarch for POWER/PPC64.
24745 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
24746 * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
24747 * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
24748 * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
24749 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
24750 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
24751 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
24752 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
24753 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
24756 * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
24757 * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
24758 * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
24759 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
24760 * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
24761 * sysdeps/powerpc/powerpc64/power5/Implies: New File.
24762 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
24763 * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
24764 * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
24765 * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
24766 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
24767 * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
24768 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
24769 * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
24770 * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
24771 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
24772 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
24773 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
24774 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
24775 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
24776 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
24777 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
24779 2013-12-12 Kaz Kojima <kkojima@rr.iij4u.or.jp>
24781 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
24783 2013-12-12 Siddhesh Poyarekar <siddhesh@redhat.com>
24785 * benchtests/Makefile (bench): Add exp2 and log2.
24786 (LDLIBS-bench-exp2): Add -lm.
24787 (LDLIBS-bench-log2): Likewise.
24788 * benchtests/exp2-inputs: New inputs file.
24789 * benchtests/log2-inputs: New inputs file.
24790 * benchtests/log-inputs: Add new inputs.
24791 * benchtests/tan-inputs: Likewise.
24793 2013-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
24795 * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
24797 (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
24798 (csloww2): ... from here.
24800 * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
24801 instead of structures.
24802 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
24803 (POLYNOMIAL): Likewise.
24804 (TAYLOR_SLOW): Likewise.
24810 (sloww1); Likewise.
24811 (sloww2): Likewise.
24812 (bsloww1): Likewise.
24813 (bsloww2): Likewise.
24814 (cslow2): Likewise.
24815 (csloww): Likewise.
24816 (csloww1): Likewise.
24817 (csloww2): Likewise.
24819 2013-12-10 Ondřej Bílka <neleai@seznam.cz>
24821 * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
24822 (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
24823 Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
24824 * malloc/hooks.c (realloc_check): Likewise.
24826 * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
24827 * malloc/arena.c: Remove PER_THREAD conditional.
24828 [!PER_THREAD]: Remove code.
24829 (ptmalloc_unlock_all2): Likewise.
24830 (ptmalloc_init): Likewise.
24831 (_int_new_arena): Likewise.
24832 (arena_get2): Likewise.
24833 * malloc/hooks.c (__malloc_get_state): Likewise.
24834 (__malloc_set_state): Likewise.
24835 * malloc/malloc.c: Likewise.
24836 (struct malloc_state): Likewise.
24837 (struct malloc_par): Likewise.
24838 (__libc_realloc): Likewise.
24839 (__libc_mallopt): Likewise.
24841 2013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24843 * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
24845 2013-12-09 Ondřej Bílka <neleai@seznam.cz>
24847 * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
24848 macro to a function. Check for zero perturb_byte.
24849 (_int_malloc, _int_free): Remove zero perturb_byte checks.
24851 * malloc/malloc.c: (force_reg): Remove.
24852 (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
24853 (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
24854 force_reg by atomic_forced_read.
24855 * malloc/arena.c (ptmalloc_init): Likewise.
24856 * malloc/hooks.c (top_check): Likewise.
24858 2013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24860 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24862 2013-12-09 Markus Trippelsdorf <markus@trippelsdorf.de>
24864 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
24866 2013-12-08 Joseph Myers <joseph@codesourcery.com>
24868 * math/auto-libm-test-in: Add tests of lgamma.
24869 * math/auto-libm-test-out: Regenerated.
24870 * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
24871 (M_LOG_2_SQRT_PIl): Likewise.
24872 (lgamma_test_data): Use AUTO_TESTS_f_f1.
24873 * math/gen-auto-libm-tests.c (func_calc_method): Add value
24875 (func_calc_desc): Add mpfr_f_f1 union field.
24876 (ARGS1): New macro.
24884 (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
24885 (test_functions): Add lgamma.
24886 (calc_generic_results): Handle mpfr_f_f1.
24887 * sysdeps/i386/fpu/libm-test-ulps: Update.
24888 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24890 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24892 * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
24893 __mpn_add_n for PowerPC64/POWER7.
24894 * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
24895 __mpn_sub_n for PowerPC64/POWER7.
24897 * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
24898 __mpn_addmul_1 for PowerPC64.
24899 * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
24900 __mpn_submul_1 for PowerPC64.
24901 * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
24903 * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
24906 2013-12-06 Fernando J. V. da Silva <fernandojvdasilva@gmail.com>
24909 * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
24911 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24913 * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
24915 * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
24916 add multiarch folders.
24917 * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
24918 * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
24919 * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
24920 * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
24921 * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
24922 * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
24923 * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
24924 * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
24925 * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
24926 * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
24927 * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
24928 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
24929 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
24930 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
24931 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
24932 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
24933 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
24935 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
24936 __ieee754_hypot and __ieee754_hypotf multiarch implementations.
24937 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
24939 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
24941 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
24942 multiarch __ieee754_hypot for PowerPC32.
24943 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
24945 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
24947 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
24948 multiarch __ieee754_hypotf for PowerPC32.
24950 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
24951 long_double_symbol only if __logbl is defined.
24952 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
24953 * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
24954 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
24955 * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
24956 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
24957 * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
24958 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
24959 path for implementation.
24960 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
24961 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
24962 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
24963 logb, and logbl multiarch implementations for PowerPC32.
24964 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
24966 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
24968 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
24969 multiarch logb for PowerPC32.
24970 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
24972 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
24974 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
24975 multiarch logbf for PowerPC32.
24976 * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
24977 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
24979 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
24980 multiarch logbl implementation for PowerPC32.
24982 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
24983 and modff multiarch implementations.
24984 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
24986 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
24988 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
24989 multiarch modf for PowerPC32.
24990 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
24992 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
24994 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
24995 multiarch modff for PowerPC32.
24997 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
24998 and lrintf multiarch implementations.
24999 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
25001 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
25003 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
25004 multiarch lrint for PowerPC32.
25005 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
25006 file: multiarch lrintf for PowerPC32.
25008 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
25009 and lroundf multiarch implementations.
25010 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
25012 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
25014 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
25016 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
25017 multiarch lround for PowerPC32.
25018 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
25019 file: multiarch lroundf for PowerPC32.
25021 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
25022 copysign and copysignf multiarch implementations.
25023 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
25025 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
25027 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
25028 file: multiarch copysign for PowerPC32.
25029 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
25030 file: multiarch copysignf for PowerPC32.
25032 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
25033 and truncf multiarch implementations.
25034 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
25036 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
25038 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
25039 multiarch trunc for PowerPC32.
25040 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
25042 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
25044 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
25045 multiarch truncf for PowerPC32.
25047 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
25048 and roundf multiarch implementations.
25049 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
25051 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
25053 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
25054 multiarch round for PowerPC32.
25055 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
25057 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
25059 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
25060 multiarch roundf for PowerPC32.
25062 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
25063 and floorf multiarch implementations.
25064 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
25066 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
25068 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
25069 multiarch floor for PowerPC32.
25070 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
25072 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
25074 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
25075 multiarch floorf for PowerPC32.
25077 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
25078 and ceilf multiarch implementations.
25079 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
25081 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
25083 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
25084 multiarch ceil for PowerPC32.
25085 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
25087 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
25089 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
25090 multiarch ceilf for PowerPC32.
25092 * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
25094 * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
25095 FINITEF is defined.
25096 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
25097 and finitef multiarch implementations.
25098 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
25100 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
25102 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
25103 multiarch finite for PowerPC32.
25104 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
25106 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
25107 file: multiarch finitef for PowerPC32.
25109 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
25110 and isinff multiarch implementations.
25111 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
25113 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
25115 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
25116 multiarch isinf for PowerPC32.
25117 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
25119 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
25120 multiarch isinff for PowerPC32.
25122 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
25123 alias when __isnan is defined.
25124 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
25125 and isnanf multiarch implementations.
25126 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
25128 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
25130 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
25132 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
25134 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
25135 multiarch isnan for PowerPC32.
25136 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
25138 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
25140 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
25141 multiarch isnanf for PowerPC32.
25143 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
25144 and sqrtf multiarch implementations.
25145 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
25147 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
25149 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
25150 multiarch sqrt for PowerPC32.
25151 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
25153 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
25155 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
25156 multiarch sqrtf for PowerPC32.
25158 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
25159 and llroundf multiarch implementations.
25160 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
25162 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
25164 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
25166 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
25167 file: multiarch llround for PowerPC32.
25168 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
25169 file: multiarch llroundf for PowerPC32.
25171 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
25172 multiarch PowerPC32 fpu implementations.
25173 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
25175 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
25177 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
25178 multiarch llrint for PowerPC32.
25179 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
25181 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
25183 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
25186 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
25188 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
25190 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
25192 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
25194 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
25195 multiarch wordcopy for PPC32.
25196 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
25198 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
25199 (__libc_ifunc_impl_list): Likewise.
25200 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
25201 * sysdeps/powerpc/power4/wordcopy.c: ... to here.
25202 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
25203 * sysdeps/powerpc/power6/wordcopy.c: ... to here.
25204 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
25205 * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
25207 * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
25208 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
25210 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
25212 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
25214 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
25215 multiarch wcscpy for PPC32.
25216 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
25218 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
25219 (__libc_ifunc_impl_list): Likewise.
25220 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
25221 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
25222 * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
25223 sysdeps/powerpc/power6/wcscpy.c.
25225 * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
25226 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
25228 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
25230 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
25232 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
25233 multiarch wcsrchr for PPC32.
25234 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
25236 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
25237 (__libc_ifunc_impl_list): Likewise.
25238 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
25239 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
25240 * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
25241 sysdeps/powerpc/power6/wcsrchr.c.
25243 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
25245 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
25247 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
25248 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
25249 multiarch wcschr for PPc32.
25250 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
25252 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
25253 (__libc_ifunc_impl_list): Likewise.
25254 * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
25255 * sysdeps/powerpc/power6/wcschr.c: ... to here.
25256 * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
25257 sysdeps/powerpc/power6/wcschr.c.
25259 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
25260 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
25262 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
25263 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
25264 file: multiarch strchr for PPC32.
25265 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
25267 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
25268 (__libc_ifunc_impl_list): Likewise.
25270 * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
25272 * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
25274 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
25276 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
25277 multiarch strchrnul for PPC32.
25278 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
25280 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
25281 (__libc_ifunc_impl_list): Likewise.
25283 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
25285 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
25286 multiarch strncasecmp for PPC32.
25287 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
25289 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
25290 multiarch strncasecmp_l for PPC32.
25291 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
25292 strncasecmp multiarch objects.
25293 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
25294 (__libc_ifunc_impl_list): Likewise.
25296 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
25298 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
25299 multiarch strncasecmp for PPC32.
25300 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
25302 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
25303 multiarch strcasecmp_l for PPC32.
25304 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
25306 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
25307 (__libc_ifunc_impl_list): Likewise.
25309 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
25311 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
25313 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
25314 multiarch strncmp for PPC32.
25315 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
25317 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
25318 (__libc_ifunc_impl_list): Likewise.
25320 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
25321 * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
25323 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
25324 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
25325 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
25327 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
25328 (__libc_ifunc_impl_list): Likewise.
25330 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
25332 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
25334 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
25335 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
25337 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
25338 (__libc_ifunc_impl_list): Likewise.
25340 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
25342 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
25344 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
25345 multiarch rawmemchr for PPC32.
25346 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
25348 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
25349 (__libc_ifunc_impl_list): Likewise.
25351 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
25353 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
25355 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
25356 file: memrchr multiarch for PPC32.
25357 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
25359 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
25360 (__libc_ifunc_impl_list): Likewise.
25362 * string/memchr.c (__memchr): Using macro to redefine symbol name.
25363 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
25365 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
25366 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
25367 multiarch memchr for PPC32.
25368 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
25370 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
25371 (__libc_ifunc_impl_list): Likewise.
25373 * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
25374 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
25376 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
25378 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
25379 file: multiarch mempcpy for PPC32.
25380 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
25382 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
25383 (__libc_ifunc_impl_list): Likewise.
25385 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
25386 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
25387 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
25388 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
25389 multiarch bzero for PPC32.
25390 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
25392 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
25394 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
25395 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
25396 file: multiarch memset for PPC32.
25397 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
25398 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
25399 memset multiarch objects.
25400 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
25401 (__libc_ifunc_impl_list): Likewise.
25403 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
25405 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
25406 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
25408 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
25409 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
25411 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
25412 (__libc_ifunc_impl_list): Likewise.
25414 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
25415 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
25416 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
25418 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
25420 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
25422 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
25423 multiarch memcpy for PPC32.
25424 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
25426 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
25427 (__libc_ifunc_impl_list): Likewise.
25429 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
25430 support multiarch for POWER/PPC32.
25431 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
25433 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
25434 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
25435 Implies file to make multiarch folder appers before the fpu and
25436 default folder for power4 configuration.
25438 2013-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
25440 * scripts/bench.pl: Append volatile keyword to type.
25442 2013-12-05 Kaz Kojima <kkojima@rr.iij4u.or.jp>
25444 * sysdeps/sh/sotruss-lib.c: New file.
25445 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
25447 2013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25449 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25451 2013-12-05 Joseph Myers <joseph@codesourcery.com>
25454 * math/w_tgamma.c: Include <errno.h>.
25455 (__tgamma): Use __glibc_unlikely. Set errno on underflow to 0.
25456 * math/w_tgammaf.c: Include <errno.h>.
25457 (__tgammaf): Use __glibc_unlikely. Set errno on underflow to 0.
25458 * math/w_tgammal.c: Include <errno.h>.
25459 (__tgammal): Use __glibc_unlikely. Set errno on underflow to 0.
25460 * math/auto-libm-test-in: Do not allow missing errno on tgamma
25461 underflow. Add more tgamma tests.
25462 * math/auto-libm-test-out: Regenerated.
25463 * sysdeps/i386/fpu/libm-test-ulps: Update.
25464 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25466 * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
25467 sin, sinh, tan, tanh, tgamma, y0 and y1.
25468 * math/auto-libm-test-out: Regenerated.
25469 * math/libm-test.inc (TEST_COND_x86_64): New macro.
25470 (TEST_COND_x86): Likewise.
25471 (M_E2l): Remove macro.
25473 (M_2_SQRT_PIl): Likewise.
25474 (M_SQRT_PIl): Likewise.
25475 (M_1_DIV_El): Likewise.
25476 (log_test_data): Use AUTO_TESTS_f_f.
25477 (log10_test_data): Likewise.
25478 (log1p_test_data): Likewise.
25479 (log2_test_data): Likewise.
25480 (sin_test_data): Likewise.
25481 (sin_tonearest_test_data): Likewise.
25482 (sin_towardzero_test_data): Likewise.
25483 (sin_downward_test_data): Likewise.
25484 (sin_upward_test_data): Likewise.
25485 (sinh_test_data): Likewise.
25486 (sinh_tonearest_test_data): Likewise.
25487 (sinh_towardzero_test_data): Likewise.
25488 (sinh_downward_test_data): Likewise.
25489 (sinh_upward_test_data): Likewise.
25490 (tan_test_data): Likewise.
25491 (tan_tonearest_test_data): Likewise.
25492 (tan_towardzero_test_data): Likewise.
25493 (tan_downward_test_data): Likewise.
25494 (tan_upward_test_data): Likewise.
25495 (tanh_test_data): Likewise.
25496 (tgamma_test_data): Likewise.
25497 (y0_test_data): Likewise.
25498 (y1_test_data): Likewise.
25499 * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
25500 (special_real_inputs): Add pi/4.
25501 * sysdeps/i386/fpu/libm-test-ulps: Update.
25502 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25504 2013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25506 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
25507 "longjmp_target" static probes.
25508 (__longjmp): Rename to __longjmp_symbol.
25509 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
25510 * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
25511 on which longjmp to generate.
25512 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
25513 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
25515 (__sigsetjmp): Rename to __sigsetjmp_symbol.
25516 (__sigjmp_save): Rename to __sigjmp_save_symbol.
25517 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
25518 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
25519 and __sigjmp_save_symbol based on which sigsetjmp to generated.
25520 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
25521 * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
25522 __longjmp_symbol based on which __longjmp to generate.
25523 * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
25525 (setjmp): Rename to setjmp_symbol.
25526 (__sigsetjmp): Rename to __sigsetjmp_symbol.
25527 (_setjmp): Rename to _setjmp_symbol.
25528 (__sigsetjmp): Rename to __sigsetjmp_symbol.
25529 * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
25530 _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
25531 which setjmp to generate.
25532 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
25533 "longjmp_target" static probes.
25535 2013-12-05 Siddhesh Poyarekar <siddhesh@redhat.com>
25537 * benchtests/README: Add note about output arguments.
25538 * benchtests/bench-sincos.c: Remove file.
25539 * benchtests/sincos-inputs: New file.
25540 * scripts/bench.pl: Identify output arguments and define
25541 static variables for them.
25543 * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
25546 * Makefile (INSTALL): Add install-plain.texi as the primary
25548 * manual/install-plain.texi: New file.
25549 * manual/install.texi: Include node directive only for
25550 non-plaintext output.
25552 2013-12-04 Joseph Myers <joseph@codesourcery.com>
25554 * stdlib/longlong.h: Update from GCC.
25558 * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
25559 * math/w_j0f.c (y0f): Likewise.
25560 * math/w_j0l.c (__y0l): Likewise.
25561 * math/w_j1.c (y1): Likewise.
25562 * math/w_j1f.c (y1f): Likewise.
25563 * math/w_j1l.c (__y1l): Likewise
25564 * math/w_jn.c (yn): Likewise.
25565 * math/w_jnf.c (ynf): Likewise.
25566 * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
25567 Bessel function pole errors in _POSIX_ mode. Use NAN as return
25568 value for Bessel function domain errors outside _SVID_ mode.
25569 Adjust sign of return value for yn (negative integer, 0).
25570 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
25571 by zero in return for negative x and set sign appropriately for
25573 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
25574 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
25575 * math/libm-test.inc (y0_test_data): Add more tests and adjust
25576 expectations in error cases.
25577 (y1_test_data): Likewise.
25578 (yn_test_data): Likewise.
25579 * sysdeps/i386/fpu/libm-test-ulps: Update.
25580 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25582 2013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
25584 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
25585 "64" to "64-v1". Add "64-v2".
25586 (abi-64-options): Rename to ...
25587 (abi-64-v1-options): ... this. Redefine _CALL_ELF.
25588 (abi-64-condition): Rename to ...
25589 (abi-64-v1-condition): ... this. Add _CALL_ELF check.,
25590 (abi-64-ld-soname): Rename to ...
25591 (abi-64-v1-ld-soname): ... this.
25592 (abi-64-v2-options): Define.
25593 (abi-64-v2-condition): Likewise.
25594 (abi-64-v2-ld-soname): Likewise.
25595 * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
25596 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
25597 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
25598 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
25599 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
25601 2013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
25602 Alan Modra <amodra@gmail.com>
25604 * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
25605 New versions for use with the ELFv2 ABI.
25606 (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
25607 * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
25609 (struct La_ppc64v2_retval): Likewise.
25610 (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
25611 (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
25612 * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
25613 to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
25614 (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
25615 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
25616 Do not save or restore CR.
25617 (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
25618 (_dl_profile_resolve): Do no save or restore CR. Support extended
25619 return values for ELFv2 ABI. Fix location of FPR return registers.
25620 * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
25621 updated values for _CALL_ELF == 2.
25622 (La_regs, La_retval, int_retval): Likewise.
25624 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
25626 * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
25627 (FRAME_MIN_SIZE_PARM): Likewise.
25628 (FRAME_BACKCHAIN): Likewise.
25629 (FRAME_CR_SAVE): Likewise.
25630 (FRAME_LR_SAVE): Likewise.
25631 (FRAME_TOC_SAVE): Likewise.
25632 (FRAME_PARM_SAVE): Likewise.
25633 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
25634 FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
25635 FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
25636 (call_mcount_parm_offset): New macro.
25637 (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
25638 (PROF): Use symbolic stack frame offsets.
25639 (TAIL_CALL_SYSCALL_ERROR): Likewise.
25640 * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
25641 Redefine in terms of FRAME_MIN_SIZE.
25642 (_dl_runtime_resolve): Use symbolic stack frame offsets.
25643 (_dl_profile_resolve): Likewise. Update comment.
25644 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
25645 symbols stack frame offsets.
25646 (__sigsetjmp): Likewise.
25647 * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
25648 * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
25649 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
25650 * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
25652 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
25653 (FRAME_BACKCHAIN): Remove.
25654 (FRAME_CR_SAVE): Likewise.
25655 (FRAME_LR_SAVE): Likewise.
25656 (FRAME_COMPILER_DW): Likewise.
25657 (FRAME_LINKER_DW): Likewise.
25658 (FRAME_TOC_SAVE): Likewise.
25659 (FRAME_PARM_SAVE): Likewise.
25660 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
25661 (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
25662 (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
25663 * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
25664 (CHECK_SP): Use symbolic stack frame offsets.
25665 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
25666 zone" instead of caller's parameter save area for temp storage.
25667 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
25668 Likewise. Also, use symbolic stack frame offsets.
25669 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
25670 stackblock): Redefine for _CALL_ELF == 2 to save parameters into
25671 our own stack frame instead of the caller's.
25672 (__socket): Use symbolic stack frame offsets.
25674 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
25675 Alan Modra <amodra@gmail.com>
25677 * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
25679 (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
25680 (PPC64_LOCAL_ENTRY_OFFSET): Define.
25681 * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
25683 (elf_machine_fixup_plt): Call it.
25684 (elf_machine_plt_conflict): Likewise. Add map, sym_map, and
25686 (elf_machine_rela): Update call to elf_machine_plt_conflict.
25687 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
25688 (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
25689 r2 before calling target.
25691 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
25692 Alan Modra <amodra@gmail.com>
25694 * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
25695 (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
25696 versions of macros to support ELFv2 ABI.
25697 (LOCALENTRY): New macro.
25698 (ENTRY, EALIGN): Use it.
25699 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
25700 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
25701 fall through into ENTRY entry point.
25702 * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
25703 Only define if _CALL_ELF != 2.
25705 (elf_machine_matches_host): Verify ABI version matches.
25706 (RTLD_START): Use LOCALENTRY.
25707 (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
25708 (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
25709 (PLT_ENTRY_WORDS): New macro.
25710 (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
25711 (elf_machine_runtime_setup): Support ELFv2 ABI.
25712 (elf_machine_fixup_plt): Likewise.
25713 (elf_machine_plt_conflict): Likewise.
25714 (resolve_ifunc): Likewise.
25715 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
25716 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
25718 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
25719 (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
25720 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
25721 (makecontext): Support ELFv2 ABI.
25722 * elf/elf.h (EF_PPC64_ABI): Define.
25724 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
25726 * sysdeps/powerpc/powerpc64/sysdep.h
25727 (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
25728 (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
25729 (ENTRY) [ASSEMBLER]: ... but instead here ...
25730 (EALIGN) [ASSEMBLER]: ... and here.
25731 (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
25732 (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
25733 (ENTRY_2) [!ASSEMBLER]: Use it.
25734 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
25735 ENTRY_2 changes. Use PPC64_LOAD_FUNCPTR.
25736 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
25737 (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
25738 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
25739 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
25740 Use PPC64_LOAD_FUNCPTR.
25742 * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
25744 2013-12-04 Alan Modra <amodra@gmail.com>
25746 * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
25747 (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
25748 (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
25749 (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
25751 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
25752 overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
25753 R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
25754 Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
25755 R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
25756 Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
25758 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
25760 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
25761 (__makecontext): Fix incorrect CFI when backtracing out of
25762 context created via makecontext.
25763 * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
25764 (__setcontext): Fix incorrect CFI during switch to new context.
25765 (__novec_setcontext): Likewise.
25767 2013-12-04 Ondřej Bílka <neleai@seznam.cz>
25770 * time/strptime_l.c (__strptime_internal): Allow modifiers
25772 * time/tst-strptime.c (day_tests): Add testcase.
25774 2013-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
25776 * scripts/bench.pl: Skip over blank lines.
25778 2013-12-04 Paul Eggert <eggert@cs.ucla.edu>
25781 * manual/time.texi (Calendar Time): Clarify what timezone functions
25784 2013-12-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25786 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25788 2013-12-04 Ondřej Bílka <neleai@seznam.cz>
25790 * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
25792 * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
25793 * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
25794 * debug/memset_chk.c (__memset_chk): Likewise.
25795 * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
25796 * debug/strncpy_chk.c: Likewise.
25798 2013-12-03 Joseph Myers <joseph@codesourcery.com>
25802 * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
25803 (__ieee754_exp): For possibly underflowing results, check size of
25804 result and force underflow exception if required.
25805 * math/auto-libm-test-in: Add more tests of exp.
25806 * math/auto-libm-test-out: Regenerated.
25807 * sysdeps/i386/fpu/libm-test-ulps: Update.
25808 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25811 * math/w_exp2.c (__exp2): Handle a zero result as underflow.
25812 * math/w_exp2f.c (__exp2f): Likewise.
25813 * math/w_exp2l.c (__exp2l): Likewise.
25814 * math/auto-libm-test-in: Do not allow missing errno on exp2
25816 * math/auto-libm-test-out: Regenerated.
25818 2013-12-03 Ondřej Bílka <neleai@seznam.cz>
25821 * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
25822 handle filename validation.
25823 * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
25826 2013-12-03 Joseph Myers <joseph@codesourcery.com>
25829 * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
25830 (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
25831 * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
25833 (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
25834 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
25835 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
25836 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
25837 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
25838 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
25839 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
25840 * math/auto-libm-test-in: Don't allow missing errno from erfc.
25841 Add more erfc tests.
25842 * math/auto-libm-test-out: Regenerated.
25843 * sysdeps/i386/fpu/libm-test-ulps: Update.
25844 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25846 * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
25847 exp2, expm1, j0 and j1.
25848 * math/auto-libm-test-out: Regenerated.
25849 * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
25850 (erfc_test_data): Likewise.
25851 (exp_test_data): Likewise.
25852 (exp_tonearest_test_data): Likewise.
25853 (exp_towardzero_test_data): Likewise.
25854 (exp_downward_test_data): Likewise.
25855 (exp_upward_test_data): Likewise.
25856 (exp10_test_data): Likewise.
25857 (exp2_test_data): Likewise.
25858 (expm1_test_data): Likewise.
25859 (j0_test_data): Likewise.
25860 (j1_test_data): Likewise.
25861 * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
25862 (input_flag_type): Add flag_xfail_rounding.
25863 (input_flags): Add xfail-rounding.
25864 (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
25865 (output_for_one_input_case): Handle flag_xfail_rounding.
25866 * sysdeps/i386/fpu/libm-test-ulps: Update.
25867 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25869 2013-12-03 Aurelien Jarno <aurelien@aurel32.net>
25872 * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
25875 2013-12-03 Siddhesh Poyarekar <siddhesh@redhat.com>
25878 * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
25879 (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
25880 (STAP_PROBE0): New macro.
25881 (STAP_PROBE1): Likewise.
25882 (STAP_PROBE2): Likewise.
25883 (STAP_PROBE3): Likewise.
25884 (STAP_PROBE4): Likewise.
25886 2013-12-02 Ondřej Bílka <neleai@seznam.cz>
25888 * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
25890 2013-12-02 Steve Ellcey <sellcey@mips.com>
25892 * benchtests/Makefile (bench): Add sqrt.
25893 (LDLIBS-bench-sqrt): New.
25894 * benchtests/sqrt-input: New.
25896 2013-12-02 Pavel Simerda <psimerda@redhat.com>
25898 * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
25899 (GAIH_EAI): Likewise.
25900 (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
25901 (gaih_inet): Likewise.
25902 (getaddrinfo): Don't use GAIH_EAI.
25904 * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
25905 (struct gaih): Remove definition.
25907 2013-12-02 Siddhesh Poyarekar <siddhesh@redhat.com>
25909 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
25910 Use HERRNOP directly.
25912 2013-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25914 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25916 2013-11-30 Joseph Myers <joseph@codesourcery.com>
25918 * math/gen-auto-libm-tests.c (test_functions): Add more
25919 single-argument functions.
25920 (special_fill_pi_2): New function.
25921 (special_fill_minus_pi_2): Likewise.
25922 (special_fill_pi_6): Likewise.
25923 (special_fill_minus_pi_6): Likewise.
25924 (special_fill_pi_3): Likewise.
25925 (special_fill_2pi_3): Likewise.
25926 (special_fill_e): Likewise.
25927 (special_fill_1_e): Likewise.
25928 (special_fill_e_minus_1): Likewise.
25929 (special_real_inputs): Add more special inputs.
25930 (output_for_one_input_case): Do not require ERANGE on underflow to
25931 zero if round-to-nearest result does not underflow to zero, unless
25932 exact results required.
25933 * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
25934 atan, atanh, cbrt, cos and cosh.
25935 * math/auto-libm-test-out: Regenerated.
25936 * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
25937 (acos_tonearest_test_data): Likewise.
25938 (acos_towardzero_test_data): Likewise.
25939 (acos_downward_test_data): Likewise.
25940 (acos_upward_test_data): Likewise.
25941 (acosh_test_data): Likewise.
25942 (asin_test_data): Likewise.
25943 (asin_tonearest_test_data): Likewise.
25944 (asin_towardzero_test_data): Likewise.
25945 (asin_upward_test_data): Likewise.
25946 (asinh_test_data): Likewise.
25947 (atan_test_data): Likewise.
25948 (atanh_test_data): Likewise.
25949 (cbrt_test_data): Likewise.
25950 (cos_test_data): Likewise.
25951 (cos_tonearest_test_data): Likewise.
25952 (cos_towardzero_test_data): Likewise.
25953 (cos_downward_test_data): Likewise.
25954 (cos_upward_test_data): Likewise.
25955 (cosh_test_data): Likewise.
25956 (cosh_tonearest_test_data): Likewise.
25957 (cosh_towardzero_test_data): Likewise.
25958 (cosh_downward_test_data): Likewise.
25959 (cosh_upward_test_data): Likewise.
25960 * sysdeps/i386/fpu/libm-test-ulps: Update.
25961 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25963 2013-11-29 Joseph Myers <joseph@codesourcery.com>
25966 * math/w_exp10.c (__exp10): Handle a zero result as underflow.
25967 * math/w_exp10f.c (__exp10f): Likewise.
25968 * math/w_exp10l.c (__exp10l): Likewise.
25969 * math/libm-test.inc (exp10_test_data): Add more tests and expect
25970 errno settings in existing tests.
25973 * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
25974 precision control set to double precision.
25975 * sysdeps/i386/fpu/w_sqrt.c: New file.
25976 * math/auto-libm-test-in: Add more tests.
25977 * math/auto-libm-test-out: Update.
25979 * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
25980 (sqrt_test_tonearest): New function.
25981 (sqrt_towardzero_test_data): New variable.
25982 (sqrt_test_towardzero): New function.
25983 (sqrt_downward_test_data): New variable.
25984 (sqrt_test_downward): New function.
25985 (sqrt_upward_test_data): New variable.
25986 (sqrt_test_upward): New function.
25987 (main): Call the new functions.
25989 * math/gen-auto-libm-tests.c: New file.
25990 * math/auto-libm-test-in: Likewise.
25991 * math/auto-libm-test-out: New generated file.
25992 * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
25994 (%beautify): Add generated representations of zero.
25995 (top level): Set $auto_input and call parse_auto_input.
25996 (beautify): Remove trailing "f" from hex float constants.
25997 (parse_args): Handle XFAIL_TEST.
25998 (convert_condition): New function.
25999 (or_value): Likewise.
26000 (or_cond_value): Likewise.
26001 (generate_testfile): Handle AUTO_TESTS_* lines.
26002 (parse_auto_input): New function.
26003 * math/libm-test.inc (XFAIL_TEST): New macro.
26004 (ERRNO_UNCHANGED): Update value.
26005 (ERRNO_EDOM): Likewise.
26006 (ERRNO_ERANGE): Likewise.
26007 (IGNORE_RESULT): Likewise.
26008 (TEST_COND_flt_32): New macro.
26009 (TEST_COND_dbl_64): Likewise.
26010 (TEST_COND_ldbl_96_intel): Likewise.
26011 (TEST_COND_ldbl_96_m68k): Likewise.
26012 (TEST_COND_ldbl_128): Likewise.
26013 (TEST_COND_ldbl_128ibm): Likewise.
26014 (TEST_COND_long32): Likewise.
26015 (TEST_COND_long64): Likewise.
26016 (TEST_COND_before_rounding): Likewise.
26017 (TEST_COND_after_rounding): Likewise.
26018 (enable_test): Handle XFAIL_TEST flag.
26019 (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
26020 with finite results.
26021 * math/Makefile ($(objpfx)libm-test.stmp): Depend on
26022 auto-libm-test-out.
26024 2013-11-29 Siddhesh Poyarekar <siddhesh@redhat.com>
26025 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
26028 * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
26029 __tls_get_addr_internal instead of __tls_get_offset in order to
26030 avoid GOT pointer dependency. Make rtld export
26031 __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
26032 __tls_get_addr since we are a __tls_get_offset platform.
26033 * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
26034 GOT pointer being set up before.
26035 * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
26037 2013-11-28 Joseph Myers <joseph@codesourcery.com>
26039 * manual/math.texi (Errors in Math Functions): Document accuracy
26043 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
26044 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
26045 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
26046 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
26047 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
26048 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
26049 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
26050 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
26051 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
26052 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
26053 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
26054 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
26055 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
26056 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
26057 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
26058 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
26060 * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
26061 * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
26062 * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
26063 * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
26064 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
26066 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
26068 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
26070 * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
26071 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
26072 (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
26073 atomic-feupdateenv and flt-rounds.
26074 * sysdeps/powerpc/nofpu/Versions (libc): Add
26075 __atomic_feholdexcept, __atomic_feclearexcept,
26076 __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
26077 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
26078 (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
26079 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
26080 (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
26082 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
26085 * manual/arith.texi (FP Exceptions): Document that exceptions may
26086 not be raised when matherr is used.
26087 (Math Error Reporting): Document overflow in directed rounding
26088 modes. Document that errno may not be set when finite values are
26089 returned on overflow. Document intent to set errno on underflow
26090 only for underflow to zero.
26093 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
26094 round-to-nearest then adjust result for other rounding modes.
26095 * include/fenv.h (fegetround): Use libm_hidden_proto.
26096 * math/fegetround.c (fegetround): Use libm_hidden_def.
26097 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
26098 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
26099 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
26100 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
26102 * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
26103 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
26104 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
26105 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
26107 2013-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
26110 * nss/Versions (libnss_files): Add
26111 _nss_files_gethostbyname3_r.
26112 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
26114 (HOST_DB_LOOKUP): Remove macro.
26115 (_nss_files_gethostbyname_r): Implement function without the
26116 HOST_DB_LOOKUP macro.
26117 (_nss_files_gethostbyname2_r): Likewise.
26119 2013-11-28 Ondřej Bílka <neleai@seznam.cz>
26121 * malloc/malloc.c (__libc_calloc): Make memset a tail call.
26123 2013-11-26 Uros Bizjak <ubizjak@gmail.com>
26125 * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
26126 _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
26129 2013-11-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26131 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
26132 __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
26133 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
26134 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
26135 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
26136 __fe_nomask_env_priv and attribute_hidden.
26137 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
26138 (libc_feupdateenv_test_ppc): Likewise.
26139 (libc_feresetround_ppc): Likewise.
26140 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
26141 (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
26142 compat_symbol macro.
26143 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
26144 (__fe_nomask_env): Likewise.
26145 * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
26147 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
26149 * string/Makefile: Remove ifunc tests.
26150 * string/test-string.h: Define TEST_IFUNC.
26151 * string/test-bcopy-ifunc.c: Remove.
26152 * string/test-bzero-ifunc.c: Likewise.
26153 * string/test-memccpy-ifunc.c: Likewise.
26154 * string/test-memchr-ifunc.c: Likewise.
26155 * string/test-memcmp-ifunc.c: Likewise.
26156 * string/test-memcpy-ifunc.c: Likewise.
26157 * string/test-memmem-ifunc.c: Likewise.
26158 * string/test-memmove-ifunc.c: Likewise.
26159 * string/test-mempcpy-ifunc.c: Likewise.
26160 * string/test-memrchr-ifunc.c: Likewise.
26161 * string/test-memset-ifunc.c: Likewise.
26162 * string/test-rawmemchr-ifunc.c: Likewise.
26163 * string/test-stpcpy-ifunc.c: Likewise.
26164 * string/test-stpncpy-ifunc.c: Likewise.
26165 * string/test-strcasecmp-ifunc.c: Likewise.
26166 * string/test-strcasestr-ifunc.c: Likewise.
26167 * string/test-strcat-ifunc.c: Likewise.
26168 * string/test-strchr-ifunc.c: Likewise.
26169 * string/test-strchrnul-ifunc.c: Likewise.
26170 * string/test-strcmp-ifunc.c: Likewise.
26171 * string/test-strcpy-ifunc.c: Likewise.
26172 * string/test-strcspn-ifunc.c: Likewise.
26173 * string/test-strlen-ifunc.c: Likewise.
26174 * string/test-strncasecmp-ifunc.c: Likewise.
26175 * string/test-strncat-ifunc.c: Likewise.
26176 * string/test-strncmp-ifunc.c: Likewise.
26177 * string/test-strncpy-ifunc.c: Likewise.
26178 * string/test-strnlen-ifunc.c: Likewise.
26179 * string/test-strpbrk-ifunc.c: Likewise.
26180 * string/test-strrchr-ifunc.c: Likewise.
26181 * string/test-strspn-ifunc.c: Likewise.
26182 * string/test-strstr-ifunc.c: Likewise.
26184 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
26186 * benchtests/Makefile: Remove ifunc tests.
26187 * benchtests/bench-string.h: Define TEST_IFUNC.
26188 * benchtests/bench-bcopy-ifunc.c: Remove.
26189 * benchtests/bench-bzero-ifunc.c: Likewise.
26190 * benchtests/bench-memccpy-ifunc.c: Likewise.
26191 * benchtests/bench-memchr-ifunc.c: Likewise.
26192 * benchtests/bench-memcmp-ifunc.c: Likewise.
26193 * benchtests/bench-memcpy-ifunc.c: Likewise.
26194 * benchtests/bench-memmem-ifunc.c: Likewise.
26195 * benchtests/bench-memmove-ifunc.c: Likewise.
26196 * benchtests/bench-mempcpy-ifunc.c: Likewise.
26197 * benchtests/bench-memrchr-ifunc.c: Likewise.
26198 * benchtests/bench-memset-ifunc.c: Likewise.
26199 * benchtests/bench-rawmemchr-ifunc.c: Likewise.
26200 * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
26201 * benchtests/bench-stpcpy-ifunc.c: Likewise.
26202 * benchtests/bench-stpncpy-ifunc.c: Likewise.
26203 * benchtests/bench-strcasecmp-ifunc.c: Likewise.
26204 * benchtests/bench-strcasestr-ifunc.c: Likewise.
26205 * benchtests/bench-strcat-ifunc.c: Likewise.
26206 * benchtests/bench-strchr-ifunc.c: Likewise.
26207 * benchtests/bench-strchrnul-ifunc.c: Likewise.
26208 * benchtests/bench-strcmp-ifunc.c: Likewise.
26209 * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
26210 * benchtests/bench-strcpy-ifunc.c: Likewise.
26211 * benchtests/bench-strcspn-ifunc.c: Likewise.
26212 * benchtests/bench-strlen-ifunc.c: Likewise.
26213 * benchtests/bench-strncasecmp-ifunc.c: Likewise.
26214 * benchtests/bench-strncat-ifunc.c: Likewise.
26215 * benchtests/bench-strncmp-ifunc.c: Likewise.
26216 * benchtests/bench-strncpy-ifunc.c: Likewise.
26217 * benchtests/bench-strnlen-ifunc.c: Likewise.
26218 * benchtests/bench-strpbrk-ifunc.c: Likewise.
26219 * benchtests/bench-strrchr-ifunc.c: Likewise.
26220 * benchtests/bench-strsep-ifunc.c: Likewise.
26221 * benchtests/bench-strspn-ifunc.c: Likewise.
26222 * benchtests/bench-strstr-ifunc.c: Likewise.
26224 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
26226 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
26228 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
26230 * resolv/netdb.h: Use __glibc_reserved instead __unused.
26231 * rt/aio.h: Likewise.
26232 * sysdeps/gnu/bits/utmp.h: Likewise.
26233 * sysdeps/gnu/bits/utmpx.h: Likewise.
26234 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
26235 * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
26236 * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
26237 * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
26238 * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
26239 * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
26240 * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
26241 * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
26242 * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
26243 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
26244 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
26245 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
26246 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
26247 * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
26248 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
26249 * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
26250 * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
26251 * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
26252 * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
26253 * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
26254 * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
26255 * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
26256 * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
26257 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
26258 * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
26259 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
26260 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
26261 * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
26262 * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
26263 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
26264 * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
26265 * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
26266 * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
26267 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
26268 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
26269 * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
26270 * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
26271 * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
26272 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
26273 * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
26274 * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
26275 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
26277 2013-11-25 Carlos O'Donell <carlos@redhat.com>
26280 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
26281 Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
26283 2013-11-25 Joseph Myers <joseph@codesourcery.com>
26285 * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
26286 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
26289 2013-11-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26291 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
26292 SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
26293 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
26294 (__fesetround): Remove define.
26295 * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
26296 rounding and exceptions handling.
26297 * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
26298 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
26299 (__fe_nomask_env): Likewise.
26300 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
26301 __fegetround instead of fegetround.
26302 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
26303 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
26305 2013-11-21 Roland McGrath <roland@hack.frob.com>
26307 * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
26310 * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
26312 2013-11-21 Meador Inge <meadori@codesourcery.com>
26315 * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
26316 (encrypt_r): Likewise.
26317 * malloc/obstack.h (obstack_free): Likewise.
26318 * posix/unistd.h (encrypt): Likewise.
26320 2013-11-21 Guy Martin <gmsoft@tuxicoman.be>
26322 * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
26323 DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
26324 DL_CALL_DT_FINI() that call the functions directly.
26325 * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
26326 * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
26327 * elf/dl-fini.c: Likewise.
26329 2013-11-20 Ondřej Bílka <neleai@seznam.cz>
26331 * malloc/hooks.c (memalign_check): Add alignment rounding.
26332 * malloc/malloc.c (_mid_memalign): New function.
26333 (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
26334 Implement by calling _mid_memalign.
26335 * manual/probes.texi (Memory Allocation Probes): Remove
26336 memory_valloc_retry and memory_pvalloc_retry.
26338 2013-11-20 Siddhesh Poyarekar <siddhesh@redhat.com>
26340 * locale/programs/locarchive.c (open_archive): Add const
26341 qualifier to ARCHIVEFNAME and copy default fname to
26345 * libio/tst-widetext.input: Rename Oriya to Odia.
26346 * locale/iso-639.def: Likewise.
26348 * manual/probes.texi (Mathematical Function Probes): Add
26349 documentation for sin, cos, asin and acos probes.
26350 * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
26351 (__sin32): Add slowasin probe.
26352 (__cos32): Add slowacos probe.
26353 (__mpsin): Add slowsin probe.
26354 (__mpcos): Add slowcos probe.
26356 2013-11-19 Joseph Myers <joseph@codesourcery.com>
26359 * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
26360 thread-local __sim_exceptions_thread and global
26361 __sim_exceptions_global.
26362 (__sim_disabled_exceptions): Change to thread-local
26363 __sim_disabled_exceptions_thread and global
26364 __sim_disabled_exceptions_global.
26365 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
26366 and global __sim_round_mode_global.
26367 (__simulate_exceptions): Use thread-local floating-point state and
26368 set global state from it as needed.
26369 * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
26370 __sim_exceptions_thread, __sim_disabled_exceptions_thread and
26371 __sim_round_mode_thread.
26372 * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
26373 (__sim_exceptions): Change to thread-local __sim_exceptions_thread
26374 and global __sim_exceptions_global.
26375 (__sim_disabled_exceptions): Change to thread-local
26376 __sim_disabled_exceptions_thread and global
26377 __sim_disabled_exceptions_global.
26378 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
26379 and global __sim_round_mode_global.
26380 [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
26381 (SIM_SET_GLOBAL): Likewise.
26382 * sysdeps/powerpc/soft-fp/sfp-machine.h
26383 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
26384 __sim_round_mode_thread.
26385 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
26386 __sim_disabled_exceptions_thread.
26387 (__sim_exceptions): Change to __sim_exceptions_thread.
26388 (__sim_disabled_exceptions): Change to
26389 __sim_disabled_exceptions_thread.
26390 (__sim_round_mode): Change to __sim_round_mode_thread.
26391 * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
26392 thread-local floating-point state and set global state from it as
26394 * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
26395 * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
26396 (__sim_disabled_exceptions): Remove extern declaration.
26397 (feenableexcept): Use thread-local floating-point state and set
26398 global state from it as needed.
26399 * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
26400 extern declaration.
26401 (__sim_disabled_exceptions): Likewise.
26402 (__sim_round_mode): Likewise.
26403 (__fegetenv): Use thread-local floating-point state.
26404 * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
26405 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
26406 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
26407 floating-point state and set global state from it as needed.
26408 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
26409 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
26410 * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
26412 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
26413 * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
26415 sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
26416 * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
26417 Use __sim_round_mode_thread.
26418 * math/test-fenv-tls.c: New file.
26419 * math/Makefile (tests): Add test-fenv-tls.
26420 ($(objpfx)test-fenv-tls): Depend on
26421 $(common-objpfx)nptl/libpthread.so.
26423 2013-11-19 Andreas Schwab <schwab@suse.de>
26425 * locale/programs/locale.c (show_info): Decode wordarray elements.
26426 * locale/categories.def (LC_MONETARY): Add element for
26427 _NL_MONETARY_CRNCYSTR.
26428 * locale/C-monetary.c (conversion_rate): New variable.
26429 (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
26432 2013-11-18 Chris Metcalf <cmetcalf@tilera.com>
26434 * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
26435 Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
26437 2013-11-18 Paul Pluzhnikov <ppluzhnikov@google.com>
26439 * elf/Makefile (tst-auxv): New test.
26440 * elf/tst-auxv.c: New
26441 * elf/rtld.c (dl_main): Adjust AT_EXECFN
26443 2013-11-18 Joseph Myers <joseph@codesourcery.com>
26445 * include/libc-symbols.h (__hidden_proto): Add argument "thread".
26446 (hidden_proto): Caller changed.
26447 (hidden_tls_proto): New macro.
26448 (libc_hidden_tls_proto): Likewise.
26449 (rtld_hidden_tls_proto): Likewise.
26450 (libm_hidden_tls_proto): Likewise.
26451 (libresolv_hidden_tls_proto): Likewise.
26452 (librt_hidden_tls_proto): Likewise.
26453 (libdl_hidden_tls_proto): Likewise.
26454 (libnss_files_hidden_tls_proto): Likewise.
26455 (libnsl_hidden_tls_proto): Likewise.
26456 (libnss_nisplus_hidden_tls_proto): Likewise.
26457 (libutil_hidden_tls_proto): Likewise.
26459 2013-11-18 Ondřej Bílka <neleai@seznam.cz>
26462 * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
26463 (decompose_rpath): Defer expansion to fillin_rpath.
26464 (_dl_init_paths): Pass linkmap to fillin_rpath.
26466 2013-11-18 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
26468 * benchtests/Makefile: Add strsep.
26469 * benchtests/bench-strsep.c: New file: strsep benchtest.
26470 * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
26472 2013-11-18 Andreas Schwab <schwab@suse.de>
26474 * locale/programs/locale.c (show_info) [case byte]: Check for
26475 '\377' instead of '\177'.
26476 * locale/C-monetary.c (not_available): Always use "\377".
26477 * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
26478 unspecified p_sign_posn and n_sign_posn. Check for '\377' to
26479 detect unavailable sign_posn locale elements.
26480 * locale/localeconv.c (__localeconv): For grouping and
26481 mon_grouping handle "\177" and "\377" like no grouping.
26482 (INT_ELEM): New macro. Use it to set all numeric members.
26483 * locale/programs/ld-monetary.c (monetary_read)
26484 <tok_mon_grouping>: Normalize single -1 to the empty string.
26485 * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
26488 2013-11-07 Ondřej Bílka <neleai@seznam.cz>
26491 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
26492 when we match (nil).
26493 * stdio-common/tst-sscanf.c (struct test): Add testcase.
26495 2013-11-16 Joseph Myers <joseph@codesourcery.com>
26497 * math/libm-test.inc (TEST_NAN_SIGN): New macro.
26498 (NO_TEST_INLINE): Update value.
26499 (ERRNO_UNCHANGED): Likewise.
26500 (ERRNO_EDOM): Likewise.
26501 (ERRNO_ERANGE): Likewise.
26502 (IGNORE_RESULT): Likewise.
26503 (check_float_internal): Check signs of NaN results if
26504 TEST_NAN_SIGN used.
26505 (check_complex): Pass TEST_NAN_SIGN flag through to second
26506 check_float_internal call.
26507 (copysign_test_data): Add tests with quiet NaNs as second
26508 argument. Use TEST_NAN_SIGN.
26509 (fabs_test_data): Add test of negative quiet NaN argument. Use
26511 (signbit_test_data): Add tests of quiet NaN argument.
26512 * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
26514 * math/gen-libm-test.pl (show_exceptions): Take extra argument
26516 (parse_args): Handle function results specified as IGNORE.
26517 * math/libm-test.inc (IGNORE_RESULT): New macro.
26518 (check_float_internal): Do not check numerical result if flag
26520 (check_complex): Pass through IGNORE_RESULT to second
26521 check_float_internal call.
26522 (check_int): Do not check numerical result if flag IGNORE_RESULT
26524 (check_long): Likewise.
26525 (check_bool): Likewise.
26526 (check_longlong): Likewise.
26527 (lrint_test_data): Add tests of infinite and NaN arguments.
26528 (lrint_tonearest_test_data): Likewise.
26529 (lrint_towardzero_test_data): Likewise.
26530 (lrint_downward_test_data): Likewise.
26531 (lrint_upward_test_data): Likewise.
26532 (llrint_test_data): Likewise.
26533 (llrint_tonearest_test_data): Likewise.
26534 (llrint_towardzero_test_data): Likewise.
26535 (llrint_downward_test_data): Likewise.
26536 (llrint_upward_test_data): Likewise.
26537 (lround_test_data): Likewise.
26538 (llround_test_data): Likewise.
26540 * math/libm-test.inc (NO_TEST_INLINE): New macro.
26541 (ERRNO_UNCHANGED): Update value.
26542 (ERRNO_EDOM): Likewise.
26543 (ERRNO_ERANGE): Likewise.
26544 (NO_TEST_INLINE_FLOAT): New macro.
26545 (NO_TEST_INLINE_DOUBLE): Likewise.
26546 (enable_test): New function.
26547 (RUN_TEST_f_f): Check enable_test before running test.
26548 (RUN_TEST_2_f): Likewise.
26549 (RUN_TEST_fff_f): Likewise.
26550 (RUN_TEST_c_f): Likewise.
26551 (RUN_TEST_f_f1): Likewise.
26552 (RUN_TEST_fF_f1): Likewise.
26553 (RUN_TEST_fI_f1): Likewise.
26554 (RUN_TEST_ffI_f1): Likewise.
26555 (RUN_TEST_c_c): Likewise.
26556 (RUN_TEST_cc_c): Likewise.
26557 (RUN_TEST_f_i): Likewise.
26558 (RUN_TEST_f_i_tg): Likewise.
26559 (RUN_TEST_ff_i_tg): Likewise.
26560 (RUN_TEST_f_b): Likewise.
26561 (RUN_TEST_f_b_tg): Likewise.
26562 (RUN_TEST_f_l): Likewise.
26563 (RUN_TEST_f_L): Likewise.
26564 (RUN_TEST_fFF_11): Likewise.
26565 (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
26567 (cosh_test_data): Likewise.
26568 (exp_test_data): Likewise.
26569 (expm1_test_data): Likewise.
26570 (hypot_test_data): Likewise.
26571 (pow_test_data): Likewise.
26572 (sinh_test_data): Likewise.
26573 (tanh_test_data): Likewise.
26574 * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
26577 * libm-test.inc (acos_test_data): Disallow inexact exceptions for
26578 tests with quiet NaN input and output.
26579 (acosh_test_data): Likewise.
26580 (asin_test_data): Likewise.
26581 (asinh_test_data): Likewise.
26582 (atan_test_data): Likewise.
26583 (atanh_test_data): Likewise.
26584 (atan2_test_data): Likewise.
26585 (cbrt_test_data): Likewise.
26586 (cos_test_data): Likewise.
26587 (cosh_test_data): Likewise.
26588 (erf_test_data): Likewise.
26589 (erfc_test_data): Likewise.
26590 (exp_test_data): Likewise.
26591 (exp10_test_data): Likewise.
26592 (exp2_test_data): Likewise.
26593 (expm1_test_data): Likewise.
26594 (hypot_test_data): Likewise.
26595 (j0_test_data): Likewise.
26596 (j1_test_data): Likewise.
26597 (jn_test_data): Likewise.
26598 (lgamma_test_data): Likewise.
26599 (log_test_data): Likewise.
26600 (log10_test_data): Likewise.
26601 (log1p_test_data): Likewise.
26602 (log2_test_data): Likewise.
26603 (pow_test_data): Likewise.
26604 (scalb_test_data): Likewise.
26605 (sin_test_data): Likewise.
26606 (sincos_test_data): Likewise.
26607 (sinh_test_data): Likewise.
26608 (tan_test_data): Likewise.
26609 (tanh_test_data): Likewise.
26610 (tgamma_test_data): Likewise.
26611 (y0_test_data): Likewise.
26612 (y1_test_data): Likewise.
26613 (yn_test_data): Likewise.
26616 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
26617 argument being NaN and avoid computations with second argument in
26619 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
26620 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
26621 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
26623 2013-11-15 Arun Kumar Pyasi <arun@chitwanix.com>
26625 * locale/iso-639.def: Add Chitwani Tharu (the).
26627 2013-11-14 Andreas Schwab <schwab@suse.de>
26629 * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
26630 word instead of empty string.
26632 2013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26634 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
26635 (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
26636 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
26637 (__fe_nomask_env): Likewise.
26639 2013-11-13 Steve Ellcey <sellcey@mips.com>
26641 * benchtests/bench-timing.h: Include time.h.
26643 2013-11-13 H.J. Lu <hongjiu.lu@intel.com>
26646 * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
26648 * sysdeps/unix/sysv/linux/configure: Regenerated.
26650 2013-11-13 Joseph Myers <joseph@codesourcery.com>
26653 * stdlib/strtod_l.c (round_and_return): Do not consider
26654 retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
26655 exponent one less than half the least subnormal exponent.
26656 * stdlib/test-strtod-round-data: Add more tests.
26657 * stdlib/tst-strtod-round.c (tests): Regenerated.
26659 2013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26662 * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
26663 (__fe_mask_env): Likewise.
26664 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
26665 libm_hidden_proto and add function prototype.
26666 (__fe_mask_env): Add function prototype.
26667 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
26668 (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
26669 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
26670 (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
26671 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
26672 (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
26674 2013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
26676 * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
26677 set reference_name to "" to avoid passing NULL to DSO_FILENAME.
26679 2013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
26681 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
26682 of htab_find_slot().
26684 2013-11-11 David S. Miller <davem@davemloft.net>
26687 * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
26688 symbol in the non-vis3 case in static builds.
26689 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
26690 * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
26691 * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
26692 * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
26694 2013-11-11 Jan Kratochvil <jan.kratochvil@redhat.com>
26697 * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
26700 2013-11-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26702 * benchtests/Makefile: Add bench-strtod.
26703 * benchtests/bench-strtod.c: New file: strtod benchtest
26705 2013-11-11 Andreas Schwab <schwab@suse.de>
26708 * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
26709 terminating NUL in key length.
26711 2013-11-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26713 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
26714 Add artificial ODP entry for vDSO symbol for PPC64.
26715 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
26716 * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
26718 2013-11-07 Ondřej Bílka <neleai@seznam.cz>
26721 * nss/getent.c (services_keys): Recognize services starting with digit.
26723 2013-11-06 David S. Miller <davem@davemloft.net>
26726 * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
26727 on pre-v9 cpus, use a fnegs+fmovs sequence instead.
26729 2013-11-06 Will Newton <will.newton@linaro.org>
26731 * manual/memory.texi (Malloc Examples): Remove register
26732 keyword from examples.
26734 2013-11-04 Chris Leonard <cjl@sugarlabs.org>
26736 * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
26738 2013-11-04 Joseph Myers <joseph@codesourcery.com>
26741 * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
26742 depending on [__GCC_IEC_559 > 0].
26743 [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
26744 depending on [__GCC_IEC_559_COMPLEX > 0].
26746 2013-11-03 Chris Leonard <cjl@sugarlabs.org>
26748 * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
26751 2013-11-03 Ondřej Bílka <neleai@seznam.cz>
26753 * elf/rtld.c: Remove unused NONTLS_INIT_TP.
26755 2013-11-01 Ondřej Bílka <neleai@seznam.cz>
26758 * malloc/malloc (malloc_info): Do not handle first bin as
26761 2013-11-01 Chris Leonard <cjl@sugarlabs.org>
26763 * locale/iso-639.def: Add Central Nahuatl (nhn).
26765 2013-11-01 Bruno Haible <bruno@clisp.org>
26768 * manual/math.texi (BSD Random): Specify range upper bound as
26771 2013-10-31 Chris Leonard <cjl@sugarlabs.org>
26773 * locale/iso-639.def: Add Meadow Mari (mhr).
26775 2013-10-31 Ondřej Bílka <neleai@seznam.cz>
26777 [BZ #14752], [BZ #15763]
26778 * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
26780 * rt/tst_shm.c: Add test for escaping directory.
26782 2013-10-31 Andreas Schwab <schwab@suse.de>
26785 * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
26786 followed by 'x' as part of digit sequence.
26787 * stdio-common/tst-sscanf.c (double_tests2): New tests.
26789 2013-10-31 Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
26792 * configure.ac: allow GNU Make 4.0 and greater.
26793 * configure: Regenerated.
26795 2013-10-30 Will Newton <will.newton@linaro.org>
26798 * malloc/hooks.c (memalign_check): Limit alignment to the
26799 maximum representable power of two.
26800 * malloc/malloc.c (__libc_memalign): Likewise.
26801 * malloc/tst-memalign.c (do_test): Add test for very
26802 large alignment values.
26803 * malloc/tst-posix_memalign.c (do_test): Likewise.
26805 2013-10-30 Ondřej Bílka <neleai@seznam.cz>
26808 * malloc/malloc.c (sysmalloc): Compute statistics atomically.
26809 (munmap_chunk): Likewise.
26810 (mremap_chunk): Likewise.
26812 2013-10-30 Ondřej Bílka <neleai@seznam.cz>
26815 * stdlib/div.c (div): Remove obsolete code.
26816 * stdlib/ldiv.c (ldiv): Likewise.
26817 * stdlib/lldiv.c (lldiv): Likewise.
26819 2013-10-30 Siddhesh Poyarekar <siddhesh@redhat.com>
26822 * nss/nss_files/files-XXX.c (get_contents_ret): New
26824 (get_contents): New function.
26825 (internal_getent): Use it. Expand size of LINEBUFLEN.
26827 2013-10-30 Mike Frysinger <vapier@gentoo.org>
26829 * configure.in: Moved to ...
26830 * configure.ac: ... here. Change reference to configure.in
26832 * sysdeps/arm/preconfigure.ac: ... here.
26833 configure.in to configure.ac.
26834 * sysdeps/gnu/configure.in: Moved to ...
26835 * sysdeps/gnu/configure.ac: ... here.
26836 * sysdeps/i386/configure.in: Moved to ...
26837 * sysdeps/i386/configure.ac: ... here.
26838 * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
26839 * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
26840 * sysdeps/mach/configure.in: Moved to ...
26841 * sysdeps/mach/configure.ac: ... here.
26842 * sysdeps/mach/hurd/configure.in: Moved to ...
26843 * sysdeps/mach/hurd/configure.ac: ... here.
26844 * sysdeps/powerpc/configure.in: Moved to ...
26845 * sysdeps/powerpc/configure.ac: ... here.
26846 * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
26847 * sysdeps/powerpc/powerpc32/configure.ac: ... here.
26848 * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
26849 * sysdeps/powerpc/powerpc64/configure.ac: ... here.
26850 * sysdeps/s390/s390-32/configure.in: Moved to ...
26851 * sysdeps/s390/s390-32/configure.ac: ... here.
26852 * sysdeps/s390/s390-64/configure.in: Moved to ...
26853 * sysdeps/s390/s390-64/configure.ac: ... here.
26854 * sysdeps/sh/configure.in: Moved to ...
26855 * sysdeps/sh/configure.ac: ... here.
26856 * sysdeps/sparc/configure.in: Moved to ...
26857 * sysdeps/sparc/configure.ac: ... here.
26858 * sysdeps/unix/sysv/linux/configure.in: Moved to ...
26859 * sysdeps/unix/sysv/linux/configure.ac: ... here.
26860 * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
26861 * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
26862 * sysdeps/x86_64/configure.in: Moved to ...
26863 * sysdeps/x86_64/configure.ac: ... here.
26864 * sysdeps/x86_64/preconfigure.in: Moved to ...
26865 * sysdeps/x86_64/preconfigure.ac: ... here.
26866 * aclocal.m4: Change reference to configure.in to configure.ac.
26867 * config.h.in: Likewise.
26868 * manual/install.texi: Likewise.
26869 * manual/maint.texi: Likewise.
26870 * Makefile: Likewise.
26871 * malloc/Makefile: Likewise.
26872 * nscd/Makefile: Likewise.
26873 * Makeconfig: Change reference to configure.in and
26874 preconfigure.in to configure.ac and preconfigure.ac
26876 * INSTALL: Regenerated.
26877 * configure: Likewise.
26878 * sysdeps/gnu/configure: Likewise.
26879 * sysdeps/i386/configure: Likewise.
26880 * sysdeps/ieee754/ldbl-opt/configure: Likewise.
26881 * sysdeps/mach/configure: Likewise.
26882 * sysdeps/mach/hurd/configure: Likewise.
26883 * sysdeps/powerpc/configure: Likewise.
26884 * sysdeps/powerpc/powerpc32/configure: Likewise.
26885 * sysdeps/powerpc/powerpc64/configure: Likewise.
26886 * sysdeps/s390/s390-32/configure: Likewise.
26887 * sysdeps/s390/s390-64/configure: Likewise.
26888 * sysdeps/sh/configure: Likewise.
26889 * sysdeps/sparc/configure: Likewise.
26890 * sysdeps/unix/sysv/linux/configure: Likewise.
26891 * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
26892 * sysdeps/x86_64/configure: Likewise.
26893 * sysdeps/x86_64/preconfigure: Likewise.
26895 2013-10-29 Andreas Schwab <schwab@suse.de>
26897 * stdio-common/Makefile (tst-swscanf-ENV): Define.
26899 2013-10-28 Siddhesh Poyarekar <siddhesh@redhat.com>
26901 * benchtests/pow-inputs: Add new inputs.
26903 * benchtests/exp-inputs: Add new inputs.
26905 * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
26906 conditional check for return value.
26907 (__cos32): Likewise.
26909 2013-10-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26911 * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
26912 to provide a boost for large inputs with word alignment.
26913 * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
26914 implementation based on optimized PPC64 strcpy.
26915 * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
26916 strcpy for PPC64/POWER7 based on both doubleword and word load/store.
26917 * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
26918 stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
26920 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
26923 * manual/socket.texi (Host Names): Fix gethostbyname_r example.
26925 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
26928 * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
26929 * time/tst-strptime.c (day_tests): Add testcase.
26931 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
26934 * manual/pattern.texi: Acknowledge that fnmatch can fail.
26936 2013-10-25 Fabrice Bauzac <fbauzac@debian71.nce.amadeus.net>
26939 * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
26940 MAP_FAILED on error.
26942 2013-10-25 Siddhesh Poyarekar <siddhesh@redhat.com>
26945 * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
26946 heap for large requests.
26948 2013-10-25 Aurelien Jarno <aurelien@aurel32.net>
26951 * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
26952 result if the result has no associated interface.
26953 * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
26954 interface for all 127.X.Y.Z addresses.
26956 2013-10-24 Chris Leonard <cjl@sugarlabs.org>
26958 * locale/iso-639.def: Add Ligurian (lij)
26960 2013-10-21 Ondřej Bílka <neleai@seznam.cz>
26963 * sunrpc/rpc_main.c: Document rpcgen -5.
26965 2013-10-19 Michael Stahl <mstahl@redhat.com>
26967 * elf/rtld.c (do_preload): Print the reason why preloading failed.
26969 2013-10-19 Ondřej Bílka <neleai@seznam.cz>
26972 * posix/glob.c: Match only directories when trailing slash is present.
26973 * posix/tst-gnuglob.c (my_opendir): Do not open files.
26974 (main): Add testcase.
26976 2013-10-19 Ondřej Bílka <neleai@seznam.cz>
26979 * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
26981 2013-10-18 Carlos O'Donell <carlos@redhat.com>
26983 * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
26984 AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
26985 AUTH_DES and cindex for FIPS 140-2.
26986 (DES Encryption): Add cindex FIPS 46-3.
26988 * locale/locarchive.h (struct locarhandle): Add fname.
26989 * locale/programs/localedef.c (main): Pass ARGV[remaining]
26990 if an optional argument was specified to --list-archive,
26992 * locale/programs/locarchive.c (show_archive_content): Take new
26993 argument fname and pass it via ah.fname to open_archive.
26994 * locale/programs/localedef.h: Update decl.
26995 (open_archive): If AH->fname is non-null, open that file
26996 rather than the default file name, and don't ignore ENOENT.
26997 (create_archive): Set AH.fname to NULL.
26998 (delete_locales_from_archive): Likewise.
26999 (add_locales_to_archive): Likewise.
27000 * locale/programs/locfile.c (write_all_categories): Likewise.
27002 2013-10-18 Joseph Myers <joseph@codesourcery.com>
27003 Aldy Hernandez <aldyh@redhat.com>
27005 * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
27006 * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
27007 * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
27008 * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
27009 * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
27010 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
27011 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
27012 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
27013 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
27014 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
27015 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
27016 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
27017 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
27018 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
27019 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
27021 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
27023 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
27025 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
27027 * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
27028 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
27030 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
27031 * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
27032 * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
27033 * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
27035 * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
27036 * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
27037 * sysdeps/powerpc/preconfigure: Likewise.
27038 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
27040 * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
27041 Replace contents of file by #include of <fenv_libc.h>.
27042 * sysdeps/powerpc/soft-fp/sfp-machine.h
27043 [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
27045 [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
27046 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
27047 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
27048 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
27049 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
27050 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
27051 [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
27052 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
27053 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
27054 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
27055 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
27056 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
27057 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
27058 Allow copysignl PLT reference to be missing.
27060 2013-10-18 Richard Sandiford <richard@codesourcery.com>
27061 Joseph Myers <joseph@codesourcery.com
27064 * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
27066 (add_to_tablewc): Assert sequence of wide characters is nonempty.
27068 2013-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
27070 * elf/tst-tls-dlinfo.c: Don't include tls.h.
27071 * elf/tst-tls1.c: Likewise.
27072 * elf/tst-tls10.h: Likewise.
27073 * elf/tst-tls14.c: Likewise.
27074 * elf/tst-tls2.c: Likewise.
27075 * elf/tst-tls3.c: Likewise.
27076 * elf/tst-tls4.c: Likewise.
27077 * elf/tst-tls5.c: Likewise.
27078 * elf/tst-tls6.c: Likewise.
27079 * elf/tst-tls7.c: Likewise.
27080 * elf/tst-tls8.c: Likewise.
27081 * elf/tst-tls9.c: Likewise.
27082 * elf/tst-tlsmod1.c: Likewise.
27083 * elf/tst-tlsmod13.c: Likewise.
27084 * elf/tst-tlsmod13a.c: Likewise.
27085 * elf/tst-tlsmod14a.c: Likewise.
27086 * elf/tst-tlsmod16a.c: Likewise.
27087 * elf/tst-tlsmod16b.c: Likewise.
27088 * elf/tst-tlsmod2.c: Likewise.
27089 * elf/tst-tlsmod3.c: Likewise.
27090 * elf/tst-tlsmod4.c: Likewise.
27091 * elf/tst-tlsmod5.c: Likewise.
27092 * elf/tst-tlsmod6.c: Likewise.
27094 2013-10-18 Ondřej Bílka <neleai@seznam.cz>
27097 * malloc/malloc.c: remove checks for statistics.
27099 2013-10-17 Ondřej Bílka <neleai@seznam.cz>
27102 * inet/inet_net.c (inet_network): Detect additional invalid strings.
27103 * inet/tst-network.c: Add testcase.
27105 2013-10-17 Andreas Schwab <schwab@suse.de>
27108 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
27109 to determine canonical name.
27111 2013-10-17 Ondřej Bílka <neleai@seznam.cz>
27113 * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
27114 * sysdeps/ieee754/dbl-64/dla.h: Likewise.
27115 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
27116 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
27117 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
27118 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
27119 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
27120 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
27121 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
27122 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
27123 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
27124 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
27125 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
27126 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
27127 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
27128 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
27129 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
27130 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
27131 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
27132 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
27133 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
27134 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
27135 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
27136 * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
27137 * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
27138 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
27139 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
27140 * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
27141 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
27142 * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
27143 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
27144 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
27145 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
27146 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
27147 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
27148 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
27149 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
27150 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
27151 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
27152 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
27153 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
27154 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
27155 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
27156 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
27157 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
27158 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
27159 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
27160 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
27161 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
27162 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
27163 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
27164 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
27165 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
27166 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
27167 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
27168 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
27169 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
27170 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
27172 2013-10-17 Joseph Myers <joseph@codesourcery.com>
27175 * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
27176 make result into a quiet NaN.
27178 2013-10-16 Joseph Myers <joseph@codesourcery.com>
27180 * soft-fp/adddf3.c: Fix horizontal whitespace.
27181 * soft-fp/addsf3.c: Likewise.
27182 * soft-fp/addtf3.c: Likewise.
27183 * soft-fp/divdf3.c: Likewise.
27184 * soft-fp/divsf3.c: Likewise.
27185 * soft-fp/divtf3.c: Likewise.
27186 * soft-fp/double.h: Likewise.
27187 * soft-fp/eqdf2.c: Likewise.
27188 * soft-fp/eqsf2.c: Likewise.
27189 * soft-fp/eqtf2.c: Likewise.
27190 * soft-fp/extenddftf2.c: Likewise.
27191 * soft-fp/extended.h: Likewise.
27192 * soft-fp/extendsfdf2.c: Likewise.
27193 * soft-fp/extendsftf2.c: Likewise.
27194 * soft-fp/extendxftf2.c: Likewise.
27195 * soft-fp/fixdfdi.c: Likewise.
27196 * soft-fp/fixdfsi.c: Likewise.
27197 * soft-fp/fixdfti.c: Likewise.
27198 * soft-fp/fixsfdi.c: Likewise.
27199 * soft-fp/fixsfsi.c: Likewise.
27200 * soft-fp/fixsfti.c: Likewise.
27201 * soft-fp/fixtfdi.c: Likewise.
27202 * soft-fp/fixtfsi.c: Likewise.
27203 * soft-fp/fixtfti.c: Likewise.
27204 * soft-fp/fixunsdfdi.c: Likewise.
27205 * soft-fp/fixunsdfsi.c: Likewise.
27206 * soft-fp/fixunsdfti.c: Likewise.
27207 * soft-fp/fixunssfdi.c: Likewise.
27208 * soft-fp/fixunssfsi.c: Likewise.
27209 * soft-fp/fixunssfti.c: Likewise.
27210 * soft-fp/fixunstfdi.c: Likewise.
27211 * soft-fp/fixunstfsi.c: Likewise.
27212 * soft-fp/fixunstfti.c: Likewise.
27213 * soft-fp/floatdidf.c: Likewise.
27214 * soft-fp/floatdisf.c: Likewise.
27215 * soft-fp/floatditf.c: Likewise.
27216 * soft-fp/floatsidf.c: Likewise.
27217 * soft-fp/floatsisf.c: Likewise.
27218 * soft-fp/floatsitf.c: Likewise.
27219 * soft-fp/floattidf.c: Likewise.
27220 * soft-fp/floattisf.c: Likewise.
27221 * soft-fp/floattitf.c: Likewise.
27222 * soft-fp/floatundidf.c: Likewise.
27223 * soft-fp/floatundisf.c: Likewise.
27224 * soft-fp/floatunditf.c: Likewise.
27225 * soft-fp/floatunsidf.c: Likewise.
27226 * soft-fp/floatunsisf.c: Likewise.
27227 * soft-fp/floatunsitf.c: Likewise.
27228 * soft-fp/floatuntidf.c: Likewise.
27229 * soft-fp/floatuntisf.c: Likewise.
27230 * soft-fp/floatuntitf.c: Likewise.
27231 * soft-fp/fmadf4.c: Likewise.
27232 * soft-fp/fmasf4.c: Likewise.
27233 * soft-fp/fmatf4.c: Likewise.
27234 * soft-fp/gedf2.c: Likewise.
27235 * soft-fp/gesf2.c: Likewise.
27236 * soft-fp/getf2.c: Likewise.
27237 * soft-fp/ledf2.c: Likewise.
27238 * soft-fp/lesf2.c: Likewise.
27239 * soft-fp/letf2.c: Likewise.
27240 * soft-fp/muldf3.c: Likewise.
27241 * soft-fp/mulsf3.c: Likewise.
27242 * soft-fp/multf3.c: Likewise.
27243 * soft-fp/negdf2.c: Likewise.
27244 * soft-fp/negsf2.c: Likewise.
27245 * soft-fp/negtf2.c: Likewise.
27246 * soft-fp/op-1.h: Likewise.
27247 * soft-fp/op-2.h: Likewise.
27248 * soft-fp/op-4.h: Likewise.
27249 * soft-fp/op-8.h: Likewise.
27250 * soft-fp/op-common.h: Likewise.
27251 * soft-fp/quad.h: Likewise.
27252 * soft-fp/single.h: Likewise.
27253 * soft-fp/soft-fp.h: Likewise.
27254 * soft-fp/sqrtdf2.c: Likewise.
27255 * soft-fp/sqrtsf2.c: Likewise.
27256 * soft-fp/sqrttf2.c: Likewise.
27257 * soft-fp/subdf3.c: Likewise.
27258 * soft-fp/subsf3.c: Likewise.
27259 * soft-fp/subtf3.c: Likewise.
27260 * soft-fp/truncdfsf2.c: Likewise.
27261 * soft-fp/trunctfdf2.c: Likewise.
27262 * soft-fp/trunctfsf2.c: Likewise.
27263 * soft-fp/trunctfxf2.c: Likewise.
27264 * soft-fp/unorddf2.c: Likewise.
27265 * soft-fp/unordsf2.c: Likewise.
27266 * soft-fp/unordtf2.c: Likewise.
27268 2013-10-15 Joseph Myers <joseph@codesourcery.com>
27270 * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
27271 * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
27273 2013-10-15 Ondřej Bílka <neleai@seznam.cz>
27275 * elf/dl-libc.c: Clear initfini list after freeing.
27277 2013-10-14 Joseph Myers <joseph@codesourcery.com>
27279 * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
27280 * soft-fp/addsf3.c: Likewise.
27281 * soft-fp/addtf3.c: Likewise.
27282 * soft-fp/divdf3.c: Likewise.
27283 * soft-fp/divsf3.c: Likewise.
27284 * soft-fp/divtf3.c: Likewise.
27285 * soft-fp/double.h: Likewise.
27286 * soft-fp/eqdf2.c: Likewise.
27287 * soft-fp/eqsf2.c: Likewise.
27288 * soft-fp/eqtf2.c: Likewise.
27289 * soft-fp/extenddftf2.c: Likewise.
27290 * soft-fp/extended.h: Likewise.
27291 * soft-fp/extendsfdf2.c: Likewise.
27292 * soft-fp/extendsftf2.c: Likewise.
27293 * soft-fp/extendxftf2.c: Likewise.
27294 * soft-fp/fixdfdi.c: Likewise.
27295 * soft-fp/fixdfsi.c: Likewise.
27296 * soft-fp/fixdfti.c: Likewise.
27297 * soft-fp/fixsfdi.c: Likewise.
27298 * soft-fp/fixsfsi.c: Likewise.
27299 * soft-fp/fixsfti.c: Likewise.
27300 * soft-fp/fixtfdi.c: Likewise.
27301 * soft-fp/fixtfsi.c: Likewise.
27302 * soft-fp/fixtfti.c: Likewise.
27303 * soft-fp/fixunsdfdi.c: Likewise.
27304 * soft-fp/fixunsdfsi.c: Likewise.
27305 * soft-fp/fixunsdfti.c: Likewise.
27306 * soft-fp/fixunssfdi.c: Likewise.
27307 * soft-fp/fixunssfsi.c: Likewise.
27308 * soft-fp/fixunssfti.c: Likewise.
27309 * soft-fp/fixunstfdi.c: Likewise.
27310 * soft-fp/fixunstfsi.c: Likewise.
27311 * soft-fp/fixunstfti.c: Likewise.
27312 * soft-fp/floatdidf.c: Likewise.
27313 * soft-fp/floatdisf.c: Likewise.
27314 * soft-fp/floatditf.c: Likewise.
27315 * soft-fp/floatsidf.c: Likewise.
27316 * soft-fp/floatsisf.c: Likewise.
27317 * soft-fp/floatsitf.c: Likewise.
27318 * soft-fp/floattidf.c: Likewise.
27319 * soft-fp/floattisf.c: Likewise.
27320 * soft-fp/floattitf.c: Likewise.
27321 * soft-fp/floatundidf.c: Likewise.
27322 * soft-fp/floatundisf.c: Likewise.
27323 * soft-fp/floatunsidf.c: Likewise.
27324 * soft-fp/floatunsisf.c: Likewise.
27325 * soft-fp/floatuntidf.c: Likewise.
27326 * soft-fp/floatuntisf.c: Likewise.
27327 * soft-fp/floatuntitf.c: Likewise.
27328 * soft-fp/fmadf4.c: Likewise.
27329 * soft-fp/fmasf4.c: Likewise.
27330 * soft-fp/fmatf4.c: Likewise.
27331 * soft-fp/gedf2.c: Likewise.
27332 * soft-fp/gesf2.c: Likewise.
27333 * soft-fp/getf2.c: Likewise.
27334 * soft-fp/ledf2.c: Likewise.
27335 * soft-fp/lesf2.c: Likewise.
27336 * soft-fp/letf2.c: Likewise.
27337 * soft-fp/muldf3.c: Likewise.
27338 * soft-fp/mulsf3.c: Likewise.
27339 * soft-fp/multf3.c: Likewise.
27340 * soft-fp/negdf2.c: Likewise.
27341 * soft-fp/negsf2.c: Likewise.
27342 * soft-fp/negtf2.c: Likewise.
27343 * soft-fp/op-1.h: Likewise.
27344 * soft-fp/op-2.h: Likewise.
27345 * soft-fp/op-4.h: Likewise.
27346 * soft-fp/op-8.h: Likewise.
27347 * soft-fp/op-common.h: Likewise.
27348 * soft-fp/quad.h: Likewise.
27349 * soft-fp/single.h: Likewise.
27350 * soft-fp/soft-fp.h: Likewise.
27351 * soft-fp/sqrtdf2.c: Likewise.
27352 * soft-fp/sqrtsf2.c: Likewise.
27353 * soft-fp/sqrttf2.c: Likewise.
27354 * soft-fp/subdf3.c: Likewise.
27355 * soft-fp/subsf3.c: Likewise.
27356 * soft-fp/subtf3.c: Likewise.
27357 * soft-fp/truncdfsf2.c: Likewise.
27358 * soft-fp/trunctfdf2.c: Likewise.
27359 * soft-fp/trunctfsf2.c: Likewise.
27360 * soft-fp/trunctfxf2.c: Likewise.
27361 * soft-fp/unorddf2.c: Likewise.
27362 * soft-fp/unordsf2.c: Likewise.
27363 * soft-fp/unordtf2.c: Likewise.
27365 2013-10-14 Ondřej Bílka <neleai@seznam.cz>
27368 * misc/error.c (error_tail): Fix possible buffer overflow.
27370 2013-10-14 Aurelien Jarno <aurelien@aurel32.net>
27373 * res_send.c(__libc_res_nsend): Correctly copy the nameserver
27376 2013-10-14 P. J. McDermott <pj@pehjota.net>
27379 * elf/ldd.bash.in (try_trace): New function. Delete previous code
27380 testing pipefail option.
27382 2013-10-12 Joseph Myers <joseph@codesourcery.com>
27384 * soft-fp/double.h: Indent preprocessor directives inside #if.
27385 * soft-fp/extended.h: Likewise.
27386 * soft-fp/op-2.h: Likewise.
27387 * soft-fp/op-4.h: Likewise.
27388 * soft-fp/op-common.h: Likewise.
27389 * soft-fp/quad.h: Likewise.
27390 * soft-fp/single.h: Likewise.
27391 * soft-fp/soft-fp.h: Likewise.
27393 2013-10-12 Yuri Chornoivan <yurchor@ukr.net>
27395 * iconv/iconv_prog.c: Fix typos.
27396 * stdio-common/psiginfo-data.h: Likewise.
27398 2013-10-12 Reuben Thomas <rrt@sc3d.org>
27401 * locale/setlocale.c: Fix typo.
27403 2013-10-12 Joseph Myers <joseph@codesourcery.com>
27406 * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
27407 signaling NaN arguments.
27408 * soft-fp/unordsf2.c (__unordsf2): Likewise.
27409 * soft-fp/unordtf2.c (__unordtf2): Likewise.
27412 * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
27413 unordered operands.
27414 * soft-fp/gesf2.c (__gesf2): Likewise.
27415 * soft-fp/getf2.c (__getf2): Likewise.
27416 * soft-fp/ledf2.c (__ledf2): Likewise.
27417 * soft-fp/lesf2.c (__lesf2): Likewise.
27418 * soft-fp/letf2.c (__letf2): Likewise.
27420 * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
27421 * soft-fp/eqsf2.c (__eqsf2): Likewise.
27422 * soft-fp/eqtf2.c (__eqtf2): Likewise.
27423 * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
27424 * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
27425 * soft-fp/fixdfti.c (__fixdfti): Likewise.
27426 * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
27427 * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
27428 * soft-fp/fixsfti.c (__fixsfti): Likewise.
27429 * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
27430 * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
27431 * soft-fp/fixtfti.c (__fixtfti): Likewise.
27432 * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
27433 * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
27434 * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
27435 * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
27436 * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
27437 * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
27438 * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
27439 * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
27440 * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
27441 * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
27442 * soft-fp/floatdisf.c (__floatdisf): Likewise.
27443 * soft-fp/floatsisf.c (__floatsisf): Likewise.
27444 * soft-fp/floattidf.c (__floattidf): Likewise.
27445 * soft-fp/floattisf.c (__floattisf): Likewise.
27446 * soft-fp/floattitf.c (__floattitf): Likewise.
27447 * soft-fp/floatundidf.c (__floatundidf): Likewise.
27448 * soft-fp/floatundisf.c (__floatundisf): Likewise.
27449 * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
27450 * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
27451 * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
27452 * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
27453 * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
27454 * soft-fp/gesf2.c (__gesf2): Likewise.
27455 * soft-fp/getf2.c (__getf2): Likewise.
27456 * soft-fp/ledf2.c (__ledf2): Likewise.
27457 * soft-fp/lesf2.c (__lesf2): Likewise.
27458 * soft-fp/letf2.c (__letf2): Likewise.
27460 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
27461 Undefine and redefine.
27462 [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
27463 [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
27464 [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
27465 * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
27466 (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
27467 * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
27468 (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
27469 * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
27470 (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
27471 * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
27472 (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
27473 * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
27474 (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
27475 * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
27476 (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
27479 * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
27480 without decrementing exponent if mantissa >= that for the
27481 denominator, not >.
27482 (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
27483 denominator, not >. Decrement exponent in < case instead of
27484 incrementing in >= case.
27485 * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
27486 without decrementing exponent if mantissa >= that for the
27487 denominator, not >.
27489 * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
27490 computing saturated result for unsigned overflow.
27492 2013-10-11 Siddhesh Poyarekar <siddhesh@redhat.com>
27493 Jeff Law <law@redhat.com>
27495 * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
27496 (atan2Mp): Add systemtap probe marker.
27497 * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
27498 (__ieee754_log): Add systemtap probe marker.
27499 * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
27500 (atanMp): Add systemtap probe marker.
27501 * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
27502 (tanMp): Add systemtap probe marker.
27503 * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
27504 (__slowexp): Add systemtap probe marker.
27505 * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
27506 (__slowpow): Add systemtap probe marker.
27507 * manual/probes.texi: Document probes.
27509 2013-10-11 Eric Biggers <ebiggers3@gmail.com>
27512 * libio/fileops.c (_IO_new_file_write): Return count of bytes
27514 (_IO_new_file_xsputn): Don't return EOF if nothing has been
27516 * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
27517 written to buffer but not flushed.
27518 * libio/iofwrite_u.c: Likewise.
27519 * libio/iopadn.c: Return bytes returned even if EOF was
27521 * libio/iowpadn.c: Likewise.
27522 * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
27523 if _IO_padn does not write the whole buffer.
27524 [!COMPILE_WPRINTF] (PAD): Likewise.
27526 2013-10-10 David S. Miller <davem@davemloft.net>
27528 * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
27531 2013-10-10 Joseph Myers <joseph@codesourcery.com>
27533 * soft-fp/extendxftf2.c: Use copyright year range. Use URL
27534 instead of FSF address.
27535 * soft-fp/fixdfti.c: Likewise.
27536 * soft-fp/fixsfti.c: Likewise.
27537 * soft-fp/fixtfti.c: Likewise.
27538 * soft-fp/fixunsdfti.c: Likewise.
27539 * soft-fp/fixunssfti.c: Likewise.
27540 * soft-fp/fixunstfti.c: Likewise.
27541 * soft-fp/floattidf.c: Likewise.
27542 * soft-fp/floattisf.c: Likewise.
27543 * soft-fp/floattitf.c: Likewise.
27544 * soft-fp/floatuntidf.c: Likewise.
27545 * soft-fp/floatuntisf.c: Likewise.
27546 * soft-fp/floatuntitf.c: Likewise.
27547 * soft-fp/trunctfxf2.c: Likewise.
27549 * soft-fp/extendxftf2.c: New file. Copied from libgcc.
27550 * soft-fp/fixdfti.c: Likewise.
27551 * soft-fp/fixsfti.c: Likewise.
27552 * soft-fp/fixtfti.c: Likewise.
27553 * soft-fp/fixunsdfti.c: Likewise.
27554 * soft-fp/fixunssfti.c: Likewise.
27555 * soft-fp/fixunstfti.c: Likewise.
27556 * soft-fp/floattidf.c: Likewise.
27557 * soft-fp/floattisf.c: Likewise.
27558 * soft-fp/floattitf.c: Likewise.
27559 * soft-fp/floatuntidf.c: Likewise.
27560 * soft-fp/floatuntisf.c: Likewise.
27561 * soft-fp/floatuntitf.c: Likewise.
27562 * soft-fp/trunctfxf2.c: Likewise.
27564 2013-10-10 David S. Miller <davem@davemloft.net>
27566 * sysdeps/sparc/fpu/libm-test-ulps: Update.
27568 2013-10-10 Joseph Myers <joseph@codsourcery.com>
27570 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
27571 (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
27572 [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
27573 [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
27574 [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
27575 [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
27576 [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
27578 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
27579 for NaNs before doing comparisons on argument.
27580 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
27583 2013-10-10 Will Newton <will.newton@linaro.org>
27585 * malloc/hooks.c (memalign_check): Ensure the value of bytes
27586 passed to _int_memalign does not overflow.
27588 2013-10-10 Torvald Riegel <triegel@redhat.com>
27590 * scripts/bench.pl: Add include-sources directive.
27591 * benchtests/README: Update documentation.
27593 2013-10-10 Joseph Myers <joseph@codesourcery.com>
27595 * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
27596 * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
27597 instead of FP_INIT_ROUNDMODE.
27598 * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
27599 * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
27602 * soft-fp/op-common.h (_FP_NEG): Document input as raw. Do not
27603 copy class of input value.
27604 * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing. Do
27605 not handle exceptions.
27606 * soft-fp/negsf2.c (__negsf2): Likewise.
27607 * soft-fp/negtf2.c (__negtf2): Likewise.
27608 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
27610 2013-10-09 Joseph Myers <joseph@codesourcery.com>
27612 * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
27613 semicolon. From Linux kernel.
27615 2013-10-09 Adam Buchbinder <adam.buchbinder@gmail.com>
27617 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
27619 2013-10-08 Yogesh Chaudhari <mr.yogesh@gmail.com>
27622 * manual/socket.texi: Added statement about buffer
27623 for gethostbyname2_r.
27625 2013-10-08 Ondřej Bílka <neleai@seznam.cz>
27627 * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
27628 Use .p2align directive instead, throughout.
27629 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
27630 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
27631 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
27632 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
27633 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
27634 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
27635 * sysdeps/x86_64/strchr.S: Likewise.
27636 * sysdeps/x86_64/strrchr.S: Likewise.
27638 2013-10-08 Siddhesh Poyarekar <siddhesh@redhat.com>
27640 * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
27642 * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
27644 * sysdeps/generic/math_private.h (__mpsin1): Remove
27646 (__mpcos1): Likewise.
27647 (__mpsin): New argument __range_reduce.
27648 (__mpcos): Likewise.
27649 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
27650 (slow): Use __mpsin and __mpcos.
27654 (sloww1): Likewise.
27655 (sloww2): Likewise.
27656 (bsloww): Likewise.
27657 (bsloww1): Likewise.
27658 (bsloww2): Likewise.
27659 (cslow2): Likewise.
27660 (csloww): Likewise.
27661 (csloww1): Likewise.
27662 (csloww2): Likewise.
27663 * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
27664 range_reduce. Merge in __mpsin1.
27665 (__mpcos): Likewise.
27666 (__mpsin1): Remove.
27667 (__mpcos1): Likewise.
27669 2013-10-07 Joseph Myers <joseph@codesourcery.com>
27671 * locale/loadlocale.c (_nl_intern_locale_data): Use
27673 * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
27674 LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
27675 * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
27676 obstack data is appropriately aligned.
27677 (obstack_int32_grow_fast): Likewise.
27678 * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
27679 * locale/programs/locfile.c (add_locale_uint32): Likewise.
27680 (add_locale_uint32_array): Likewise.
27682 2013-10-07 Siddhesh Poyarekar <siddhesh@redhat.com>
27684 * benchtests/Makefile: Remove ARGLIST and RET variables.
27685 ($(objpfx)bench-%.c): Pass only function name to the script.
27686 * benchtests/README: Update documentation.
27687 * benchtests/acos-inputs: Add new directives.
27688 * benchtests/acosh-inputs: Likewise.
27689 * benchtests/asin-inputs: Likewise.
27690 * benchtests/asinh-inputs: Likewise.
27691 * benchtests/atan-inputs: Likewise.
27692 * benchtests/atanh-inputs: Likewise.
27693 * benchtests/cos-inputs: Likewise.
27694 * benchtests/cosh-inputs: Likewise.
27695 * benchtests/exp-inputs: Likewise.
27696 * benchtests/log-inputs: Likewise.
27697 * benchtests/pow-inputs: Likewise.
27698 * benchtests/rint-inputs: Likewise.
27699 * benchtests/sin-inputs: Likewise.
27700 * benchtests/sinh-inputs: Likewise.
27701 * benchtests/tan-inputs: Likewise.
27702 * benchtests/tanh-inputs: Likewise.
27703 * scripts/bench.pl: Add support for new directives.
27705 2013-10-07 Alan Modra <amodra@gmail.com>
27707 * README: Fix careless merge.
27709 2013-10-05 Alan Modra <amodra@gmail.com>
27711 * NEWS: Mention powerpc64le support and bugs fixed.
27712 * README: Both big-endian and little-endian powerpc64 supported.
27714 2013-10-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
27716 * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
27717 (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
27718 (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
27719 _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
27721 2013-10-04 Ryan S. Arnold <ryan.arnold@linaro.org>
27723 * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
27726 2013-10-04 Joseph Myers <joseph@codesourcery.com>
27728 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
27729 Move -mhard-float appending from
27730 ports/sysdeps/powerpc/powerpc32/Makefile.
27731 [$(with-fp) = yes] (ASFLAGS): Likewise.
27732 [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
27733 * sysdeps/powerpc/nofpu: Move directory from
27734 ports/sysdeps/powerpc/nofpu.
27735 * sysdeps/powerpc/soft-fp: Move directory from
27736 ports/sysdeps/powerpc/soft-fp.
27737 * sysdeps/powerpc/powerpc32/405: Move directory from
27738 ports/sysdeps/powerpc/powerpc32/405.
27739 * sysdeps/powerpc/powerpc32/440: Move directory from
27740 ports/sysdeps/powerpc/powerpc32/440.
27741 * sysdeps/powerpc/powerpc32/464: Move directory from
27742 ports/sysdeps/powerpc/powerpc32/464.
27743 * sysdeps/powerpc/powerpc32/476: Move directory from
27744 ports/sysdeps/powerpc/powerpc32/476.
27745 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
27746 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
27747 * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
27748 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
27749 * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
27750 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
27751 * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
27752 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
27753 * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
27754 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
27755 * README: Update for powerpc-*-linux-gnu software floating point
27758 * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
27759 case to powerpc/powerpc32*.
27760 * sysdeps/unix/sysv/linux/configure: Regenerated.
27762 * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
27763 (_FPU_MASK_OM): Define as 0x04.
27764 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
27765 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
27767 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
27769 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
27771 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
27772 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
27774 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
27775 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
27777 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
27778 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
27779 and setcontext_e500.
27781 2013-10-04 Chris Leonard <cjl@sugarlabs,.org>
27783 * locale/iso-3166.def: Update iso-1366.def and related occurrences
27785 2013-10-04 Siddhesh Poyarekar <siddhesh@redhat.com>
27787 * manual/threads.texi (Default Thread Attributes): Fix typo.
27789 2013-10-04 Will Newton <will.newton@linaro.org>
27791 * malloc/Makefile: Add tst-memalign.
27792 * malloc/tst-memalign.c: New file.
27794 * malloc/tst-posix_memalign.c: Add comments.
27795 (do_test): Add comments and call free on all potentially
27796 allocated pointers. Add space after cast.
27798 * malloc/tst-pvalloc.c: Add comments.
27799 (do_test): Add comments and call free on all potentially
27800 allocated pointers. Remove duplicate check for NULL pointer.
27801 Add space after cast.
27803 * malloc/tst-valloc.c: Add comments.
27804 (do_test): Add comments and call free on all potentially
27805 allocated pointers. Remove duplicate check for NULL pointer.
27806 Add space after cast.
27808 2013-10-04 Alan Modra <amodra@gmail.com>
27810 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
27811 Use stdint types in rather than __attribute__((mode())).
27812 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
27814 2013-10-04 Alan Modra <amodra@gmail.com>
27816 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
27817 Correct handling of unaligned relocs for little-endian.
27818 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
27820 2013-10-04 Alan Modra <amodra@gmail.com>
27822 * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
27823 * configure: Regenerate.
27824 * nptl/shlib-versions: Powerpc*le starts at 2.18.
27825 * shlib-versions: Likewise.
27827 2013-10-04 Alan Modra <amodra@gmail.com>
27829 * string/tester.c (test_memrchr): Increment reported test cycle.
27831 2013-10-04 Alan Modra <amodra@gmail.com>
27833 * string/test-memcpy.c (do_one_test): When reporting errors, print
27834 string address and don't overrun end of string.
27836 2013-10-04 Alan Modra <amodra@gmail.com>
27838 * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
27839 insrdi. Make better use of reg selection to speed exit slightly.
27840 Schedule entry path a little better. Remove useless "are we done"
27841 checks on entry to main loop. Handle wrapping around zero address.
27842 Correct main loop count. Handle single left-over word from main
27843 loop inline rather than by using loop_small. Remove extra word
27844 case in loop_small caused by wrong loop count. Add little-endian
27846 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
27847 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise. Use proper
27849 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
27850 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
27851 support. Avoid rlwimi.
27852 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
27854 2013-10-04 Alan Modra <amodra@gmail.com>
27856 * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
27857 insrdi. Formatting.
27858 * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
27859 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
27860 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
27861 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
27862 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
27863 * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
27865 2013-10-04 Alan Modra <amodra@gmail.com>
27867 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
27868 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
27869 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
27870 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
27871 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
27872 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
27873 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
27874 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
27875 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise. Make better
27876 use of regs. Use power7 mtocrf. Tidy function tails.
27878 2013-10-04 Alan Modra <amodra@gmail.com>
27880 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
27881 Formatting. Consistently use rXXX register defines or rN defines.
27882 Use early exit labels that avoid restoring unused non-volatile regs.
27883 Make cr field use more consistent with rWORDn compares. Rename
27884 regs used as shift registers for unaligned loop, using rN defines
27885 for short lifetime/multiple use regs.
27886 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
27887 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise. Exit with
27888 addi 1,1,64 to pop stack frame. Simplify return value code.
27889 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
27891 2013-10-04 Alan Modra <amodra@gmail.com>
27893 * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
27894 support. Correct typos, formatting. Optimize tail. Use insrdi
27895 rather than rlwimi.
27896 * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
27897 * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
27898 little-endian support. Correct typos.
27899 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise. Use insrdi
27900 rather than rlwimi.
27901 * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define. Use
27902 in loop and entry code to keep "and." results.
27903 (strchr): Add little-endian support. Comment. Move cntlzd
27905 * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
27907 2013-10-04 Alan Modra <amodra@gmail.com>
27909 * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
27910 * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
27911 * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
27912 * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
27914 2013-10-04 Alan Modra <amodra@gmail.com>
27916 * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
27917 (rTMP): Define as r11.
27918 (strcmp): Add little-endian support. Optimise tail.
27919 * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
27920 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
27921 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
27922 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
27923 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
27924 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
27925 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
27927 2013-10-04 Alan Modra <amodra@gmail.com>
27929 * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
27930 little-endian support. Remove unnecessary "are we done" tests.
27931 Handle "s" wrapping around zero and extremely large "size".
27932 Correct main loop count. Handle single left-over word from main
27933 loop inline rather than by using small_loop. Correct comments.
27934 Delete "zero" tail, use "end_max" instead.
27935 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
27937 2013-10-04 Alan Modra <amodra@gmail.com>
27939 * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
27940 support. Don't branch over align.
27941 * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
27942 * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
27943 support. Rearrange tmp reg use to suit. Comment.
27944 * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
27946 2013-10-04 Alan Modra <amodra@gmail.com>
27948 * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
27950 2013-10-04 Alan Modra <amodra@gmail.com>
27952 * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
27953 conditional form of branch and link when obtaining pc.
27954 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
27956 2013-10-04 Alan Modra <amodra@gmail.com>
27958 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
27960 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
27961 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
27963 2013-10-04 Alan Modra <amodra@gmail.com>
27965 * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
27966 * sysdeps/powerpc/novmx-longjmp.c: Likewise.
27967 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
27968 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
27969 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
27970 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
27971 * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
27972 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
27973 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
27974 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
27976 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
27977 Alistair Popple <alistair@ozlabs.au.ibm.com>
27978 Alan Modra <amodra@gmail.com>
27981 * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
27982 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
27983 _dl_hwcap access for little-endian.
27984 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise. Don't
27985 destroy vmx regs when saving unaligned.
27986 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
27987 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save. Don't
27988 destroy vmx regs when saving unaligned.
27990 2013-10-04 Alan Modra <amodra@gmail.com>
27992 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
27993 Don't use a union to pack hi/low value.
27995 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
27997 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
27999 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
28000 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
28001 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
28002 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
28003 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
28005 2013-10-04 Alan Modra <amodra@gmail.com>
28007 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
28008 constants to usual value for .cst8 section, and remove redundant
28010 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
28011 constant for 0x1p52. Load little-endian words of double from
28012 correct stack offsets.
28014 2013-10-04 Alan Modra <amodra@gmail.com>
28016 * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
28017 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
28018 words of double from correct stack offsets.
28019 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
28020 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
28021 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
28022 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
28023 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
28024 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
28025 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
28026 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
28027 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
28028 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
28029 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
28030 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
28031 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
28032 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
28033 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
28034 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
28035 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
28037 2013-10-04 Alan Modra <amodra@gmail.com>
28039 * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
28040 64-bit int/double union.
28041 (_FPU_SETCW): Likewise.
28042 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
28043 (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
28045 2013-10-04 Alan Modra <amodra@gmail.com>
28047 * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
28048 * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
28050 2013-10-04 Alan Modra <amodra@gmail.com>
28052 * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
28053 use vector int constants.
28054 (__float_and_test24, __float_and8, __float_get_exp): Likewise.
28056 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
28058 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
28059 array with long long.
28060 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
28061 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
28062 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
28063 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
28064 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
28065 * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
28066 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
28067 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
28068 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
28069 * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
28070 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
28071 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
28072 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
28074 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
28076 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
28077 (__signbit): Likewise. Correct for little-endian.
28078 (__signbitl): Call __signbit.
28079 (lrint): Correct for little-endian.
28080 (lrintf): Call lrint.
28082 2013-10-04 Alan Modra <amodra@gmail.com>
28084 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
28085 union 32-bit int array member with 64-bit int array.
28086 (t515, tm256): Double rather than long double.
28087 (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
28089 2013-10-04 Alan Modra <amodra@gmail.com>
28091 * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
28093 (IEEE854_LONG_DOUBLE_BIAS): Delete.
28094 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
28095 version of math_ldbl.h.
28097 2013-10-04 Alan Modra <amodra@gmail.com>
28099 [BZ #15734], [BZ #15735]
28100 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
28101 all uses of ieee875 long double macros and unions. Simplify test
28102 for 0.0L. Correct |x|<|y| and |x|=|y| test. Use
28103 ldbl_extract_mantissa value for ix,iy exponents. Properly
28104 normalize after ldbl_extract_mantissa, and don't add hidden bit
28105 already handled. Don't treat low word of ieee854 mantissa like
28106 low word of IBM long double and mask off bit when testing for
28108 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
28109 all uses of ieee875 long double macros and unions. Simplify tests
28110 for 0.0L and inf. Correct double adjustment of k. Delete dead code
28111 adjusting ha,hb. Simplify code setting kld. Delete two600 and
28112 two1022, instead use their values. Recognise that tests for large
28113 "a" and small "b" are mutually exclusive. Rename vars. Comment.
28114 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
28115 Rewrite all uses of ieee875 long double macros and unions. Simplify
28116 test for 0.0L and nan. Correct negation.
28117 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
28118 ieee875 long double macros and unions. Correct output for large
28119 magnitude x. Correct absolute value calculation.
28120 (__erfcl): Likewise.
28121 * math/libm-test.inc: Add tests for errors discovered in IBM long
28122 double versions of fmodl, remainderl, erfl and erfcl.
28124 2013-10-04 Alan Modra <amodra@gmail.com>
28126 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
28127 all uses of ieee854 long double macros and unions. Simplify tests
28128 for long doubles that are fully specified by the high double.
28129 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
28131 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
28132 Remove dead code too.
28133 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
28134 (__ieee754_ynl): Likewise.
28135 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
28136 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
28137 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
28138 Remove dead code too.
28139 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
28140 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
28141 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
28142 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
28144 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
28146 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
28147 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
28148 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
28149 Comment on variable precision.
28150 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
28151 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
28153 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
28154 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
28155 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
28156 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
28157 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
28159 2013-10-04 Alan Modra <amodra@gmail.com>
28161 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
28162 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
28163 all uses of ieee854 long double macros and unions.
28164 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
28165 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
28166 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
28167 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
28168 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
28169 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
28171 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
28172 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
28173 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
28174 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
28175 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
28176 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
28177 Simplify sign and nan test too.
28178 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
28179 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
28180 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
28181 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
28183 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
28184 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
28186 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
28187 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
28188 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
28189 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
28190 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
28191 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
28193 2013-10-04 Alan Modra <amodra@gmail.com>
28195 * stdio-common/printf_size.c (__printf_size): Don't use
28196 union ieee854_long_double in fpnum union.
28197 * stdio-common/printf_fphex.c (__printf_fphex): Likewise. Use
28198 signbit macro to retrieve sign from long double.
28199 * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
28200 retrieve sign from long double.
28201 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
28202 * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
28203 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
28204 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
28205 * math/test-misc.c (main): Don't use union ieee854_long_double.
28207 2013-10-04 Alan Modra <amodra@gmail.com>
28210 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
28211 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
28212 (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
28213 calculation. Remove unnecessary test for denormal exponent.
28214 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
28215 Correct handling of denormals. Avoid undefined shift behaviour.
28216 Correct normalisation of low mantissa when low double is denormal.
28217 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
28218 (ldbl_extract_mantissa): Likewise. Comment. Use uint64_t* for hi64.
28219 (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
28220 Correct normalisation of low mantissa. Test for overflow of high
28221 mantissa and normalise.
28222 (ldbl_nearbyint): Use more readable constant for two52.
28223 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
28224 (__mpn_construct_long_double): Fix test for overflow of high
28225 mantissa and correct normalisation. Avoid undefined shift.
28227 2013-10-04 Alan Modra <amodra@gmail.com>
28229 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
28230 (union ibm_extended_long_double): Define as an array of ieee754_double.
28231 (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
28232 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
28233 to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
28234 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
28235 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
28236 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
28237 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
28238 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
28239 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
28240 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
28241 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
28243 2013-10-03 Joseph Myers <joseph@codesourcery.com>
28245 * locale/programs/locarchive.c (add_locale): Use constant 4096 for
28246 page size instead of calling getpagesize.
28248 * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
28249 (LOCFILE_ALIGN_MASK): Likewise.
28250 (LOCFILE_ALIGN_UP): Likewise.
28251 (LOCFILE_ALIGNED_P): Likewise.
28252 * locale/programs/ld-collate.c (collate_output): Use the new
28253 macros instead of __alignof__ (int32_t).
28254 * locale/weight.h (findidx): Likewise.
28256 2013-10-03 Ondřej Bílka <neleai@seznam.cz>
28259 * manual/string.texi: Fix strncat and wcsncat.
28261 2013-10-03 Brooks Moses <bmoses@google.com>
28264 * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
28265 * Makerules: ...here, and adjust associated comments.
28267 2013-10-02 Will Newton <will.newton@linaro.org>
28269 * malloc/Makefile: Add tst-pvalloc.
28270 * malloc/tst-pvalloc.c: New file.
28272 2013-10-02 Will Newton <will.newton@linaro.org>
28274 * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
28275 improve test coverage.
28277 2013-10-02 Will Newton <will.newton@linaro.org>
28279 * malloc/Makefile: Add tst-posix_memalign.
28280 * malloc/tst-posix_memalign.c: New file.
28282 2013-10-01 Eric Blake <eblake@redhat.com>
28284 * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
28285 Use __THROWNL rather than __THROW on static functions.
28287 2013-09-30 Petr Machata <pmachata@redhat.com>
28289 * elf/elf.h (R_AARCH64_ABS16): New macro.
28290 (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
28291 (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
28292 (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
28293 (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
28294 (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
28295 (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
28296 (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
28297 (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
28298 (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
28299 (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
28300 (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
28301 (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
28302 (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
28303 (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
28304 (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
28305 (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
28306 (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
28307 (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
28308 (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
28309 (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
28310 (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
28311 (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
28312 (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
28313 (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
28314 (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
28315 (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
28316 (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
28317 (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
28318 (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
28319 (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
28320 (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
28321 (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
28322 (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
28323 (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
28324 (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
28325 (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
28326 (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
28327 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
28328 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
28329 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
28330 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
28331 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
28332 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
28333 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
28334 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
28335 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
28336 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
28337 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
28338 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
28339 (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
28340 (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
28341 (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
28342 (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
28343 (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
28344 (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
28345 (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
28346 (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
28347 (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
28348 (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
28349 (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
28350 (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
28351 (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
28352 (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
28353 (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
28354 (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
28355 (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
28356 (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
28357 (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
28358 (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
28359 (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
28360 (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
28361 (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
28362 (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
28363 (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
28364 (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
28365 (R_AARCH64_TLSDESC_OFF_G1): Likewise.
28366 (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
28367 (R_AARCH64_TLSDESC_LDR): Likewise.
28368 (R_AARCH64_TLSDESC_ADD): Likewise.
28369 (R_AARCH64_TLSDESC_CALL): Likewise.
28371 2013-09-30 Andreas Schwab <schwab@suse.de>
28374 * nscd/aicache.c (addhstaiX): Properly use the cache variable for
28375 the nss database lookup.
28376 * nscd/initgrcache.c (addinitgroupsX): Likewise.
28377 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
28379 2013-09-28 Mike Frysinger <vapier@gentoo.org>
28381 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
28383 2013-09-28 P. J. McDermott <pj@pehjota.net>
28385 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
28386 ${Bash-specific parameter/pattern/string} parameter expansion.
28387 * sysdeps/unix/make-syscalls.sh: Likewise.
28389 2013-09-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
28391 * sysdeps/sh/stackguard-macros.h: New file.
28393 2013-09-26 Ondřej Bílka <neleai@seznam.cz>
28395 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
28396 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
28397 * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
28398 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
28399 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
28400 * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
28402 2013-09-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28404 * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
28405 Fix thread ID register.
28407 2013-09-25 Joseph Myers <joseph@codesourcery.com>
28409 * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
28410 [POSIX || UNIX98]: Require rather than permitting all symbols from
28412 [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
28413 element of struct sched_param.
28414 [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
28415 [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
28416 [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
28417 [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
28420 2013-09-24 Olivier Langlois <olivier@olivierlanglois.net>
28422 * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
28423 argument calculation.
28425 2013-09-24 Joseph Myers <joseph@codesourcery.com>
28427 * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
28429 [POSIX] (pthread_attr_t): Do not require type.
28430 [POSIX] (pthread_cond_t): Likewise.
28431 [POSIX] (pthread_condattr_t): Likewise.
28432 [POSIX] (pthread_key_t): Likewise.
28433 [POSIX] (pthread_mutex_t): Likewise.
28434 [POSIX] (pthread_mutexattr_t): Likewise.
28435 [POSIX] (pthread_once_t): Likewise.
28436 [POSIX] (pthread_t): Likewise.
28437 [POSIX-based standards] (pthread_atfork): Expect function.
28439 2013-09-24 Joseph Myers <joseph@codesourcery.com>
28440 Richard Sandiford <richard@codesourcery.com>
28442 * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
28443 (swap_endianness_p): New extern variable.
28444 (set_big_endian): New inline function.
28445 (maybe_swap_uint32): Likewise.
28446 (maybe_swap_uint32_array): Likewise.
28447 (maybe_swap_uint32_obstack): Likewise.
28448 * locale/programs/locfile.c: Include <stdbool.h>.
28449 (swap_endianness_p): New variable.
28450 (add_locale_uint32): Call maybe_swap_uint32.
28451 (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
28452 (write_locale_data): Call maybe_swap_uint32_array.
28453 * locale/programs/ld-collate.c (obstack_int32_grow): Call
28455 (obstack_int32_grow_fast): Likewise.
28456 (output_weightwc): Call maybe_swap_uint32_obstack.
28457 (collate_output): Likewise.
28458 * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
28459 (OPT_LITTLE_ENDIAN): Likewise.
28460 (options): Add --little-endian and --big-endian options.
28461 (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
28462 * locale/programs/locarchive.c: Include "locfile.h".
28466 (create_archive): Use the new macros to access fields of
28467 structures directly mapped from or written to locale archives.
28468 (oldlocrecentcmp): Likewise.
28469 (enlarge_archive): Likewise.
28470 (insert_name): Likewise.
28471 (add_alias): Likewise.
28472 (add_locale): Likewise.
28473 (delete_locales_from_archive): Likewise.
28474 (show_archive_content): Likewise.
28475 (add_locale_to_archive): Likewise. Use maybe_swap_uint32 on
28478 2013-09-24 Roland McGrath <roland@hack.frob.com>
28480 * manual/freemanuals.texi: Updated from (newly) canonical copy at
28481 http://www.gnu.org/doc/freemanuals.texi.
28482 * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
28484 2013-09-24 Will Newton <will.newton@linaro.org>
28486 * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
28489 2013-09-23 Joseph Myers <joseph@codesourcery.com>
28491 * locale/hashval.h (compute_hashval): Interpret bytes of key as
28494 2013-09-23 Maciej W. Rozycki <macro@codesourcery.com>
28496 * manual/threads.texi (POSIX Threads): Fix a typo.
28498 2013-09-23 Siddhesh Poyarekar <siddhesh@redhat.com>
28501 * string/tst-strcoll-overflow.c: New test case.
28502 * string/Makefile (xtests): Add tst-strcoll-overflow.
28503 * string/strcoll_l.c (STRCOLL): Skip allocating memory for
28504 cache if string sizes may cause integer overflow.
28507 * string/strcoll_l.c (coll_seq): New members rule, idx,
28508 save_idx and back_us.
28509 (get_next_seq_nocache): New function.
28510 (do_compare_nocache): New function.
28511 (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
28514 2013-09-23 Carlos O'Donell <carlos@redhat.com>
28517 * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
28518 __pointer_chk_guard_local, otherwise __pointer_chk_guard.
28519 * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
28522 * elf/Makefile (tests): Add tst-ptrguard1.
28523 (tests-static): Add tst-ptrguard1-static.
28524 (tst-ptrguard1-ARGS): Define.
28525 (tst-ptrguard1-static-ARGS): Define.
28526 * elf/tst-ptrguard1.c: New file.
28527 * elf/tst-ptrguard1-static.c: New file.
28528 * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
28529 * sysdeps/i386/stackguard-macros.h: Likewise.
28530 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
28531 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
28532 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
28533 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
28534 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
28535 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
28537 2013-09-23 Hector Marco <hecmargi@upv.es>
28538 Ismael Ripoll <iripoll@disca.upv.es>
28539 Carlos O'Donell <carlos@redhat.com>
28542 * sysdeps/generic/stackguard-macros.h: Define
28543 __pointer_chk_guard_local and POINTER_CHK_GUARD.
28544 * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
28545 Define __pointer_chk_guard_local.
28546 (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
28547 Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
28549 2013-09-15 Vinitha Vijayan <vinitha.vijayann@gmail.com>
28552 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
28554 2013-09-20 Andreas Schwab <schwab@linux-m68k.org>
28556 * include/string.h (__ffs): Declare as hidden.
28557 * string/ffs.c (__ffs): Define as hidden.
28558 * sysdeps/i386/ffs.c (__ffs): Likewise.
28559 * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
28560 * sysdeps/powerpc/ffs.c (__ffs): Likewise.
28561 * sysdeps/s390/ffs.c (__ffs): Likewise.
28562 * sysdeps/x86_64/ffs.c (__ffs): Likewise.
28564 2013-09-20 Alexandre Oliva <aoliva@redhat.com>
28566 * NEWS: Mention malloc probes.
28568 * malloc/arena.c (new_heap): New memory_heap_new probe.
28569 (grow_heap): New memory_heap_more probe.
28570 (shrink_heap): New memory_heap_less probe.
28571 (heap_trim): New memory_heap_free probe.
28572 * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
28573 (systrim): New memory_sbrk_less probe.
28574 * manual/probes.texi: Document them.
28576 * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
28577 * manual/probes.texi: Document it.
28579 * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
28580 (__libc_realloc): Add memory_realloc_retry probe.
28581 (__libc_memalign): Add memory_memalign_retry probe.
28582 (__libc_valloc): Add memory_valloc_retry probe.
28583 (__libc_pvalloc): Add memory_pvalloc_retry probe.
28584 (__libc_calloc): Add memory_calloc_retry probe.
28585 * manual/probes.texi: Document them.
28587 * malloc/arena.c (get_free_list): Add probe
28588 memory_arena_reuse_free_list.
28589 (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
28590 and memory_arena_reuse.
28591 (arena_get2) [!PER_THREAD]: Likewise.
28592 * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
28593 memory_arena_reuse_realloc.
28594 * manual/probes.texi: Document them.
28596 * malloc/malloc.c (__libc_free): Add
28597 memory_mallopt_free_dyn_thresholds probe.
28598 (__libc_mallopt): Add multiple memory_mallopt probes.
28599 * manual/probes.texi: Document them.
28601 * malloc/malloc.c: Include stap-probe.h.
28602 (__libc_mallopt): Add memory_mallopt probe.
28603 * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
28604 * manual/probes.texi: New.
28605 * manual/Makefile (chapters): Add probes.
28606 * manual/threads.texi: Set next node.
28608 2013-09-19 Wei-Lun Chao <bluebat@member.fsf.org>
28610 [BZ #15963, #13985]
28611 * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
28612 czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
28613 Add `Chinese' to `nan' entry name.
28615 2013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
28617 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
28618 (POLYNOMIAL): Likewise.
28619 (TAYLOR_SINCOS): Likewise.
28620 (TAYLOR_SLOW): Likewise.
28621 (__sin): Use TAYLOR_SINCOS.
28623 (slow): Use TAYLOR_SLOW.
28625 (bsloww): Likewise.
28626 (csloww): Likewise.
28628 2013-09-19 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
28630 * stdlib/strtod_l.c: Fix buffer overrun.
28632 2013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
28634 * benchtests/Makefile (bench): Add sincos.
28635 * benchtests/bench-sincos.c: New file.
28637 * math/libm-test.inc (cos_test_data): New test inputs.
28638 (sin_test_data): Likewise.
28640 * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
28646 (sloww1): Likewise.
28647 (sloww2): Likewise.
28648 (bsloww1): Likewise.
28649 (bsloww2): Likewise.
28650 (cslow2): Likewise.
28651 (csloww1): Likewise.
28652 (csloww2): Likewise.
28654 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
28659 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
28663 2013-09-18 Maciej W. Rozycki <macro@codesourcery.com>
28665 * config.h.in (HAVE_MIPS_NAN2008): New macro.
28666 * elf/elf.h (EF_MIPS_NAN2008): Likewise.
28667 * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
28668 (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
28669 (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
28670 * elf/cache.c (print_entry): Handle the new cache flags.
28672 2013-09-18 Joseph Myers <joseph@codesourcery.com>
28673 Aldy Hernandez <aldyh@redhat.com>
28675 * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
28676 Change condition to [_SOFT_FLOAT].
28677 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
28678 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
28679 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
28680 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
28681 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
28682 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
28683 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
28684 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
28685 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
28686 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
28687 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
28688 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
28689 [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
28690 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
28691 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
28692 [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
28695 2013-09-18 Joseph Myers <joseph@codesourcery.com>
28697 * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
28698 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
28699 (__longjmp): Use LOAD_GP to load saved GPRs.
28700 * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
28701 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
28702 (__sigsetjmp): Use SAVE_GP to save GPRs.
28704 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
28705 Do not append -msoft-float.
28706 [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
28708 2013-09-18 Siddhesh Poyarekar <siddhesh@redhat.com>
28710 * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
28712 2013-09-17 Joseph Myers <joseph@codesourcery.com>
28715 * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
28716 (_FPU_GETCW): Use initial "__" on variable and field names but not
28717 on macro parameter name.
28718 [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise. Use
28719 parentheses around reference to macro parameter.
28721 2013-09-13 Richard Sandiford <richard@codesourcery.com>
28723 * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
28725 (ctype_startup): Use uint32_t in cast and sizeof for
28728 2013-09-11 Jia Liu <proljc@gmail.com>
28730 * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
28732 [__FreeBSD__]: Likewise.
28734 2013-09-11 Ondřej Bílka <neleai@seznam.cz>
28736 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
28737 (__libc_ifunc_impl_list): Remove: __strchr_sse42.
28738 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
28739 (strchr): Remove __strchr_sse42 ifunc selection.
28740 * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
28741 * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
28743 2013-09-11 Will Newton <will.newton@linaro.org>
28745 * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
28746 parameter to RES. Remove hardcoded 1000 value.
28747 * benchtests/bench-skeleton.c (main): Pass RES parameter
28748 to TIMING_INIT and multiply result by 1000.
28750 2013-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28752 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28754 2013-09-11 Andreas Schwab <schwab@suse.de>
28756 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
28758 (O_TMPFILE) [__USE_GNU]: Define.
28759 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
28762 2013-09-11 Will Newton <will.newton@linaro.org>
28765 * malloc/malloc.c (__libc_memalign): Check the value of bytes
28768 2013-09-11 Will Newton <will.newton@linaro.org>
28771 * malloc/malloc.c (__libc_valloc): Check the value of bytes
28774 2013-09-11 Will Newton <will.newton@linaro.org>
28777 * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
28780 2013-09-10 Ondřej Bílka <neleai@seznam.cz>
28782 * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
28783 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
28784 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
28785 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
28786 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
28788 2013-09-10 Allan McRae <allan@archlinux.org>
28791 * manual/arith.texi (Parsing of Floats): Clarify
28795 * manual/install.texi (Running make install): Mention
28797 * INSTALL: Regenerated.
28799 2013-09-09 Maciej W. Rozycki <macro@codesourcery.com>
28801 * csu/init-first.c (_init): Remove the !SHARED condition around
28802 FPU control word initialization.
28803 * elf/dl-support.c (_dl_fpu_control): New variable.
28804 (_dl_aux_init) <AT_FPUCW>: Initialize it.
28805 * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
28806 (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
28807 * math/test-fpucw-static.c: New file.
28808 * math/test-fpucw-ieee.c: New file.
28809 * math/test-fpucw-ieee-static.c: New file.
28810 * math/Makefile (tests): Add `test-fpucw-ieee' and
28812 (tests-static): New variable.
28813 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
28815 [($(build-shared),yes)]
28816 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
28818 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
28821 2013-09-09 Allan McRae <allan@archlinux.org>
28824 * manual/string.texi (Collation Functions): Fix typo in
28826 Reported by Suren Karapetyan <me@suren.karapetyan.name>.
28829 * stdlib/isomac.c (get_null_defines): Fix memory leak.
28832 * libio/memstream.c (open_memstream): Fix memory leak.
28833 * libio/wmemstream.c (open_wmemstream): Likewise.
28836 * nscd/netgroupcache.c: Fix nesting of ifdefs.
28838 2013-09-09 Will Newton <will.newton@linaro.org>
28840 * malloc/Makefile: Add tst-realloc to tests.
28841 * malloc/tst-realloc.c: New file.
28843 2013-09-09 Allan McRae <allan@archlinux.org>
28846 * COPYING: Update from GNU website to fix FSF address.
28847 * COPYING.LIB: Likewise.
28849 2013-09-06 David S. Miller <davem@davemloft.net>
28851 * po/zh_TW.po: Update Chinese (traditional) translation from
28852 translation project.
28854 2013-09-06 Richard Sandiford <richard@codesourcery.com>
28855 Joseph Myers <joseph@codesourcery.com>
28857 * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
28859 (obstack_chunk_alloc): New macro.
28860 (obstack_chunk_free): Likewise.
28861 (record_offset): New function.
28862 (init_locale_data): Likewise.
28863 (align_locale_data): Likewise.
28864 (add_locale_empty): Likewise.
28865 (add_locale_raw_data): Likewise.
28866 (add_locale_raw_obstack): Likewise.
28867 (add_locale_string): Likewise.
28868 (add_locale_wstring): Likewise.
28869 (add_locale_uint32): Likewise.
28870 (add_locale_uint32_array): Likewise.
28871 (add_locale_char): Likewise.
28872 (start_locale_structure): Likewise.
28873 (end_locale_structure): Likewise.
28874 (start_locale_prelude): Likewise.
28875 (end_locale_prelude): Likewise.
28876 (write_locale_data): Take locale_file structure rather than an
28878 * locale/programs/locfile.h: Include "obstack.h".
28879 (struct locale_file): Change to store locale file contents instead
28881 (init_locale_data): New prototype.
28882 (align_locale_data): Likewise.
28883 (add_locale_empty): Likewise.
28884 (add_locale_raw_data): Likewise.
28885 (add_locale_raw_obstack): Likewise.
28886 (add_locale_string): Likewise.
28887 (add_locale_wstring): Likewise.
28888 (add_locale_uint32): Likewise.
28889 (add_locale_uint32_array): Likewise.
28890 (add_locale_char): Likewise.
28891 (start_locale_structure): Likewise.
28892 (end_locale_structure): Likewise.
28893 (start_locale_prelude): Likewise.
28894 (end_locale_prelude): Likewise.
28895 (write_locale_data): Update prototype.
28896 * locale/programs/3level.h (struct TABLE): Remove result field.
28897 (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
28898 Use new locale_file interface.
28899 [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
28900 (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
28901 * locale/programs/ld-address.c (address_output): Use new
28902 locale_file interface.
28903 * locale/programs/ld-collate.c (NO_FINALIZE): Change to
28905 (collate_finish): Don't call collseq_table_finalize.
28906 (collate_output): Use new locale_file interface.
28907 * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
28909 (NO_FINALIZE): Change to NO_ADD_LOCALE.
28910 (TABLE): Move defines earlier in file.
28911 (ELEMENT): Likewise.
28912 (DEFAULT): Likewise.
28913 (wctrans_table_add): Move macro and inline function earlier in
28915 (struct wctype_table): Move type earlier in file.
28916 (add_locale_wctype_table): New static prototype.
28917 (struct locale_ctype_t): Use logical types instead of struct iovec
28918 pointers for members.
28919 (ctype_output): Use new locale_file interface.
28920 (wctype_table_finalize): Change to add_locale_wctype_table. Use
28921 new locale_file interface.
28922 (allocate_arrays): Update for use of new locale_file interface.
28923 * locale/programs/ld-identification.c (identification_output): Use
28924 new locale_file interface.
28925 * locale/programs/ld-measurement.c (measurement_output): Likewise.
28926 * locale/programs/ld-messages.c (messages_output): Likewise.
28927 * locale/programs/ld-monetary.c (monetary_output): Likewise.
28928 * locale/programs/ld-name.c (name_output): Likewise.
28929 * locale/programs/ld-numeric.c (numeric_output): Likewise.
28930 * locale/programs/ld-paper.c (paper_output): Likewise.
28931 * locale/programs/ld-telephone.c (telephone_output): Likewise.
28932 * locale/programs/ld-time.c (time_output): Likewise.
28934 2013-09-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28936 * benchtests/Makefile: Add memrchr benchmark.
28937 * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
28938 benchmark as memrchr.
28939 * benchtests/bench-memrchr-ifunc.c: New file.
28940 * benchtests/bench-memrchr.c: New file.
28942 2013-09-06 Will Newton <will.newton@linaro.org>
28944 * benchtests/Makefile (string-bench): Add memcpy.
28946 2013-09-05 Carlos O'Donell <carlos@redhat.com>
28947 Cong Wang <amwang@redhat.com>
28950 * sysdeps/unix/sysv/linux/bits/in.h
28951 [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
28952 * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
28953 before __USE_KERNEL_IPV6_DEFS uses.
28954 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
28956 [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
28957 sockaddr_in6, or ipv6_mreq.
28959 2013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28961 * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
28962 memory access for final bytes in some large inputs.
28963 * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
28965 2013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28967 * string/test-memrchr.c: New file.
28968 * string/test-memrchr-ifunc.c: New file.
28969 * string/Makefile: Add new memrchr testcase.
28971 2013-09-05 Mike Frysinger <vapier@gentoo.org>
28973 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
28974 fanotify_init returns EPERM.
28976 2013-09-04 Joseph Myers <joseph@codesourcery.com>
28978 * conform/conformtest.pl (newtoken): Treat tokens not allowed as
28980 (top level): Treat second token from macro or constant entries for
28981 allowed headers as allowed.
28982 * include/complex.h: Condition internal declarations on
28984 * include/fenv.h: Condition include of <stdbool.h> and internal
28985 declarations on [!_ISOMAC].
28987 2013-09-04 Chris Leonard <cjl@sugarlabs,.org>
28990 * locale/iso-4217.def: Update iso-1427.def and related occurrences.
28992 2013-09-04 Joseph Myers <joseph@codesourcery.com>
28994 * configure.in (--enable-versioning): Remove configure option.
28995 (libc_cv_asm_symver_directive): Remove configure test.
28996 (libc_cv_ld_version_script_option): Likewise.
28997 (VERSIONING): Remove variable and AC_SUBST.
28998 (DO_VERSIONING): Remove AC_DEFINE.
28999 * configure: Regenerated.
29000 * config.h.in (DO_VERSIONING): Remove macro.
29001 * Makerules [$(versioning) = yes]: Change conditionals to
29002 [$(build-shared) = yes].
29003 * config.make.in (versioning): Remove variable.
29004 * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
29005 [$(build-shared) = yes].
29006 * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
29007 * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
29008 * elf/Makefile [$(versioning) = yes]: Change conditionals to
29009 [$(build-shared) = yes].
29010 * extra-lib.mk [$(versioning) = yes]: Likewise.
29011 * hurd/Makefile [$(versioning) = yes]: Likewise.
29012 * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
29014 * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
29016 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
29017 [SHARED && !NO_HIDDEN].
29018 * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
29020 [SHARED && DO_VERSIONING]: Likewise..
29021 * libio/Makefile [$(versioning) = yes]: Change conditionals to
29022 [$(build-shared) = yes].
29023 * manual/install.texi (--disable-versioning): Remove
29025 * INSTALL: Regenerated.
29026 * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
29028 * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
29029 [$(build-shared) = yes].
29030 * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
29031 * sysdeps/i386/i686/multiarch/strstr-c.c
29032 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
29033 [SHARED && !NO_HIDDEN].
29034 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
29035 [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
29036 * sysdeps/powerpc/powerpc32/dl-machine.c
29037 [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
29038 * sysdeps/powerpc/powerpc32/sysdep.h
29039 [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
29040 to [SHARED && PIC && !NO_HIDDEN].
29041 * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
29042 conditional to [SHARED].
29044 2013-09-04 Will Newton <will.newton@linaro.org>
29046 * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
29047 * benchtests/bench-string.h: Include bench-timing.h instead
29048 of including hp-timing.h directly. (INNER_LOOP_ITERS): New
29049 define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
29050 call to HP_TIMING_DIFF_INIT.
29051 * benchtests/bench-memccpy.c: Use bench-timing.h macros
29052 instead of hp-timing.h macros.
29053 * benchtests/bench-memchr.c: Likewise.
29054 * benchtests/bench-memcmp.c: Likewise.
29055 * benchtests/bench-memcpy.c: Likewise.
29056 * benchtests/bench-memmem.c: Likewise.
29057 * benchtests/bench-memmove.c: Likewise.
29058 * benchtests/bench-memset.c: Likewise.
29059 * benchtests/bench-rawmemchr.c: Likewise.
29060 * benchtests/bench-strcasecmp.c: Likewise.
29061 * benchtests/bench-strcasestr.c: Likewise.
29062 * benchtests/bench-strcat.c: Likewise.
29063 * benchtests/bench-strchr.c: Likewise.
29064 * benchtests/bench-strcmp.c: Likewise.
29065 * benchtests/bench-strcpy.c: Likewise.
29066 * benchtests/bench-strcpy_chk.c: Likewise.
29067 * benchtests/bench-strlen.c: Likewise.
29068 * benchtests/bench-strncasecmp.c: Likewise.
29069 * benchtests/bench-strncat.c: Likewise.
29070 * benchtests/bench-strncmp.c: Likewise.
29071 * benchtests/bench-strncpy.c: Likewise.
29072 * benchtests/bench-strnlen.c: Likewise.
29073 * benchtests/bench-strpbrk.c: Likewise.
29074 * benchtests/bench-strrchr.c: Likewise.
29075 * benchtests/bench-strspn.c: Likewise.
29076 * benchtests/bench-strstr.c: Likewise.
29078 2013-09-04 Will Newton <will.newton@linaro.org>
29080 * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
29082 2013-09-03 Joseph Myers <joseph@codesourcery.com>
29085 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
29086 2**-30 instead of 2**-70 as threshold for returning -log(|x|).
29087 * math/libm-test.inc (lgamma_test_data): Add more tests.
29088 * sysdeps/i386/fpu/libm-test-ulps: Update.
29089 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29091 2013-09-03 Ondřej Bílka <neleai@seznam.cz>
29093 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
29094 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
29096 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
29097 Add strcmp-sse2-unaligned
29098 * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
29100 2013-09-02 Mike Frysinger <vapier@gentoo.org>
29102 * Versions.def (libc): Add GLIBC_2.19.
29104 2013-09-02 Mike Frysinger <vapier@gentoo.org>
29106 * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
29107 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
29109 2013-09-02 Joseph Myers <joseph@codesourcery.com>
29112 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
29113 intermediate calculations in recurrence.
29114 (__ieee754_ynf): Likewise.
29115 * math/libm-test.inc (jn_test_data): Do not allow spurious
29116 underflow exception. Add more tests.
29117 (yn_test_data): Add more tests.
29118 * sysdeps/i386/fpu/libm-test-ulps: Update.
29119 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29121 2013-09-02 Ondřej Bílka <neleai@seznam.cz>
29123 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
29125 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
29127 * csu/init-first.c: Fix then/than typos.
29128 * locale/programs/ld-collate.c: Likewise.
29129 * locale/programs/linereader.h: Likewise.
29130 * manual/charset.texi: Likewise.
29131 * manual/filesys.texi: Likewise.
29132 * manual/stdio.texi: Likewise.
29133 * manual/string.texi: Likewise.
29134 * stdlib/fmtmsg.c: Likewise.
29135 * sysdeps/i386/stpncpy.S: Likewise.
29136 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
29137 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
29138 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
29139 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
29141 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
29143 * elf/dl-open.c: Fix typos.
29144 * iconvdata/gbbig5.c: Likewise.
29145 * iconvdata/iso-2022-jp.c: Likewise.
29146 * iconv/gconv_int.h: Likewise.
29147 * iconv/loop.c: Likewise.
29148 * nis/rpcsvc/nis.h: Likewise.
29149 * resolv/ns_name.c: Likewise.
29150 * stdio-common/vfscanf.c: Likewise.
29151 * streams/stropts.h: Likewise.
29152 * sunrpc/rpc_thread.c: Likewise.
29153 * sysdeps/i386/strpbrk.S: Likewise.
29154 * sysdeps/ieee754/k_standard.c: Likewise.
29155 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
29156 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
29157 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
29158 * sysdeps/mach/hurd/profil.c: Likewise.
29159 * sysdeps/s390/dl-procinfo.h: Likewise.
29160 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
29161 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
29162 * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
29163 * sysdeps/x86_64/dl-trampoline.S: Likewise.
29164 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
29166 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
29168 * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
29169 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
29171 2013-08-29 Ondřej Bílka <neleai@seznam.cz>
29173 * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
29174 aix specific files.
29175 * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
29176 * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
29177 * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
29178 * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
29179 * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
29180 * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
29181 * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
29182 * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
29184 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
29185 Roland McGrath <roland@hack.frob.com>
29187 * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
29188 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
29190 2013-08-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
29192 * sysdeps/mach/hurd/i386/init-first.c (init1): Use
29193 __executable_start symbol instead of _start.
29195 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
29197 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
29198 (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
29200 * sysdeps/gnu/ldsodefs.h: ... this new file.
29202 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
29203 (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
29204 instead of ELFOSABI_LINUX.
29206 [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
29207 * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
29208 * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
29209 * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
29211 * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
29212 * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
29213 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
29215 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
29216 (ibm_extended_long_double): Add ieee_nan member.
29217 * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
29218 (do_test): New function.
29220 * math/basic-test.c (TEST_CONVERT): New macro, renamed from
29222 (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
29223 functions, renamed from truncdfsf_test, trunctfsf_test,
29225 (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
29227 (do_test): Run all these.
29229 2013-08-29 Ondřej Bílka <neleai@seznam.cz>
29231 * argp/argp-help.c: Fix typos.
29232 * argp/argp-parse.c: Likewise.
29233 * debug/backtracesyms.c: Likewise.
29234 * elf/elf.h: Likewise.
29235 * malloc/malloc.c: Likewise.
29236 * nis/nis_print.c: Likewise.
29237 * resolv/res_comp.c: Likewise.
29238 * stdlib/stdlib.h: Likewise.
29239 * sunrpc/clnt_tcp.c: Likewise.
29240 * sunrpc/clnt_udp.c: Likewise.
29241 * sunrpc/clnt_unix.c: Likewise.
29242 * sysdeps/unix/bsd/ptsname.c: Likewise.
29243 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
29244 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
29245 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
29247 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
29249 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
29251 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
29253 2013-08-28 Siddhesh Poyarekar <siddhesh@redhat.com>
29255 * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
29256 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
29258 2013-08-27 Mike Frysinger <vapier@gentoo.org>
29261 * dlfcn/Makefile (tests): Add bug-dl-leaf.
29262 (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
29263 ($(objpfx)bug-dl-leaf): New rule.
29264 ($(objpfx)bug-dl-leaf.so): Likewise.
29265 ($(objpfx)bug-dl-leaf.out): Likewise.
29266 ($(objpfx)bug-dl-leaf-lib.so): Likewise.
29267 ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
29268 * dlfcn/bug-dl-leaf.c: New test.
29269 * dlfcn/bug-dl-leaf-lib.c: Likewise.
29270 * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
29271 * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
29272 (dlclose): Likewise.
29273 (dlmopen): Likewise.
29275 2013-08-27 Roland McGrath <roland@hack.frob.com>
29277 * include/netdb.h [!_ISOMAC]:
29278 Don't include <tls.h>.
29279 (h_errno, __libc_h_errno): Move declaration and macros out of
29282 * include/resolv.h [_RESOLV_H_]:
29283 Don't include <tls.h>.
29284 (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
29285 * resolv/res_libc.c: Don't include <tls.h>.
29286 (_res): Use __attribute__ ((nocommon)) in place of
29287 __attribute__ ((section (".bss"))).
29289 * Makefile ($(common-objpfx)linkobj/libc_pic.a):
29290 If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
29292 * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
29294 * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
29295 only under [SIOCGIFCONF && SIOCGIFNETMASK].
29297 * resolv/res_mkquery.c: Include <sys/time.h>.
29299 * inet/ifreq.c: Moved to ...
29300 * sysdeps/unix/ifreq.c: ... here.
29301 * inet/ifreq.c: New file, true stub version.
29303 * socket/sa_len.c: New file.
29304 * socket/Makefile (aux): Add it.
29305 * sysdeps/unix/sysv/linux/Makefile
29306 [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
29307 * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
29308 and #include <socket/sa_len.c>.
29309 * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
29310 HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
29312 * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
29313 * bits/socket.h: ... here.
29315 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
29316 Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
29317 (SOCK_MAX, SOCK_TYPE_MASK): New macros.
29319 2013-08-27 Andreas Schwab <schwab@suse.de>
29322 * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
29323 * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
29324 (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
29325 * string/test-strcasecmp.c (test_main): Run tests in several
29327 * string/test-strncasecmp.c (test_main): Likewise.
29329 * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
29330 (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
29331 to __strcasecmp_nonascii and __strncasecmp_nonascii.
29332 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
29333 (__strncasecmp_ssse3) [PIC]: Likewise.
29335 2013-08-26 Roland McGrath <roland@hack.frob.com>
29337 * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
29339 * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
29340 instead of explicitly declaring xdecrypt.
29341 * nis/nss_nis/nis-publickey.c: Likewise.
29343 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
29346 * nscd/aicache.c: Include res_hconf.h.
29347 (addhstaiX): Initialize res_hconf.
29349 2013-08-26 Andreas Schwab <schwab@suse.de>
29351 * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
29352 ($(objpfx)tst-tls-atexit): Add dependencies here instead.
29354 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
29356 * nscd/aicache.c (addhstaiX): Fix indentation.
29358 2013-08-25 Mike Frysinger <vapier@gentoo.org>
29360 * configure.ac: Quote $build_pt_chown test.
29361 * configure: Regenerated.
29363 2013-08-23 Joseph Myers <joseph@codesourcery.com>
29366 * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
29367 * math/s_cexpf.c (__cexpf): Likewise.
29368 * math/s_cexpl.c (__cexpl): Likewise.
29369 * math/libm-test.inc (cexp_test_data): Correct expected return
29370 value for NaN + i0. Add another test.
29372 2013-08-22 David S. Miller <davem@davemloft.net>
29374 * po/ca.po: Update Catalan translation from translation project.
29375 * po/uk.po: Add Ukrainian translations from translation project.
29377 2013-08-21 Joseph Myers <joseph@codesourcery.com>
29380 * math/s_fdim.c (__fdim): Check for infinite arguments if result
29381 is infinite, not alongside NaN test.
29382 * math/s_fdimf.c (__fdimf): Likewise.
29383 * math/s_fdiml.c (__fdiml): Likewise.
29384 * math/libm-test.inc (fdim_test_data): Add more tests. Test that
29385 errno is unchanged.
29387 2013-08-21 Ondřej Bílka <neleai@seznam.cz>
29389 * argp/argp-help.c: Fix typos.
29390 * crypt/speeds.c: Likewise.
29391 * csu/check_fds.c: Likewise.
29392 * elf/dl-load.c: Likewise.
29393 * elf/dl-open.c: Likewise.
29394 * elf/reldep3.c: Likewise.
29395 * elf/reldep.c: Likewise.
29396 * elf/sprof.c: Likewise.
29397 * iconv/iconv_charmap.c: Likewise.
29398 * iconv/skeleton.c: Likewise.
29399 * iconv/strtab.c: Likewise.
29400 * io/lockf64.c: Likewise.
29401 * libio/libioP.h: Likewise.
29402 * resolv/gai_notify.c: Likewise.
29403 * resolv/ns_name.c: Likewise.
29404 * resolv/ns_samedomain.c: Likewise.
29405 * resolv/res_send.c: Likewise.
29406 * stdlib/random.c: Likewise.
29407 * sunrpc/rpc/xdr.h: Likewise.
29408 * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
29409 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
29410 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
29411 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
29412 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
29413 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
29414 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
29415 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
29416 * sysdeps/mach/hurd/check_fds.c: Likewise.
29417 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
29418 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
29419 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
29420 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
29421 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
29422 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
29423 * sysdeps/pthread/aio_notify.c: Likewise.
29424 * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
29425 * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
29426 * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
29427 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
29428 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
29430 2013-08-21 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
29432 * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
29433 version if bit_Slow_SSE4_2 is set.
29434 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
29435 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
29437 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29440 * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
29441 trampoline stack frame information.
29442 * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
29443 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
29444 (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
29445 (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
29446 (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
29447 * sysdeps/unix/sysv/linux/powerpc/init-first.c
29448 (_libc_vdso_platform_setup): Initialize the signal trampolines.
29449 * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
29451 * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
29452 interrupting a syscall and set with option SA_SIGINFO.
29454 2013-08-20 Joseph Myers <joseph@codesourcery.com>
29457 * math/s_cproj.c (__cproj): Only return an infinity if one part of
29458 argument is infinite.
29459 * math/s_cprojf.c (__cprojf): Likewise.
29460 * math/s_cprojl.c (__cprojl): Likewise.
29461 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
29462 * math/libm-test.inc (cproj_test_data): Add more tests.
29464 * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
29466 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
29467 [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
29468 size. Use __ffs to determine corresponding shift.
29470 2013-08-20 Joseph Myers <joseph@codesourcery.com>
29471 Roland McGrath <roland@hack.frob.com>
29473 * Makefile (INSTALL): Remove trailing blank lines from output of
29476 2013-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
29478 * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
29479 Align 32 bit compat elf_greg to 8 bytes.
29481 2013-08-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
29483 * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
29485 2013-08-20 Siddhesh Poyarekar <siddhesh@redhat.com>
29487 * string/strcoll_l.c (coll_seq): New structure.
29488 (get_next_seq_cached): New function.
29489 (get_next_seq): New function.
29490 (do_compare): New function.
29491 (STRCOLL): Use GNU style definition. Simplify implementation
29492 by using get_next_seq, get_next_seq_cached and do_compare.
29494 2013-08-16 Florian Weimer <fweimer@redhat.com>
29498 * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
29500 * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
29502 * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
29503 * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
29504 Return delayed error code. Remove GETDENTS_64BIT_ALIGNED
29506 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
29507 GETDENTS_64BIT_ALIGNED.
29508 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
29509 * manual/filesys.texi (Reading/Closing Directory): Document
29510 ENAMETOOLONG return value of readdir_r. Recommend readdir more
29512 * manual/conf.texi (Limits for Files): Add portability note to
29513 NAME_MAX, PATH_MAX.
29514 (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
29516 2013-08-13 Andreas Schwab <schwab@suse.de>
29519 * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
29521 * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
29522 LDBL_MAX_EXP >= 16384]: Add tests for it.
29524 2013-08-12 David S. Miller <davem@davemloft.net>
29526 * version.h (RELEASE): Set to "development".
29527 (VERSION): Set to "2.18.90".
29528 * NEWS: Add 2.19 section.
29530 2013-08-03 David S. Miller <davem@davemloft.net>
29532 * po/ko.po: Update Korean translation from translation project.
29534 2013-08-01 David S. Miller <davem@davemloft.net>
29536 * manual/contrib.texi: Update entry for Siddhesh Poyarekar. Add
29537 entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
29540 2013-07-30 David S. Miller <davem@davemloft.net>
29542 * po/fr.po: Update French translation from translation project.
29544 2013-07-28 David S. Miller <davem@davemloft.net>
29546 * po/cs.po: Update Czech translation from translation project.
29548 * po/sv.po: Update Swedish translation from translation project.
29550 2013-07-27 David S. Miller <davem@davemloft.net>
29552 * po/eo.po: Update Esperanto translation from translation project.
29554 * po/vi.po: Update Vietnamese translation from translation project.
29556 * po/de.po: Update German translation from translation project.
29558 2013-07-26 David S. Miller <davem@davemloft.net>
29560 * po/bg.po: Update Bulgarian translation from translation project.
29562 * po/nl.po: Update Dutch translation from translation project.
29563 * po/pl.po: Update Polish translation from translation project.
29564 * po/ru.po: Update Russian translation from translation project.
29566 2013-07-24 David S. Miller <davem@davemloft.net>
29568 * po/libc.pot: Update.
29570 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29572 * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
29573 variable page size.
29574 * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
29575 * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
29576 * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
29578 2013-07-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
29580 * sysdeps/s390/fpu/libm-test-ulps: Refresh.
29582 2013-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
29583 Andreas Schwab <schwab@suse.de>
29584 Roland McGrath <roland@hack.frob.com>
29585 Joseph Myers <joseph@codesourcery.com>
29586 Carlos O'Donell <carlos@redhat.com>
29589 * config.h.in: Define HAVE_PT_CHOWN.
29590 * config.make.in (build-pt-chown): New variable.
29591 * configure.in (--enable-pt_chown): New configure option.
29592 * configure: Regenerate.
29593 * login/Makefile: Include Makeconfig. Build pt_chown only if
29594 build-pt-chown is enabled.
29595 * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
29596 pt_chown to fix pty ownership.
29597 * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
29599 * manual/install.texi (Configuring and compiling): Mention
29600 --enable-pt_chown. Add @findex for grantpt.
29601 * INSTALL: Regenerate.
29603 2013-07-20 David S. Miller <davem@davemloft.net>
29605 * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
29606 difference between 32-bit and 64-bit.
29608 2013-07-15 Carlos O'Donell <carlos@redhat.com>
29611 * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
29612 Avoid system header dependency with -ffreestanding.
29613 ($(objpfx)bits/syscall%d): Likewise.
29615 2013-07-13 David S. Miller <davem@davemloft.net>
29617 * math/libm-test.inc (casin_test_data): Annotate more cases of missing
29618 underflows from atanl/atan2l due to bug 15319.
29619 (casinh_test_data): Likewise.
29621 2013-07-07 David S. Miller <davem@davemloft.net>
29623 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
29625 2013-07-05 Jeroen Albers <_jeroen_@yahoo.com>
29627 * sysdeps/i386/fpu/libm-test-ulps: Update.
29628 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29630 2013-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
29632 * configure.in (--enable-lock-elision): Fix message text.
29633 * INSTALL: Regenerate.
29634 * configure: Regenerate.
29636 2013-07-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29638 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29640 2013-07-03 Andreas Jaeger <aj@suse.de>
29642 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
29644 (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
29645 (ptrace_peeksiginfo_args): Add.
29646 (__ptrace_peeksiginfo_flags): Add.
29647 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
29648 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
29649 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
29651 2013-07-03 Allan McRae <allan@archlinux.org>
29653 * sysdeps/i386/fpu/libm-test-ulps: Update.
29655 2013-07-02 David S. Miller <davem@davemloft.net>
29657 * sysdeps/sparc/fpu/libm-test-ulps: Update.
29659 2013-07-02 Markus Trippelsdorf <markus@trippelsdorf.de>
29661 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
29663 2013-07-02 Joseph Myers <joseph@codesourcery.com>
29665 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
29666 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29668 2013-07-02 Andi Kleen <ak@linux.intel.com>
29670 * config.h.in (ENABLE_LOCK_ELISION): Add.
29671 * configure.in (--enable-lock-elision): Add option.
29672 * manual/install.texi: Document --enable lock elision.
29673 * configure: Regenerate
29674 * INSTALL: Regenerate.
29676 2013-07-02 H.J. Lu <hongjiu.lu@intel.com>
29678 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
29679 SSE4.2 strcasecmp for libc.a.
29680 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
29682 2013-07-02 Joseph Myers <joseph@codesourcery.com>
29685 * soft-fp/op-common.h (_FP_FMA): New macro.
29686 * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
29687 (_FP_MUL_MEAT_DW_1_imm): Likewise. Split out of ...
29688 (_FP_MUL_MEAT_1_imm): ... here.
29689 (_FP_MUL_MEAT_DW_1_wide): New macro. Split out of ...
29690 (_FP_MUL_MEAT_1_wide): ... here.
29691 (_FP_MUL_MEAT_DW_1_hard): Likewise. Split out of ...
29692 (_FP_MUL_MEAT_1_hard): ... here.
29693 * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
29694 (_FP_MUL_MEAT_DW_2_wide): Likewise. Split out of ...
29695 (_FP_MUL_MEAT_2_wide): ... here.
29696 (_FP_MUL_MEAT_DW_2_wide_3mul): New macro. Split out of ...
29697 (_FP_MUL_MEAT_2_wide_3mul): ... here.
29698 (_FP_MUL_MEAT_DW_2_gmp): New macro. Split out of ...
29699 (_FP_MUL_MEAT_2_gmp): ... here.
29700 * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
29701 (_FP_MUL_MEAT_DW_4_wide): Likewise. Split out of ...
29702 (_FP_MUL_MEAT_4_wide): ... here.
29703 (_FP_MUL_MEAT_DW_4_gmp): New macro. Split out of ...
29704 (_FP_MUL_MEAT_4_gmp): ... here.
29705 * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
29706 (_FP_WFRACBITS_DW_S): Likewise.
29707 (_FP_WFRACXBITS_DW_S): Likewise.
29708 (_FP_HIGHBIT_DW_S): Likewise.
29709 (FP_FMA_S): Likewise.
29710 (_FP_FRAC_HIGH_DW_S): Likewise.
29711 * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
29712 (_FP_WFRACBITS_DW_D): Likewise.
29713 (_FP_WFRACXBITS_DW_D): Likewise.
29714 (_FP_HIGHBIT_DW_D): Likewise.
29715 (FP_FMA_D): Likewise.
29716 (_FP_FRAC_HIGH_DW_D): Likewise.
29717 * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
29718 (_FP_WFRACBITS_DW_E): Likewise.
29719 (_FP_WFRACXBITS_DW_E): Likewise.
29720 (_FP_HIGHBIT_DW_E): Likewise.
29721 (FP_FMA_E): Likewise.
29722 (_FP_FRAC_HIGH_DW_E): Likewise.
29723 * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
29724 (_FP_WFRACBITS_DW_Q): Likewise.
29725 (_FP_WFRACXBITS_DW_Q): Likewise.
29726 (_FP_HIGHBIT_DW_Q): Likewise.
29727 (FP_FMA_Q): Likewise.
29728 (_FP_FRAC_HIGH_DW_Q): Likewise.
29729 * soft-fp/fmasf4.c: New file.
29730 * soft-fp/fmadf4.c: Likewise.
29731 * soft-fp/fmatf4.c: Likewise.
29733 2013-06-28 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
29735 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
29736 bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
29738 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
29740 (index_Slow_SSE4_2): Likewise.
29741 (index_Prefer_PMINUB_for_stringop): Likewise.
29742 * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
29743 bit_Slow_SSE4_2 is set.
29744 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
29745 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
29747 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
29749 * sysdeps/powerpc/Makefile: Add comment about generating an offset to
29750 rtld_global._dl_hwcap2.
29751 * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
29753 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
29754 POWER8 feature descriptions defined in _dl_hwcap2.
29755 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
29756 string handling for POWER8 feature bits.
29757 (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
29758 (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
29759 _dl_powerpc_cap_flags.
29760 (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
29761 * sysdeps/powerpc/rtld-global-offsets.sym
29762 (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
29763 _dl_hwcap2 in the rtld_global_ro structure.
29765 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
29767 * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
29768 hardware capabilities in support of AT_HWCAP2.
29769 (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
29770 * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
29772 (_dl_show_auxv): Add support for calling _dl_procinfo to display
29773 AT_HWCAP2. If a platform doesn't chose to handle displaying AT_HWCAP2
29774 explicitly the unknown a_type display mechanism is used.
29775 * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
29776 * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
29778 * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
29779 to macro prototype for AT_HWCAP2 support.
29780 * sysdeps/i386/dl-procinfo.h: Likewise.
29781 * sysdeps/s390/dl-procinfo.h: Likewise.
29782 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
29783 macro prototype for AT_HWCAP2 support. Make WORD unsigned long int
29784 rather than signed int. Stub in handler for TYPE == AT_HWCAP2 to
29785 return -1 for unknown a_type display fallback.
29786 * sysdeps/sparc/dl-procinfo.h: Likewise.
29787 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
29788 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
29790 2013-06-28 Joseph Myers <joseph@codesourcery.com>
29792 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
29793 instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
29795 2013-06-28 Pierre Ynard <linkfanel@yahoo.fr>
29798 * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
29799 mprotect making __stack_prot writable.
29801 2013-06-28 Nathan Froyd <froydnj@codesourcery.com>
29802 Joseph Myers <joseph@codesourcery.com>
29804 * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
29805 as being properly aligned.
29807 2013-06-28 Maciej W. Rozycki <macro@codesourcery.com>
29809 * dlfcn/modstatic5.c: New file.
29810 * dlfcn/tststatic5.c: New file.
29811 * dlfcn/Makefile (tests): Add tststatic5.
29812 (tests-static): Likewise.
29813 (modules-names): Add modstatic5.
29814 (tststatic5-ENV): New variable.
29815 ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
29818 * elf/dl-support.c (_dl_main_map): New variable.
29819 (_dl_ns): Use it to initialize [LM_ID_BASE] element.
29820 (_dl_nns, _dl_load_adds): Set to 1.
29821 (_dl_initial_searchlist): Refer to _dl_main_map.
29822 (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
29823 * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
29824 call to _dl_get_origin.
29825 * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
29827 (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
29828 * dlfcn/modstatic3.c: New file.
29829 * dlfcn/tststatic3.c: New file.
29830 * dlfcn/tststatic4.c: New file.
29831 * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
29832 (tests-static): Likewise.
29833 (modules-names): Add modstatic3.
29834 (tststatic3-ENV, tststatic4-ENV): New variables.
29835 ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
29836 ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
29838 2013-06-26 Joseph Myers <joseph@codesourcery.com>
29840 * configure.in (CC): Require GCC version 4.4 or later.
29841 * configure: Regenerated.
29842 * manual/install.texi (Tools for Compilation): Update GCC version
29844 * INSTALL: Regenerated.
29846 2013-06-26 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
29849 * string/test-memcmp.c (check2): New.
29850 (main): Call check2.
29852 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
29854 2013-06-26 Maciej W. Rozycki <macro@codesourcery.com>
29857 * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
29859 (dl_open_worker) [!SHARED]: ... here.
29861 2013-06-26 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
29863 * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
29865 2013-06-25 Richard Henderson <rth@redhat.com>
29867 * locale/programs/locarchive.c: Include <libc-internal.h>
29869 2013-06-25 Joseph Myers <joseph@codesourcery.com>
29871 * manual/texinfo.tex: Update to version 2013-06-21.17, with
29872 trailing whitespace removed.
29874 2013-06-24 Mike Frysinger <vapier@gentoo.org>
29877 * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
29878 * locale/programs/locarchive.c: Include libc-mmap.h.
29879 (prepare_address_space): Take two new outputs (the mmap base and len).
29880 Align p to MAP_FIXED_ALIGNMENT. Set mmap base and len to the right
29882 (create_archive): Declare new mmap base and len values for
29883 prepare_address_space, and store the result in ah.
29884 (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
29885 (enlarge_archive): If ah->mmap_base is not NULL, use that and
29886 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
29887 Declare new mmap base and len values for
29888 prepare_address_space, and store the result in new_ah.
29889 (open_archive): Declare new mmap base and len values for
29890 prepare_address_space, and store the result in ah.
29891 (close_archive): If ah->mmap_base is not NULL, use that and
29892 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
29893 * sysdeps/generic/libc-mmap.h: New file.
29895 2013-06-24 Mike Frysinger <vapier@gentoo.org>
29897 * include/libc-internal.h (ALIGN_DOWN): New helper macro.
29898 (ALIGN_UP): Likewise.
29899 (PTR_ALIGN_DOWN): Likewise.
29900 (PTR_ALIGN_UP): Likewise.
29902 2013-06-24 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
29904 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
29905 entry mapped to PPC_PLATFORM_POWER8.
29906 * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
29908 (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
29909 (_dl_string_platform): Add case for exporting platform position for
29911 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
29912 search path to sysdeps/powerpc/powerpc32/power8 directory.
29913 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
29914 search path to sysdeps/powerpc/powerpc64/power8 directory.
29915 * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
29916 power7 directories.
29917 * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
29918 power7 directories.
29920 2013-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
29922 * INSTALL: Regenerate.
29924 * nscd/connections.c (nscd_init): Fix comment.
29926 2013-06-22 Joseph Myers <joseph@codesourcery.com>
29928 * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
29931 * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
29932 to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
29934 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
29936 * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
29938 (DL_DST_REQ_STATIC): Remove macro.
29940 2013-06-21 Joseph Myers <joseph@codesourcery.com>
29943 * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
29944 with a shift of 0 bits.
29946 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
29948 * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
29951 2013-06-21 Kaz Kojima <kkojima@rr.iij4u.or.jp>
29954 * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
29956 2013-06-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29958 * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
29959 * configure.in (libc_cv_cc_loop_to_function): Check if compiler
29960 accepts -fno-tree-loop-distribute-patterns.
29961 * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
29962 * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
29964 * string/memset.c (memset): Likewise.
29965 * string/test-memmove.c (simple_memmove): Disable loop transformation
29967 * string/test-memset.c (simple_memset): Likewise.
29968 * benchtests/bench-memmove.c (simple_memmove): Likewise.
29969 * benchtests/bench-memset.c (simple_memset): Likewise.
29970 * configure: Regenerated.
29972 2013-06-20 Joseph Myers <joseph@codesourcery.com>
29974 * math/test-misc.c (main): Ignore fesetround failure when failures
29975 of subsequent rounding tests would be ignored.
29978 * math/fedisblxcpt.c (fedisableexcept): Return 0.
29979 * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
29980 * math/fegetenv.c (__fegetenv): Return 0.
29981 * math/fegetexcept.c (fegetexcept): Return 0.
29982 * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
29984 * math/feholdexcpt.c (feholdexcept): Return 0.
29985 * math/fesetenv.c (__fesetenv): Return 0.
29986 * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
29987 argument FE_TONEAREST.
29988 * math/feupdateenv.c (__feupdateenv): Return 0.
29989 * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
29991 2013-06-18 Roland McGrath <roland@hack.frob.com>
29993 * elf/rtld-Rules (rtld-compile-command.S): New variable.
29994 (rtld-compile-command.s, rtld-compile-command.c): New variables.
29995 ($(objpfx)rtld-%.os rules): Use them.
29997 2013-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29999 * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
30002 2013-06-17 Roland McGrath <roland@hack.frob.com>
30004 * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
30005 length of target pattern, then descending length of dependency pattern.
30006 * configure.in (AWK): Require gawk 3.1.2 or newer.
30007 * manual/install.texi (Tools for Compilation): Say that we do.
30008 * configure: Regenerated.
30010 * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
30011 ($(common-objpfx)sysd-rules): Replace shell logic with running ...
30012 * scripts/sysd-rules.awk: ... this new script.
30013 * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
30014 than a glob-style pattern.
30016 2013-06-17 Joseph Myers <joseph@codesourcery.com>
30018 * math/test-misc.c (main): Do not treat incorrectly rounded
30019 conversions as failure unless ROUNDING_TESTS passes.
30021 2013-06-15 Joseph Myers <joseph@codesourcery.com>
30024 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
30025 restore exception state around main square root computation, then
30026 check for inexactness explicitly.
30028 * math/libm-test.inc (fma_test_data): Add another test.
30030 2013-06-15 Siddhesh Poyarekar <siddhesh@redhat.com>
30032 * manual/threads.texi (Non-POSIX Extensions): New document
30033 node. Document pthread_getattr_default_np and
30034 pthread_setattr_default_np.
30036 * Versions.def (libpthread): Add GLIBC_2.18.
30037 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
30038 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
30040 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
30042 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
30044 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
30046 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
30048 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
30050 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
30052 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
30054 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
30057 2013-06-14 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
30059 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
30060 Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
30062 2013-06-14 Siddhesh Poyarekar <siddhesh@redhat.com>
30063 H.J. Lu <hjl.tools@gmail.com>
30066 * sysdeps/x86_64/rtld-memset.c: Remove file.
30067 * sysdeps/x86_64/rtld-memset.S: New file.
30069 2013-06-14 Joseph Myers <joseph@codesourcery.com>
30071 * stdlib/tst-strtod-round.c: Include <math-tests.h>.
30072 (test_in_one_mode): Take arguments for whether the rounding mode
30073 is supported for each floating-point type.
30074 (do_test): Pass new arguments to test_in_one_mode using
30077 2013-06-13 Roland McGrath <roland@hack.frob.com>
30079 * posix/tst-waitid.c (do_test): Distinguish different instances of
30080 stopped/continued in CHECK_SIGCHLD uses. Insert a delay between
30081 sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
30082 before entering the kernel for waitpid.
30084 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
30086 * NEWS: Fix note on clock function precision. Text by Roland
30089 2013-06-13 Roland McGrath <roland@hack.frob.com>
30091 * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
30092 it into place only when and if the sanity check passes.
30094 2013-06-13 Joseph Myers <joseph@codesourcery.com>
30096 * stdlib/gen-tst-strtod-round.c (round_str): Always generate
30097 output for whether conversion result is exact. Take argument
30098 indicating whether type is IBM long double.
30099 (round_for_all): Change need_exact field to ibm_ld.
30100 * stdlib/tst-strtod-round.c (struct exactness): New type.
30101 (struct test): Change bool ld_ok field to struct exactness exact.
30102 (TEST): Update all definitions for change to field.
30103 (tests): Regenerate array contents.
30104 (test_in_one_mode): Take pointer to new field instead of old ld_ok
30105 field value. Check for IBM long double here.
30106 (do_test): Update calls to test_in_one_mode.
30108 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
30111 * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
30112 CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
30114 2013-06-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30117 * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
30118 generated by the compiler on loop optimizations.
30119 * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
30120 general definitions.
30122 2013-06-12 Joseph Myers <joseph@codesourcery.com>
30124 * math/bug-nextafter.c: Include <math-tests.h>.
30125 (main): Only test for exceptions if EXCEPTION_TESTS is true for
30127 * math/bug-nexttoward.c: Include <math-tests.h>.
30128 (main): Only test for exceptions if EXCEPTION_TESTS is true for
30130 * math/test-misc.c: Include <math-tests.h>.
30131 (main): Only test for exceptions if EXCEPTION_TESTS is true for
30134 2013-06-12 Andreas Jaeger <aj@suse.de>
30136 * po/ia.po: Update Interlingua translation from translation
30139 2013-06-12 Siddhesh Poyarekar <siddhesh@redhat.com>
30141 * include/fenv.h: Include stdbool.h.
30142 (struct rm_ctx): New structure.
30143 * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
30145 (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
30146 (SET_RESTORE_ROUNDF): Likewise.
30147 (SET_RESTORE_ROUNDL): Likewise.
30148 (SET_RESTORE_ROUND_NOEX): Likewise.
30149 (SET_RESTORE_ROUND_NOEXF): Likewise.
30150 (SET_RESTORE_ROUND_NOEXL): Likewise.
30151 (SET_RESTORE_ROUND_53BIT): Likewise.
30152 [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
30153 (libc_feresetround_noexf_ctx): Likewise.
30154 (libc_feresetround_noexl_ctx): Likewise.
30155 (libc_feholdsetround_53bit_ctx): Likewise.
30156 (libc_feresetround_53bit_ctx): Likewise.
30157 * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
30158 (libc_feholdexcept_setround_sse_ctx): New function.
30159 (libc_fesetenv_sse_ctx): Likewise.
30160 (libc_feupdateenv_sse_ctx): Likewise.
30161 (libc_feholdexcept_setround_387_prec_ctx): Likewise.
30162 (libc_feholdexcept_setround_387_ctx): Likewise.
30163 (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
30164 (libc_feholdsetround_387_prec_ctx): Likewise.
30165 (libc_feholdsetround_387_ctx): Likewise.
30166 (libc_feholdsetround_387_53bit_ctx): Likewise.
30167 (libc_feholdsetround_sse_ctx): Likewise.
30168 (libc_feresetround_sse_ctx): Likewise.
30169 (libc_feresetround_387_ctx): Likewise.
30170 (libc_feupdateenv_387_ctx): Likewise.
30171 (libc_feholdexcept_setroundf_ctx): Define macro.
30172 (libc_fesetenvf_ctx): Likewise.
30173 (libc_feupdateenvf_ctx): Likewise.
30174 (libc_feholdsetroundf_ctx): Likewise.
30175 (libc_feresetroundf_ctx): Likewise.
30176 (libc_feholdexcept_setround_ctx): Likewise.
30177 (libc_fesetenv_ctx): Likewise.
30178 (libc_feupdateenv_ctx): Likewise.
30179 (libc_feholdsetround_ctx): Likewise.
30180 (libc_feresetround_ctx): Likewise.
30181 (libc_feholdexcept_setroundl_ctx): Likewise.
30182 (libc_feupdateenvl_ctx): Likewise.
30183 (libc_feholdsetroundl_ctx): Likewise.
30184 (libc_feresetroundl_ctx): Likewise.
30185 [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
30186 (libc_feresetround_53bit_ctx): Likewise.
30188 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
30190 * locale/iso-639.def: Convert to UTF-8.
30192 2013-06-11 Joseph Myers <joseph@codesourcery.com>
30194 * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
30195 (EXCEPTION_TESTS_double): Likewise.
30196 (EXCEPTION_TESTS_long_double): Likewise.
30197 (EXCEPTION_TESTS): Likewise.
30198 * math/libm-test.inc (test_exceptions): Only test exceptions if
30199 EXCEPTION_TESTS (FLOAT).
30201 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
30203 * benchtests/Makefile (string-bench): Add strcpy_chk and
30205 * benchtests/bench-stpcpy_chk-ifunc.c: New file.
30206 * benchtests/bench-stpcpy_chk.c: New file.
30207 * benchtests/bench-strcpy_chk-ifunc.c: New file.
30208 * benchtests/bench-strcpy_chk.c: New file.
30209 * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
30211 (do_test): Likewise.
30213 2013-06-11 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
30215 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
30216 ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
30217 * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
30218 with tabs where appropriate.
30219 [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
30221 [PPC_PLATFORM_PPC440]: Likewise.
30222 [PPC_PLATFORM_PPC464]: Likewise.
30223 [PPC_PLATFORM_PPC476]: Likewise.
30224 (_dl_string_platform): Add support for detecting ppc405, ppc440,
30225 ppc464, and ppc476 platform strings merging from ports/
30228 2013-06-11 Andreas Schwab <schwab@suse.de>
30231 * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
30232 (from_ucs4_idx): Regenerate.
30233 (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
30234 (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
30235 (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
30236 (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
30237 (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
30238 (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
30239 (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
30240 (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
30241 from FROM_LOOP and TO_LOOP specific macros.
30242 (BODY): Handle combining characters.
30243 * iconvdata/BIG5HKSCS.irreversible: Update.
30244 * iconvdata/BIG5HKSCS.precomposed: New file.
30245 * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
30247 * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
30249 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
30251 * include/sys/time.h: Fix indentation and add copyright header.
30253 * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
30254 (do_test): Likewise.
30255 * string/test-memchr.c (do_one_test): Likewise.
30256 (do_test): Likewise.
30257 * string/test-memcmp.c (do_one_test): Likewise.
30258 (do_test): Likewise.
30259 * string/test-memcpy.c (do_one_test): Likewise.
30260 (do_test): Likewise.
30261 * string/test-memmem.c (do_one_test): Likewise.
30262 (do_test): Likewise.
30263 (do_random_tests): Likewise.
30264 * string/test-memmove.c (do_one_test): Likewise.
30265 (do_test): Likewise.
30266 * string/test-memset.c (do_one_test): Likewise.
30267 (do_test): Likewise.
30268 * string/test-rawmemchr.c (do_one_test): Likewise.
30269 (do_test): Likewise.
30270 * string/test-strcasecmp.c (do_one_test): Likewise.
30271 (do_test): Likewise.
30272 * string/test-strcasestr.c (do_one_test): Likewise.
30273 (do_test): Likewise.
30274 * string/test-strcat.c (do_one_test): Likewise.
30275 (do_test): Likewise.
30276 * string/test-strchr.c (do_one_test): Likewise.
30277 (do_test): Likewise.
30278 * string/test-strcmp.c (do_one_test): Likewise.
30279 (do_test): Likewise.
30280 * string/test-strcpy.c (do_one_test): Likewise.
30281 (do_test): Likewise.
30282 * string/test-string.h: Likewise.
30283 (test_init): Likewise.
30284 * string/test-strlen.c (do_one_test): Likewise.
30285 (do_test): Likewise.
30286 * string/test-strncasecmp.c (do_one_test): Likewise.
30287 (do_test): Likewise.
30288 * string/test-strncat.c (do_one_test): Likewise.
30289 (do_test): Likewise.
30290 * string/test-strncmp.c (do_one_test): Likewise.
30291 (do_test_limit): Likewise.
30292 (do_test): Likewise.
30293 * string/test-strncpy.c (do_one_test): Likewise.
30294 (do_test): Likewise.
30295 * string/test-strnlen.c (do_one_test): Likewise.
30296 (do_test): Likewise.
30297 * string/test-strpbrk.c (do_one_test): Likewise.
30298 (do_test): Likewise.
30299 * string/test-strrchr.c (do_one_test): Likewise.
30300 (do_test): Likewise.
30301 * string/test-strspn.c (do_one_test): Likewise.
30302 (do_test): Likewise.
30303 * string/test-strstr.c (do_one_test): Likewise.
30304 (do_test): Likewise.
30306 * benchtests/Makefile (string-bench): Add string benchmarks.
30307 * benchtests/bench-bcopy-ifunc.c: New file.
30308 * benchtests/bench-bcopy.c: New file.
30309 * benchtests/bench-bzero-ifunc.c: New file.
30310 * benchtests/bench-bzero.c: New file.
30311 * benchtests/bench-memccpy-ifunc.c: New file.
30312 * benchtests/bench-memccpy.c: New file.
30313 * benchtests/bench-memchr-ifunc.c: New file.
30314 * benchtests/bench-memchr.c: New file.
30315 * benchtests/bench-memcmp-ifunc.c: New file.
30316 * benchtests/bench-memcmp.c: New file.
30317 * benchtests/bench-memmem-ifunc.c: New file.
30318 * benchtests/bench-memmem.c: New file.
30319 * benchtests/bench-memmove-ifunc.c: New file.
30320 * benchtests/bench-memmove.c: New file.
30321 * benchtests/bench-mempcpy-ifunc.c: New file.
30322 * benchtests/bench-mempcpy.c: New file.
30323 * benchtests/bench-memset-ifunc.c: New file.
30324 * benchtests/bench-memset.c: New file.
30325 * benchtests/bench-rawmemchr-ifunc.c: New file.
30326 * benchtests/bench-rawmemchr.c: New file.
30327 * benchtests/bench-stpcpy-ifunc.c: New file.
30328 * benchtests/bench-stpcpy.c: New file.
30329 * benchtests/bench-stpncpy-ifunc.c: New file.
30330 * benchtests/bench-stpncpy.c: New file.
30331 * benchtests/bench-strcasecmp-ifunc.c: New file.
30332 * benchtests/bench-strcasecmp.c: New file.
30333 * benchtests/bench-strcasestr-ifunc.c: New file.
30334 * benchtests/bench-strcasestr.c: New file.
30335 * benchtests/bench-strcat-ifunc.c: New file.
30336 * benchtests/bench-strcat.c: New file.
30337 * benchtests/bench-strchr-ifunc.c: New file.
30338 * benchtests/bench-strchr.c: New file.
30339 * benchtests/bench-strchrnul-ifunc.c: New file.
30340 * benchtests/bench-strchrnul.c: New file.
30341 * benchtests/bench-strcmp-ifunc.c: New file.
30342 * benchtests/bench-strcmp.c: New file.
30343 * benchtests/bench-strcpy-ifunc.c: New file.
30344 * benchtests/bench-strcpy.c: New file.
30345 * benchtests/bench-strcspn-ifunc.c: New file.
30346 * benchtests/bench-strcspn.c: New file.
30347 * benchtests/bench-strlen-ifunc.c: New file.
30348 * benchtests/bench-strlen.c: New file.
30349 * benchtests/bench-strncasecmp-ifunc.c: New file.
30350 * benchtests/bench-strncasecmp.c: New file.
30351 * benchtests/bench-strncat-ifunc.c: New file.
30352 * benchtests/bench-strncat.c: New file.
30353 * benchtests/bench-strncmp-ifunc.c: New file.
30354 * benchtests/bench-strncmp.c: New file.
30355 * benchtests/bench-strncpy-ifunc.c: New file.
30356 * benchtests/bench-strncpy.c: New file.
30357 * benchtests/bench-strnlen-ifunc.c: New file.
30358 * benchtests/bench-strnlen.c: New file.
30359 * benchtests/bench-strpbrk-ifunc.c: New file.
30360 * benchtests/bench-strpbrk.c: New file.
30361 * benchtests/bench-strrchr-ifunc.c: New file.
30362 * benchtests/bench-strrchr.c: New file.
30363 * benchtests/bench-strspn-ifunc.c: New file.
30364 * benchtests/bench-strspn.c: New file.
30365 * benchtests/bench-strstr-ifunc.c: New file.
30366 * benchtests/bench-strstr.c: New file.
30368 * benchtests/Makefile: Disable parallel execution of targets.
30369 (string-bench): Add memcpy.
30370 (benchset): New variable to store a list of benchmark sets.
30371 (bench-func): Renamed from bench.
30372 (bench-set): New target.
30373 (bench): Depend on bench-func and bench-set.
30374 * benchtests/README: Add section on benchmark sets.
30375 * benchtests/bench-memcpy-ifunc.c: New file.
30376 * benchtests/bench-memcpy.c: New file.
30377 * benchtests/bench-string.h: New file.
30379 2013-06-11 Andreas Schwab <schwab@suse.de>
30382 * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
30383 * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
30384 values in the triple.
30385 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
30386 terminator in the group key.
30388 2013-06-11 Andreas Jaeger <aj@suse.de>
30390 * po/zh_TW.po: Update Chinese (traditional) translation from
30391 translation project.
30393 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
30395 * include/time.h (__clock_gettime): Add libc_hidden_proto.
30396 * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
30397 __clock_getcpuclockid. Add weak_alias and libc_hidden_def.
30398 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
30399 (clock_getcpuclockid): Likewise.
30400 * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
30401 Add weak_alias and libc_hidden_def.
30402 * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
30403 * rt/clock_gettime.c (clock_gettime): Rename to
30404 __clock_gettime. Add weak_alias and libc_hidden_def.
30405 * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
30406 * rt/clock_nanosleep.c (clock_nanosleep): Rename to
30407 __clock_nanosleep. Add weak_alias and libc_hidden_def.
30408 * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
30409 * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
30411 * rt/clock_settime.c (clock_settime): Rename to
30412 __clock_settime. Add weak_alias and libc_hidden_def.
30413 * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
30415 2013-06-10 Joseph Myers <joseph@codesourcery.com>
30417 * mach/err_boot.sub: Remove trailing whitespace.
30418 * mach/err_ipc.sub: Likewise.
30419 * mach/err_mach.sub: Likewise.
30421 * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
30422 (ROUNDING_TESTS_double): Likewise.
30423 (ROUNDING_TESTS_long_double): Likewise.
30424 (ROUNDING_TESTS): Likewise.
30425 * math/libm-test.inc: Include <math-tests.h>.
30426 (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
30427 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
30428 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
30429 (IF_ROUND_INIT_FE_UPWARD): Likewise.
30431 2013-06-10 Siddhesh Poyarekar <siddhesh@redhat.com>
30433 * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
30436 2013-06-08 Joseph Myers <joseph@codesourcery.com>
30438 * sysdeps/gnu/errlist.awk: Do not generate space at end of
30439 otherwise empty TRANS lines.
30440 * sysdeps/gnu/errlist.c: Regenerated.
30442 * catgets/gencat.c (error_print): Use (void) in function
30444 * crypt/crypt_util.c (__init_des): Likewise.
30445 * crypt/speeds.c (Stop): Likewise.
30447 * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
30448 * inet/ruserpass.c (token): Likewise.
30449 * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
30450 * intl/localealias.c (extend_alias_table): Likewise.
30451 * intl/plural-exp.c (init_germanic_plural): Likewise.
30452 * libio/fcloseall.c (__fcloseall): Likewise.
30453 * libio/genops.c (_IO_flush_all): Likewise.
30454 (_IO_flush_all_linebuffered): Likewise.
30455 (_IO_cleanup): Likewise.
30456 (_IO_iter_begin): Likewise.
30457 (_IO_iter_end): Likewise.
30458 (_IO_list_lock): Likewise.
30459 (_IO_list_unlock): Likewise.
30460 (_IO_list_resetlock): Likewise.
30461 * libio/getchar.c (getchar): Likewise.
30462 * libio/getchar_u.c (getchar_unlocked): Likewise.
30463 * libio/getwchar.c (getwchar): Likewise.
30464 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
30465 * libio/oldstdfiles.c (_IO_check_libio): Likewise.
30466 * login/getpt.c (__getpt): Likewise.
30467 * login/tst-utmp.c (main): Likewise.
30468 * malloc/hooks.c (__malloc_check_init): Likewise.
30469 * malloc/malloc.c (__malloc_stats): Likewise.
30470 * malloc/mtrace.c (tr_break): Likewise.
30471 (mtrace): Likewise.
30472 (muntrace): Likewise.
30473 * misc/fstab.c (endfsent): Likewise.
30474 * misc/getclktck.c (__getclktck): Likewise.
30475 * misc/getdtsz.c (__getdtablesize): Likewise.
30476 * misc/gethostid.c (gethostid): Likewise.
30477 * misc/getpagesize.c (__getpagesize): Likewise.
30478 * misc/getsysstats.c (__get_nprocs_conf): Likewise.
30479 (__get_nprocs): Likewise.
30480 (__get_phys_pages): Likewise.
30481 (__get_avphys_pages): Likewise.
30482 * misc/getttyent.c (getttyent): Likewise.
30483 (setttyent): Likewise.
30484 (endttyent): Likewise.
30485 * misc/getusershell.c (getusershell): Likewise.
30486 (endusershell): Likewise.
30487 (setusershell): Likewise.
30488 (initshells): Likewise.
30489 * misc/hsearch.c (__hdestroy): Likewise.
30490 * misc/sync.c (sync): Likewise.
30491 * misc/syslog.c (closelog_internal): Likewise.
30492 (closelog): Likewise.
30493 * misc/ttyslot.c (ttyslot): Likewise.
30494 * misc/vhangup.c (vhangup): Likewise.
30495 * posix/fork.c (__fork): Likewise.
30496 * posix/getegid.c (__getegid): Likewise.
30497 * posix/geteuid.c (__geteuid): Likewise.
30498 * posix/getgid.c (__getgid): Likewise.
30499 * posix/getpid.c (__getpid): Likewise.
30500 * posix/getppid.c (__getppid): Likewise.
30501 * posix/getuid.c (__getuid): Likewise.
30502 * posix/pause.c (pause): Likewise.
30503 * posix/setpgrp.c (setpgrp): Likewise.
30504 * posix/setsid.c (__setsid): Likewise.
30505 * posix/test-vfork.c (noop): Likewise.
30506 * resolv/gethnamaddr.c (_endhtent): Likewise.
30507 (_gethtent): Likewise.
30508 (ht_endhostent): Likewise.
30509 (gethostent): Likewise.
30510 (dns_service): Likewise.
30511 * stdlib/drand48.c (drand48): Likewise.
30512 * stdlib/lrand48.c (lrand48): Likewise.
30513 * stdlib/mrand48.c (mrand48): Likewise.
30514 * stdlib/rand.c (rand): Likewise.
30515 * stdlib/random.c (__random): Likewise.
30516 * stdlib/setenv.c (clearenv): Likewise.
30517 * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
30518 * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
30519 * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
30520 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
30521 (__get_nprocs): Likewise.
30522 (__get_phys_pages): Likewise.
30523 (__get_avphys_pages): Likewise.
30524 * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
30525 * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
30526 * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
30527 * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
30528 * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
30529 * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
30530 * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
30531 * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
30532 * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
30533 * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
30534 * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
30535 * sysdeps/mach/hurd/sync.c (sync): Likewise.
30536 * sysdeps/posix/clock.c (clock): Likewise.
30537 * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
30538 * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
30539 * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
30540 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
30541 * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
30542 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
30543 (__get_nprocs_conf): Likewise.
30544 (__get_phys_pages): Likewise.
30545 (__get_avphys_pages): Likewise.
30546 * time/clock.c (clock): Likewise.
30547 * time/tzset.c (__tzname_max): Likewise.
30549 2013-06-07 Joseph Myers <joseph@codesourcery.com>
30551 * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
30552 (__bswap_32): Do not use "register".
30553 * crypt/crypt.c (_ufc_doit_r): Likewise.
30554 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
30555 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
30556 * gmon/gmon.c (__monstartup): Likewise.
30557 * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
30558 * hurd/hurdmalloc.c (more_memory): Likewise.
30559 (malloc): Likewise.
30561 (realloc): Likewise.
30562 (malloc_fork_prepare): Likewise.
30563 (malloc_fork_parent): Likewise.
30564 (malloc_fork_child): Likewise.
30565 * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
30566 (_svcauth_des): Likewise.
30567 * inet/inet_lnaof.c (inet_lnaof): Likewise.
30568 * inet/inet_net.c (inet_network): Likewise.
30569 * inet/inet_netof.c (inet_netof): Likewise.
30570 * inet/rcmd.c (__validuser2_sa): Likewise.
30571 * io/fts.c (fts_open): Likewise.
30572 (fts_load): Likewise.
30573 (fts_close): Likewise.
30574 (fts_read): Likewise.
30575 (fts_children): Likewise.
30576 (fts_build): Likewise.
30577 (fts_stat): Likewise.
30578 (fts_sort): Likewise.
30579 (fts_alloc): Likewise.
30580 (fts_lfree): Likewise.
30581 * libio/fileops.c (_IO_new_file_xsputn): Likewise.
30582 (_IO_file_xsgetn): Likewise.
30583 (_IO_file_xsgetn_mmap): Likewise.
30584 * libio/iofopncook.c (_IO_cookie_read): Likewise.
30585 (_IO_cookie_write): Likewise.
30586 * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
30587 * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
30588 * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
30589 * malloc/obstack.c (_obstack_begin): Likewise.
30590 (_obstack_begin_1): Likewise.
30591 (_obstack_newchunk): Likewise.
30592 (_obstack_allocated_p): Likewise.
30593 (obstack_free): Likewise.
30594 (_obstack_memory_used): Likewise.
30595 * misc/getttyent.c (getttynam): Likewise.
30596 (getttyent): Likewise.
30599 * misc/getusershell.c (initshells): Likewise.
30600 * misc/syslog.c (__vsyslog_chk): Likewise.
30601 * misc/ttyslot.c (ttyslot): Likewise.
30602 * nis/nis_hash.c (__nis_hash): Likewise.
30603 * posix/fnmatch_loop.c (FCT): Likewise.
30604 * posix/getconf.c (print_all): Likewise.
30606 * posix/getopt.c (exchange): Likewise.
30607 * posix/glob.c (globfree): Likewise.
30608 (prefix_array): Likewise.
30609 (__glob_pattern_type): Likewise.
30610 * resolv/arpa/nameser.h (NS_GET16): Likewise.
30611 (NS_GET32): Likewise.
30612 (NS_PUT16): Likewise.
30613 (NS_PUT32): Likewise.
30614 * resolv/gethnamaddr.c (getanswer): Likewise.
30615 (gethostbyname2): Likewise.
30616 (gethostbyaddr): Likewise.
30617 (_gethtent): Likewise.
30618 (_gethtbyname2): Likewise.
30619 (_gethtbyaddr): Likewise.
30620 * resolv/ns_print.c (dst_s_get_int16): Likewise.
30621 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
30622 * resolv/res_init.c (__res_vinit): Likewise.
30623 (net_mask): Likewise.
30624 * resolv/res_mkquery.c (outchar): Likewise.
30626 * stdio-common/printf_fp.c (outchar): Likewise.
30628 * stdio-common/printf_fphex.c (outchar): Likewise.
30630 * stdio-common/printf_size.c (outchar): Likewise.
30632 * stdio-common/test_rdwr.c (main): Likewise.
30633 * stdio-common/tfformat.c (matches): Likewise.
30634 * stdio-common/vfprintf.c (outchar): Likewise.
30635 (printf_unknown): Likewise.
30636 (buffered_vfprintf): Likewise.
30637 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
30638 * stdio-common/xbug.c (AppendToBuffer): Likewise.
30639 (ReadFile): Likewise.
30640 * stdlib/qsort.c (SWAP): Likewise.
30641 (_quicksort): Likewise.
30642 * stdlib/setenv.c (__add_to_environ): Likewise.
30643 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
30644 * stdlib/strtol_l.c (__strtol_l): Likewise.
30645 * stdlib/tst-strtod.c (main): Likewise.
30646 * stdlib/tst-strtol.c (main): Likewise.
30647 * stdlib/tst-strtoll.c (main): Likewise.
30648 * string/bits/string2.h (__strcmp_cc): Likewise.
30649 (__strcmp_cg): Likewise.
30650 (__strcspn_c1): Likewise.
30651 (__strcspn_c2): Likewise.
30652 (__strcspn_c3): Likewise.
30653 (__strspn_c1): Likewise.
30654 (__strspn_c2): Likewise.
30655 (__strspn_c3): Likewise.
30656 (__strsep_1c): Likewise.
30657 (__strsep_2c): Likewise.
30658 (__strsep_3c): Likewise.
30659 * string/memccpy.c (__memccpy): Likewise.
30660 * string/stpcpy.c (__stpcpy): Likewise.
30661 * string/strcmp.c (strcmp): Likewise.
30662 * string/strrchr.c (strrchr): Likewise.
30663 * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
30665 * sysdeps/mach/hurd/getcwd.c
30666 (_hurd_canonicalize_directory_name_internal): Likewise.
30667 * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
30668 * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
30669 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
30670 * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
30671 Likewise, in both definitions.
30672 * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
30674 [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
30675 64] (__bswap_64): Likewise.
30676 * time/test_time.c (main): Likewise.
30677 * time/tzfile.c (__tzfile_read): Likewise.
30678 (__tzfile_compute): Likewise.
30679 * time/tzset.c (__tzset_parse_tz): Likewise.
30680 (tzset_internal): Likewise.
30681 (compute_change): Likewise.
30682 * wcsmbs/wcscat.c (__wcscat): Likewise.
30683 * wcsmbs/wcschr.c (wcschr): Likewise.
30684 * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
30685 * wcsmbs/wcscspn.c (wcscspn): Likewise.
30686 * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
30687 * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
30688 * wcsmbs/wcsspn.c (wcsspn): Likewise.
30689 * wcsmbs/wcsstr.c (wcsstr): Likewise.
30690 * wcsmbs/wmemchr.c (wmemchr): Likewise.
30691 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
30692 * wcsmbs/wmemset.c (wmemset): Likewise.
30694 2013-06-06 Joseph Myers <joseph@codesourcery.com>
30696 * scripts/config.guess: Update to version 2013-05-16.
30697 * scripts/config.sub: Update to version 2013-04-24.
30698 * scripts/install-sh: Update to version 2011-11-20.07.
30699 * scripts/mkinstalldirs: Update to version 2009-04-28.21.
30700 * scripts/move-if-change: Update to version 2012-01-06 07:23.
30702 2013-06-06 Ondřej Bílka <neleai@seznam.cz>
30704 * debug/fgetws_u_chk.c: Fix leading whitespaces.
30705 * elf/sln.c: Likewise.
30706 * hurd/hurd/ioctl.h: Likewise.
30707 * hurd/hurdmalloc.c: Likewise.
30708 * hurd/xattr.c: Likewise.
30709 * include/shlib-compat.h: Likewise.
30710 * inet/ruserpass.c: Likewise.
30711 * libio/iofgets_u.c: Likewise.
30712 * libio/iofgetws_u.c: Likewise.
30713 * locale/programs/ld-identification.c: Likewise.
30714 * locale/programs/ld-time.c: Likewise.
30715 * mach/msg-destroy.c: Likewise.
30716 * nss/nss_files/files-netgrp.c: Likewise.
30717 * resolv/res_data.c: Likewise.
30718 * soft-fp/op-1.h: Likewise.
30719 * soft-fp/op-2.h: Likewise.
30720 * soft-fp/op-4.h: Likewise.
30721 * soft-fp/op-common.h: Likewise.
30722 * stdio-common/printf_fphex.c: Likewise.
30723 * stdlib/strtod_l.c: Likewise.
30724 * sunrpc/rpc/clnt.h: Likewise.
30725 * sysdeps/generic/framestate.c: Likewise.
30726 * sysdeps/i386/bsd-_setjmp.S: Likewise.
30727 * sysdeps/i386/bsd-setjmp.S: Likewise.
30728 * sysdeps/i386/__longjmp.S: Likewise.
30729 * sysdeps/i386/setjmp.S: Likewise.
30730 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
30731 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
30732 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
30733 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
30734 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
30735 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
30736 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
30737 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
30738 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
30739 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
30740 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
30741 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
30742 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
30743 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
30744 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
30745 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
30746 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
30747 * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
30748 * sysdeps/ieee754/support.c: Likewise.
30749 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
30750 * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
30751 * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
30752 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
30753 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
30754 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
30755 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
30756 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
30757 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
30758 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
30759 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
30760 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
30761 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
30762 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
30763 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
30764 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
30765 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
30766 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
30768 2013-06-05 Ondřej Bílka <neleai@seznam.cz>
30770 * posix/transbug.c: Remove executable mode.
30772 2013-06-05 Joseph Myers <joseph@codesourcery.com>
30774 * crypt/speeds.c: Remove trailing whitespace.
30775 * dlfcn/default.c: Likewise.
30776 * elf/ifuncdep2.c: Likewise.
30777 * elf/ifuncmain1.c: Likewise.
30778 * elf/ifuncmain1vis.c: Likewise.
30779 * elf/testobj.h: Likewise.
30780 * elf/tst-stackguard1.c: Likewise.
30781 * gmon/sys/gmon.h: Likewise.
30782 * hurd/hurdmsg.c: Likewise.
30783 * hurd/new-fd.c: Likewise.
30784 * hurd/ports-get.c: Likewise.
30785 * iconvdata/ibm1008_420.c: Likewise.
30786 * inet/tst-getni1.c: Likewise.
30787 * inet/tst-getni2.c: Likewise.
30788 * libio/ioungetc.c: Likewise.
30789 * libio/wfiledoalloc.c: Likewise.
30790 * manual/libm-err-tab.pl: Likewise.
30791 * math/w_dremf.c: Likewise.
30792 * misc/ftruncate.c: Likewise.
30793 * posix/bug-glob2.c: Likewise.
30794 * posix/tst-pcre.c: Likewise.
30795 * posix/wait4.c: Likewise.
30796 * resolv/README: Likewise.
30797 * resolv/res_debug.h: Likewise.
30798 * resolv/tst-inet_ntop.c: Likewise.
30799 * setjmp/bug269-setjmp.c: Likewise.
30800 * soft-fp/extended.h: Likewise.
30801 * soft-fp/op-1.h: Likewise.
30802 * soft-fp/op-2.h: Likewise.
30803 * soft-fp/op-4.h: Likewise.
30804 * soft-fp/op-8.h: Likewise.
30805 * soft-fp/testit.c: Likewise.
30806 * stdio-common/bug16.c: Likewise.
30807 * stdlib/random.c: Likewise.
30808 * sunrpc/rpcsvc/rquota.x: Likewise.
30809 * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
30810 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
30811 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
30812 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
30813 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
30814 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
30815 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
30816 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
30817 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
30818 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
30819 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
30820 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
30821 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
30822 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
30823 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
30824 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
30825 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
30826 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
30827 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
30828 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
30829 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
30830 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
30831 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
30832 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
30833 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
30834 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
30835 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
30836 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
30837 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
30838 * sysdeps/ieee754/s_lib_version.c: Likewise.
30839 * sysdeps/mach/hurd/check_fds.c: Likewise.
30840 * sysdeps/mach/hurd/getsockname.c: Likewise.
30841 * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
30842 * sysdeps/mach/hurd/recvfrom.c: Likewise.
30843 * sysdeps/powerpc/bits/link.h: Likewise.
30844 * sysdeps/powerpc/dl-procinfo.c: Likewise.
30845 * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
30846 * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
30847 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
30848 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
30849 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
30850 * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
30851 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
30852 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
30853 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
30854 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
30855 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
30856 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
30857 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
30858 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
30859 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
30860 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
30861 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
30862 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
30863 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
30864 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
30865 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
30866 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
30867 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
30868 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
30869 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
30870 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
30871 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
30872 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
30873 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
30874 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
30875 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
30876 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
30877 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
30878 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
30879 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
30880 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
30881 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
30882 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
30883 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
30884 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
30885 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
30886 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
30887 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
30888 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
30889 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
30890 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
30891 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
30892 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
30893 * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
30894 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
30895 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
30896 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
30897 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
30898 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
30899 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
30900 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
30901 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
30902 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
30903 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
30904 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
30905 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
30906 * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
30907 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
30908 * sysdeps/powerpc/sysdep.h: Likewise.
30909 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
30910 * sysdeps/s390/s390-64/sub_n.S: Likewise.
30911 * sysdeps/sh/dl-trampoline.S: Likewise.
30912 * sysdeps/sh/memset.S: Likewise.
30913 * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
30914 * sysdeps/sh/strlen.S: Likewise.
30915 * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
30916 * sysdeps/sparc/sparc32/dotmul.S: Likewise.
30917 * sysdeps/sparc/sparc32/memcpy.S: Likewise.
30918 * sysdeps/sparc/sparc32/rem.S: Likewise.
30919 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
30920 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
30921 * sysdeps/sparc/sparc32/strchr.S: Likewise.
30922 * sysdeps/sparc/sparc32/udiv.S: Likewise.
30923 * sysdeps/sparc/sparc32/urem.S: Likewise.
30924 * sysdeps/sparc/sparc64/add_n.S: Likewise.
30925 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
30926 * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
30927 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
30928 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
30929 * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
30930 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
30931 * sysdeps/sparc/sparc64/strncpy.S: Likewise.
30932 * sysdeps/unix/bsd/times.c: Likewise.
30933 * sysdeps/unix/sysv/linux/a.out.h: Likewise.
30934 * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
30935 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
30936 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
30937 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
30938 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
30939 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
30940 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
30941 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
30942 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
30943 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
30944 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
30945 * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
30946 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
30947 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
30948 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
30949 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
30950 * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
30951 * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
30952 * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
30953 * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
30954 * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
30955 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
30956 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
30957 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
30958 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
30959 * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
30960 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
30961 * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
30962 * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
30963 * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
30964 * sysdeps/x86_64/strcspn.S: Likewise.
30966 2013-06-05 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
30968 * locale/C-translit.h: Revert #include <stdint.h> because this is a
30969 generated file. Regenerate properly from gen-translit.pl.
30970 * locale/gen-translit.pl: Add #include <stdint.h>. This generates
30971 locale/C-translit.h.
30973 2013-06-05 Andreas Schwab <schwab@suse.de>
30976 * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
30977 week as 6 instead of -1.
30978 * time/tst-strptime.c (day_tests): Add test case.
30980 2013-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
30982 * sysdeps/generic/math_private.h
30983 (libc_feholdexcept_setround_53bit): Replace with
30984 libc_feholdsetround_53bit.
30985 (libc_feupdateenv_53bit): Replace with
30986 libc_feresetround_53bit.
30987 (SET_RESTORE_ROUND_53BIT): Adjust.
30989 2013-06-03 Siddhesh Poyarekar <siddhesh@redhat.com>
30991 * string/test-strchrnul.c: Add copyright header.
30993 * posix/tst-getaddrinfo4.c: Increase test timeout.
30995 2013-06-03 Carlos O'Donell <carlos@redhat.com>
30998 * math/libm-test.inc (MAX_EXP): Remove
31000 (ulp): Use MIN_EXP - MANT_DIG.
31001 (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
31003 2013-05-31 Carlos O'Donell <carlos@redhat.com>
31005 * po/be.po: Revert last change.
31006 * po/zh_CN.po: Likewise.
31007 * po/header.pot: Likewise.
31009 2013-05-31 Joseph Myers <joseph@codesourcery.com>
31011 * Makefile ($(common-objpfx)linkobj/libc.so): Define
31012 link-libc-deps to empty as target-specific variable.
31013 * Makerules (link-libc-args): New variable.
31014 (libc-for-link): Likewise.
31015 (link-libc-deps): Likewise.
31016 (lib%.so): Depend on $(link-libc-deps). Link with
31018 (build-module): Link with $(link-libc-args).
31019 (build-module-asneeded): Likewise.
31020 (build-module-helper-objlist): Filter out $(link-libc-deps) from
31022 ($(common-objpfx)libc.so): Define link-libc-deps to empty as
31023 target-specific variable.
31024 ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
31025 $(link-libc-deps) instead of libc.so and libc_nonshared.a.
31026 * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
31028 * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
31030 ($(objpfx)libpcprofile.so): Likewise.
31031 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
31033 ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
31034 * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
31035 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
31037 ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
31038 * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
31039 * login/Makefile ($(objpfx)libutil.so): Likewise.
31040 * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
31041 * math/Makefile ($(objpfx)libm.so): Likewise.
31042 * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
31043 $(objpfx)libnsl.so): Define libc-for-link as target-specific
31044 variable instead of depending directly on libc.
31045 * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
31046 ($(objpfx)/libnss_test1.so): Change dependencies on libc to
31048 * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
31050 [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
31051 ($(objpfx)libnss_dns.so): Remove dependencies on libc.
31052 ($(objpfx)libanl.so): Likewise.
31053 * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
31055 * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
31057 * sysdeps/i386/fpu/Makefile: Remove file.
31058 * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
31059 ($(objpfx)libm.so): Remove dependency on ld.so.
31061 2013-05-30 Patsy Franklin <pfrankli@redhat.com>
31064 * nis/yp_xdr.c (XDRMAXNAME): Define.
31065 (XDRMAXRECORD): Define.
31066 (xdr_domainname): Use XDRMAXNAME.
31067 (xdr_mapname): Likewise.
31068 (xdr_peername): Likewise.
31069 (xdr_keydat): Use XDRMAXRECORD.
31070 (xdr_valdat): Likewise.
31072 2013-05-30 Jeff Law <law@redhat.com>
31075 * manual/errno.texi (ESTALE): Update to account for more than
31076 just NFS file systems.
31077 * sysdeps/gnu/errlist.c: Regenerated.
31079 2013-05-29 Siddhesh Poyarekar <siddhesh@redhat.com>
31082 * elf/Makefile (tests): Add tst-null-argv.
31083 (modules-names): Add tst-null-argv-lib.
31084 ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
31085 (tst-null-argv-ENV): Set environment for tst-null-argv.
31086 * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
31087 (RTLD_PROGNAME): New macro.
31088 * elf/tst-null-argv.c: New test case.
31089 * elf/tst-null-argv-lib.c: Library for test case.
31090 * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
31091 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
31092 * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
31093 * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
31094 * elf/dl-init.c (call_init): Likewise.
31095 (_dl_init): Likewise.
31096 * elf/dl-load.c (print_search_path): Likewise.
31097 (_dl_map_object): Likewise.
31098 * elf/dl-lookup.c (do_lookup_x): Likewise.
31099 (add_dependency): Likewise.
31100 (_dl_lookup_symbol_x): Likewise.
31101 (_dl_debug_bindings): Likewise.
31102 * elf/dl-open.c (_dl_show_scope): Likewise.
31103 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
31104 * elf/dl-version.c (match_symbol): Likewise.
31105 (_dl_check_map_versions): Likewise.
31106 * elf/rtld.c (dl_main): Likewise.
31107 (print_unresolved): Use RTLD_PROGNAME.
31108 (print_missing_version): Likewise.
31109 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
31110 (elf_machine_rela): Likewise.
31111 * sysdeps/powerpc/powerpc32/dl-machine.c
31112 (__process_machine_rela): Likewise.
31113 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
31115 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
31117 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
31119 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
31120 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
31122 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
31124 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
31126 2013-05-28 Carlos O'Donell <carlos@redhat.com>
31128 * po/be.po: Add descriptive title.
31129 * po/zh_CN.po: Likewise.
31130 * po/header.pot: Likewise.
31132 2013-05-28 Mike Frysinger <vapier@gentoo.org>
31134 * locale/programs/locarchive.c (create_archive): Inlucde fname in
31136 (enlarge_archive): Likewise.
31138 2013-05-28 Ben North <ben@redfrontdoor.org>
31140 * manual/arith.texi (frexp): It is the magnitude of the return
31141 value which lies in [0.5, 1), not the return value itself.
31143 2013-05-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31145 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
31147 2013-05-26 Thomas Schwinge <thomas@codesourcery.com>
31149 * stdio-common/bug26.c (main): Correct fscanf template.
31151 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
31152 declare _dl_skip_args.
31154 * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
31157 * manual/platform.texi: Add missing @end deftypefun.
31159 2013-05-24 Joseph Myers <joseph@codesourcery.com>
31162 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
31163 bit of mantissa of 2^16382.
31164 * math/libm-test.inc (hypot_test_data): Add more tests.
31166 * math/libm-test.inc: Add drem and pow10 to list of tested
31168 (pow10_test): New function.
31169 (drem_test): Likewise.
31170 (drem_test_tonearest): Likewise.
31171 (drem_test_towardzero): Likewise.
31172 (drem_test_downward): Likewise.
31173 (drem_test_upward): Likewise.
31174 (main): Call the new functions.
31176 * math/libm-test.inc (finite_test_data): Remove.
31177 (finite_test): Run tests from isfinite_test_data.
31178 (gamma_test_data): Remove.
31179 (gamma_test): Run tests from lgamma_test_data.
31180 * sysdeps/i386/fpu/libm-test-ulps: Update.
31181 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31183 2013-05-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31185 * manual/platform.texi: Add PowerPC PPR function set documentation.
31186 * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
31189 2013-05-24 Carlos O'Donell <carlos@redhat.com>
31191 * math/libm-test.inc (MAX_EXP): Define.
31193 (ulp): New function.
31194 (check_float_internal): Use ULPDIFF.
31195 (cpow_test): Disable failing test.
31196 (check_ulp): Test ulp() implemetnation.
31197 (main): Call check_ulp before starting tests.
31199 2013-05-24 Joseph Myers <joseph@codesourcery.com>
31201 * math/gen-libm-test.pl (generate_testfile): Do not handle
31202 START_DATA and END_DATA.
31203 * math/libm-test.inc (acos_test_data): Do not use START_DATA and
31205 (acos_tonearest_test_data): Likewise.
31206 (acos_towardzero_test_data): Likewise.
31207 (acos_downward_test_data): Likewise.
31208 (acos_upward_test_data): Likewise.
31209 (acosh_test_data): Likewise.
31210 (asin_test_data): Likewise.
31211 (asin_tonearest_test_data): Likewise.
31212 (asin_towardzero_test_data): Likewise.
31213 (asin_downward_test_data): Likewise.
31214 (asin_upward_test_data): Likewise.
31215 (asinh_test_data): Likewise.
31216 (atan_test_data): Likewise.
31217 (atanh_test_data): Likewise.
31218 (atan2_test_data): Likewise.
31219 (cabs_test_data): Likewise.
31220 (cacos_test_data): Likewise.
31221 (cacosh_test_data): Likewise.
31222 (carg_test_data): Likewise.
31223 (casin_test_data): Likewise.
31224 (casinh_test_data): Likewise.
31225 (catan_test_data): Likewise.
31226 (catanh_test_data): Likewise.
31227 (cbrt_test_data): Likewise.
31228 (ccos_test_data): Likewise.
31229 (ccosh_test_data): Likewise.
31230 (ceil_test_data): Likewise.
31231 (cexp_test_data): Likewise.
31232 (cimag_test_data): Likewise.
31233 (clog_test_data): Likewise.
31234 (clog10_test_data): Likewise.
31235 (conj_test_data): Likewise.
31236 (copysign_test_data): Likewise.
31237 (cos_test_data): Likewise.
31238 (cos_tonearest_test_data): Likewise.
31239 (cos_towardzero_test_data): Likewise.
31240 (cos_downward_test_data): Likewise.
31241 (cos_upward_test_data): Likewise.
31242 (cosh_test_data): Likewise.
31243 (cosh_tonearest_test_data): Likewise.
31244 (cosh_towardzero_test_data): Likewise.
31245 (cosh_downward_test_data): Likewise.
31246 (cosh_upward_test_data): Likewise.
31247 (cpow_test_data): Likewise.
31248 (cproj_test_data): Likewise.
31249 (creal_test_data): Likewise.
31250 (csin_test_data): Likewise.
31251 (csinh_test_data): Likewise.
31252 (csqrt_test_data): Likewise.
31253 (ctan_test_data): Likewise.
31254 (ctan_tonearest_test_data): Likewise.
31255 (ctan_towardzero_test_data): Likewise.
31256 (ctan_downward_test_data): Likewise.
31257 (ctan_upward_test_data): Likewise.
31258 (ctanh_test_data): Likewise.
31259 (ctanh_tonearest_test_data): Likewise.
31260 (ctanh_towardzero_test_data): Likewise.
31261 (ctanh_downward_test_data): Likewise.
31262 (ctanh_upward_test_data): Likewise.
31263 (erf_test_data): Likewise.
31264 (erfc_test_data): Likewise.
31265 (exp_test_data): Likewise.
31266 (exp_tonearest_test_data): Likewise.
31267 (exp_towardzero_test_data): Likewise.
31268 (exp_downward_test_data): Likewise.
31269 (exp_upward_test_data): Likewise.
31270 (exp10_test_data): Likewise.
31271 (exp2_test_data): Likewise.
31272 (expm1_test_data): Likewise.
31273 (fabs_test_data): Likewise.
31274 (fdim_test_data): Likewise.
31275 (finite_test_data): Likewise.
31276 (floor_test_data): Likewise.
31277 (fma_test_data): Likewise.
31278 (fma_towardzero_test_data): Likewise.
31279 (fma_downward_test_data): Likewise.
31280 (fma_upward_test_data): Likewise.
31281 (fmax_test_data): Likewise.
31282 (fmin_test_data): Likewise.
31283 (fmod_test_data): Likewise.
31284 (fpclassify_test_data): Likewise.
31285 (frexp_test_data): Likewise.
31286 (gamma_test_data): Likewise.
31287 (hypot_test_data): Likewise.
31288 (ilogb_test_data): Likewise.
31289 (isfinite_test_data): Likewise.
31290 (isgreater_test_data): Likewise.
31291 (isgreaterequal_test_data): Likewise.
31292 (isinf_test_data): Likewise.
31293 (isless_test_data): Likewise.
31294 (islessequal_test_data): Likewise.
31295 (islessgreater_test_data): Likewise.
31296 (isnan_test_data): Likewise.
31297 (isnormal_test_data): Likewise.
31298 (issignaling_test_data): Likewise.
31299 (isunordered_test_data): Likewise.
31300 (j0_test_data): Likewise.
31301 (j1_test_data): Likewise.
31302 (jn_test_data): Likewise.
31303 (ldexp_test_data): Likewise.
31304 (lgamma_test_data): Likewise.
31305 (lrint_test_data): Likewise.
31306 (lrint_tonearest_test_data): Likewise.
31307 (lrint_towardzero_test_data): Likewise.
31308 (lrint_downward_test_data): Likewise.
31309 (lrint_upward_test_data): Likewise.
31310 (llrint_test_data): Likewise.
31311 (llrint_tonearest_test_data): Likewise.
31312 (llrint_towardzero_test_data): Likewise.
31313 (llrint_downward_test_data): Likewise.
31314 (llrint_upward_test_data): Likewise.
31315 (log_test_data): Likewise.
31316 (log10_test_data): Likewise.
31317 (log1p_test_data): Likewise.
31318 (log2_test_data): Likewise.
31319 (logb_test_data): Likewise.
31320 (logb_downward_test_data): Likewise.
31321 (lround_test_data): Likewise.
31322 (llround_test_data): Likewise.
31323 (modf_test_data): Likewise.
31324 (nearbyint_test_data): Likewise.
31325 (nextafter_test_data): Likewise.
31326 (nexttoward_test_data): Likewise.
31327 (pow_test_data): Likewise.
31328 (pow_tonearest_test_data): Likewise.
31329 (pow_towardzero_test_data): Likewise.
31330 (pow_downward_test_data): Likewise.
31331 (pow_upward_test_data): Likewise.
31332 (remainder_test_data): Likewise.
31333 (remainder_tonearest_test_data): Likewise.
31334 (remainder_towardzero_test_data): Likewise.
31335 (remainder_downward_test_data): Likewise.
31336 (remainder_upward_test_data): Likewise.
31337 (remquo_test_data): Likewise.
31338 (rint_test_data): Likewise.
31339 (rint_tonearest_test_data): Likewise.
31340 (rint_towardzero_test_data): Likewise.
31341 (rint_downward_test_data): Likewise.
31342 (rint_upward_test_data): Likewise.
31343 (round_test_data): Likewise.
31344 (scalb_test_data): Likewise.
31345 (scalbn_test_data): Likewise.
31346 (scalbln_test_data): Likewise.
31347 (signbit_test_data): Likewise.
31348 (sin_test_data): Likewise.
31349 (sin_tonearest_test_data): Likewise.
31350 (sin_towardzero_test_data): Likewise.
31351 (sin_downward_test_data): Likewise.
31352 (sin_upward_test_data): Likewise.
31353 (sincos_test_data): Likewise.
31354 (sinh_test_data): Likewise.
31355 (sinh_tonearest_test_data): Likewise.
31356 (sinh_towardzero_test_data): Likewise.
31357 (sinh_downward_test_data): Likewise.
31358 (sinh_upward_test_data): Likewise.
31359 (sqrt_test_data): Likewise.
31360 (tan_test_data): Likewise.
31361 (tan_tonearest_test_data): Likewise.
31362 (tan_towardzero_test_data): Likewise.
31363 (tan_downward_test_data): Likewise.
31364 (tan_upward_test_data): Likewise.
31365 (tanh_test_data): Likewise.
31366 (tgamma_test_data): Likewise.
31367 (trunc_test_data): Likewise.
31368 (y0_test_data): Likewise.
31369 (y1_test_data): Likewise.
31370 (yn_test_data): Likewise.
31371 (significand_test_data): Likewise.
31373 * math/gen-libm-test.pl (@functions): Remove variable.
31374 (generate_testfile): Don't handle START and END lines.
31375 * math/libm-test.inc (START): New macro.
31377 (END_COMPLEX): Likewise.
31378 (acos_test): Use END macro without arguments.
31379 (acos_test_tonearest): Likewise.
31380 (acos_test_towardzero): Likewise.
31381 (acos_test_downward): Likewise.
31382 (acos_test_upward): Likewise.
31383 (acosh_test): Likewise.
31384 (asin_test): Likewise.
31385 (asin_test_tonearest): Likewise.
31386 (asin_test_towardzero): Likewise.
31387 (asin_test_downward): Likewise.
31388 (asin_test_upward): Likewise.
31389 (asinh_test): Likewise.
31390 (atan_test): Likewise.
31391 (atanh_test): Likewise.
31392 (atan2_test): Likewise.
31393 (cabs_test): Likewise.
31394 (cacos_test): Use END_COMPLEX macro without arguments.
31395 (cacosh_test): Likewise.
31396 (carg_test): Use END macro without arguments.
31397 (casin_test): Use END_COMPLEX macro without arguments.
31398 (casinh_test): Likewise.
31399 (catan_test): Likewise.
31400 (catanh_test): Likewise.
31401 (cbrt_test): Use END macro without arguments.
31402 (ccos_test): Use END_COMPLEX macro without arguments.
31403 (ccosh_test): Likewise.
31404 (ceil_test): Use END macro without arguments.
31405 (cexp_test): Use END_COMPLEX macro without arguments.
31406 (cimag_test): Use END macro without arguments.
31407 (clog_test): Use END_COMPLEX macro without arguments.
31408 (clog10_test): Likewise.
31409 (conj_test): Likewise.
31410 (copysign_test): Use END macro without arguments.
31411 (cos_test): Likewise.
31412 (cos_test_tonearest): Likewise.
31413 (cos_test_towardzero): Likewise.
31414 (cos_test_downward): Likewise.
31415 (cos_test_upward): Likewise.
31416 (cosh_test): Likewise.
31417 (cosh_test_tonearest): Likewise.
31418 (cosh_test_towardzero): Likewise.
31419 (cosh_test_downward): Likewise.
31420 (cosh_test_upward): Likewise.
31421 (cpow_test): Use END_COMPLEX macro without arguments.
31422 (cproj_test): Likewise.
31423 (creal_test): Use END macro without arguments.
31424 (csin_test): Use END_COMPLEX macro without arguments.
31425 (csinh_test): Likewise.
31426 (csqrt_test): Likewise.
31427 (ctan_test): Likewise.
31428 (ctan_test_tonearest): Likewise.
31429 (ctan_test_towardzero): Likewise.
31430 (ctan_test_downward): Likewise.
31431 (ctan_test_upward): Likewise.
31432 (ctanh_test): Likewise.
31433 (ctanh_test_tonearest): Likewise.
31434 (ctanh_test_towardzero): Likewise.
31435 (ctanh_test_downward): Likewise.
31436 (ctanh_test_upward): Likewise.
31437 (erf_test): Use END macro without arguments.
31438 (erfc_test): Likewise.
31439 (exp_test): Likewise.
31440 (exp_test_tonearest): Likewise.
31441 (exp_test_towardzero): Likewise.
31442 (exp_test_downward): Likewise.
31443 (exp_test_upward): Likewise.
31444 (exp10_test): Likewise.
31445 (exp2_test): Likewise.
31446 (expm1_test): Likewise.
31447 (fabs_test): Likewise.
31448 (fdim_test): Likewise.
31449 (finite_test): Likewise.
31450 (floor_test): Likewise.
31451 (fma_test): Likewise.
31452 (fma_test_towardzero): Likewise.
31453 (fma_test_downward): Likewise.
31454 (fma_test_upward): Likewise.
31455 (fmax_test): Likewise.
31456 (fmin_test): Likewise.
31457 (fmod_test): Likewise.
31458 (fpclassify_test): Likewise.
31459 (frexp_test): Likewise.
31460 (gamma_test): Likewise.
31461 (hypot_test): Likewise.
31462 (ilogb_test): Likewise.
31463 (isfinite_test): Likewise.
31464 (isgreater_test): Likewise.
31465 (isgreaterequal_test): Likewise.
31466 (isinf_test): Likewise.
31467 (isless_test): Likewise.
31468 (islessequal_test): Likewise.
31469 (islessgreater_test): Likewise.
31470 (isnan_test): Likewise.
31471 (isnormal_test): Likewise.
31472 (issignaling_test): Likewise.
31473 (isunordered_test): Likewise.
31474 (j0_test): Likewise.
31475 (j1_test): Likewise.
31476 (jn_test): Likewise.
31477 (ldexp_test): Likewise.
31478 (lgamma_test): Likewise.
31479 (lrint_test): Likewise.
31480 (lrint_test_tonearest): Likewise.
31481 (lrint_test_towardzero): Likewise.
31482 (lrint_test_downward): Likewise.
31483 (lrint_test_upward): Likewise.
31484 (llrint_test): Likewise.
31485 (llrint_test_tonearest): Likewise.
31486 (llrint_test_towardzero): Likewise.
31487 (llrint_test_downward): Likewise.
31488 (llrint_test_upward): Likewise.
31489 (log_test): Likewise.
31490 (log10_test): Likewise.
31491 (log1p_test): Likewise.
31492 (log2_test): Likewise.
31493 (logb_test): Likewise.
31494 (logb_test_downward): Likewise.
31495 (lround_test): Likewise.
31496 (llround_test): Likewise.
31497 (modf_test): Likewise.
31498 (nearbyint_test): Likewise.
31499 (nextafter_test): Likewise.
31500 (nexttoward_test): Likewise.
31501 (pow_test): Likewise.
31502 (pow_test_tonearest): Likewise.
31503 (pow_test_towardzero): Likewise.
31504 (pow_test_downward): Likewise.
31505 (pow_test_upward): Likewise.
31506 (remainder_test): Likewise.
31507 (remainder_test_tonearest): Likewise.
31508 (remainder_test_towardzero): Likewise.
31509 (remainder_test_downward): Likewise.
31510 (remainder_test_upward): Likewise.
31511 (remquo_test): Likewise.
31512 (rint_test): Likewise.
31513 (rint_test_tonearest): Likewise.
31514 (rint_test_towardzero): Likewise.
31515 (rint_test_downward): Likewise.
31516 (rint_test_upward): Likewise.
31517 (round_test): Likewise.
31518 (scalb_test): Likewise.
31519 (scalbn_test): Likewise.
31520 (scalbln_test): Likewise.
31521 (signbit_test): Likewise.
31522 (sin_test): Likewise.
31523 (sin_test_tonearest): Likewise.
31524 (sin_test_towardzero): Likewise.
31525 (sin_test_downward): Likewise.
31526 (sin_test_upward): Likewise.
31527 (sincos_test): Likewise.
31528 (sinh_test): Likewise.
31529 (sinh_test_tonearest): Likewise.
31530 (sinh_test_towardzero): Likewise.
31531 (sinh_test_downward): Likewise.
31532 (sinh_test_upward): Likewise.
31533 (sqrt_test): Likewise.
31534 (tan_test): Likewise.
31535 (tan_test_tonearest): Likewise.
31536 (tan_test_towardzero): Likewise.
31537 (tan_test_downward): Likewise.
31538 (tan_test_upward): Likewise.
31539 (tanh_test): Likewise.
31540 (tgamma_test): Likewise.
31541 (trunc_test): Likewise.
31542 (y0_test): Likewise.
31543 (y1_test): Likewise.
31544 (yn_test): Likewise.
31545 (significand_test): Likewise.
31547 2013-05-24 Ondřej Bílka <neleai@seznam.cz>
31550 * libio/genops.c (_IO_no_init): Initialize wide struct info.
31552 2013-05-23 Edjunior Machado <emachado@linux.vnet.ibm.com>
31555 * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
31556 __ppc_mdoio and __ppc_mdoom.
31557 * manual/platform.texi: Document new functions __ppc_yield,
31558 __ppc_mdoio and __ppc_mdoom.
31560 2013-05-22 Carlos O'Donell <carlos@redhat.com>
31562 * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
31563 (main): Mention "tls" pseudo-hwcap is legacy.
31564 * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
31566 2013-05-22 Joseph Myers <joseph@codesourcery.com>
31568 * math/gen-libm-test.pl (parse_args): Output only string of
31569 arguments as text for test name, not full call or descriptions of
31570 tests for extra outputs.
31571 (generate_testfile): Do not pass function name to parse_args.
31572 Generate this_func variable from START.
31573 * math/libm-test.inc (struct test_f_f_data): Rename test_name
31575 (struct test_ff_f_data): Likewise.
31576 (test_ff_f_data_nexttoward): Likewise.
31577 (struct test_fi_f_data): Likewise.
31578 (struct test_fl_f_data): Likewise.
31579 (struct test_if_f_data): Likewise.
31580 (struct test_fff_f_data): Likewise.
31581 (struct test_c_f_data): Likewise.
31582 (struct test_f_f1_data): Likewise. Remove field extra_name.
31583 (struct test_fF_f1_data): Likewise.
31584 (struct test_ffI_f1_data): Likewise.
31585 (struct test_c_c_data): Rename test_name field to arg_str.
31586 (struct test_cc_c_data): Likewise.
31587 (struct test_f_i_data): Likewise.
31588 (struct test_ff_i_data): Likewise.
31589 (struct test_f_l_data): Likewise.
31590 (struct test_f_L_data): Likewise.
31591 (struct test_fFF_11_data): Likewise. Remove fields extra1_name
31593 (COMMON_TEST_SETUP): New macro.
31594 (EXTRA_OUTPUT_TEST_SETUP): Likewise.
31595 (COMMON_TEST_CLEANUP): Likewise.
31596 (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
31597 (RUN_TEST_f_f): Take argument string. Call new setup and cleanup
31599 (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
31600 (RUN_TEST_2_f): Take argument string. Call new setup and cleanup
31602 (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
31603 (RUN_TEST_fff_f): Take argument string. Call new setup and
31605 (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
31606 (RUN_TEST_c_f): Take argument string. Call new setup and cleanup
31608 (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
31609 (RUN_TEST_f_f1): Take argument string. Call new setup and cleanup
31611 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
31612 (RUN_TEST_fF_f1): Take argument string. Call new setup and
31614 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
31615 (RUN_TEST_fI_f1): Take argument string. Call new setup and
31617 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
31618 (RUN_TEST_ffI_f1): Take argument string. Call new setup and
31620 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
31621 (RUN_TEST_c_c): Take argument string. Call new setup and cleanup
31623 (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
31624 (RUN_TEST_cc_c): Take argument string. Call new setup and cleanup
31626 (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
31627 (RUN_TEST_f_i): Take argument string. Call new setup and cleanup
31629 (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
31630 (RUN_TEST_f_i_tg): Take argument string. Call new setup and
31632 (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
31633 (RUN_TEST_ff_i_tg): Take argument string. Call new setup and
31635 (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
31636 (RUN_TEST_f_b): Take argument string. Call new setup and cleanup
31638 (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
31639 (RUN_TEST_f_b_tg): Take argument string. Call new setup and
31641 (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
31642 (RUN_TEST_f_l): Take argument string. Call new setup and cleanup
31644 (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
31645 (RUN_TEST_f_L): Take argument string. Call new setup and cleanup
31647 (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
31648 (RUN_TEST_fFF_11): Take argument string. Call new setup and
31650 (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
31652 2013-05-22 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
31654 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
31655 to _sifields.sigfault.
31656 (si_addr_lsb): Define new macro.
31657 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
31658 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
31659 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
31661 2013-05-03 Carlos O'Donell <carlos at redhat.com>
31664 * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
31666 (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
31668 * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
31669 loading the domain.
31671 2013-05-22 Joseph Myers <joseph@codesourcery.com>
31673 * math/gen-libm-test.pl (parse_args): Do not include expected
31674 result in test name.
31675 * sysdeps/i386/fpu/libm-test-ulps: Update test names.
31676 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
31677 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
31678 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
31679 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
31680 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31682 2013-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
31684 * benchtests/Makefile: Sort function entries.
31686 * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
31687 tanh, asinh, acosh, atanh.
31688 * benchtests/acos-inputs: New file.
31689 * benchtests/acosh-inputs: New file.
31690 * benchtests/asin-inputs: New file.
31691 * benchtests/asinh-inputs: New file.
31692 * benchtests/atanh-inputs: New file.
31693 * benchtests/cosh-inputs: New file.
31694 * benchtests/log-inputs: New file.
31695 * benchtests/sinh-inputs: New file.
31696 * benchtests/tanh-inputs: New file.
31698 2013-05-21 Dmitry V. Levin <ldv@altlinux.org>
31701 * posix/tst-getaddrinfo4.c: New test.
31702 * posix/Makefile (tests): Add it.
31704 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
31707 * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
31708 when no services were used.
31709 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
31710 Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
31712 2013-05-21 Andreas Schwab <schwab@suse.de>
31715 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
31716 [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
31718 * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
31719 redundant variable declarations and reallocation of buffer when
31720 parsing as IPv6 address. Always set NSS status when called from
31721 reentrant functions. Use NETDB_INTERNAL instead of TRY_AGAIN when
31722 buffer too small. Correct computation of needed size.
31723 * nss/Makefile (tests): Add test-digits-dots.
31724 * nss/test-digits-dots.c: New test.
31726 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
31728 * benchtests/Makefile: Remove instructions for adding
31730 * benchtests/README: New file to explain how to execute and
31731 enhance the benchmark tests.
31733 2013-05-21 Andreas Schwab <schwab@suse.de>
31736 * setjmp/Makefile (tests): Add tst-sigsetjmp.
31737 * setjmp/tst-sigsetjmp.c: New test.
31739 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
31741 * sysdeps/x86_64/memset.S (memset): New implementation.
31742 (__bzero): Likewise.
31743 (__memset_tail): New function.
31745 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
31747 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
31748 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
31749 __memcpy_sse2_unaligned ifunc selection.
31750 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
31751 Add memcpy-sse2-unaligned.S.
31752 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
31753 Add: __memcpy_sse2_unaligned.
31755 2013-05-19 Joseph Myers <joseph@codesourcery.com>
31758 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
31759 math_force_eval before restoring floating-point envrionment.
31760 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
31761 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
31763 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
31765 (__nearbyintl): Use math_force_eval before restoring
31766 floating-point environment.
31767 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
31769 * math/gen-libm-test.pl (special_functions): Remove.
31770 (parse_args): Don't handle TEST_extra. Handle functions with no
31772 * math/libm-test.inc (struct test_sincos_data): Replace with
31773 struct test_fFF_11_data.
31774 (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
31775 (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
31776 (sincos_test_data): Change element type to struct
31777 test_fFF_11_data. Use TEST_fFF_11 instead of TEST_extra.
31778 (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
31779 RUN_TEST_LOOP_sincos.
31780 * math/README.libm-test: Don't mention special handling of
31781 individual functions.
31782 * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
31783 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
31784 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
31785 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
31786 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
31787 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31789 * math/gen-libm-test.pl (get_variable): Remove function.
31790 (parse_args): Don't show pointer parameters to call in test
31791 names. Use "extra output N" in test names for extra outputs
31792 rather than naming variables.
31794 2013-05-18 Joseph Myers <joseph@codesourcery.com>
31797 * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
31798 __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
31799 * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
31801 * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
31803 (do_test) [NO_LONG_DOUBLE]: Do not disable call to
31806 * math/gen-libm-test.pl (@tests): Remove variable.
31807 ($count): Likewise.
31808 (new_test): Remove function.
31809 (show_exceptions): New function.
31810 (special_functions): Use show_exceptions instead of new_test.
31811 (parse_args): Likewise.
31812 (generate_testfile): Pass only function name in generated call to
31813 print_max_error or print_complex_max_error.
31814 (get_ulps): Do not handle complex tests specially.
31815 (output_test): Rename to ...
31816 (get_all_ulps_for_test): ... this. Return a string rather than
31817 printing to a file. Require ulps to be present.
31818 (output_ulps): Generate arrays rather than #defines.
31819 * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
31820 (struct ulp_data): New type.
31821 (BUILD_COMPLEX_ULP): Remove macro.
31822 (compare_ulp_data): New function.
31823 (find_ulps): Likewise.
31824 (find_test_ulps): Likewise.
31825 (find_function_ulps): Likewise.
31826 (find_complex_function_ulps): Likewise.
31827 (print_max_error): Determine allowed ulps using
31828 find_function_ulps.
31829 (print_complex_max_error): Determine allowed ulps using
31830 find_complex_function_ulps.
31831 (check_float_internal): Determine max ulps using find_test_ulps.
31832 (check_float): Do not take max_ulp parameter. Update call to
31833 check_float_internal.
31834 (check_complex): Likewise.
31835 (check_int): Do not take max_ulp parameter.
31836 (check_long): Likewise.
31837 (check_bool): Likewise.
31838 (check_longlong): Likewise.
31839 (struct test_f_f_data): Remove max_ulp field.
31840 (struct test_ff_f_data): Likewise.
31841 (struct test_ff_f_data_nexttoward): Likewise.
31842 (struct test_fi_f_data): Likewise.
31843 (struct test_fl_f_data): Likewise.
31844 (struct test_if_f_data): Likewise.
31845 (struct test_fff_f_data): Likewise.
31846 (struct test_c_f_data): Likewise.
31847 (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
31848 (struct test_fF_f1_data): Likewise.
31849 (struct test_ffI_f1_data): Likewise.
31850 (struct test_c_c_data): Remove max_ulp field.
31851 (struct test_cc_c_data): Likewise.
31852 (struct test_f_i_data): Likewise.
31853 (struct test_ff_i_data): Likewise.
31854 (struct test_f_l_data): Likewise.
31855 (struct test_f_L_data): Likewise.
31856 (struct test_sincos_data): Likewise.
31857 (RUN_TEST_f_f): Do not handle ulps.
31858 (RUN_TEST_LOOP_f_f): Likewise.
31859 (RUN_TEST_2_f): Likewise.
31860 (RUN_TEST_LOOP_2_f): Likewise.
31861 (RUN_TEST_fff_f): Likewise.
31862 (RUN_TEST_LOOP_fff_f): Likewise.
31863 (RUN_TEST_c_f): Likewise.
31864 (RUN_TEST_LOOP_c_f): Likewise.
31865 (RUN_TEST_f_f1): Likewise.
31866 (RUN_TEST_LOOP_f_f1): Likewise.
31867 (RUN_TEST_fF_f1): Likewise.
31868 (RUN_TEST_LOOP_fF_f1): Likewise.
31869 (RUN_TEST_fI_f1): Likewise.
31870 (RUN_TEST_LOOP_fI_f1): Likewise.
31871 (RUN_TEST_ffI_f1): Likewise.
31872 (RUN_TEST_LOOP_ffI_f1): Likewise.
31873 (RUN_TEST_c_c): Likewise.
31874 (RUN_TEST_LOOP_c_c): Likewise.
31875 (RUN_TEST_cc_c): Likewise.
31876 (RUN_TEST_LOOP_cc_c): Likewise.
31877 (RUN_TEST_f_i): Likewise.
31878 (RUN_TEST_LOOP_f_i): Likewise.
31879 (RUN_TEST_f_i_tg): Likewise.
31880 (RUN_TEST_LOOP_f_i_tg): Likewise.
31881 (RUN_TEST_ff_i_tg): Likewise.
31882 (RUN_TEST_LOOP_ff_i_tg): Likewise.
31883 (RUN_TEST_f_b): Likewise.
31884 (RUN_TEST_LOOP_f_b): Likewise.
31885 (RUN_TEST_f_b_tg): Likewise.
31886 (RUN_TEST_LOOP_f_b_tg): Likewise.
31887 (RUN_TEST_f_l): Likewise.
31888 (RUN_TEST_LOOP_f_l): Likewise.
31889 (RUN_TEST_f_L): Likewise.
31890 (RUN_TEST_LOOP_f_L): Likewise.
31891 (RUN_TEST_sincos): Likewise.
31892 (RUN_TEST_LOOP_sincos): Likewise.
31894 2013-05-17 Joseph Myers <joseph@codesourcery.com>
31898 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
31899 main case of finite arguments, set rounding mode to FE_TONEAREST
31900 and discard exceptions.
31901 * math/libm-test.inc (remainder_test_data): Disallow "inexact"
31903 (remainder_tonearest_test_data): New variable.
31904 (remainder_test_tonearest): New function.
31905 (remainder_towardzero_test_data): New variable.
31906 (remainder_test_towardzero): New function.
31907 (remainder_downward_test_data): New variable.
31908 (remainder_test_downward): New function.
31909 (remainder_upward_test_data): New variable.
31910 (remainder_test_upward): New function.
31911 (main): Call the new test functions.
31913 * math/libm-test.inc (struct test_f_f1_data): Remove field
31915 (struct test_fF_f1_data): Likewise.
31916 (struct test_ffI_f1_data): Likewise.
31917 (RUN_TEST_f_f1): Remove argument EXTRA_INIT. Initialize EXTRA_VAR
31918 based on value of EXTRA_EXPECTED.
31919 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
31920 (RUN_TEST_fF_f1): Remove argument EXTRA_INIT. Initialize
31921 EXTRA_VAR based on value of EXTRA_EXPECTED.
31922 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
31923 (RUN_TEST_fI_f1): Remove argument EXTRA_INIT. Initialize
31924 EXTRA_VAR based on value of EXTRA_EXPECTED.
31925 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
31926 (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT. Initialize
31927 EXTRA_VAR based on value of EXTRA_EXPECTED.
31928 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
31929 * math/gen-libm-test.pl (parse_args): Don't output initializers
31930 for extra output values.
31932 * math/libm-test.inc (check_int): Expect result to be exactly
31933 equal to expected value and do not handle ulps.
31934 (check_long): Likewise.
31935 (check_longlong): Likewise.
31937 * math/libm-test.inc (ceil_test_data): Test for "inexact"
31939 (cimag_test_data): Likewise.
31940 (conj_test_data): Likewise.
31941 (copysign_test_data): Likewise.
31942 (cproj_test_data): Likewise.
31943 (creal_test_data): Likewise.
31944 (fabs_test_data): Likewise.
31945 (fdim_test_data): Likewise.
31946 (finite_test_data): Likewise.
31947 (floor_test_data): Likewise.
31948 (fmax_test_data): Likewise.
31949 (fmin_test_data): Likewise.
31950 (fmod_test_data): Likewise.
31951 (fpclassify_test_data): Likewise.
31952 (frexp_test_data): Likewise.
31953 (ilogb_test_data): Likewise.
31954 (isfinite_test_data): Likewise.
31955 (isgreater_test_data): Likewise.
31956 (isgreaterequal_test_data): Likewise.
31957 (isinf_test_data): Likewise.
31958 (isless_test_data): Likewise.
31959 (islessequal_test_data): Likewise.
31960 (islessgreater_test_data): Likewise.
31961 (isnan_test_data): Likewise.
31962 (isnormal_test_data): Likewise.
31963 (issignaling_test_data): Likewise.
31964 (isunordered_test_data): Likewise.
31965 (ldexp_test_data): Likewise.
31966 (lrint_test_data): Likewise.
31967 (lrint_test_data) [TEST_FLOAT]: Disable one test.
31968 (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
31969 (lrint_tonearest_test_data): Test for "inexact" exceptions.
31970 (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
31971 (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
31972 (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
31974 (lrint_towardzero_test_data): Test for "inexact" exceptions.
31975 (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
31976 (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
31977 (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
31979 (lrint_downward_test_data): Test for "inexact" exceptions.
31980 (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
31981 (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
31982 (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
31984 (lrint_upward_test_data): Test for "inexact" exceptions.
31985 (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
31987 (llrint_test_data): Test for "inexact" exceptions.
31988 (llrint_test_data) [TEST_FLOAT]: Disable one test.
31989 (llrint_tonearest_test_data): Test for "inexact" exceptions.
31990 (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
31991 (llrint_towardzero_test_data): Test for "inexact" exceptions.
31992 (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
31993 (llrint_downward_test_data): Test for "inexact" exceptions.
31994 (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
31995 (llrint_upward_test_data): Test for "inexact" exceptions.
31996 (logb_test_data): Likewise.
31997 (logb_downward_test_data): Likewise.
31998 (nextafter_test_data): Likewise.
31999 (nexttoward_test_data): Likewise.
32000 (remainder_test_data): Likewise.
32001 (remquo_test_data): Likewise.
32002 (scalbn_test_data): Likewise.
32003 (scalbln_test_data): Likewise.
32004 (signbit_test_data): Likewise.
32005 (sqrt_test_data): Likewise.
32006 (significand_test_data): Likewise.
32008 2013-05-17 Siddhesh Poyarekar <siddhesh@redhat.com>
32011 * benchtests/bench-modf.c (struct args): Mark arg0 as
32013 * scripts/bench.pl: Mark members of struct args as volatile.
32015 2013-05-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32018 * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
32019 negative infinity on POWER6 or lower.
32020 * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
32022 2013-05-16 Maciej W. Rozycki <macro@codesourcery.com>
32025 * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
32026 (_FP_FRAC_SNANP_SEMIRAW): Likewise.
32027 (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
32028 (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
32029 (_FP_SETQNAN): New macro.
32030 (_FP_SETQNAN_SEMIRAW): Likewise.
32031 (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
32032 (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
32033 (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
32034 (FP_EXTEND): Use _FP_FRAC_SNANP.
32035 (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
32036 * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
32038 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
32040 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
32043 2013-05-16 Joseph Myers <joseph@codesourcery.com>
32045 * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
32046 with DIVIDE_BY_ZERO_EXCEPTION.
32047 (gamma_test_data): Likewise.
32048 (lgamma_test_data): Likewise.
32049 (log_test_data): Likewise.
32050 (log10_test_data): Likewise.
32051 (log2_test_data): Likewise.
32052 (tgamma_test_data): Likewise.
32054 * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
32055 (acos_test_tonearest): Likewise.
32056 (acos_test_towardzero): Likewise.
32057 (acos_test_downward): Likewise.
32058 (acos_test_upward): Likewise.
32059 (acosh_test): Likewise.
32060 (asin_test): Likewise.
32061 (asin_test_tonearest): Likewise.
32062 (asin_test_towardzero): Likewise.
32063 (asin_test_downward): Likewise.
32064 (asin_test_upward): Likewise.
32065 (asinh_test): Likewise.
32066 (atan_test): Likewise.
32067 (atanh_test): Likewise.
32068 (atan2_test): Likewise.
32069 (cabs_test): Likewise.
32070 (cacos_test): Likewise.
32071 (cacosh_test): Likewise.
32072 (casin_test): Likewise.
32073 (casinh_test): Likewise.
32074 (catan_test): Likewise.
32075 (catanh_test): Likewise.
32076 (cbrt_test): Likewise.
32077 (ccos_test): Likewise.
32078 (ccosh_test): Likewise.
32079 (cexp_test): Likewise.
32080 (clog_test): Likewise.
32081 (clog10_test): Likewise.
32082 (cos_test): Likewise.
32083 (cos_test_tonearest): Likewise.
32084 (cos_test_towardzero): Likewise.
32085 (cos_test_downward): Likewise.
32086 (cos_test_upward): Likewise.
32087 (cosh_test): Likewise.
32088 (cosh_test_tonearest): Likewise.
32089 (cosh_test_towardzero): Likewise.
32090 (cosh_test_downward): Likewise.
32091 (cosh_test_upward): Likewise.
32092 (cpow_test): Likewise.
32093 (csin_test): Likewise.
32094 (csinh_test): Likewise.
32095 (csqrt_test): Likewise.
32096 (ctan_test): Likewise.
32097 (ctan_test_tonearest): Likewise.
32098 (ctan_test_towardzero): Likewise.
32099 (ctan_test_downward): Likewise.
32100 (ctan_test_upward): Likewise.
32101 (ctanh_test): Likewise.
32102 (ctanh_test_tonearest): Likewise.
32103 (ctanh_test_towardzero): Likewise.
32104 (ctanh_test_downward): Likewise.
32105 (ctanh_test_upward): Likewise.
32106 (erf_test): Likewise.
32107 (erfc_test): Likewise.
32108 (exp_test): Likewise.
32109 (exp_test_tonearest): Likewise.
32110 (exp_test_towardzero): Likewise.
32111 (exp_test_downward): Likewise.
32112 (exp_test_upward): Likewise.
32113 (exp10_test): Likewise.
32114 (exp2_test): Likewise.
32115 (expm1_test): Likewise.
32116 (fmod_test): Likewise.
32117 (gamma_test): Likewise.
32118 (hypot_test): Likewise.
32119 (j0_test): Likewise.
32120 (j1_test): Likewise.
32121 (jn_test): Likewise.
32122 (lgamma_test): Likewise.
32123 (log_test): Likewise.
32124 (log10_test): Likewise.
32125 (log1p_test): Likewise.
32126 (log2_test): Likewise.
32127 (logb_test_downward): Likewise.
32128 (pow_test): Likewise.
32129 (pow_test_tonearest): Likewise.
32130 (pow_test_towardzero): Likewise.
32131 (pow_test_downward): Likewise.
32132 (pow_test_upward): Likewise.
32133 (remainder_test): Likewise.
32134 (remquo_test): Likewise.
32135 (sin_test): Likewise.
32136 (sin_test_tonearest): Likewise.
32137 (sin_test_towardzero): Likewise.
32138 (sin_test_downward): Likewise.
32139 (sin_test_upward): Likewise.
32140 (sincos_test): Likewise.
32141 (sinh_test): Likewise.
32142 (sinh_test_tonearest): Likewise.
32143 (sinh_test_towardzero): Likewise.
32144 (sinh_test_downward): Likewise.
32145 (sinh_test_upward): Likewise.
32146 (sqrt_test): Likewise.
32147 (tan_test): Likewise.
32148 (tan_test_tonearest): Likewise.
32149 (tan_test_towardzero): Likewise.
32150 (tan_test_downward): Likewise.
32151 (tan_test_upward): Likewise.
32152 (tanh_test): Likewise.
32153 (tgamma_test): Likewise.
32154 (y0_test): Likewise.
32155 (y1_test): Likewise.
32156 (yn_test): Likewise.
32158 * math/gen-libm-test.pl (adjust_arg): Remove function.
32159 (special_function): Remove argument $in_func. Only handle
32160 generating output for tables of tests, not inside functions.
32161 (parse_args): Likewise.
32162 (generate_testfile): Remove variable $in_func. Update call to
32164 * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
32165 (MINUS_ZERO_INIT): Rename macro to minus_zero.
32166 (PLUS_INFTY_INIT): Rename macro to plus_infty.
32167 (MINUS_INFTY_INIT): Rename macro to minus_infty.
32168 (QNAN_VALUE_INIT): Rename macro to qnan_value.
32169 (MAX_VALUE_INIT): Rename macro to max_value.
32170 (MIN_VALUE_INIT): Rename macro to min_value.
32171 (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
32172 (plus_zero): Remove variable.
32173 (minus_zero): Likewise.
32174 (plus_infty): Likewise.
32175 (minus_infty): Likewise.
32176 (qnan_value): Likewise.
32177 (max_value): Likewise.
32178 (min_value): Likewise.
32179 (min_subnorm_value): Likewise.
32181 2013-05-16 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
32183 * crypt/sha512-block.c: Add missing #include <stdint.h> due to
32184 uint64_t or uint32_t usage.
32185 * crypt/sha256-block.c: Likewise.
32186 * crypt/sha256-crypt.c: Likewise.
32187 * crypt/sha256.c: Likewise.
32188 * crypt/sha512-block.c: Likewise.
32189 * crypt/sha512-crypt.c: Likewise.
32190 * crypt/sha512.c: Likewise.
32191 * debug/backtrace-tst.c: Likewise.
32192 * debug/pcprofiledump.c: Likewise.
32193 * elf/cache.c: Likewise.
32194 * elf/dl-cache.c: Likewise.
32195 * elf/dl-misc.c: Likewise.
32196 * elf/dl-profile.c: Likewise.
32197 * elf/dl-support.c: Likewise.
32198 * elf/ldconfig.c: Likewise.
32199 * elf/sprof.c: Likewise.
32200 * iconv/dummy-repertoire.c: Likewise.
32201 * iconv/iconv_charmap.c: Likewise.
32202 * iconv/skeleton.c: Likewise.
32203 * iconvdata/8bit-generic.c: Likewise.
32204 * iconvdata/cp737.h: Likewise.
32205 * iconvdata/cp775.h: Likewise.
32206 * iconvdata/ibm1008.h: Likewise.
32207 * iconvdata/ibm1025.h: Likewise.
32208 * iconvdata/ibm1046.h: Likewise.
32209 * iconvdata/ibm1097.h: Likewise.
32210 * iconvdata/ibm1112.h: Likewise.
32211 * iconvdata/ibm1122.h: Likewise.
32212 * iconvdata/ibm1123.h: Likewise.
32213 * iconvdata/ibm1124.h: Likewise.
32214 * iconvdata/ibm1129.h: Likewise.
32215 * iconvdata/ibm1130.h: Likewise.
32216 * iconvdata/ibm1132.h: Likewise.
32217 * iconvdata/ibm1133.h: Likewise.
32218 * iconvdata/ibm1137.h: Likewise.
32219 * iconvdata/ibm1140.h: Likewise.
32220 * iconvdata/ibm1141.h: Likewise.
32221 * iconvdata/ibm1142.h: Likewise.
32222 * iconvdata/ibm1143.h: Likewise.
32223 * iconvdata/ibm1144.h: Likewise.
32224 * iconvdata/ibm1145.h: Likewise.
32225 * iconvdata/ibm1146.h: Likewise.
32226 * iconvdata/ibm1147.h: Likewise.
32227 * iconvdata/ibm1148.h: Likewise.
32228 * iconvdata/ibm1149.h: Likewise.
32229 * iconvdata/ibm1153.h: Likewise.
32230 * iconvdata/ibm1154.h: Likewise.
32231 * iconvdata/ibm1155.h: Likewise.
32232 * iconvdata/ibm1156.h: Likewise.
32233 * iconvdata/ibm1157.h: Likewise.
32234 * iconvdata/ibm1158.h: Likewise.
32235 * iconvdata/ibm1160.h: Likewise.
32236 * iconvdata/ibm1161.h: Likewise.
32237 * iconvdata/ibm1162.h: Likewise.
32238 * iconvdata/ibm1163.h: Likewise.
32239 * iconvdata/ibm1164.h: Likewise.
32240 * iconvdata/ibm1166.h: Likewise.
32241 * iconvdata/ibm1167.h: Likewise.
32242 * iconvdata/ibm12712.h: Likewise.
32243 * iconvdata/ibm1390.h: Likewise.
32244 * iconvdata/ibm1399.h: Likewise.
32245 * iconvdata/ibm16804.h: Likewise.
32246 * iconvdata/ibm4517.h: Likewise.
32247 * iconvdata/ibm4899.h: Likewise.
32248 * iconvdata/ibm4909.h: Likewise.
32249 * iconvdata/ibm4971.h: Likewise.
32250 * iconvdata/ibm5347.h: Likewise.
32251 * iconvdata/ibm803.h: Likewise.
32252 * iconvdata/ibm856.h: Likewise.
32253 * iconvdata/ibm901.h: Likewise.
32254 * iconvdata/ibm902.h: Likewise.
32255 * iconvdata/ibm9030.h: Likewise.
32256 * iconvdata/ibm9066.h: Likewise.
32257 * iconvdata/ibm921.h: Likewise.
32258 * iconvdata/ibm922.h: Likewise.
32259 * iconvdata/ibm9448.h: Likewise.
32260 * iconvdata/isiri-3342.h: Likewise.
32261 * iconvdata/jis0201.h: Likewise.
32262 * include/link.h: Likewise.
32263 * include/netdb.h: Likewise.
32264 * inet/check_native.c: Likewise.
32265 * inet/check_pf.c: Likewise.
32266 * inet/getipv4sourcefilter.c: Likewise.
32267 * inet/getnameinfo.c: Likewise.
32268 * inet/getsourcefilter.c: Likewise.
32269 * inet/htonl.c: Likewise.
32270 * inet/setipv4sourcefilter.c: Likewise.
32271 * inet/setsourcefilter.c: Likewise.
32272 * inet/test-inet6_opt.c: Likewise.
32273 * inet/tst-network.c: Likewise.
32274 * locale/C-collate.c: Likewise.
32275 * locale/C-ctype.c: Likewise.
32276 * locale/C-time.c: Likewise.
32277 * locale/C-translit.h: Likewise.
32278 * locale/loadarchive.c: Likewise.
32279 * locale/programs/3level.h: Likewise.
32280 * locale/programs/charmap.c: Likewise.
32281 * locale/programs/charmap.h: Likewise.
32282 * locale/programs/ld-address.c: Likewise.
32283 * locale/programs/ld-collate.c: Likewise.
32284 * locale/programs/ld-ctype.c: Likewise.
32285 * locale/programs/ld-identification.c: Likewise.
32286 * locale/programs/ld-measurement.c: Likewise.
32287 * locale/programs/ld-messages.c: Likewise.
32288 * locale/programs/ld-monetary.c: Likewise.
32289 * locale/programs/ld-name.c: Likewise.
32290 * locale/programs/ld-numeric.c: Likewise.
32291 * locale/programs/ld-paper.c: Likewise.
32292 * locale/programs/ld-telephone.c: Likewise.
32293 * locale/programs/ld-time.c: Likewise.
32294 * locale/programs/linereader.c: Likewise.
32295 * locale/programs/locale.c: Likewise.
32296 * locale/programs/locarchive.c: Likewise.
32297 * locale/programs/locfile.h: Likewise.
32298 * locale/programs/repertoire.c: Likewise.
32299 * locale/programs/simple-hash.c: Likewise.
32300 * locale/programs/simple-hash.h: Likewise.
32301 * malloc/memusage.c: Likewise.
32302 * malloc/memusagestat.c: Likewise.
32303 * nis/nis_defaults.c: Likewise.
32304 * nis/nis_hash.c: Likewise.
32305 * nis/nis_print.c: Likewise.
32306 * nis/nis_xdr.c: Likewise.
32307 * nscd/connections.c: Likewise.
32308 * nscd/hstcache.c: Likewise.
32309 * nscd/nscd_gethst_r.c: Likewise.
32310 * nscd/nscd_getserv_r.c: Likewise.
32311 * nscd/nscd_helper.c: Likewise.
32312 * nscd/servicescache.c: Likewise.
32313 * nss/makedb.c: Likewise.
32314 * nss/nss_db/db-XXX.c: Likewise.
32315 * nss/nss_db/db-initgroups.c: Likewise.
32316 * nss/nss_db/db-netgrp.c: Likewise.
32317 * nss/nss_files/files-network.c: Likewise.
32318 * nss/nss_files/files-parse.c: Likewise.
32319 * posix/bug-regex5.c: Likewise.
32320 * posix/fnmatch_loop.c: Likewise.
32321 * posix/regcomp.c: Likewise.
32322 * posix/regexec.c: Likewise.
32323 * posix/tst-rfc3484-2.c: Likewise.
32324 * posix/tst-rfc3484-3.c: Likewise.
32325 * posix/tst-rfc3484.c: Likewise.
32326 * resolv/nss_dns/dns-canon.c: Likewise.
32327 * resolv/nss_dns/dns-network.c: Likewise.
32328 * resolv/res_init.c: Likewise.
32329 * resolv/res_mkquery.c: Likewise.
32330 * resolv/tst-aton.c: Likewise.
32331 * stdlib/cxa_atexit.c: Likewise.
32332 * stdlib/cxa_finalize.c: Likewise.
32333 * stdlib/gen-fpioconst.c: Likewise.
32334 * stdlib/strtol_l.c: Likewise.
32335 * string/tst-endian.c: Likewise.
32336 * sunrpc/auth_des.c: Likewise.
32337 * sunrpc/clnt_udp.c: Likewise.
32338 * sunrpc/rtime.c: Likewise.
32339 * sunrpc/svcauth_des.c: Likewise.
32340 * sunrpc/xdr.c: Likewise.
32341 * sunrpc/xdr_intXX_t.c: Likewise.
32342 * sunrpc/xdr_rec.c: Likewise.
32343 * sysdeps/generic/ldconfig.h: Likewise.
32344 * sysdeps/generic/ldsodefs.h: Likewise.
32345 * sysdeps/generic/memusage.h: Likewise.
32346 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
32347 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
32348 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
32349 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
32350 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
32351 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
32352 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
32353 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
32354 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
32355 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
32356 * sysdeps/posix/getaddrinfo.c: Likewise.
32357 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
32358 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
32359 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
32360 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
32361 * sysdeps/powerpc/test-gettimebase.c: Likewise.
32362 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
32363 * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
32364 * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
32365 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
32366 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
32367 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
32368 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
32369 * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
32370 * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
32371 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
32372 * sysdeps/x86_64/dl-tls.h: Likewise.
32373 * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
32374 * time/alt_digit.c: Likewise.
32375 * time/era.c: Likewise.
32376 * wcsmbs/tst-c16c32-1.c: Likewise.
32378 2013-05-16 Joseph Myers <joseph@codesourcery.com>
32380 * math/libm-test.inc (struct test_sincos_data): New type.
32381 (RUN_TEST_LOOP_sincos): New macro.
32382 (sincos_test_data): New variable.
32383 (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
32385 2013-05-16 Richard Henderson <rth@redhat.com>
32387 * math/atest-exp2.c (LIMB64): New macro.
32388 (CONSTSZ): New macro.
32389 (mp_exp1, mp_exp_m1, mp_log2): New variables.
32391 (print_mpn_fp): ... to function scope.
32392 (read_mpn_hex): Remove.
32393 (get_log2): Remove.
32394 (exp2_mpn): Use mp_log2.
32395 (main): Use mp_exp1.
32397 2013-05-16 Joseph Myers <joseph@codesourcery.com>
32399 * math/libm-test.inc: Remove comment about not testing "inexact"
32401 (INEXACT_EXCEPTION): New macro.
32402 (NO_INEXACT_EXCEPTION): Likewise.
32403 (INVALID_EXCEPTION_OK): Update value.
32404 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
32405 (OVERFLOW_EXCEPTION_OK): Likewise.
32406 (UNDERFLOW_EXCEPTION_OK): Likewise.
32407 (IGNORE_ZERO_INF_SIGN): Likewise.
32408 (ERRNO_UNCHANGED): Likewise.
32409 (ERRNO_EDOM): Likewise.
32410 (ERRNO_ERANGE): Likewise.
32411 (test_exceptions): Handle testing "inexact" exceptions.
32412 (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
32413 (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
32414 (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
32415 (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
32417 (rint_towardzero_test_data): Likewise.
32418 (rint_downward_test_data): Likewise.
32419 (rint_upward_test_data): Likewise.
32421 * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
32422 with OVERFLOW_EXCEPTION.
32423 (exp10_test_data): Likewise.
32424 (exp2_test_data): Likewise.
32425 (expm1_test_data): Likewise.
32426 (lgamma_test_data): Likewise.
32427 (pow_test_data): Likewise.
32428 (tgamma_test_data): Likewise.
32429 (yn_test_data): Remove duplicate test of overflow.
32431 * math/libm-test.inc (struct test_cc_c_data): New type.
32432 (RUN_TEST_LOOP_cc_c): New macro.
32433 (cpow_test_data): New variable.
32434 (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
32436 * math/libm-test.inc (struct test_f_L_data): New type.
32437 (RUN_TEST_LOOP_f_L): New macro.
32438 (llrint_test_data): New variable.
32439 (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
32440 (llrint_tonearest_test_data): New variable.
32441 (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
32442 (llrint_towardzero_test_data): New variable.
32443 (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
32444 (llrint_downward_test_data): New variable.
32445 (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
32446 (llrint_upward_test_data): New variable.
32447 (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
32448 (llround_test_data): New variable.
32449 (llround_test): Run tests with RUN_TEST_LOOP_f_L.
32451 2013-05-13 Peter Collingbourne <pcc@google.com>
32453 * math/atest-exp2.c (get_log2): Remove const attribute.
32455 2013-05-15 Joseph Myers <joseph@codesourcery.com>
32457 * math/libm-test.inc (struct test_f_l_data): New type.
32458 (RUN_TEST_LOOP_f_l): New macro.
32459 (lrint_test_data): New variable.
32460 (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
32461 (lrint_tonearest_test_data): New variable.
32462 (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
32463 (lrint_towardzero_test_data): New variable.
32464 (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
32465 (lrint_downward_test_data): New variable.
32466 (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
32467 (lrint_upward_test_data): New variable.
32468 (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
32469 (lround_test_data): New variable.
32470 (lround_test): Run tests with RUN_TEST_LOOP_f_l.
32472 2013-05-15 Peter Collingbourne <pcc@google.com>
32474 * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
32475 (EXTRACT_WORDS64) Use where appropriate.
32476 (INSERT_WORDS64) Likewise.
32478 * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
32479 constraints with x constraints.
32480 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
32482 * malloc/obstack.c (_obstack_compat): Add initializer.
32484 2013-05-15 Edjunior Machado <emachado@linux.vnet.ibm.com>
32486 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
32487 si_trapno and add si_addr_lsb to _sifields.sigfault.
32488 (si_trapno): Remove macro.
32489 (si_addr_lsb): Define new macro.
32490 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
32492 2013-05-15 Joseph Myers <joseph@codesourcery.com>
32494 * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
32495 instead of TEST_f_l.
32496 (llrint_test_tonearest): Likewise.
32497 (llrint_test_towardzero): Likewise.
32498 (llrint_test_downward): Likewise.
32499 (llrint_test_upward): Likewise.
32500 (llround_test): Likewise.
32502 * math/libm-test.inc (struct test_f_i_data): Add comment.
32503 (RUN_TEST_LOOP_f_b): New macro.
32504 (RUN_TEST_LOOP_f_b_tg): Likewise.
32505 (finite_test_data): New variable.
32506 (finite_test): Run tests with RUN_TEST_LOOP_f_b.
32507 (isfinite_test_data): New variable.
32508 (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
32509 (isinf_test_data): New variable.
32510 (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
32511 (isnan_test_data): New variable.
32512 (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
32513 (isnormal_test_data): New variable.
32514 (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
32515 (issignaling_test_data): New variable.
32516 (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
32517 (signbit_test_data): New variable.
32518 (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
32520 * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
32521 with INVALID_EXCEPTION.
32522 (acosh_test_data): Likewise.
32523 (asin_test_data): Likewise.
32524 (atanh_test_data): Likewise.
32525 (fmod_test_data): Likewise.
32526 (log_test_data): Likewise.
32527 (log10_test_data): Likewise.
32528 (log2_test_data): Likewise.
32529 (pow_test_data): Likewise.
32530 (sqrt_test_data): Likewise.
32531 (y0_test_data): Likewise.
32532 (y1_test_data): Likewise.
32533 (yn_test_data): Likewise.
32535 * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
32538 * math/libm-test.inc (struct test_ff_i_data): New type.
32539 (RUN_TEST_LOOP_ff_i_tg): New macro.
32540 (isgreater_test_data): New variable.
32541 (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
32542 (isgreaterequal_test_data): New variable.
32543 (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
32544 (isless_test_data): New variable.
32545 (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
32546 (islessequal_test_data): New variable.
32547 (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
32548 (islessgreater_test_data): New variable.
32549 (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
32550 (isunordered_test_data): New variable.
32551 (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
32553 2013-05-14 David S. Miller <davem@davemloft.net>
32555 * sysdeps/sparc/fpu/libm-test-ulps: Update.
32557 2013-05-14 Joseph Myers <joseph@codesourcery.com>
32559 * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
32561 * math/libm-test.inc (struct test_fF_f1_data): Change type of
32563 (struct test_f_i_data): Change type of max_ulp to int.
32565 * math/libm-test.inc (test_ffI_f1_data): New type.
32566 (RUN_TEST_LOOP_ffI_f1): New macro.
32567 (remquo_test_data): New variable.
32568 (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
32570 * setjmp/tst-setjmp-fp.c: New file.
32571 * setjmp/Makefile (tests): Add tst-setjmp-fp.
32572 (link-libm): New variable.
32573 ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
32575 * math/libm-test.inc (struct test_f_i_data): New type.
32576 (RUN_TEST_LOOP_f_i): New macro.
32577 (RUN_TEST_LOOP_f_i_tg): Likewise.
32578 (fpclassify_test_data): New variable.
32579 (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
32580 (ilogb_test_data): New variable.
32581 (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
32583 * math/libm-test.inc (scalbln_test): Correct function name in END
32586 * math/libm-test.inc (struct test_f_f1_data): Add comment.
32587 (RUN_TEST_LOOP_fI_f1): New macro.
32588 (frexp_test_data): New variable.
32589 (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
32591 * math/libm-test.inc (struct test_fF_f1_data): New type.
32592 (RUN_TEST_LOOP_fF_f1): New macro.
32593 (modf_test_data): New variable.
32594 (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
32596 * math/libm-test.inc (struct test_f_f1_data): New type.
32597 (RUN_TEST_LOOP_f_f1): New macro.
32598 (gamma_test_data): New variable.
32599 (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
32600 (lgamma_test_data): New variable.
32601 (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
32603 2013-05-13 Carlos O'Donell <carlos@redhat.com>
32605 * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
32606 * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
32607 (main): Comment "tls" pseudo-hwcap.
32609 2013-05-13 Joseph Myers <joseph@codesourcery.com>
32611 * math/libm-test.inc (struct test_fl_f_data): New type.
32612 (RUN_TEST_LOOP_fl_f): New variable.
32613 (scalbln_test_data): New variable.
32614 (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
32616 * math/libm-test.inc (struct test_fi_f_data): New type.
32617 (RUN_TEST_LOOP_fi_f): New macro.
32618 (ldexp_test_data): New variable.
32619 (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
32620 (scalbn_test_data): New variable.
32621 (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
32623 * math/libm-test.inc (struct test_c_f_data): New type.
32624 (RUN_TEST_LOOP_c_f): New macro.
32625 (cabs_test_data): New variable.
32626 (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
32627 (carg_test_data): New variable.
32628 (carg_test): Run tests with RUN_TEST_LOOP_c_f.
32629 (cimag_test_data): New variable.
32630 (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
32631 (creal_test_data): New variable.
32632 (creal_test): Run tests with RUN_TEST_LOOP_c_f.
32634 * math/libm-test.inc (struct test_if_f_data): New type.
32635 (RUN_TEST_LOOP_if_f): New macro.
32636 (jn_test_data): New variable.
32637 (jn_test): Run tests with RUN_TEST_LOOP_if_f.
32638 (yn_test_data): New variable.
32639 (yn_test): Run tests with RUN_TEST_LOOP_if_f.
32641 * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
32643 2013-05-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32645 * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
32646 (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
32648 2013-05-13 Siddhesh Poyarekar <siddhesh@redhat.com>
32650 * benchtests/Makefile (CPPFLAGS-nonlib): Add
32651 -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
32652 (bench-deps): Add bench-timing.h.
32653 * benchtests-bench-skeleton.c: Include bench-timing.h.
32654 (main): Use TIMING_* macros instead of clock_gettime.
32655 * benchtests/bench-timing.h: New file.
32658 * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
32659 Renamed from _LIB_VERSION.
32660 (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
32662 2013-05-12 Joseph Myers <joseph@codesourcery.com>
32664 * math/libm-test.inc (struct test_fff_f_data): New type.
32665 (RUN_TEST_LOOP_fff_f): New macro.
32666 (fma_test_data): New variable.
32667 (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
32668 (fma_towardzero_test_data): New variable.
32669 (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
32670 (fma_downward_test_data): New variable.
32671 (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
32672 (fma_upward_test_data): New variable.
32673 (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
32675 * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
32676 (struct test_c_c_data): New type.
32677 (RUN_TEST_LOOP_c_c): New macro.
32678 (cacos_test_data): New variable.
32679 (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
32680 (cacosh_test_data): New variable.
32681 (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
32682 (casin_test_data): New variable.
32683 (casin_test): Run tests with RUN_TEST_LOOP_c_c.
32684 (casinh_test_data): New variable.
32685 (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
32686 (catan_test_data): New variable.
32687 (catan_test): Run tests with RUN_TEST_LOOP_c_c.
32688 (catanh_test_data): New variable.
32689 (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
32690 (ccos_test_data): New variable.
32691 (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
32692 (ccosh_test_data): New variable.
32693 (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
32694 (cexp_test_data): New variable.
32695 (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
32696 (clog_test_data): New variable.
32697 (clog_test): Run tests with RUN_TEST_LOOP_c_c.
32698 (clog10_test_data): New variable.
32699 (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
32700 (conj_test_data): New variable.
32701 (conj_test): Run tests with RUN_TEST_LOOP_c_c.
32702 (cproj_test_data): New variable.
32703 (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
32704 (csin_test_data): New variable.
32705 (csin_test): Run tests with RUN_TEST_LOOP_c_c.
32706 (csinh_test_data): New variable.
32707 (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
32708 (csqrt_test_data): New variable.
32709 (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
32710 (ctan_test_data): New variable.
32711 (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
32712 (ctan_tonearest_test_data): New variable.
32713 (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
32714 (ctan_towardzero_test_data): New variable.
32715 (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
32716 (ctan_downward_test_data): New variable.
32717 (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
32718 (ctan_upward_test_data): New variable.
32719 (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
32720 (ctanh_test_data): New variable.
32721 (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
32722 (ctanh_tonearest_test_data): New variable.
32723 (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
32724 (ctanh_towardzero_test_data): New variable.
32725 (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
32726 (ctanh_downward_test_data): New variable.
32727 (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
32728 (ctanh_upward_test_data): New variable.
32729 (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
32730 * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
32733 * math/libm-test.inc (struct test_ff_f_data): New type.
32734 (struct test_ff_f_data_nexttoward): Likewise.
32735 (RUN_TEST_LOOP_2_f): New macro.
32736 (RUN_TEST_LOOP_ff_f): Likewise.
32737 (atan2_test_data): New variable.
32738 (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
32739 (copysign_test_data): New variable.
32740 (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
32741 (fdim_test_data): New variable.
32742 (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
32743 (fmax_test_data): New variable.
32744 (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
32745 (fmin_test_data): New variable.
32746 (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
32747 (fmod_test_data): New variable.
32748 (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
32749 (hypot_test_data): New variable.
32750 (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
32751 (nextafter_test_data): New variable.
32752 (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
32753 (nexttoward_test_data): New variable.
32754 (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
32755 (pow_test_data): New variable.
32756 (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
32757 (pow_tonearest_test_data): New variable.
32758 (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
32759 (pow_towardzero_test_data): New variable.
32760 (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
32761 (pow_downward_test_data): New variable.
32762 (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
32763 (pow_upward_test_data): New variable.
32764 (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
32765 (remainder_test_data): New variable.
32766 (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
32767 (scalb_test_data): New variable.
32768 (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
32769 * sysdeps/i386/fpu/libm-test-ulps: Update.
32771 2013-05-11 Joseph Myers <joseph@codesourcery.com>
32773 * math/libm-test.inc (fma_test): Use max_value instead of local
32775 (nextafter_test): Likewise.
32777 * math/libm-test.inc (acos_towardzero_test_data): New variable.
32778 (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
32779 (acos_downward_test_data): New variable.
32780 (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
32781 (acos_upward_test_data): New variable.
32782 (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
32783 (acosh_test_data): New variable.
32784 (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
32785 (asin_test_data): New variable.
32786 (asin_test): Run tests with RUN_TEST_LOOP_f_f.
32787 (asin_tonearest_test_data): New variable.
32788 (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
32789 (asin_towardzero_test_data): New variable.
32790 (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
32791 (asin_downward_test_data): New variable.
32792 (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
32793 (asin_upward_test_data): New variable.
32794 (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
32795 (asinh_test_data): New variable.
32796 (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
32797 (atan_test_data): New variable.
32798 (atan_test): Run tests with RUN_TEST_LOOP_f_f.
32799 (atanh_test_data): New variable.
32800 (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
32801 (cbrt_test_data): New variable.
32802 (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
32803 (ceil_test_data): New variable.
32804 (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
32805 (cos_test_data): New variable.
32806 (cos_test): Run tests with RUN_TEST_LOOP_f_f.
32807 (cos_tonearest_test_data): New variable.
32808 (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
32809 (cos_towardzero_test_data): New variable.
32810 (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
32811 (cos_downward_test_data): New variable.
32812 (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
32813 (cos_upward_test_data): New variable.
32814 (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
32815 (cosh_test_data): New variable.
32816 (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
32817 (cosh_tonearest_test_data): New variable.
32818 (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
32819 (cosh_towardzero_test_data): New variable.
32820 (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
32821 (cosh_downward_test_data): New variable.
32822 (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
32823 (cosh_upward_test_data): New variable.
32824 (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
32825 (erf_test_data): New variable.
32826 (erf_test): Run tests with RUN_TEST_LOOP_f_f.
32827 (erfc_test_data): New variable.
32828 (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
32829 (exp_test_data): New variable.
32830 (exp_test): Run tests with RUN_TEST_LOOP_f_f.
32831 (exp_tonearest_test_data): New variable.
32832 (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
32833 (exp_towardzero_test_data): New variable.
32834 (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
32835 (exp_downward_test_data): New variable.
32836 (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
32837 (exp_upward_test_data): New variable.
32838 (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
32839 (exp10_test_data): New variable.
32840 (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
32841 (exp2_test_data): New variable.
32842 (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
32843 (expm1_test_data): New variable.
32844 (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
32845 (fabs_test_data): New variable.
32846 (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
32847 (floor_test_data): New variable.
32848 (floor_test): Run tests with RUN_TEST_LOOP_f_f.
32849 (j0_test_data): New variable.
32850 (j0_test): Run tests with RUN_TEST_LOOP_f_f.
32851 (j1_test_data): New variable.
32852 (j1_test): Run tests with RUN_TEST_LOOP_f_f.
32853 (log_test_data): New variable.
32854 (log_test): Run tests with RUN_TEST_LOOP_f_f.
32855 (log10_test_data): New variable.
32856 (log10_test): Run tests with RUN_TEST_LOOP_f_f.
32857 (log1p_test_data): New variable.
32858 (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
32859 (log2_test_data): New variable.
32860 (log2_test): Run tests with RUN_TEST_LOOP_f_f.
32861 (logb_test_data): New variable.
32862 (logb_test): Run tests with RUN_TEST_LOOP_f_f.
32863 (logb_downward_test_data): New variable.
32864 (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
32865 (nearbyint_test_data): New variable.
32866 (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
32867 (rint_test_data): New variable.
32868 (rint_test): Run tests with RUN_TEST_LOOP_f_f.
32869 (rint_tonearest_test_data): New variable.
32870 (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
32871 (rint_towardzero_test_data): New variable.
32872 (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
32873 (rint_downward_test_data): New variable.
32874 (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
32875 (rint_upward_test_data): New variable.
32876 (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
32877 (round_test_data): New variable.
32878 (round_test): Run tests with RUN_TEST_LOOP_f_f.
32879 (sin_test_data): New variable.
32880 (sin_test): Run tests with RUN_TEST_LOOP_f_f.
32881 (sin_tonearest_test_data): New variable.
32882 (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
32883 (sin_towardzero_test_data): New variable.
32884 (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
32885 (sin_downward_test_data): New variable.
32886 (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
32887 (sin_upward_test_data): New variable.
32888 (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
32889 (sinh_test_data): New variable.
32890 (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
32891 (sinh_tonearest_test_data): New variable.
32892 (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
32893 (sinh_towardzero_test_data): New variable.
32894 (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
32895 (sinh_downward_test_data): New variable.
32896 (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
32897 (sinh_upward_test_data): New variable.
32898 (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
32899 (sqrt_test_data): New variable.
32900 (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
32901 (tan_test_data): New variable.
32902 (tan_test): Run tests with RUN_TEST_LOOP_f_f.
32903 (tan_tonearest_test_data): New variable.
32904 (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
32905 (tan_towardzero_test_data): New variable.
32906 (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
32907 (tan_downward_test_data): New variable.
32908 (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
32909 (tan_upward_test_data): New variable.
32910 (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
32911 (tanh_test_data): New variable.
32912 (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
32913 (tgamma_test_data): New variable.
32914 (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
32915 (trunc_test_data): New variable.
32916 (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
32917 (y0_test_data): New variable.
32918 (y0_test): Run tests with RUN_TEST_LOOP_f_f.
32919 (y1_test_data): New variable.
32920 (y1_test): Run tests with RUN_TEST_LOOP_f_f.
32921 (significand_test_data): New variable.
32922 (significand_test): Run tests with RUN_TEST_LOOP_f_f.
32924 2013-05-10 Christian Grönke <cgr_bugs@sysgo.com>
32927 * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
32929 2013-05-10 Pino Toscano <toscano.pino@tiscali.it>
32931 * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
32933 2013-05-10 Andreas Jaeger <aj@suse.de>
32936 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
32937 (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
32939 2013-05-10 Joseph Myers <joseph@codesourcery.com>
32941 * math/gen-libm-test.pl (adjust_arg): New function.
32942 (special_functions): Handle generating output in both functions
32944 (parse_args): Likewise.
32945 (generate_testfile): Handle START_DATA and END_DATA. Pass extra
32946 $in_func argument to parse_args.
32947 * math/libm-test.inc (struct test_f_f_data): New type.
32948 (IF_ROUND_INIT_): New macro.
32949 (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
32950 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
32951 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
32952 (IF_ROUND_INIT_FE_UPWARD): Likewise.
32953 (ROUND_RESTORE_): Likewise.
32954 (ROUND_RESTORE_FE_DOWNWARD): Likewise.
32955 (ROUND_RESTORE_FE_TONEAREST): Likewise.
32956 (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
32957 (ROUND_RESTORE_FE_UPWARD): Likewise.
32958 (RUN_TEST_LOOP_f_f): New macro.
32959 (acos_test_data): New variable.
32960 (acos_test): Run tests with RUN_TEST_LOOP_f_f.
32961 (acos_tonearest_test_data): New variable.
32962 (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
32964 2013-05-10 Siddhesh Poyarekar <siddhesh@redhat.com>
32966 * benchtests/bench-skeleton.c (startup): Fix coding style.
32968 2013-05-10 Joseph Myers <joseph@codesourcery.com>
32971 * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
32972 negative infinity argument.
32973 * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
32974 negative infinity argument.
32975 * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
32976 negative infinity argument.
32977 * math/libm-test.inc (tgamma_test): Expect errno to be set for
32980 2013-05-10 Florian Weimer <fweimer@redhat.com>
32982 * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
32983 * iconv/iconv_charmap.c (charmap_conversion): Likewise.
32984 * iconv/iconv_prog.c (main): Likewise.
32985 * locale/programs/charmap-dir.c (charmap_readdir)
32986 (fopen_uncompressed): Likewise.
32987 * locale/programs/locfile.c (siblings_uncached)
32988 (write_locale_data): Use lstat64 instead of lstat.
32989 * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
32992 2013-05-10 Andreas Jaeger <aj@suse.de>
32995 * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
32997 Include <locale.h>.
32999 2013-05-09 Carlos O'Donell <carlos@redhat.com>
33001 * elf/dl-close.c (_dl_close_worker): Add comments.
33003 2013-05-09 Joseph Myers <joseph@codesourcery.com>
33006 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
33008 (__ieee754_rem_pio2l): Update comments.
33011 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
33013 (__ieee754_rem_pio2l): Update comments.
33015 * math/libm-test.inc (M_SQRT_2_2): Remove macro.
33016 (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
33018 * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
33021 * math/libm-test.inc (M_PI_34l): Define using decimal constant.
33022 (M_PI_34_LOG10El): Likewise.
33023 (M_PI2_LOG10El): Likewise.
33024 (M_PI4_LOG10El): Likewise.
33025 (M_PI_LOG10El): Likewise.
33027 2013-05-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33029 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33031 2013-05-08 Joseph Myers <joseph@codesourcery.com>
33033 * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
33034 (MINUS_ZERO_INIT): Likewise.
33035 (PLUS_INFTY_INIT): Likewise.
33036 (MINUS_INFTY_INIT): Likewise.
33037 (QNAN_VALUE_INIT): Likewise.
33038 (MAX_VALUE_INIT): Likewise.
33039 (MIN_VALUE_INIT): Likewise.
33040 (MIN_SUBNORM_VALUE_INIT): Likewise.
33041 (plus_zero): Initialize with PLUS_ZERO_INIT.
33042 (minus_zero): Initialize with MINUS_ZERO_INIT.
33043 (plus_infty): Initialize with PLUS_INFTY_INIT.
33044 (minus_infty): Initialize with MINUS_INFTY_INIT.
33045 (qnan_value): Initialize with QNAN_VALUE_INIT.
33046 (max_value): Initialize with MAX_VALUE_INIT.
33047 (min_value): Initialize with MIN_VALUE_INIT.
33048 (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
33050 * math/libm-test.inc (RUN_TEST_if_f): New macro.
33051 (jn_test): Use TEST_if_f instead of TEST_ff_f.
33052 (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
33053 (yn_test): Use TEST_if_f instead of TEST_ff_f.
33055 * math/libm-test.inc (RUN_TEST_f_f): New macro.
33056 (RUN_TEST_2_f): Likewise.
33057 (RUN_TEST_ff_f): Likewise.
33058 (RUN_TEST_fi_f): Likewise.
33059 (RUN_TEST_fl_f): Likewise.
33060 (RUN_TEST_fff_f): Likewise.
33061 (RUN_TEST_c_f): Likewise.
33062 (RUN_TEST_f_f1): Likewise.
33063 (RUN_TEST_fF_f1): Likewise.
33064 (RUN_TEST_fI_f1): Likewise.
33065 (RUN_TEST_ffI_f1): Likewise.
33066 (RUN_TEST_c_c): Likewise.
33067 (RUN_TEST_cc_c): Likewise.
33068 (RUN_TEST_f_i): Likewise.
33069 (RUN_TEST_f_i_tg): Likewise.
33070 (RUN_TEST_ff_i_tg): Likewise.
33071 (RUN_TEST_f_b): Likewise.
33072 (RUN_TEST_f_b_tg): Likewise.
33073 (RUN_TEST_f_l): Likewise.
33074 (RUN_TEST_f_L): Likewise.
33075 (RUN_TEST_sincos): Likewise.
33076 * math/gen-libm-test.pl (new_test): Take new argument to indicate
33077 whether to show exceptions. Do not include ");\n" in return
33079 (special_functions): Output call to RUN_TEST_sincos instead of
33080 check_float calls. Update calls to new_test.
33081 (parse_args): Output call to single RUN_TEST_* macro instead of
33082 check_* calls and other assignments. Update calls to new_test.
33088 * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
33089 input to result for tgamma overflow.
33090 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
33091 (gamma_coeff): New variable.
33092 (NCOEFF): New macro.
33093 (gamma_positive): New function.
33094 (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
33095 underflow here. Use gamma_positive instead of exp (lgamma) for
33097 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
33098 (gamma_coeff): New variable.
33099 (NCOEFF): New macro.
33100 (gammaf_positive): New function.
33101 (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
33102 underflow here. Use gamma_positive instead of exp (lgamma) for
33104 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
33105 (gamma_coeff): New variable.
33106 (NCOEFF): New macro.
33107 (gammal_positive): New function.
33108 (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
33109 underflow here. Use gamma_positive instead of exp (lgamma) for
33111 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
33112 (gamma_coeff): New variable.
33113 (NCOEFF): New macro.
33114 (gammal_positive): New function.
33115 (__ieee754_gammal_r): Handle positive infinity, overflow and
33116 underflow here. Handle NaN the same as positive infinity. Remove
33117 check x < 0xffffffff for negative integers. Use gamma_positive
33118 instead of exp (lgamma) for other arguments.
33119 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
33120 (gamma_coeff): New variable.
33121 (NCOEFF): New macro.
33122 (gammal_positive): New function.
33123 * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
33124 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
33125 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
33126 * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
33127 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
33128 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
33129 * sysdeps/generic/math_private.h (__gamma_productf): New
33131 (__gamma_product): Likewise.
33132 (__gamma_productl): Likewise.
33133 * math/Makefile (libm-calls): Add gamma_product.
33134 * math/libm-test.inc (tgamma_test): Add more tests.
33135 * sysdeps/i386/fpu/libm-test-ulps: Update.
33136 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33138 2013-05-08 Ondřej Bílka <neleai@seznam.cz>
33140 * benchtests/bench-skeleton.c (main): Preheat CPU.
33142 2013-05-07 Aurelien Jarno <aurelien@aurel32.net>
33144 * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
33146 2013-05-07 Roland McGrath <roland@hack.frob.com>
33148 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
33149 and _dl_skip_args_internal.
33151 2013-05-07 Carlos O'Donell <carlos@redhat.com>
33153 * manual/message.texi (Message Translation): Talk about users.
33154 Message to key mapping impacts design.
33156 2013-05-06 Roland McGrath <roland@hack.frob.com>
33158 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
33160 * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
33162 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
33163 * sysdeps/wordsize-64/glob64.c: ... here.
33165 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
33166 (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
33169 * debug/getlogin_r_chk.c: Moved to ...
33170 * login/getlogin_r_chk.c: ... here.
33171 * debug/Makefile (routines): Move getlogin_r_chk to ...
33172 * login/Makefile (routines): ... here.
33173 * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
33174 * login/Versions (libc: GLIBC_2.4): ... here.
33176 * io/poll.c (__poll): Renamed from poll.
33177 Add libc_hidden_def.
33178 (poll): Define as weak alias.
33180 * debug/ptsname_r_chk.c: Moved to ...
33181 * login/ptsname_r_chk.c: ... here.
33182 * debug/Makefile (routines): Move ptsname_r_chk to ...
33183 * login/Makefile (routines): ... here.
33184 * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
33185 * login/Versions (libc: GLIBC_2.4): ... here.
33187 * posix/getlogin.c: Moved to ...
33188 * login/getlogin.c: ... here.
33189 * posix/getlogin_r.c: Moved to ...
33190 * login/getlogin_r.c: ... here.
33191 * posix/getlogin_r.c: Moved to ...
33192 * login/getlogin_r.c: ... here.
33193 * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
33194 * login/Makefile (routines): ... here.
33195 * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
33196 * login/Versions (libc: GLIBC_2.0): ... here.
33198 * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
33199 (setrlimit): Define as weak alias.
33201 * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
33202 Call __ names for open, ftruncate, and close.
33203 For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
33204 (truncate): Define as weak alias.
33206 2013-05-06 Joseph Myers <joseph@codesourcery.com>
33208 * math/gen-libm-test.pl (parse_args): Initialize x before each
33209 test of frexp, modf and remquo.
33211 * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
33212 test signgam value.
33214 2013-05-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33218 * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
33220 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
33222 2013-05-06 Roland McGrath <roland@hack.frob.com>
33224 * elf/dl-writev.h: New file.
33225 * elf/dl-misc.c: Include it.
33226 (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
33227 * sysdeps/unix/sysv/linux/dl-writev.h: New file.
33229 2013-05-04 Joseph Myers <joseph@codesourcery.com>
33231 * math/libm-test.inc (noXFails): Remove variable.
33232 (noXPasses): Likewise.
33233 (BUILD_COMPLEX_INT): Remove macro.
33234 (print_screen): Remove xfail argument.
33235 (print_screen_max_error): Likewise.
33236 (update_stats): Likewise.
33237 (print_max_error): Likewise. Update calls to other affected
33239 (print_complex_max_error): Likewise.
33240 (test_single_exception): Update calls to print_screen.
33241 (test_single_errno): Likewise.
33242 (check_float_internal): Remove xfail argument. Update calls to
33243 other affected functions.
33244 (check_float): Likewise.
33245 (check_complex): Likewise.
33246 (check_int): Likewise.
33247 (check_long): Likewise.
33248 (check_bool): Likewise.
33249 (check_longlong): Likewise.
33250 (main): Don't print noXFails and noXPasses.
33251 * math/gen-libm-test.pl (top level): Don't mention expected
33252 failure handling in comment.
33253 (new_test): Don't handle expected failures.
33254 (parse_args): Don't mention expected failure handling in comment.
33255 (generate_testfile): Don't handle expected failures.
33256 (parse_ulps): Likewise.
33257 (print_ulps_file): Likewise.
33258 (get_failure): Remove function.
33259 (output_test): Don't handle expected failures.
33260 * make/README.libm-test: Don't mention expected failure handling.
33262 * math/libm-test.inc (plus_zero): Make const. Add initializer.
33263 (minus_zero): Likewise.
33264 (plus_infty): Likewise.
33265 (minus_infty): Likewise.
33266 (qnan_value): Likewise.
33267 (max_value): Likewise.
33268 (min_value): Likewise.
33269 (min_subnorm_value): Likewise.
33270 (initialize): Do not initialize those variables dynamically.
33272 2013-05-03 Roland McGrath <roland@hack.frob.com>
33274 * io/open.c (__open_2): Moved to ...
33275 * io/open_2.c: ... this new file.
33276 * io/open64.c (__open64_2): Moved to ...
33277 * io/open64_2.c: ... this new file.
33278 * io/openat.c (__openat_2): Moved to ...
33279 * io/openat_2.c: ... this new file.
33280 * io/openat64.c (__openat64_2): Moved to ...
33281 * io/openat64_2.c: ... this new file.
33282 * io/Makefile (routines): Add them.
33283 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
33284 * sysdeps/unix/sysv/linux/open_2.c: File removed.
33285 * sysdeps/unix/sysv/linux/open64_2.c: File removed.
33286 * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
33287 * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
33288 * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
33289 (__openat64): Add hidden_ver.
33290 * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
33291 * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
33293 * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
33294 Separately conditionalize setting of GLRO(dl_sysinfo) so
33295 that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
33296 as well, but the actual setting is only under [NEED_DL_SYSINFO].
33298 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33300 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
33301 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
33303 (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
33304 * sysdeps/unix/sysv/linux/powerpc/init-first.c
33305 (_libc_vdso_platform_setup): Add __vdso_time initialization.
33306 * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
33307 for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
33309 2013-05-03 Joseph Myers <joseph@codesourcery.com>
33311 * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
33312 test signgam value.
33314 * math/libm-test.inc (hypot_test): Do not use
33315 IGNORE_ZERO_INF_SIGN.
33317 2013-05-03 Andreas Jaeger <aj@suse.de>
33319 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
33321 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
33322 (PF_MAX): Adjust for VSOCK change.
33324 2013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33326 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33328 2013-05-02 Carlos O'Donell <carlos@redhat.com>
33331 * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
33332 * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
33333 * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
33335 2013-05-02 David S. Miller <davem@davemloft.net>
33337 * sysdeps/sparc/fpu/libm-test-ulps: Update.
33339 2013-05-01 Ondřej Bílka <neleai@seznam.cz>
33341 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
33343 2013-05-01 Roland McGrath <roland@hack.frob.com>
33345 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
33347 2013-05-01 Richard Smith <richard@metafoo.co.uk>
33350 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
33351 [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
33352 Use __attribute__ ((__gnu_inline__)).
33353 [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
33354 Don't use __attribute__ ((__gnu_inline__)).
33356 2013-05-01 Joseph Myers <joseph@codesourcery.com>
33359 * math/s_catan.c (__catan): Handle small real or imaginary part of
33360 input specially to avoid spurious underflow.
33361 * math/s_catanf.c (__catanf): Likewise.
33362 * math/s_catanh.c (__catanh): Likewise.
33363 * math/s_catanhf.c (__catanhf): Likewise.
33364 * math/s_catanhl.c (__catanhl): Likewise.
33365 * math/s_catanl.c (__catanl): Likewise.
33366 * math/libm-test.inc (catan_test): Add more tests.
33367 (catanh_test): Likewise.
33368 * sysdeps/i386/fpu/libm-test-ulps: Update.
33369 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33371 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33373 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33375 2013-04-30 Joseph Myers <joseph@codesourcery.com>
33378 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
33379 accurately for denominator in atan2.
33380 * math/s_catanf.c (__catanf): Likewise.
33381 * math/s_catanh.c (__catanh): Likewise.
33382 * math/s_catanhf.c (__catanhf): Likewise.
33383 * math/s_catanhl.c (__catanhl): Likewise.
33384 * math/s_catanl.c (__catanl): Likewise.
33385 * math/libm-test.inc (catan_test): Add more tests.
33386 (catanh_test): Likewise.
33387 * sysdeps/i386/fpu/libm-test-ulps: Update.
33388 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33390 2013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
33392 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
33394 * benchtests/Makefile (bench): Remove slow benchmarks.
33395 * benchtests/atan-inputs: Add slow benchmark inputs.
33396 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
33397 (BENCH_FUNC): Accept variant offset.
33399 * benchtests/bench-skeleton.c (main): Run benchmark for each
33401 * benchtests/cos-inputs: Add slow benchmark inputs.
33402 * benchtests/exp-inputs: Likewise.
33403 * benchtests/pow-inputs: Likewise.
33404 * benchtests/sin-inputs: Likewise.
33405 * benchtests/slowatan-inputs: Remove.
33406 * benchtests/slowatan.c: Remove.
33407 * benchtests/slowcos-inputs: Remove.
33408 * benchtests/slowcos.c: Remove.
33409 * benchtests/slowexp-inputs: Remove.
33410 * benchtests/slowexp.c: Remove.
33411 * benchtests/slowpow-inputs: Remove.
33412 * benchtests/slowpow.c: Remove.
33413 * benchtests/slowsin-inputs: Remove.
33414 * benchtests/slowsin.c: Remove.
33415 * benchtests/slowtan-inputs: Remove.
33416 * benchtests/slowtan.c: Remove.
33417 * benchtests/tan-inputs: Add slow benchmark inputs.
33418 * scripts/bench.pl: Parse comments and directives.
33420 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
33422 ($(objpfx)bench-%.c): Remove *-ITER.
33423 * benchtests/bench-modf.c: Remove definition of ITER.
33424 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
33425 (main): Loop for DURATION seconds instead of fixed number of
33427 * scripts/bench.pl: Don't expect iterations in parameters.
33429 2013-04-29 Roland McGrath <roland@hack.frob.com>
33431 * io/fchdir.c (__fchdir): Renamed from fchdir.
33432 (fchdir): Define as weak alias.
33434 2013-04-29 Joseph Myers <joseph@codesourcery.com>
33436 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
33437 (ERRNO_EDOM): Likewise.
33438 (ERRNO_ERANGE): Likewise.
33439 (noErrnoTests): New variable.
33440 (init_max_error): Set errno to 0.
33441 (test_single_errno): New function.
33442 (test_errno): Likewise.
33443 (check_float_internal): Call test_errno. Set errno to 0.
33444 (check_complex): Refer to errno tests in comment.
33445 (check_int): Call test_errno. Set errno to 0.
33446 (check_long): Likewise.
33447 (check_bool): Likewise.
33448 (check_longlong): Likewise.
33449 (cos_test): Use ERRNO_* flags for errno tests instead of
33451 (expm1_test): Likewise.
33452 (fmod_test): Likewise.
33453 (ilogb_test): Likewise.
33454 (lgamma_test): Likewise.
33455 (pow_test): Likewise.
33456 (remainder_test): Likewise.
33457 (sin_test): Likewise.
33458 (tan_test): Likewise.
33459 (yn_test): Likewise.
33460 (initialize): Set errno to 0.
33461 (main): Print number of errno tests.
33462 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
33464 2013-04-29 Andreas Jaeger <aj@suse.de>
33467 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
33471 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
33472 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
33476 * stdlib/random.c (__initstate): Return NULL if
33480 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
33481 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
33484 2013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33486 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33488 2013-04-29 Joseph Myers <joseph@codesourcery.com>
33490 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
33491 of individual tests.
33492 (casin_test): Likewise.
33493 (casinh_test): Likewise.
33495 2013-04-27 Joseph Myers <joseph@codesourcery.com>
33498 * math/s_catan.c (__catan): Handle arguments with large real or
33499 imaginary part separately without squaring.
33500 * math/s_catanf.c (__catanf): Likewise.
33501 * math/s_catanh.c (__catanh): Likewise.
33502 * math/s_catanhf.c (__catanhf): Likewise.
33503 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
33505 (__catanhl): Handle arguments with large real or imaginary part
33506 separately without squaring.
33507 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
33509 (__catanl): Handle arguments with large real or imaginary part
33510 separately without squaring.
33511 * math/libm-test.inc (catan_test): Add more tests.
33512 (catanh_test): Likewise.
33513 * sysdeps/i386/fpu/libm-test-ulps: Update.
33514 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33516 2013-04-27 Andreas Jaeger <aj@suse.de>
33519 * stdlib/stdlib.h: Update guards for qecvt.
33520 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
33523 2013-04-27 Allan McRae <allan@archlinux.org>
33525 * sysdeps/i386/fpu/libm-test-ulps: Update.
33527 2013-04-26 Joseph Myers <joseph@codesourcery.com>
33530 * math/s_catan.c: Include <float.h>.
33531 (__catan): Ensure underflow exception occurs for underflowed
33533 * math/s_catanf.c: Include <float.h>.
33534 (__catanf): Ensure underflow exception occurs for underflowed
33536 * math/s_catanh.c: Include <float.h>.
33537 (__catanh): Ensure underflow exception occurs for underflowed
33539 * math/s_catanhf.c: Include <float.h>.
33540 (__catanhf): Ensure underflow exception occurs for underflowed
33542 * math/s_catanhl.c: Include <float.h>.
33543 (__catanhl): Ensure underflow exception occurs for underflowed
33545 * math/s_catanl.c: Include <float.h>.
33546 (__catanl): Ensure underflow exception occurs for underflowed
33548 * math/libm-test.inc (catan_test): Add more tests.
33549 (catanh_test): Likewise.
33552 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
33553 underflowed result.
33554 * math/s_ccoshf.c (__ccoshf): Likewise.
33555 * math/s_ccoshl.c (__ccoshl): Likewise.
33556 * math/s_csin.c (__csin): Likewise.
33557 * math/s_csinf.c (__csinf): Likewise.
33558 * math/s_csinh.c (__csinh): Likewise.
33559 * math/s_csinhf.c (__csinhf): Likewise.
33560 * math/s_csinhl.c (__csinhl): Likewise.
33561 * math/s_csinl.c (__csinl): Likewise.
33562 * math/libm-test.inc (ccos_test): Add more tests.
33563 (ccosh_test): Likewise.
33564 (csin_test): Likewise.
33565 (csinh_test): Likewise.
33567 2013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33569 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
33570 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
33571 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
33572 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
33573 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
33574 powerpc/power5+/fpu folders.
33575 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
33578 2013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
33580 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
33582 2013-04-25 Joseph Myers <joseph@codesourcery.com>
33584 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
33585 additions to variable.
33586 [$(config-machine) = x86_64] (modules-names): Likewise.
33587 ($(objpfx)tst-audit3): Remove dependency.
33588 ($(objpfx)tst-audit3.out): Likewise.
33589 ($(objpfx)tst-audit4): Likewise.
33590 ($(objpfx)tst-audit4.out): Likewise.
33591 ($(objpfx)tst-audit5): Likewise.
33592 ($(objpfx)tst-audit5.out): Likewise.
33593 ($(objpfx)tst-audit6): Likewise.
33594 ($(objpfx)tst-audit6.out): Likewise.
33595 ($(objpfx)tst-audit7): Likewise.
33596 ($(objpfx)tst-audit7.out): Likewise.
33597 (tst-audit3-ENV): Remove variable.
33598 (tst-audit4-ENV): Likewise.
33599 (tst-audit5-ENV): Likewise.
33600 (tst-audit6-ENV): Likewise.
33601 (tst-audit7-ENV): Likewise.
33602 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
33603 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
33604 addition to variable.
33605 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
33606 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
33607 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
33608 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
33609 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
33610 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
33611 tst-audit3, tst-audit4 and tst-audit5.
33612 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
33613 tst-audit6 and tst-audit7.
33614 [$(subdir) = elf] (modules-names): Add audit modules for those
33616 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
33617 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
33618 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
33619 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
33620 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
33621 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
33622 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
33623 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
33624 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
33625 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
33626 [$(subdir) = elf] (tst-audit3-ENV): New variable.
33627 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
33628 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
33629 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
33630 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
33631 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
33633 [$(subdir) = elf && $(config-cflags-avx) = yes]
33634 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
33635 [$(subdir) = elf && $(config-cflags-avx) = yes]
33636 (CFLAGS-tst-auditmod4a.c): Likewise.
33637 [$(subdir) = elf && $(config-cflags-avx) = yes]
33638 (CFLAGS-tst-auditmod4b.c): Likewise.
33639 [$(subdir) = elf && $(config-cflags-avx) = yes]
33640 (CFLAGS-tst-auditmod6b.c): Likewise.
33641 [$(subdir) = elf && $(config-cflags-avx) = yes]
33642 (CFLAGS-tst-auditmod6c.c): Likewise.
33643 [$(subdir) = elf && $(config-cflags-avx) = yes]
33644 (CFLAGS-tst-auditmod7b.c): Likewise.
33645 * elf/tst-audit3.c: Move to ...
33646 * sysdeps/x86_64/tst-audit3.c: ... here.
33647 * elf/tst-audit4.c: Move to ...
33648 * sysdeps/x86_64/tst-audit4.c: ... here.
33649 * elf/tst-audit5.c: Move to ...
33650 * sysdeps/x86_64/tst-audit5.c: ... here.
33651 * elf/tst-audit6.c: Move to ...
33652 * sysdeps/x86_64/tst-audit6.c: ... here.
33653 * elf/tst-audit7.c: Move to ...
33654 * sysdeps/x86_64/tst-audit7.c: ... here.
33655 * elf/tst-auditmod3a.c: Move to ...
33656 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
33657 * elf/tst-auditmod3b.c: Move to ...
33658 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
33659 * elf/tst-auditmod4a.c: Move to ...
33660 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
33661 * elf/tst-auditmod4b.c: Move to ...
33662 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
33663 * elf/tst-auditmod5a.c: Move to ...
33664 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
33665 * elf/tst-auditmod5b.c: Move to ...
33666 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
33667 * elf/tst-auditmod6a.c: Move to ...
33668 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
33669 * elf/tst-auditmod6b.c: Move to ...
33670 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
33671 * elf/tst-auditmod6c.c: Move to ...
33672 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
33673 * elf/tst-auditmod7a.c: Move to ...
33674 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
33675 * elf/tst-auditmod7b.c: Move to ...
33676 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
33678 2013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
33681 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
33682 define unconditionally.
33683 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
33684 define unconditionally.
33685 (INT8_C, INT16_C, etc.): Likewise.
33687 2013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
33689 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
33690 __ehdr_start with hidden visibility.
33692 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
33694 2013-04-24 Carlos O'Donell <carlos@redhat.com>
33696 * math/libm-test.inc (cos_test): Use accurate hex constants.
33697 (sincost_test): Likewise.
33699 2013-04-24 Joseph Myers <joseph@codesourcery.com>
33701 * math/libm-test.inc (catan_test): Add more tests.
33702 (catanh_test): Likewise.
33704 * math/s_catanf.c (__catanf): Use suffixed floating-point
33706 * math/s_catanhf.c (__catanhf): Likewise.
33707 * math/s_catanhl.c (__catanhl): Likewise.
33708 * math/s_catanl.c (__catanl): Likewise.
33711 * math/s_catan.c (__catan): Calculate imaginary part of result
33712 with log1p not log unless computing log of number close to 0.
33713 * math/s_catanf.c (__catanf): Likewise.
33714 * math/s_catanl.c (__catanl): Likewise.
33715 * math/s_catanh.c (__catanh): Calculate real part of result with
33716 log1p not log unless computing log of number close to 0.
33717 * math/s_catanhf.c (__catanhf): Likewise.
33718 * math/s_catanhl.c (__catanhl): Likewise.
33719 * math/libm-test.inc (catan_test): Add more tests.
33720 (catanh_test): Likewise.
33721 * sysdeps/i386/fpu/libm-test-ulps: Update.
33722 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33724 2013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
33726 * benchtests/Makefile: Mention files in which fast and slow
33727 paths of math functions are implemented.
33729 2013-04-23 Roland McGrath <roland@hack.frob.com>
33731 * sysdeps/posix/timespec_get.c: New file.
33733 2013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33735 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
33737 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
33739 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
33740 powerpc/power5/fpu folders.
33741 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
33742 * benchtests/Makefile: Add modf testcase.
33743 * benchtests/bench-modf.c: New file: Benchmark test for mo
33745 2013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
33748 * time/Makefile (tests): Add tst-strptime-whitespace.
33749 * time/strptime_l.c (get_number): Use ISSPACE.
33750 (__strptime_internal): Likewise.
33751 * time/tst-strptime-whitespace.c: New test case.
33753 2013-04-23 Andreas Schwab <schwab@linux-m68k.org>
33755 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
33757 (_nss_files_init): Set it here.
33759 2013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
33761 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
33762 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
33765 2013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
33767 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
33769 2013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
33771 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
33774 2013-04-21 David S. Miller <davem@davemloft.net>
33776 * po/ru.po: Update Russion translation from translation project.
33778 2013-04-17 Adam Conrad <adconrad@0c3.net>
33780 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
33783 2013-04-17 Carlos O'Donell <carlos@redhat.com>
33785 * configure.in: Remove i386 configure warning. Remove i386 case.
33786 * configure: Regenerate.
33787 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
33788 Add example to error message.
33789 * sysdeps/i386/configure: Regenerate.
33791 2013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
33793 * benchtests/Makefile (bench): Add cos, tan, slowcos and
33795 * benchtests/cos-inputs: New file.
33796 * benchtests/slowcos-inputs: New file.
33797 * benchtests/slowcos.c: New file.
33798 * benchtests/slowtan-inputs: New file.
33799 * benchtests/slowtan.c: New file.
33800 * benchtests/tan-inputs: New file.
33802 2013-04-16 Roland McGrath <roland@hack.frob.com>
33804 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
33807 2013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
33809 * benchtests/Makefile: Include cppflags-iterator.mk to add
33810 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
33812 * Makefile.in (bench-clean): New target.
33813 * benchtests/Makefile (bench-clean): Likewise.
33815 2013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
33817 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
33819 2013-04-15 Thomas Schwinge <thomas@codesourcery.com>
33821 * stdio-common/tstdiomisc.c: Fix coding-style violation.
33823 2013-04-15 Andreas Schwab <schwab@suse.de>
33825 * nscd/grpcache.c (cache_addgr): Properly check for short write.
33826 * nscd/initgrcache.c (addinitgroupsX): Likewise.
33827 * nscd/pwdcache.c (cache_addpw): Likewise.
33828 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
33831 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
33833 * benchtests/Makefile (bench): Write all output to
33834 bench-out.tmp together.
33836 2013-04-15 Andreas Schwab <schwab@suse.de>
33838 * nscd/nscd.c (main): Don't fork again after closing files.
33840 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
33842 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
33844 * benchtests/Rules (bench-deps): Collect dependencies into a
33845 single variable. Add Makefile to dependencies.
33846 ($(objpfx)bench-%.c): Depend on bench-deps.
33848 2013-04-12 Roland McGrath <roland@hack.frob.com>
33849 Xavier Roche <roche+kml2@exalead.com>
33852 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
33853 just that it's a file descriptor.
33854 * manual/llio.texi (Synchronizing AIO Operations): Update description
33855 for EBADF error from aio_fsync.
33857 2013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
33859 * Rules (bench): Move target definition...
33860 * benchtests/Makefile: ... here.
33862 2013-04-11 Carlos O'Donell <carlos@redhat.com>
33864 * math/libm-test.inc (cos_test): Fix PI/2 test.
33865 (sincos_test): Likewise.
33866 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
33867 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
33869 2013-04-11 Andreas Schwab <schwab@suse.de>
33872 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
33873 accept exponent character only when digits were seen.
33874 * stdio-common/Makefile (tests): Add bug26.
33875 * stdio-common/bug26.c: New file.
33878 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
33881 2013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
33883 * Makeconfig (rtld-prefix): Define built linker prefix.
33884 * Rules (run-bench): Use it.
33885 * math/Makefile (run-regen-ulps): Likewise.
33887 * Rules (bench): Remove eval.
33889 2013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
33890 Roland McGrath <roland@hack.frob.com>
33891 Ondrej Bilka <neleai@seznam.cz>
33894 * time/getdate.c: Include ctype.h and alloca.h.
33895 (__getdate_r): Trim leading and trailing spaces of input.
33896 * time/tst-getdate.c (tests): Add tests with leading and
33899 2013-04-08 Roland McGrath <roland@hack.frob.com>
33902 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
33903 when computing value.
33905 2013-04-06 Carlos O'Donell <carlos@redhat.com>
33907 * math/README.libm-test (How can I generate "libm-test-ulps"?):
33908 Use testrun.sh to run libm tests.
33911 * elf/dl-open.c (dl_open_worker): memset all of seen array.
33913 2013-04-06 Marko Myllynen <myllynen@redhat.com>
33916 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
33918 2013-04-06 Carlos O'Donell <carlos@redhat.com>
33920 * Makefile.in (regen-ulps): New target.
33921 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
33922 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
33923 [ifneq (no,$(PERL)] (regen-ulps): New target.
33924 [ifeq (no,$(PERL)] (regen-ulps): New target.
33925 * math/libm-test.inc (ulps_file_name): Define.
33926 (output_dir): New variable.
33927 (options): Add "output-dir" option.
33928 (parse_opt): Handle 'o' case.
33929 (main): If output_dir is non-NULL use it as a prefix
33931 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
33933 2013-04-06 Carlos O'Donell <carlos@redhat.com>
33935 [BZ #10060, #10062]
33936 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
33937 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
33938 fail configure if __sync_val_compare_and_swap is not inlined.
33939 * sysdeps/i386/configure: Regenerate.
33940 * configure.in: Build for i686 when configured for i386.
33941 * configure: Regenerate.
33942 * README: Remove i386 reference.
33944 2013-04-06 Carlos O'Donell <carlos@redhat.com>
33946 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
33947 * sysdeps/s390/s390-64/sysdep.h: Likewise.
33949 2013-04-05 Thomas Schwinge <thomas@codesourcery.com>
33951 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
33952 (lmsnanval): New variables.
33953 (F): Add conversion tests.
33954 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
33955 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
33957 * stdio-common/tstdiomisc.c (F): Properly collect individual
33960 [BZ #14686, #15336]
33961 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
33962 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
33963 Instead, use input NaN values or generate a qNaN by arithmetic
33964 operation. Also fix bugs to comply with the standard.
33965 * math/libm-test.inc (remainder_test): Add more tests.
33967 [BZ #15335, #15342]
33968 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
33969 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
33970 input NaN values or generate a qNaN by arithmetic operation.
33972 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
33975 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
33978 2013-04-03 Joseph Myers <joseph@codesourcery.com>
33981 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
33982 underflowed result.
33983 * math/s_cexpf.c (__cexpf): Likewise.
33984 * math/s_cexpl.c (__cexpl): Likewise.
33985 * math/libm-test.inc (cexp_test): Add more tests.
33987 2013-04-03 Andreas Schwab <schwab@suse.de>
33990 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
33991 order arrays from heap if bigger than alloca cutoff.
33993 2013-04-03 Thomas Schwinge <thomas@codesourcery.com>
33995 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
33996 (SNAN_TESTS_double): Refer to GCC PR56831.
33997 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
34000 2013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
34002 * Rules (bench): Move bench.out after the run is complete.
34004 * Rules (bench): Echo currently running benchmark.
34006 * benchtests/Makefile (bench): Add atan and slowatan.
34007 * benchtests/atan-inputs: New file.
34008 * benchtests/slowatan-inputs: New file.
34009 * benchtests/slowatan.c: New file.
34011 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
34012 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
34016 * sysdeps/unix/sysv/linux/kernel-features.h
34017 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
34018 __ASSUME_XFS_RESTRICTED_CHOWN.
34019 * sysdeps/unix/sysv/linux/pathconf.c
34020 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
34021 Save and restore errno.
34023 2013-04-02 Joseph Myers <joseph@codesourcery.com>
34026 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
34027 arguments using __kernel_casinh.
34028 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
34029 arguments using __kernel_casinhf.
34030 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
34031 arguments using __kernel_casinhl.
34032 * math/libm-test.inc (cacosh_test): Add more tests.
34033 * sysdeps/i386/fpu/libm-test-ulps: Update.
34034 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34036 2013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
34038 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
34039 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
34041 * bench/Makefile (bench): Add sin and slowsin.
34042 * benchtests/sin-inputs: New file.
34043 * benchtests/slowsin-inputs: New file.
34044 * benchtests/slowsin.c: New file.
34046 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
34047 (bench): Add slowexp and slowpow.
34048 (exp-ITER): Increase iterations.
34049 (pow-ITER): Likewise.
34050 * benchtests/exp-inputs: Change input.
34051 * benchtests/pow-inputs: Likewise.
34052 * benchtests/slowexp-inputs: New file.
34053 * benchtests/slowexp.c: New file.
34054 * benchtests/slowpow-inputs: New file.
34055 * benchtests/slowpow.c: New file.
34057 2013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
34059 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
34061 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
34062 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
34063 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
34064 * benchtests/Makefile: Add rint benchtest.
34065 * benchtests/rint-inputs: Input for rint benchtest.
34067 2013-04-02 Thomas Schwinge <thomas@codesourcery.com>
34069 * Versions.def (libm): Add GLIBC_2.18.
34070 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
34071 hidden libm prototypes.
34072 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
34073 * math/Makefile (libm-calls): Add s_issignaling.
34074 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
34075 __issignalingf, __issignalingl. Adjust all libm.abilist files.
34076 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
34078 * math/math.h [__USE_GNU] (issignaling): New macro.
34079 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
34080 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
34081 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
34082 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
34083 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
34084 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
34085 * manual/arith.texi (issignaling): New section.
34086 * manual/libm-err-tab.pl (@all_functions): Update comment.
34087 * math/gen-libm-test.pl (parse_args): Apply special handling for
34089 * math/libm-test.inc (print_float, issignaling_test): New
34091 (check_float_internal): Add issignaling checks.
34092 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
34093 default definition.
34094 * sysdeps/powerpc/math-tests.h: New file.
34095 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
34097 * math/test-snan.c (TEST_FUNC): Likewise.
34099 2013-03-30 David S. Miller <davem@davemloft.net>
34101 * po/de.po: Update from translation team.
34103 2013-03-30 Joseph Myers <joseph@codesourcery.com>
34106 * math/k_casinh.c (__kernel_casinh): Handle arguments with
34107 imaginary part less than 1.0 and real part less than 0.5
34109 * math/k_casinhf.c (__kernel_casinhf): Likewise.
34110 * math/k_casinhl.c (__kernel_casinhl): Likewise.
34111 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
34112 (cacos_test): Add more tests.
34113 (casin_test): Likewise.
34114 (casinh_test): Likewise.
34115 * sysdeps/i386/fpu/libm-test-ulps: Update.
34116 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34118 2013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
34120 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
34121 ONE with its value.
34123 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
34124 (__pow_mp): Replace ONE and MONE with their values.
34125 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
34126 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
34127 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
34128 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
34129 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
34130 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
34132 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
34134 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
34135 (__pow_mp): Replace ZERO and MZERO with their values.
34136 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
34137 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
34138 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
34139 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
34140 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
34141 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
34144 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
34146 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
34148 2013-03-28 Roland McGrath <roland@hack.frob.com>
34150 * include/stdlib.h [!SHARED] (__call_tls_dtors):
34151 Declare with __attribute__ ((weak)).
34152 * stdlib/exit.c (__libc_atexit) [!SHARED]:
34153 Call __call_tls_dtors only if it's not NULL.
34155 2013-03-28 Roland McGrath <roland@hack.frob.com>
34157 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
34158 didn't do it already, then set _dl_phdr and _dl_phnum based on the
34159 magic __ehdr_start linker symbol if it's defined.
34160 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
34161 them up here if it was already done.
34163 * elf/dl-support.c (_dl_phdr): Make pointer to const.
34164 (_dl_aux_init): Use const in cast when setting it.
34165 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
34166 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
34167 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
34169 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
34171 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
34172 * csu/libc-tls.c: Nor here.
34173 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
34175 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
34176 (__libc_message): Never call vsyslog.
34178 2013-03-28 Alan Modra <amodra@gmail.com>
34180 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
34182 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
34185 2013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
34188 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
34190 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34192 2013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
34195 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
34196 Don't add gid passed as argument.
34198 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
34200 2013-03-27 Joseph Myers <joseph@codesourcery.com>
34203 * math/k_casinh.c (__kernel_casinh): Handle arguments with
34204 imaginary part between 1.0 and 1.5 and real part less than 0.5
34206 * math/k_casinhf.c (__kernel_casinhf): Likewise.
34207 * math/k_casinhl.c (__kernel_casinhl): Likewise.
34208 * math/libm-test.inc (cacos_test): Add more tests.
34209 (casin_test): Likewise.
34210 (casinh_test): Likewise.
34211 * sysdeps/i386/fpu/libm-test-ulps: Update.
34212 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34214 2013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
34216 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
34219 (denorm): Likewise.
34220 (__dbl_mp): Likewise.
34221 (add_magnitudes): Likewise.
34222 (sub_magnitudes): Likewise.
34230 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
34232 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
34233 (__dubcos): Likewise.
34234 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
34235 (__ieee754_acos): Likewise.
34236 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
34237 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
34238 (__exp1): Likewise.
34239 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
34240 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
34242 (my_log2): Likewise.
34243 (checkint): Likewise.
34244 * sysdeps/ieee754/dbl-64/e_remainder.c
34245 (__ieee754_remainder): Likewise.
34246 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
34247 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
34248 (bsloww): Likewise.
34249 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
34251 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
34252 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
34253 MANTISSA_STORE_T to store computations on mantissa. Use
34254 macros for rounding and division.
34255 (denorm): Likewise.
34256 (__dbl_mp): Likewise.
34257 (add_magnitudes): Likewise.
34258 (sub_magnitudes): Likewise.
34261 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
34262 powers of two in terms of TWOPOW macro.
34263 (mp_no): Make type of mantissa as MANTISSA_T.
34264 [!RADIXI]: Define RADIXI.
34265 [!TWO52]: Define TWO52.
34266 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
34268 2013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
34270 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
34271 llroundl symbol when building for PPC32.
34273 2013-03-24 Mark H Weaver <mhw@netris.org>
34275 * manual/arith.texi (Normalization Functions): Fix prototypes for
34276 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
34278 2013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
34281 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
34282 high value to check if expl overflow.
34283 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
34284 to check for underflow and overflow.
34285 * math/libm-test.inc: Add exp test.
34287 2013-03-21 Dmitry V. Levin <ldv@altlinux.org>
34290 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
34293 2013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
34295 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
34298 2013-03-21 Thomas Schwinge <thomas@codesourcery.com>
34300 * math/gen-libm-test.pl (parse_args, special_functions): Properly
34301 wrap blocks consisting of several statements.
34303 * sysdeps/generic/math-tests.h: New file.
34304 * sysdeps/i386/fpu/math-tests.h: Likewise.
34305 * math/test-snan.c: Include it.
34306 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
34308 2013-03-21 Joseph Myers <joseph@codesourcery.com>
34311 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
34312 (__ieee754_j0l): Do not improve calculations using cos of twice
34313 input for inputs above LDBL_MAX / 2.0L.
34314 (__ieee754_y0l): Likewise.
34315 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
34316 (__ieee754_j1l): Do not improve calculations using cos of twice
34317 input for inputs above LDBL_MAX / 2.0L.
34318 (__ieee754_y1l): Likewise.
34319 * math/libm-test.inc (j0_test): Add another test.
34320 (j1_test): Likewise.
34321 (y0_test): Likewise.
34322 (y1_test): Likewise.
34323 * sysdeps/i386/fpu/libm-test-ulps: Update.
34325 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
34327 * Rules ($(objpfx)bench-%.c): Include code from a C source
34330 2013-03-21 Joseph Myers <joseph@codesourcery.com>
34333 * math/k_casinh.c (__kernel_casinh): Handle arguments with
34334 imaginary part 1.0 and real part less than 0.5 specially.
34335 * math/k_casinhf.c (__kernel_casinhf): Likewise.
34336 * math/k_casinhl.c (__kernel_casinhl): Likewise.
34337 * math/libm-test.inc (cacos_test): Add more tests.
34338 (casin_test): Likewise.
34339 (casinh_test): Likewise.
34340 * sysdeps/i386/fpu/libm-test-ulps: Update.
34341 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34343 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
34345 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
34346 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
34348 2013-03-20 Joseph Myers <joseph@codesourcery.com>
34350 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
34351 * config.make.in (config-cflags-sse4): Remove variable.
34352 (config-cflags-avx): Likewise.
34353 (config-cflags-sse2avx): Likewise.
34354 (config-cflags-novzeroupper): Likewise.
34355 (config-asflags-i686): Likewise.
34356 (have-mfma4): Likewise.
34357 (have-as-vis3): Likewise.
34359 * configure.in (MIG): Do not AC_SUBST.
34360 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
34361 (libc_cv_cc_sse4): Do not AC_SUBST.
34362 (libc_cv_cc_avx): Likewise.
34363 (libc_cv_cc_sse2avx): Likewise.
34364 (libc_cv_cc_novzeroupper): Likewise.
34365 (libc_cv_cc_fma4): Likewise.
34366 (libc_cv_as_i686): Likewise.
34367 (libc_cv_sparc_as_vis3): Likewise.
34368 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
34370 (config-asflags-i686): Likewise.
34371 (config-cflags-avx): Likewise.
34372 (config-cflags-sse2avx): Likewise.
34373 (have-mfma4): Likewise.
34374 (config-cflags-novzeroupper): Likewise.
34375 * sysdeps/mach/configure.in (MIG): Likewise.
34376 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
34377 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
34379 (config-cflags-avx): Likewise.
34380 (config-cflags-sse2avx): Likewise.
34381 (have-mfma4): Likewise.
34382 (config-cflags-novzeroupper): Likewise.
34383 * configure: Regenerated.
34384 * sysdeps/i386/configure: Likewise.
34385 * sysdeps/mach/configure: Likewise.
34386 * sysdeps/sparc/configure: Likewise.
34387 * sysdeps/x86_64/configure: Likewise.
34389 2013-03-20 Roland McGrath <roland@hack.frob.com>
34392 * locale/programs/localedef.c (options): Put N_ translation marker
34393 on argument names, not just descriptions.
34395 2013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
34397 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
34399 2013-03-20 Ondřej Bílka <neleai@seznam.cz>
34402 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
34404 2013-03-19 Roland McGrath <roland@hack.frob.com>
34406 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
34407 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
34408 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
34409 [!BEFORE_ABORT] (before_abort): New function.
34410 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
34411 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
34412 (writev_for_fatal): New function.
34413 (WRITEV_FOR_FATAL): New macro; call that.
34414 (backtrace_and_maps): New function.
34415 (BEFORE_ABORT): New macro; call that.
34416 (struct str_list): Type removed.
34417 (__libc_message, __libc_fatal): Functions removed.
34418 Include <sysdeps/posix/libc_fatal.c> instead.
34420 2013-03-19 Joseph Myers <joseph@codesourcery.com>
34422 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
34424 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
34427 2013-03-19 Andreas Schwab <schwab@suse.de>
34429 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
34430 * sysdeps/gnu/configure: Regenerate.
34432 * configure.in: Substitute libc_cv_rtlddir.
34433 * configure: Regenerate.
34434 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
34435 * Makeconfig (rtlddir, inst_rtlddir): New variables.
34436 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
34437 * elf/Makefile (install-others, CFLAGS-interp.c)
34438 (ldso_install, common-ldd-rewrite): Likewise.
34439 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
34440 $(inst_slibdir)/$(rtld-installed-name).
34441 * scripts/rellns-sh: Add -p option.
34442 * Makerules (make-shlib-link): Use rellns-sh to get relative name
34445 2013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
34447 * manual/nptl.texi: Renamed to ...
34448 * manual/threads.texi: ... this.
34449 * manual/Makefile (chapters): Update.
34451 2013-03-18 Roland McGrath <roland@hack.frob.com>
34454 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
34455 on argument names, not just descriptions.
34456 * malloc/memusagestat.c (options): Likewise.
34457 * nss/getent.c (options): Likewise.
34459 2013-03-18 Benno Schulenberg <bensberg@justemail.net>
34462 * iconv/iconv_prog.c (options): Put N_ translation marker
34463 on argument names, not just descriptions.
34464 * iconv/iconvconfig.c (options): Likewise.
34466 2013-03-18 Ondrej Bilka <neleai@seznam.cz>
34468 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
34469 implementation which is faster on all x86_64 architectures.
34470 Tested on AMD, Intel Nehalem, SNB, IVB.
34471 * sysdeps/x86_64/strnlen.S: Likewise.
34473 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
34474 Remove all multiarch strlen and strnlen versions.
34475 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
34476 Remove strlen and strnlen related parts.
34478 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
34479 Inline strlen part.
34480 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
34482 * sysdeps/x86_64/multiarch/strlen.S: Remove.
34483 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
34484 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
34485 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
34486 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
34487 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
34489 2013-03-17 Carlos O'Donell <carlos@redhat.com>
34491 * manual/memory.texi (Malloc Tunable Parameters):
34492 Sort parameters alphabetically. Add comments for missing entries.
34494 2013-03-17 David S. Miller <davem@davemloft.net>
34496 * sysdeps/sparc/fpu/libm-test-ulps: Update.
34498 2013-03-16 Joseph Myers <joseph@codesourcery.com>
34501 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
34502 for arguments at most half maximum finite value.
34503 * math/libm-test.inc (j0_test): Add more tests.
34504 (j1_test): Likewise.
34505 (y0_test): Likewise.
34506 (y1_test): Likewise.
34507 * sysdeps/i386/fpu/libm-test-ulps: Update.
34508 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34511 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
34512 1 / x and functions P and Q for arguments above 0x1p256L.
34513 (__ieee754_y0l): Likewise.
34514 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
34515 (__ieee754_y1l): Likewise.
34516 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
34517 (j1_test): Likewise.
34518 (y0_test): Likewise.
34519 (y1_test): Likewise.
34521 2013-03-16 Thomas Schwinge <thomas@codesourcery.com>
34523 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
34526 2013-03-15 Roland McGrath <roland@hack.frob.com>
34528 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
34529 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
34530 zero since it's initialized to EXEC_PAGESIZE.
34532 * sysdeps/unix/sysv/linux/ldsodefs.h
34533 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
34534 * sysdeps/generic/ldsodefs.h: ... here.
34536 2013-03-15 Thomas Schwinge <thomas@codesourcery.com>
34538 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
34540 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
34542 * math/test-snan.c: Renamed from
34543 sysdeps/powerpc/fpu/test-powerpc-snan.c.
34544 * math/Makefile (tests): Add test-snan.
34545 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
34548 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
34549 SUFFIX. Initialize qNaN_var with __builtin_nan family of
34551 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
34552 __builtin_nan family of functions.
34553 * math/libm-test.inc (initialize): Initialize qnan_value with
34554 __builtin_nan family of functions.
34555 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
34557 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
34559 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
34560 storage class. Initialize qNaN_var and sNaN_var with
34561 __builtin_nan and __builtin_nans families of functions,
34564 * math/libm-test.inc (acosh_test): Also test with qNaN input.
34565 (sqrt_test): Remove duplicate test with qNaN input.
34566 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
34567 (round_test, signbit_test, significand_test): Note missing +/-Inf
34568 as well as qNaN tests.
34570 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
34571 qNaN_var. Fix a few strings, too.
34572 * math/libm-test.inc (nan_value): Rename to qnan_value.
34573 * math/gen-libm-test.pl (%beautify): Adjust to that.
34574 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
34575 * math/test-misc.c (main): Likewise.
34576 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
34577 to __qnan_bytes, and __qnan_union, respectively.
34578 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
34580 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
34581 and lqnanval, respectively.
34582 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
34583 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
34584 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
34585 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
34587 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
34588 * math/test-misc.c (main) [__x86_64__]: Enable test for long
34591 * math/test-misc.c (main): Fix copy'n'pastos.
34592 * misc/tst-efgcvt.c (special): Likewise.
34594 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
34595 Remove declarations.
34597 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
34599 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
34600 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
34601 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
34602 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
34604 2013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
34606 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
34607 macro to return vdso values correctly in IFUNC implementations.
34608 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
34609 Optimization by using IFUNC.
34611 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
34612 Richard Henderson <rth@redhat.com>
34613 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
34615 * Makefile.in (bench): New target.
34616 * NEWS: Mention the benchmark framework.
34617 * Rules (bench): Likewise.
34618 (binaries-bench): Generate binaries for functions to
34620 * benchtests/Makefile: New makefile for benchmark tests.
34621 * benchtests/bench-skeleton.c: New skeleton file for benchmark
34623 * benchtests/exp-inputs: New input file for EXP function.
34624 * benchtests/pow-inputs: New input file for POW function.
34625 * scripts/bench.pl: New script to generate source files for
34626 benchmark programs.
34628 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
34630 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
34631 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
34632 computations on mantissa. Use macros for rounding and
34634 (denorm): Likewise.
34635 (__dbl_mp): Likewise.
34636 (add_magnitudes): Likewise.
34637 (sub_magnitudes): Likewise.
34640 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
34641 powers of two in terms of TWOPOW macro.
34642 (mp_no): Make type of mantissa as MANTISSA_T.
34643 [!RADIXI]: Define RADIXI.
34644 [!TWO52]: Define TWO52.
34645 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
34647 * manual/nptl.texi (cindex): Modify threads to pthreads.
34649 2013-03-15 Joseph Myers <joseph@codesourcery.com>
34651 * sysdeps/x86_64/preconfigure: Regenerated.
34653 2013-03-14 Joseph Myers <joseph@codesourcery.com>
34656 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
34658 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
34659 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
34661 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
34662 * math/libm-test.inc (j0_test): Do not allow one spurious
34663 underflow exception.
34664 (y1_test): Likewise.
34666 2013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
34668 * manual/Makefile (chapters): Add nptl.
34669 * manual/debug.texi (Debugging Support): Add link to Threads
34671 * manual/nptl.texi: New file.
34673 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
34675 2013-03-14 Petr Baudis <pasky@ucw.cz>
34677 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
34678 for non-NULL pointer before the memory validity test. Pointed
34679 out by Holger Brunck <holger.brunck@keymile.com>.
34681 2013-03-13 Andreas Schwab <schwab@suse.de>
34683 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
34686 2013-03-13 Joseph Myers <joseph@codesourcery.com>
34688 * timezone/zic.c: Update from tzcode 2013b.
34690 2013-03-12 Carlos O'Donell <carlos@redhat.com>
34692 * manual/install.texi (Configuring and compiling):
34693 Mention i686 and i586.
34694 * INSTALL: Regenerate.
34696 2013-03-12 Roland McGrath <roland@hack.frob.com>
34698 * sysdeps/init_array/elf-init.c: New file.
34700 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
34701 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
34703 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
34704 __gmon_start__ as global, but as static with a .preinit_array pointer.
34705 * sysdeps/init_array/gmon-start.c: New file. Use that.
34706 * sysdeps/init_array/crti.S: New file, empty except for comments.
34707 * sysdeps/init_array/crtn.S: Likewise.
34709 2013-03-11 Ondřej Bílka <neleai@seznam.cz>
34711 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
34713 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
34714 Remove Prefer_SSE_for_memop.
34715 * sysdeps/x86_64/multiarch/init-arch.h: Remove
34716 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
34717 HAS_PREFER_SSE_FOR_MEMOP.
34718 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
34720 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
34721 Remove bzero, memset ifunc support.
34722 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
34723 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
34724 * sysdeps/x86_64/multiarch/memset.S: Likewise.
34725 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
34727 2013-03-11 Andreas Schwab <schwab@suse.de>
34730 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
34732 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
34733 (GLIBC_2.16): Remove pthread_atfork.
34735 2013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
34737 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
34738 (ptestcases.h): Likewise.
34740 2013-03-08 Roland McGrath <roland@hack.frob.com>
34742 * Makeconfig ($(common-objpfx)config.status): Depend on
34743 sysdeps/*/preconfigure{,.in} too.
34745 2013-03-08 Joseph Myers <joseph@codesourcery.com>
34747 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
34748 (__free_hook): Use void * instead of __malloc_ptr_t.
34749 (__malloc_hook): Likewise.
34750 (__realloc_hook): Likewise.
34751 (__memalign_hook): Likewise.
34752 (__after_morecore_hook): Likewise.
34753 * malloc/arena.c (save_malloc_hook): Likewise.
34754 (save_free_hook): Likewise.
34755 * malloc/hooks.c (malloc_hook_ini): Likewise.
34756 (realloc_hook_ini): Likewise.
34757 (memalign_hook_ini): Likewise.
34758 * malloc/malloc.c (malloc_hook_ini): Likewise.
34759 (realloc_hook_ini): Likewise.
34760 (memalign_hook_ini): Likewise.
34761 (__free_hook): Likewise.
34762 (__malloc_hook): Likewise.
34763 (__realloc_hook): Likewise.
34764 (__memalign_hook): Likewise.
34765 (__libc_malloc): Likewise.
34766 (__libc_free): Likewise.
34767 (__libc_realloc): Likewise.
34768 (__libc_memalign): Likewise.
34769 (__libc_valloc): Likewise.
34770 (__libc_pvalloc): Likewise.
34771 (__libc_calloc): Likewise.
34772 (__posix_memalign): Likewise.
34773 * malloc/morecore.c (__sbrk): Likewise.
34774 (__default_morecore): Likewise.
34776 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
34778 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
34779 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
34780 __malloc_ptrdiff_t.
34782 * malloc/malloc.h (__malloc_size_t): Remove macro.
34783 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
34785 (old_memalign_hook): Likewise.
34786 (old_realloc_hook): Likewise.
34787 (struct hdr): Likewise.
34789 (mallochook): Likewise.
34790 (memalignhook): Likewise.
34791 (reallochook): Likewise.
34792 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
34793 (tr_old_realloc_hook): Likewise.
34794 (tr_old_memalign_hook): Likewise.
34795 (tr_mallochook): Likewise.
34796 (tr_reallochook): Likewise.
34797 (tr_memalignhook): Likewise.
34799 2013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
34801 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
34802 default_ldbl_pack and using as default implementation.
34803 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
34805 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
34806 redundant definition.
34807 (ldbl_insert_mantissa): Likewise.
34808 (ldbl_canonicalize): Likewise.
34809 (ldbl_nearbyint): Likewise.
34810 (ldbl_pack): Rename to ldbl_pack_ppc.
34811 (ldbl_unpack): Rename to ldbl_unpack_ppc.
34812 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
34813 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
34815 2013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
34817 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
34818 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
34819 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
34820 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
34821 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
34822 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
34823 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
34824 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
34826 2013-03-07 Andreas Jaeger <aj@suse.de>
34828 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
34831 2013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
34833 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
34834 Include mpa.h and declare __MPEXP.
34835 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
34836 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
34837 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
34838 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
34839 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
34840 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
34841 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
34843 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
34844 (__slowpow): Use long double EXPL and LOGL functions to
34846 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
34847 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
34848 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
34849 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
34850 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
34851 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
34853 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
34854 intermediate variable to calculate exponent.
34856 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
34860 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
34861 [!NO__SQR]: Define __sqr.
34862 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
34863 and NO__SQR. Remove all code except __mul and __sqr. Include
34864 sysdeps/ieee754/dbl-64/mpa.c.
34865 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
34868 * posix/Makefile (tests): Add tst-pathconf.
34869 * posix/tst-pathconf.c: New test case.
34870 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
34872 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
34874 2013-03-06 Patsy Franklin <pfrankli@redhat.com>
34876 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
34878 2013-03-06 Andreas Jaeger <aj@suse.de>
34880 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
34881 definition via __MAP_ANONYMOUS.
34883 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
34884 it's not part of Linux headers.
34886 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
34887 (MAP_HUGE_MASK): Define.
34889 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
34891 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
34892 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
34894 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
34895 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
34897 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
34898 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
34900 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
34902 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
34903 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
34904 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
34905 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
34906 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
34907 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
34909 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
34912 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
34913 Handle f2fs and efivarfs.
34915 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
34918 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
34919 (EFIVARFS_MAGIC): Add.
34920 (F2FS_LINK_MAX): Add.
34922 2013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
34924 * stdio-common/vfprintf.c: Replace __builtin_expect with
34927 2013-03-06 Joseph Myers <joseph@codesourcery.com>
34930 * sysdeps/generic/bp-sym.h: Remove file.
34931 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
34932 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
34933 <bp-sym.h> and <bp-asm.h>.
34934 (__longjmp): Don't use BP_SYM.
34935 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
34937 (memcpy): Don't use BP_SYM.
34938 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
34939 <bp-sym.h> and <bp-asm.h>.
34940 (memcpy): Don't use BP_SYM.
34941 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
34943 (memcpy): Don't use BP_SYM.
34944 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
34946 (memset): Don't use BP_SYM.
34947 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
34948 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
34949 (__bzero): Don't use BP_SYM.
34950 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
34951 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
34952 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
34953 <bp-sym.h> and <bp-asm.h>.
34954 (memcmp): Don't use BP_SYM. Remove comment about bounded
34956 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
34957 <bp-sym.h> and <bp-asm.h>.
34958 (memcpy): Don't use BP_SYM.
34959 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
34960 <bp-sym.h> and <bp-asm.h>.
34961 (memset): Don't use BP_SYM.
34962 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
34963 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
34964 (__bzero): Don't use BP_SYM.
34965 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
34966 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
34967 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
34968 <bp-sym.h> and <bp-asm.h>.
34969 (strncmp): Don't use BP_SYM. Remove comment about bounded
34971 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
34972 <bp-sym.h> and <bp-asm.h>.
34973 (memcpy): Don't use BP_SYM.
34974 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
34975 <bp-sym.h> and <bp-asm.h>.
34976 (memset): Don't use BP_SYM.
34977 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
34978 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
34979 (__bzero): Don't use BP_SYM.
34980 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
34981 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
34982 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
34983 <bp-sym.h> and <bp-asm.h>.
34984 (__memchr): Don't use BP_SYM.
34985 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
34986 <bp-sym.h> and <bp-asm.h>.
34987 (memcmp): Don't use BP_SYM. Remove comment about bounded
34989 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
34990 <bp-sym.h> and <bp-asm.h>.
34991 (memcpy): Don't use BP_SYM.
34992 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
34993 <bp-sym.h> and <bp-asm.h>.
34994 (__mempcpy): Don't use BP_SYM.
34995 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
34996 <bp-sym.h> and <bp-asm.h>.
34997 (__memrchr): Don't use BP_SYM.
34998 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
34999 <bp-sym.h> and <bp-asm.h>.
35000 (memset): Don't use BP_SYM.
35001 (__bzero): Likewise.
35002 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
35003 <bp-sym.h> and <bp-asm.h>.
35004 (__rawmemchr): Don't use BP_SYM.
35005 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
35006 <bp-sym.h> and <bp-asm.h>.
35007 (__STRCMP): Don't use BP_SYM.
35008 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
35009 <bp-sym.h> and <bp-asm.h>.
35010 (strchr): Don't use BP_SYM.
35011 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
35012 <bp-sym.h> and <bp-asm.h>.
35013 (__strchrnul): Don't use BP_SYM.
35014 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
35015 <bp-sym.h> and <bp-asm.h>.
35016 (strlen): Don't use BP_SYM.
35017 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
35018 <bp-sym.h> and <bp-asm.h>.
35019 (strncmp): Don't use BP_SYM. Remove comment about bounded
35021 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
35022 <bp-sym.h> and <bp-asm.h>.
35023 (__strnlen): Don't use BP_SYM.
35024 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
35025 <bp-sym.h> and <bp-asm.h>.
35026 (__GI__setjmp): Don't use BP_SYM.
35027 (_setjmp): Likewise.
35028 (__sigsetjmp): Likewise.
35029 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
35030 (L(start_addresses)): Don't use BP_SYM.
35031 (_start): Likewise.
35032 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
35034 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
35035 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
35036 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
35037 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
35038 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
35040 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
35041 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
35042 about bounded pointers.
35043 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
35044 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
35045 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
35047 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
35048 about bounded pointers. Remove GKM FIXME comments.
35049 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
35050 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
35052 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
35053 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
35054 Remove GKM FIXME comments.
35055 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
35056 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
35057 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
35059 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
35060 about bounded pointers. Remove GKM FIXME comment.
35061 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
35063 (strncmp): Don't use BP_SYM. Remove comment about bounded
35065 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
35066 <bp-sym.h> and <bp-asm.h>.
35067 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
35068 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
35069 <bp-sym.h> and <bp-asm.h>.
35070 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
35073 2013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
35075 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
35078 2013-03-05 David S. Miller <davem@davemloft.net>
35080 * po/es.po: Update from translation team.
35082 2013-03-05 Andreas Jaeger <aj@suse.de>
35084 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
35085 <bits/mman-linux.h>.
35086 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
35088 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
35089 <bits/mman-linux.h> to end of file.
35090 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
35092 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
35093 <bits/mman-linux.h> to end of file.
35094 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
35096 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
35097 <bits/mman-linux.h> to end of file.
35099 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
35100 (MCL_CURRENT, MCL_FUTURE): Define here.
35102 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
35105 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
35107 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
35109 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
35111 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
35112 fourth parameter needed for rt_sigprocmask syscall.
35113 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
35114 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
35115 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
35116 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
35117 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
35118 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
35120 2013-03-04 Joseph Myers <joseph@codesourcery.com>
35123 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
35124 comment about bounded pointers.
35125 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
35126 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
35128 2013-03-04 Andreas Jaeger <aj@suse.de>
35130 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
35131 common definitions.
35133 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
35134 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
35135 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
35136 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
35137 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
35138 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
35140 2013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
35143 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
35144 __ieee754_sqrl instead of __sqrl.
35146 2013-03-01 Joseph Myers <joseph@codesourcery.com>
35148 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
35149 * sysdeps/powerpc/fpu_control.h: ... here.
35150 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
35151 * sysdeps/powerpc/bits/fenvinline.h: ... here.
35152 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
35153 * sysdeps/powerpc/bits/mathinline.h: ... here.
35155 2013-03-01 Roland McGrath <roland@hack.frob.com>
35157 * elf/dl-hwcaps.c (_dl_important_hwcaps):
35158 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
35159 to just [NEED_DL_SYSINFO_DSO].
35160 * elf/dl-support.c: Likewise.
35161 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
35162 * elf/rtld.c (dl_main): Likewise.
35163 * elf/setup-vdso.h (setup_vdso): Likewise.
35164 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
35165 * sysdeps/unix/sysv/linux/dl-sysdep.c
35166 (_dl_discover_osversion): Likewise.
35168 2013-03-01 Carlos O'Donell <carlos@redhat.com>
35170 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
35171 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
35173 2013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
35175 * NEWS: Mention libm performance improvements and non-x86 PI
35178 * csu/libc-start.c (__pthread_initialize_minimal): Change
35179 function arguments.
35180 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
35182 2013-02-28 Joseph Myers <joseph@codesourcery.com>
35185 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
35186 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
35187 <bp-sym.h> and <bp-asm.h>.
35188 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
35189 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
35191 (memcpy): Don't use BP_SYM.
35192 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
35194 (__mpn_add_n): Don't use BP_SYM.
35195 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
35196 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
35198 (__mpn_addmul_1): Don't use BP_SYM.
35199 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
35200 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
35202 (_setjmp): Don't use BP_SYM.
35203 (__novmx_setjmp): Likewise.
35204 (__GI__setjmp): Likewise.
35205 (__vmx_setjmp): Likewise.
35206 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
35208 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
35209 (__bzero): Don't use BP_SYM.
35210 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
35211 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
35212 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
35213 <bp-sym.h> and <bp-asm.h>.
35214 (memcpy): Don't use BP_SYM.
35215 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
35216 <bp-sym.h> and <bp-asm.h>.
35217 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
35218 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
35219 <bp-sym.h> and <bp-asm.h>.
35220 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
35221 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
35223 (__mpn_lshift): Don't use BP_SYM.
35224 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
35225 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
35227 (memset): Don't use BP_SYM.
35228 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
35229 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
35230 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
35232 (__mpn_mul_1): Don't use BP_SYM.
35233 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
35234 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
35235 <bp-sym.h> and <bp-asm.h>.
35236 (memcmp): Don't use BP_SYM.
35237 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
35238 <bp-sym.h> and <bp-asm.h>.
35239 (memcpy): Don't use BP_SYM.
35240 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
35241 <bp-sym.h> and <bp-asm.h>.
35242 (memset): Don't use BP_SYM.
35243 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
35244 <bp-sym.h> and <bp-asm.h>.
35245 (strncmp): Don't use BP_SYM.
35246 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
35247 <bp-sym.h> and <bp-asm.h>.
35248 (memcpy): Don't use BP_SYM.
35249 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
35250 <bp-sym.h> and <bp-asm.h>.
35251 (memset): Don't use BP_SYM.
35252 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
35253 <bp-sym.h> and <bp-asm.h>.
35254 (__memchr): Don't use BP_SYM.
35255 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
35256 <bp-sym.h> and <bp-asm.h>.
35257 (memcmp): Don't use BP_SYM.
35258 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
35259 <bp-sym.h> and <bp-asm.h>.
35260 (memcpy): Don't use BP_SYM.
35261 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
35262 <bp-sym.h> and <bp-asm.h>.
35263 (__mempcpy): Don't use BP_SYM.
35264 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
35265 <bp-sym.h> and <bp-asm.h>.
35266 (__memrchr): Don't use BP_SYM.
35267 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
35268 <bp-sym.h> and <bp-asm.h>.
35269 (memset): Don't use BP_SYM.
35270 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
35271 <bp-sym.h> and <bp-asm.h>.
35272 (__rawmemchr): Don't use BP_SYM.
35273 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
35274 <bp-sym.h> and <bp-asm.h>.
35275 (__STRCMP): Don't use BP_SYM.
35276 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
35277 <bp-sym.h> and <bp-asm.h>.
35278 (strchr): Don't use BP_SYM.
35279 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
35280 <bp-sym.h> and <bp-asm.h>.
35281 (__strchrnul): Don't use BP_SYM.
35282 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
35283 <bp-sym.h> and <bp-asm.h>.
35284 (strlen): Don't use BP_SYM.
35285 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
35286 <bp-sym.h> and <bp-asm.h>.
35287 (strncmp): Don't use BP_SYM.
35288 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
35289 <bp-sym.h> and <bp-asm.h>.
35290 (__strnlen): Don't use BP_SYM.
35291 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
35293 (__mpn_rshift): Don't use BP_SYM.
35294 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
35295 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
35296 <bp-sym.h> and <bp-asm.h>.
35297 (__sigsetjmp): Don't use BP_SYM.
35298 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
35299 (L(start_addresses)): Don't use BP_SYM.
35300 (_start): Likewise.
35301 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
35303 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
35304 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
35305 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
35306 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
35308 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
35309 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
35310 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
35311 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
35313 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
35315 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
35316 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
35318 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
35320 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
35321 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
35322 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
35324 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
35326 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
35328 (strncmp): Don't use BP_SYM,
35329 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
35331 (__mpn_sub_n): Don't use BP_SYM.
35332 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
35333 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
35335 (__mpn_submul_1): Don't use BP_SYM.
35336 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
35337 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
35338 <bp-sym.h> and <bp-asm.h>.
35339 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
35340 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
35341 <bp-sym.h> and <bp-asm.h>.
35342 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
35345 2013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
35347 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
35348 Use ZK to minimize writes to Z.
35349 (sub_magnitudes): Simplify code a bit.
35350 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
35351 Use ZK to minimize writes to Z.
35352 (sub_magnitudes): Simplify code a bit.
35354 2013-02-27 Roland McGrath <roland@hack.frob.com>
35356 * csu/gmon-start.c: Add special exception to license text.
35358 2013-02-27 Richard Henderson <rth@redhat.com>
35360 * scripts/config.guess: Update from config.git.
35361 * scripts/config.sub: Likewise.
35363 2013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
35365 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
35367 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
35369 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
35371 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
35373 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
35375 2013-02-26 Roland McGrath <roland@hack.frob.com>
35377 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
35378 [$(build-shared = yes].
35380 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
35382 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
35383 (__mul): Reduce iterations for calculating mantissa.
35385 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
35387 (__mpranred): Likewise.
35390 * malloc/memusagestat.c (main): Draw graphs for heap and stack
35391 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
35393 2013-02-26 Paul Eggert <eggert@cs.ucla.edu>
35395 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
35396 Define __attribute__.
35398 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
35400 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
35402 * posix/regex_internal.h (__attribute): Remove.
35403 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
35404 (re_string_context_at): Likewise.
35405 (bitset_not): Use __attribute__ and mark function as possibly
35407 (bitset_merge): Likewise.
35408 (bitset_mask): Likewise.
35409 (re_string_char_size_at): Likewise.
35410 (re_string_wchar_at): Likewise.
35411 (re_string_elem_size_at): Likewise.
35413 2013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
35415 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
35419 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
35423 (denorm): Likewise.
35424 (__dbl_mp): Likewise.
35425 (add_magnitudes): Likewise.
35426 (sub_magnitudes): Likewise.
35430 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
35433 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
35436 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
35439 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
35440 up changes with default code.
35441 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
35444 2013-02-24 Allan McRae <allan@archlinux.org>
35446 * manual/socket.texi (The Internet Namespace): Order menu items
35447 to match that in the file.
35449 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
35450 node listing of the info page menu.
35452 2013-02-21 Joseph Myers <joseph@codesourcery.com>
35455 * sysdeps/i386/bp-asm.h: Remove file.
35456 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
35457 (PARMS): Do not use macros from bp-asm.h.
35461 (__mpn_add_n): Do not use BP_SYM
35462 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
35464 (PARMS): Do not use macros from bp-asm.h.
35467 (__mpn_addmul_1): Do not use BP_SYM
35468 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
35470 (PARMS): Do not use macros from bp-asm.h.
35471 (SIGMSK): Likewise.
35472 (_setjmp): Likewise. Do not use BP_SYM.
35473 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
35475 (PARMS): Do not use macros from bp-asm.h.
35476 (SIGMSK): Likewise.
35477 (setjmp): Likewise. Do not use BP_SYM.
35478 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
35480 (PARMS): Do not use macros from bp-asm.h.
35481 (__frexp): Do not use BP_SYM.
35483 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
35485 (PARMS): Do not use macros from bp-asm.h.
35486 (__frexpf): Do not use BP_SYM.
35487 (frexpf): Likewise.
35488 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
35490 (PARMS): Do not use macros from bp-asm.h.
35491 (__frexpl): Do not use BP_SYM.
35492 (frexpl): Likewise.
35493 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
35495 (PARMS): Do not use macros from bp-asm.h.
35496 (__remquo): Do not use BP_SYM.
35497 (remquo): Likewise.
35498 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
35500 (PARMS): Do not use macros from bp-asm.h.
35501 (__remquof): Do not use BP_SYM.
35502 (remquof): Likewise.
35503 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
35505 (PARMS): Do not use macros from bp-asm.h.
35506 (__remquol): Do not use BP_SYM.
35507 (remquol): Likewise.
35508 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
35510 (PARMS): Do not use macros from bp-asm.h.
35513 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
35514 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
35516 (PARMS): Do not use macros from bp-asm.h.
35517 (strlen): Do not use BP_SYM.
35518 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
35520 (PARMS): Do not use macros from bp-asm.h.
35524 (__mpn_add_n): Do not use BP_SYM.
35525 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
35527 (PARMS): Do not use macros from bp-asm.h.
35530 (__mpn_addmul_1): Do not use BP_SYM.
35531 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
35534 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
35536 (PARMS): Do not use macros from bp-asm.h.
35539 (__mpn_lshift): Do not use BP_SYM.
35540 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
35542 (PARMS): Do not use macros from bp-asm.h.
35546 (memcpy): Likewise. Do not use BP_SYM.
35547 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
35548 libc_hidden_def and weak_alias.
35549 (mempcpy): Do not use BP_SYM in weak_alias.
35550 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
35552 (PARMS): Do not use macros from bp-asm.h.
35555 [!BZERO_P] (CHR): Likewise.
35556 (memset): Likewise. Do not use BP_SYM.
35557 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
35559 (PARMS): Do not use macros from bp-asm.h.
35562 (__mpn_mul_1): Do not use BP_SYM.
35563 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
35565 (PARMS): Do not use macros from bp-asm.h.
35568 (__mpn_rshift): Do not use BP_SYM.
35569 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
35571 (PARMS): Do not use macros from bp-asm.h.
35574 (strchr): Likewise. Do not use BP_SYM.
35575 (index): Do not use BP_SYM in weak_alias.
35576 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
35578 (PARMS): Do not use macros from bp-asm.h.
35581 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
35582 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
35584 (PARMS): Do not use macros from bp-asm.h.
35585 (strlen): Do not use BP_SYM.
35586 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
35588 (PARMS): Do not use macros from bp-asm.h.
35592 (__mpn_sub_n): Do not use BP_SYM.
35593 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
35595 (PARMS): Do not use macros from bp-asm.h.
35598 (__mpn_submul_1): Do not use BP_SYM.
35599 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
35601 (PARMS): Do not use macros from bp-asm.h.
35605 (__mpn_add_n): Do not use BP_SYM.
35606 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
35609 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
35611 (PARMS): Do not use macros from bp-asm.h.
35614 (memcmp): Do not use BP_SYM.
35615 (bcmp): Do not use BP_SYM in weak_alias.
35616 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
35618 (PARMS): Do not use macros from bp-asm.h.
35622 (memcpy): Likewise. Do not use BP_SYM.
35623 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
35625 (PARMS): Do not use macros from bp-asm.h.
35629 (memmove): Likewise. Do not use BP_SYM.
35630 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
35632 (PARMS): Do not use macros from bp-asm.h.
35636 (__mempcpy): Likewise. Do not use BP_SYM.
35637 (mempcpy): Do not use BP_SYM in weak_alias.
35638 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
35640 (PARMS): Do not use macros from bp-asm.h.
35643 [!BZERO_P] (CHR): Likewise.
35644 (memset): Likewise. Do not use BP_SYM.
35645 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
35647 (PARMS): Do not use macros from bp-asm.h.
35649 (strcmp): Do not use BP_SYM.
35650 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
35652 (PARMS): Do not use macros from bp-asm.h.
35655 [USE_AS_STRTOK_R] (SAVE): Likewise.
35656 (FUNCTION): Likewise. Do not use BP_SYM.
35657 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
35659 (strtok_r): Likewise.
35660 (__GI___strtok_r): Likewise.
35661 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
35662 (PARMS): Do not use macros from bp-asm.h.
35665 (__mpn_lshift): Do not use BP_SYM.
35666 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
35667 (PARMS): Do not use macros from bp-asm.h.
35670 (__memchr): Do not use BP_SYM.
35671 (memchr): Do not use BP_SYM in weak_alias.
35672 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
35673 (PARMS): Do not use macros from bp-asm.h.
35676 (memcmp): Do not use BP_SYM.
35677 (bcmp): Do not use BP_SYM in weak_alias.
35678 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
35679 (PARMS): Do not use macros from bp-asm.h.
35682 (__mpn_mul_1): Do not use BP_SYM.
35683 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
35685 (PARMS): Do not use macros from bp-asm.h.
35688 (__rawmemchr): Do not use BP_SYM.
35689 (rawmemchr): Do not use BP_SYM in weak_alias.
35690 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
35691 (PARMS): Do not use macros from bp-asm.h.
35694 (__mpn_rshift): Do not use BP_SYM.
35695 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
35696 (PARMS): Do not use macros from bp-asm.h.
35697 (SIGMSK): Likewise.
35698 (__sigsetjmp): Likewise. Do not use BP_SYM.
35699 * sysdeps/i386/start.S: Do not include "bp-sym.h".
35700 (_start): Do not use BP_SYM.
35701 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
35702 (PARMS): Do not use macros from bp-asm.h.
35705 (__stpcpy): Likewise. Do not use BP_SYM.
35706 (stpcpy): Do not use BP_SYM in weak_alias.
35707 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
35709 (PARMS): Do not use macros from bp-asm.h.
35713 (__stpncpy): Likewise. Do not use BP_SYM.
35714 (stpncpy): Do not use BP_SYM in weak_alias.
35715 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
35716 (PARMS): Do not use macros from bp-asm.h.
35719 (strchr): Likewise. Do not use BP_SYM.
35720 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
35722 (PARMS): Do not use macros from bp-asm.h.
35725 (__strchrnul): Likewise. Do not use BP_SYM.
35726 (strchrnul): Do not use BP_SYM in weak_alias.
35727 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
35729 (PARMS): Do not use macros from bp-asm.h.
35731 (strcspn): Do not use BP_SYM.
35732 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
35734 (PARMS): Do not use macros from bp-asm.h.
35737 (strpbrk): Likewise. Do not use BP_SYM.
35738 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
35740 (PARMS): Do not use macros from bp-asm.h.
35743 (strrchr): Likewise. Do not use BP_SYM.
35744 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
35745 (PARMS): Do not use macros from bp-asm.h.
35747 (strspn): Do not use BP_SYM.
35748 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
35749 (PARMS): Do not use macros from bp-asm.h.
35753 (FUNCTION): Likewise. Do not use BP_SYM.
35754 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
35756 (strtok_r): Likewise.
35757 (__GI___strtok_r): Likewise.
35758 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
35759 (PARMS): Do not use macros from bp-asm.h.
35763 (__mpn_sub_n): Do not use BP_SYM.
35764 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
35766 (PARMS): Do not use macros from bp-asm.h.
35769 (__mpn_submul_1): Do not use BP_SYM.
35770 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
35772 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
35774 (PARMS): Do not use macros from bp-asm.h.
35779 (__clone): Do not use BP_SYM.
35780 (clone): Do not use BP_SYM in weak_alias.
35781 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
35783 (PARMS): Do not use macros from bp-asm.h.
35785 (__mmap64): Do not use BP_SYM.
35786 (mmap64): Do not use BP_SYM in weak_alias.
35787 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
35788 <bp-sym.h> and <bp-asm.h>.
35789 (PARMS): Do not use macros from bp-asm.h.
35790 (__posix_fadvise64_l64): Do not use BP_SYM.
35791 * sysdeps/unix/sysv/linux/i386/semtimedop.S
35792 (PARMS): Do not use macros from bp-asm.h.
35794 (semtimedop): Do not use BP_SYM.
35795 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
35798 2013-02-21 Allan McRae <allan@archlinux.org>
35800 * manual/message.texi (Charset conversion in gettext):
35801 Move @end statement to beginning of line.
35803 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
35805 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
35807 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
35810 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
35811 (denorm): Likewise.
35812 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
35813 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
35815 2013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
35817 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
35818 tail-call to the resolved function if pltexit isn't needed.
35820 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
35822 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
35823 or Y being zero as being unlikely.
35824 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
35827 2013-02-20 Carlos O'Donell <carlos@redhat.com>
35829 * manual/nss.texi (System Databases and Name Service Switch):
35830 Remove frobnicate @pxref.
35832 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
35834 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
35835 __attribute__ ((unused)) to __attribute__ ((__unused__)).
35837 2013-02-20 Petr Machata <pmachata@redhat.com>
35839 * elf/elf.h (R_ARM_TARGET1): New macro.
35840 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
35841 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
35842 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
35843 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
35844 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
35845 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
35846 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
35847 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
35848 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
35849 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
35850 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
35851 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
35852 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
35853 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
35854 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
35855 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
35856 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
35857 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
35858 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
35859 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
35860 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
35861 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
35862 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
35863 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
35864 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
35865 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
35866 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
35867 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
35868 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
35869 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
35870 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
35871 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
35872 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
35873 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
35874 (R_ARM_THM_GOT_BREL12): Likewise.
35875 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
35876 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
35877 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
35878 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
35879 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
35880 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
35881 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
35882 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
35883 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
35885 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
35887 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
35888 __attribute_used__ to __attribute__ ((unused)).
35890 2013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
35892 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
35894 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
35895 comment formatting.
35896 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
35898 2013-02-19 Joseph Myers <joseph@codesourcery.com>
35901 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
35903 (ENTER): Remove both macro definitions.
35905 (CHECK_BOUNDS_LOW): Likewise.
35906 (CHECK_BOUNDS_HIGH): Likewise.
35907 (CHECK_BOUNDS_BOTH): Likewise.
35908 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
35909 (RETURN_BOUNDED_POINTER): Likewise.
35910 (RETURN_NULL_BOUNDED_POINTER): Likewise.
35911 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
35912 (POP_ERRNO_LOCATION_RETURN): Likewise.
35913 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
35914 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
35915 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
35917 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
35918 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
35919 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
35920 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
35921 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
35922 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
35923 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
35924 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
35925 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
35926 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
35927 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
35928 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
35929 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
35930 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
35932 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
35933 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
35935 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
35936 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
35937 * sysdeps/i386/i586/memset.S (memset): Likewise.
35938 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
35939 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
35940 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
35942 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
35943 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
35944 Change uses of L(2) to L(out).
35945 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
35946 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
35947 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
35948 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
35949 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
35951 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
35952 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
35954 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
35955 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
35956 (RETURN): Do not use macro LEAVE.
35957 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
35958 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
35959 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
35960 * sysdeps/i386/i686/memset.S (memset): Likewise.
35961 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
35962 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
35963 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
35964 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
35966 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
35967 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
35968 L(1_2) and L(1_3) into L(1).
35969 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
35970 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
35971 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
35972 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
35973 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
35974 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
35975 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
35976 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
35977 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
35979 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
35980 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
35981 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
35982 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
35983 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
35984 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
35985 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
35986 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
35987 * sysdeps/i386/strcspn.S (strcspn): Likewise.
35988 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
35989 * sysdeps/i386/strrchr.S (strrchr): Likewise.
35990 * sysdeps/i386/strspn.S (strspn): Likewise.
35991 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
35993 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
35994 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
35995 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
35996 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
35997 L(1_3) into L(1_1).
35998 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
35999 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
36000 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
36002 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
36004 2013-02-19 Jakub Jelinek <jakub@redhat.com>
36006 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
36009 2013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
36011 * math/atest-exp.c (exp_mpn): Remove ROUND.
36012 * math/atest-exp2.c (exp_mpn): Likewise.
36013 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
36015 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
36016 * stdlib/tst-tls-atexit-lib.c: Likewise.
36017 * stdlib/tst-tls-atexit.c: Likewise.
36019 2013-02-18 Mike Frysinger <vapier@gentoo.org>
36021 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
36022 and __attribute_alloc_size__.
36024 2013-02-18 Mike Frysinger <vapier@gentoo.org>
36026 * include/programs/xmalloc.h: Change __attribute_alloc_size to
36027 __attribute_alloc_size__.
36028 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
36029 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
36031 2013-02-18 Mike Frysinger <vapier@gentoo.org>
36033 * include/programs/xmalloc.h: New file.
36034 * catgets/gencat.c: Include it.
36035 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
36036 * elf/pldd.c: Likewise.
36037 * iconv/iconv_charmap.c: Likewise.
36038 * iconv/iconvconfig.c: Likewise.
36039 * iconv/strtab.c: Likewise.
36040 * locale/programs/locale.c: Likewise.
36041 * locale/programs/localedef.h: Likewise.
36042 * locale/programs/simple-hash.c: Likewise.
36043 * nscd/nscd.h: Likewise.
36044 * nss/makedb.c: Likewise.
36045 * sysdeps/generic/ldconfig.h: Likewise.
36047 2013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
36049 * Versions.def: Add GLIBC_2.18.
36050 * include/link.h (struct link_map): New member l_tls_dtor_count.
36051 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
36052 (__call_tls_dtors): Likewise.
36053 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
36054 __cxa_thread_atexit_impl.
36055 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
36057 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
36059 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
36061 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
36063 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
36064 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
36066 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
36068 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
36069 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
36071 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
36072 (tests): Add test case tst-tls-atexit.
36073 (modules-names): Add shared library for tst-tls-atexit.
36074 * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
36075 (GLIBC_PRIVATE): Add __call_tls_dtors.
36076 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
36078 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
36079 * stdlib/tst-tls-atexit.c: New test case.
36080 * stdlib/tst-tls-atexit-lib.c: New test case.
36082 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
36084 * elf/Versions (ld): Add _dl_find_dso_for_object.
36085 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
36086 * elf/dl-open.c (_dl_find_dso_for_object): New function.
36087 (dl_open_worker): Use _dl_find_dso_for_object.
36088 * elf/dl-sym.c (do_sym): Likewise.
36089 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
36091 2013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
36093 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
36094 Syntactic changes only.
36095 (_dl_runtime_profile): Do a tail-call to the resolved function.
36097 2013-02-17 Joseph Myers <joseph@codesourcery.com>
36100 * sysdeps/x86_64/bp-asm.h: Remove file.
36101 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
36102 <bp-sym.h> and <bp-asm.h>.
36103 (__clone): Do not use BP_SYM.
36104 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
36105 <bp-sym.h> and <bp-asm.h>.
36106 * sysdeps/unix/x86_64/sysdep.S: Likewise.
36107 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
36109 (_setjmp): Do not use BP_SYM.
36110 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
36112 (setjmp): Do not use BP_SYM.
36113 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
36115 (mempcpy): Do not use BP_SYM in weak_alias.
36116 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
36118 (strchr): Do not use BP_SYM.
36119 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
36121 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
36122 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
36123 (_start): Do not use BP_SYM.
36124 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
36126 (strcat): Do not use BP_SYM.
36127 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
36129 (STRCMP): Do not use BP_SYM.
36130 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
36132 (STRCPY): Do not use BP_SYM.
36133 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
36135 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
36137 (FUNCTION): Do not use BP_SYM.
36138 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
36140 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
36142 2013-02-17 Andreas Jaeger <aj@suse.de>
36144 * time/Versions: Sort entries.
36145 * string/Versions: Likewise.
36146 * resolv/Versions: Likewise.
36147 * posix/Versions: Likewise.
36148 * iconv/Versions: Likewise.
36149 * elf/Versions: Likewise.
36150 * wcsmbs/Versions: Likewise.
36152 2013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
36154 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
36155 loop termination condition.
36157 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
36158 variable to calculate EZ.
36161 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
36162 the lower precision input.
36164 2013-02-15 Joseph Myers <joseph@codesourcery.com>
36167 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
36168 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
36169 (run-via-rtld-prefix): Do not handle %-bp tests.
36170 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
36171 (all-object-suffixes): Remove .ob.
36172 (bppfx): Remove variable.
36173 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
36174 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
36175 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
36176 [$(build-bounded) = yes] (libtype.ob): Likewise.
36177 * Makerules (elide-routines.ob): Remove variable.
36178 (do-tests-clean): Do not handle *-bp.out.
36179 (common-mostlyclean): Do not handle *-bp and *-bp.out.
36180 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
36181 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
36182 (tests): Do not include $(tests-bp.out).
36183 (xtests): Do not include $(xtests-bp.out).
36184 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
36185 [$(build-bounded) = yes] ($(addprefix
36186 $(objpfx),$(binaries-bounded))): Remove rule.
36187 ($(objpfx)%-bp.out): Remove rule.
36188 * config.make.in (build-bounded): Remove variable.
36189 * crypt/Makefile [$(build-bounded) = yes]
36190 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
36191 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
36192 append to variable.
36193 [$(build-bounded) = yes] (install-lib): Likewise.
36194 [$(build-bounded) = yes] (generated): Likewise.
36195 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
36197 * intl/Makefile [$(build-bounded) = yes]
36198 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
36199 * math/Makefile [$(build-bounded) = yes]
36200 ($(tests:%=$(objpfx)%-bp): Likewise.
36201 * misc/Makefile [$(build-bounded) = yes]
36202 ($(objpfx)tst-tsearch-bp): Likewise.
36203 * nptl/Makeconfig (bounded-thread-library): Remove variable.
36204 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
36206 * string/Makefile (o-objects.ob): Remove variable.
36207 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
36208 (CFLAGS-.ob): Remove variable.
36209 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
36210 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
36211 both definitions of variable.
36212 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
36213 (ASFLAGS-.ob): Remove variable.
36215 2013-02-14 Joseph Myers <joseph@codesourcery.com>
36218 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
36219 Remove __BOUNDED_POINTERS__ from condition.
36220 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
36221 * string/bits/string2.h [!__NO_STRING_INLINES &&
36222 !__BOUNDED_POINTERS__]: Likewise.
36223 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
36225 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
36226 Remove conditional code.
36227 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
36228 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
36229 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
36233 * csu/libc-start.c: Do not include <bp-sym.h>.
36234 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
36235 * elf/dl-open.c: Do not include <bp-sym.h>.
36236 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
36237 * math/fegetenv.c: Do not include <bp-sym.h>.
36238 (fegetenv): Do not use BP_SYM in versioned symbols.
36239 * nptl/sysdeps/pthread/bits/libc-lockP.h
36240 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
36242 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
36243 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
36244 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
36245 (__pthread_mutex_destroy): Likewise.
36246 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
36247 (__pthread_mutex_lock): Likewise.
36248 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
36249 (__pthread_mutex_trylock): Likewise.
36250 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
36251 (__pthread_mutex_unlock): Likewise.
36252 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
36253 (__pthread_mutexattr_init): Likewise.
36254 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
36255 (__pthread_mutexattr_destroy): Likewise.
36256 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
36257 (__pthread_mutexattr_settype): Likewise.
36258 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
36259 (__pthread_rwlock_init): Likewise.
36260 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
36261 (__pthread_rwlock_destroy): Likewise.
36262 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
36263 (__pthread_rwlock_rdlock): Likewise.
36264 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
36265 (__pthread_rwlock_tryrdlock): Likewise.
36266 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
36267 (__pthread_rwlock_wrlock): Likewise.
36268 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
36269 (__pthread_rwlock_trywrlock): Likewise.
36270 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
36271 (__pthread_rwlock_unlock): Likewise.
36272 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
36273 (__pthread_key_create): Likewise.
36274 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
36275 (__pthread_setspecific): Likewise.
36276 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
36277 (__pthread_getspecific): Likewise.
36278 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
36280 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
36281 (_pthread_cleanup_push_defer): Likewise.
36282 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
36283 (_pthread_cleanup_pop_restore): Likewise.
36284 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
36285 (pthread_setcancelstate): Likewise.
36286 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
36288 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
36289 (memchr): Do not use BP_SYM in weak_alias.
36290 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
36291 (fegetenv): Do not use BP_SYM in versioned symbols.
36292 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
36293 (fesetenv): Do not use BP_SYM in versioned symbols.
36294 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
36295 (feupdateenv): Do not use BP_SYM in versioned symbols.
36296 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
36297 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
36298 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
36299 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
36300 (open64): Do not use BP_SYM in weak_alias.
36301 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
36302 (fegetenv): Do not use BP_SYM in versioned symbols.
36303 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
36304 (fesetenv): Do not use BP_SYM in versioned symbols.
36305 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
36306 (feupdateenv): Do not use BP_SYM in versioned symbols.
36307 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
36308 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
36309 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
36310 (feraiseexcept): Do not use BP_SYM in versioned symbols.
36311 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
36312 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
36313 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
36315 (__libc_start_main): Do not use BP_SYM.
36317 2013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
36319 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
36320 redundant return line.
36322 (denorm): Likewise.
36323 (dbl_mp): Likewise.
36324 (sub_magnitudes): Likewise.
36330 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
36332 (denorm): Likewise.
36333 (dbl_mp): Likewise.
36334 (sub_magnitudes): Likewise.
36341 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
36343 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
36344 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
36347 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
36348 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
36349 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
36350 of __mul for squares.
36351 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
36353 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
36355 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
36356 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
36358 2013-02-13 Joseph Myers <joseph@codesourcery.com>
36361 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
36363 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
36364 prototype or function definition. Rename ubp_* variables and
36365 parameters. Remove argv definitions conditional on
36366 [__BOUNDED_POINTERS__].
36367 * debug/backtrace.c (__backtrace): Do not use __unbounded.
36368 * elf/dl-runtime.c (_dl_fixup): Likewise.
36369 * include/set-hooks.h (RUN_HOOK): Likewise.
36370 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
36372 * string/strcpy.c (strcpy): Do not use __unbounded.
36373 * sysdeps/generic/frame.h (struct layout): Likewise.
36374 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
36375 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
36376 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
36377 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
36378 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
36379 (__backtrace): Likewise.
36380 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
36382 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
36383 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
36384 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
36386 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
36387 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
36388 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
36389 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
36390 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
36391 Do not use __unbounded.
36392 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
36393 Rename __unboundedrlimits parameter to rlimits in prototype.
36394 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
36395 Do not use __unbounded.
36396 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
36397 not use __ptrvalue.
36398 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
36399 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
36400 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
36401 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
36402 __ptrvalue or __unbounded.
36403 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
36404 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
36406 (__new_msgctl): Do not use __ptrvalue.
36407 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
36409 (__libc_msgrcv): Do not use __ptrvalue.
36410 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
36411 startup_info): Do not use __unbounded.
36412 (__libc_start_main): Likewise. Rename ubp_* variables and
36413 parameters. Remove argv definitions conditional on
36414 [__BOUNDED_POINTERS__].
36415 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
36417 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
36419 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
36421 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
36423 (__new_shmctl): Do not use __ptrvalue.
36424 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
36425 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
36427 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
36428 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
36429 (__libc_sigaction): Likewise.
36430 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
36431 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
36433 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
36435 2013-02-13 Ondřej Bílka <neleai@seznam.cz>
36437 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
36439 * string/mempcpy.c: Implement by calling memcpy.
36441 2013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
36443 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
36445 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
36448 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
36449 values in the mantissa.
36451 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
36452 minimize writes to Z.
36453 (sub_magnitudes): Simplify code a bit.
36455 2013-02-12 Roland McGrath <roland@hack.frob.com>
36457 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
36458 from the message. The linker prefixes all warnings with that already.
36460 2013-02-12 Andreas Schwab <schwab@suse.de>
36463 * posix/regexec.c (extend_buffers): Add parameter min_len.
36464 (check_matching): Pass minimum needed length.
36465 (clean_state_log_if_needed): Likewise.
36466 (get_subexp): Likewise.
36467 * posix/Makefile (tests): Add bug-regex34.
36468 (bug-regex34-ENV): Define.
36469 * posix/bug-regex34.c: New file.
36472 * posix/regcomp.c (parse_bracket_exp): When looking up collating
36473 elements compare against the byte sequence of it, not its name.
36474 * posix/Makefile (tests): Add bug-regex35.
36475 (bug-regex35-ENV): Define.
36476 * posix/bug-regex35.c: New file.
36478 2013-02-11 Tom de Vries <tom@codesourcery.com>
36480 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
36482 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
36483 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
36484 (CHECK_EOL): Add undef.
36486 2013-02-11 Ondřej Bílka <neleai@seznam.cz>
36488 * bits/stdlib-bsearch.h: New file.
36489 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
36490 * stdlib/stdlib.h: Likewise.
36492 2013-02-11 Roland McGrath <roland@hack.frob.com>
36494 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
36495 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
36497 * manual/search.texi (Array Search Function): Add missing const in
36499 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
36500 declaration to use rlim_t.
36501 (Basic Scheduling Functions): Remove erroneous const from
36502 sched_getparam prototype. Remove erroneous * from
36503 sched_get_priority_max and sched_get_priority_min prototypes.
36504 (Resource Usage): Fix summary @comment on vtimes to refer to
36505 sys/vtimes.h rather than vtimes.h.
36506 Add missing *s in vtimes prototype.
36507 (Limits on Resources): Fix ulimit prototype to return long int.
36508 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
36509 prototypes to use long int rather than double.
36510 (BSD Random): Fix initstate and setstate to use char *, not void *.
36511 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
36512 prototype to make second argument 'struct aiocb64 *const[]'.
36513 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
36514 (Status of AIO Operations): Remove erroneous const in aio_return and
36515 aio_return64 prototypes.
36516 (Synchronizing I/O): Fix sync prototype to return void.
36517 * manual/startup.texi (Suboptions): Remove an erroneous const in
36518 getsubopt prototype.
36519 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
36520 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
36521 use size_t rather than int.
36522 (Scanning All Users): Likewise for getpwent_r.
36523 (Setting Groups): Add missing const to setgroups prototype.
36524 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
36525 * manual/socket.texi (Host Names): Fix gethostbyaddr and
36526 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
36527 'const void *' rather than 'const char *'.
36528 (Host Address Functions): Likewise for inet_ntop.
36529 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
36530 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
36531 ssize_t for return value.
36532 (Sending Data): Likewise for send, sendto, sendmsg.
36533 (Socket Option Functions): Add a missing const in setsockopt prototype.
36534 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
36535 use wchar_t for the argument.
36536 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
36537 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
36539 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
36540 double/float/long double for second argument.
36541 Fix return types of significand, significandf, significandl.
36542 * manual/filesys.texi (Setting Permissions): Use mode_t for second
36543 argument in fchmod prototype.
36544 (File Owner): Use uid_t and gid_t in fchown prototype.
36545 (File Times): Add const to utimes, futimes, and lutimes prototypes.
36546 (Making Special Files): Use mode_t and dev_t in mknod prototype.
36547 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
36548 use 'const struct dirent **' as argument types to CMP function pointer
36550 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
36551 (File Times): Fix summary magic @comment for struct utimbuf and utime
36552 to refer to utime.h, not time.h.
36553 * manual/string.texi (Argz Functions): Add missing const in
36554 argz_extract and argz_next prototypes.
36555 (Finding Tokens in a String): Likewise for basename.
36556 (String/Array Comparison): Fix typo in wcscasecmp prototype.
36557 (Copying and Concatenation): Fix typo in wmemmove prototype.
36558 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
36559 (Signal Stack): Remove erroneous const in sigstack prototype.
36560 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
36562 (Simple Calendar Time): Likewise for stime.
36563 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
36565 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
36566 say sys/sysctl.h instead.
36567 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
36568 and vsyslog prototypes.
36570 2013-02-11 Tom de Vries <tom@codesourcery.com>
36572 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
36575 2013-02-11 Roland McGrath <roland@hack.frob.com>
36577 * misc/sys/mman.h: Fix typo in mremap comment.
36579 2013-02-08 Roland McGrath <roland@hack.frob.com>
36581 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
36582 the '\0' terminator.
36584 2013-02-08 Joseph Myers <joseph@codesourcery.com>
36587 * debug/segfault.c: Don't include <bp-checks.h>.
36588 * sysdeps/generic/bp-checks.h: Remove file.
36589 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
36590 (__GETDENTS): Don't use CHECK_N.
36591 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
36592 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
36593 (__getgroups): Don't use CHECK_N.
36594 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
36595 (setgroups): Don't use CHECK_N.
36596 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
36597 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
36598 (__libc_msgrcv): Don't use CHECK_N.
36599 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
36600 (__libc_msgsnd): Don't use CHECK_N.
36601 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
36603 (__libc_pread): Don't use CHECK_N.
36604 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
36605 include <bp-checks.h>.
36606 (__libc_pread64): Don't use CHECK_N.
36607 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
36608 include <bp-checks.h>.
36609 (__libc_pwrite): Don't use CHECK_N.
36610 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
36611 include <bp-checks.h>.
36612 (__libc_pwrite64): Don't use CHECK_N.
36613 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
36615 (__libc_pread): Don't use CHECK_N.
36616 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
36617 include <bp-checks.h>.
36618 (__libc_pread64): Don't use CHECK_N.
36619 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
36620 include <bp-checks.h>.
36621 (__libc_pwrite): Don't use CHECK_N.
36622 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
36623 include <bp-checks.h>.
36624 (__libc_pwrite64): Don't use CHECK_N.
36625 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
36626 (do_pread): Don't use CHECK_N.
36627 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
36628 (do_pread64): Don't use CHECK_N.
36629 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
36630 (do_pwrite): Don't use CHECK_N.
36631 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
36632 (do_pwrite64): Don't use CHECK_N.
36633 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
36634 (__libc_readv): Don't use CHECK_N.
36635 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
36636 (semop): Don't use CHECK_N.
36637 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
36639 (semtimedop): Don't use CHECK_N.
36640 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
36641 (__libc_pread): Don't use CHECK_N.
36642 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
36644 (__libc_pread64): Don't use CHECK_N.
36645 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
36647 (__libc_pwrite): Don't use CHECK_N.
36648 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
36650 (__libc_pwrite64): Don't use CHECK_N.
36651 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
36653 (__libc_msgrcv): Don't use CHECK_N.
36654 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
36655 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
36656 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
36657 (__libc_writev): Don't use CHECK_N.
36659 2013-02-08 Roland McGrath <roland@hack.frob.com>
36661 * string/strcpy.c: Removed unused variable.
36663 * Makeconfig (+sysdep-includes): Define with := rather than =.
36664 Use an existing include/ subdir of each sysdeps dir before it.
36666 2013-02-08 Carlos O'Donell <carlos@redhat.com>
36668 * nscd/connection.c (register_traced_file): Comment function.
36669 [HAVE_INOTIFY] (union __inev): Define.
36670 [HAVE_INOTIFY] (inotify_check_files): New function.
36671 [HAVE_INOTIFY] (clear_db_cache): Likewise.
36672 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
36674 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
36676 2013-02-08 Carlos O'Donell <carlos@redhat.com>
36678 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
36679 loaded if not already and that a failure is permanent.
36681 2013-02-08 Carlos O'Donell <carlos@redhat.com>
36684 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
36685 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
36687 2013-02-08 Joseph Myers <joseph@codesourcery.com>
36690 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
36691 (CHECK_1_NULL_OK): Likewise.
36692 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
36693 (__fxstat): Do not use CHECK_1.
36694 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
36696 (___fxstat64): Do not use CHECK_1.
36697 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
36699 (__fxstatat): Do not use CHECK_1.
36700 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
36702 (__fxstatat64): Do not use CHECK_1.
36703 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
36705 (__fxstat): Do not use CHECK_1.
36706 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
36708 (__fxstatat): Do not use CHECK_1.
36709 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
36711 (__getresgid): Do not use CHECK_1.
36712 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
36714 (__getresuid): Do not use CHECK_1.
36715 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
36717 (__lxstat): Do not use CHECK_1.
36718 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
36720 (__old_msgctl): Do not use CHECK_1.
36721 (__new_msgctl): Likewise.
36722 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
36724 (__new_setrlimit): Do not use CHECK_1.
36725 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
36727 (__old_shmctl): Do not use CHECK_1.
36728 (__new_shmctl): Likewise.
36729 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
36731 (__xstat): Do not use CHECK_1.
36732 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
36733 (__lxstat): Do not use CHECK_1.
36734 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
36736 (___lxstat64): Do not use CHECK_1.
36737 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
36738 (__old_msgctl): Do not use CHECK_1.
36739 (__new_msgctl): Likewise.
36740 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
36742 (__gettimeofday): Do not use CHECK_1.
36743 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
36744 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
36745 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
36747 (__gettimeofday): Do not use CHECK_1.
36748 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
36749 (__old_shmctl): Do not use CHECK_1_NULL_OK.
36750 (__new_shmctl): Do not use CHECK_1.
36751 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
36753 (do_sigtimedwait): Do not use CHECK_1.
36754 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
36756 (do_sigwaitinfo): Do not use CHECK_1.
36757 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
36759 (msgctl): Do not use CHECK_1.
36760 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
36762 (shmctl): Do not use CHECK_1.
36763 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
36764 (ustat): Do not use CHECK_1.
36765 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
36767 (__fxstat): Do not use CHECK_1.
36768 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
36770 (__fxstatat): Do not use CHECK_1.
36771 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
36773 (__lxstat): Do not use CHECK_1.
36774 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
36776 (__xstat): Do not use CHECK_1.
36777 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
36778 (__xstat): Do not use CHECK_1.
36779 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
36780 (___xstat64): Do not use CHECK_1.
36783 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
36785 (CHECK_BOUNDS_HIGH): Likewise.
36786 * string/strcpy.c: Do not include <bp-checks.h>.
36787 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
36789 2013-02-07 Roland McGrath <roland@hack.frob.com>
36791 * nscd/nscd-client.h (__nscd_drop_map_ref):
36792 Add __attribute__ ((unused)).
36793 * nis/nss-nisplus.h (niserr2nss): Likewise.
36795 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
36796 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
36798 * csu/libc-tls.c (init_static_tls, init_slotinfo):
36799 Remove inline keyword.
36800 * include/rounding-mode.h (round_away): Likewise.
36801 * libio/wfileops.c (adjust_wide_data): Likewise.
36802 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
36803 (__m128i_strloadu_tolower): Likewise.
36804 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
36805 (__m128i_strloadu_tolower): Likewise.
36806 * time/mktime.c (ydhms_diff): Likewise.
36807 * locale/elem-hash.h (elem_hash): Likewise.
36808 * locale/setlocale.c (setdata): Likewise.
36809 * posix/regex_internal.h (re_string_char_size_at): Likewise.
36810 (re_string_wchar_at): Likewise.
36811 (bitset_not, bitset_merge, bitset_mask): Likewise.
36812 [!(__GNUC__ > 3)] (inline): Remove macro.
36813 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
36814 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
36815 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
36816 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
36817 * string/memcmp.c (memcmp_bytes): Likewise.
36818 * locale/programs/locarchive.c (compute_hashval): Likewise.
36819 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
36820 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
36821 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
36822 * nss/getent.c (print_rpc, print_protocols): Likewise.
36823 (print_passwd, print_group, print_aliases): Likewise.
36824 * nis/nss-nisplus.h (niserr2nss): Likewise.
36825 * nscd/connections.c (restart_p): Likewise.
36826 Change return type to bool.
36828 2013-02-05 Roland McGrath <roland@hack.frob.com>
36830 * Makeconfig (all-Depend-files): Add existing
36831 $(sorted-subdirs:=/Depend) files.
36832 (all-subdirs): Remove nss.
36833 * sysdeps/unix/inet/Subdirs: Add it here instead.
36834 * hesiod/Depend: New file.
36836 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
36837 instead of calling alloca.
36839 * io/lseek.c (__lseek): Rename to __libc_lseek.
36840 Define __lseek as an alias.
36842 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
36844 2013-02-04 Carlos O'Donell <carlos@redhat.com>
36846 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
36847 else clause and remove check for non-standard endianness.
36849 2013-02-04 David S. Miller <davem@davemloft.net>
36851 * sysdeps/sparc/fpu/libm-test-ulps: Update.
36853 2013-02-04 Joseph Myers <joseph@codesourcery.com>
36856 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
36857 (__ubp_memchr): Remove prototype.
36858 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
36859 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
36860 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
36861 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
36862 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
36864 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
36865 (__ubp_memchr): Likewise.
36866 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
36867 (__ubp_memchr): Likewise.
36868 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
36869 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
36870 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
36871 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
36873 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
36874 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
36875 (__getcwd): Do not use CHECK_STRING.
36876 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
36878 (__real_chown): Do not use CHECK_STRING.
36879 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
36881 (fchownat): Do not use CHECK_STRING.
36882 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
36884 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
36886 (__lchown): Do not use CHECK_STRING.
36887 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
36888 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
36889 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
36890 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
36891 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
36892 include <bp-checks.h>.
36893 (truncate64): Do not use CHECK_STRING.
36894 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
36896 (__real_chown): Do not use CHECK_STRING.
36897 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
36899 (__lchown): Do not use CHECK_STRING.
36900 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
36902 (__chown): Do not use CHECK_STRING.
36903 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
36905 (truncate64): Do not use CHECK_STRING.
36906 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
36908 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
36909 (__xmknod): Do not use CHECK_STRING.
36910 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
36912 (__xmknodat): Do not use CHECK_STRING.
36913 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
36914 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
36916 2013-02-04 Andreas Schwab <schwab@suse.de>
36919 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
36920 * include/netdb.h: Likewise for h_errno.
36921 * elf/tst-stackguard1.c: Include <tls.h>.
36923 2013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
36925 * elf/link.h (struct link_map): Extend the l_addr comment.
36926 * include/link.h (struct link_map): Likewise.
36928 2013-02-01 Joseph Myers <joseph@codesourcery.com>
36931 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
36932 (BOUNDED_1): Remove macro.
36933 * debug/backtrace.c: Don't include <bp-checks.h>.
36934 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
36935 (__backtrace): Likewise.
36936 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
36938 (__backtrace): Don't use BOUNDED_1.
36939 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
36941 (__backtrace): Don't use BOUNDED_1.
36942 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
36943 (__backtrace): Don't use BOUNDED_1.
36944 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
36945 (shmat): Don't use BOUNDED_N.
36947 2013-01-31 Joseph Myers <joseph@codesourcery.com>
36950 * sysdeps/generic/bp-start.h: Remove file.
36951 * csu/libc-start.c: Don't include <bp-start.h>.
36952 (LIBC_START_MAIN): Set up __environ directly instead of using
36953 INIT_ARGV_and_ENVIRON.
36954 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
36958 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
36960 (CHECK_FCNTL): Likewise.
36961 (CHECK_N_PAGES): Likewise.
36964 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
36966 (CHECK_SIGSET_NULL_OK): Likewise.
36967 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
36969 (sigpending): Don't use CHECK_SIGSET.
36970 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
36972 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
36973 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
36975 (do_sigsuspend): Don't use CHECK_SIGSET.
36976 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
36978 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
36979 (do_sigwait): Don't use CHECK_SIGSET.
36980 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
36982 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
36983 include <bp-checks.h>.
36984 (sigpending): Don't use CHECK_SIGSET.
36985 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
36986 include <bp-checks.h>.
36987 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
36988 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
36990 (sigpending): Don't use CHECK_SIGSET.
36991 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
36993 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
36996 * sysdeps/generic/bp-semctl.h: Remove file.
36997 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
36998 <bp-checks.h> and <bp-semctl.h>.
36999 (__old_semctl): Don't use CHECK_SEMCTL.
37000 (__new_semctl): Likewise.
37001 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
37003 (__old_semctl): Don't use CHECK_SEMCTL.
37004 (__new_semctl): Likewise.
37005 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
37006 <bp-checks.h> and <bp-semctl.h>.
37007 (__old_semctl): Don't use CHECK_SEMCTL.
37008 (__new_semctl): Likewise.
37009 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
37010 <bp-checks.h> and <bp-semctl.h>.
37011 (semctl): Don't use CHECK_SEMCTL.
37014 * Makerules (elide-bp-thunks): Remove variable.
37015 (elide-routines.oS): Don't use $(elide-bp-thunks).
37016 (elide-routines.os): Likewise.
37017 (elide-routines.o): Likewise.
37018 (elide-routines.op): Likewise.
37019 (elide-routines.og): Likewise.
37020 (objects): Don't use $(bp-thunks).
37021 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
37023 (common-generated): Do not add s-proto-bp.d.
37024 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
37027 Do not generate makefile rules for bounded-pointer thunks.
37028 * sysdeps/generic/bp-thunks.h: Remove file.
37029 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
37030 * sysdeps/unix/s-proto-bp.S: Likewise.
37033 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
37034 parts of result separately when argument is not close to line from
37035 -i to i and one part of argument is small.
37036 * math/k_casinhf.c (__kernel_casinhf): Likewise.
37037 * math/k_casinhl.c (__kernel_casinhl): Likewise.
37038 * math/libm-test.inc (cacos_test): Add more tests.
37039 (casin_test): Likewise.
37040 (casinh_test): Likewise.
37041 * sysdeps/i386/fpu/libm-test-ulps: Update.
37042 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37044 2013-01-31 David S. Miller <davem@davemloft.net>
37046 * po/de.po: Update from translation team.
37048 2013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
37050 * time/tzfile.c: Include stdint.h for SIZE_MAX.
37052 2013-01-25 Thomas Schwinge <thomas@codesourcery.com>
37054 * configure.in (_AC_PROG_CC_C89): New definition.
37055 * configure: Regenerate.
37057 * configure.in (AC_PROG_CPP): New definition.
37058 * configure: Regenerate.
37060 2013-01-23 Joseph Myers <joseph@codesourcery.com>
37062 * debug/tst-backtrace.h: New file.
37063 * debug/tst-backtrace2.c: Include tst-backtrace.h.
37064 (ret): Remove variable.
37066 (FAIL): Remove macro.
37067 (NO_INLINE): Likewise.
37068 (fn1): Use match function instead of strstr.
37069 * debug/tst-backtrace3.c: Include tst-backtrace.h.
37070 (ret): Remove variable.
37072 (FAIL): Remove macro.
37073 (NO_INLINE): Likewise.
37074 (fn): Use match function instead of strstr.
37075 * debug/tst-backtrace4.c: Include tst-backtrace.h.
37076 (ret): Remove variable.
37078 (FAIL): Remove macro.
37079 (NO_INLINE): Likewise.
37080 (handle_signal): Use match function instead of strstr.
37081 * debug/tst-backtrace5.c: Include tst-backtrace.h.
37082 (ret): Remove variable.
37084 (FAIL): Remove macro.
37085 (NO_INLINE): Likewise.
37086 (handle_signal): Use match function instead of strstr.
37088 2013-01-23 Roland McGrath <roland@hack.frob.com>
37090 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
37092 2013-01-23 David S. Miller <davem@davemloft.net>
37094 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
37095 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
37096 argument of CAS if possible.
37097 * sysdeps/sparc/sparc64/bits/atomic.h
37098 (__arch_compare_and_exchange_val_32_acq): Likewise.
37099 (__arch_compare_and_exchange_val_64_acq): Likewise.
37101 2013-01-23 Pino Toscano <toscano.pino@tiscali.it>
37103 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
37104 * sysdeps/posix/ulimit.c: ... this.
37105 Include <limits.h>.
37106 * sysdeps/unix/bsd/ulimit.c: Remove file.
37108 2013-01-23 Adam Conrad <adconrad@0c3.net>
37110 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
37111 (LDFLAGS-tst-array5): Likewise.
37113 2013-01-23 Joseph Myers <joseph@codesourcery.com>
37116 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
37117 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
37118 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
37119 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
37121 2013-01-21 David S. Miller <davem@davemloft.net>
37123 * sysdeps/sparc/backtrace.c: New file.
37124 * sysdeps/sparc/sparc32/backtrace.h: New file.
37125 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
37126 * sysdeps/sparc/sparc64/backtrace.h: New file.
37127 * sysdeps/sparc/sparc64/backtrace.c: Delete.
37128 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
37131 2013-01-21 Andreas Schwab <schwab@suse.de>
37134 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
37137 2013-01-20 Andreas Schwab <schwab@linux-m68k.org>
37139 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
37141 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
37143 2013-01-18 Joseph Myers <joseph@codesourcery.com>
37144 Mark Mitchell <mark@codesourcery.com>
37145 Tom de Vries <tom@codesourcery.com>
37146 Paul Pluzhnikov <ppluzhnikov@google.com>
37148 * debug/tst-backtrace2.c: New file.
37149 * debug/tst-backtrace3.c: Likewise.
37150 * debug/tst-backtrace4.c: Likewise.
37151 * debug/tst-backtrace5.c: Likewise.
37152 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
37153 (CFLAGS-tst-backtrace3.c): Likewise.
37154 (CFLAGS-tst-backtrace4.c): Likewise.
37155 (CFLAGS-tst-backtrace5.c): Likewise.
37156 (LDFLAGS-tst-backtrace2): Likewise.
37157 (LDFLAGS-tst-backtrace3): Likewise.
37158 (LDFLAGS-tst-backtrace4): Likewise.
37159 (LDFLAGS-tst-backtrace5): Likewise.
37160 (tests): Add new tests tst-backtrace2, tst-backtrace3,
37161 tst-backtrace4 and tst-backtrace5.
37163 2013-01-18 Anton Blanchard <anton@samba.org>
37164 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
37166 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
37167 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
37168 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
37169 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
37170 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
37171 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
37172 "+r" and remove output regs list as redundant. Add explicit inline
37173 asm to specify register of return val to work around compiler codegen
37174 bug. Remove (int) cast on return value. Add return type parameter to
37175 use in macro so that this macro does not truncate return value for
37177 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
37178 pass to INTERNAL_VSYSCALL_NCS.
37179 (INLINE_VSYSCALL): Add 'long int' as return type to
37180 INTERNAL_VSYSCALL_NCS macro invocation.
37181 (INTERNAL_VSYSCALL): Add 'long int' as return type to
37182 INTERNAL_VSYSCALL_NCS macro invocation.
37183 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
37185 2013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
37188 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
37189 Fix application of SIMD FP exception mask.
37191 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
37192 mp_no from a power of two.
37193 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
37194 __mpexp_twomm1. Use __pow_mp.
37196 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
37199 2013-01-17 David S. Miller <davem@davemloft.net>
37201 * sysdeps/sparc/fpu/libm-test-ulps: Update.
37203 2013-01-17 Joseph Myers <joseph@codesourcery.com>
37206 * include/complex.h: Condition contents on [!_COMPLEX_H].
37207 (__kernel_casinhf): New prototype.
37208 (__kernel_casinh): Likewise.
37209 (__kernel_casinhl): Likewise.
37210 * math/Makefile (libm_calls): Add k_casinh.
37211 * math/k_casinh.c: New file.
37212 * math/k_casinhf.c: Likewise.
37213 * math/k_casinhl.c: Likewise.
37214 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
37215 finite nonzero arguments.
37216 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
37217 finite nonzero arguments.
37218 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
37219 finite nonzero arguments.
37220 * math/s_casinh.c: Do not include <float.h>.
37221 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
37222 * math/s_casinhf.c: Do not include <float.h>.
37223 (__casinhf): Move code for finite nonzero arguments to
37225 * math/s_casinhl.c: Do not include <float.h>.
37226 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
37228 (__casinhl): Move code for finite nonzero arguments to
37230 * math/libm-test.inc (cacos_test): Add more tests.
37231 * sysdeps/i386/fpu/libm-test-ulps: Update.
37232 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37234 2013-01-17 Pino Toscano <toscano.pino@tiscali.it>
37236 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
37237 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
37238 [!HAVE_MREMAP]: Remove [defined linux] case.
37239 * malloc/arena.c: Do not include <malloc-sysdep.h>.
37241 2013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
37243 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
37245 2013-01-17 H.J. Lu <hongjiu.lu@intel.com>
37247 * elf/elf.h (R_386_SIZE32): New relocation.
37248 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
37250 (elf_machine_rela): Likewise.
37251 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
37252 R_X86_64_SIZE64 and R_X86_64_SIZE32.
37254 2013-01-17 Joseph Myers <joseph@codesourcery.com>
37256 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
37257 (FP_FAST_FMA): Do not define.
37258 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
37259 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
37260 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
37261 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
37262 !_SOFT_FLOAT]: Likewise.
37263 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
37264 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
37266 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
37267 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
37268 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
37269 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
37270 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
37271 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
37274 2013-01-16 Andreas Schwab <schwab@suse.de>
37277 * include/stdlib.h (__mktemp): Add declaration.
37278 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
37279 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
37281 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
37283 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
37285 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
37286 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
37287 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
37289 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
37290 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
37292 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
37294 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
37295 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
37296 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
37298 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
37299 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
37301 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
37303 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
37305 2013-01-15 David S. Miller <davem@davemloft.net>
37307 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
37308 trunc{,f} to libm-sysdep_routes.
37309 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
37310 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
37312 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
37313 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
37315 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
37317 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
37318 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
37319 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
37320 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
37321 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
37322 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
37323 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
37324 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
37326 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
37327 nearbyint{,f} to libm-sysdep_routes.
37328 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
37329 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
37331 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
37333 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
37335 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
37337 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
37338 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
37339 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
37341 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
37342 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
37344 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
37345 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
37346 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
37348 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
37349 libc_feholdexcept and libc_fesetenv.
37351 2013-01-15 Mike Frysinger <vapier@gentoo.org>
37353 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
37355 2013-01-14 David S. Miller <davem@davemloft.net>
37357 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
37358 (SPARC_ASM_VIS2_IFUNC): Likewise.
37359 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
37360 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
37361 use of 'siam' instruction.
37362 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
37364 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
37366 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
37368 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
37369 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
37370 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
37371 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
37372 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
37374 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
37376 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
37378 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
37380 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
37381 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
37382 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
37383 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
37384 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
37386 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
37387 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
37388 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
37390 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
37391 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
37392 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
37393 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
37394 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
37395 routines to libm-sysdep_routines.
37396 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
37398 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
37399 fdim/fdimf to libm-sysdep_routines.
37400 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
37402 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
37403 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
37405 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
37406 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
37407 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
37408 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
37409 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
37410 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
37411 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
37413 2013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
37415 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
37416 to optimize copies.
37418 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
37419 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
37420 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
37422 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
37423 local variable MPTWO.
37424 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
37427 2013-01-13 Mike Frysinger <vapier@gentoo.org>
37429 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
37432 2013-01-13 Mike Frysinger <vapier@gentoo.org>
37434 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
37436 2013-01-13 Mike Frysinger <vapier@gentoo.org>
37438 * manual/pattern.texi (glob_t): Document gl_flags.
37439 (glob64_t): Likewise.
37441 2013-01-11 David S. Miller <davem@davemloft.net>
37443 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
37444 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
37445 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
37446 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
37447 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
37448 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
37449 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
37450 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
37451 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
37452 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
37453 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
37454 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
37455 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
37457 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
37458 sparc V9 rather than using V8 code.
37459 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
37460 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
37462 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
37464 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
37467 2013-01-11 Roland McGrath <roland@hack.frob.com>
37469 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
37470 not in the main loop.
37471 * configure: Regenerated.
37473 2013-01-11 Joseph Myers <joseph@codesourcery.com>
37475 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
37476 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
37478 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
37479 [!__GLIBC_HAVE_LONG_LONG] case.
37480 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
37481 condition to just #else.
37482 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
37483 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
37484 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
37485 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
37487 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
37488 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
37489 #elif condition to just #else.
37490 * sysdeps/unix/sysv/linux/sys/sysmacros.h
37491 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
37492 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
37493 #elif condition to just #else.
37495 2013-01-11 Steve Ellcey <sellcey@mips.com>
37497 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
37498 (EF_MIPS_ARCH_64): Fix value.
37499 (EF_MIPS_ARCH_32R2): New.
37500 (EF_MIPS_ARCH_64R2): New.
37502 2013-01-11 H.J. Lu <hongjiu.lu@intel.com>
37504 * Makeconfig (+link-pie-before-libc): New.
37505 (+link-pie-after-libc): Likewise.
37506 (+link-pie-tests): Likewise.
37507 (+link-pie): Rewritten.
37508 (link-before-libc): Remove $(config-LDFLAGS).
37509 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
37510 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
37511 (config-LDFLAGS): Renamed to ...
37512 (rtld-LDFLAGS): This.
37513 (rtld-tests-LDFLAGS): New macro.
37514 (link-libc-rpath-link): Likewise.
37515 (link-libc-tests-rpath-link): Likewise.
37516 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
37517 (link-libc): Prepand $(link-libc-rpath-link).
37518 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
37519 (test-program-prefix): New macro.
37520 (test-via-rtld-prefix): Likewise.
37521 (test-program-cmd): Likewise.
37522 (host-test-program-cmd): Likewise.
37523 * Makefile ($(common-objpfx)testrun.sh): Replace
37524 $(run-program-prefix) with $(test-program-prefix).
37525 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
37527 ($(common-objpfx)shlib.lds): Likewise.
37528 (build-module-helper): Likewise.
37529 ($(common-objpfx)format.lds): Likewise.
37530 * Rules (binaries-pie-tests): New.
37531 (binaries-pie-notests): Likewise.
37532 (binaries-pie): Rewritten.
37533 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
37534 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
37535 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
37536 (make-test-out): Replace $(host-built-program-cmd) with
37537 $(host-test-program-cmd).
37538 * config.make.in (build-hardcoded-path-in-tests): New variable.
37539 * configure.in (--enable-hardcoded-path-in-tests): New configure
37541 (hardcoded_path_in_tests): New AC_SUBST.
37542 * configure: Regenerated.
37543 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
37544 $(built-program-cmd) with $(test-program-cmd).
37545 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
37546 (test_program_cmd): This.
37547 * elf/Makefile ($(objpfx)order.out): Run test with
37548 $(test-program-prefix).
37549 ($(objpfx)order2.out): Likewise.
37550 ($(objpfx)tst-initorder.out): Likewise.
37551 ($(objpfx)tst-initorder2.out): Likewise.
37552 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
37553 $(test-program-cmd).
37554 ($(objpfx)tst-array1-static.out): Likewise.
37555 ($(objpfx)tst-array2.out): Likewise.
37556 ($(objpfx)tst-array3.out): Likewise.
37557 ($(objpfx)tst-array4.out): Likewise.
37558 ($(objpfx)tst-array5.out): Likewise.
37559 ($(objpfx)tst-array5-static.out): Likewise.
37560 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
37561 $(test-program-cmd).
37562 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
37563 $(run-program-prefix) with $(test-program-prefix).
37564 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
37565 (test_program_prefix): This.
37566 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
37567 $(run-program-prefix) with $(test-program-prefix).
37568 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
37569 (test_program_prefix): This.
37570 * iconvdata/tst-tables.sh: Likewise.
37571 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
37572 $(run-program-prefix) with $(test-program-prefix).
37573 ($(objpfx)tst-translit.out): Likewise.
37574 ($(objpfx)tst-gettext2.out): Likewise.
37575 ($(objpfx)tst-gettext4.out): Likewise.
37576 ($(objpfx)tst-gettext6.out): Likewise.
37577 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
37578 (test_program_prefix): This.
37579 * intl/tst-gettext2.sh: Likewise.
37580 * intl/tst-gettext4.sh Likewise.
37581 * intl/tst-gettext6.sh: Likewise.
37582 * intl/tst-translit.sh: Likewise.
37583 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
37584 with $(test-program-cmd).
37585 * libio/Makefile ($(objpfx)test-freopen.out): Replace
37586 $(run-program-prefix) with $(test-program-prefix).
37587 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
37588 (test_program_prefix): This.
37589 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
37590 $(run-program-prefix) with $(test-program-prefix).
37591 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
37592 (test_program_prefix): This.
37593 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
37594 * posix/Makefile ($(objpfx)globtest.out): Replace
37595 $(run-via-rtld-prefix) and $(test-wrapper) with
37596 $(test-program-prefix) and $(test-via-rtld-prefix).
37597 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
37598 $(test-program-prefix).
37599 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
37600 $(host-test-program-cmd).
37601 (tst-spawn-ARGS): Likewise.
37602 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
37603 $(test-program-prefix).
37604 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
37605 (test_via_rtld_prefix): This.
37606 (test_wrapper): Renamed to ...
37607 (test_program_prefix): This.
37608 (run_program_prefix): Replaced by test_program_prefix.
37609 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
37610 (test_program_prefix): This.
37611 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
37612 with $(host-test-program-cmd).
37613 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
37614 $(run-program-prefix) with $(test-program-prefix).
37615 ($(objpfx)tst-printf.out): Likewise.
37616 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
37617 $(test-program-cmd).
37618 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
37619 (test_program_prefix): This.
37620 * stdio-common/tst-unbputc.sh: Likewise.
37621 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
37622 $(run-program-prefix) with $(test-program-prefix).
37623 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
37624 (test_program_prefix): This.
37625 * string/Makefile ($(objpfx)tst-svc.out): Replace
37626 $(built-program-cmd) with $(test-program-cmd).
37628 2013-01-11 Andreas Jaeger <aj@suse.de>
37631 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
37632 value. Sync with Linux 3.7.
37634 2013-01-10 David S. Miller <davem@davemloft.net>
37636 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
37637 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
37638 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
37640 2013-01-10 Roland McGrath <roland@hack.frob.com>
37642 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
37644 * configure: Regenerated.
37646 2013-01-10 David S. Miller <davem@davemloft.net>
37648 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
37649 sparc V9 rather than using V8 code.
37650 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
37651 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
37653 2013-01-10 Roland McGrath <roland@hack.frob.com>
37655 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
37656 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
37657 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
37658 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
37659 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
37660 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
37661 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
37662 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
37663 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
37664 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
37665 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
37666 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
37667 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
37668 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
37669 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
37670 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
37671 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
37672 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
37673 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
37674 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
37675 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
37676 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
37677 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
37678 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
37679 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
37680 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
37681 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
37683 2013-01-10 David S. Miller <davem@davemloft.net>
37685 * sysdeps/sparc/fpu/libm-test-ulps: Update.
37687 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
37689 * posix/Makefile (tests-static): New variable.
37690 (tests): Add $(tests-static).
37691 (tst-exec-static-ARGS): New variable.
37692 (tst-spawn-static-ARGS): Likewise.
37693 * posix/tst-exec-static.c: New file.
37694 * posix/tst-spawn-static.c: Likewise.
37695 * posix/tst-exec.c: Support run directly.
37696 * posix/tst-spawn.c: Likewise.
37698 2013-01-10 Joseph Myers <joseph@codesourcery.com>
37700 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
37702 * math/bits/mathcalls.h (llrint): Likewise.
37703 (llround): Likewise.
37704 * stdlib/stdlib.h (struct drand48_data): Likewise.
37705 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
37706 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
37707 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
37709 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
37711 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
37712 (elf_greg_t): Likewise.
37713 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
37714 (__jmp_buf): Likewise.
37715 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
37717 (llrint): Likewise, for all definitions.
37718 (llrintl): Likewise.
37720 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
37721 Remove [__GNUC__] condition.
37722 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
37723 condition to just [__USE_ISOC99].
37724 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
37726 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
37729 * sysdeps/unix/sysv/linux/x86/bits/environments.h
37730 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
37732 (_POSIX_V6_ILP32_OFF32): Likewise.
37733 (_XBS5_ILP32_OFF32): Likewise.
37734 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
37735 (__ILP32_OFFBIG_LDFLAGS): Likewise.
37737 2013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
37739 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
37741 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
37742 doubles __mpexp_twomm1. Adjust usage.
37743 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
37746 2013-01-10 Andreas Schwab <schwab@suse.de>
37749 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
37750 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
37752 2013-01-09 David S. Miller <davem@davemloft.net>
37755 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
37756 (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
37757 (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
37758 (TCP_FASTOPEN): Define.
37759 (tcp_repair_opt): New structure.
37760 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
37762 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
37763 (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
37764 (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
37765 (tcp_cookie_transactions): New structure.
37767 2013-01-09 Anton Blanchard <anton@samba.org>
37769 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
37770 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
37771 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
37772 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
37774 2013-01-09 Joseph Myers <joseph@codesourcery.com>
37776 * include/features.h (__USE_ANSI): Remove.
37778 2013-01-09 Roland McGrath <roland@hack.frob.com>
37780 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
37782 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
37784 2013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
37786 * sysdeps/s390/fpu/libm-test-ulps: Update.
37788 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
37790 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
37794 (denorm): Likewise.
37795 (__mp_dbl): Likewise.
37796 (__dbl_mp): Likewise.
37797 (add_magnitudes): Likewise.
37798 (sub_magnitudes): Likewise.
37804 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
37808 (denorm): Likewise.
37809 (__mp_dbl): Likewise.
37810 (__dbl_mp): Likewise.
37811 (add_magnitudes): Likewise.
37812 (sub_magnitudes): Likewise.
37818 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
37822 (denorm): Likewise.
37823 (__mp_dbl): Likewise.
37824 (__dbl_mp): Likewise.
37825 (add_magnitudes): Likewise.
37826 (sub_magnitudes): Likewise.
37833 2013-01-08 Joseph Myers <joseph@codesourcery.com>
37835 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
37836 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
37837 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
37838 2 && __USE_EXTERN_INLINES]: Likewise.
37840 2013-01-08 Andreas Jaeger <aj@suse.de>
37843 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
37845 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
37846 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
37848 2013-01-07 Anton Blanchard <anton@samba.org>
37850 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
37851 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
37852 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
37853 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
37854 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
37855 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
37856 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
37857 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
37858 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
37859 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
37860 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
37861 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
37862 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
37863 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
37864 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
37865 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
37866 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
37867 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
37868 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
37869 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
37870 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
37871 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
37872 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
37873 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
37874 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
37875 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
37876 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
37877 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
37878 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
37879 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
37880 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
37881 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
37882 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
37883 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
37884 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
37885 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
37886 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
37887 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
37888 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
37889 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
37890 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
37891 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
37892 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
37894 2013-01-07 Joseph Myers <joseph@codesourcery.com>
37896 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
37897 (__MALLOC_PMT): Likewise.
37898 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
37899 [__GNUC__], only on [_LIBC].
37900 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
37901 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
37902 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
37903 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
37904 forward declaration.
37905 (realloc_hook_ini): Likewise.
37906 (memalign_hook_ini): Likewise.
37907 (__libc_memalign): Do not use __MALLOC_PMT in variable
37909 (__libc_valloc): Likewise.
37910 (__libc_pvalloc): Likewise.
37911 (__libc_calloc): Likewise.
37912 (__posix_memalign): Likewise.
37915 * math/s_casinh.c: Include <float.h>.
37916 (__casinh): Do not do computation with squaring and square root
37917 for large arguments.
37918 * math/s_casinhf.c: Include <float.h>.
37919 (__casinhf): Do not do computation with squaring and square root
37920 for large arguments.
37921 * math/s_casinhl.c: Include <float.h>.
37922 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
37923 (__casinhl): Do not do computation with squaring and square root
37924 for large arguments.
37925 * math/libm-test.inc (casin_test): Add more tests.
37926 (casinh_test): Likewise.
37927 * sysdeps/i386/fpu/libm-test-ulps: Update.
37928 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37930 2013-01-04 H.J. Lu <hongjiu.lu@intel.com>
37932 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
37933 (__x86_64_raw_data_cache_size): Likewise.
37934 (__x86_64_data_cache_size_half): Likewise.
37935 (__x86_64_raw_data_cache_size_half): Likewise.
37936 (__x86_64_shared_cache_size): Likewise.
37937 (__x86_64_raw_shared_cache_size): Likewise.
37938 (__x86_64_shared_cache_size_half): Likewise.
37939 (__x86_64_raw_shared_cache_size_half): Likewise.
37940 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
37942 (__x86_data_cache_size): This.
37943 (__x86_64_raw_data_cache_size): Renamed to ...
37944 (__x86_raw_data_cache_size): This.
37945 (__x86_64_data_cache_size_half): Renamed to ...
37946 (__x86_data_cache_size_half): This.
37947 (__x86_64_raw_data_cache_size_half): Renamed to ...
37948 (__x86_raw_data_cache_size_half): This.
37949 (__x86_64_shared_cache_size): Renamed to ...
37950 (__x86_shared_cache_size): This.
37951 (__x86_64_raw_shared_cache_size): Renamed to ...
37952 (__x86_raw_shared_cache_size): This.
37953 (__x86_64_shared_cache_size_half): Renamed to ...
37954 (__x86_shared_cache_size_half): This.
37955 (__x86_64_raw_shared_cache_size_half): Renamed to ...
37956 (__x86_raw_shared_cache_size_half): This.
37957 * sysdeps/x86_64/memcpy.S: Updated.
37958 * sysdeps/x86_64/memset.S: Likewise.
37959 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
37960 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
37961 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
37963 2013-01-04 David S. Miller <davem@davemloft.net>
37965 * sysdeps/sparc/fpu/libm-test-ulps: Update.
37967 2013-01-04 Andreas Schwab <schwab@linux-m68k.org>
37969 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
37970 1 to avoid redefinition warning.
37971 (__USE_GNU): Don't define.
37972 (init_signaling_nan): Protoize.
37974 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
37976 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
37978 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
37979 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
37980 (__cpymn): Likewise.
37981 (norm): Remove commented code.
37982 (denorm): Likewise.
37983 (__mp_dbl): Likewise.
37985 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
37986 (__cpymn): Likewise.
37987 (norm): Remove commented code.
37988 (denorm): Likewise.
37989 (__mp_dbl): Likewise.
37992 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
37993 mp_no value for 1.0 and 2.0.
37994 (norm): Use RADIXI instead of radixi.d.
37995 (denorm): Likewise.
37996 (__mul): Use 0.0 instead of zero.d.
37997 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
37998 mp_no value for 1.0 and 2.0.
37999 (norm): Use RADIXI instead of radixi.d.
38000 (denorm): Likewise.
38001 (__mul): Use 0.0 instead of zero.d.
38003 2013-01-04 Joseph Myers <joseph@codesourcery.com>
38006 * math/s_casinh.c (__casinh): Reduce finite argument to first
38007 quadrant then set signs of results at the end.
38008 * math/s_casinhf.c (__casinhf): Likewise.
38009 * math/s_casinhl.c (__casinhl): Likewise.
38010 * math/libm-test.inc (casin_test): Add more tests.
38011 (casinh_test): Likewise.
38012 * sysdeps/i386/fpu/libm-test-ulps: Update.
38013 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38015 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
38017 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
38019 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
38021 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
38023 (denorm): Likewise.
38024 (__mp_dbl): Likewise.
38027 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
38028 and adjust the header comment.
38030 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
38031 variable name from declaration.
38033 2013-01-03 H.J. Lu <hongjiu.lu@intel.com>
38035 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
38036 Initialize COMMON_CPUID_INDEX_7 element.
38037 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
38038 (CPUID_RTM): Likewise.
38039 (HAS_RTM): Likewise.
38040 (COMMON_CPUID_INDEX_7): New enum.
38042 2013-01-03 Andreas Schwab <schwab@linux-m68k.org>
38045 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
38046 size is zero, record memory as freed.
38048 2013-01-03 Andreas Jaeger <aj@suse.de>
38050 * po/ia.po: Add new Interlingua translation.
38052 2012-01-03 Allan McRae <allan@archlinux.org>
38054 * locale/programs/localedef.c: Fix description of '--posix' flag.
38056 2013-01-02 Joseph Myers <joseph@codesourcery.com>
38058 * NEWS: Update dates in second copyright notice.
38059 * README: Update copyright dates in example.
38060 * manual/libc.texinfo: Update copyright dates.
38061 * scripts/test-installation.pl: Update copyright date in --version
38064 * hurd/ctty-input.c: Fix copyright notice formatting.
38065 * hurd/ctty-output.c: Likewise.
38066 * hurd/dtable.c: Likewise.
38067 * hurd/hurd-raise.c: Likewise.
38068 * hurd/hurdprio.c: Likewise.
38069 * hurd/msgportdemux.c: Likewise.
38070 * misc/sys/file.h: Likewise.
38071 * misc/sys/ioctl.h: Likewise.
38072 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
38073 * sysdeps/mach/hurd/chdir.c: Likewise.
38074 * sysdeps/mach/hurd/fchdir.c: Likewise.
38075 * sysdeps/mach/hurd/rename.c: Likewise.
38076 * sysdeps/mach/hurd/rmdir.c: Likewise.
38077 * sysdeps/mach/hurd/seekdir.c: Likewise.
38078 * sysdeps/mach/hurd/setsid.c: Likewise.
38079 * sysdeps/posix/wait3.c: Likewise.
38081 * All files with FSF copyright notices: Update copyright dates
38082 using scripts/update-copyrights.
38083 * intl/plural.c: Regenerated.
38084 * locale/programs/charmap-kw.h: Likewise.
38085 * locale/programs/locfile-kw.h: Likewise.
38087 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
38089 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
38092 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
38093 calculation loop and add branch prediction.
38095 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
38096 check access beyond bounds of m1np.
38098 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
38100 (__inv): Remove local variable MPTWO to use the global
38102 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
38103 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
38105 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
38106 MP3HALFS static const.
38108 2013-01-01 David S. Miller <davem@davemloft.net>
38110 * po/ca.po: Update from translation team.
38112 2013-01-01 Joseph Myers <joseph@codesourcery.com>
38114 * scripts/update-copyrights: New file.
38115 * Makeconfig: Reformat copyright notice.
38116 * ctype/ctype.h: Likewise.
38117 * debug/swprintf_chk.c: Likewise.
38118 * elf/dl-cache.c: Likewise.
38119 * elf/dl-debug.c: Likewise.
38120 * elf/dl-object.c: Likewise.
38121 * grp/initgroups.c: Likewise.
38122 * hurd/Makefile: Likewise.
38123 * hurd/hurd/signal.h: Likewise.
38124 * hurd/hurdfault.c: Likewise.
38125 * hurd/hurdioctl.c: Likewise.
38126 * hurd/hurdlookup.c: Likewise.
38127 * hurd/intr-msg.c: Likewise.
38128 * iconv/gconv_open.c: Likewise.
38129 * libio/swprintf.c: Likewise.
38130 * locale/lc-ctype.c: Likewise.
38131 * locale/nl_langinfo.c: Likewise.
38132 * mach/Machrules: Likewise.
38133 * mach/Makefile: Likewise.
38134 * malloc/obstack.h: Likewise.
38135 * manual/Makefile: Likewise.
38136 * manual/tsort.awk: Likewise.
38137 * misc/bits/stab.def: Likewise.
38138 * nis/nis_print_group_entry.c: Likewise.
38139 * nis/nis_table.c: Likewise.
38140 * nis/nss_compat/compat-pwd.c: Likewise.
38141 * nis/nss_compat/compat-spwd.c: Likewise.
38142 * po/Makefile: Likewise.
38143 * posix/fnmatch.c: Likewise.
38144 * posix/regex.h: Likewise.
38145 * resolv/Makefile: Likewise.
38146 * resolv/nss_dns/dns-network.c: Likewise.
38147 * resolv/res_hconf.c: Likewise.
38148 * scripts/gen-sorted.awk: Likewise.
38149 * soft-fp/soft-fp.h: Likewise.
38150 * stdio-common/printf.h: Likewise.
38151 * stdlib/monetary.h: Likewise.
38152 * stdlib/random.c: Likewise.
38153 * stdlib/random_r.c: Likewise.
38154 * sysdeps/generic/Makefile: Likewise.
38155 * sysdeps/gnu/Makefile: Likewise.
38156 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
38157 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
38158 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
38159 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
38160 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
38161 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
38162 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
38163 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
38164 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
38165 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
38166 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
38167 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
38168 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
38169 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
38170 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
38171 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
38172 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
38173 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
38174 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
38175 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
38176 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
38177 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
38178 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
38179 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
38180 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
38181 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
38182 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
38183 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
38184 * sysdeps/mach/hurd/errnos.awk: Likewise.
38185 * sysdeps/mach/hurd/fork.c: Likewise.
38186 * sysdeps/mach/hurd/getcwd.c: Likewise.
38187 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
38188 * sysdeps/mach/hurd/mmap.c: Likewise.
38189 * sysdeps/mach/hurd/utimes.c: Likewise.
38190 * sysdeps/mach/hurd/xmknod.c: Likewise.
38191 * sysdeps/posix/profil.c: Likewise.
38192 * sysdeps/posix/readdir_r.c: Likewise.
38193 * sysdeps/powerpc/bits/mathdef.h: Likewise.
38194 * sysdeps/powerpc/bits/setjmp.h: Likewise.
38195 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
38196 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
38197 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
38198 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
38199 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
38200 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
38201 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
38202 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
38203 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
38204 * sysdeps/pthread/lio_listio.c: Likewise.
38205 * sysdeps/sparc/dl-procinfo.h: Likewise.
38206 * sysdeps/unix/i386/sysdep.S: Likewise.
38207 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
38208 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
38209 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
38210 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
38211 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
38212 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
38213 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
38214 * sysdeps/unix/sysv/linux/speed.c: Likewise.
38215 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
38216 * sysdeps/wordsize-32/divdi3.c: Likewise.
38217 * time/sys/time.h: Likewise.
38218 * wcsmbs/Makefile: Likewise.
38220 2013-01-01 David S. Miller <davem@davemloft.net>
38222 * po/fr.po: Update from translation team.
38224 * catgets/gencat.c: Update copyright year.
38225 * csu/version.c: Likewise.
38226 * debug/catchsegv.sh: Likewise.
38227 * debug/pcprofiledump.c: Likewise.
38228 * debug/xtrace.sh: Likewise.
38229 * elf/ldconfig.c: Likewise.
38230 * elf/ldd.bash.in: Likewise.
38231 * elf/pldd.c: Likewise.
38232 * elf/sotruss.ksh: Likewise.
38233 * elf/sprof.c: Likewise.
38234 * iconv/iconv_prog.c: Likewise.
38235 * iconv/iconvconfig.c: Likewise.
38236 * locale/programs/locale.c: Likewise.
38237 * locale/programs/localedef.c: Likewise.
38238 * login/programs/pt_chown.c: Likewise.
38239 * malloc/memusage.sh: Likewise.
38240 * malloc/memusagestat.c: Likewise.
38241 * malloc/mtrace.pl: Likewise.
38242 * nscd/nscd.c: Likewise.
38243 * nss/getent.c: Likewise.
38244 * nss/makedb.c: Likewise.
38245 * posix/getconf.c: Likewise.
38247 2012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
38249 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
38252 2012-12-30 Mike Frysinger <vapier@gentoo.org>
38254 * math/bits/mathcalls.h (modf): Use __nonnull.
38256 2012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
38258 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
38259 (split): Use macro CN instead of the bare value.
38260 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
38262 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
38263 instead of the bare value.
38264 (power1): Likewise.
38266 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
38268 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
38270 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
38272 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
38274 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
38275 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
38276 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
38277 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
38279 2012-12-28 Andreas Jaeger <aj@suse.de>
38281 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
38282 values are from Linux 3.7.
38284 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
38285 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
38287 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
38289 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
38292 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
38294 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
38295 variables with preprocessor constants.
38296 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
38297 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
38298 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
38300 2012-12-27 Bruno Haible <bruno@clisp.org>
38303 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
38306 2012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
38308 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
38309 and use variable directly.
38310 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
38312 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
38314 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
38315 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
38317 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
38318 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
38319 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
38320 include directive. Remove local variable MPONE.
38321 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
38322 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
38323 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
38325 2012-12-25 David S. Miller <davem@davemloft.net>
38327 * version.h (RELEASE): Set to "development".
38328 (VERSION): Set to "2.17.90".
38329 * NEWS: Add 2.18 section.
38331 2012-12-21 David S. Miller <davem@davemloft.net>
38333 * po/hr.po: Update from translation team.
38335 2012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
38337 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
38339 2012-12-19 Steve Ellcey <sellcey@mips.com>
38341 * NEWS: Mention new memcpy for MIPS.
38343 2012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
38345 * manual/contrib.texi (Contributors): Spelling correction.
38347 2012-12-15 David S. Miller <davem@davemloft.net>
38349 * po/ru.po: Update from translation team.
38351 2012-12-13 David S. Miller <davem@davemloft.net>
38353 * NEWS: Mention IFUNC testsuite enhancements.
38355 * po/pl.po: Update from translation team.
38356 * po/bg.po: Likewise.
38358 * manual/contrib.texi (Contributors): Update entries for Hongjiu
38359 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
38361 2012-12-11 David S. Miller <davem@davemloft.net>
38363 * po/sv.po: Update from translation team.
38365 * po/vi.po: Update from translation team.
38367 * po/cs.po: Update from translation team.
38369 * po/de.po: Update from translation team.
38370 * po/eo.po: Likewise.
38371 * po/nl.po: Likewise.
38373 2012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
38376 * manual/argp.texi (Argp Helper Functions): Move node to follow
38377 Argp Parsing State.
38380 * manual/conf.texi (Limits on File System Capacity): Mention if
38381 terminating null is included in the max size.
38383 2012-12-10 Andreas Jaeger <aj@suse.de>
38385 * po/cs.po: Update from translation team.
38387 2012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
38389 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
38390 void pointer and cast to uintptr_t.
38391 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
38393 * sysdeps/s390/s390-64/memcpy.S: Likewise.
38394 * sysdeps/s390/s390-64/memset.S: Likewise.
38396 2012-12-08 Benno Schulenberg <bensberg@justemail.net>
38399 * menual/message.texi (Message Translation): Fix typos.
38400 (Helper programs for gettext): Likewise.
38402 2012-12-07 Andreas Schwab <schwab@linux-m68k.org>
38405 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
38408 2012-12-07 David S. Miller <davem@davemloft.net>
38410 * po/libc.pot: Update.
38412 2012-12-07 Richard Henderson <rth@redhat.com>
38415 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
38416 normal/normal case to before the switch.
38417 (_FP_DIV): Likewise.
38419 2012-12-06 Carlos O'Donell <carlos@systemhalted.org>
38420 Mike Frysinger <vapier@gentoo.org>
38422 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
38423 check for __NR_fadvise64_64.
38425 2012-12-06 Chris Metcalf <cmetcalf@tilera.com>
38427 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
38428 0, not just to plain "0" as a statement.
38429 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
38432 2012-12-06 Joseph Myers <joseph@codesourcery.com>
38434 * NEWS: Use sourceware.org in Bugzilla URL.
38436 2012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
38438 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
38439 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
38441 * stdio-common/tst-put-error.c (do_test): Add newline to the
38442 padded test to ensure flush.
38444 2012-12-05 Jeff Law <law@redhat.com>
38446 * sunrpc/etc.rpc (fedfs_admin): Add entry.
38448 2012-12-05 Joseph Myers <joseph@codesourcery.com>
38450 * README: Don't refer to ports add-on as distributed separately.
38451 Mention AArch64 in list of systems supported in the ports add-on.
38453 * LICENSES: Add more non-FSF copyright and license notices.
38455 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
38458 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
38460 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
38461 10000 as width of padded output.
38463 2012-12-04 Joseph Myers <joseph@codesourcery.com>
38465 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
38467 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
38468 variable LX with __attribute__ ((unused)).
38469 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
38471 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
38472 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
38473 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
38474 with __attribute__ ((unused)).
38476 2012-12-04 David S. Miller <davem@abraco.davemloft.net>
38478 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
38480 2012-12-04 Joseph Myers <joseph@codesourcery.com>
38482 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
38483 (CFLAGS-nldbl-acos.c): New variable.
38484 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
38485 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
38486 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
38487 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
38488 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
38489 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
38490 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
38491 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
38492 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
38493 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
38494 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
38495 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
38496 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
38497 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
38498 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
38499 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
38500 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
38501 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
38502 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
38503 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
38504 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
38505 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
38506 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
38507 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
38508 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
38509 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
38510 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
38511 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
38512 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
38513 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
38514 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
38515 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
38516 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
38517 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
38518 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
38519 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
38520 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
38521 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
38522 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
38523 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
38524 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
38525 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
38526 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
38527 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
38528 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
38529 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
38530 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
38531 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
38532 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
38533 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
38534 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
38535 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
38536 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
38537 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
38538 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
38539 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
38540 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
38541 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
38542 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
38543 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
38544 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
38545 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
38546 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
38547 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
38548 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
38549 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
38550 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
38551 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
38552 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
38553 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
38554 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
38555 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
38556 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
38557 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
38558 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
38559 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
38560 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
38561 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
38562 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
38563 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
38564 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
38565 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
38566 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
38567 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
38568 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
38569 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
38570 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
38571 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
38572 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
38573 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
38574 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
38575 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
38576 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
38577 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
38578 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
38579 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
38580 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
38582 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
38583 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
38586 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
38587 whole low double instead of just low 47 bits when splitting values
38590 2012-12-03 Allan McRae <allan@archlinux.org>
38592 * manual/stdio.texi (Predefined Printf Handlers): Remove
38593 @hsep and @vsep usage.
38595 2012-12-03 Mike Frysinger <vapier@gentoo.org>
38597 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
38598 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
38600 2012-12-03 Jeff Law <law@redhat.com>
38602 * time/sys/time.h (settimeofday): Do not mark TV argument
38605 2012-12-01 Mike Frysinger <vapier@gentoo.org>
38607 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
38608 when currently writing and seek to current position when not.
38609 * libio/Makefile (tests): Remove bug-fclose1.
38610 * libio/bug-fclose1.c: Delete.
38612 2012-12-01 Joseph Myers <joseph@codesourcery.com>
38614 * manual/arith.texi (feenableexcept): Fix typo.
38615 (fedisableexcept): Likewise.
38617 2012-11-30 Roland McGrath <roland@hack.frob.com>
38619 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
38620 second, differently-typed declaration, rather than a cast.
38622 2012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
38624 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
38625 * include/rpc/svc.h: ... here.
38627 2012-11-30 Aurelien Jarno <aurel32@debian.org>
38630 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
38631 depending n and resplen2 to catch cases where answer
38634 2012-11-29 Carlos O'Donell <carlos@systemhalted.org>
38636 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
38637 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
38639 2012-11-29 Mike Frysinger <vapier@gentoo.org>
38641 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
38643 2012-11-29 Roland McGrath <roland@hack.frob.com>
38645 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
38647 2012-11-28 Jeff Law <law@redhat.com>
38650 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
38651 dataset_temporary. Track alloca usage into alloca_used.
38652 If dataset is large allocate and release it via malloc/free.
38654 2012-06-04 Florian Weimer <fweimer@redhat.com>
38657 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
38659 2012-11-28 David S. Miller <davem@davemloft.net>
38661 * sysdeps/sparc/fpu/libm-test-ulps: Update.
38663 2012-11-28 Joseph Myers <joseph@codesourcery.com>
38666 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
38667 of pi/2 rounded to nearest to 64 bits.
38668 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
38669 nearest to 64 bits.
38670 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
38673 2012-11-28 Jeff Law <law@redhat.com>
38674 Martin Osvald <mosvald@redhat.com>
38677 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
38678 * sunrpc/svc.c: Include time.h.
38679 (__svc_accept_failed): New function.
38680 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
38681 any reason other than EINTR, call __svc_accept_failed.
38682 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
38683 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
38685 2012-11-28 Andreas Schwab <schwab@suse.de>
38687 * scripts/abilist.awk: Also handle indirect functions in .opd
38690 2012-11-28 Joseph Myers <joseph@codesourcery.com>
38693 * sysdeps/x86/fpu/powl_helper.c: New file.
38694 * sysdeps/x86/fpu/Makefile: Likewise.
38695 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
38697 (__ieee754_powl): Use __powl_helper for finite arguments except
38698 integer exponents below 8.
38699 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
38701 (__ieee754_powl): Use __powl_helper for finite arguments except
38702 integer exponents below 8.
38703 * math/libm-test.inc (pow_test): Add more tests and enable some
38704 previously disabled tests.
38705 * sysdeps/i386/fpu/libm-test-ulps: Update.
38706 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38708 2012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
38709 Carlos O'Donell <carlos_odonell@mentor.com>
38711 * nss/makedb.c (is_prime): Assert that input is odd and greater
38712 than 4. Note that fact in a comment too.
38713 (next_prime): Add 4 to input.
38715 2012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
38718 * libio/Makefile (tests): Add test case tst-fwrite-error.
38719 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
38720 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
38721 * libio/tst-fwrite-error.c: New test case.
38723 2012-11-26 H.J. Lu <hongjiu.lu@intel.com>
38725 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
38726 before casting to void *.
38727 * include/libc-internal.h (__pointer_type): New macro.
38728 (__integer_if_pointer_type_sub): Likewise.
38729 (__integer_if_pointer_type): Likewise.
38730 (cast_to_integer): Likewise.
38731 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
38732 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
38733 before casting to atomic64_t.
38734 (atomic_exchange_acq): Likewise.
38735 (__arch_exchange_and_add_body): Likewise.
38736 (__arch_add_body): Likewise.
38737 (atomic_add_negative): Likewise.
38738 (atomic_add_zero): Likewise.
38740 2012-11-26 Joseph Myers <joseph@codesourcery.com>
38742 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
38743 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
38744 (add_fdes): Likewise.
38745 (linear_search_fdes): Likewise.
38746 (binary_search_unencoded_fdes): Likewise.
38748 2012-11-26 Andreas Schwab <schwab@linux-m68k.org>
38750 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
38752 2012-11-24 Adam Conrad <adconrad@0c3.net>
38754 * configure.in: Autodetect C++ header directories.
38755 * configure: Regenerated.
38757 2012-11-23 Mike Frysinger <vapier@gentoo.org>
38759 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
38761 2012-11-23 Andreas Schwab <schwab@linux-m68k.org>
38763 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
38765 2012-11-22 Joseph Myers <joseph@codesourcery.com>
38767 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
38768 LDBL_MANT_DIG == 106]: Disable some tests.
38769 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
38771 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
38775 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
38776 input for small inputs. Return +/- pi/2 for large inputs.
38777 * math/libm-test.inc (atan_test): Add more tests.
38779 * sysdeps/generic/unwind-dw2-fde-glibc.c
38780 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
38781 __attribute__ ((unused)).
38784 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
38785 x * y if x and y are nonzero and z is zero.
38788 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
38789 nonzero exponents with absolute value below 0x1p-117 to +/-
38793 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
38794 up arguments below 2**-450, not just those below 2**-500.
38795 * math/libm-test.inc (hypot_test): Add another test.
38798 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
38799 Return a+b for ratio over 2**120, not 2**60.
38800 * math/libm-test.inc (hypot_test): Add another test.
38802 * math/libm-test.inc (clog_test): Use
38803 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
38804 (clog10_test): Likewise.
38807 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
38809 2012-11-22 Andreas Schwab <schwab@suse.de>
38811 * sysdeps/i386/fpu/libm-test-ulps: Update.
38813 2012-11-22 Pino Toscano <toscano.pino@tiscali.it>
38815 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
38816 printf output with newline.
38818 2012-11-21 H.J. Lu <hongjiu.lu@intel.com>
38821 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
38822 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
38823 -z nodlopen, -z initfirst and -z execstack support.
38824 * configure: Regenerated.
38826 * elf/elf.h (DF_1_NODIRECT): New macro.
38827 (DF_1_IGNMULDEF): Likewise.
38828 (DF_1_NOKSYMS): Likewise.
38829 (DF_1_NOHDR): Likewise.
38830 (DF_1_EDITED): Likewise.
38831 (DF_1_NORELOC): Likewise.
38832 (DF_1_SYMINTPOSE): Likewise.
38833 (DF_1_GLOBAUDIT): Likewise.
38834 (DF_1_SINGLETON): Likewise.
38835 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
38836 DT_1_SUPPORTED_MASK bits.
38837 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
38839 2012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
38841 * sysdeps/unix/make-syscalls.sh: Document prefixes.
38843 2012-11-20 Thomas Schwinge <thomas@codesourcery.com>
38845 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
38848 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
38849 (sendmmsg): Move declarations...
38850 * socket/sys/socket.h: ... here.
38851 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
38852 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
38854 * socket/recvmmsg.c: ... this new file.
38855 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
38856 (sendmmsg): Rename to __sendmmsg, create weak alias and make
38857 definition of __sendmmsg hidden.
38858 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
38859 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
38860 Move ENOSYS stub into and include it from...
38861 * socket/sendmmsg.c: ... this new file.
38862 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
38863 (sysdep_routines): Move recvmmsg and sendmmsg...
38864 * socket/Makefile (routines): ... here.
38865 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
38866 (GLIBC_PRIVATE): Add __sendmmsg.
38867 * include/sys/socket.h (__sendmmsg): Add declarations.
38868 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
38871 2012-11-20 Joseph Myers <joseph@codesourcery.com>
38873 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
38874 variable I1 with __attribute__ ((unused)).
38875 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
38877 2012-11-19 Joseph Myers <joseph@codesourcery.com>
38879 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
38880 DUMMY variables with __attribute__ ((unused)).
38882 * bits/byteswap.h: Include <bits/types.h>.
38883 (__bswap_64): Use __uint64_t instead of unsigned long long int.
38885 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
38887 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
38888 string_t. Do not manually set errno.
38889 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
38890 length with __strnlen. Make sure to both set errno and return it on
38893 2012-11-19 David S. Miller <davem@davemloft.net>
38895 With help from Joseph Myers.
38896 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
38897 very large arguments properly.
38898 * math/libm-test.inc (atan_test): New tests.
38899 (atan2_test): New tests.
38900 * sysdeps/sparc/fpu/libm-test-ulps: Update.
38901 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
38903 2012-11-19 Joseph Myers <joseph@codesourcery.com>
38906 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
38909 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
38910 [POSIX] (EADDRNOTAVAIL): Likewise.
38911 [POSIX] (EAFNOSUPPORT): Likewise.
38912 [POSIX] (EALREADY): Likewise.
38913 [POSIX] (ECONNABORTED): Likewise.
38914 [POSIX] (ECONNREFUSED): Likewise.
38915 [POSIX] (ECONNRESET): Likewise.
38916 [POSIX] (EDESTADDRREQ): Likewise.
38917 [POSIX] (EDQUOT): Likewise.
38918 [POSIX] (EHOSTUNREACH): Likewise.
38919 [POSIX] (EIDRM): Likewise.
38920 [POSIX] (EISCONN): Likewise.
38921 [POSIX] (ELOOP): Likewise.
38922 [POSIX] (EMULTIHOP): Likewise.
38923 [POSIX] (ENETDOWN): Likewise.
38924 [POSIX] (ENETUNREACH): Likewise.
38925 [POSIX] (ENOBUFS): Likewise.
38926 [POSIX] (ENODATA): Likewise.
38927 [POSIX] (ENOLINK): Likewise.
38928 [POSIX] (ENOMSG): Likewise.
38929 [POSIX] (ENOPROTOOPT): Likewise.
38930 [POSIX] (ENOSR): Likewise.
38931 [POSIX] (ENOSTR): Likewise.
38932 [POSIX] (ENOTCONN): Likewise.
38933 [POSIX] (ENOTSOCK): Likewise.
38934 [POSIX] (EOPNOTSUPP): Likewise.
38935 [POSIX] (EOVERFLOW): Likewise.
38936 [POSIX] (EPROTO): Likewise.
38937 [POSIX] (EPROTONOSUPPORT): Likewise.
38938 [POSIX] (EPROTOTYPE): Likewise.
38939 [POSIX] (ESTALE): Likewise.
38940 [POSIX] (ETIME): Likewise.
38941 [POSIX] (ETXTBSY): Likewise.
38942 [POSIX] (EWOULDBLOCK): Likewise.
38943 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
38944 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
38945 [POSIX] (SEEK_CUR): Likewise.
38946 [POSIX] (SEEK_END): Likewise.
38947 [POSIX || UNIX98] (mode_t): Do not require.
38948 [POSIX] (off_t): Likewise.
38949 [POSIX] (pid_t): Likewise.
38950 [POSIX] (sys/stat.h): Do not allow header.
38951 [POSIX] (unistd.h): Likewise.
38952 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
38953 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
38954 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
38955 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
38957 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
38958 sigevent): Specify elements.
38959 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
38961 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
38962 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
38964 * conform/data/cpio.h-data [POSIX]: Disable whole file.
38965 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
38966 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
38967 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
38968 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
38969 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
38970 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
38971 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
38972 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
38973 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
38974 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
38975 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
38976 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
38977 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
38979 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
38981 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
38983 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
38985 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
38986 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
38987 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
38988 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
38989 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
38990 Specify lower bound on value.
38991 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
38992 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
38993 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
38994 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
38995 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
38996 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
38997 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
38998 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
39000 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
39002 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
39003 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
39004 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
39005 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
39006 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
39007 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
39008 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
39009 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
39010 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
39011 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
39012 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
39013 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
39014 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
39015 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
39016 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
39017 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
39019 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
39021 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
39022 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
39023 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
39024 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
39025 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
39026 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
39028 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
39029 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
39030 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
39031 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
39032 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
39033 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
39034 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
39036 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
39037 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
39038 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
39039 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
39040 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
39041 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
39042 specify as optional.
39043 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
39044 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
39045 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
39046 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
39047 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
39048 [XPG3] (NL_LANGMAX): Likewise.
39049 [POSIX || XPG3] (NL_MSGMAX): Likewise.
39050 [POSIX || XPG3] (NL_NMAX): Likewise.
39051 [POSIX || XPG3] (NL_SETMAX): Likewise.
39052 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
39053 [XPG3] (NZERO): Likewise.
39054 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
39055 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
39056 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
39057 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
39058 (REG_ERANGE): Expect.
39059 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
39061 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
39062 Use (void) in prototype.
39063 [POSIX] (*_t): Allow.
39064 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
39065 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
39066 (WRDE_BADVAL): Expect.
39068 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
39070 [XPG3 || XPG4] (O_RSYNC): Likewise.
39071 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
39073 [XPG3 || XPG4] (pthread_sigmask): Likewise.
39074 [XPG3 || XPG4] (sigqueue): Likewise.
39075 [XPG3 || XPG4] (sigtimedwait): Likewise.
39076 [XPG3 || XPG4] (sigwaitinfo): Likewise.
39077 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
39078 [XPG3 || XPG4] (vsnprintf): Likewise.
39079 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
39081 [XPG3 || XPG4] (blksize_t): Likewise.
39082 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
39084 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
39085 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
39086 [XPG3 || XPG4] (struct itimerspec): Likewise.
39087 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
39088 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
39089 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
39090 [XPG3 || XPG4] (clockid_t): Likewise.
39091 [XPG3 || XPG4] (timer_t): Likewise.
39092 [XPG3 || XPG4] (clock_getres): Likewise.
39093 [XPG3 || XPG4] (clock_gettime): Likewise.
39094 [XPG3 || XPG4] (clock_settime): Likewise.
39095 [XPG3 || XPG4] (nanosleep): Likewise.
39096 [XPG3 || XPG4] (timer_create): Likewise.
39097 [XPG3 || XPG4] (timer_delete): Likewise.
39098 [XPG3 || XPG4] (timer_gettime): Likewise.
39099 [XPG3 || XPG4] (timer_getoverrun): Likewise.
39100 [XPG3 || XPG4] (timer_settime): Likewise.
39101 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
39102 [XPG3 || XPG4] (getlogin_r): Likewise.
39103 [XPG3 || XPG4] (pread): Likewise.
39104 [XPG3 || XPG4] (pthread_atfork): Likewise.
39105 [XPG3 || XPG4] (pwrite): Likewise.
39108 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
39111 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
39113 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
39114 finalizing MALLSTREAM.
39116 * sysdeps/mach/hurd/syncfs.c: New file.
39118 2012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
39121 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
39122 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
39123 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
39124 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
39125 (_nss_dns_gethostbyname4_r): Likewise.
39126 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
39127 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
39129 2012-11-19 Peng Haitao <penght@cn.fujitsu.com>
39132 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
39134 2012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
39136 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
39137 * elf/cache.c (print_entry): Print ",AArch64" for
39140 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
39141 * elf/cache.c (print_entry): Print ",hard-float" for
39144 2012-11-18 David S. Miller <davem@davemloft.net>
39146 With help from Joseph Myers.
39147 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
39149 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
39151 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
39152 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
39154 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
39155 * math/libm-test.inc (y0_test): New tests.
39156 (y1_test): New tests.
39157 * sysdeps/i386/fpu/libm-test-ulps: Update.
39158 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
39159 * sysdeps/sparc/fpu/libm-test-ulps: Update.
39161 2012-11-18 Andreas Schwab <schwab@linux-m68k.org>
39163 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
39165 * configure: Regenerated.
39167 2012-11-17 David S. Miller <davem@davemloft.net>
39170 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
39171 nonzero exponents with absolute value below 0x1p-128 to +/-
39174 2012-11-17 Joseph Myers <joseph@codesourcery.com>
39176 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
39178 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
39180 * posix/getconf-speclist.c: New file.
39181 * posix/posix-envs.def: Likewise.
39182 * posix/confstr.c (START_ENV_GROUP): New macro.
39183 (END_ENV_GROUP): Likewise.
39184 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
39185 (KNOWN_PRESENT_ENV_STRING): Likewise.
39186 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
39187 (UNKNOWN_ENVIRONMENT): Likewise.
39188 (confstr): Include posix-envs.def instead of handling
39189 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
39190 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
39191 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
39192 (END_ENV_GROUP): Likewise.
39193 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
39194 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
39195 (UNKNOWN_ENVIRONMENT): Likewise.
39196 (__sysconf): Include posix-envs.def instead of handling associated
39197 cases directly here.
39198 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
39199 preprocessing getconf-speclist.c rather than running getconf or
39200 generating empty file.
39202 2012-11-16 Pino Toscano <toscano.pino@tiscali.it>
39204 * scripts/check-local-headers.sh: Ignore 'mach' headers.
39206 2012-11-16 Andrej Lajovic <natrij@gmail.com>
39209 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
39211 2012-11-16 David S. Miller <davem@davemloft.net>
39213 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
39214 smaller than LDBL_EPSILON/2.0L, just return xm1.
39216 2012-11-16 H.J. Lu <hongjiu.lu@intel.com>
39218 * elf/tst-array1.c (init): Set constructor priority to 1000.
39219 (fini): Set destructor priority to 1000.
39220 * elf/tst-array2dep.c: Likewise.
39222 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
39225 * libio/fileops.c (_IO_new_file_write): Correctly return error.
39226 (_IO_new_file_xsputn): Also return EOF if none of the input
39227 data was written when overflow failed.
39228 * libio/iopadn.c (_IO_padn): Likewise.
39229 * libio/iowpadn.c (_IO_wpadn): Likewise.
39230 * stdio-common/tst-put-error.c: Add copyright notice.
39231 (do_test): Add case for printing padded string.
39232 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
39233 _IO_padn returned error.
39234 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
39235 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
39238 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
39240 * libio/libioP.h: Add comment note that the references to C++
39241 bits are now obsolete.
39243 2012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
39245 * math/libm-test.inc (check_complex): Use asprintf.
39247 2012-11-14 Joseph Myers <joseph@codesourcery.com>
39249 * debug/pcprofiledump.c (print_version): Update copyright year.
39250 * malloc/memusagestat.c (print_version): Likewise.
39252 2012-11-14 H.J. Lu <hongjiu.lu@intel.com>
39255 * elf/Makefile (tests): Add tst-audit8.
39256 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
39257 ($(objpfx)tst-audit8.out): New target.
39258 (tst-audit8-ENV): New variable.
39259 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
39260 audit if l_reloc_result is NULL.
39261 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
39262 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
39263 * elf/tst-audit8.c: New file.
39265 2012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
39267 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
39268 * misc/Makefile (CFLAGS-select.c): Define.
39269 * posix/Makefile (CFLAGS-pause.c): Define.
39271 2012-11-13 David S. Miller <davem@davemloft.net>
39273 * crypt/Makefile: Move test targets after toplevel Rules
39274 inclusion. Grab any necessary sysdep routines when linking.
39275 * crypt/md5.c (md5_process_block): Remove define, we will always
39276 name it __md5_process_block.
39277 (md5_finish_ctx): Update md5_process_block call.
39278 (md5_stream): Likewise.
39279 (md5_process_bytes): Likewise.
39280 (md5_process_block): Rename to __md5_process_block and move to ...
39281 * crypt/md5-block.c: ... here.
39282 * crypt/sha256.c (sha256_process_block): Move to ...
39283 * crypt/sha256-block.c: ... here.
39284 * crypt/sha512.c (sha512_process_block): Move to ...
39285 * crypt/sha512-block.c: ... here.
39286 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
39288 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
39289 * sysdeps/sparc/sparc64/multiarch/Makefile
39290 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
39292 (localedef-aux): Add md5 crypto assembler when in locale subdir.
39293 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
39295 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
39296 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
39297 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
39298 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
39299 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
39300 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
39301 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
39302 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
39303 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
39305 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
39306 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
39308 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
39310 2012-11-13 Joseph Myers <joseph@codesourcery.com>
39312 * timezone/tzselect.ksh: Update from tzcode git revision
39313 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
39314 * timezone/zdump.c: Likewise.
39315 * timezone/zic.c: Likewise.
39316 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
39317 in TZVERSION setting, not $(PKGVERSION).
39318 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
39319 REPORT_BUGS_TO settings.
39322 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
39325 2012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
39327 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
39328 detection to immediately after _FP_ROUND().
39329 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
39332 2012-11-11 David S. Miller <davem@davemloft.net>
39334 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
39336 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
39337 __close rather than their public counterparts.
39339 2012-11-10 Joseph Myers <joseph@codesourcery.com>
39341 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
39343 [UNIX98] (sem_timedwait): Do not expect.
39344 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
39345 [XPG4 || UNIX98] (sockatmark): Do not expect.
39346 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
39347 (clock_getcpuclockid): Do not expect.
39348 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
39349 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
39351 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
39352 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
39353 [UNIX98] (vwscanf): Likewise.
39354 [UNIX98] (vswscanf): Likewise.
39356 2012-11-09 Joseph Myers <joseph@codesourcery.com>
39358 * timezone/version.h: Remove file.
39359 * timezone/README: Do not refer to version.h.
39360 * timezone/Makefile ($(objpfx)zic.o): New dependency on
39361 $(objpfx)version.h.
39362 ($(objpfx)zdump.o): Likewise.
39363 ($(objpfx)version.h): New target.
39365 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
39367 * timezone/README: Don't mention modification to tzselect.ksh.
39368 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
39369 work on unmodified tzselect.ksh. Substitute version numbers in
39372 * Makefile (format-me): Remove.
39373 (INSTALL): Adjust indentation. Use commands directly instead of
39374 using $(format-me).
39376 * aclocal.m4 (ACX_PKGVERSION): New macro.
39377 (ACX_BUGURL): Likewise.
39378 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
39379 (PKGVERSION): New AC_DEFINE_UNQUOTED.
39380 (REPORT_BUGS_TO): Likewise.
39381 * configure: Regenerated.
39382 * config.h.in (PKGVERSION): New macro.
39383 (REPORT_BUGS_TO): Likewise.
39384 * config.make.in (PKGVERSION): New variable.
39385 (PKGVERSION_TEXI): Likewise.
39386 (REPORT_BUGS_TO): Likewise.
39387 (REPORT_BUGS_TEXI): Likewise.
39388 * Makefile (format-me): Use -I$(common-objpfx)manual.
39389 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
39390 ($(common-objpfx)manual/%): New target.
39391 (manual/%): Remove target.
39392 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
39393 (print_version): Use PKGVERSION.
39394 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
39395 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
39396 and REPORT_BUGS_TO.
39397 ($(objpfx)xtrace): Likewise.
39398 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
39399 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
39400 (print_version): Use PKGVERSION.
39401 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
39402 (do_version): Use PKGVERSION.
39403 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
39405 (common-ldd-rewrite): Likewise.
39406 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
39407 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
39408 (print_version): Use PKGVERSION.
39409 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
39410 * elf/pldd.c (argp_program_bug_address): Remove variable.
39411 (more_help): New function.
39412 (argp): Use more_help.
39413 (print_version): Use PKGVERSION.
39414 * elf/sln.c (main): Use PKGVERSION.
39415 (usage): Use REPORT_BUGS_TO.
39416 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
39417 (top level): Use PKGVERSION.
39418 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
39419 (print_version): Use PKGVERSION.
39420 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
39421 (print_version): Use PKGVERSION.
39422 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
39423 (print_version): Use PKGVERSION.
39424 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
39425 (print_version): Use PKGVERSION.
39426 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
39427 (print_version): Use PKGVERSION.
39428 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
39429 (print_version): Use PKGVERSION.
39430 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
39432 ($(objpfx)memusage): Likewise.
39433 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
39434 (do_version): Use PKGVERSION.
39435 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
39436 (print_version): Use PKGVERSION.
39437 * malloc/mtrace.pl ($PACKAGE): Remove variable.
39438 ($PKGVERSION): New variable.
39439 ($REPORT_BUGS_TO): Likewise.
39440 (usage): Use $REPORT_BUGS_TO.
39441 (top level): Use $PKGVERSION.
39442 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
39443 ($(objpfx)pkgvers.texi): New rule.
39444 ($(objpfx)stamp-pkgvers): Likewise.
39445 * manual/install.texi: Include pkgvers.texi.
39446 (--with-pkgversion): Document new configure option.
39447 (--with-bugurl): Likewise.
39448 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
39449 than necessarily for this particular distribution. Use
39450 REPORT_BUGS_TO for where to report bugs.
39451 * INSTALL: Regenerated.
39452 * manual/libc.texinfo: Include pkgvers.texi.
39453 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
39454 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
39455 (print_version): Use PKGVERSION.
39456 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
39457 (print_version): Use PKGVERSION.
39458 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
39459 (print_version): Use PKGVERSION.
39460 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
39461 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
39463 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
39464 (print_version): Use PKGVERSION.
39465 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
39466 (print_version): Use PKGVERSION.
39467 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
39470 * timezone/checktab.awk: Update from tzcode 2012i.
39471 * timezone/ialloc.c: Likewise.
39472 * timezone/private.h: Likewise.
39473 * timezone/scheck.c: Likewise.
39474 * timezone/tzfile.h: Likewise.
39475 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
39476 (TZVERSION): Hardcode tzcode version number.
39477 * timezone/zdump.c: Update from tzcode 2012i.
39478 * timezone/zic.c: Likewise.
39479 * timezone/version.h: New file.
39480 * timezone/README: Describe version.h. Update upstream location.
39483 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
39484 (mktemp): Enable declaration.
39485 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
39486 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
39487 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
39488 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
39490 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
39492 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
39494 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
39496 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
39498 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
39502 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
39503 offset in buffer as u_int32_t not u_long. Consistently use memcpy
39504 for copies of such integer values.
39505 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
39506 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
39508 2012-11-09 Andreas Jaeger <aj@suse.de>
39510 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
39511 definitions and declarations that are provided by
39512 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
39514 2012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
39516 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
39517 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
39518 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
39521 2012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
39523 * elf/elf.h: Update comment before AArch64 relocations.
39525 2012-11-07 David S. Miller <davem@davemloft.net>
39527 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
39528 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
39529 (__start_context): Declare.
39530 (__makecontext_ret): Delete.
39531 (__makecontext): Hook up __start_context instead of
39533 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
39534 (sysdep_routines): Add __start_context when in stdlib.
39536 2012-11-07 Joseph Myers <joseph@codesourcery.com>
39538 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
39539 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
39540 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
39542 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
39543 (READELF): New variable. Use it instead of hardcoded "readelf".
39545 2012-11-07 H.J. Lu <hongjiu.lu@intel.com>
39547 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
39548 * sysdeps/x86/Makefile: Here.
39549 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
39550 * sysdeps/x86/tst-xmmymm.sh: This.
39552 2012-11-07 Joseph Myers <joseph@codesourcery.com>
39554 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
39556 [UNIX98] (pthread_barrier_t): Do not expect.
39557 [UNIX98] (pthread_barrierattr_t): Likewise.
39558 [UNIX98] (pthread_spinlock_t): Likewise.
39559 [UNIX98] (pthread_barrier_destroy): Likewise.
39560 [UNIX98] (pthread_barrier_init): Likewise.
39561 [UNIX98] (pthread_barrier_wait): Likewise.
39562 [UNIX98] (pthread_barrierattr_destroy): Likewise.
39563 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
39564 [UNIX98] (pthread_barrierattr_init): Likewise.
39565 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
39566 [UNIX98] (pthread_getcpuclockid): Likewise.
39567 [UNIX98] (pthread_mutex_timedlock): Likewise.
39568 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
39569 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
39570 [UNIX98] (pthread_sigmask): Likewise.
39571 [UNIX98] (pthread_spin_destroy): Likewise.
39572 [UNIX98] (pthread_spin_init): Likewise.
39573 [UNIX98] (pthread_spin_lock): Likewise.
39574 [UNIX98] (pthread_spin_trylock): Likewise.
39575 [UNIX98] (pthread_spin_unlock): Likewise.
39576 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
39578 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
39579 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
39580 [XPG3 || XPG4] (pthread_cond_t): Likewise.
39581 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
39582 [XPG3 || XPG4] (pthread_key_t): Likewise.
39583 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
39584 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
39585 [XPG3 || XPG4] (pthread_once_t): Likewise.
39586 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
39587 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
39588 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
39589 [XPG3 || XPG4] (pthread_t): Likewise.
39591 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
39593 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
39595 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
39596 Change function return type to int.
39598 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
39599 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
39600 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
39601 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
39602 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
39603 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
39604 [!POSIX] (posix_madvise): Likewise.
39605 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
39607 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
39608 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
39609 (mode_t): Likewise.
39610 (posix_mem_offset): Likewise.
39611 (posix_typed_mem_get_info): Likewise.
39612 (posix_typed_mem_open): Likewise.
39614 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
39615 Change condition to [XOPEN2K8].
39617 * conform/conformtest.pl: Preprocess allow-header data with -x c
39618 instead of from stdin.
39619 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
39620 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
39621 [C99-based standards] (cerfc): Likewise.
39622 [C99-based standards] (cexp2): Likewise.
39623 [C99-based standards] (cexpm1): Likewise.
39624 [C99-based standards] (clog10): Likewise.
39625 [C99-based standards] (clog1p): Likewise.
39626 [C99-based standards] (clog2): Likewise.
39627 [C99-based standards] (clgamma): Likewise.
39628 [C99-based standards] (ctgamma): Likewise.
39629 [C99-based standards] (cerff): Likewise.
39630 [C99-based standards] (cerfcf): Likewise.
39631 [C99-based standards] (cexp2f): Likewise.
39632 [C99-based standards] (cexpm1f): Likewise.
39633 [C99-based standards] (clog10f): Likewise.
39634 [C99-based standards] (clog1pf): Likewise.
39635 [C99-based standards] (clog2f): Likewise.
39636 [C99-based standards] (clgammaf): Likewise.
39637 [C99-based standards] (ctgammaf): Likewise.
39638 [C99-based standards] (cerfl): Likewise.
39639 [C99-based standards] (cerfcl): Likewise.
39640 [C99-based standards] (cexp2l): Likewise.
39641 [C99-based standards] (cexpm1l): Likewise.
39642 [C99-based standards] (clog10l): Likewise.
39643 [C99-based standards] (clog1pl): Likewise.
39644 [C99-based standards] (clog2l): Likewise.
39645 [C99-based standards] (clgammal): Likewise.
39646 [C99-based standards] (ctgammal): Likewise.
39647 * conform/data/inttypes.h-data [C99-based standards]: Include
39648 stdint.h-data. Remove all expectations for stdint.h contents.
39649 [C99-based standards] (PRI*): Do not allow.
39650 [C99-based standards] (SCN*): Likewise.
39651 [C99-based standards] (*_t): Likewise.
39652 [C99-based-standards] (PRId8): Expect macro.
39653 [C99-based-standards] (PRIi8): Likewise.
39654 [C99-based-standards] (PRIo8): Likewise.
39655 [C99-based-standards] (PRIu8): Likewise.
39656 [C99-based-standards] (PRIx8): Likewise.
39657 [C99-based-standards] (PRIX8): Likewise.
39658 [C99-based-standards] (SCNd8): Likewise.
39659 [C99-based-standards] (SCNi8): Likewise.
39660 [C99-based-standards] (SCNo8): Likewise.
39661 [C99-based-standards] (SCNu8): Likewise.
39662 [C99-based-standards] (SCNx8): Likewise.
39663 [C99-based-standards] (PRIdLEAST8): Likewise.
39664 [C99-based-standards] (PRIiLEAST8): Likewise.
39665 [C99-based-standards] (PRIoLEAST8): Likewise.
39666 [C99-based-standards] (PRIuLEAST8): Likewise.
39667 [C99-based-standards] (PRIxLEAST8): Likewise.
39668 [C99-based-standards] (PRIXLEAST8): Likewise.
39669 [C99-based-standards] (SCNdLEAST8): Likewise.
39670 [C99-based-standards] (SCNiLEAST8): Likewise.
39671 [C99-based-standards] (SCNoLEAST8): Likewise.
39672 [C99-based-standards] (SCNuLEAST8): Likewise.
39673 [C99-based-standards] (SCNxLEAST8): Likewise.
39674 [C99-based-standards] (PRIdFAST8): Likewise.
39675 [C99-based-standards] (PRIiFAST8): Likewise.
39676 [C99-based-standards] (PRIoFAST8): Likewise.
39677 [C99-based-standards] (PRIuFAST8): Likewise.
39678 [C99-based-standards] (PRIxFAST8): Likewise.
39679 [C99-based-standards] (PRIXFAST8): Likewise.
39680 [C99-based-standards] (SCNdFAST8): Likewise.
39681 [C99-based-standards] (SCNiFAST8): Likewise.
39682 [C99-based-standards] (SCNoFAST8): Likewise.
39683 [C99-based-standards] (SCNuFAST8): Likewise.
39684 [C99-based-standards] (SCNxFAST8): Likewise.
39685 [C99-based-standards] (PRId16): Likewise.
39686 [C99-based-standards] (PRIi16): Likewise.
39687 [C99-based-standards] (PRIo16): Likewise.
39688 [C99-based-standards] (PRIu16): Likewise.
39689 [C99-based-standards] (PRIx16): Likewise.
39690 [C99-based-standards] (PRIX16): Likewise.
39691 [C99-based-standards] (SCNd16): Likewise.
39692 [C99-based-standards] (SCNi16): Likewise.
39693 [C99-based-standards] (SCNo16): Likewise.
39694 [C99-based-standards] (SCNu16): Likewise.
39695 [C99-based-standards] (SCNx16): Likewise.
39696 [C99-based-standards] (PRIdLEAST16): Likewise.
39697 [C99-based-standards] (PRIiLEAST16): Likewise.
39698 [C99-based-standards] (PRIoLEAST16): Likewise.
39699 [C99-based-standards] (PRIuLEAST16): Likewise.
39700 [C99-based-standards] (PRIxLEAST16): Likewise.
39701 [C99-based-standards] (PRIXLEAST16): Likewise.
39702 [C99-based-standards] (SCNdLEAST16): Likewise.
39703 [C99-based-standards] (SCNiLEAST16): Likewise.
39704 [C99-based-standards] (SCNoLEAST16): Likewise.
39705 [C99-based-standards] (SCNuLEAST16): Likewise.
39706 [C99-based-standards] (SCNxLEAST16): Likewise.
39707 [C99-based-standards] (PRIdFAST16): Likewise.
39708 [C99-based-standards] (PRIiFAST16): Likewise.
39709 [C99-based-standards] (PRIoFAST16): Likewise.
39710 [C99-based-standards] (PRIuFAST16): Likewise.
39711 [C99-based-standards] (PRIxFAST16): Likewise.
39712 [C99-based-standards] (PRIXFAST16): Likewise.
39713 [C99-based-standards] (SCNdFAST16): Likewise.
39714 [C99-based-standards] (SCNiFAST16): Likewise.
39715 [C99-based-standards] (SCNoFAST16): Likewise.
39716 [C99-based-standards] (SCNuFAST16): Likewise.
39717 [C99-based-standards] (SCNxFAST16): Likewise.
39718 [C99-based-standards] (PRId32): Likewise.
39719 [C99-based-standards] (PRIi32): Likewise.
39720 [C99-based-standards] (PRIo32): Likewise.
39721 [C99-based-standards] (PRIu32): Likewise.
39722 [C99-based-standards] (PRIx32): Likewise.
39723 [C99-based-standards] (PRIX32): Likewise.
39724 [C99-based-standards] (SCNd32): Likewise.
39725 [C99-based-standards] (SCNi32): Likewise.
39726 [C99-based-standards] (SCNo32): Likewise.
39727 [C99-based-standards] (SCNu32): Likewise.
39728 [C99-based-standards] (SCNx32): Likewise.
39729 [C99-based-standards] (PRIdLEAST32): Likewise.
39730 [C99-based-standards] (PRIiLEAST32): Likewise.
39731 [C99-based-standards] (PRIoLEAST32): Likewise.
39732 [C99-based-standards] (PRIuLEAST32): Likewise.
39733 [C99-based-standards] (PRIxLEAST32): Likewise.
39734 [C99-based-standards] (PRIXLEAST32): Likewise.
39735 [C99-based-standards] (SCNdLEAST32): Likewise.
39736 [C99-based-standards] (SCNiLEAST32): Likewise.
39737 [C99-based-standards] (SCNoLEAST32): Likewise.
39738 [C99-based-standards] (SCNuLEAST32): Likewise.
39739 [C99-based-standards] (SCNxLEAST32): Likewise.
39740 [C99-based-standards] (PRIdFAST32): Likewise.
39741 [C99-based-standards] (PRIiFAST32): Likewise.
39742 [C99-based-standards] (PRIoFAST32): Likewise.
39743 [C99-based-standards] (PRIuFAST32): Likewise.
39744 [C99-based-standards] (PRIxFAST32): Likewise.
39745 [C99-based-standards] (PRIXFAST32): Likewise.
39746 [C99-based-standards] (SCNdFAST32): Likewise.
39747 [C99-based-standards] (SCNiFAST32): Likewise.
39748 [C99-based-standards] (SCNoFAST32): Likewise.
39749 [C99-based-standards] (SCNuFAST32): Likewise.
39750 [C99-based-standards] (SCNxFAST32): Likewise.
39751 [C99-based-standards] (PRId64): Likewise.
39752 [C99-based-standards] (PRIi64): Likewise.
39753 [C99-based-standards] (PRIo64): Likewise.
39754 [C99-based-standards] (PRIu64): Likewise.
39755 [C99-based-standards] (PRIx64): Likewise.
39756 [C99-based-standards] (PRIX64): Likewise.
39757 [C99-based-standards] (SCNd64): Likewise.
39758 [C99-based-standards] (SCNi64): Likewise.
39759 [C99-based-standards] (SCNo64): Likewise.
39760 [C99-based-standards] (SCNu64): Likewise.
39761 [C99-based-standards] (SCNx64): Likewise.
39762 [C99-based-standards] (PRIdLEAST64): Likewise.
39763 [C99-based-standards] (PRIiLEAST64): Likewise.
39764 [C99-based-standards] (PRIoLEAST64): Likewise.
39765 [C99-based-standards] (PRIuLEAST64): Likewise.
39766 [C99-based-standards] (PRIxLEAST64): Likewise.
39767 [C99-based-standards] (PRIXLEAST64): Likewise.
39768 [C99-based-standards] (SCNdLEAST64): Likewise.
39769 [C99-based-standards] (SCNiLEAST64): Likewise.
39770 [C99-based-standards] (SCNoLEAST64): Likewise.
39771 [C99-based-standards] (SCNuLEAST64): Likewise.
39772 [C99-based-standards] (SCNxLEAST64): Likewise.
39773 [C99-based-standards] (PRIdFAST64): Likewise.
39774 [C99-based-standards] (PRIiFAST64): Likewise.
39775 [C99-based-standards] (PRIoFAST64): Likewise.
39776 [C99-based-standards] (PRIuFAST64): Likewise.
39777 [C99-based-standards] (PRIxFAST64): Likewise.
39778 [C99-based-standards] (PRIXFAST64): Likewise.
39779 [C99-based-standards] (SCNdFAST64): Likewise.
39780 [C99-based-standards] (SCNiFAST64): Likewise.
39781 [C99-based-standards] (SCNoFAST64): Likewise.
39782 [C99-based-standards] (SCNuFAST64): Likewise.
39783 [C99-based-standards] (SCNxFAST64): Likewise.
39784 [C99-based-standards] (PRIdMAX): Likewise.
39785 [C99-based-standards] (PRIiMAX): Likewise.
39786 [C99-based-standards] (PRIoMAX): Likewise.
39787 [C99-based-standards] (PRIuMAX): Likewise.
39788 [C99-based-standards] (PRIxMAX): Likewise.
39789 [C99-based-standards] (PRIXMAX): Likewise.
39790 [C99-based-standards] (SCNdMAX): Likewise.
39791 [C99-based-standards] (SCNiMAX): Likewise.
39792 [C99-based-standards] (SCNoMAX): Likewise.
39793 [C99-based-standards] (SCNuMAX): Likewise.
39794 [C99-based-standards] (SCNxMAX): Likewise.
39795 [C99-based-standards] (PRIdPTR): Likewise.
39796 [C99-based-standards] (PRIiPTR): Likewise.
39797 [C99-based-standards] (PRIoPTR): Likewise.
39798 [C99-based-standards] (PRIuPTR): Likewise.
39799 [C99-based-standards] (PRIxPTR): Likewise.
39800 [C99-based-standards] (PRIXPTR): Likewise.
39801 [C99-based-standards] (SCNdPTR): Likewise.
39802 [C99-based-standards] (SCNiPTR): Likewise.
39803 [C99-based-standards] (SCNoPTR): Likewise.
39804 [C99-based-standards] (SCNuPTR): Likewise.
39805 [C99-based-standards] (SCNxPTR): Likewise.
39806 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
39808 * conform/data/stdint.h-data: Update comments to clarify
39810 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
39812 [C99-based standards] (INT8_MAX): Likewise.
39813 [C99-based standards] (INT16_MIN): Likewise.
39814 [C99-based standards] (INT16_MAX): Likewise.
39815 [C99-based standards] (INT32_MIN): Likewise.
39816 [C99-based standards] (INT32_MAX): Likewise.
39817 [C99-based standards] (INT64_MIN): Likewise.
39818 [C99-based standards] (INT64_MAX): Likewise.
39819 [C99-based standards] (UINT8_MAX): Likewise.
39820 [C99-based standards] (UINT16_MAX): Likewise.
39821 [C99-based standards] (UINT32_MAX): Likewise.
39822 [C99-based standards] (UINT64_MAX): Likewise.
39823 [C99-based standards] (INT_LEAST8_MIN): Likewise.
39824 [C99-based standards] (INT_LEAST8_MAX): Likewise.
39825 [C99-based standards] (INT_LEAST16_MIN): Likewise.
39826 [C99-based standards] (INT_LEAST16_MAX): Likewise.
39827 [C99-based standards] (INT_LEAST32_MIN): Likewise.
39828 [C99-based standards] (INT_LEAST32_MAX): Likewise.
39829 [C99-based standards] (INT_LEAST64_MIN): Likewise.
39830 [C99-based standards] (INT_LEAST64_MAX): Likewise.
39831 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
39832 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
39833 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
39834 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
39835 [C99-based standards] (INT_FAST8_MIN): Likewise.
39836 [C99-based standards] (INT_FAST8_MAX): Likewise.
39837 [C99-based standards] (INT_FAST16_MIN): Likewise.
39838 [C99-based standards] (INT_FAST16_MAX): Likewise.
39839 [C99-based standards] (INT_FAST32_MIN): Likewise.
39840 [C99-based standards] (INT_FAST32_MAX): Likewise.
39841 [C99-based standards] (INT_FAST64_MIN): Likewise.
39842 [C99-based standards] (INT_FAST64_MAX): Likewise.
39843 [C99-based standards] (UINT_FAST8_MAX): Likewise.
39844 [C99-based standards] (UINT_FAST16_MAX): Likewise.
39845 [C99-based standards] (UINT_FAST32_MAX): Likewise.
39846 [C99-based standards] (UINT_FAST64_MAX): Likewise.
39847 [C99-based standards] (INTPTR_MIN): Likewise.
39848 [C99-based standards] (INTPTR_MAX): Likewise.
39849 [C99-based standards] (UINTPTR_MAX): Likewise.
39850 [C99-based standards] (INTMAX_MIN): Likewise.
39851 [C99-based standards] (INTMAX_MAX): Likewise.
39852 [C99-based standards] (UINTMAX_MAX): Likewise.
39853 [C99-based standards] (PTRDIFF_MIN): Likewise.
39854 [C99-based standards] (PTRDIFF_MAX): Likewise.
39855 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
39856 [C99-based standards] (SIZE_MAX): Likewise.
39857 [C99-based standards] (WCHAR_MAX): Likewise.
39858 [C99-based standards] (WINT_MAX): Likewise.
39859 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
39860 constraint on value.
39861 [C99-based standards] (WCHAR_MIN): Likewise.
39862 [C99-based standards] (WINT_MIN): Likewise.
39863 [C99-based standards] (*_t): Allow.
39864 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
39865 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
39866 Include math.h-data and complex.h-data. Remove all expectations
39867 of math.h and complex.h contents.
39868 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
39870 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
39871 (struct tm): Expect tag.
39872 [C99-based-standards] (wcstof): Expect function.
39873 [C99-based-standards] (wcstold): Likewise.
39874 [C99-based-standards] (wcstoll): Likewise.
39875 [C99-based-standards] (wcstoull): Likewise.
39876 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
39877 macro-int-constant. Specify type.
39878 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
39879 constraint on value.
39880 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
39882 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
39884 [ISO C standards]: Do not allow headers.
39885 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
39886 wcs[abcdefghijklmnopqrstuvwxyz]*.
39887 [ISO C standards] (*_t): Do not allow.
39888 * conform/data/wctype.h-data [C99-based standards] (iswblank):
39890 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
39891 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
39893 [ISO C standards]: Do not allow headers.
39894 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
39895 is[abcdefghijklmnopqrstuvwxyz]*.
39896 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
39897 to[abcdefghijklmnopqrstuvwxyz]*.
39898 [ISO C standards] (*_t): Do not allow.
39899 * conform/data/stdalign.h-data: New file.
39900 * conform/data/stdbool.h-data: Likewise.
39901 * conform/data/stdnoreturn.h-data: Likewise.
39903 2012-11-07 Roland McGrath <roland@hack.frob.com>
39906 * manual/filesys.texi (Directory Entries): Typo fix.
39907 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
39909 2012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
39911 * elf/elf.h (EM_AARCH64): New macro.
39912 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
39913 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
39914 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
39915 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
39916 (R_AARCH64_TLSDESC): Likewise.
39917 (NT_ARM_TLS): Likewise.
39918 (NT_ARM_HW_BREAK): Likewise.
39919 (NT_ARM_HW_WATCH): Likewise.
39921 2012-11-07 Joseph Myers <joseph@codesourcery.com>
39924 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
39925 (__ieee754_powl): Saturate nonzero exponents with absolute value
39926 below 0x1p-79 to +/- 0x1p-79.
39927 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
39928 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
39929 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
39930 nonzero exponents with absolute value below 0x1p-32 to +/-
39932 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
39933 (__ieee754_powl): Saturate nonzero exponents with absolute value
39934 below 0x1p-79 to +/- 0x1p-79.
39935 * math/libm-test.inc (pow_test): Add more tests.
39937 2012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
39939 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
39940 _dl_s390_cap_flags with kernel. Increase string length.
39941 (_dl_s390_platforms): Add z196 and zEC12.
39943 2012-11-07 Joseph Myers <joseph@codesourcery.com>
39945 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
39946 Change XOPEN21K to XOPEN2K.
39948 2012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
39950 * string/memmove.c: Use memcpy when possible.
39952 2012-11-06 Andreas Jaeger <aj@suse.de>
39954 * po/eo.po: Update from translation team.
39956 2012-11-06 Joseph Myers <joseph@codesourcery.com>
39959 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
39960 exponent and small x and y exponents, scale x or y up. Increase
39961 by 2 the exponent used in scaling up.
39962 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
39963 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
39964 * math/libm-test.inc (fma_test): Add more tests.
39965 (fma_test_towardzero): Likewise.
39966 (fma_test_downward): Likewise.
39967 (fma_test_upward): Likewise.
39969 2012-11-05 Joseph Myers <joseph@codesourcery.com>
39972 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
39976 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
39977 namespace for names of struct fields.
39978 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
39980 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
39981 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
39983 2012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
39986 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
39988 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
39990 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
39994 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
39997 2012-11-04 Joseph Myers <joseph@codesourcery.com>
40000 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
40001 definitely overflow as x * y not x * y + z.
40002 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
40003 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
40004 * math/libm-test.inc (fma_test): Add more tests.
40005 (fma_test_towardzero): Likewise.
40006 (fma_test_downward): Likewise.
40007 (fma_test_upward): Likewise.
40009 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
40013 * include/stub-tag.h: Remove file.
40014 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
40016 * manual/maint.texi (Porting): Don't reference it.
40017 * Makerules ($(objpfx)stubs): Likewise.
40018 * dirent/closedir.c: Don't include <stub-tag.h>.
40019 * dirent/dirfd.c: Likewise.
40020 * dirent/fdopendir.c: Likewise.
40021 * dirent/getdents.c: Likewise.
40022 * dirent/getdents64.c: Likewise.
40023 * dirent/opendir.c: Likewise.
40024 * dirent/readdir.c: Likewise.
40025 * dirent/readdir64.c: Likewise.
40026 * dirent/readdir64_r.c: Likewise.
40027 * dirent/readdir_r.c: Likewise.
40028 * dirent/rewinddir.c: Likewise.
40029 * dirent/seekdir.c: Likewise.
40030 * dirent/telldir.c: Likewise.
40031 * gmon/profil.c: Likewise.
40032 * grp/setgroups.c: Likewise.
40033 * inet/if_index.c: Likewise.
40034 * io/access.c: Likewise.
40035 * io/chdir.c: Likewise.
40036 * io/chmod.c: Likewise.
40037 * io/chown.c: Likewise.
40038 * io/close.c: Likewise.
40039 * io/dup.c: Likewise.
40040 * io/dup2.c: Likewise.
40041 * io/dup3.c: Likewise.
40042 * io/euidaccess.c: Likewise.
40043 * io/faccessat.c: Likewise.
40044 * io/fchdir.c: Likewise.
40045 * io/fchmod.c: Likewise.
40046 * io/fchmodat.c: Likewise.
40047 * io/fchown.c: Likewise.
40048 * io/fchownat.c: Likewise.
40049 * io/fcntl.c: Likewise.
40050 * io/flock.c: Likewise.
40051 * io/fstatfs.c: Likewise.
40052 * io/fstatfs64.c: Likewise.
40053 * io/fstatvfs.c: Likewise.
40054 * io/fstatvfs64.c: Likewise.
40055 * io/futimens.c: Likewise.
40056 * io/fxstat.c: Likewise.
40057 * io/fxstat64.c: Likewise.
40058 * io/fxstatat.c: Likewise.
40059 * io/fxstatat64.c: Likewise.
40060 * io/getcwd.c: Likewise.
40061 * io/isatty.c: Likewise.
40062 * io/lchmod.c: Likewise.
40063 * io/lchown.c: Likewise.
40064 * io/link.c: Likewise.
40065 * io/linkat.c: Likewise.
40066 * io/lseek.c: Likewise.
40067 * io/lseek64.c: Likewise.
40068 * io/lxstat64.c: Likewise.
40069 * io/mkdir.c: Likewise.
40070 * io/mkdirat.c: Likewise.
40071 * io/mkfifo.c: Likewise.
40072 * io/mkfifoat.c: Likewise.
40073 * io/open.c: Likewise.
40074 * io/open64.c: Likewise.
40075 * io/openat.c: Likewise.
40076 * io/openat64.c: Likewise.
40077 * io/pipe.c: Likewise.
40078 * io/pipe2.c: Likewise.
40079 * io/poll.c: Likewise.
40080 * io/posix_fadvise.c: Likewise.
40081 * io/posix_fadvise64.c: Likewise.
40082 * io/posix_fallocate.c: Likewise.
40083 * io/posix_fallocate64.c: Likewise.
40084 * io/read.c: Likewise.
40085 * io/readlink.c: Likewise.
40086 * io/readlinkat.c: Likewise.
40087 * io/rmdir.c: Likewise.
40088 * io/sendfile.c: Likewise.
40089 * io/sendfile64.c: Likewise.
40090 * io/statfs.c: Likewise.
40091 * io/statfs64.c: Likewise.
40092 * io/statvfs.c: Likewise.
40093 * io/statvfs64.c: Likewise.
40094 * io/symlink.c: Likewise.
40095 * io/symlinkat.c: Likewise.
40096 * io/ttyname.c: Likewise.
40097 * io/ttyname_r.c: Likewise.
40098 * io/umask.c: Likewise.
40099 * io/unlink.c: Likewise.
40100 * io/unlinkat.c: Likewise.
40101 * io/utime.c: Likewise.
40102 * io/utimensat.c: Likewise.
40103 * io/write.c: Likewise.
40104 * io/xmknod.c: Likewise.
40105 * io/xmknodat.c: Likewise.
40106 * io/xstat.c: Likewise.
40107 * io/xstat64.c: Likewise.
40108 * login/getpt.c: Likewise.
40109 * login/grantpt.c: Likewise.
40110 * login/unlockpt.c: Likewise.
40111 * math/e_acoshl.c: Likewise.
40112 * math/e_acosl.c: Likewise.
40113 * math/e_asinl.c: Likewise.
40114 * math/e_atan2l.c: Likewise.
40115 * math/e_atanhl.c: Likewise.
40116 * math/e_coshl.c: Likewise.
40117 * math/e_expl.c: Likewise.
40118 * math/e_fmodl.c: Likewise.
40119 * math/e_gammal_r.c: Likewise.
40120 * math/e_hypotl.c: Likewise.
40121 * math/e_j0l.c: Likewise.
40122 * math/e_j1l.c: Likewise.
40123 * math/e_jnl.c: Likewise.
40124 * math/e_lgammal_r.c: Likewise.
40125 * math/e_log10l.c: Likewise.
40126 * math/e_log2l.c: Likewise.
40127 * math/e_logl.c: Likewise.
40128 * math/e_powl.c: Likewise.
40129 * math/e_rem_pio2l.c: Likewise.
40130 * math/e_sinhl.c: Likewise.
40131 * math/e_sqrtl.c: Likewise.
40132 * math/fclrexcpt.c: Likewise.
40133 * math/fedisblxcpt.c: Likewise.
40134 * math/feenablxcpt.c: Likewise.
40135 * math/fegetenv.c: Likewise.
40136 * math/fegetexcept.c: Likewise.
40137 * math/fegetround.c: Likewise.
40138 * math/feholdexcpt.c: Likewise.
40139 * math/fesetenv.c: Likewise.
40140 * math/fesetround.c: Likewise.
40141 * math/feupdateenv.c: Likewise.
40142 * math/fgetexcptflg.c: Likewise.
40143 * math/fraiseexcpt.c: Likewise.
40144 * math/fsetexcptflg.c: Likewise.
40145 * math/ftestexcept.c: Likewise.
40146 * math/k_cosl.c: Likewise.
40147 * math/k_rem_pio2l.c: Likewise.
40148 * math/k_sinl.c: Likewise.
40149 * math/k_tanl.c: Likewise.
40150 * math/s_asinhl.c: Likewise.
40151 * math/s_atanl.c: Likewise.
40152 * math/s_cbrtl.c: Likewise.
40153 * math/s_erfl.c: Likewise.
40154 * math/s_expm1l.c: Likewise.
40155 * math/s_log1pl.c: Likewise.
40156 * math/s_tanhl.c: Likewise.
40157 * misc/acct.c: Likewise.
40158 * misc/brk.c: Likewise.
40159 * misc/chflags.c: Likewise.
40160 * misc/chroot.c: Likewise.
40161 * misc/fchflags.c: Likewise.
40162 * misc/fgetxattr.c: Likewise.
40163 * misc/flistxattr.c: Likewise.
40164 * misc/fremovexattr.c: Likewise.
40165 * misc/fsetxattr.c: Likewise.
40166 * misc/fsync.c: Likewise.
40167 * misc/ftruncate.c: Likewise.
40168 * misc/futimes.c: Likewise.
40169 * misc/futimesat.c: Likewise.
40170 * misc/getdomain.c: Likewise.
40171 * misc/getdtsz.c: Likewise.
40172 * misc/gethostid.c: Likewise.
40173 * misc/gethostname.c: Likewise.
40174 * misc/getloadavg.c: Likewise.
40175 * misc/getpagesize.c: Likewise.
40176 * misc/getsysstats.c: Likewise.
40177 * misc/getxattr.c: Likewise.
40178 * misc/gtty.c: Likewise.
40179 * misc/ioctl.c: Likewise.
40180 * misc/lgetxattr.c: Likewise.
40181 * misc/listxattr.c: Likewise.
40182 * misc/llistxattr.c: Likewise.
40183 * misc/lremovexattr.c: Likewise.
40184 * misc/lsetxattr.c: Likewise.
40185 * misc/lutimes.c: Likewise.
40186 * misc/madvise.c: Likewise.
40187 * misc/mincore.c: Likewise.
40188 * misc/mlock.c: Likewise.
40189 * misc/mlockall.c: Likewise.
40190 * misc/mmap.c: Likewise.
40191 * misc/mprotect.c: Likewise.
40192 * misc/msync.c: Likewise.
40193 * misc/munlock.c: Likewise.
40194 * misc/munlockall.c: Likewise.
40195 * misc/munmap.c: Likewise.
40196 * misc/preadv.c: Likewise.
40197 * misc/preadv64.c: Likewise.
40198 * misc/ptrace.c: Likewise.
40199 * misc/pwritev.c: Likewise.
40200 * misc/pwritev64.c: Likewise.
40201 * misc/readv.c: Likewise.
40202 * misc/reboot.c: Likewise.
40203 * misc/remap_file_pages.c: Likewise.
40204 * misc/removexattr.c: Likewise.
40205 * misc/revoke.c: Likewise.
40206 * misc/select.c: Likewise.
40207 * misc/setdomain.c: Likewise.
40208 * misc/setegid.c: Likewise.
40209 * misc/seteuid.c: Likewise.
40210 * misc/sethostid.c: Likewise.
40211 * misc/sethostname.c: Likewise.
40212 * misc/setregid.c: Likewise.
40213 * misc/setreuid.c: Likewise.
40214 * misc/setxattr.c: Likewise.
40215 * misc/sstk.c: Likewise.
40216 * misc/stty.c: Likewise.
40217 * misc/swapoff.c: Likewise.
40218 * misc/swapon.c: Likewise.
40219 * misc/sync.c: Likewise.
40220 * misc/syncfs.c: Likewise.
40221 * misc/syscall.c: Likewise.
40222 * misc/truncate.c: Likewise.
40223 * misc/ualarm.c: Likewise.
40224 * misc/usleep.c: Likewise.
40225 * misc/ustat.c: Likewise.
40226 * misc/utimes.c: Likewise.
40227 * misc/vhangup.c: Likewise.
40228 * misc/writev.c: Likewise.
40229 * posix/_exit.c: Likewise.
40230 * posix/alarm.c: Likewise.
40231 * posix/execve.c: Likewise.
40232 * posix/fexecve.c: Likewise.
40233 * posix/fork.c: Likewise.
40234 * posix/fpathconf.c: Likewise.
40235 * posix/getaddrinfo.c: Likewise.
40236 * posix/getegid.c: Likewise.
40237 * posix/geteuid.c: Likewise.
40238 * posix/getgid.c: Likewise.
40239 * posix/getgroups.c: Likewise.
40240 * posix/getlogin.c: Likewise.
40241 * posix/getlogin_r.c: Likewise.
40242 * posix/getpgid.c: Likewise.
40243 * posix/getpid.c: Likewise.
40244 * posix/getppid.c: Likewise.
40245 * posix/getresgid.c: Likewise.
40246 * posix/getresuid.c: Likewise.
40247 * posix/getsid.c: Likewise.
40248 * posix/getuid.c: Likewise.
40249 * posix/glob64.c: Likewise.
40250 * posix/nanosleep.c: Likewise.
40251 * posix/pathconf.c: Likewise.
40252 * posix/pause.c: Likewise.
40253 * posix/posix_madvise.c: Likewise.
40254 * posix/pread.c: Likewise.
40255 * posix/pread64.c: Likewise.
40256 * posix/pwrite.c: Likewise.
40257 * posix/pwrite64.c: Likewise.
40258 * posix/sched_getaffinity.c: Likewise.
40259 * posix/sched_getp.c: Likewise.
40260 * posix/sched_gets.c: Likewise.
40261 * posix/sched_primax.c: Likewise.
40262 * posix/sched_primin.c: Likewise.
40263 * posix/sched_rr_gi.c: Likewise.
40264 * posix/sched_setaffinity.c: Likewise.
40265 * posix/sched_setp.c: Likewise.
40266 * posix/sched_sets.c: Likewise.
40267 * posix/sched_yield.c: Likewise.
40268 * posix/setgid.c: Likewise.
40269 * posix/setlogin.c: Likewise.
40270 * posix/setpgid.c: Likewise.
40271 * posix/setresgid.c: Likewise.
40272 * posix/setresuid.c: Likewise.
40273 * posix/setsid.c: Likewise.
40274 * posix/setuid.c: Likewise.
40275 * posix/sleep.c: Likewise.
40276 * posix/spawni.c: Likewise.
40277 * posix/sysconf.c: Likewise.
40278 * posix/times.c: Likewise.
40279 * posix/wait.c: Likewise.
40280 * posix/wait3.c: Likewise.
40281 * posix/wait4.c: Likewise.
40282 * posix/waitpid.c: Likewise.
40283 * resolv/gai_sigqueue.c: Likewise.
40284 * resource/getpriority.c: Likewise.
40285 * resource/getrlimit.c: Likewise.
40286 * resource/getrusage.c: Likewise.
40287 * resource/nice.c: Likewise.
40288 * resource/setpriority.c: Likewise.
40289 * resource/setrlimit.c: Likewise.
40290 * resource/ulimit.c: Likewise.
40291 * rt/aio_cancel.c: Likewise.
40292 * rt/aio_fsync.c: Likewise.
40293 * rt/aio_read.c: Likewise.
40294 * rt/aio_sigqueue.c: Likewise.
40295 * rt/aio_suspend.c: Likewise.
40296 * rt/aio_write.c: Likewise.
40297 * rt/clock_getres.c: Likewise.
40298 * rt/clock_gettime.c: Likewise.
40299 * rt/clock_nanosleep.c: Likewise.
40300 * rt/clock_settime.c: Likewise.
40301 * rt/lio_listio.c: Likewise.
40302 * rt/mq_close.c: Likewise.
40303 * rt/mq_getattr.c: Likewise.
40304 * rt/mq_notify.c: Likewise.
40305 * rt/mq_open.c: Likewise.
40306 * rt/mq_receive.c: Likewise.
40307 * rt/mq_send.c: Likewise.
40308 * rt/mq_setattr.c: Likewise.
40309 * rt/mq_timedreceive.c: Likewise.
40310 * rt/mq_timedsend.c: Likewise.
40311 * rt/mq_unlink.c: Likewise.
40312 * rt/shm_open.c: Likewise.
40313 * rt/shm_unlink.c: Likewise.
40314 * rt/timer_create.c: Likewise.
40315 * rt/timer_delete.c: Likewise.
40316 * rt/timer_getoverr.c: Likewise.
40317 * rt/timer_gettime.c: Likewise.
40318 * rt/timer_settime.c: Likewise.
40319 * setjmp/__longjmp.c: Likewise.
40320 * setjmp/setjmp.c: Likewise.
40321 * signal/kill.c: Likewise.
40322 * signal/killpg.c: Likewise.
40323 * signal/raise.c: Likewise.
40324 * signal/sigaction.c: Likewise.
40325 * signal/sigaltstack.c: Likewise.
40326 * signal/sigblock.c: Likewise.
40327 * signal/sigignore.c: Likewise.
40328 * signal/sigintr.c: Likewise.
40329 * signal/signal.c: Likewise.
40330 * signal/sigpause.c: Likewise.
40331 * signal/sigpending.c: Likewise.
40332 * signal/sigqueue.c: Likewise.
40333 * signal/sigreturn.c: Likewise.
40334 * signal/sigset.c: Likewise.
40335 * signal/sigsetmask.c: Likewise.
40336 * signal/sigstack.c: Likewise.
40337 * signal/sigsuspend.c: Likewise.
40338 * signal/sigtimedwait.c: Likewise.
40339 * signal/sigvec.c: Likewise.
40340 * signal/sigwait.c: Likewise.
40341 * signal/sigwaitinfo.c: Likewise.
40342 * signal/sysv_signal.c: Likewise.
40343 * socket/accept.c: Likewise.
40344 * socket/accept4.c: Likewise.
40345 * socket/bind.c: Likewise.
40346 * socket/connect.c: Likewise.
40347 * socket/getpeername.c: Likewise.
40348 * socket/getsockname.c: Likewise.
40349 * socket/getsockopt.c: Likewise.
40350 * socket/isfdtype.c: Likewise.
40351 * socket/listen.c: Likewise.
40352 * socket/recv.c: Likewise.
40353 * socket/recvfrom.c: Likewise.
40354 * socket/recvmsg.c: Likewise.
40355 * socket/send.c: Likewise.
40356 * socket/sendmsg.c: Likewise.
40357 * socket/sendto.c: Likewise.
40358 * socket/setsockopt.c: Likewise.
40359 * socket/shutdown.c: Likewise.
40360 * socket/sockatmark.c: Likewise.
40361 * socket/socket.c: Likewise.
40362 * socket/socketpair.c: Likewise.
40363 * stdio-common/ctermid.c: Likewise.
40364 * stdio-common/cuserid.c: Likewise.
40365 * stdio-common/remove.c: Likewise.
40366 * stdio-common/rename.c: Likewise.
40367 * stdio-common/renameat.c: Likewise.
40368 * stdio-common/tempname.c: Likewise.
40369 * stdlib/getcontext.c: Likewise.
40370 * stdlib/makecontext.c: Likewise.
40371 * stdlib/setcontext.c: Likewise.
40372 * stdlib/swapcontext.c: Likewise.
40373 * stdlib/system.c: Likewise.
40374 * streams/fattach.c: Likewise.
40375 * streams/fdetach.c: Likewise.
40376 * streams/getmsg.c: Likewise.
40377 * streams/getpmsg.c: Likewise.
40378 * streams/putmsg.c: Likewise.
40379 * streams/putpmsg.c: Likewise.
40380 * sysdeps/unix/bsd/getpt.c: Likewise.
40381 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
40382 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
40383 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
40384 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
40386 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
40387 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
40388 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
40389 * sysvipc/msgctl.c: Likewise.
40390 * sysvipc/msgget.c: Likewise.
40391 * sysvipc/msgrcv.c: Likewise.
40392 * sysvipc/msgsnd.c: Likewise.
40393 * sysvipc/semctl.c: Likewise.
40394 * sysvipc/semget.c: Likewise.
40395 * sysvipc/semop.c: Likewise.
40396 * sysvipc/semtimedop.c: Likewise.
40397 * sysvipc/shmat.c: Likewise.
40398 * sysvipc/shmctl.c: Likewise.
40399 * sysvipc/shmdt.c: Likewise.
40400 * sysvipc/shmget.c: Likewise.
40401 * termios/tcdrain.c: Likewise.
40402 * termios/tcflow.c: Likewise.
40403 * termios/tcflush.c: Likewise.
40404 * termios/tcgetattr.c: Likewise.
40405 * termios/tcgetpgrp.c: Likewise.
40406 * termios/tcsendbrk.c: Likewise.
40407 * termios/tcsetattr.c: Likewise.
40408 * termios/tcsetpgrp.c: Likewise.
40409 * time/adjtime.c: Likewise.
40410 * time/clock.c: Likewise.
40411 * time/getitimer.c: Likewise.
40412 * time/gettimeofday.c: Likewise.
40413 * time/setitimer.c: Likewise.
40414 * time/settimeofday.c: Likewise.
40415 * time/stime.c: Likewise.
40416 * time/time.c: Likewise.
40418 2012-11-04 Pino Toscano <toscano.pino@tiscali.it>
40420 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
40423 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
40425 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
40427 2012-11-03 Joseph Myers <joseph@codesourcery.com>
40430 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
40431 FE_TONEAREST before applying Dekker multiplication and Knuth
40432 addition. Clear inexact exceptions and check for exact zero
40433 results afterwards.
40434 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
40435 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
40436 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
40437 * math/libm-test.inc (fma_test): Add more tests.
40438 (fma_test_towardzero): Likewise.
40439 (fma_test_downward): Likewise.
40440 (fma_test_upward): Likewise.
40441 * sysdeps/generic/math_private.h (default_libc_fesetround): New
40443 (libc_fesetround): New macro.
40444 (libc_fesetroundf): Likewise.
40445 (libc_fesetroundl): Likewise.
40446 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
40448 (libc_fesetround_387): Likewise.
40449 (libc_fesetroundf): New macro.
40450 (libc_fesetround): Likewise.
40451 (libc_fesetroundl): Likewise.
40452 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
40454 (libc_fesetroundf): New macro.
40455 (libc_fesetround): Likewise.
40456 (libc_fesetroundl): Likewise.
40457 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
40458 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
40459 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
40461 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
40462 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
40464 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
40465 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
40467 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
40471 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
40472 integer constant usable in #if and use that to give value to enum
40474 (FE_DIVBYZERO): Likewise.
40475 (FE_UNDERFLOW): Likewise.
40476 (FE_OVERFLOW): Likewise.
40477 (FE_INVALID): Likewise.
40478 (FE_INVALID_SNAN): Likewise.
40479 (FE_INVALID_ISI): Likewise.
40480 (FE_INVALID_IDI): Likewise.
40481 (FE_INVALID_ZDZ): Likewise.
40482 (FE_INVALID_IMZ): Likewise.
40483 (FE_INVALID_COMPARE): Likewise.
40484 (FE_INVALID_SOFTWARE): Likewise.
40485 (FE_INVALID_SQRT): Likewise.
40486 (FE_INVALID_INTEGER_CONVERSION): Likewise.
40487 (FE_TONEAREST): Likewise.
40488 (FE_TOWARDZERO): Likewise.
40489 (FE_UPWARD): Likewise.
40490 (FE_DOWNWARD): Likewise.
40491 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
40492 (FE_DIVBYZERO): Likewise.
40493 (FE_OVERFLOW): Likewise.
40494 (FE_UNDERFLOW): Likewise.
40495 (FE_INEXACT): Likewise.
40496 (FE_TONEAREST): Likewise.
40497 (FE_DOWNWARD): Likewise.
40498 (FE_UPWARD): Likewise.
40499 (FE_TOWARDZERO): Likewise.
40500 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
40501 (FE_UNDERFLOW): Likewise.
40502 (FE_OVERFLOW): Likewise.
40503 (FE_DIVBYZERO): Likewise.
40504 (FE_INVALID): Likewise.
40505 (FE_TONEAREST): Likewise.
40506 (FE_TOWARDZERO): Likewise.
40507 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
40508 (FE_OVERFLOW): Likewise.
40509 (FE_UNDERFLOW): Likewise.
40510 (FE_DIVBYZERO): Likewise.
40511 (FE_INEXACT): Likewise.
40512 (FE_TONEAREST): Likewise.
40513 (FE_TOWARDZERO): Likewise.
40514 (FE_UPWARD): Likewise.
40515 (FE_DOWNWARD): Likewise.
40516 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
40517 (FE_DIVBYZERO): Likewise.
40518 (FE_OVERFLOW): Likewise.
40519 (FE_UNDERFLOW): Likewise.
40520 (FE_INEXACT): Likewise.
40521 (FE_TONEAREST): Likewise.
40522 (FE_DOWNWARD): Likewise.
40523 (FE_UPWARD): Likewise.
40524 (FE_TOWARDZERO): Likewise.
40526 2012-11-02 Chris Metcalf <cmetcalf@tilera.com>
40528 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
40530 2012-11-03 Andreas Schwab <schwab@linux-m68k.org>
40532 * scripts/cross-test-ssh.sh (command): Use newlines to separate
40533 commands. Quote $PWD.
40534 (blacklist_exports): Don't use remove_newlines. Replace "declare
40536 (remove_newlines): Remove.
40538 2012-11-02 H.J. Lu <hongjiu.lu@intel.com>
40540 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
40541 * stdlib/stdlib.h (atof): Moved to ...
40542 * include/bits/stdlib-float.h: Here. New file.
40543 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
40544 * stdlib/bits/stdlib-float.h: New file.
40545 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
40547 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
40550 2012-11-02 Joseph Myers <joseph@codesourcery.com>
40552 * conform/conformtest.pl (@headers): Add fenv.h.
40553 * conform/data/fenv.h-data: New file.
40554 * include/fenv.h [_ISOMAC]: Disable all contents of file except
40555 include of <math/fenv.h>.
40557 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
40558 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
40559 && !UNIX98]. Enables tests for XOPEN2K8.
40560 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
40561 POSIX2008]: Likewise.
40563 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
40564 (struct rusage): Do not expect type or its members.
40567 * math/math.h (FP_NAN): Define macro to integer constant usable in
40568 #if and use that to give value to enum constant.
40569 (FP_INFINITE): Likewise.
40570 (FP_ZERO): Likewise.
40571 (FP_SUBNORMAL): Likewise.
40572 (FP_NORMAL): Likewise.
40574 2012-11-02 Andreas Schwab <schwab@linux-m68k.org>
40576 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
40577 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
40580 2012-11-02 Roland McGrath <roland@hack.frob.com>
40582 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
40583 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
40584 autoconf-time if not.
40585 * configure.in: Remove AC_PREREQ.
40587 2012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
40589 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
40590 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
40591 of the internal implementation.
40593 2012-11-02 Joseph Myers <joseph@codesourcery.com>
40595 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
40596 except include of <misc/sys/syslog.h>.
40598 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
40600 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
40601 function returns with a NULL context exit with zero.
40603 2012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
40605 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
40607 2012-11-01 H.J. Lu <hongjiu.lu@intel.com>
40609 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
40610 (run_program_cmd): This.
40611 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
40612 (tst_langinfo): New variable. Use it.
40614 2012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
40616 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
40617 floating point opcodes.
40619 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
40621 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
40624 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
40626 * sysdeps/mach/hurd/powerpc: Remove directory.
40627 * sysdeps/mach/powerpc: Likewise.
40629 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
40631 * scripts/check-local-headers.sh: Ignore c++ headers.
40633 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
40635 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
40636 __libc_cleanup_region_start argument.
40638 2012-11-01 Joseph Myers <joseph@codesourcery.com>
40642 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
40643 x * y using scaling, not as x * y + z.
40644 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
40645 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
40646 * math/libm-test.inc (fma_test): Add more tests.
40647 (fma_test_towardzero): Likewise.
40648 (fma_test_downward): Likewise.
40649 (fma_test_upward): Likewise.
40651 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
40653 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
40655 2012-10-31 Joseph Myers <joseph@codesourcery.com>
40657 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
40660 2012-10-31 Thomas Schwinge <thomas@codesourcery.com>
40662 * rt/tst-shm.c (worker): Correct checking for mmap failure.
40664 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
40666 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
40668 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
40671 2012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
40673 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
40674 Fix the order of the list for glibc 2.17.
40675 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
40678 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
40680 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
40682 2012-10-31 Joseph Myers <joseph@codesourcery.com>
40685 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
40686 for low part of x being zero before using __atanl (y).
40687 * math/libm-test.inc (atan2_test): Add another test.
40689 * manual/install.texi (Configuring and compiling): Document
40690 general use of test-wrapper and test-wrapper-env.
40691 * INSTALL: Regenerated.
40693 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
40694 (__fma): Do not extract and scale down low bits on after-rounding
40695 systems when result rounded to normal precision would have normal
40697 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
40698 (__fmal): Do not extract and scale down low bits on after-rounding
40699 systems when result rounded to normal precision would have normal
40701 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
40702 (__fmal): Do not extract and scale down low bits on after-rounding
40703 systems when result rounded to normal precision would have normal
40705 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
40707 (fma_test): Add more tests.
40708 (fma_test_towardzero): Likewise.
40709 (fma_test_downward): Likewise.
40710 (fma_test_upward): Likewise.
40712 2012-10-30 H.J. Lu <hongjiu.lu@intel.com>
40714 * sysdeps/i386/tininess.h: Renamed to ...
40715 * sysdeps/x86/tininess.h: This.
40716 * sysdeps/x86_64/tininess.h: Removed.
40718 2012-10-30 Joseph Myers <joseph@codesourcery.com>
40720 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
40721 input. Use $(build-program-cmd).
40722 ($(objpfx)tst-array1-static.out): Likewise.
40723 ($(objpfx)tst-array2.out): Likewise.
40724 ($(objpfx)tst-array3.out): Likewise.
40725 ($(objpfx)tst-array4.out): Likewise.
40726 ($(objpfx)tst-array5.out): Likewise.
40727 ($(objpfx)tst-array5-static.out): Likewise.
40729 2012-10-30 Chris Metcalf <cmetcalf@tilera.com>
40731 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
40734 * nss/nsswitch.h (nss_interface_function): Provide new
40735 macro for use with NSS functions.
40736 * grp/initgroups.c: Use new macro.
40737 * nss/getXXbyYY.c: Likewise.
40738 * nss/getXXbyYY_r.c: Likewise.
40739 * nss/getXXent.c: Likewise.
40740 * nss/getXXent_r.c: Likewise.
40741 * sysdeps/posix/getaddrinfo.c: Likewise.
40743 2012-10-30 Andreas Jaeger <aj@suse.de>
40745 * po/ru.po: Update Russion translation from translation project.
40747 2012-10-30 Joseph Myers <joseph@codesourcery.com>
40751 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
40752 result and shift together with sticky bit instead of replicating
40753 round-to-nearest rounding.
40754 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
40755 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
40756 * math/libm-test.inc (fma_test): Add more tests. Do not permit
40757 missing underflow exceptions.
40758 (fma_test_towardzero): Add more tests.
40759 (fma_test_downward): Likewise.
40760 (fma_test_upward): Likewise.
40763 * sysdeps/generic/tininess.h: New file.
40764 * sysdeps/i386/tininess.h: Likewise.
40765 * sysdeps/sh/tininess.h: Likewise.
40766 * sysdeps/x86_64/tininess.h: Likewise.
40767 * stdlib/tst-strtod-underflow.c: Likewise.
40768 * stdlib/tst-tininess.c: Likewise.
40769 * stdlib/strtod_l.c: Include <tininess.h>.
40770 (round_and_return): Do not set errno for exact underflow cases.
40771 Force an underflow exception when setting errno for underflow.
40772 Determine underflow based on rounding to normal precision if
40773 TININESS_AFTER_ROUNDING.
40774 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
40775 ERANGE for exact underflow cases.
40776 * stdlib/Makefile (tests): Add tst-tininess and
40777 tst-strtod-underflow.
40778 ($(objpfx)tst-tininess): Use $(link-libm).
40779 ($(objpfx)tst-strtod-underflow): Likewise.
40781 2012-10-30 Andreas Jaeger <aj@suse.de>
40784 * elf/Makefile (tests): Remove conditional for have-initfini-array
40785 since this is now always required and the variable does not exist
40787 (tests-static): Likewise.
40788 (modules-names): Likewise.
40790 * po/eo.po: Add Esperanto translation from translation project.
40792 * elf/tst-array1.c (fini_array): Make writeable so that it can be
40793 merged with constructor/destructor.
40794 (init_array): Likewise.
40795 * elf/tst-array2dep.c (fini_array): Likewise.
40796 (init_array): Likewise.
40798 2012-10-29 Mike Frysinger <vapier@gentoo.org>
40800 * manual/message.texi: Delete @cartouche tags.
40802 2012-10-29 Pino Toscano <toscano.pino@tiscali.it>
40804 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
40806 * sysdeps/mach/hurd/fsync.c: Likewise.
40808 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
40809 [_POSIX_REALTIME_SIGNALS]: Change condition to
40810 [_POSIX_REALTIME_SIGNALS > 0].
40812 2012-10-27 Andreas Jaeger <aj@suse.de>
40814 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
40815 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
40816 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
40817 [__WORDSIZE != 64]: Likewise.
40819 2012-10-26 H.J. Lu <hongjiu.lu@intel.com>
40821 * iconvdata/tst-table.sh: Remove ${SHELL}.
40822 * iconvdata/tst-tables.sh: Likewise.
40824 2012-10-25 David S. Miller <davem@davemloft.net>
40826 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
40827 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
40830 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
40832 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
40833 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
40834 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
40837 2012-10-25 Roland McGrath <roland@hack.frob.com>
40839 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
40840 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
40843 2012-10-25 Joseph Myers <joseph@codesourcery.com>
40844 Jim Blandy <jimb@codesourcery.com>
40846 * scripts/cross-test-ssh.sh: New file.
40847 * manual/install.texi (Configuring and compiling): Document use of
40849 * INSTALL: Regenerated.
40851 2012-10-25 Pino Toscano <toscano.pino@tiscali.it>
40853 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
40856 2012-10-25 Joseph Myers <joseph@codesourcery.com>
40858 * Makeconfig (run-program-prefix): Fix comment.
40860 2012-10-24 Joseph Myers <joseph@codesourcery.com>
40861 Jim Blandy <jimb@codesourcery.com>
40863 * Makeconfig (test-wrapper): New variable,
40864 (test-wrapper-env): Likewise.
40865 [$(cross-compiling) = yes && $(test-wrapper) != ""]
40866 (run-built-tests): Define to yes.
40867 (run-program-prefix): Use $(test-wrapper).
40868 (built-program-cmd): Likewise.
40869 * Rules (make-test-out): Use $(test-wrapper-env) and
40870 $(host-built-program-cmd).
40871 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
40872 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
40874 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
40875 $(test-wrapper-env) to tst-rtld-load-self.sh.
40876 ($(objpfx)order2.out): Use $(test-wrapper).
40877 ($(objpfx)tst-initorder.out): Likewise.
40878 ($(objpfx)tst-initorder2.out): Likewise.
40879 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
40880 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
40881 (test_wrapper_env): New variable. Use it to run ld.so.
40882 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
40883 Use it to run ld.so.
40884 (test_wrapper_env): Likewise.
40885 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
40886 $(test-wrapper) to run-iconv-test.sh.
40887 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
40888 (ICONV): Use $test_wrapper.
40889 * posix/Makefile ($(objpfx)globtest.out): Pass
40890 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
40891 globtest.sh, not $(run-program-prefix).
40892 * posix/globtest.sh (run_via_rtld_prefix): New variable.
40893 (test_wrapper): Likewise.
40894 (test_wrapper_env): Likewise. Use it to run globtest with HOME
40895 set together with run_via_rtld_prefix.
40896 (run_program_prefix): Define in terms of test_wrapper and
40897 run_via_rtld_prefix.
40899 2012-10-24 Roland McGrath <roland@hack.frob.com>
40901 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
40902 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
40906 * include/time.h: Remove librt_hidden_proto (clock_gettime).
40907 Declare __clock_getres, __clock_gettime, __clock_settime,
40908 __clock_nanosleep, and __clock_getcpuclockid.
40909 * rt/clock_gettime.c: Define __clock_gettime as an alias.
40910 Remove librt_hidden_def (clock_gettime).
40911 * sysdeps/unix/clock_gettime.c: Likewise.
40912 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
40913 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
40914 * rt/clock_getres.c: Define __clock_getres as an alias.
40915 * sysdeps/posix/clock_getres.c: Likewise.
40916 * rt/clock_settime.c: Define __clock_settime as an alias.
40917 * sysdeps/unix/clock_settime.c: Likewise.
40918 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
40919 * sysdeps/unix/clock_nanosleep.c: Likewise.
40920 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
40921 * rt/clock-compat.c: New file.
40922 * rt/Makefile (librt-routines): Add clock-compat and move
40923 $(clock-routines) to ...
40924 (routines): ... here, new variable.
40925 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
40926 Don't add get_clockfreq here.
40927 * rt/Versions (libc: GLIBC_2.17): New version set.
40928 Add clock_* symbols here.
40929 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
40930 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
40931 (GLIBC_2.17): Add clock_* symbols.
40932 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
40933 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
40934 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
40935 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
40937 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
40939 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
40940 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
40941 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
40942 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
40943 * NEWS: Mention the move.
40945 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
40946 Use __open, __read, __close rather than their public counterparts.
40947 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
40948 (__get_clockfreq_via_cpuinfo): Likewise.
40949 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
40950 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
40952 * config.h.in (HAVE_IFUNC): New #undef.
40953 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
40955 * configure: Regenerated.
40957 2012-10-24 Mike Frysinger <vapier@gentoo.org>
40959 * configure.in: Move READELF check to start of file.
40960 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
40961 libc_cv_asm_gnu_indirect_function in the process.
40962 * configure: Regenerated.
40964 2012-10-24 Mike Frysinger <vapier@gentoo.org>
40966 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
40967 send the output to /dev/null.
40968 (libc_cv_cc_with_libunwind): Likewise.
40969 (libc_cv_as_noexecstack): Likewise.
40970 * configure: Regenerate.
40972 2012-10-24 Joseph Myers <joseph@codesourcery.com>
40974 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
40976 * posix/globtest.sh (TMPDIR): Do not set.
40977 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
40978 (testout): Likewise.
40980 2012-10-24 Andreas Jaeger <aj@suse.de>
40982 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
40983 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
40984 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
40985 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
40986 posix_fadvise64, posix_fallocate64.
40988 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
40989 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
40990 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
40992 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
40994 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
40996 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
40997 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
40998 <bits/fcntl-linux.h>.
40999 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
41001 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
41002 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
41003 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
41004 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
41005 [__WORDSIZE != 64]: Likewise.
41007 2012-10-23 Joseph Myers <joseph@codesourcery.com>
41009 * Makeconfig (run-built-tests): New variable.
41010 * Rules [$(cross-compiling) = yes]: Change condition to
41011 [$(run-built-tests) = no].
41012 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
41013 to [$(run-built-tests) = yes].
41014 * elf/Makefile [$(cross-compiling) = no]: Likewise
41015 * grp/Makefile [$(cross-compiling) = no]: Likewise.
41016 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
41017 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
41018 * intl/Makefile [$(cross-compiling) = no]: Likewise.
41019 * io/Makefile [$(cross-compiling) = no]: Likewise.
41020 * libio/Makefile [$(cross-compiling) = no]: Likewise.
41021 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
41022 * misc/Makefile [$(cross-compiling) = no]: Likewise.
41023 * posix/Makefile [$(cross-compiling) = no]: Likewise.
41024 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
41025 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
41026 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
41027 * string/Makefile [$(cross-compiling) = no]: Likewise.
41029 * posix/Makefile ($(objpfx)globtest.out): Pass
41030 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
41031 $(rtld-installed-name).
41032 * posix/globtest.sh (elf_objpfx): Remove variable.
41033 (rtld_installed_name): Likewise.
41034 (library_path): Likewise.
41035 (run_program_prefix): New variable. Use for running globtest
41038 2012-10-23 Jim Blandy <jimb@codesourcery.com>
41039 Joseph Myers <joseph@codesourcery.com>
41041 * Makeconfig (host-built-program-cmd): New variable.
41042 * elf/Makefile (tst-stackguard1-ARGS): Use
41043 $(host-built-program-cmd).
41044 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
41045 (tst-spawn-ARGS): Likewise.
41046 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
41048 2012-10-23 Joseph Myers <joseph@codesourcery.com>
41049 Jim Blandy <jimb@codesourcery.com>
41051 * Makeconfig (run-via-rtld-prefix): New variable.
41052 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
41053 (built-program-cmd): Likewise.
41055 2012-10-22 Andreas Jaeger <aj@suse.de>
41057 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
41058 __O_RSYNC if it exists, otherwise to O_SYNC.
41060 2012-10-22 Jim Blandy <jimb@codesourcery.com>
41061 Joseph Myers <joseph@codesourcery.com>
41063 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
41065 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
41067 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
41070 2012-10-22 Andreas Jaeger <aj@suse.de>
41072 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
41074 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
41076 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
41077 bits/fcntl-linux.h.
41079 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
41080 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
41082 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
41084 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
41087 2012-10-21 Jim Blandy <jimb@codesourcery.com>
41088 Joseph Myers <joseph@codesourcery.com>
41090 * config.make.in (NM): New variable.
41092 2012-10-21 Andreas Jaeger <aj@suse.de>
41094 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
41095 definitions and declarations that are provided by
41096 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
41098 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
41101 * elf/Makefile (tests-static): Add tst-leaks1-static.
41102 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
41103 ($(objpfx)tst-leaks1-static): New rule.
41104 ($(objpfx)tst-leaks1-static-mem): Likewise.
41105 (tst-leaks1-static-ENV): New macro.
41106 * elf/dl-open.c (dl_open_worker): Check the main application
41107 only if SHARED is defined.
41108 * elf/tst-leaks1-static.c: New file.
41110 2012-10-20 Andreas Jaeger <aj@suse.de>
41112 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
41113 generic values for Linux.
41114 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
41115 and declarations that are provided by <bits/fcntl-linux.h> and
41116 include <bits/fcntl-linux.h>.
41117 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
41118 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
41120 2012-10-20 Roland McGrath <roland@hack.frob.com>
41122 * io/fcntl.h: Move include of <bits/types.h> to the top and
41123 include it unconditionally.
41125 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
41127 * wcsmbs/Makefile (tests-ifunc): New variable.
41128 (tests): Add $(tests-ifunc).
41129 * wcsmbs/test-wcschr-ifunc.c: New file.
41130 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
41131 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
41132 * wcsmbs/test-wcslen-ifunc.c: Likewise.
41133 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
41134 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
41136 * string/Makefile (tests-ifunc): New variable.
41137 (tests): Add $(tests-ifunc).
41138 * string/test-memccpy.c (TEST_NAME): New macro.
41139 * string/test-memchr.c (TEST_NAME): Likewise.
41140 * string/test-memcmp.c (TEST_NAME): Likewise.
41141 * string/test-memcpy.c (TEST_NAME): Likewise.
41142 * string/test-memmem.c (TEST_NAME): Likewise.
41143 * string/test-memmove.c (TEST_NAME): Likewise.
41144 * string/test-memset.c (TEST_NAME): Likewise.
41145 * string/test-rawmemchr.c (TEST_NAME): Likewise.
41146 * string/test-stpcpy.c (TEST_NAME): Likewise.
41147 * string/test-stpncpy.c (TEST_NAME): Likewise.
41148 * string/test-strcasecmp.c (TEST_NAME): Likewise.
41149 * string/test-strcasestr.c (TEST_NAME): Likewise.
41150 * string/test-strcat.c (TEST_NAME): Likewise.
41151 * string/test-strchr.c (TEST_NAME): Likewise.
41152 * string/test-strcmp.c(TEST_NAME): Likewise.
41153 * string/test-strcpy.c (TEST_NAME): Likewise.
41154 * string/test-strcspn.c (TEST_NAME): Likewise.
41155 * string/test-strlen.c (TEST_NAME): Likewise.
41156 * string/test-strncasecmp.c (TEST_NAME): Likewise.
41157 * string/test-strncmp.c (TEST_NAME): Likewise.
41158 * string/test-strncpy.c (TEST_NAME): Likewise.
41159 * string/test-strnlen.c (TEST_NAME): Likewise.
41160 * string/test-strpbrk.c (TEST_NAME): Likewise.
41161 * string/test-strrchr.c (TEST_NAME): Likewise.
41162 * string/test-strspn.c (TEST_NAME): Likewise.
41163 * string/test-strstr.c (TEST_NAME): Likewise.
41164 * string/test-bcopy-ifunc.c: New file.
41165 * string/test-bzero-ifunc.c: Likewise.
41166 * string/test-memccpy-ifunc.c: Likewise.
41167 * string/test-memchr-ifunc.c: Likewise.
41168 * string/test-memcmp-ifunc.c: Likewise.
41169 * string/test-memcpy-ifunc.c: Likewise.
41170 * string/test-memmem-ifunc.c: Likewise.
41171 * string/test-memmove-ifunc.c: Likewise.
41172 * string/test-mempcpy-ifunc.c: Likewise.
41173 * string/test-memset-ifunc.c: Likewise.
41174 * string/test-rawmemchr-ifunc.c: Likewise.
41175 * string/test-stpcpy-ifunc.c: Likewise.
41176 * string/test-stpncpy-ifunc.c: Likewise.
41177 * string/test-strcasecmp-ifunc.c: Likewise.
41178 * string/test-strcasestr-ifunc.c: Likewise.
41179 * string/test-strcat-ifunc.c: Likewise.
41180 * string/test-strchr-ifunc.c: Likewise.
41181 * string/test-strchrnul-ifunc.c: Likewise.
41182 * string/test-strcmp-ifunc.c: Likewise.
41183 * string/test-strcpy-ifunc.c: Likewise.
41184 * string/test-strcspn-ifunc.c: Likewise.
41185 * string/test-strlen-ifunc.c: Likewise.
41186 * string/test-strncasecmp-ifunc.c: Likewise.
41187 * string/test-strncat-ifunc.c: Likewise.
41188 * string/test-strncmp-ifunc.c: Likewise.
41189 * string/test-strncpy-ifunc.c: Likewise.
41190 * string/test-strnlen-ifunc.c: Likewise.
41191 * string/test-strpbrk-ifunc.c: Likewise.
41192 * string/test-strrchr-ifunc.c: Likewise.
41193 * string/test-strspn-ifunc.c: Likewise.
41194 * string/test-strstr-ifunc.c: Likewise.
41196 * debug/Makefile (tests-ifunc): New variable.
41197 (tests): Add $(tests-ifunc).
41198 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
41199 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
41200 * debug/test-stpcpy_chk-ifunc.c: New file.
41201 * debug/test-strcpy_chk-ifunc.c: Likewise.
41203 2012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
41206 * elf/dl-load.c (open_verify): Retry read if the entire ELF
41207 header is not read in.
41209 2012-10-19 Joseph Myers <joseph@codesourcery.com>
41211 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
41212 script to $(SHELL) as $<. Pass $(common-objpfx) to script
41213 directly. Pass built executable to script as
41214 $(built-program-cmd).
41215 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
41216 $testprogram without using LD_LIBRARY_PATH and $ldso.
41218 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
41219 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
41220 $(rtld-installed-name).
41221 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
41222 (rtld_installed_name): Likewise.
41223 (library_path): Likewise.
41224 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
41225 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
41226 $(run-program-prefix) to tst-tables.sh.
41227 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
41228 it to run tst-table-from and tst-table-to.
41229 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
41230 Pass it to tst-table.sh.
41231 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
41232 $(run-program-prefix) to tst-gettext.sh.
41233 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
41235 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
41237 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
41238 to run tst-gettext.
41239 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
41240 to run tst-gettext2.
41241 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
41242 to run tst-translit.
41243 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
41244 $(run-program-prefix) to tst-mtrace.sh.
41245 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
41247 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
41248 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
41249 $(rtld-installed-name).
41250 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
41251 (rtld_installed_name): Likewise.
41252 (run_program_prefix): New variable. Use it to run wordexp-test.
41254 * Makeconfig (ARCH): Remove all definitions.
41255 (machine): Likewise.
41256 [ARCH]: Remove conditional code.
41257 [!objdir]: Give error.
41258 [!objdir] (objpfx): Remove.
41259 [!objdir] (common-objpfx): Likewise.
41260 [!objdir] (common-objdir): Likewise.
41261 * configure.in (config_makefile): Remove. Hardcode Makefile in
41262 AC_CONFIG_FILES call.
41263 * configure: Regenerated.
41266 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
41268 (testout): Likewise.
41270 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
41271 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
41272 $(rtld-installed-name).
41273 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
41274 (rtld_installed_name): Likwise.
41275 (runit): Remove function.
41276 (run_getconf): New variable, Use it for running getconf binary.
41278 2012-10-18 H.J. Lu <hongjiu.lu@intel.com>
41281 * string/test-memmem.c (check_result): New function.
41282 (do_one_test): Use it.
41283 (check1): New function.
41284 (test_main): Use it.
41286 2012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
41288 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
41290 2012-10-18 Joseph Myers <joseph@codesourcery.com>
41292 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
41293 (_G_LSEEK64): Likewise.
41294 (_G_MMAP64): Likewise.
41295 (_G_FSTAT64): Likewise.
41296 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
41297 (_G_LSEEK64): Likewise.
41298 (_G_MMAP64): Likewise.
41299 (_G_FSTAT64): Likewise.
41300 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
41301 unconditional. Call __mmap64 directly.
41302 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
41303 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
41304 __lseek64 directly.
41305 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
41306 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
41308 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
41309 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
41310 __lseek64 directly.
41311 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
41312 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
41313 __lseek64 directly.
41314 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
41315 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
41316 __lseek64 directly.
41317 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
41318 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
41319 __fxstat64 directly.
41320 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
41321 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
41323 (freopen64) [!_G_OPEN64]: Remove conditional code.
41324 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
41326 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
41327 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
41329 (ftello64) [!_G_LSEEK64]: Remove conditional code.
41330 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
41332 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
41333 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
41335 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
41336 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
41338 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
41339 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
41341 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
41342 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
41344 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
41346 2012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
41349 * manual/memory.texi (Malloc Tunable Parameters): Add note
41350 about free list pointers overwriting some perturb bytes.
41351 Wording suggested by Roland McGrath.
41353 2012-10-17 Joseph Myers <joseph@codesourcery.com>
41355 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
41356 (lgamma_test): Likewise.
41357 (tgamma_test): Likewise.
41359 2012-10-16 Florian Weimer <fweimer@redhat.com>
41362 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
41363 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
41365 2012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
41367 * NEWS: Mention BZ #14716.
41368 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
41369 when removing AVAILABLE1_USES_J macro.
41371 2012-10-12 H.J. Lu <hongjiu.lu@intel.com>
41373 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
41374 (__bswap_64): __uint64_t for unsigned 64-bit int.
41376 2012-10-12 Andreas Schwab <schwab@linux-m68k.org>
41378 * include/string.h (memmem): Declare libc hidden alias.
41379 * string/memmem.c (memmem): Define libc hidden alias.
41380 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
41381 __read, __close instead of open, read, close.
41383 2012-10-11 H.J. Lu <hongjiu.lu@intel.com>
41385 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
41386 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
41388 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
41389 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
41390 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
41392 (__rawmemchr_sse2): Likewise.
41393 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
41394 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
41395 (__strchr_sse2): Likewise.
41396 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
41397 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
41398 (__strcasecmp_sse2): Likewise.
41399 (__strncasecmp_sse2): Likewise.
41400 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
41401 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
41402 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
41403 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
41404 (__strrchr_sse2): Likewise.
41405 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
41407 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
41408 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
41409 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
41410 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
41411 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
41412 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
41413 * sysdeps/x86_64/multiarch/memset.S: Likewise.
41414 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
41415 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
41416 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
41417 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
41418 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
41419 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
41420 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
41421 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
41422 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
41423 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
41424 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
41425 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
41426 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
41427 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
41428 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
41429 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
41430 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
41431 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
41432 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
41433 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
41434 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
41435 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
41436 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
41438 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
41440 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
41441 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
41442 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
41443 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
41445 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
41447 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
41448 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
41449 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
41450 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
41452 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
41453 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
41454 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
41455 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
41456 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
41457 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
41458 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
41459 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
41460 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
41461 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
41462 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
41463 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
41464 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
41465 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
41466 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
41467 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
41468 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
41469 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
41470 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
41471 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
41472 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
41473 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
41474 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
41475 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
41476 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
41477 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
41478 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
41479 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
41480 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
41481 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
41482 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
41483 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
41484 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
41485 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
41486 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
41487 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
41488 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
41489 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
41490 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
41491 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
41492 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
41494 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
41495 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
41496 * include/ifunc-impl-list.h: New file.
41497 * misc/ifunc-impl-list.c: Likewise.
41498 * misc/Makefile (routines): Add ifunc-impl-list.
41499 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
41500 * string/test-string.h: Include <ifunc-impl-list.h>.
41501 (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
41502 TEST_NAME]: New variables.
41503 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
41505 (test_init): Call __libc_ifunc_impl_list to initialize
41506 func_list if TEST_IFUNC and TEST_NAME are defined.
41508 * string/Makefile (strop-tests): Add bcopy and bzero.
41509 * string/test-bcopy.c: New file.
41510 * string/test-bzero.c: Likewise.
41511 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
41513 * string/test-memset.c: Support bzero test if TEST_BZERO is
41515 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
41517 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
41519 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
41522 2012-10-10 Joseph Myers <joseph@codesourcery.com>
41524 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
41525 * configure: Regenerated.
41527 * Makeconfig (+link-static-before-libc): Don't include
41528 $(link-static-libc).
41530 * libio/libio.h (_IO_pos_t): Remove.
41532 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
41534 * NEWS: Add note about FIPS mode. Wording suggested by Roland
41537 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
41539 * crypt/crypt-entry.c: Include fips-private.h.
41540 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
41541 * crypt/md5c-test.c (main): Tolerate disabled MD5.
41542 * sysdeps/unix/sysv/linux/fips-private.h: New file.
41543 * sysdeps/generic/fips-private.h: New file, dummy fallback.
41545 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
41547 * crypt/crypt-private.h: Include stdbool.h.
41548 (_ufc_setup_salt_r): Return bool.
41549 * crypt/crypt-entry.c: Include errno.h.
41550 (__crypt_r): Return NULL with EINVAL for bad salt.
41551 * crypt/crypt_util.c (bad_for_salt): New.
41552 (_ufc_setup_salt_r): Check that salt is long enough and within
41553 the specified alphabet.
41554 * crypt/badsalttest.c: New file.
41555 * crypt/Makefile (tests): Add it.
41556 ($(objpfx)badsalttest): New.
41558 2012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
41560 * NEWS: Add entry for BZ #14602.
41562 2012-10-09 Joseph Myers <joseph@codesourcery.com>
41564 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
41566 * math/libm-test.inc: Update comment listing what functions and
41568 (isgreater_test): New function.
41569 (isgreaterequal_test): Likewise.
41570 (isless_test): Likewise.
41571 (islessequal_test): Likewise.
41572 (islessgreater_test): Likewise.
41573 (isunordered_test): Likewise.
41574 (main): Call the new functions.
41576 2012-10-09 Roland McGrath <roland@hack.frob.com>
41578 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
41579 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
41580 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
41581 * sysdeps/i386/configure: Regenerated.
41582 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
41583 * sysdeps/mach/configure: Regenerated.
41584 * sysdeps/mach/hurd/configure: Regenerated.
41585 * sysdeps/powerpc/configure: Regenerated.
41586 * sysdeps/powerpc/powerpc32/configure: Regenerated.
41587 * sysdeps/powerpc/powerpc64/configure: Regenerated.
41588 * sysdeps/s390/s390-32/configure: Regenerated.
41589 * sysdeps/s390/s390-64/configure: Regenerated.
41590 * sysdeps/sh/configure: Regenerated.
41591 * sysdeps/sparc/configure: Regenerated.
41592 * sysdeps/unix/sysv/linux/configure: Regenerated.
41593 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
41594 * sysdeps/x86_64/configure: Regenerated.
41596 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
41597 defined. Don't check if MAP is NULL.
41599 2012-10-09 Joseph Myers <joseph@codesourcery.com>
41601 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
41602 (_G_stat64): Likewise.
41603 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
41604 (_G_stat64): Likewise.
41605 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
41606 instead of struct _G_stat64.
41607 * libio/fileops.c (mmap_remap_check): Likewise.
41608 (decide_maybe_mmap): Likewise.
41609 (_IO_new_file_seekoff): Likewise.
41610 (_IO_file_stat): Likewise.
41611 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
41613 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
41614 instead of struct _G_stat64.
41615 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
41617 2012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
41620 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
41622 (CHECK_EOL): New macro.
41623 (two_way_short_needle): Check beginning of haystack for EOL. Use
41625 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
41626 Replace with CHECK_EOL.
41627 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
41628 Replace with CHECK_EOL.
41630 2012-10-08 Joseph Myers <joseph@codesourcery.com>
41632 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
41634 * math/libm-test.inc: Update comment listing what functions and
41636 (finite_test): New function.
41637 (isinf_test): Likewise.
41638 (isnan_test): Likewise.
41639 (fpclassify_test): Test subnormal input.
41640 (isfinite_test): Likewise.
41641 (isnormal_test): Likewise.
41642 (main): Call the new functions.
41644 2012-10-08 Jonathan Nieder <jrnieder@gmail.com>
41647 * Makerules (%.dynsym): Force C locale when running
41648 $(OBJDUMP) --dynamic-syms.
41650 2012-10-08 Andreas Schwab <schwab@linux-m68k.org>
41652 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
41655 2012-10-06 David S. Miller <davem@davemloft.net>
41657 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
41658 upper 32-bits of the length value in %o2 since we use branch-on-register
41659 tests which consider the entire 64-bit register.
41661 2012-10-06 H.J. Lu <hongjiu.lu@intel.com>
41663 * string/test-strstr.c (check2): Add a test for page boundary.
41665 2012-10-05 David S. Miller <davem@davemloft.net>
41667 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
41668 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
41670 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
41672 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
41673 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
41674 and bzero when HWCAP_SPARC_CRYPTO is present.
41676 2012-10-05 H.J. Lu <hongjiu.lu@intel.com>
41679 * string/test-strstr.c (check2): New function.
41680 (test_main): Call check2.
41682 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
41684 * string/bug-strcasestr1.c (do_test): Moved to ...
41685 * string/test-strcasestr.c (check1): Here. New function.
41686 (do_one_test): Break out result checking code into ...
41687 (check_result): This. New function.
41688 (do_one_test): Call check_result.
41689 (test_main): Call check1.
41690 * string/bug-strchr1.c (do_test): Moved to ...
41691 * string/test-strchr.c (check1): Here. New function.
41692 (do_one_test): Break out result checking code into ...
41693 (check_result): This. New function.
41694 (do_one_test): Call check_result.
41695 (test_main): Call check1.
41696 * string/bug-strstr1.c (main): Moved to ...
41697 * string/test-strstr.c (check1): Here. New function.
41698 (do_one_test): Break out result checking code into ...
41699 (check_result): This. New function.
41700 (do_one_test): Call check_result.
41701 (test_main): Call check1.
41702 * string/bug-strcasestr1.c: Removed.
41703 * string/bug-strchr1.c: Likewise.
41704 * string/bug-strstr1.c: Likewise.
41706 * elf/Makefile (dl-routines): Add hwcaps.
41707 * elf/dl-support.c (_dl_important_hwcaps): Removed.
41708 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
41709 (_dl_important_hwcaps): Moved to ...
41710 * elf/dl-hwcaps.c: Here. New file.
41711 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
41714 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
41715 if IS_IN_rtld isn't defined.
41717 * elf/dl-support.c (_dl_sysinfo_map): New.
41718 Include "get-dynamic-info.h" and "setup-vdso.h".
41719 (_dl_non_dynamic_init): Call setup_vdso.
41720 * elf/dynamic-link.h: Don't include <assert.h>.
41721 (elf_get_dynamic_info): Moved to ...
41722 * elf/get-dynamic-info.h: Here. New file.
41723 * elf/dynamic-link.h: Include "get-dynamic-info.h".
41724 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
41725 * elf/setup-vdso.h: Here. New file.
41726 * elf/rtld.c: Include "setup-vdso.h".
41727 (dl_main): Call setup_vdso.
41729 2012-10-05 Joseph Myers <joseph@codesourcery.com>
41731 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
41732 creal in comment listing functions tested. List finite, isinf,
41733 isnan, isless, islessequal, isgreater, isgreaterequal,
41734 islessgreater, isunordered, lgamma_r and pow10 as functions and
41735 macros not tested. Mention which functions not tested are aliases
41736 for other functions. Fix typo. Note that signs of NaNs are not
41739 * scripts/config.guess: Update from config.git.
41740 * scripts/config.sub: Likewise.
41742 2012-10-04 Roland McGrath <roland@hack.frob.com>
41744 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
41745 * misc/madvise.c (madvise): Renamed to __madvise.
41746 Make madvise a weak alias.
41747 * include/sys/mman.h: Declare __madvise.
41748 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
41749 * sysdeps/unix/syscalls.list
41750 (madvise): Make __madvise the strong name, and madvise a weak alias.
41751 * sysdeps/unix/sysv/linux/syscalls.list
41752 (madvise, mmap): Remove redundant entries.
41753 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
41754 * malloc/malloc.c (mtrim): Likewise.
41755 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
41757 2012-10-03 Roland McGrath <roland@hack.frob.com>
41759 * sysdeps/mach/hurd/dl-cache.c: File removed.
41760 * config.h.in (USE_LDCONFIG): New #undef.
41761 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
41762 * configure: Regenerated.
41763 * elf/Makefile (dl-routines): Add dl-cache only under
41764 [$(use-ldconfig) = yes].
41765 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
41766 cache on [USE_LDCONFIG].
41767 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
41769 * elf/rtld.c (dl_main): Likewise.
41771 2012-10-03 Pino Toscano <toscano.pino@tiscali.it>
41773 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
41774 _SC_LEVEL4_CACHE_LINESIZE.
41776 2012-10-03 Roland McGrath <roland@hack.frob.com>
41778 * sysdeps/unix/bsd/confstr.h: File removed.
41780 2012-10-02 Alexandre Oliva <aoliva@redhat.com>
41782 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
41785 2012-10-02 Roland McGrath <roland@hack.frob.com>
41787 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
41788 Make 'mapoff' field ElfW(Off) rather than off_t.
41790 2012-10-02 Dmitry V. Levin <ldv@altlinux.org>
41792 * nscd/Makefile: Remove nscd-cflags and all its users.
41793 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
41794 (CFLAGS-nonlib): Add compiler flags for nscd modules.
41797 * malloc.c (malloc_printerr): Clarify error message.
41799 2012-10-02 H.J. Lu <hongjiu.lu@intel.com>
41802 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
41803 Set bit_FMA_Usable if FMA is supported.
41804 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
41806 (bit_FMA4_Usable): Updated.
41807 (index_FMA_Usable): New macro.
41808 (CPUID_FMA): Likewise
41809 (HAS_FMA): Defined with bit_FMA_Usable.
41811 2012-10-01 Roland McGrath <roland@hack.frob.com>
41813 * bits/types.h (__swblk_t): Type removed.
41814 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
41815 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
41816 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
41817 (__SWBLK_T_TYPE): Likewise.
41818 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
41819 (__SWBLK_T_TYPE): Likewise.
41820 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
41821 (__SWBLK_T_TYPE): Likewise.
41822 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
41823 (__SWBLK_T_TYPE): Likewise.
41825 2012-10-01 Patsy Franklin <pfrankli@redhat.com>
41826 Honza Horak <hhorak@redhat.com>
41828 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
41829 (xdr_mapname): Use YPMAXMAP as maxsize.
41830 (xdr_peername): Use YPMAXPEER as maxsize.
41831 (xdr_keydat): Use YPAXRECORD as maxsize.
41832 (xdr_valdat): Use YPMAXRECORD as maxsize.
41834 2012-10-01 Roland McGrath <roland@hack.frob.com>
41836 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
41838 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
41839 * csu/init-first.c: ... here.
41840 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
41841 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
41842 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
41843 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
41844 * sysdeps/i386/init-first.c: File removed.
41845 * sysdeps/sh/init-first.c: File removed.
41847 2012-10-01 Joseph Myers <joseph@codesourcery.com>
41850 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
41851 if x * y might underflow to zero and z is zero.
41852 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
41853 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
41854 * math/libm-test.inc (min_subnorm_value): New variable.
41855 (fma_test): Add more tests.
41856 (fma_test_towardzero): Likewise.
41857 (fma_test_downward): Likewise
41858 (fma_test_upward): Likewise.
41859 (initialize): Set min_subnorm_value.
41861 2012-09-29 Joseph Myers <joseph@codesourcery.com>
41864 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
41866 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
41867 mode for addition resulting in exact zero.
41868 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
41869 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
41871 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
41872 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
41873 * math/libm-test.inc (fma_test): Add more tests.
41874 (fma_test_towardzero): New function.
41875 (fma_test_downward): Likewise.
41876 (fma_test_upward): Likewise.
41877 (main): Call the new functions.
41879 2012-09-28 David S. Miller <davem@davemloft.net>
41881 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
41883 2012-09-28 Roland McGrath <roland@hack.frob.com>
41885 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
41886 instead of SIGALRM.
41888 * sysdeps/gnu/_G_config.h: Moved to ...
41889 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
41890 * sysdeps/mach/hurd/_G_config.h: Moved to ...
41891 * sysdeps/generic/_G_config.h: ... here.
41893 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
41895 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
41897 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
41898 Conditionalize target on [libnss_test1.so-version].
41900 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
41902 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
41903 (elfobjdir): Move out of conditionals.
41905 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
41906 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
41907 (__nss_lookup_function): Conditionalize label remove_from_tree on
41908 [!DO_STATIC_NSS || SHARED], matching its only use.
41910 2012-09-28 David S. Miller <davem@davemloft.net>
41912 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
41913 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
41915 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
41917 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
41918 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
41919 when HWCAP_SPARC_CRYPTO is present.
41921 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
41923 * io/tst-mknodat.c: Create a FIFO instead of a socket.
41925 2012-09-28 Andreas Schwab <schwab@linux-m68k.org>
41928 * stdio-common/vfprintf.c (process_string_arg): Revert
41931 2011-09-28 Jonathan Nieder <jrnieder@gmail.com>
41933 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
41935 * stdio-common/tst-sprintf.c: Include <locale.h>
41936 (main): Test sprintf's handling of incomplete multibyte
41939 2012-09-28 H.J. Lu <hongjiu.lu@intel.com>
41941 * elf/dl-runtime.c (VERSYMIDX): Removed.
41942 * elf/dl-version.c (VERSYMIDX): Likewise.
41943 * elf/do-rel.h (VERSYMIDX): Likewise.
41944 (VALIDX): Likewise.
41945 * elf/dynamic-link.h (VERSYMIDX): Likewise.
41946 * elf/rtld.c (VALIDX): Likewise.
41947 (ADDRIDX): Likewise.
41948 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
41949 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
41950 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
41951 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
41952 (VALIDX): Likewise.
41953 (ADDRIDX): Likewise.
41955 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
41957 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
41959 2012-09-28 Dmitry V. Levin <ldv@altlinux.org>
41962 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
41964 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
41965 addresses are in the same scope as 192.0.2/24.
41966 * posix/gai.conf: Document new scope table defaults.
41968 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
41971 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
41972 for ftell. Compute offsets from write pointers instead.
41973 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
41975 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
41978 * libio/Makefile (tests): New test case tst-fseek.
41979 * libio/tst-fseek.c: New test case to verify that fseek/ftell
41980 combination works in wide mode.
41981 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
41982 state when the external buffer state changes.
41984 2012-09-27 David S. Miller <davem@davemloft.net>
41987 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
41988 pass reloc->r_addend in as the 'high' argument to
41989 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
41991 * sysdeps/sparc/fpu/libm-test-ulps: Update.
41993 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
41995 * rt/tst-aio2.c: Include <pthread.h>.
41996 * rt/tst-aio3.c: Likewise.
41998 2012-09-27 Steve Ellcey <sellcey@mips.com>
42000 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
42002 2012-09-27 H.J. Lu <hongjiu.lu@intel.com>
42004 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
42005 contents on [SHARED].
42007 2012-09-26 Marek Polacek <polacek@redhat.com>
42011 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
42012 for C++ and GCC <4.3 as well as for non GCC compilers.
42014 2012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
42016 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
42018 2012-09-25 Roland McGrath <roland@hack.frob.com>
42020 * Makefile.in (all, install): Declare with .PHONY.
42021 Reported by Michael Hope <michael.hope@linaro.org>.
42023 2012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
42025 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
42026 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
42028 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
42030 (sydep_routines): Add the new and the internal functions.
42031 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
42032 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
42033 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
42034 (GLIBC_2.17): Add the new function.
42035 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
42036 (GLIBC_2.17): Likewise.
42037 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
42038 (GLIBC_2.17): Likewise.
42039 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
42040 (GLIBC_2.17): Likewise.
42041 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
42043 2012-09-25 Alan Modra <amodra@gmail.com>
42045 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
42046 Add release barrier before setting once_control to say
42047 initialisation is done. Add hints on lwarx. Use macro in
42049 (clear_once_control): Add release barrier.
42051 2012-09-25 Joseph Myers <joseph@codesourcery.com>
42054 * math/s_clog.c (__clog): Handle more values close to |z| = 1
42056 * math/s_clog10.c (__clog10): Likewise.
42057 * math/s_clog10f.c (__clog10f): Likewise.
42058 * math/s_clog10l.c (__clog10l): Likewise.
42059 * math/s_clogf.c (__clogf): Likewise.
42060 * math/s_clogl.c (__clogl): Likewise.
42061 * math/Makefile (libm-calls): Add x2y2m1.
42062 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
42063 (__x2y2m1): Likewise.
42064 (__x2y2m1l): Likewise.
42065 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
42066 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
42067 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
42068 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
42069 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
42070 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
42071 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
42072 * sysdeps/i386/fpu/libm-test-ulps: Update.
42073 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42076 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
42077 int as type of variable DEPTH.
42078 (glob): Use size_t instead of int as type of variables NEWCOUNT
42081 2012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
42083 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
42084 Add s_sincosf-sse2.
42085 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
42086 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
42087 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
42088 macros for using routine as __sincosf_ia32.
42089 Use macro for function declaration and weak_alias.
42090 * sysdeps/i386/fpu/libm-test-ulps: Update.
42092 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
42093 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
42095 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
42096 subnormal argument.
42097 * math/s_cexpf.c (__cexpf): Likewise.
42098 * math/s_csinf.c (__csinf): Likewise.
42099 * math/s_csinhf.c (__csinhf): Likewise.
42100 * math/s_ctanf.c (__ctanf): Likewise.
42101 * math/s_ctanhf.c (__ctanhf): Likewise.
42102 * math/s_ccosh.c (__ccoshf): Likewise.
42103 * math/s_cexp.c (__cexpl): Likewise.
42104 * math/s_csin.c (__csin): Likewise.
42105 * math/s_csinh.c (__csinh): Likewise.
42106 * math/s_ctan.c (__ctan): Likewise.
42107 * math/s_ctanh.c (ctanh): Likewise.
42108 * math/s_ccoshl.c (__ccoshl): Likewise.
42109 * math/s_cexpl.c (__cexpl): Likewise.
42110 * math/s_csinl.c (__csinl): Likewise.
42111 * math/s_csinhl.c (__csinhl): Likewise.
42112 * math/s_ctanl.c (__ctanl): Likewise.
42113 * math/s_ctanhl.c (__ctanhl): Likewise.
42115 2012-09-25 Joseph Myers <joseph@codesourcery.com>
42117 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
42118 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
42119 (_IO_off_t): Define to __off_t, not _G_off_t.
42120 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
42121 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
42122 (_IO_wint_t): Define to wint_t, not _G_wint_t.
42123 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
42124 type of __dummy and __dummy2 fields.
42125 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
42126 (_G_ssize_t): Likewise.
42127 (_G_off_t): Likewise.
42128 (_G_pid_t): Likewise.
42129 (_G_uid_t): Likewise.
42130 (_G_wchar_t): Likewise.
42131 (_G_wint_t): Likewise.
42132 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
42133 (_G_ssize_t): Likewise.
42134 (_G_off_t): Likewise.
42135 (_G_pid_t): Likewise.
42136 (_G_uid_t): Likewise.
42137 (_G_wchar_t): Likewise.
42138 (_G_wint_t): Likewise.
42139 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
42140 (_G_ssize_t): Likewise.
42141 (_G_off_t): Likewise.
42142 (_G_pid_t): Likewise.
42143 (_G_uid_t): Likewise.
42144 (_G_wchar_t): Likewise.
42145 (_G_wint_t): Likewise.
42147 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
42149 * malloc/arena.c: Include malloc-sysdep.h.
42150 (shrink_heap): Use check_may_shrink_heap to decide if madvise
42151 is sufficient to shrink the heap or an unmap is needed.
42152 * sysdeps/generic/malloc-sysdep.h: New file. Define
42153 new function check_may_shrink_heap.
42154 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
42155 new function check_may_shrink_heap.
42157 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
42159 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
42162 2012-09-24 Dmitry V. Levin <ldv@altlinux.org>
42164 * catgets/test-gencat.sh: Add "set -e".
42165 * elf/tst-pathopt.sh: Likewise.
42166 * grp/tst_fgetgrent.sh: Likewise.
42167 * iconvdata/run-iconv-test.sh: Likewise.
42168 * intl/tst-gettext.sh: Likewise.
42169 * intl/tst-gettext2.sh: Likewise.
42170 * intl/tst-gettext4.sh: Likewise.
42171 * intl/tst-gettext6.sh: Likewise.
42172 * intl/tst-translit.sh: Likewise.
42173 * io/ftwtest-sh: Likewise.
42174 * libio/test-freopen.sh: Likewise.
42175 * malloc/tst-mtrace.sh: Likewise.
42176 * posix/globtest.sh: Likewise.
42177 * posix/tst-getconf.sh: Likewise.
42178 * posix/wordexp-tst.sh: Likewise.
42179 * stdio-common/tst-printf.sh: Likewise.
42180 * stdio-common/tst-unbputc.sh: Likewise.
42181 * stdlib/tst-fmtmsg.sh: Likewise.
42182 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
42183 * catgets/Makefile: Do not specify -e option when running
42184 testsuite shell scripts.
42185 * elf/Makefile: Likewise.
42186 * grp/Makefile: Likewise.
42187 * iconvdata/Makefile: Likewise.
42188 * intl/Makefile: Likewise.
42189 * io/Makefile: Likewise.
42190 * libio/Makefile: Likewise.
42191 * malloc/Makefile: Likewise.
42192 * posix/Makefile: Likewise.
42193 * stdio-common/Makefile: Likewise.
42194 * stdlib/Makefile: Likewise.
42195 * sysdeps/x86_64/Makefile: Likewise.
42197 * io/ftwtest-sh: Add copyright header.
42198 * posix/globtest.sh: Likewise.
42199 * posix/tst-getconf.sh: Likewise.
42200 * posix/wordexp-tst.sh: Likewise.
42201 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
42203 2012-09-24 H.J. Lu <hongjiu.lu@intel.com>
42206 * Makeconfig (+link): Defined as $(+link-static) if
42207 $(build-shared) isn't yes.
42208 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
42210 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
42212 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
42215 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
42216 new chunk size with MALLOC_ALIGN_MASK.
42218 2012-09-24 Joseph Myers <joseph@codesourcery.com>
42221 * stdio-common/printf_fphex.c: Include <stdbool.h> and
42223 (__printf_fphex): Determine rounding using get_rounding_mode and
42225 * stdio-common/tst-printf-round.c (struct hex_test): New
42227 (hex_tests): New variable.
42228 (test_hex_in_one_mode): New function.
42229 (do_test): Also run tests for hex float output.
42231 2012-09-21 Joseph Myers <joseph@codesourcery.com>
42233 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
42234 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
42235 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
42236 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
42237 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
42238 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
42239 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
42240 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
42242 2012-09-20 Joseph Myers <joseph@codesourcery.com>
42244 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
42245 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
42246 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
42247 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
42249 2012-09-19 Dmitry V. Levin <ldv@altlinux.org>
42252 * elf/rtld.c (dl_main): Limit the check for self loading to normal
42254 * elf/tst-rtld-load-self.sh: New test.
42255 * elf/Makefile: Run it.
42257 2012-09-18 Joseph Myers <joseph@codesourcery.com>
42259 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
42260 (tst-writev-ENV): Remove.
42261 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
42263 2012-09-17 Chris Metcalf <cmetcalf@tilera.com>
42265 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
42267 2012-09-17 Joseph Myers <joseph@codesourcery.com>
42269 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
42271 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
42273 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
42274 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
42275 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
42278 2012-09-14 H.J. Lu <hongjiu.lu@intel.com>
42281 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
42282 * config.make.in (have-cpp-asm-debuginfo): Removed.
42283 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
42284 * configure: Regenerated.
42286 2012-09-14 Joseph Myers <joseph@codesourcery.com>
42289 * stdio-common/printf_fp.c: Include <stdbool.h> and
42291 (___printf_fp): Determine rounding using get_rounding_mode and
42293 * stdio-common/tst-printf-round.c: New file.
42294 * stdio-common/Makefile (tests): Add tst-printf-round.
42295 (link-libm): New variable.
42296 ($(objpfx)tst-printf-round): Depend in $(link-libm).
42298 2012-09-13 H.J. Lu <hongjiu.lu@intel.com>
42301 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
42302 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
42304 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
42307 2012-09-13 Joseph Myers <joseph@codesourcery.com>
42309 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
42310 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
42311 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
42312 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
42314 2012-09-12 Joseph Myers <joseph@codesourcery.com>
42317 * include/rounding-mode.h: New file.
42318 * sysdeps/generic/get-rounding-mode.h: Likewise.
42319 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
42320 * stdlib/strtod_l.c: Include <rounding-mode.h>.
42321 (MAX_VALUE): New macro.
42322 (MIN_VALUE): Likewise.
42323 (overflow_value): New function.
42324 (underflow_value): Likewise.
42325 (round_and_return): Use overflow_value and underflow_value to
42326 determine return values in overflow and underflow cases. Use
42327 round_away to determine rounding depending on rounding mode.
42328 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
42329 determine return values in overflow and underflow cases.
42330 * stdlib/tst-strtod-round.c: Include <fenv.h>.
42331 (struct test_results): New structure.
42332 (struct test): Use struct test_results to store expected results
42333 for all rounding modes.
42334 (TEST): Include expected results for all rounding modes.
42335 (test_in_one_mode): New function.
42336 (do_test): Use test_in_one_mode to compute and check results.
42337 Check results for all rounding modes.
42338 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
42341 2012-12-09 Allan McRae <allan@archlinux.org>
42343 * sysdeps/i386/fpu/libm-test-ulps: Update
42345 2012-09-11 Joseph Myers <joseph@codesourcery.com>
42347 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
42348 (_G_int32_t): Likewise.
42349 (_G_uint16_t): Likewise.
42350 (_G_uint32_t): Likewise.
42351 (_G_HAVE_BOOL): Likewise.
42352 (_G_HAVE_ATEXIT): Likewise.
42353 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
42354 (_G_HAVE_IO_FILE_OPEN): Likewise.
42355 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
42356 (_G_int32_t): Likewise.
42357 (_G_uint16_t): Likewise.
42358 (_G_uint32_t): Likewise.
42359 (_G_HAVE_BOOL): Likewise.
42360 (_G_HAVE_ATEXIT): Likewise.
42361 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
42362 (_G_HAVE_IO_FILE_OPEN): Likewise.
42363 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
42364 (_G_int32_t): Likewise.
42365 (_G_uint16_t): Likewise.
42366 (_G_uint32_t): Likewise.
42367 (_G_HAVE_BOOL): Likewise.
42368 (_G_HAVE_ATEXIT): Likewise.
42369 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
42370 (_G_HAVE_IO_FILE_OPEN): Likewise.
42372 2012-09-11 H.J. Lu <hongjiu.lu@intel.com>
42374 * csu/libc-tls.c: Update copyright years.
42376 2012-09-10 Joseph Myers <joseph@codesourcery.com>
42378 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
42379 [!_G_USING_THUNKS]: Remove conditional code.
42380 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
42381 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
42383 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
42384 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
42385 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
42386 (_G_VTABLE_LABEL_PREFIX): Likewise.
42387 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
42388 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
42389 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
42390 (_G_VTABLE_LABEL_PREFIX): Likewise.
42391 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
42392 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
42393 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
42394 (_G_VTABLE_LABEL_PREFIX): Likewise.
42395 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
42397 2012-09-10 H.J. Lu <hongjiu.lu@intel.com>
42399 * libio/Makefile: Include ../Makeconfig before tests.
42400 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
42401 only if $(build-shared) is yes.
42403 * iconv/gconv_db.c: Update copyright years.
42405 2012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
42407 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
42408 unwind info if defined PIC. Fix special cases description.
42409 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
42411 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
42413 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
42415 2012-09-07 H.J. Lu <hongjiu.lu@intel.com>
42417 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
42419 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
42422 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
42423 (LDLIBS-tst-chk4): This.
42424 (LDFLAGS-tst-chk5): Renamed to ...
42425 (LDLIBS-tst-chk5): This.
42426 (LDFLAGS-tst-chk6): Renamed to ...
42427 (LDLIBS-tst-chk6): This.
42428 (LDFLAGS-tst-lfschk4): Renamed to ...
42429 (LDLIBS-tst-lfschk4): This.
42430 (LDFLAGS-tst-lfschk5): Renamed to ...
42431 (LDLIBS-tst-lfschk5): This.
42432 (LDFLAGS-tst-lfschk6): Renamed to ...
42433 (LDLIBS-tst-lfschk6): This.
42435 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
42436 on $(common-objpfx)soversions.mk.
42438 2012-09-07 Joseph Myers <joseph@codesourcery.com>
42441 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
42444 2012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
42446 * malloc/arena.c (arena_get_retry): New function that gets
42447 another arena for the caller to try its request on.
42448 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
42449 current arena cannot fulfill the request.
42450 (__libc_memalign): Likewise.
42451 (__libc_memalign): Likewise.
42452 (__libc_pvalloc): Likewise.
42453 (__libc_calloc): Likewise.
42455 2012-09-05 John Tobey <john.tobey@gmail.com>
42458 * manual/arith.texi (Operations on Complex): Fix description
42459 of carg branch cut.
42461 2012-09-06 Joseph Myers <joseph@codesourcery.com>
42464 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
42468 * manual/memory.texi (Memory): Make order of menu items match
42471 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
42473 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
42474 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
42475 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
42477 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
42479 * csu/libc-tls.c (static_dtv): Renamed to ...
42480 (_dl_static_dtv): This. Make it global.
42481 (_dl_initial_dtv): Removed.
42482 (__libc_setup_tls): Updated.
42483 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
42484 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
42487 2012-09-06 Petr Machata <pmachata@redhat.com>
42489 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
42490 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
42491 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
42492 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
42494 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
42497 * csu/libc-tls.c (_dl_initial_dtv): New variable.
42498 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
42501 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
42504 * Makeconfig (link-static-before-libc): Replace $(+prector)
42506 (link-static-after-libc): Replace $(+postctor) with
42508 (link-bounded): Replace $(+prector)/$(+postctor) with
42509 $(+prectorT)/$(+postctorT).
42510 (+prectorT): New macro.
42511 (+postctorT): Likewise.
42513 2012-09-06 Joseph Myers <joseph@codesourcery.com>
42515 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
42516 (round_str): Handle values above the maximum for IBM long double
42518 * stdlib/tst-strtod-round.c (tests): Regenerated.
42520 2012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
42522 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
42524 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
42525 zarch_nohighgprs around the zarch optimized routines.
42526 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
42527 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
42528 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
42531 2012-09-05 David S. Miller <davem@davemloft.net>
42533 * sysdeps/sparc/fpu/libm-test-ulps: Update.
42535 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
42536 (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
42537 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
42538 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
42541 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
42543 * malloc/arena.c: Fold copyright years.
42544 * malloc/mcheck.c, malloc/memusage.c: Likewise.
42546 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
42548 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
42550 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
42552 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
42554 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
42556 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
42557 change internal state upon failure.
42559 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
42561 * malloc/mcheck.c (mcheck_check_all): Fix typo.
42562 * malloc/memusage.c (mmap): Likewise.
42563 (mmap64, mremap): Likewise. Adjust name in comment.
42565 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
42567 * libio/fileops.c: Fix typos in comments.
42568 * libio/oldfileops.c: Likewise.
42569 * libio/wfileops.c: Likewise.
42571 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
42574 * malloc/Makefile (tests): Add tst-malloc-usable test case.
42575 (tst-malloc-usable-ENV): Set environment for test case.
42576 * malloc/hooks.c (malloc_check_get_size): New function to get
42578 * malloc/malloc.c (musable): Use malloc_check_get_size.
42579 * malloc/tst-malloc-usable.c: New test case.
42581 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
42583 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
42585 2012-09-05 Allan McRae <allan@archlinux.org>
42588 * configure.in (CXX_SYSINCLUDES): Use compiler output to
42589 determine header location.
42590 * configure: Regenerated.
42592 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
42594 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
42596 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
42597 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
42599 (test): Regenerate.
42601 2012-09-04 David S. Miller <davem@davemloft.net>
42603 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
42604 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
42605 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
42607 2012-09-04 Florian Weimer <fweimer@redhat.com>
42609 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
42612 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
42614 2012-09-04 Joseph Myers <joseph@codesourcery.com>
42617 * libio/iogetdelim.c: Include <limits.h>.
42618 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
42619 + len + 1 would overflow.
42621 2012-09-03 Andreas Jaeger <aj@suse.de>
42623 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
42624 * sysdeps/i386/fpu/libm-test-ulps: Update.
42626 2012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
42628 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
42629 Add s_sinf-sse2, s_conf-sse2.
42631 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
42632 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
42633 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
42634 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
42636 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
42637 for using routine as __sinf_ia32.
42638 Use macro for function declaration and weak_alias.
42639 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
42640 for using routine as __cosf_ia32.
42641 Use macro for function declaration and weak_alias.
42643 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
42644 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
42646 * sysdeps/x86_64/fpu/s_sinf.S: New file.
42647 * sysdeps/x86_64/fpu/s_cosf.S: New file.
42648 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
42650 * math/libm-test.inc (cos_test): Add more test cases.
42651 (sin_test): Likewise.
42652 (sincos_test): Likewise.
42654 2012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
42656 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
42657 (IFUNC_RESOLVE): Make pointers to the specialized implementations
42659 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
42661 2012-09-02 H.J. Lu <hongjiu.lu@intel.com>
42664 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
42665 first element of the GOT.
42666 (elf_machine_load_address): Return the difference between
42667 the runtime address of _DYNAMIC and elf_machine_dynamic ().
42669 2012-09-01 Allan McRae <allan@archlinux.org>
42672 * configure.in (AWK): Require gawk version 3.0 or later.
42673 * configure: Regenerated.
42675 2012-09-01 Joseph Myers <joseph@codesourcery.com>
42677 * sysdeps/unix/sysv/linux/kernel-features.h
42678 (__ASSUME_POSIX_CPU_TIMERS): Remove.
42679 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
42680 [__NR_clock_getres]: Make code unconditional.
42681 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
42682 (clock_getcpuclockid): Remove code left unreachable by removal of
42684 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
42685 code unconditional.
42686 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
42687 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
42688 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
42689 Make code unconditional.
42690 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
42691 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
42692 * sysdeps/unix/sysv/linux/clock_settime.c
42693 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
42695 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
42696 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
42698 2012-08-29 H.J. Lu <hongjiu.lu@intel.com>
42701 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
42702 scripts/test-installation.pl.
42704 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
42705 and $ld_so_version if it is set.
42707 2012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
42710 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
42711 failure if reading from procfs failed.
42712 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
42714 2012-08-27 Joseph Myers <joseph@codesourcery.com>
42716 * sysdeps/unix/sysv/linux/kernel-features.h
42717 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
42718 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
42719 Remove conditional code.
42720 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
42721 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
42722 Remove conditional code.
42723 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
42724 * sysdeps/unix/sysv/linux/i386/fxstat.c
42725 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
42726 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
42727 * sysdeps/unix/sysv/linux/i386/fxstatat.c
42728 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
42729 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
42730 * sysdeps/unix/sysv/linux/i386/lxstat.c
42731 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
42732 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
42733 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
42734 Remove conditional code.
42735 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
42736 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
42737 Remove conditional code.
42738 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
42739 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
42740 <kernel-features.h>.
42741 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
42743 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
42744 Remove conditional code.
42745 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
42746 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
42747 Remove conditional.
42749 2012-08-27 Mike Frysinger <vapier@gentoo.org>
42752 * NEWS: Add fixed bug number.
42754 2012-08-27 Joseph Myers <joseph@codesourcery.com>
42757 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
42758 underflowing exponent in case of negative sign.
42759 * stdlib/tst-strtod-round-data: Add more tests.
42760 * stdlib/tst-strtod-round.c (tests): Regenerated.
42763 * stdlib/strtod_l.c (NDIG): Remove.
42764 (HEXNDIG): Likewise.
42765 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
42766 smallest representable value.
42767 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
42768 lie within an exact representation of 1/2 ulp of the result.
42769 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
42771 (TENS_P9_IDX): Define unconditionally.
42772 (TENS_P9_SIZE): Likewise.
42773 (TENS_P10_IDX): Likewise.
42774 (TENS_P10_SIZE): Likewise.
42775 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
42776 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
42777 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
42778 entries for 10^2^13 and 10^2^14.
42779 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
42780 (TENS_P13_IDX): Define.
42781 (TENS_P13_SIZE): Likewise.
42782 (TENS_P14_IDX): Likewise.
42783 (TENS_P14_SIZE): Likewise.
42784 (_fpioconst_pow10): Change array size to
42785 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
42787 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
42788 1024]: Add entries for 10^2^13 and 10^2^14.
42789 [LAST_POW10 > _LAST_POW10]: Remove #error.
42790 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
42791 (_fpioconst_pow10): Change array size to
42792 FPIOCONST_POW10_ARRAY_SIZE.
42793 * stdlib/gen-fpioconst.c: New file.
42794 * stdlib/gen-tst-strtod-round.c: Likewise.
42795 * stdlib/tst-strtod-round-data: Likewise.
42796 * stdlib/tst-strtod-round.c: Likewise.
42797 * stdlib/Makefile (tests): Add tst-strtod-round.
42800 * stdlib/strtod_l.c: Include <stdint.h>.
42801 (NDEBUG): Do not define.
42802 (round_and_return): Change EXPONENT parameter to type intmax_t.
42803 Rearrange calculations to avoid internal overflow possibilities.
42804 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
42805 Rearrange calculations to avoid internal overflow possibilities.
42806 Assert that number fits inside MPNSIZE limbs.
42807 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
42808 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
42809 calculations and add assertions to avoid internal overflow
42810 possibilities. Add casts to avoid signed/unsigned operations.
42811 * stdlib/tst-strtod-overflow.c: New file.
42812 * stdlib/Makefile (tests): Add tst-strtod-overflow.
42814 2012-08-25 Marek Polacek <polacek@redhat.com>
42816 * time/time.h: Fix some typos in comments.
42818 2012-08-23 Roland McGrath <roland@hack.frob.com>
42820 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
42821 * posix/tst-rfc3484-2.c: Likewise.
42822 * posix/tst-rfc3484-3.c: Likewise.
42824 2012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
42826 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
42827 (EF_ARM_ABI_FLOAT_HARD): Likewise.
42829 2012-08-23 Joseph Myers <joseph@codesourcery.com>
42831 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
42832 #include of fxstatat64.c.
42834 2012-08-22 Roland McGrath <roland@hack.frob.com>
42836 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
42837 * shadow/getspent_r.c: Likewise.
42838 * shadow/getspnam.c: Likewise.
42839 * shadow/getspnam_r.c: Likewise.
42840 * gshadow/getsgent.c: Likewise.
42841 * gshadow/getsgent_r.c: Likewise.
42842 * gshadow/getsgnam.c: Likewise.
42843 * gshadow/getsgnam_r.c: Likewise.
42844 * inet/getnetbyad.c: Likewise.
42845 * inet/getnetbyad_r.c: Likewise.
42846 * inet/getnetbynm.c: Likewise.
42847 * inet/getnetbynm_r.c: Likewise.
42848 * inet/getnetent.c: Likewise.
42849 * inet/getnetent_r.c: Likewise.
42850 * inet/getproto.c: Likewise.
42851 * inet/getproto_r.c: Likewise.
42852 * inet/getprtent.c: Likewise.
42853 * inet/getprtent_r.c: Likewise.
42854 * inet/getprtname.c: Likewise.
42855 * inet/getprtname_r.c: Likewise.
42856 * inet/getrpcbyname.c: Likewise.
42857 * inet/getrpcbyname_r.c: Likewise.
42858 * inet/getrpcbynumber.c: Likewise.
42859 * inet/getrpcbynumber_r.c: Likewise.
42860 * inet/getrpcent.c: Likewise.
42861 * inet/getrpcent_r.c: Likewise.
42862 * inet/getaliasent.c: Likewise.
42863 * inet/getaliasent_r.c: Likewise.
42864 * inet/getaliasname.c: Likewise.
42865 * inet/getaliasname_r.c: Likewise.
42866 * nscd/getgrgid_r.c: Likewise.
42867 * nscd/getgrnam_r.c: Likewise.
42868 * nscd/gethstbyad_r.c: Likewise.
42869 * nscd/gethstbynm3_r.c: Likewise.
42870 * nscd/getpwnam_r.c: Likewise.
42871 * nscd/getpwuid_r.c: Likewise.
42872 * nscd/getsrvbynm_r.c: Likewise.
42873 * nscd/getsrvbypt_r.c: Likewise.
42874 * nscd/gai.c: Likewise.
42876 * configure.in (build_nscd): New substituted variable, set
42877 by --disable-build-nscd and defaults to $use_nscd.
42878 * configure: Regenerated.
42879 * config.make.in (build-nscd): New substituted variable.
42880 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
42881 Change conditional to require [$(build-nscd) = yes] as well.
42882 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
42885 * configure.in (use_nscd): New substituted variable, set by
42886 --disable-nscd. If enabled, define USE_NSCD.
42887 * configure: Regenerated.
42888 * config.h.in: Add USE_NSCD.
42889 * config.make.in (use-nscd): New substituted variable.
42890 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
42891 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
42892 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
42893 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
42894 (CFLAGS-getgrnam_r.c): Likewise.
42895 (CFLAGS-initgroups.c): Likewise.
42896 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
42897 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
42899 * inet/getnetgrent_r.c
42900 (nscd_setnetgrent): New function, broken out of ...
42901 (setnetgrent): ... here. Call it.
42902 (innetgr): Conditionalize nscd bits on [USE_NSCD].
42903 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
42904 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
42905 * nscd/Makefile (routines, aux): Move definitions after include of
42906 Makeconfig. Conditionalize on [$(use-nscd) != no].
42907 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
42908 Conditionalize on [USE_NSCD].
42909 (is_nscd, nscd_init_cb): Likewise.
42910 (nss_load_library): Conditionalize init callback on [USE_NSCD].
42911 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
42912 * nss/nss_db/db-init.c: Likewise.
42913 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
42915 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
42916 (make_request): Use it.
42917 (cache_valid_p): New function.
42918 (__check_pf): Use it.
42919 * NEWS: Add item for --disable-nscd.
42921 2012-08-22 Dmitry V. Levin <ldv@altlinux.org>
42923 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
42924 to support sed >= 4.2.1-20-ga9bf076.
42925 * configure: Regenerated.
42927 2012-08-22 Roland McGrath <roland@hack.frob.com>
42929 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
42930 Conditionalize whole body on [IREL].
42932 2012-08-22 Jeff Law <law@redhat.com>
42935 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
42936 if the family is PF_UNSPEC.
42938 2012-08-22 Mike Frysinger <vapier@gentoo.org>
42940 * Makerules (lib-version): Rename from V.
42941 (install-lib-nosubdir): Change V to lib-version.
42943 2012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
42946 * powerpc32/power6/wcschr.c: New file.
42947 * powerpc32/power6/wcscpy.c: New file.
42948 * powerpc32/power6/wcsrchr.c: New file.
42949 * powerpc64/power6/wcschr.c: New file.
42950 * powerpc64/power6/wcscpy.c: New file.
42951 * powerpc64/power6/wcsrchr.c: New file.
42953 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
42955 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
42956 (two_way_short_needle): Use it.
42957 * string/strstr.c (AVAILABLE1_USES_J): Define.
42958 * string/strcasestr.c: Likewise.
42960 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
42962 * string/strcasestr.c (TOLOWER): Make side-effect safe.
42965 * NEWS: Add an entry.
42966 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
42967 define their defaults.
42968 (two_way_short_needle): Detect end-of-string on-the-fly.
42969 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
42970 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
42971 * string/bug-strcasestr1.c: New test.
42972 * string/Makefile: Run it.
42974 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
42977 * string/str-two-way.h (two_way_short_needle): Optimize matching of
42978 the first character.
42980 2012-08-21 Roland McGrath <roland@hack.frob.com>
42982 * csu/elf-init.c (__libc_csu_irel): Function removed.
42983 * csu/libc-start.c (apply_irel): New function.
42984 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
42986 2012-08-21 Joseph Myers <joseph@codesourcery.com>
42988 * sysdeps/unix/sysv/linux/kernel-features.h
42989 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
42990 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
42991 <kernel-features.h>.
42992 [__NR_fadvise64_64]: Make code unconditional.
42993 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
42994 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
42995 !__NR_fadvise64_64)]: Likewise.
42996 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
42997 !__NR_fadvise64_64))]: Likewise.
42998 [__NR_fadvise64]: Make code unconditional.
42999 [!__NR_fadvise64]: Remove conditional code.
43000 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
43001 <kernel-features.h>.
43002 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
43004 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
43006 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
43007 not include <kernel-features.h>.
43008 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
43010 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
43012 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
43013 include <kernel-features.h>.
43014 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
43016 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
43019 2012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
43021 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
43022 slight instruction rearrangements per scrollpipe analysis.
43023 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
43025 2012-08-20 Roland McGrath <roland@hack.frob.com>
43027 * manual/syslog.texi (syslog; vsyslog, closelog):
43028 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
43029 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
43031 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
43032 DSOCAPS to match condition on defining it.
43034 2012-08-20 Joseph Myers <joseph@codesourcery.com>
43036 * sysdeps/unix/sysv/linux/kernel-features.h
43037 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
43038 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
43039 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
43040 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
43041 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
43042 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
43043 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
43044 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
43045 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
43046 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
43048 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
43049 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
43051 * sysdeps/unix/sysv/linux/kernel-features.h
43052 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
43053 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
43055 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
43056 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
43057 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
43058 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
43059 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
43060 Make code unconditional.
43061 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
43062 (__mmap64) [!__NR_mmap2]: Likewise.
43063 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
43064 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
43065 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
43066 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
43067 [__NR_mmap2]: Make code unconditional.
43068 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
43069 (__mmap64) [!__NR_mmap2]: Likewise.
43071 2012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
43073 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
43075 2012-08-18 Andreas Jaeger <aj@suse.de>
43077 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
43079 2012-08-18 Mike Frysinger <vapier@gentoo.org>
43081 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
43082 * include/unistd.h (__have_sock_cloexec): Likewise.
43083 (__have_pipe2): Likewise.
43084 (__have_dup3): Likewise.
43086 2012-08-18 Mike Frysinger <vapier@gentoo.org>
43089 * include/unistd.h (__have_pipe2): Change define into an extern int.
43090 (__have_dup3): Likewise.
43091 * socket/have_sock_cloexec.c: Include fcntl.h.
43092 (__have_pipe2): New variable.
43093 (__have_dup3): Likewise.
43095 2012-08-17 Mike Frysinger <vapier@gentoo.org>
43097 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
43099 2012-08-17 Marek Polacek <polacek@redhat.com>
43101 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
43102 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
43104 2012-08-17 Roland McGrath <roland@hack.frob.com>
43106 * configure.in: Add AC_SUBST for sysheaders.
43107 * configure: Regenerated.
43108 * config.make.in (sysheaders): New substituted variable.
43110 * sysdeps/unix/mkfifo.c: Moved ...
43111 * sysdeps/posix/mkfifo.c: ... here.
43112 * sysdeps/unix/mkfifoat.c: Moved ...
43113 * sysdeps/posix/mkfifoat.c: ... here.
43115 * sysdeps/unix/utime.c: Moved ...
43116 * sysdeps/posix/utime.c: ... here.
43118 * sysdeps/unix/time.c: Moved ...
43119 * sysdeps/posix/time.c: ... here.
43120 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
43121 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
43123 * sysdeps/unix/nice.c: Moved ...
43124 * sysdeps/posix/nice.c: ... here.
43126 * sysdeps/unix/alarm.c: Moved ...
43127 * sysdeps/posix/alarm.c: ... here.
43129 * intl/Makefile ($(codeset_mo)): Depend on the input file.
43131 2012-08-17 Jeff Law <law@redhat.com>
43133 * intl/Makefile (codeset_mo): New variable.
43134 ($(codeset_mo)): New target.
43135 (tst-codeset.out): Depend on that. Remove explicit rule.
43136 (tst-gettext3.out, tst-gettext5.out): Likewise.
43137 (LOCPATH-ENV, tst-codeset-ENV): New variables.
43138 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
43139 * intl/tst-codeset.sh: Remove.
43140 * intl/tst-gettext3.sh: Likewise.
43141 * intl/tst-gettext5.sh: Likewise.
43143 2012-08-17 Roland McGrath <roland@hack.frob.com>
43145 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
43146 * sysdeps/unix/syscalls.list: ... here.
43148 * sysdeps/posix/getaddrinfo.c
43149 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
43150 (gaiconf_init, gaiconf_reload): Use them.
43151 [!_STATBUF_ST_NSEC]
43152 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
43153 Define using time_t rather than struct timespec.
43155 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
43156 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
43158 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
43160 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
43161 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
43164 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
43165 __libc_cleanup_push argument.
43167 * bits/param.h: New file.
43168 * misc/sys/param.h: New file.
43169 * include/sys/param.h: New file.
43170 * misc/Makefile (headers): Add bits/param.h.
43171 * sysdeps/generic/sys/param.h: File removed.
43172 * sysdeps/unix/sysv/linux/bits/param.h: New file.
43173 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
43174 * sysdeps/mach/hurd/bits/param.h: New file.
43175 * sysdeps/mach/hurd/sys/param.h: File removed.
43177 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
43180 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
43182 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
43183 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
43186 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
43187 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
43188 rather than -D_IO_MTSAFE_IO conditionally.
43189 * stdio-common/Makefile (CPPFLAGS): Likewise.
43190 * wcsmbs/Makefile (CPPFLAGS): Likewise.
43191 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
43192 Use $(libio-mtsafe).
43193 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
43194 of -D_IO_MTSAFE_IO.
43195 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
43196 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
43197 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
43198 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
43199 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
43200 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
43201 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
43202 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
43203 (CFLAGS-fread_u_chk.c): Likewise.
43204 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
43205 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
43206 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
43207 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
43208 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
43209 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
43210 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
43211 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
43212 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
43214 * libio/Makefile: Test [$(libc-reentrant) = yes]
43215 instead of [$(filter %REENTRANT, $(defines)) nonempty].
43218 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
43219 * sysdeps/pthread/configure: File removed.
43220 * sysdeps/pthread/Makeconfig: New file.
43221 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
43222 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
43224 2012-08-16 Gary Benson <gbenson@redhat.com>
43226 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
43227 unmapping the first object in a namespace.
43229 2012-08-16 Roland McGrath <roland@hack.frob.com>
43231 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
43232 (__internal_setnetgrent): ... this. Add internal_function to
43233 definition. Add libc_hidden_def.
43234 (setnetgrent): Update caller.
43235 (internal_endnetgrent): Renamed to ...
43236 (__internal_endnetgrent): ... this. Add internal_function to
43237 definition. Add libc_hidden_def.
43238 (endnetgrent): Update caller.
43239 (internal_getnetgrent_r): Renamed to ...
43240 (__internal_getnetgrent_r): ... this. Add internal_function to
43241 definition. Add libc_hidden_def.
43242 (__getnetgrent_r): Update caller.
43243 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
43245 2012-08-16 Joseph Myers <joseph@codesourcery.com>
43247 * stdlib/longlong.h: Update from GCC.
43249 2012-08-16 Roland McGrath <roland@hack.frob.com>
43251 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
43252 on _QL, which is set by umul_ppmm but never used.
43253 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
43254 variables, which are set by GMP macros but never used.
43255 * stdio-common/_itowa.c (_itowa): Likewise.
43256 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
43257 * stdlib/mod_1.c (mpn_mod_1): Likewise.
43259 2012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
43261 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
43262 struct La_sh_regs is not constant.
43263 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
43264 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
43265 and struct La_sparc64_regs are not constant.
43267 2012-08-16 Joseph Myers <joseph@codesourcery.com>
43269 * sysdeps/unix/sysv/linux/kernel-features.h
43270 (__ASSUME_POSIX_TIMERS): Remove.
43271 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
43272 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
43273 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
43274 Make code unconditional.
43275 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
43276 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
43277 Make code unconditional.
43278 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
43279 * sysdeps/unix/sysv/linux/clock_nanosleep.c
43280 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
43281 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
43282 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
43283 Make code unconditional.
43284 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
43285 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
43286 (__libc_missing_posix_timers): Remove.
43288 2012-08-15 Roland McGrath <roland@hack.frob.com>
43290 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
43291 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
43293 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
43295 * elf/dl-sym.c: Include <stdlib.h>.
43297 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
43298 constants, which avoids warnings in 32-bit builds.
43300 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
43301 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
43303 * misc/lseek.c: File moved to ...
43304 * io/lseek.c: ... here.
43306 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
43308 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
43309 shifting LEN more than 31 bits at once.
43311 2012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
43314 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
43315 segmentation fault for a case of two empty input strings.
43316 * string/test-strncasecmp.c (check1): Renamed to...
43317 (bz12205): ...this.
43318 (bz14195): Add new testcase for two empty input strings and N > 0.
43319 (test_main): Call new testcase, adapt for renamed function.
43321 2012-08-15 Andreas Jaeger <aj@suse.de>
43324 * crypt/md5test2.c: New test, based on test supplied by Serge
43325 Belyshev <belyshev@depni.sinp.msu.ru>.
43326 * crypt/Makefile (xtests): Add md5test-giant..
43327 * crypt/Makefile ($(objpfx)md5test-giant): Add.
43329 2012-08-15 Paul Eggert <eggert@cs.ucla.edu>
43332 * crypt/md5.c (md5_process_block): Don't assume the buffer
43333 length is less than 2**32.
43334 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
43335 length is less than 2**64.
43337 2012-08-15 Roland McGrath <roland@hack.frob.com>
43339 * string/str-two-way.h: Include <sys/param.h>.
43340 (MAX): Macro removed.
43342 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
43343 Move #define and #undef of memmove to just before and after
43344 including <string.h>.
43346 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
43347 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
43348 and after including <string.h>. Move declarations of
43349 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
43350 to before #include "string/memmove.c".
43352 * include/dirent.h: Declare __getdirentries.
43354 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
43355 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
43357 2012-08-14 Mike Frysinger <vapier@gentoo.org>
43359 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
43360 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
43361 * sysdeps/i386/configure: Regenerated.
43362 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
43363 STABS_CURRENT_FILE, and STABS_FUN.
43364 (END): Remove call to STABS_FUN_END.
43365 (STABS_CURRENT_FILE1): Delete.
43366 (STABS_CURRENT_FILE): Likewise.
43367 (STABS_FUN): Likewise.
43368 (STABS_FUN_END): Likewise.
43369 (STABS_FUN2): Likewise.
43370 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
43371 * sysdeps/x86_64/configure: Regenerated.
43373 2012-08-14 Roland McGrath <roland@hack.frob.com>
43375 * elf/dl-open.c: Include <atomic.h>.
43376 * elf/dl-lookup.c: Likewise.
43378 2012-08-14 Joseph Myers <joseph@codesourcery.com>
43380 * sysdeps/unix/sysv/linux/kernel-features.h
43381 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
43382 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
43384 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
43386 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
43387 condition on __ASSUME_CLONE_THREAD_FLAGS.
43389 2012-08-14 Andreas Jaeger <aj@suse.de>
43391 * sysdeps/i386/fpu/libm-test-ulps: Update.
43393 2012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
43395 * include/atomic.h (atomic_exchange_and_add): Split into ...
43396 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
43399 2012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
43401 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
43403 2012-08-13 Jeff Law <law@redhat.com>
43405 * manual/stdio.texi (snprintf): Clarify handling of the trailing
43406 null byte in the output string.
43408 2012-08-10 Joseph Myers <joseph@codesourcery.com>
43410 * sysdeps/unix/sysv/linux/kernel-features.h
43411 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
43412 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
43413 (__ASSUME_ARG_MAX_STACK_BASED): Define.
43414 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
43415 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
43416 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
43417 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
43419 2012-08-09 Jeff Law <law@redhat.com>
43422 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
43423 When avoid_arena is set, don't retry in the that arena. Pick the
43424 next one, whatever it might be.
43425 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
43426 (arena_lock): Pass in new parameter to arena_get2.
43427 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
43429 (__libc_malloc): Unify retrying after main arena failure with
43430 __libc_memalign version.
43431 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
43433 2012-08-09 H.J. Lu <hongjiu.lu@intel.com>
43436 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
43437 to __redirect_strstr.
43438 (__strstr_sse42): Use typeof __redirect_strstr.
43439 (__strstr_ia32): Likewise.
43440 (__libc_strstr): New prototype.
43441 (strstr): Renamed to ...
43442 (__libc_strstr): This.
43443 (strstr): New strong alias of __libc_strstr.
43444 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
43445 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
43448 (__libc_time): New prototype.
43449 (time_ifunc): Replace time with __libc_time.
43450 (time): New strong alias and hidden definition of __libc_time.
43451 (__GI_time): Remove strong alias.
43452 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
43453 Include <stddef.h>.
43454 (memmove): Redefined to __redirect_memmove.
43455 (__memmove_sse2): Use typeof __redirect_memmove.
43456 (__memmove_ssse3): Likewise.
43457 (__memmove_ssse3_back): Likewise.
43458 (__libc_memmove): New prototype.
43459 (memmove): Renamed to ...
43460 (__libc_memmove): This.
43461 (memmove): New strong alias of __libc_memmove.
43463 2012-08-08 Mark Salter <msalter@redhat.com>
43466 (R_MN10300_TLS_GD): Define.
43467 (R_MN10300_TLS_LD): Likewise.
43468 (R_MN10300_TLS_LDO): Likewise.
43469 (R_MN10300_TLS_GOTIE): Likewise.
43470 (R_MN10300_TLS_IE): Likewise.
43471 (R_MN10300_TLS_LE): Likewise.
43472 (R_MN10300_TLS_DTPMOD): Likewise.
43473 (R_MN10300_TLS_DTPOFF): Likewise.
43474 (R_MN10300_TLS_TPOFF): Likewise.
43475 (R_MN10300_SYM_DIFF): Likewise.
43476 (R_MN10300_ALIGN): Likewise.
43477 (R_MN10300_NUM): Update.
43479 2012-08-08 Joseph Myers <joseph@codesourcery.com>
43481 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
43484 2012-08-08 Roland McGrath <roland@hack.frob.com>
43486 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
43488 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
43489 sysdeps/unix -> sysdeps/posix move.
43490 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
43492 2012-08-07 Allan McRae <allan@archlinux.org>
43495 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
43496 (SUNOS_CPP): Likewise.
43497 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
43499 (open_input): Call CPP using execvp.
43501 2012-08-07 Joseph Myers <joseph@codesourcery.com>
43503 * sysdeps/unix/sysv/linux/kernel-features.h
43504 (__ASSUME_PROT_GROWSUPDOWN): Remove.
43505 (__ASSUME_NO_CLONE_DETACHED): Likewise.
43506 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
43507 (__ASSUME_WAITID_SYSCALL): Likewise.
43508 * sysdeps/unix/sysv/linux/dl-execstack.c
43509 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
43510 code unconditional.
43511 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
43513 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
43514 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
43515 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
43517 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
43519 [__ASSUME_WAITID_SYSCALL]: Likewise.
43520 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
43522 2012-08-07 Roland McGrath <roland@hack.frob.com>
43524 * sysdeps/unix/closedir.c: Renamed to ...
43525 * sysdeps/posix/closedir.c: ... here.
43526 * sysdeps/unix/dirfd.c: Renamed to ...
43527 * sysdeps/posix/dirfd.c: ... here.
43528 * sysdeps/unix/dirstream.h: Renamed to ...
43529 * sysdeps/posix/dirstream.h: ... here.
43530 * sysdeps/unix/fdopendir.c: Renamed to ...
43531 * sysdeps/posix/fdopendir.c: ... here.
43532 * sysdeps/unix/opendir.c: Renamed to ...
43533 * sysdeps/posix/opendir.c: ... here.
43534 * sysdeps/unix/readdir.c: Renamed to ...
43535 * sysdeps/posix/readdir.c: ... here.
43536 * sysdeps/unix/readdir_r.c: Renamed to ...
43537 * sysdeps/posix/readdir_r.c: ... here.
43538 * sysdeps/unix/rewinddir.c: Renamed to ...
43539 * sysdeps/posix/rewinddir.c: ... here.
43540 * sysdeps/unix/seekdir.c: Renamed to ...
43541 * sysdeps/posix/seekdir.c: ... here.
43542 * sysdeps/unix/telldir.c: Renamed to ...
43543 * sysdeps/posix/telldir.c: ... here.
43544 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
43545 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
43546 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
43547 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
43549 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
43550 * bits/fcntl.h: ... here.
43552 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
43554 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
43555 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
43556 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
43557 (struct flock): Move l_start, l_len to the beginning.
43558 Use __pid_t for l_pid.
43559 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
43560 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
43561 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
43562 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
43563 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
43564 [__USE_LARGEFILE64] (struct flock64): New type.
43565 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
43567 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
43568 * bits/dirent.h: ... here.
43570 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
43571 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
43573 2012-08-07 Joseph Myers <joseph@codesourcery.com>
43575 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
43576 Change from 2.6.0 to 2.6.16.
43577 * sysdeps/unix/sysv/linux/configure: Regenerated.
43578 * sysdeps/unix/sysv/linux/kernel-features.h
43579 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
43580 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
43582 (__ASSUME_UTIMES): Likewise.
43583 (__ASSUME_CLONE_STOPPED): Remove.
43584 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
43585 architectures, not kernel version.
43586 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
43587 (__ASSUME_NO_CLONE_DETACHED): Likewise.
43588 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
43589 (__ASSUME_WAITID_SYSCALL): Likewise.
43590 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
43591 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
43592 * README: State 2.6.16 as minimum Linux kernel version. Do not
43593 refer to older versions.
43595 2012-08-06 Roland McGrath <roland@hack.frob.com>
43597 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
43598 Define alphasort64 as an alias.
43599 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
43600 Define versionsort64 as an alias.
43601 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
43602 Define scandir64 as an alias.
43603 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
43604 Define scandirat64 as an alias.
43605 * dirent/alphasort64.c (alphasort64):
43606 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
43607 * dirent/versionsort64.c: Likewise.
43608 * dirent/scandir64.c: Likewise.
43609 * dirent/scandirat64.c: Likewise.
43610 * sysdeps/wordsize-64/alphasort.c: File removed.
43611 * sysdeps/wordsize-64/alphasort64.c: File removed.
43612 * sysdeps/wordsize-64/scandir.c: File removed.
43613 * sysdeps/wordsize-64/scandir64.c: File removed.
43614 * sysdeps/wordsize-64/scandirat.c: File removed.
43615 * sysdeps/wordsize-64/scandirat64.c: File removed.
43616 * sysdeps/wordsize-64/versionsort.c: File removed.
43617 * sysdeps/wordsize-64/versionsort64.c: File removed.
43618 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
43619 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
43620 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
43621 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
43622 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
43623 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
43624 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
43625 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
43627 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
43628 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
43629 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
43630 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
43631 [defined __arch64__ || defined __sparcv9]
43632 (__INO_T_MATCHES_INO64_T): New macro.
43633 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
43634 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
43635 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
43636 * sysdeps/unix/sysv/linux/bits/dirent.h
43637 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
43638 (_DIRENT_MATCHES_DIRENT64): New macro.
43640 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
43641 Define lockf64 as an alias.
43642 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
43643 Define fseeko64 as an alias.
43644 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
43645 Define ftello64 as an alias.
43646 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
43647 Define _IO_fgetpos64 and fgetpos64 as aliases.
43648 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
43649 Define _IO_fsetpos64 and fsetpos64 as aliases.
43650 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
43651 Conditionalize body on this.
43652 * libio/fseeko64.c: Likewise.
43653 * libio/ftello64.c: Likewise.
43654 * libio/iofgetpos64.c: Likewise.
43655 * libio/iofsetpos64.c: Likewise.
43656 * sysdeps/wordsize-64/lockf.c: File removed.
43657 * sysdeps/wordsize-64/lockf64.c: File removed.
43658 * sysdeps/wordsize-64/fseeko.c: File removed.
43659 * sysdeps/wordsize-64/fseeko64.c: File removed.
43660 * sysdeps/wordsize-64/ftello.c: File removed.
43661 * sysdeps/wordsize-64/ftello64.c: File removed.
43662 * sysdeps/wordsize-64/iofgetpos.c: File removed.
43663 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
43664 * sysdeps/wordsize-64/iofsetpos.c: File removed.
43665 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
43666 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
43667 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
43668 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
43669 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
43670 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
43671 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
43672 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
43673 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
43674 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
43675 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
43677 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
43678 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
43679 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
43680 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
43681 [defined __arch64__ || defined __sparcv9]
43682 (__OFF_T_MATCHES_OFF64_T): New macro.
43683 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
43684 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
43685 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
43686 (__OFF_T_MATCHES_OFF64_T): New macro.
43688 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
43690 * stdlib/secure-getenv.c (__secure_getenv): Replace
43691 GLIBC_2_16 with GLIBC_2_17.
43693 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
43695 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
43696 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
43698 2012-08-03 David S. Miller <davem@davemloft.net>
43700 * sysdeps/sparc/fpu/libm-test-ulps: Update.
43702 2012-08-03 Joseph Myers <joseph@codesourcery.com>
43704 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
43706 (__ASSUME_CORRECT_SI_PID): Likewise.
43707 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
43708 (__ASSUME_TMPFS_NAME): Likewise.
43709 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
43710 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
43711 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
43712 (HAVE_AUX_SECURE): Make definition unconditional.
43713 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
43714 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
43716 2012-08-03 Roland McGrath <roland@hack.frob.com>
43718 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
43719 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
43720 * sysdeps/mach/hurd/eloop-threshold.h: New file.
43721 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
43722 __eloop_threshold instead of SYMLOOP_MAX.
43724 * sysdeps/generic/eloop-threshold.h: New file.
43725 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
43727 * elf/chroot_canon.c (chroot_canon): Likewise.
43729 2012-08-03 Joseph Myers <joseph@codesourcery.com>
43732 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
43733 Change to 2.6.0 everywhere.
43734 * sysdeps/unix/sysv/linux/configure: Regenerated.
43735 * sysdeps/unix/sysv/linux/kernel-features.h
43736 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
43737 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
43739 (__ASSUME_POSIX_TIMERS): Define unconditionally.
43740 (__ASSUME_FUTEX_REQUEUE): Remove.
43741 (__ASSUME_STATFS64): Define unconditionally.
43742 (__ASSUME_AT_SECURE): Likewise.
43743 (__ASSUME_CORRECT_SI_PID): Likewise.
43744 (__ASSUME_TGKILL): Define without depending on kernel version for
43746 (__ASSUME_UTIMES): Likewise.
43747 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
43749 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
43750 (__ASSUME_TMPFS_NAME): Likewise.
43751 * README: Update reference to Linux kernel versions.
43753 2012-08-02 Marek Polacek <polacek@redhat.com>
43756 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
43757 libc_cv_asm_type_prefix with %.
43758 * configure: Regenerated.
43759 * include/libc-symbols.h: Remove comment about
43760 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
43761 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
43762 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
43763 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
43764 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
43765 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
43766 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
43767 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
43768 * elf/tst-unique2mod1.c: Likewise.
43769 * elf/tst-unique1mod2.c: Likewise.
43770 * elf/tst-unique1mod1.c: Likewise.
43771 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
43772 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
43773 Replace ASM_TYPE_DIRECTIVE with .type.
43774 * sysdeps/s390/s390-64/sysdep.h: Likewise.
43775 * sysdeps/i386/sysdep.h: Likewise.
43776 * sysdeps/x86_64/sysdep.h: Likewise.
43777 * sysdeps/sh/sysdep.h: Likewise.
43778 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
43779 Do not define ASM_TYPE_DIRECTIVE.
43780 * sysdeps/powerpc/sysdep.h: Likewise.
43781 * sysdeps/powerpc/powerpc32/sysdep.h:
43782 Replace ASM_TYPE_DIRECTIVE with .type.
43783 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
43784 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
43785 * sysdeps/i386/fpu/e_powf.S: Likewise.
43786 * sysdeps/i386/fpu/e_expl.S: Likewise.
43787 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
43788 * sysdeps/i386/fpu/e_acosh.S: Likewise.
43789 * sysdeps/i386/fpu/e_pow.S: Likewise.
43790 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
43791 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
43792 * sysdeps/i386/fpu/s_expm1.S: Likewise.
43793 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
43794 * sysdeps/i386/fpu/e_log2.S: Likewise.
43795 * sysdeps/i386/fpu/e_log2l.S: Likewise.
43796 * sysdeps/i386/fpu/e_scalb.S: Likewise.
43797 * sysdeps/i386/fpu/e_powl.S: Likewise.
43798 * sysdeps/i386/fpu/e_log10f.S: Likewise.
43799 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
43800 * sysdeps/i386/fpu/e_logl.S: Likewise.
43801 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
43802 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
43803 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
43804 * sysdeps/i386/fpu/e_log2f.S: Likewise.
43805 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
43806 * sysdeps/i386/fpu/e_log.S: Likewise.
43807 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
43808 * sysdeps/i386/fpu/e_logf.S: Likewise.
43809 * sysdeps/i386/fpu/e_log10l.S: Likewise.
43810 * sysdeps/i386/fpu/e_atanh.S: Likewise.
43811 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
43812 * sysdeps/i386/fpu/e_log10.S: Likewise.
43813 * sysdeps/i386/fpu/s_frexp.S: Likewise.
43814 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
43815 * sysdeps/i386/fpu/s_asinh.S: Likewise.
43816 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
43817 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
43818 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
43819 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
43820 * sysdeps/i386/i686/strtok.S: Likewise.
43821 * sysdeps/i386/i386-mcount.S: Likewise.
43822 * sysdeps/i386/strtok.S: Likewise.
43823 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
43824 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
43825 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
43826 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
43827 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
43828 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
43829 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
43830 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
43831 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
43832 * sysdeps/x86_64/_mcount.S: Likewise.
43833 * sysdeps/x86_64/strtok.S: Likewise.
43834 * sysdeps/sh/_mcount.S: Likewise.
43836 2012-08-01 Roland McGrath <roland@hack.frob.com>
43838 * libio/iofopen.c: Include <fcntl.h>.
43839 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
43840 (_IO_fopen64, fopen64): Define as aliases.
43841 * libio/iofopen64.c: Include <fcntl.h>.
43842 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
43843 Conditionalize body on this.
43844 * sysdeps/wordsize-64/iofopen.c: File removed.
43845 * sysdeps/wordsize-64/iofopen64.c: File removed.
43847 2012-08-01 Marek Polacek <polacek@redhat.com>
43849 * libc/Makeconfig: Use elf in place of binfmt-subdir.
43850 Use dlfcn directly instead of a variable.
43851 (binfmt-subdir): Do not define.
43854 2012-08-01 Joseph Myers <joseph@codesourcery.com>
43856 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
43857 Remove all definitions.
43858 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
43859 <kernel-features.h>.
43860 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
43861 (miss_F_GETOWN_EX): Remove all definitions.
43862 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
43864 [!__ASSUME_FCNTL64]: Remove conditional code.
43865 [__ASSUME_FCNTL64]: Make code unconditional.
43866 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
43867 <kernel-features.h>.
43868 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
43869 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
43870 (lockf64) [__NR_fcntl64]: Make code unconditional.
43871 (lockf64) [__ASSUME_FCNTL64]: Likewise.
43873 * sysdeps/unix/sysv/linux/kernel-features.h
43874 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
43875 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
43876 Make code unconditional.
43877 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
43878 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
43879 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
43880 [__NR_vfork]: Make code unconditional.
43881 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
43882 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
43883 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
43884 [__NR_vfork]: Make code unconditional.
43885 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
43886 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
43888 2012-08-01 Roland McGrath <roland@hack.frob.com>
43890 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
43891 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
43893 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
43894 Define mkstemp64 as an alias.
43895 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
43896 Define mkstemps64 as an alias.
43897 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
43898 Define mkostemp64 as an alias.
43899 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
43900 Define mkostemps64 as an alias.
43901 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
43902 Conditionalize body on this.
43903 * misc/mkostemp64.c: Likewise.
43904 * misc/mkostemps64.c: Likewise.
43905 * misc/mkstemps64.c: Likewise.
43906 * sysdeps/wordsize-64/mkstemp64.c: File removed.
43907 * sysdeps/wordsize-64/mkostemp64.c: File removed.
43908 * sysdeps/wordsize-64/mkostemp.c: File removed.
43909 * sysdeps/wordsize-64/mkstemp.c: File removed.
43910 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
43911 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
43912 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
43913 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
43916 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
43917 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
43918 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
43919 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
43921 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
43922 compat_symbol macros from <shlib-compat.h> rather than the underlying
43923 default_symbol_version and symbol_version macros, so that DEFAULT
43924 lines in shlib-versions are respected.
43925 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
43927 2012-08-01 Florian Weimer <fweimer@redhat.com>
43929 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
43930 Declare with warn_unused_result.
43931 (setgid, setregid, setegid, setresgid): Likewise.
43932 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
43934 * WUR-REPORT: Remove set*id functions.
43936 2012-07-31 Pino Toscano <toscano.pino@tiscali.it>
43938 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
43940 2012-07-31 Roland McGrath <roland@hack.frob.com>
43943 * include/sys/socket.h (__libc_accept, __libc_accept4):
43944 Add attribute_hidden.
43945 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
43947 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
43949 * inet/getnetgrent_r.c (setup): Likewise.
43951 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
43953 2012-07-31 David S. Miller <davem@davemloft.net>
43955 * sysdeps/sparc/fpu/libm-test-ulps: Update.
43957 2012-07-31 Joseph Myers <joseph@codesourcery.com>
43960 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
43961 value between 1.0 and 2.0 and smaller part has absolute value less
43963 * math/s_clog10.c (__clog10): Likewise.
43964 * math/s_clog10f.c (__clog10f): Likewise.
43965 * math/s_clog10l.c (__clog10l): Likewise.
43966 * math/s_clogf.c (__clogf): Likewise.
43967 * math/s_clogl.c (__clogl): Likewise.
43968 * math/libm-test.inc (clog_test): Add more tests.
43969 (clog10_test): Likewise.
43970 * sysdeps/i386/fpu/libm-test-ulps: Update.
43971 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43973 2012-07-31 Florian Weimer <fweimer@redhat.com>
43975 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
43976 Exit with zero in case no suitable GID is found, and write a
43977 message to standard error.
43979 2012-07-30 Roland McGrath <roland@hack.frob.com>
43981 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
43983 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
43984 (MAXPATHLEN): Removed.
43985 (NOGROUP, NODEV): New macros.
43986 (setbit, clrbit, isset, isclr): New macros.
43987 (howmany, roundup, powerof2): New macros.
43988 (DEV_BSIZE): New macro.
43990 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
43991 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
43993 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
43994 definition on [!__NO_LONG_DOUBLE_MATH].
43996 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
43997 PTR_MANGLE and PTR_DEMANGLE.
43999 * socket/accept4.c (accept4): Rename to __libc_accept4.
44000 Define accept4 as a weak alias.
44002 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
44003 on [_DIRENT_HAVE_D_TYPE].
44004 * io/ftw.c (ftw_dir): Likewise.
44006 * io/xmknod.c (__xmknod): Don't check PATH for being null.
44008 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
44010 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
44011 Use the BSD numbers rather than the arbitrary ones we had.
44012 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
44013 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
44014 (SIGXCPU, SIGXFSZ): New macros.
44017 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
44018 initializer on [_LIBC_REENTRANT].
44020 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
44021 definitions inside [_POSIX_MAPPED_FILES].
44023 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
44025 * dirent/opendir.c: Include <fcntl.h>.
44027 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
44028 (__libc_getspecific): Likewise.
44029 (__libc_key_create): Likewise.
44031 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
44032 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
44033 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
44034 (tmpfile64): Define as alias.
44035 * sysdeps/wordsize-64/tmpfile.c: File removed.
44036 * sysdeps/wordsize-64/tmpfile64.c: File removed.
44037 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
44038 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
44040 * stdio-common/vfscanf.c: Include <stdbool.h>.
44041 * nss/makedb.c: Likewise.
44042 * stdio-common/_i18n_number.h: Likewise.
44043 * argp/argp-help.c: Likewise.
44044 * posix/wordexp.c: Likewise.
44045 * sysdeps/posix/spawni.c: Likewise.
44046 * nss/nss_files/files-initgroups.c: Likewise.
44047 * stdio-common/reg-modifier.c: Include <stdlib.h>.
44048 * nss/nss_files/files-initgroups.c: Likewise.
44049 * nss/nss_db/db-netgrp.c: Likewise.
44050 * nss/nss_db/db-initgroups.c: Likewise.
44051 * io/fchmodat.c: Include <sys/stat.h>.
44053 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
44054 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
44056 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
44059 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
44060 Add multiple inclusion protection.
44062 2012-07-27 David S. Miller <davem@davemloft.net>
44064 * sysdeps/sparc/fpu/libm-test-ulps: Update.
44066 2012-07-27 Gary Benson <gbenson@redhat.com>
44069 * elf/rtld.c: Include <stap-probe.h>.
44070 (dl_main): Added static probes "init_start" and "init_complete".
44071 * elf/dl-load.c: Include <stap-probe.h>.
44072 (lose): Take new parameter "nsid".
44073 Added static probe "map_failed".
44074 (_dl_map_object_from_fd): Pass namespace id to lose.
44075 Added static probe "map_start".
44076 (open_verify): Pass namespace id to lose.
44077 * elf/dl-open.c: Include <stap-probe.h>.
44078 (dl_open_worker) Added static probes "map_complete", "reloc_start"
44079 and "reloc_complete".
44080 * elf/dl-close.c: Include <stap-probe.h>.
44081 (_dl_close_worker): Added static probes "unmap_start" and
44083 * elf/rtld-debugger-interface.txt: New file documenting the above.
44085 2012-07-26 Roland McGrath <roland@hack.frob.com>
44087 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
44088 rather than a string variable.
44089 * sunrpc/rpc_main.c (h_output): Likewise.
44090 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
44092 2012-07-26 Pino Toscano <toscano.pino@tiscali.it>
44094 * inet/check_native.c: New file.
44096 2012-07-26 Joseph Myers <joseph@codesourcery.com>
44099 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
44100 if larger part has absolute value 1.0.
44101 * math/s_clog10.c (__clog10): Likewise.
44102 * math/s_clog10f.c (__clog10f): Likewise.
44103 * math/s_clog10l.c (__clog10l): Likewise.
44104 * math/s_clogf.c (__clogf): Likewise.
44105 * math/s_clogl.c (__clogl): Likewise.
44106 * math/libm-test.inc (clog_test): Add more tests.
44107 (clog10_test): Likewise.
44108 * sysdeps/i386/fpu/libm-test-ulps: Update.
44109 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44111 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
44112 (pltexit): Likewise.
44113 (La_regs): Likewise.
44114 (La_retval): Likewise.
44115 (int_retval): Likewise.
44116 Update #error for removed macros to refer only to definitions in
44118 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
44120 (pltexit): Likewise.
44121 (La_regs): Likewise.
44122 (La_retval): Likewise.
44123 (int_retval): Likewise.
44124 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
44126 (pltexit): Likewise.
44127 (La_regs): Likewise.
44128 (La_retval): Likewise.
44129 (int_retval): Likewise.
44130 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
44132 (pltexit): Likewise.
44133 (La_regs): Likewise.
44134 (La_retval): Likewise.
44135 (int_retval): Likewise.
44136 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
44138 (pltexit): Likewise.
44139 (La_regs): Likewise.
44140 (La_retval): Likewise.
44141 (int_retval): Likewise.
44142 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
44144 (pltexit): Likewise.
44145 (La_regs): Likewise.
44146 (La_retval): Likewise.
44147 (int_retval): Likewise.
44148 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
44150 (pltexit): Likewise.
44151 (La_regs): Likewise.
44152 (La_retval): Likewise.
44153 (int_retval): Likewise.
44154 * sysdeps/generic/tst-audit.h: Update comment to refer only to
44155 macro definitions in tst-audit.h.
44156 * sysdeps/i386/tst-audit.h: New file.
44157 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
44158 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
44159 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
44160 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
44161 * sysdeps/sh/tst-audit.h: Likewise.
44162 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
44163 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
44164 * sysdeps/x86_64/tst-audit.h: Likewise.
44166 2012-07-26 Andreas Jaeger <aj@suse.de>
44168 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
44171 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
44172 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
44173 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
44175 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
44176 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
44177 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
44179 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
44182 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
44184 (si_call_addr, si_syscall, si_arch): Define new macro.
44185 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
44187 (si_call_addr, si_syscall, si_arch): Define new marcro.
44188 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
44190 (si_call_addr, si_syscall, si_arch): Define new macro.
44191 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
44193 (si_call_addr, si_syscall, si_arch): Define new macro.
44195 2012-07-25 Joseph Myers <joseph@codesourcery.com>
44198 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
44199 Change to 2.4.21 where previously 2.4.1.
44200 * sysdeps/unix/sysv/linux/configure: Regenerated.
44201 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
44202 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
44203 Linux kernel version.
44204 (__ASSUME_STD_AUXV): Remove.
44205 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
44207 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
44208 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
44209 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
44210 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
44211 (__ASSUME_NETLINK_SUPPORT): Likewise.
44212 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
44213 (__no_netlink_support): Remove conditional definition.
44214 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
44216 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
44217 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
44218 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
44219 (if_nameindex_ioctl): Remove.
44220 (if_nameindex_netlink): Do not handle __no_netlink_support.
44221 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
44223 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
44224 Remove conditional code.
44225 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
44227 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
44229 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
44230 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
44231 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
44233 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
44234 [!__ASSUME_STD_AUXV]: Remove conditional code.
44235 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
44236 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
44237 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
44238 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
44239 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
44240 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
44242 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
44243 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
44244 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
44245 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
44247 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
44248 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
44249 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
44251 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
44252 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
44254 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
44255 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
44256 code unconditional.
44257 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
44259 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
44261 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
44263 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
44264 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
44266 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
44268 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
44269 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
44270 code unconditional.
44271 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
44273 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
44275 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
44277 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
44278 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
44279 code unconditional.
44280 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
44282 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
44284 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
44287 2012-07-25 Andreas Schwab <schwab@linux-m68k.org>
44289 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
44290 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
44291 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
44292 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
44293 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
44294 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
44295 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
44296 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
44297 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
44298 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
44299 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
44300 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
44301 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
44302 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
44303 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
44304 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
44305 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
44306 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
44307 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
44308 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
44309 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
44310 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
44311 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
44313 2012-07-25 Florian Weimer <fweimer@redhat.com>
44315 * Versions.def: Add GLIBC_2.17.
44316 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
44317 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
44318 Introduce __libc_secure_getenv.
44319 * stdlib/Versions (2.17): Add secure_getenv
44320 (GLIBC_PRIVATE): Add __libc_secure_getenv.
44321 * stdlib/secure-getenv.c: Rename __secure_getenv to
44322 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
44323 symbol __secure_getenv for GLIBC_2.0.
44324 * stdlib/tst-secure-getenv.c: New.
44325 * stdlib/Makefile (tests): Add testcase.
44326 * manual/startup.texi (Environment Access): Document
44328 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
44329 __libc_secure_getenv.
44330 * inet/ruserpass.c (ruserpass): Likewise.
44331 * malloc/mtrace.c (mtrace): Likewise.
44332 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
44333 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
44334 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
44335 * sysdeps/posix/tempname.c: Likewise. Evaluate
44336 HAVE_SECURE_GETENV.
44337 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
44338 __secure_getenv to __libc_secure_getenv.
44339 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
44340 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
44342 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
44344 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
44345 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
44346 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
44347 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
44348 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
44349 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
44350 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
44352 2012-07-25 Joseph Myers <joseph@codesourcery.com>
44354 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
44355 (struct La_i86_retval): Likewise.
44356 (struct La_x86_64_regs): Likewise.
44357 (struct La_x86_64_retval): Likewise.
44358 (struct La_x32_regs): Likewise.
44359 (struct La_x32_retval): Likewise.
44360 (struct La_ppc32_regs): Likewise.
44361 (struct La_ppc32_retval): Likewise.
44362 (struct La_ppc64_regs): Likewise.
44363 (struct La_ppc64_retval): Likewise.
44364 (struct La_sh_regs): Likewise.
44365 (struct La_sh_retval): Likewise.
44366 (struct La_s390_32_regs): Likewise.
44367 (struct La_s390_32_retval): Likewise.
44368 (struct La_s390_64_regs): Likewise.
44369 (struct La_s390_64_retval): Likewise.
44370 (struct La_sparc32_regs): Likewise.
44371 (struct La_sparc32_retval): Likewise.
44372 (struct La_sparc64_regs): Likewise.
44373 (struct La_sparc64_retval): Likewise.
44374 (struct audit_ifaces): Remove architecture-specific pltenter and
44376 * sysdeps/i386/ldsodefs.h: New file.
44377 * sysdeps/powerpc/ldsodefs.h: Likewise.
44378 * sysdeps/s390/ldsodefs.h: Likewise.
44379 * sysdeps/sh/ldsodefs.h: Likewise.
44380 * sysdeps/sparc/ldsodefs.h: Likewise.
44381 * sysdeps/x86_64/ldsodefs.h: Likewise.
44383 2012-07-25 Marek Polacek <polacek@redhat.com>
44386 * math/libm-test.inc (yn_test): Add another test.
44387 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
44388 to ERANGE when the result is +-Inf.
44389 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
44390 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
44391 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
44392 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
44394 2012-07-24 Joseph Myers <joseph@codesourcery.com>
44396 * conform/data/time.h-data (NULL): Use macro-constant. Require
44398 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
44400 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
44402 2012-07-23 Thomas Schwinge <thomas@codesourcery.com>
44404 * configure.in <sysdeps resolving>: Correct printing
44406 * configure: Regenerate.
44408 2012-07-22 Thomas Schwinge <thomas@codesourcery.com>
44410 * math/w_ilogb.c: Include <limits.h>.
44411 * math/w_ilogbl.c: Likewise.
44413 2012-07-20 Joseph Myers <joseph@codesourcery.com>
44415 * manual/lang.texi (__va_copy): Document primarily as ISO C99
44416 va_copy. Document allowing for unavailable va_copy only as
44417 pre-C99 compatibility.
44418 * manual/string.texi (Copying and Concatenation): Use va_copy
44419 instead of __va_copy in concat example.
44421 2012-07-20 Pino Toscano <toscano.pino@tiscali.it>
44423 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
44424 (__sendto): Use create_address_port. Initialize APORT and deallocate
44427 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
44428 with O_NOLINK passed to __file_name_lookup.
44430 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
44431 with O_NOLINK passed to __file_name_lookup.
44433 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
44434 negative N or less than NGIDS.
44436 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
44437 type to string_t. Set ERANGE as errno and return it if NAME is not big
44438 enough. Use memcpy instead of strncpy.
44440 2012-07-20 Joseph Myers <joseph@codesourcery.com>
44442 * elf/Makefile (check-data): Remove.
44443 (localplt.data): New vpath directive.
44444 ($(objpfx)check-localplt.out): Use localplt.data from vpath
44445 instead of $(check-data).
44446 * scripts/data/localplt-generic.data: Move to ...
44447 * sysdeps/generic/localplt.data: ... here.
44448 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
44449 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
44450 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
44451 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
44453 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
44454 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
44456 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
44457 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
44459 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
44460 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
44462 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
44463 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
44465 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
44466 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
44469 2012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
44471 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
44472 PPC32 and PPC64 files.
44473 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
44474 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
44476 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
44478 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
44479 __makecontext_ret to ...
44480 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
44481 ... here and call exit if uc_link is NULL. New file.
44482 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
44483 __makecontext_ret.S.
44484 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
44485 __makecontext_ret to ...
44486 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
44487 ... here and call exit if uc_link is NULL. New file.
44488 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
44489 __makecontext_ret.S.
44491 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
44493 * elf/elf.h (R_390_IRELATIVE): New definition.
44494 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
44495 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
44496 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
44497 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
44498 (elf_machine_lazy_rel): Likewise.
44499 * sysdeps/s390/dl-irel.h: New file.
44500 * sysdeps/s390/s390-64/memcpy.S: New asm code.
44501 * sysdeps/s390/s390-64/memset.S: New asm code.
44502 * sysdeps/s390/s390-64/memcmp.S: New asm code.
44503 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
44504 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
44505 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
44506 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
44507 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
44508 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
44509 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
44510 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
44511 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
44512 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
44513 * sysdeps/s390/s390-32/memcpy.S: New asm code.
44514 * sysdeps/s390/s390-32/memset.S: New asm code.
44515 * sysdeps/s390/s390-32/memcmp.S: New asm code.
44517 2012-07-17 Marek Polacek <polacek@redhat.com>
44520 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
44521 * sysdeps/s390/s390-64/configure.in: Likewise.
44522 * sysdeps/sparc/configure.in: Likewise.
44523 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
44524 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
44525 * sysdeps/i386/configure.in: Likewise.
44526 * sysdeps/x86_64/configure.in: Likewise.
44527 * sysdeps/sh/configure.in: Likewise.
44528 * sysdeps/s390/s390-32/configure: Regenerated.
44529 * sysdeps/s390/s390-64/configure: Likewise.
44530 * sysdeps/x86_64/configure: Likewise.
44531 * sysdeps/sh/configure: Likewise.
44532 * sysdeps/powerpc/powerpc64/configure: Likewise.
44533 * sysdeps/powerpc/powerpc32/configure: Likewise.
44534 * sysdeps/sparc/configure: Likwise.
44535 * sysdeps/i386/configure: Likewise.
44537 * elf/dl-open.c: Comment fixes.
44539 2012-07-17 Joseph Myers <joseph@codesourcery.com>
44541 * Makefile [CXX] (check-data): Remove.
44542 [CXX] (c++-types.data): New vpath directive.
44543 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
44544 vpath. Do not allow for C++ type data being missing.
44545 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
44546 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
44547 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
44548 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
44549 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
44550 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
44551 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
44552 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
44554 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
44555 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
44557 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
44558 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
44560 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
44561 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
44563 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
44564 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
44566 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
44567 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
44569 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
44570 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
44572 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
44573 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
44575 * elf/tls-macros.h (TLS_LE): Move architecture-specific
44576 definitions to architecture-specific files.
44577 (TLS_IE): Likewise.
44578 (TLS_LD): Likewise.
44579 (TLS_GD): Likewise.
44580 * sysdeps/i386/tls-macros.h: New file.
44581 * sysdeps/powerpc/tls-macros.h: Likewise.
44582 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
44583 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
44584 * sysdeps/sh/tls-macros.h: Likewise.
44585 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
44586 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
44587 * sysdeps/x86_64/tls-macros.h: Likewise.
44589 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
44591 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
44592 zero value for regular exit case.
44594 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
44595 (__start_context): Preserve zero value for regular exit case.
44597 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
44598 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
44600 * manual/setjmp.texi (setcontext): Clarify normal process
44601 termination when uc_link is the null pointer.
44602 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
44605 2012-07-16 Andreas Schwab <schwab@linux-m68k.org>
44607 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
44608 preprocessor. Test for each exception mask separately.
44610 2012-07-16 Andreas Jaeger <aj@suse.de>
44612 * po/ru.po: Update from translation team.
44614 2012-07-15 Joseph Myers <joseph@codesourcery.com>
44616 * conform/data/string.h-data (NULL): Use macro-constant. Require
44618 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
44619 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
44620 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
44621 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
44622 [ISO || ISO99 || ISO11] (*_t): Do not allow.
44624 2012-07-13 Andreas Jaeger <aj@suse.de>
44626 * po/fr.po: Update from translation team.
44628 2012-07-12 Marek Polacek <polacek@redhat.com>
44631 * math/libm-test.inc (yn_test): Add test for BZ #14173.
44632 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
44635 2012-07-12 Joseph Myers <joseph@codesourcery.com>
44638 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
44639 Change to 2.4.1 where previously 2.4.0.
44640 * sysdeps/unix/sysv/linux/configure: Regenerated.
44641 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
44642 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
44644 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
44645 (__ASSUME_AT_CLKTCK): Remove.
44646 (__ASSUME_AT_PAGESIZE): Likewise.
44647 (__ASSUME_AT_XID): Likewise.
44648 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
44649 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
44650 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
44652 (HAVE_AUX_PAGESIZE): Likewise.
44653 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
44654 [__ASSUME_AT_CLKTCK]: Make code unconditional.
44655 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
44657 2012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
44660 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
44661 the temporary buffer used to invoke __gethostbyname2_r,
44662 __gethostbyaddr_r and gethostbyname4_r to make room for struct
44663 host_data / struct gaih_addrtuple.
44664 * resolv/nss_dns/dns-host.c (global scope): Move definition of
44665 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
44666 header file nss/nsswitch.h.
44667 * nss/nsswitch.h (global scope): Add definition of implementation
44668 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
44669 resolv/nss_dns/dns-host.c).
44671 2012-07-11 Andreas Jaeger <aj@suse.de>
44673 * po/fr.po: Update from translation team.
44675 * po/sv.po: Update from translation team
44676 * po/fr.po: Another update from translation team.
44678 2012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
44680 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
44681 for subnormals or multiply small sinh result by itself.
44682 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
44683 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
44685 2012-07-11 David S. Miller <davem@davemloft.net>
44687 * sysdeps/sparc/fpu/libm-test-ulps: Update.
44689 2012-07-10 Andreas Schwab <schwab@linux-m68k.org>
44692 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
44693 (INTERNAL_MARK): Shift it here.
44695 2012-07-10 Marek Polacek <polacek@redhat.com>
44698 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
44699 libc_cv_asm_global_directive with .globl.
44700 * configure: Regenerated.
44701 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
44703 * sysdeps/i386/configure: Regenerated.
44704 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
44706 * sysdeps/x86_64/configure: Regenerated.
44707 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
44708 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
44709 * elf/tst-unique2mod2.c: Likewise.
44710 * elf/tst-unique2mod1.c: Likewise.
44711 * elf/tst-unique1mod2.c: Likewise.
44712 * elf/tst-unique1mod1.c: Likewise.
44713 * sysdeps/s390/s390-32/sysdep.h: Likewise.
44714 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
44715 * sysdeps/s390/s390-64/sysdep.h: Likewise.
44716 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
44717 * sysdeps/mach/sysdep.h: Likewise.
44718 * sysdeps/i386/sysdep.h: Likewise.
44719 * sysdeps/i386/i386-mcount.S: Likewise.
44720 * sysdeps/x86_64/_mcount.S: Likewise.
44721 * sysdeps/x86_64/sysdep.h: Likewise.
44722 * sysdeps/sh/_mcount.S: Likewise.
44723 * sysdeps/sh/sysdep.h: Likewise.
44724 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
44725 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
44726 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
44727 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
44728 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
44729 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
44730 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
44731 * locale/localeinfo.h: Likewise.
44732 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
44733 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
44735 2012-07-09 Roland McGrath <roland@hack.frob.com>
44738 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
44740 * manual/message.texi (The Uniforum approach): Likewise.
44741 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
44742 (glibc iconv Implementation): Likewise.
44744 2012-07-09 Joseph Myers <joseph@codesourcery.com>
44747 * math/s_clog.c (__clog): Avoid scaling a value down where that
44748 could result in underflow.
44749 * math/s_clog10.c (__clog10): Likewise.
44750 * math/s_clog10f.c (__clog10f): Likewise.
44751 * math/s_clog10l.c (__clog10l): Likewise.
44752 * math/s_clogf.c (__clogf): Likewise.
44753 * math/s_clogl.c (__clogl): Likewise.
44754 * math/libm-test.inc (clog_test): Add more tests.
44755 (clog10_test): Likewise.
44756 * sysdeps/i386/fpu/libm-test-ulps: Update.
44757 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44759 2012-07-06 Andreas Schwab <schwab@linux-m68k.org>
44762 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
44763 by 7 not 8 to examine high bit of fractional part.
44766 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
44767 for call to __mcount_internal.
44768 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
44769 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
44770 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
44772 2012-07-06 Joseph Myers <joseph@codesourcery.com>
44775 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
44776 approximation for values within 0x1p-13f of an odd multiple of
44778 * math/libm-test.inc (tan_test): Do not allow spurious underflow
44779 exception. Add more tests.
44780 * sysdeps/i386/fpu/libm-test-ulps: Update.
44783 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
44784 inputs and return -1 for them. Do not check for +Inf in case not
44785 reachable for +Inf.
44786 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
44787 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
44788 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
44789 and return -1 for them. Do not check for +Inf in case not
44790 reachable for +Inf.
44791 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
44793 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
44794 and return -1 for them. Do not check for +Inf in case not
44795 reachable for +Inf.
44796 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
44797 spurious underflow.
44798 * sysdeps/i386/fpu/libm-test-ulps: Update.
44799 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44801 2012-07-06 Mike Frysinger <vapier@gentoo.org>
44803 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
44805 2012-07-05 Joseph Myers <joseph@codesourcery.com>
44809 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
44810 could result in spurious underflow. Scale down values above
44811 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
44812 * math/s_csqrtf.c (__csqrtf): Likewise.
44813 * math/s_csqrtl.c (__csqrtl): Likewise.
44814 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
44815 spurious underflow.
44816 * sysdeps/i386/fpu/libm-test-ulps: Update.
44817 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44819 2012-07-04 Andreas Schwab <schwab@linux-m68k.org>
44821 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
44823 * catgets/xopen-msg.awk: New file.
44824 * catgets/xopen-msg.sed: Removed.
44826 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
44828 * intl/po2test.awk: New file.
44829 * intl/po2test.sed: Removed.
44831 2012-07-04 Joseph Myers <joseph@codesourcery.com>
44834 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
44835 or multiply small sinh result by itself.
44836 * math/s_ctanf.c (__ctanf): Likewise.
44837 * math/s_ctanh.c (__ctanh): Likewise.
44838 * math/s_ctanhf.c (__ctanhf): Likewise.
44839 * math/s_ctanhl.c (__ctanhl): Likewise.
44840 * math/s_ctanl.c (__ctanl): Likewise.
44841 * math/libm-test.inc (ctan_test_tonearest): New function.
44842 (ctan_test_towardzero): Likewise.
44843 (ctan_test_downward): Likewise.
44844 (ctan_test_upward): Likewise.
44845 (ctanh_test_tonearest): Likewise.
44846 (ctanh_test_towardzero): Likewise.
44847 (ctanh_test_downward): Likewise.
44848 (ctanh_test_upward): Likewise.
44849 (main): Call these new functions.
44850 * sysdeps/i386/fpu/libm-test-ulps: Update.
44851 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44853 2012-07-03 Mike Frysinger <vapier@gentoo.org>
44855 * .gitignore: Delete /ports entry.
44857 2012-07-03 Andreas Jaeger <aj@suse.de>
44859 * po/bg.po: Update from translation team.
44860 * po/cs.po: Likewise.
44861 * po/de.po: Likewise.
44862 * po/hr.po: Likewise.
44863 * po/nl.pl: Likewise.
44864 * po/pl.po: Likewise.
44865 * po/vi.po: Likewise.
44867 2012-07-03 Joseph Myers <joseph@codesourcery.com>
44869 * Makeconfig [!+link] (+link-before-libc): New variable.
44870 [!+link] (+link-after-libc): Likewise.
44871 [!+link] (+link-tests): Likewise.
44872 [!+link] (+link): Define in terms of $(+link-before-libc) and
44873 $(+link-after-libc).
44874 [!+link-static] (+link-static-before-libc): New variable.
44875 [!+link-static] (+link-static-after-libc): Likewise.
44876 [!+link-static] (+link-static-tests): Likewise.
44877 [!+link-static] (+link-static): Define in terms of
44878 $(+link-static-before-libc) and $(+link-static-after-libc).
44879 [build-shared] (link-libc-before-gnulib): New variable.
44880 [build-shared] (link-libc-tests): Likewise.
44881 [build-shared] (link-libc): Define in terms of
44882 $(link-libc-before-gnulib).
44883 [!build-shared] (link-libc-tests): New variable.
44884 (link-libc-static-tests): New variable.
44885 [!gnulib] (gnulib-arch): New variable.
44886 [!gnulib] (gnulib-tests): Likewise.
44887 [!gnulib] (static-gnulib-arch): Likewise.
44888 [!gnulib] (static-gnulib-tests): Likewise.
44889 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
44890 Define with "=" instead of ":=".
44891 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
44892 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
44893 * Rules (binaries-all-notests): New variable.
44894 (binaries-all-tests): Likewise.
44895 (binaries-static-notests): Likewise.
44896 (binaries-static-tests): Likewise.
44897 (binaries-all): Define using $(binaries-all-notests) and
44898 $(binaries-all-tests).
44899 (binaries-static): Define using $(binaries-static-notests) and
44900 $(binaries-static-tests).
44901 (binaries-shared-tests): New variable.
44902 (binaries-shared-notests): Likewise.
44903 (binaries-shared): Remove variable.
44904 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
44905 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
44906 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
44907 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
44908 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
44909 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
44910 * elf/Makefile (sln-modules): New variable.
44911 (extra-objs): Add $(sln-modules:=.o).
44912 (ldconfig-modules): Add static-stubs.
44913 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
44914 * elf/static-stubs.c: New file.
44917 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
44918 by 7 not 8 to examine high bit of fractional part. Use volatile
44919 variables when splitting into final array of floats if
44920 __FLT_EVAL_METHOD__ != 0.
44921 * math/libm-test.inc (cos_test): Add another test.
44922 (sin_test): Likewise.
44923 * sysdeps/i386/fpu/libm-test-ulps: Update.
44926 * math/libm-test.inc (cosh_test): Add more tests.
44928 * version.h (RELEASE): Set to "development".
44929 (VERSION): Set to "2.16.90".
44931 2012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
44933 * NEWS: Update copyright. Remove last-updated date.
44934 Mention math library bug fixes and timezone data changes.
44935 * README: Mention GNU/Hurd, x32, and HPPA support status.
44937 2012-06-28 Thomas Schwinge <thomas@codesourcery.com>
44939 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
44941 2012-06-27 Andreas Jaeger <aj@suse.de>
44943 * manual/contrib.texi (Contributors): Add Samuel Thibault.
44945 2012-06-25 Andreas Jaeger <aj@suse.de>
44947 * sysdeps/s390/fpu/libm-test-ulps: Update.
44949 2012-06-23 Andreas Schwab <schwab@linux-m68k.org>
44950 Thomas Schwinge <thomas@codesourcery.com>
44952 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
44953 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
44954 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
44957 2012-06-23 Thomas Schwinge <thomas@codesourcery.com>
44959 * sysdeps/mach/start.c: Remove file.
44960 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
44961 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
44962 * sysdeps/sh/init-first.c: Likewise.
44964 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
44965 registers for frame unwinding purposes, add CFI directives.
44966 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
44967 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
44968 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
44971 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
44972 __fortify_fail returning.
44973 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
44975 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
44976 sysdeps/sh/____longjmp_chk.S.
44977 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
44978 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
44979 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
44980 (gen-as-const-headers): Append sigaltstack-offsets.sym.
44982 * sysdeps/sh/abort-instr.h: New file.
44983 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
44984 process in case exit returns.
44986 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
44987 initialize the GOT register before use.
44989 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
44990 calculation of ARGC > 4.
44992 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
44993 meaningful names to some local labels.
44995 2012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
44996 Kaz Kojima <kkojima@rr.iij4u.or.jp>
44998 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
44999 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
45000 (__arch_compare_and_exchange_val_16_acq): Likewise.
45001 (__arch_compare_and_exchange_val_32_acq): Likewise.
45002 (atomic_exchange_and_add): Fix gUSA sequence.
45003 (atomic_add): Likewise.
45004 (atomic_add_negative): Likewise.
45005 (atomic_add_zero): Likewise.
45006 (atomic_bit_test_set): Likewise.
45008 2012-06-22 Andreas Schwab <schwab@redhat.com>
45011 * include/link.h (struct link_map): Add l_free_initfini.
45012 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
45014 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
45015 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
45016 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
45019 2012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
45021 * configure.in: Use AC_LANG_SOURCE.
45022 * configure: Regenerate.
45024 2012-06-22 Roland McGrath <roland@hack.frob.com>
45026 * configure.in (libc_cv_localstatedir): New substituted variable.
45027 * configure: Regenerated.
45028 * config.make.in (localstatedir): New variable, substituted from
45029 libc_cv_localstatedir.
45030 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
45031 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
45032 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
45033 * sysdeps/gnu/configure: Regenerated.
45035 2012-06-21 Jeff Law <law@redhat.com>
45038 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
45039 free. Simplify list management for _LIBC case.
45041 2012-06-21 Joseph Myers <joseph@codesourcery.com>
45044 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
45045 Clear sign bit of 64-bit integer value before comparing against
45048 * sysdeps/mach/configure: Regenerated.
45050 2012-06-21 H.J. Lu <hongjiu.lu@intel.com>
45053 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
45055 2012-06-21 Jeff Law <law@redhat.com>
45058 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
45059 uint16_t for elements in the "seen" array to avoid char overflows.
45060 * elf/dl-fini.c (_dl_sort_fini): Likewise.
45061 * elf/dl-open.c (dl_open_worker): Likewise.
45063 2012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
45065 * scripts/list-sources.sh: Scan PORTS for translations.
45066 * po/libc.pot: Regenerated.
45068 2012-06-21 Andreas Jaeger <aj@suse.de>
45071 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
45073 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
45074 * bits/byteswap-16.h (__bswap_16): Likewise.
45075 * bits/byteswap.h (__bswap_constant_16): Likewise.
45077 2012-06-18 H.J. Lu <hongjiu.lu@intel.com>
45080 * sysdeps/i386/fpu_control.h: Removed.
45081 * sysdeps/x86_64/fpu_control.h: Moved to ...
45082 * sysdeps/x86/fpu_control.h: Here.
45084 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
45085 (_FPU_SETCW): Likewise.
45087 2012-06-15 H.J. Lu <hongjiu.lu@intel.com>
45090 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
45091 * sysdeps/x86/fpu/bits/mathinline.h: This.
45092 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
45096 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
45097 functions if __x86_64__ is defined.
45099 2012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
45101 * string/endian.h: Add !__ASSEMBLER__ condition for including
45102 conversion interfaces.
45104 2012-06-15 Joseph Myers <joseph@codesourcery.com>
45107 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
45108 of ABS(x) in calculating zero to negative powers other than odd
45110 * math/libm-test.inc (pow_test): Add more tests.
45112 2012-06-15 Andreas Jaeger <aj@suse.de>
45114 * manual/contrib.texi (Contributors): Update entry of Liubov
45115 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
45118 2012-06-15 Cyril Hrubis <metan@ucw.cz>
45120 * string/string.h: Add __wur to GNU version of strerror_r.
45122 2012-06-14 H.J. Lu <hongjiu.lu@intel.com>
45125 * string/Makefile (tests): Add tst-strtok_r.
45126 * string/tst-strtok_r.c: New file.
45127 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
45128 RAX_LP/RDX_LP on SAVE_PTR.
45130 2012-06-14 Roland McGrath <roland@hack.frob.com>
45132 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
45134 2012-06-14 Joseph Myers <joseph@codesourcery.com>
45136 * libm_test.inc (csqrt_test): Allow more spurious underflow
45138 (j0_test): Likewise.
45139 (j1_test): Likewise.
45140 (y0_test): Likewise.
45141 (y1_test): Likewise.
45143 2012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
45145 * po/Makefile (libc.pot): Use UTF-8 charset.
45147 2012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
45150 Suppress sign-conversion warning from FD_SET.
45151 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
45152 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
45153 not unsigned long int.
45154 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
45156 2012-06-12 H.J. Lu <hongjiu.lu@intel.com>
45160 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
45161 __extern_always_inline instead of __extern_inline.
45162 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
45163 (__signbit): Likewise.
45164 (__signbitl): Support C++ namespace.
45165 (lrintf): New inline function.
45167 (llrintf): Likewise.
45168 (llrint): Likewise.
45178 (floorf): Likewise.
45179 (nearbyint): Likewise.
45180 (nearbyintf): Likewise.
45182 2012-06-12 Thomas Schwinge <thomas@codesourcery.com>
45184 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
45185 non-default versions.
45187 2012-06-11 Roland McGrath <roland@hack.frob.com>
45190 * manual/argp.texi (Argp): Reword argp_parse description slightly.
45192 2012-06-09 Thomas Schwinge <thomas@codesourcery.com>
45194 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
45195 (FE_UPWARD, FE_DOWNWARD): Don't define.
45196 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
45197 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
45199 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
45201 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
45202 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
45204 2012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
45206 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
45207 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
45208 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
45209 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
45211 2012-06-06 H.J. Lu <hongjiu.lu@intel.com>
45214 * sysdeps/i386/fpu/bits/fenv.h: Removed.
45215 * sysdeps/i386/fpu/Implies: New file.
45216 * sysdeps/x86_64/fpu/Implies: Likewise.
45217 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
45218 * sysdeps/x86/fpu/bits/fenv.h: This.
45220 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
45223 2012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
45226 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
45227 character 0xffff that matches the last element of the
45230 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
45232 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
45235 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
45237 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
45238 values higher than 25.6283.
45240 2012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
45242 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
45243 subnormal exponent extraction and add some __builtin_expect.
45244 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
45245 Fix for subnormal mantissa calculation.
45247 2012-06-04 Mike Frysinger <vapier@gentoo.org>
45249 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
45250 cpu2 is -1 and errno is not ENOSYS.
45252 2012-06-04 H.J. Lu <hongjiu.lu@intel.com>
45255 * sysdeps/i386/i486/bits/string.h: Renamed to ...
45256 * sysdeps/x86/bits/string.h: This.
45257 * sysdeps/x86_64/bits/string.h: Removed.
45259 * sysdeps/i386/i486/bits/string.h: Define inline functions only
45260 if not compiling for x86-64, but compiling for >= i486.
45262 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
45263 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
45265 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
45266 New macro from Linux kernel 3.4.0.
45267 (FP_XSTATE_MAGIC2): Likewise.
45268 (FP_XSTATE_MAGIC2_SIZE): Likewise.
45269 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
45270 (struct _fpx_sw_bytes): New struct.
45271 (struct _xsave_hdr): Likewise.
45272 (struct _ymmh_state): Likewise.
45273 (struct _xstate): Likewise.
45275 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
45276 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
45277 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
45278 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
45279 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
45280 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
45282 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
45283 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
45284 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
45285 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
45286 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
45287 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
45289 2012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
45292 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
45293 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
45294 (sysdep_headers): Include sys/platform/ppc.h.
45295 * sysdeps/powerpc/test-gettimebase.c: Test for
45296 __ppc_get_timebase() to catch future ISA opcode/insn changes.
45297 * manual/Makefile (appendices): Include platform.texi.
45298 * manual/contrib.texi (Contributors): Update @node pointers.
45299 * manual/maint.texi (Maintenance): Likewise.
45300 (Platform): New node.
45301 * manual/platform.texi: New file. Document the new features.
45303 2012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
45304 Jakub Jelinek <jakub@redhat.com>
45307 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
45308 where __builtin_expect is unavailable.
45310 2012-06-03 David S. Miller <davem@davemloft.net>
45312 * stdlib/longlong.h: Updated from GCC.
45314 2012-06-02 Andreas Schwab <schwab@linux-m68k.org>
45317 * sysdeps/powerpc/powerpc32/mcount.c: New file.
45318 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
45320 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
45321 (GLIBC_2.16): Likewise.
45323 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
45325 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
45327 2012-06-01 Joseph Myers <joseph@codesourcery.com>
45329 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
45330 (default-abi): New variable.
45331 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
45332 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
45334 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
45336 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
45338 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
45341 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
45342 definition. Document in comment.
45344 2012-06-01 David S. Miller <davem@davemloft.net>
45346 * stdlib/longlong.h: Updated from GCC.
45348 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
45351 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
45352 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
45353 sys/debugreg.h sys/io.h here.
45354 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
45355 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
45357 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
45358 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
45359 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
45360 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
45361 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
45362 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
45364 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
45365 Define only if __x86_64__ is defined.
45367 2012-06-01 Joseph Myers <joseph@codesourcery.com>
45370 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
45371 Use int64_t for variable i.
45372 * math/libm-test.inc (fmod_test): Add more tests.
45374 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
45375 z computation is not scheduled after fetestexcept.
45376 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
45377 Use math_force_eval instead of asm to ensure calculation scheduled
45378 before exception test.
45379 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
45380 Ensure a1 + u.d computation is not scheduled after fetestexcept.
45382 2012-06-01 Aurelien Jarno <aurelien@aurel32.net>
45384 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
45385 computation is not scheduled after fetestexcept.
45387 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
45390 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
45391 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
45393 2012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
45395 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
45396 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
45398 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
45401 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
45403 (__WCHAR_MIN): Support __WORDSIZE == 64.
45404 (__WCHAR_MAX): Likewise.
45406 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
45407 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
45410 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
45411 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
45414 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
45415 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
45417 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
45418 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
45420 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
45421 Defined to 1 if __x86_64__ isn't defined.
45422 (_STAT_VER_LINUX_OLD): New.
45423 (st_atime): Remove duplicate.
45424 (st_mtime): Likewise.
45425 (st_ctime): Likewise.
45427 2012-05-31 David S. Miller <davem@davemloft.net>
45429 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
45432 2012-06-01 Andreas Schwab <schwab@linux-m68k.org>
45434 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
45438 * elf/dl-reloc.c: Include <_itoa.h>.
45439 (_dl_reloc_bad_type): Remove use of INTUSE.
45440 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
45441 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
45442 * stdio-common/psiginfo.c (psiginfo): Likewise.
45443 * stdio-common/psignal.c (psignal): Likewise.
45444 * string/strsignal.c (strsignal): Likewise.
45445 * include/signal.h (_sys_siglist): Declare hidden proto.
45446 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
45447 INTVARDEF with libc_hidden_data_def.
45448 * stdio-common/itoa-udigits.c: Likewise.
45449 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
45450 (_itoa_lower_digits_internal): Remove declaration.
45451 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
45452 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
45453 (_sys_sigabbrev_internal): Remove aliases.
45454 (_sys_siglist): Define hidden alias.
45456 2012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
45458 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
45461 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
45464 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
45465 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
45467 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
45468 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
45469 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
45470 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
45471 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
45472 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
45474 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
45475 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
45476 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
45478 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
45486 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
45487 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
45488 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
45490 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
45491 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
45492 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
45493 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
45494 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
45495 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
45497 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
45498 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
45500 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
45501 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
45503 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
45504 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
45505 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
45507 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
45508 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
45510 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
45512 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
45513 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
45514 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
45516 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
45518 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
45520 2012-05-31 Joseph Myers <joseph@codesourcery.com>
45522 * math/math.h (M_El): Use two more decimal places.
45523 (M_LOG2El): Likewise.
45524 (M_LOG10El): Likewise.
45525 (M_LN2l): Likewise.
45526 (M_LN10l): Likewise.
45528 (M_PI_2l): Likewise.
45529 (M_PI_4l): Likewise.
45530 (M_1_PIl): Likewise.
45531 (M_2_PIl): Likewise.
45532 (M_2_SQRTPIl): Likewise.
45533 (M_SQRT2l): Likewise.
45534 (M_SQRT1_2l): Likewise.
45536 2012-05-31 David S. Miller <davem@davemloft.net>
45538 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
45539 values between float registers.
45540 * sysdeps/sparc/sparc64/memset.S: Likewise.
45541 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
45543 2012-05-31 Mike Frysinger <vapier@gentoo.org>
45545 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
45546 -D_FORTIFY_SOURCE=1.
45547 (CPPFLAGS-tst-longjmp_chk.c): Define.
45548 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
45549 (CPPFLAGS-tst-longjmp_chk2.c): Define.
45550 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
45551 CFLAGS-tst-wchar-h.c.
45553 2012-05-31 Marek Polacek <polacek@redhat.com>
45556 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
45557 __endmntent_internal): Remove declaration.
45558 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
45559 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
45560 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
45562 2012-05-30 David S. Miller <davem@davemloft.net>
45564 * sysdeps/sparc/sparc32/soft-fp/q_util.c
45565 (___Q_simulate_exceptions): Use real FP ops rather than writing
45567 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
45570 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
45573 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
45574 * sysdeps/x86/bits/xtitypes.h: This.
45576 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
45577 * sysdeps/x86/bits/wordsize.h: This.
45579 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
45580 * sysdeps/x86/bits/huge_vall.h: This.
45582 * sysdeps/i386/bits/select.h: Removed.
45583 * sysdeps/x86_64/bits/select.h: Renamed to ...
45584 * sysdeps/x86/bits/select.h: This.
45586 * sysdeps/i386/bits/setjmp.h: Removed.
45587 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
45588 * sysdeps/x86/bits/setjmp.h: This.
45590 * sysdeps/i386/bits/mathdef.h: Removed.
45591 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
45592 * sysdeps/x86/bits/mathdef.h: This.
45594 2012-05-30 Andreas Schwab <schwab@linux-m68k.org>
45597 * include/sys/socket.h (__connect_internal)
45598 (__libc_sa_len_internal): Remove declaration.
45599 (__connect, __libc_sa_len): Declare hidden_proto.
45600 (SA_LEN): Remove use of INTUSE.
45601 * socket/connect.c: Add libc_hidden_def.
45602 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
45603 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
45604 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
45606 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
45607 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
45608 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
45609 of adding _internal alias.
45611 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
45614 * sysdeps/i386/bits/link.h: Removed.
45615 * sysdeps/i386/bits/linkmap.h: Likewise.
45616 * sysdeps/x86_64/bits/link.h: Renamed to ...
45617 * sysdeps/x86/bits/link.h: This.
45618 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
45619 * sysdeps/x86/bits/linkmap.h: This.
45621 * sysdeps/i386/bits/endian.h: Removed.
45622 * sysdeps/x86_64/bits/endian.h: Renamed to ...
45623 * sysdeps/x86/bits/endian.h: This.
45625 * sysdeps/i386/bits/byteswap.h: Removed.
45626 * sysdeps/i386/bits/byteswap-16.h: Likewise.
45627 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
45628 * sysdeps/x86/bits/byteswap.h: This.
45629 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
45630 * sysdeps/x86/bits/byteswap-16.h: This.
45631 * sysdeps/i386/Implies: Add x86.
45632 * sysdeps/x86_64/Implies: Likewise.
45634 2012-05-30 David S. Miller <davem@davemloft.net>
45636 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
45637 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
45638 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
45639 (FP_TRAPPING_EXCEPTIONS): Define.
45640 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
45641 (FP_TRAPPING_EXCEPTIONS): Define.
45642 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
45643 subnormals only when inexact has been signalled or underflow
45644 exceptions are enabled.
45645 (_FP_PACK_CANONICAL): Likewise.
45647 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
45650 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
45651 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
45653 2012-05-30 Richard Henderson <rth@twiddle.net>
45655 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
45656 with #ifndef NOT_IN_libc.
45658 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
45659 marked to avoid plt entry.
45661 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
45664 * Makeconfig (default-abi): New macro.
45665 (abi-includes): Likewise.
45666 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
45667 $(abi-$(default-abi)-lib-soname) for soname if defined.
45668 ($(common-objpfx)gnu/lib-names.stmp): Generate from
45670 * Makefile (installed-stubs): Likewise.
45671 * include/stubs-biarch.h: Removed.
45672 * scripts/lib-names.awk: Only handle one library at a time.
45673 * scripts/soversions.awk: Remove WORDSIZE support.
45674 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
45676 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
45678 (syscall-list-default-condition): Likewise.
45679 (syscall-list-default-condition): Likewise.
45680 (syscall-list-includes): Likewise.
45681 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
45682 syscall-list-* with abi-*. Handle undefined abi-variants.
45683 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
45684 * sysdeps/unix/sysv/linux/i386/Implies: New file.
45685 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
45686 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
45687 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
45688 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
45690 (syscall-list-32-options): Likewise.
45691 (syscall-list-32-condition): Likewise.
45692 (syscall-list-64-options): Likewise.
45693 (syscall-list-64-condition): Likewise.
45694 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
45696 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
45699 (abi-64-ld-soname): New macro.
45700 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
45701 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
45704 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
45705 * sysdeps/x86_64/x32/shlib-versions: Likewise.
45707 2012-05-30 Joseph Myers <joseph@codesourcery.com>
45709 * sysdeps/unix/sysv/linux/kernel-features.h
45710 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
45711 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
45712 include <kernel-features.h>.
45713 [!__NR_ftruncate64]: Remove conditional code.
45714 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
45715 [__NR_ftruncate64]: Make code unconditional.
45716 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
45717 * sysdeps/unix/sysv/linux/truncate64.c: Do not
45718 include <kernel-features.h>.
45719 [!__NR_ftruncate64]: Remove conditional code.
45720 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
45721 [__NR_ftruncate64]: Make code unconditional.
45722 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
45723 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
45724 include <kernel-features.h>.
45725 [!__NR_ftruncate64]: Remove conditional code.
45726 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
45727 [__NR_ftruncate64]: Make code unconditional.
45728 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
45729 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
45730 include <kernel-features.h>.
45731 [!__NR_ftruncate64]: Remove conditional code.
45732 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
45733 [__NR_ftruncate64]: Make code unconditional.
45734 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
45736 * configure.in (libc_cv_fpie): Weaken to a compile test using
45737 LIBC_TRY_CC_OPTION.
45738 * configure: Regenerated.
45740 2012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
45742 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
45743 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
45744 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
45745 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
45747 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
45748 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
45749 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
45750 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
45751 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
45752 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
45755 2012-05-27 David S. Miller <davem@davemloft.net>
45757 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
45759 (__Q_simulate_exceptions): Return void. Change to simulate
45760 exceptions by writing into the %fsr.
45761 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
45762 (__Qp_handle_exceptions): Likewise.
45764 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
45765 __Qp_handle_exceptions.
45766 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
45767 __Qp_handle_exceptions.
45768 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
45769 as unused and give dummy FP_RND_NEAREST initializer.
45770 (FP_INHIBIT_RESULTS): Define.
45771 (___Q_simulate_exceptions): Update declaration.
45772 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
45774 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
45775 as unused and give dummy FP_RND_NEAREST initializer.
45776 (__Qp_handle_exceptions): Update declaration.
45777 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
45780 2012-05-27 Thomas Schwinge <thomas@codesourcery.com>
45782 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
45783 the temporary FPU control word.
45784 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
45785 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
45786 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
45787 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
45788 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
45789 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
45790 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
45791 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
45792 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
45793 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
45794 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
45796 2012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
45798 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
45801 2012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
45803 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
45804 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
45805 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
45806 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
45808 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
45809 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
45812 2012-05-27 Ulrich Drepper <drepper@gmail.com>
45814 * po/h.po: Update from translation team.
45816 2012-05-26 Andreas Schwab <schwab@linux-m68k.org>
45818 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
45820 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
45821 handling of denormals.
45822 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
45823 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
45824 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
45825 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
45826 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
45827 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
45828 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
45831 2012-05-26 Marek Polacek <polacek@redhat.com>
45834 * math/libm-test.inc (fma_test): Don't always expect underflow
45837 2012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
45840 * elf/tst-execstack.c: Include stackinfo.h.
45841 (do_test): Adjust test case to ensure that pthread_getattr_np
45842 behaviour remains the same after marking stack executable.
45844 2012-05-25 Joseph Myers <joseph@codesourcery.com>
45846 * sysdeps/unix/sysv/linux/kernel-features.h
45847 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
45848 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
45850 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
45851 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
45852 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
45854 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
45855 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
45857 2012-05-25 H.J. Lu <hongjiu.lu@intel.com>
45859 * configure.in: Define the default includes to being none.
45860 * configure: Regenerated.
45862 2012-05-25 Roland McGrath <roland@hack.frob.com>
45864 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
45865 * sysdeps/x86_64/setjmp.S: Likewise.
45866 * sysdeps/i386/bsd-setjmp.S: Likewise.
45867 * sysdeps/i386/bsd-_setjmp.S: Likewise.
45868 * sysdeps/i386/setjmp.S: Likewise.
45869 * sysdeps/i386/__longjmp.S: Likewise.
45870 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
45871 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
45873 * include/stap-probe.h: New file.
45874 * configure.in: Handle --enable-systemtap.
45875 * configure: Regenerated.
45876 * config.h.in (USE_STAP_PROBE): New #undef.
45877 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
45878 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
45879 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
45881 2012-05-25 Joseph Myers <joseph@codesourcery.com>
45884 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
45885 to 2.4.0 where earlier.
45886 * sysdeps/unix/sysv/linux/configure: Regenerated.
45887 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
45888 <kernel-features.h>.
45889 [__ASSUME_32BITUIDS]: Make code unconditional.
45890 [!__ASSUME_32BITUIDS]: Remove conditional code.
45891 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
45892 <kernel-features.h>.
45893 [__ASSUME_32BITUIDS]: Make code unconditional.
45894 [!__ASSUME_32BITUIDS]: Remove conditional code.
45895 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
45896 [__ASSUME_32BITUIDS]: Make code unconditional.
45897 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
45898 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
45899 <kernel-features.h>.
45900 [__ASSUME_32BITUIDS]: Make code unconditional.
45901 [!__ASSUME_32BITUIDS]: Remove conditional code.
45902 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
45903 <kernel-features.h>.
45904 [__ASSUME_32BITUIDS]: Make code unconditional.
45905 [!__ASSUME_32BITUIDS]: Remove conditional code.
45906 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
45907 <kernel-features.h>.
45908 [__ASSUME_32BITUIDS]: Make code unconditional.
45909 [!__ASSUME_32BITUIDS]: Remove conditional code.
45910 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
45911 <kernel-features.h>.
45912 [__ASSUME_32BITUIDS]: Make code unconditional.
45913 [!__ASSUME_32BITUIDS]: Remove conditional code.
45914 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
45915 <kernel-features.h>.
45916 [__ASSUME_32BITUIDS]: Make code unconditional.
45917 [!__ASSUME_32BITUIDS]: Remove conditional code.
45918 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
45919 <kernel-features.h>.
45920 [__ASSUME_32BITUIDS]: Make code unconditional.
45921 [!__ASSUME_32BITUIDS]: Remove conditional code.
45922 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
45923 <kernel-features.h>.
45924 [__ASSUME_32BITUIDS]: Make code unconditional.
45925 [!__ASSUME_32BITUIDS]: Remove conditional code.
45926 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
45927 <kernel-features.h>.
45928 [__ASSUME_32BITUIDS]: Make code unconditional.
45929 [!__ASSUME_32BITUIDS]: Remove conditional code.
45930 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
45931 <kernel-features.h>.
45932 [__ASSUME_32BITUIDS]: Make code unconditional.
45933 [!__ASSUME_32BITUIDS]: Remove conditional code.
45934 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
45935 <kernel-features.h>.
45936 [__ASSUME_32BITUIDS]: Make code unconditional.
45937 [!__ASSUME_32BITUIDS]: Remove conditional code.
45938 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
45939 <kernel-features.h>.
45940 [__NR_setresgid] (__setresgid): Do not declare.
45941 [__ASSUME_32BITUIDS]: Make code unconditional.
45942 [!__ASSUME_32BITUIDS]: Remove conditional code.
45943 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
45944 <kernel-features.h>.
45945 [__NR_setresuid] (__setresuid): Do not declare.
45946 [__ASSUME_32BITUIDS]: Make code unconditional.
45947 [!__ASSUME_32BITUIDS]: Remove conditional code.
45948 * sysdeps/unix/sysv/linux/i386/setfsgid.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/setfsuid.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/setgid.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/setgroups.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/setregid.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/setresgid.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/setresuid.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/setreuid.c: Do not include
45977 <kernel-features.h>.
45978 [__ASSUME_32BITUIDS]: Make code unconditional.
45979 [!__ASSUME_32BITUIDS]: Remove conditional code.
45980 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
45981 <kernel-features.h>.
45982 [__ASSUME_32BITUIDS]: Make code unconditional.
45983 [!__ASSUME_32BITUIDS]: Remove conditional code.
45984 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
45985 <kernel-features.h>.
45986 [__ASSUME_32BITUIDS]: Make code unconditional.
45987 [!__ASSUME_32BITUIDS]: Remove conditional code.
45988 * sysdeps/unix/sysv/linux/kernel-features.h
45989 (__ASSUME_SETRESUID_SYSCALL): Remove.
45990 (__ASSUME_SETRESGID_SYSCALL): Likewise.
45991 (__ASSUME_32BITUIDS): Likewise.
45992 (__ASSUME_LDT_WORKS): Likewise.
45993 (__ASSUME_O_DIRECTORY): Likewise.
45994 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
45995 architecture but not kernel version.
45996 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
45997 (__ASSUME_MMAP2_SYSCALL): Likewise.
45998 (__ASSUME_STAT64_SYSCALL): Likewise.
45999 (__ASSUME_IPC64): Likewise.
46000 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
46001 <kernel-features.h>.
46002 [__ASSUME_32BITUIDS]: Make code unconditional.
46003 [!__ASSUME_32BITUIDS]: Remove conditional code.
46004 * sysdeps/unix/sysv/linux/opendir.c: Do not include
46005 <kernel-features.h>.
46006 [__ASSUME_O_DIRECTORY]: Make code unconditional.
46007 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
46008 132096]: Remove conditional code.
46009 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
46010 * sysdeps/unix/sysv/linux/s390/s390-32/chown.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/s390/s390-32/lchown.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/setegid.c: Do not include
46019 <kernel-features.h>.
46020 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
46022 (__setresgid): Do not declare.
46023 [__ASSUME_32BITUIDS]: Make code unconditional.
46024 [!__ASSUME_32BITUIDS]: Remove conditional code.
46025 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
46026 <kernel-features.h>.
46027 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
46029 (__setresuid): Do not declare.
46030 [__ASSUME_32BITUIDS]: Make code unconditional.
46031 [!__ASSUME_32BITUIDS]: Remove conditional code.
46032 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
46033 <kernel-features.h>.
46034 [__ASSUME_32BITUIDS]: Make code unconditional.
46035 [!__ASSUME_32BITUIDS]: Remove conditional code.
46036 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
46037 <kernel-features.h>.
46038 [__ASSUME_32BITUIDS]: Make code unconditional.
46039 [!__ASSUME_32BITUIDS]: Remove conditional code.
46041 2012-05-25 Richard Henderson <rth@twiddle.net>
46043 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
46044 dl_hwcap to ifunc resolver.
46045 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
46047 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
46048 dl_hwcap to ifunc resolver.
46049 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
46051 2012-05-24 Joseph Myers <joseph@codesourcery.com>
46054 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
46055 for |x| <= 2**-26, not 2**-57.
46056 * math/libm-test.inc (acos_test): Do not allow spurious underflow
46059 2012-05-24 Jeff Law <law@redhat.com>
46061 * stdio-common/Makefile (tests): Add bug25.
46062 * stdio-common/bug25.c: New test.
46064 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
46067 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
46068 multiple of MALLOC_ALIGNMENT in size.
46069 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
46071 2012-05-24 Joseph Myers <joseph@codesourcery.com>
46073 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
46075 (FILENAME_MAX): Use macro-int-constant.
46076 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
46077 (_IOFBF): Use macro-int-constant.
46078 (_IOLBF): Likewise.
46079 (_IONBF): Likewise.
46080 (SEEK_CUR): Likewise.
46081 (SEEK_END): Likewise.
46082 (SEEK_SET): Likewise.
46083 (TMP_MAX): Likewise.
46084 (EOF): Use macro-int-constant. Require < 0.
46085 (NULL): Use macro-constant. Require == 0.
46086 (stdin): Require type to be FILE *.
46087 (stdout): Likewise.
46088 (stderr): Likewise.
46089 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
46090 macro-int-constant.
46091 (EXIT_SUCCESS): Likewise.
46092 (NULL): Use macro-constant. Require == 0.
46093 (RAND_MAX): Use macro-int-constant.
46094 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
46095 [C99-based standards] (strtof): Require function.
46096 [C99-based standards] (strtold): Likewise.
46097 [C99-based standards] (strtoll): Likewise.
46098 [C99-based standards] (strtoull): Likewise.
46099 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
46100 [ISO || ISO99 || ISO11] (limits.h): Likewise.
46101 [ISO || ISO99 || ISO11] (math.h): Likewise.
46102 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
46103 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
46104 [ISO || ISO99 || ISO11] (*_t): Do not allow.
46106 2012-05-24 Andreas Schwab <schwab@linux-m68k.org>
46109 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
46110 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
46111 * intl/dgettext.c (DCGETTEXT): Likewise.
46112 * intl/gettext.c (DCGETTEXT): Likewise.
46113 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
46114 * posix/regex_internal.h (gettext): Likewise.
46115 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
46116 Remove declaration.
46117 * include/argz.h (__argz_count_internal)
46118 (__argz_stringify_internal): Remove declaration.
46119 (__argz_count, __argz_stringify): Declare hidden proto.
46120 * intl/dcgettext.c: Remove use of INTDEF.
46121 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
46122 * string/argz-stringify.c: Likewise.
46123 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
46124 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
46125 Declare hidden proto.
46126 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
46127 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
46128 Declare hidden proto.
46129 * include/stdio.h (__asprintf_internal): Don't declare.
46130 (__asprintf): Don't define as macro. Declare hidden proto.
46131 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
46132 (__fsetlocking): Declare hidden proto.
46133 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
46134 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
46136 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
46137 (_IO_setlinebuf): Remove use of INTUSE.
46138 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
46139 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
46140 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
46141 Remove declaration.
46142 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
46143 (_IO_do_flush): Remove use of INTUSE.
46144 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
46145 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
46146 (_IO_adjust_column, _IO_least_wmarker)
46147 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
46148 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
46149 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
46150 (_IO_default_doallocate, _IO_wdefault_doallocate)
46151 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
46152 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
46153 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
46154 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
46155 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
46156 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
46157 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
46158 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
46159 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
46160 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
46161 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
46162 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
46163 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
46165 (_IO_flush_all_internal, _IO_adjust_column_internal)
46166 (_IO_default_uflow_internal, _IO_default_finish_internal)
46167 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
46168 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
46169 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
46170 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
46171 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
46172 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
46173 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
46174 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
46175 (_IO_file_close_internal, _IO_file_close_it_internal)
46176 (_IO_file_underflow_internal, _IO_file_overflow_internal)
46177 (_IO_file_init_internal, _IO_file_attach_internal)
46178 (_IO_file_fopen_internal, _IO_file_read_internal)
46179 (_IO_file_sync_internal, _IO_file_seek_internal)
46180 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
46181 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
46182 (_IO_str_underflow_internal, _IO_str_overflow_internal)
46183 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
46184 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
46185 (_IO_list_all_internal, _IO_link_in_internal)
46186 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
46187 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
46188 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
46189 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
46190 (_IO_do_write_internal, _IO_padn_internal)
46191 (_IO_getline_info_internal, _IO_getline_internal)
46192 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
46193 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
46194 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
46195 (_IO_vfscanf_internal, _IO_vfprintf_internal)
46196 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
46197 (_IO_init_internal, _IO_un_link_internal): Don't declare.
46198 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
46199 with libc_hidden_ver, remove use of INTUSE.
46200 * libio/genops.c: Likewise.
46201 * libio/freopen.c: Likewise.
46202 * libio/freopen64.c: Likewise.
46203 * libio/iofclose.c: Likewise.
46204 * libio/iofdopen.c: Likewise.
46205 * libio/iofflush.c: Likewise.
46206 * libio/iofflush_u.c: Likewise.
46207 * libio/iofgets.c: Likewise.
46208 * libio/iofgets_u.c: Likewise.
46209 * libio/iofopen.c: Likewise.
46210 * libio/iofopncook.c: Likewise.
46211 * libio/iofread.c: Likewise.
46212 * libio/iofread_u.c: Likewise.
46213 * libio/ioftell.c: Likewise.
46214 * libio/iofwrite.c: Likewise.
46215 * libio/iogetline.c: Likewise.
46216 * libio/iogets.c: Likewise.
46217 * libio/iogetwline.c: Likewise.
46218 * libio/iopadn.c: Likewise.
46219 * libio/iopopen.c: Likewise.
46220 * libio/ioseekoff.c: Likewise.
46221 * libio/ioseekpos.c: Likewise.
46222 * libio/iosetbuffer.c: Likewise.
46223 * libio/iosetvbuf.c: Likewise.
46224 * libio/ioungetc.c: Likewise.
46225 * libio/ioungetwc.c: Likewise.
46226 * libio/iovdprintf.c: Likewise.
46227 * libio/iovsprintf.c: Likewise.
46228 * libio/iovsscanf.c: Likewise.
46229 * libio/memstream.c: Likewise.
46230 * libio/obprintf.c: Likewise.
46231 * libio/oldfileops.c: Likewise.
46232 * libio/oldiofclose.c: Likewise.
46233 * libio/oldiofdopen.c: Likewise.
46234 * libio/oldiofopen.c: Likewise.
46235 * libio/oldiopopen.c: Likewise.
46236 * libio/oldstdfiles.c: Likewise.
46237 * libio/putc.c: Likewise.
46238 * libio/setbuf.c: Likewise.
46239 * libio/setlinebuf.c: Likewise.
46240 * libio/stdfiles.c: Likewise.
46241 * libio/strops.c: Likewise.
46242 * libio/vasprintf.c: Likewise.
46243 * libio/vscanf.c: Likewise.
46244 * libio/vsnprintf.c: Likewise.
46245 * libio/vswprintf.c: Likewise.
46246 * libio/wfiledoalloc.c: Likewise.
46247 * libio/wfileops.c: Likewise.
46248 * libio/wgenops.c: Likewise.
46249 * libio/wmemstream.c: Likewise.
46250 * libio/wstrops.c: Likewise.
46251 * libio/__fpurge.c: Likewise.
46252 * libio/__fsetlocking.c: Likewise.
46253 * assert/assert.c: Likewise.
46254 * debug/fgets_chk.c: Likewise.
46255 * debug/fgets_u_chk.c: Likewise.
46256 * debug/fread_chk.c: Likewise.
46257 * debug/fread_u_chk.c: Likewise.
46258 * debug/gets_chk.c: Likewise.
46259 * debug/obprintf_chk.c: Likewise.
46260 * debug/vasprintf_chk.c: Likewise.
46261 * debug/vdprintf_chk.c: Likewise.
46262 * debug/vsnprintf_chk.c: Likewise.
46263 * debug/vsprintf_chk.c: Likewise.
46264 * malloc/mtrace.c: Likewise.
46265 * misc/error.c: Likewise.
46266 * misc/syslog.c: Likewise.
46267 * stdio-common/asprintf.c: Likewise.
46268 * stdio-common/fxprintf.c: Likewise.
46269 * stdio-common/getw.c: Likewise.
46270 * stdio-common/isoc99_fscanf.c: Likewise.
46271 * stdio-common/isoc99_scanf.c: Likewise.
46272 * stdio-common/isoc99_vfscanf.c: Likewise.
46273 * stdio-common/isoc99_vscanf.c: Likewise.
46274 * stdio-common/isoc99_vsscanf.c: Likewise.
46275 * stdio-common/printf-prs.c: Likewise.
46276 * stdio-common/printf_fp.c: Likewise.
46277 * stdio-common/printf_fphex.c: Likewise.
46278 * stdio-common/printf_size.c: Likewise.
46279 * stdio-common/putw.c: Likewise.
46280 * stdio-common/scanf.c: Likewise.
46281 * stdio-common/sprintf.c: Likewise.
46282 * stdio-common/tmpfile.c: Likewise.
46283 * stdio-common/vfprintf.c: Likewise.
46284 * stdio-common/vfscanf.c: Likewise.
46285 * stdlib/strfmon_l.c: Likewise.
46286 * sunrpc/openchild.c: Likewise.
46287 * sunrpc/xdr_stdio.c: Likewise.
46288 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
46289 * sysdeps/mach/hurd/tmpfile.c: Likewise.
46291 2012-05-24 Roland McGrath <roland@hack.frob.com>
46293 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
46295 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
46296 in the third column, to generate for the shared library an IFUNC
46297 that uses _dl_vdso_vsym.
46298 * Makerules (COMPILE.c, compile-stdin.c): New variables.
46299 * Makeconfig (object-suffixes-noshared): New variable.
46301 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
46302 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
46303 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
46304 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
46307 * include/sys/time.h (__gettimeofday): Remove macro.
46308 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
46309 * time/gettimeofday.c (__gettimeofday): Remove #undef.
46311 (__gettimeofday): Add libc_hidden_def.
46312 (gettimeofday): Add libc_hidden_weak.
46313 * sysdeps/mach/gettimeofday.c: Likewise.
46314 * sysdeps/posix/gettimeofday.c: Likewise.
46315 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
46316 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
46317 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
46318 (__gettimeofday_internal): Remove strong_alias.
46319 (__gettimeofday): Add libc_hidden_def.
46320 (gettimeofday): Add libc_hidden_weak.
46321 * sysdeps/unix/syscalls.list (gettimeofday):
46322 Remove __gettimeofday_internal alias.
46324 2012-05-24 Daniel Jacobowitz <drow@false.org>
46325 H.J. Lu <hongjiu.lu@intel.com>
46328 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
46329 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
46330 (largebin_index_32_big): New.
46331 (largebin_index): Use it for 16-byte alignment.
46332 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
46333 correction with front_misalign.
46335 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
46337 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
46338 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
46340 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
46342 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
46344 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
46346 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
46348 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
46350 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
46352 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
46354 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
46356 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
46358 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
46360 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
46363 * scripts/data/c++-types-x32-linux-gnu.data: New file.
46364 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
46366 2012-05-24 Joseph Myers <joseph@codesourcery.com>
46370 * math/libm-test.inc (exp_test): Add test from bug 14036.
46371 (pow_test): Add test from bug 10846.
46373 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
46375 (special_function): Do not include flags in test name.
46376 (parse_args): Likewise.
46377 * sysdeps/i386/fpu/libm-test-ulps: Update.
46378 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
46379 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
46380 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
46381 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46383 * math/gen-libm-test.pl (%beautify): Add entries for underflow
46385 * math/libm-test.inc ("Philosophy"): Update comment about
46387 (UNDERFLOW_EXCEPTION): New macro.
46388 (UNDERFLOW_EXCEPTION_OK): Likewise.
46389 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
46390 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
46391 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
46392 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
46393 (INVALID_EXCEPTION_OK): Update value.
46394 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
46395 (OVERFLOW_EXCEPTION_OK): Likewise.
46396 (IGNORE_ZERO_INF_SIGN): Likewise.
46397 (test_exceptions): Handle underflow exceptions.
46398 (acos_test): Update for underflow exception expectations.
46399 (cexp_test): Likewise.
46400 (clog_test): Likewise.
46401 (clog10_test): Likewise.
46402 (csqrt_test): Likewise.
46403 (ctan_test): Likewise.
46404 (ctanh_test): Likewise.
46405 (exp_test): Likewise.
46406 (exp10_test): Likewise.
46407 (exp2_test): Likewise.
46408 (expm1_test): Likewise.
46409 (fma_test): Likewise.
46410 (j0_test): Likewise.
46411 (jn_test): Likewise.
46412 (nexttoward_test): Likewise.
46413 (pow_test): Likewise.
46414 (scalbn_test): Likewise.
46415 (scalbln_test): Likewise.
46416 (tan_test): Likewise.
46417 (y1_test): Likewise.
46418 * sysdeps/i386/fpu/libm-test-ulps: Update.
46419 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46421 2012-05-23 David S. Miller <davem@davemloft.net>
46423 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
46424 (__libc_sigaction): Remove unused local variables.
46426 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
46428 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
46430 2012-05-23 Paul Eggert <eggert@cs.ucla.edu>
46432 mktime: avoid signed integer overflow
46433 * time/mktime.c (__mktime_internal): Do not mishandle the case
46434 where diff == INT_MIN.
46436 mktime: simplify computation of average
46437 * time/mktime.c (ranged_convert): Use new time_t_avg function
46438 instead of rolling our own (probably-slower) code.
46440 mktime: do not assume signed right shift propagates sign bit
46441 * time/mktime.c (isdst_differ): New static function.
46442 (__mktime_internal): No need to normalize tm_isdst now.
46443 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
46446 mktime: merge another wrapv change from gnulib
46447 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
46448 from some compilers.
46450 mktime: remove incorrect attempt at unusual arithmetics
46451 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
46452 The code didn't really work on such machines anyway.
46453 (TYPE_MINIMUM): Assume two's complement.
46454 (twos_complement_arithmetic): Verify that long_int and time_t
46455 are two's complement (or unsigned, in the latter case).
46457 mktime: check signed shifts on long_int and time_t, too
46458 * time/mktime.c (SHR): Check that shifts work as desired
46459 on the types long_int and time_t too, as SHR is used on
46462 mktime: do not assume 'long' is wide enough
46463 * time/mktime.c (verify): Move decl up.
46464 (long_int): New type.
46465 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
46466 to remove assumption in the code that 'long' is wide enough to
46467 store year values. This assumption is not true on x32 and on
46468 some non-glibc platforms.
46470 mktime: merge wrapv change from gnulib
46471 * time/mktime.c (WRAPV): New macro.
46472 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
46473 (guess_time_tm, __mktime_internal): Do not assume that signed
46474 integer overflow wraps around; modern compilers generate code
46475 where this assumption is no longer valid.
46477 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
46479 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
46480 Replace "jmp L(pseudo_end)" with "ret".
46481 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
46484 2012-05-23 Andreas Jaeger <aj@suse.de>
46486 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
46487 * sysdeps/unix/sysv/linux/poll.c: Remove file.
46489 2012-05-23 Andreas Jaeger <aj@suse.de>
46490 Maximilian Attems <max@stro.at>
46492 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
46495 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
46497 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
46498 code so that pseudo_end is just ret and the stack pointer is
46499 correct also for static library in error case.
46501 2012-05-23 Joseph Myers <joseph@codesourcery.com>
46503 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
46504 move to syscalls.list.
46505 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
46506 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
46507 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
46508 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
46510 * manual/install.texi (Running make install): Do not mention Linux
46511 kernel version for which pt_chown is not needed.
46512 (Linux): Do not mention problems with nscd with 2.0 kernels.
46513 * INSTALL: Regenerated.
46515 2012-05-23 Andreas Jaeger <aj@suse.de>
46517 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
46518 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
46520 * sysdeps/unix/sysv/linux/s390/bits/mman.h
46521 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
46522 * sysdeps/unix/sysv/linux/sh/bits/mman.h
46523 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
46524 * sysdeps/unix/sysv/linux/i386/bits/mman.h
46525 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
46526 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
46527 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
46528 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
46529 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
46530 * sysdeps/unix/sysv/linux/bits/in.h
46531 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
46533 2012-05-22 Roland McGrath <roland@hack.frob.com>
46535 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
46536 (PREPARE_VERSION): Just use assert instead, it will be elided
46537 under [NDEBUG] anyway.
46539 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
46541 * sysdeps/unix/sysv/linux/Makefile: Include
46542 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
46543 (sysdep_routines): Remove sysctl.
46544 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
46545 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
46546 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
46547 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
46548 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
46550 2012-05-22 Andreas Jaeger <aj@suse.de>
46552 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
46553 that pseudo_end is just ret and the stack pointer is correct also
46554 for static library in error case.
46556 2012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
46559 * nss/nsswitch.c (defconfig_entries): New variable.
46560 (__nss_database_lookup): Don't leak defconfig entries.
46561 (nss_parse_service_list): Don't leak on error paths.
46562 (free_database_entries): New function.
46563 (free_defconfig): New function.
46564 (free_mem): Move common code to free_database_entries.
46566 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
46568 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
46570 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
46572 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
46573 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
46574 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
46576 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
46577 (INTERNAL_SYSCALL_TYPES): Likewise.
46578 (LOAD_ARGS_TYPES_[1-6]): Likewise.
46579 (LOAD_REGS_TYPES_[1-6]): Likewise.
46580 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
46581 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
46583 2012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
46585 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
46586 copysignl for GLIBC_2_0.
46587 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
46588 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
46589 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
46590 logbl for GLIBC_2_0.
46591 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
46592 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
46594 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
46596 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
46597 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
46599 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
46602 * time/mktime.c: Update copyright years.
46604 2012-05-22 Paul Eggert <eggert@cs.ucla.edu>
46606 mktime: merge comment-quoting-style change from gnulib
46607 * time/mktime.c: Quote 'like this' in comments.
46608 The GNU coding standards suggest that we no longer quote `like this',
46609 as "`" and "'" are typically rendered asymmetrically nowadays.
46610 The typical gnulib style is to quote 'like this' when quoting
46611 code, and "like this" when quoting English.
46613 * time/mktime.c (compile-command): Add "-I.".
46615 mktime: merge mktime-internal.h change from gnulib
46616 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
46618 mktime: merge time_r change from gnulib
46619 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
46621 mktime: merge DEBUG change from gnulib
46622 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
46623 case system <time.h> has a #define.
46625 mktime: merge <sys/types.h> change from gnulib
46626 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
46627 since <time.t> is now guaranteed to define time_t.
46629 mktime: merge HAVE_CONFIG_H change from gnulib
46630 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
46632 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
46634 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
46637 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
46639 (struct rusage): Use anonymous union to pad each field to
46642 2012-05-21 David S. Miller <davem@davemloft.net>
46644 * Makefules (o-iterator): Remove .s cases.
46645 (compile-command.s): Delete.
46646 (COMPILE.s): Delete.
46647 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
46649 2012-05-21 Joseph Myers <joseph@codesourcery.com>
46651 * configure.in (libc_cv_predef_stack_protector): Only consider
46652 "foobar" and "__stack_chk_fail" lines in libc_undefs.
46653 * configure: Regenerated.
46655 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
46657 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
46658 New macro. Use R*LP on int and pointer.
46659 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
46660 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
46661 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
46662 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
46664 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
46665 [__WORDSIZE_TIME64_COMPAT32] instead of
46666 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
46667 (struct utmp): Likewise.
46668 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
46669 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
46671 (__WORDSIZE_TIME64_COMPAT32): This.
46672 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
46673 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
46674 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
46675 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
46676 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
46677 (__WORDSIZE_TIME64_COMPAT32): New macro.
46679 2012-05-21 Andreas Jaeger <aj@suse.de>
46681 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
46682 only if [SHARED]. Add prototype for __wcschr_ia32.
46684 2012-05-21 Roland McGrath <roland@hack.frob.com>
46686 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
46687 of %rbp unmolested in the jmp_buf while mangling the low bits.
46688 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
46689 unmolested high bits of %rbp while demangling the low bits.
46690 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
46692 2012-05-21 Andreas Jaeger <aj@suse.de>
46694 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
46695 * sunrpc/svc_simple.c: Use it for registerrpc.
46696 * sunrpc/xcrypt.c: Use it for passwd2des.
46698 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
46700 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
46702 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
46703 Don't define if [__SYSCALL_WORDSIZE != 32].
46704 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
46707 2012-05-21 Bruno Haible <bruno@clisp.org>
46708 Andreas Jaeger <aj@suse.de>
46710 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
46711 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
46712 inptr and inend for must_buffer_ch.
46713 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
46714 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
46715 * stdio-common/Makefile (tests): Remove bug15.
46716 (bug15-ENV): Remove macro.
46717 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
46720 2012-05-19 Andreas Jaeger <aj@suse.de>
46721 Roland McGrath <roland@hack.frob.com>
46723 * manual/contrib.texi: Completely rewritten. It contains now an
46724 alphabetical list of contributors and their contributions.
46726 2012-05-21 Richard Henderson <rth@twiddle.net>
46728 * misc/getauxval.c (__getauxval): Use unsigned long int.
46729 * misc/sys/auxv.h: Include <sys/cdefs.h>.
46730 (getauxval): Use unsigned long int.
46732 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
46734 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
46736 2012-05-21 Roland McGrath <roland@hack.frob.com>
46738 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
46739 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
46740 __alignof__ (long double).
46742 2012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
46744 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
46746 2012-05-20 Richard Henderson <rth@twiddle.net>
46748 * misc/getauxval.c: New file.
46749 * misc/sys/auxv.h: New file.
46750 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
46751 (routines): Add getauxval.
46752 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
46753 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
46754 * elf/dl-sysdep.c (_dl_auxv): Remove.
46755 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
46756 * elf/dl-support.c (_dl_auxv): New variable.
46757 (_dl_aux_init): Initialize it.
46758 * manual/startup.texi (Auxiliary Vector): New node.
46759 * sysdeps/generic/bits/hwcap.h: New file.
46760 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
46761 * sysdeps/powerpc/sysdep.h: ... here. Include it.
46762 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
46763 * sysdeps/sparc/sysdep.h: ... here. Include it.
46764 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
46765 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
46766 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
46768 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
46769 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
46770 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
46771 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
46772 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
46773 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
46774 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
46775 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
46777 2012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
46779 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
46781 2012-05-19 David S. Miller <davem@davemloft.net>
46783 * sysdeps/sparc/fpu/libm-test-ulps: Update.
46785 2012-05-19 Joseph Myers <joseph@codesourcery.com>
46788 * math/s_ccosh.c: Include <float.h>
46789 (__ccosh): Avoid internal overflow calculating sinh and cosh
46790 values before multiplying by sin and cos values.
46791 * math/s_ccoshf.c: Likewise.
46792 * math/s_ccoshl.c: Likewise.
46793 * math/s_csin.c: Likewise.
46794 * math/s_csinf.c: Likewise.
46795 * math/s_csinl.c: Likewise.
46796 * math/s_csinh.c: Likewise.
46797 * math/s_csinhf.c: Likewise.
46798 * math/s_csinhl.c: Likewise.
46799 * math/libm-test.inc (ccos_test): Add more tests.
46800 (ccosh_test): Likewise.
46801 (csin_test): Likewise.
46802 (csinh_test): Likewise.
46803 * sysdeps/i386/fpu/libm-test-ulps: Update.
46804 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46806 2012-05-19 H.J. Lu <hongjiu.lu@intel.com>
46808 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
46809 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
46811 * sysdeps/x86_64/x32/_itoa.h: Add comment.
46813 2012-05-19 Joseph Myers <joseph@codesourcery.com>
46815 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
46816 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
46817 * sysdeps/powerpc/soft-fp/Versions: Likewise.
46818 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
46819 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
46820 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
46821 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
46822 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
46823 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
46824 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
46825 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
46826 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
46827 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
46828 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
46829 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
46830 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
46831 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
46832 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
46833 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
46834 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
46835 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
46836 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
46837 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
46838 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
46839 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
46840 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
46841 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
46842 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
46843 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
46844 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
46845 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
46847 2012-05-18 Andreas Jaeger <aj@suse.de>
46849 * csu/.gitignore: Delete.
46851 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
46853 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
46854 (timex): Use __syscall_slong_t.
46856 2012-05-18 Andreas Jaeger <aj@suse.de>
46857 Carlos O'Donell <carlos_odonell@mentor.com>
46859 * manual/install.texi (Configuring and compiling): Update
46860 description about files modified in the source directory.
46861 * INSTALL: Regenerated.
46863 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
46865 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
46866 value. Use "or" to set return value to -1.
46867 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
46868 negate return value.
46870 2012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
46872 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
46873 (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
46874 failure if the compiler has Graphite support disabled.
46875 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
46877 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
46878 (CFLAGS-memmove.c): Likewise.
46879 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
46882 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
46884 * sysdeps/x86_64/x32/_itoa.h: New file.
46886 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
46887 getdents system call only if kernel and user dirents have the
46888 same d_ino and d_off.
46890 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
46891 LLONG_MAX != LONG_MAX.
46892 (_itoa_word): Use _ITOA_WORD_TYPE on value.
46893 (_fitoa_word): Likewise.
46895 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
46897 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
46898 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
46899 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
46901 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
46902 include <bits/wordsize.h>. Check __x86_64__ instead of
46904 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
46905 if __x86_64__ is defined. Use anonymous union on fpstate.
46907 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
46910 2012-05-18 Andreas Schwab <schwab@linux-m68k.org>
46912 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
46913 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
46914 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
46915 Refer to _rtld_local_ro instead of _rtld_global_ro.
46916 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
46918 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
46920 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
46922 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
46923 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
46924 of _rtld_global, and rtld_progname instead of _dl_argv[0].
46926 * sysdeps/powerpc/powerpc32/dl-machine.c
46927 (__elf_machine_runtime_setup) [PROF]: Don't reference
46930 2012-05-18 Andreas Jaeger <aj@suse.de>
46932 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
46933 function only available for GCCs before 3.4 since GCC 3.4
46934 introduced a builtin.
46936 (llrintf): Likewise.
46937 (llrint): Likewise.
46944 (nearbyint): Likewise.
46945 (nearbyintf): Likewise.
46949 (floorf): Likewise.
46951 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
46953 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
46954 on both fields and cast pointer to __syscall_ulong_t.
46956 * bits/types.h (__fsword_t): New type.
46957 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
46958 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
46959 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
46960 (__FSWORD_T_TYPE): Likewise.
46961 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
46962 (__FSWORD_T_TYPE): Likewise.
46963 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
46964 (__FSWORD_T_TYPE): Likewise.
46965 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
46966 (__FSWORD_T_TYPE): Likewise.
46967 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
46968 __SWORD_TYPE with __fsword_t.
46969 (statfs64): Likewise.
46971 2012-05-17 David S. Miller <davem@davemloft.net>
46973 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
46975 2012-05-17 Andreas Jaeger <aj@suse.de>
46977 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
46980 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
46982 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
46984 2012-05-17 Andreas Jaeger <aj@suse.de>
46986 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
46989 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
46991 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
46993 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
46995 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
46996 * sysdeps/x86_64/tst-mallocalign1.c: New file.
46998 2012-05-17 Andreas Jaeger <aj@suse.de>
46999 Carlos O'Donell <carlos_odonell@mentor.com>
47002 * sysdeps/x86_64/multiarch/init-arch.h
47003 (bit_YMM_Usable): Rename to...
47004 (bit_AVX_Usable): ... this.
47005 (bit_FMA4_Usable): New macro.
47006 (bit_XMM_state): New macro.
47007 (bit_YMM_state): New macro.
47008 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
47009 [__ASSEMBLER__] (index_AVX_Usable): ... this.
47010 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
47011 (CPUID_OSXSAVE): New macro.
47012 (CPUID_AVX): New macro.
47013 (CPUID_FMA4): New macro.
47014 (index_YMM_Usable): Rename to...
47015 (index_AVX_Usable): ... this.
47016 (HAS_AVX): Use HAS_ARCH_FEATURE.
47017 (HAS_FMA4): Likewise.
47018 (HAS_YMM_USABLE): Remove.
47019 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
47020 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
47022 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
47023 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
47024 * sysdeps/x86_64/multiarch/Makefile: Likewise.
47025 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
47026 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
47028 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
47030 * math/libm-test.c: Support platforms without multiple rounding modes.
47031 * math/bug-nextafter.c: Support platforms without FP exceptions.
47032 * math/bug-nexttoward.c: Likewise.
47033 * math/test-fenv.c: Likewise.
47034 * math/test-misc.c: Likewise.
47035 * stdlib/bug-getcontext.c: Likewise.
47037 2012-05-17 Andreas Jaeger <aj@suse.de>
47039 * manual/examples/search.c (critter_cmp): Change signature to
47041 * manual/string.texi (Collation Functions): Likewise.
47043 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
47045 * bits/types.h: Fold copyright years.
47046 * bits/typesizes.h: Likewise.
47047 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
47048 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
47049 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
47050 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
47051 * time/time.h: Likewise.
47053 2012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
47056 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
47057 in instead of returning them. Return void.
47058 (__libc_mallinfo): Accumulate over all arenas.
47059 (__malloc_stats): Adjust for change in int_mallinfo interface.
47061 2012-05-16 Roland McGrath <roland@hack.frob.com>
47064 * configure.in (NM): Add AC_CHECK_TOOL for it.
47065 (libc_extra_cflags): New substituted variable.
47066 Check for -fstack-protector being used implicitly.
47067 * configure: Regenerated.
47068 * config.make.in (config-extra-cflags): New variable,
47069 gets @libc_extra_cflags@.
47070 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
47073 * configure.in: Check for _FORTIFY_SOURCE being predefined.
47074 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
47075 * configure: Regenerated.
47076 * config.make.in (CPPUNDEFS): New substituted variable.
47077 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
47078 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
47079 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
47081 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
47083 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
47084 (mq_attr): Use __syscall_slong_t.
47086 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
47088 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
47089 Check __x86_64__ instead of __WORDSIZE.
47090 (_STAT_VER_LINUX): Likewise.
47091 (stat): Check __x86_64__ instead of __WORDSIZE. Use
47092 __syscall_ulong_t and __syscall_slong_t.
47093 (stat64): Likewise.
47095 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
47097 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
47099 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
47101 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
47103 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
47105 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
47108 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
47109 include <bits/wordsize.h>. Check __x86_64__ instead of
47111 (greg_t): Use "__extension__ long long int" if __x86_64__ is
47113 (mcontext_t): Replace "unsigned long" with "unsigned long long".
47115 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
47116 include <bits/wordsize.h>. Check __x86_64__ instead of
47118 (user_regs_struct): Use "__extension__ unsigned long long"
47119 instead of "unsigned long" if __x86_64__ is defined.
47120 (user): Likewise. Pad after pointer field if __ILP32__ is
47123 2012-05-16 Joseph Myers <joseph@codesourcery.com>
47125 * configure.in (makeinfo): Require version 4.5 or later. Allow
47127 * configure: Regenerated.
47128 * manual/install.texi (texinfo): Increase version requirement to
47130 * INSTALL: Regenerated.
47132 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
47134 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
47136 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
47138 * sysdeps/x86_64/x32/ffs.c: New file.
47140 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
47142 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
47143 defined. Use __syscall_ulong_t.
47144 (shminfo): Use __syscall_ulong_t.
47145 (shm_info): Likewise.
47147 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
47150 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
47152 (msgqnum_t): Use __syscall_ulong_t.
47153 (msglen_t): Likewise.
47154 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
47157 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
47158 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
47160 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
47162 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
47163 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
47165 * sysvipc/sys/msg.h (msgbuf): Replace long int with
47168 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
47169 include <bits/wordsize.h>. Check __x86_64__ instead of
47172 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
47173 "unsigned long long int" if __x86_64__ is defined.
47174 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
47176 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
47177 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
47178 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
47180 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
47182 (GET_PC): Cast to uintptr_t first.
47183 (GET_FRAME): Likewise.
47184 (GET_STACK): Likewise.
47186 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
47187 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
47188 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
47189 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
47190 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
47191 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
47192 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
47193 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
47194 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
47195 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
47196 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
47197 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
47198 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
47199 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
47200 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
47201 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
47202 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
47203 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
47204 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
47205 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
47206 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
47207 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
47208 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
47209 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
47210 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
47211 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
47212 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
47213 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
47214 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
47216 2012-05-16 Andreas Schwab <schwab@linux-m68k.org>
47218 * Makerules (+depfiles): Also collect depfiles from .oS in
47220 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
47221 .oS, $(libnldbl-routines)).
47223 * Makerules (native-compile-mkdep-flags): Define.
47224 * sunrpc/Makefile (extra-objs): Add $(addprefix
47225 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
47226 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
47227 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
47228 calling $(make-target-directory).
47230 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
47232 * bits/types.h (__snseconds_t): Removed.
47233 * time/time.h (struct timespec): Replace __snseconds_t with
47235 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
47236 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
47238 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
47239 (__SNSECONDS_T_TYPE): Likewise.
47240 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
47241 (__SNSECONDS_T_TYPE): Likewise.
47242 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
47243 (__SNSECONDS_T_TYPE): Likewise.
47245 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
47247 * sysdeps/mach/hurd/bits/typesizes.h
47248 (__SYSCALL_SLONG_TYPE): New macro.
47249 (__SYSCALL_ULONG_TYPE): Likewise.
47251 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
47253 * bits/types.h (__syscall_slong_t): New type.
47254 (__syscall_ulong_t): Likewise.
47256 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
47257 (__SYSCALL_ULONG_TYPE): Likewise.
47258 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
47259 (__SYSCALL_SLONG_TYPE): Likewise.
47260 (__SYSCALL_ULONG_TYPE): Likewise.
47261 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
47262 (__SYSCALL_SLONG_TYPE): Likewise.
47263 (__SYSCALL_ULONG_TYPE): Likewise.
47264 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
47265 (__SYSCALL_SLONG_TYPE): Likewise.
47266 (__SYSCALL_ULONG_TYPE): Likewise.
47268 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
47270 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
47271 Add sigaltstack-offsets.sym.
47272 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
47273 <sigaltstack-offsets.h>.
47274 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
47275 longjmp_msg pointer.
47276 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
47277 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
47279 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
47281 2012-05-15 Joseph Myers <joseph@codesourcery.com>
47283 * elf/stackguard-macros.h: Remove file.
47284 * sysdeps/generic/stackguard-macros.h: New file.
47285 * sysdeps/i386/stackguard-macros.h: Likewise.
47286 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
47287 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
47288 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
47289 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
47290 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
47291 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
47292 * sysdeps/x86_64/stackguard-macros.h: Likewise.
47293 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
47294 <elf/stackguard-macros.h>.
47297 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
47298 __aligned__ in attribute.
47299 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
47300 (gregset_t): Likewise.
47302 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
47304 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
47305 * sysdeps/x86_64/64/Implies-after: Here. New file.
47306 * sysdeps/x86_64/x32/Implies-after: New file.
47308 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
47310 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
47311 and access return value for _dl_profile_fixup. Use R10_LP to
47314 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
47316 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
47318 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
47320 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
47321 * sysdeps/x86_64/x32/sysdep.h: New file.
47323 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
47325 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
47326 * sysdeps/x86_64/setjmp.S: Likewise.
47328 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
47330 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
47331 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
47332 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
47333 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
47334 remove unused global constant.
47336 2012-05-15 Chris Metcalf <cmetcalf@tilera.com>
47338 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
47339 include of <not-cancel.h>.
47341 2012-05-15 Roland McGrath <roland@hack.frob.com>
47343 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
47345 2012-05-15 Jeff Law <law@redhat.com>
47346 Andreas Jaeger <aj@suse.de>
47349 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
47351 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
47352 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
47353 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
47354 code changing __hst_map_handle.map.
47356 2012-05-15 Roland McGrath <roland@hack.frob.com>
47358 * configure.in (sysnames): Look for Implies-before and Implies-after
47360 * configure: Regenerated.
47362 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
47364 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
47365 8-byte data alignment with LP_SIZE alignment.
47367 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
47369 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
47372 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
47374 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
47376 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
47378 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
47379 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
47380 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
47382 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
47384 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
47386 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
47387 (stackinfo_sub_sp): Likewise.
47389 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
47391 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
47394 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
47396 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
47399 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
47401 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
47404 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
47406 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
47408 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
47410 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
47411 into R11_LP and load __x86_64_shared_cache_size_half into
47414 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
47416 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
47419 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
47421 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
47423 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
47425 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
47427 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
47428 powerpc32/power7/fpu/s_logb.c via #include.
47429 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
47430 powerpc32/power7/fpu/s_logbf.c via #include.
47431 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
47432 powerpc32/power7/fpu/s_logbl.c via #include.
47434 2012-05-15 Joseph Myers <joseph@codesourcery.com>
47436 * README.libm: Remove file.
47438 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
47440 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
47441 count for x32. Use R*_LP and omit operand-size suffix.
47443 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
47445 * shlib-versions: Move x86_64-.*-linux.* entries to ...
47446 * sysdeps/x86_64/64/shlib-versions: Here. New file.
47447 * sysdeps/x86_64/x32/shlib-versions: New file.
47449 2012-05-14 Roland McGrath <roland@hack.frob.com>
47451 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
47452 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
47453 Use _dl_fatal_printf instead.
47455 2012-05-14 Joseph Myers <joseph@codesourcery.com>
47457 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
47458 set if not set by the user. Do not allow for being unset.
47459 * sysdeps/unix/sysv/linux/configure: Regenerated.
47461 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
47463 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
47464 the `q' suffix from lea and replace .quad with ASM_ADDR.
47466 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
47468 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
47469 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
47471 (PTR_DEMANGLE): Likewise.
47473 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
47475 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
47477 (ASM_ADDR): Likewise.
47478 (RAX_LP): Likewise.
47479 (RBP_LP): Likewise.
47480 (RBX_LP): Likewise.
47481 (RCX_LP): Likewise.
47482 (RDI_LP): Likewise.
47483 (RSI_LP): Likewise.
47484 (RSP_LP): Likewise.
47487 (R10_LP): Likewise.
47488 (R10_LP): Likewise.
47489 (R11_LP): Likewise.
47490 (R12_LP): Likewise.
47491 (R13_LP): Likewise.
47492 (R14_LP): Likewise.
47493 (R15_LP): Likewise.
47495 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
47497 * sysdeps/x86_64/x32/dl-machine.h: New file.
47499 2012-05-14 Andreas Jaeger <aj@suse.de>
47501 * manual/Makefile (subdir): Remove export of subdir.
47502 (all): Remove target.
47503 (.PHONY): Remove all from list.
47504 (mkinstalldirs): Remove.
47505 (.PHONY): Remove installdirs from list.
47506 ($(inst_infodir)/libc.info): Use make-target-directory.
47507 (installdirs): Remove.
47508 (subdir_%): Remove.
47509 (glibc-targets): Remove.
47512 ($(objpfx)stubs ../po/manual.pot): Remove.
47513 ($(objpfx)stamp%): Remove.
47514 (make-target-directory): Remove.
47515 (subdir_install): Remove.
47516 (routines): Remove.
47523 * manual/.gitignore: Remove, it's not needed anymore.
47524 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
47526 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
47528 (texis): Renamed to $(objpfx)texis.
47529 (texis-path): New, contains path to generated files.
47530 (chapters.%): Use texis-path for complete path, add extra argument
47532 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
47533 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
47534 (summary,texi, stamp-summary): Use complete path of
47535 files. Generate files in build dir.
47536 (dir-add.texi): Build in build dir.
47537 (libm-err.texi,stamp-libm-err): Likewise.
47538 (version.texi, stamp-version): Likewise.
47539 (.%c.texi): Likewise.
47540 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
47541 (mostlyclean): Remove target.
47542 (realclean): Remove target.
47543 (generated): Add new variable with contents from mostlyclean and
47544 realclean, remove entries duplicated in common-mostlyclean, add
47545 stamp-libm-err and stamp-version.
47546 (generated-dirs): Add libc directory.
47547 ($(inst_infodir)/libc.info): Install files from build dir.
47549 * manual/install.texi (Configuring and compiling): Adjust since
47550 the info files are not part of the tar ball anymore.
47552 2012-05-14 Andreas Jaeger <aj@suse.de>
47554 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
47557 2012-05-14 Joseph Myers <joseph@codesourcery.com>
47560 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
47561 to 2.2.0 where earlier.
47562 * sysdeps/unix/sysv/linux/configure: Regenerated.
47563 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
47564 Remove conditional code.
47565 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
47566 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
47567 Remove conditional code.
47568 [!__NR_lchown]: Likewise.
47569 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
47570 [__NR_lchown]: Likewise.
47571 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
47572 comment referencing __ASSUME_LCHOWN_SYSCALL.
47573 * sysdeps/unix/sysv/linux/i386/sigaction.c
47574 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
47575 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
47576 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
47577 Remove conditional code.
47578 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
47579 (__protocol_available): Remove #if 0 code.
47580 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
47582 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
47583 * sysdeps/unix/sysv/linux/kernel-features.h
47584 (__ASSUME_GETCWD_SYSCALL): Don't define.
47585 (__ASSUME_REALTIME_SIGNALS): Likewise.
47586 (__ASSUME_PREAD_SYSCALL): Likewise.
47587 (__ASSUME_PWRITE_SYSCALL): Likewise.
47588 (__ASSUME_POLL_SYSCALL): Likewise.
47589 (__ASSUME_LCHOWN_SYSCALL): Likewise.
47590 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
47592 (__ASSUME_SIOCGIFNAME): Don't define.
47593 (__ASSUME_MSG_NOSIGNAL): Likewise.
47594 (__ASSUME_SENDFILE): Define unconditionally.
47595 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
47596 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
47598 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
47599 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
47600 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
47601 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
47602 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
47603 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
47604 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
47605 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
47606 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
47607 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
47608 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
47609 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
47610 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
47611 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
47612 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
47613 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
47614 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
47615 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
47616 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
47617 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
47618 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
47619 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
47620 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
47621 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
47622 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
47623 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
47624 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
47625 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
47626 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
47627 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
47628 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
47629 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
47630 Remove conditional code.
47631 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
47632 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
47633 Remove conditional code.
47634 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
47635 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
47636 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
47637 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
47638 Remove conditional code.
47639 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
47640 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
47641 Remove conditional code.
47642 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
47643 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
47644 Remove conditional code.
47645 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
47646 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
47647 Remove conditional code.
47648 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
47649 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
47650 Remove conditional code.
47651 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
47652 * sysdeps/unix/sysv/linux/sh/pwrite64.c
47653 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
47654 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
47655 * sysdeps/unix/sysv/linux/sigaction.c
47656 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
47657 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
47658 * sysdeps/unix/sysv/linux/sigpending.c
47659 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
47660 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
47661 * sysdeps/unix/sysv/linux/sigprocmask.c
47662 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
47663 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
47664 * sysdeps/unix/sysv/linux/sigsuspend.c
47665 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
47666 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
47667 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
47668 (__libc_missing_rt_sigs): Remove.
47669 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
47670 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
47671 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
47672 Remove conditional code.
47673 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
47674 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
47676 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
47677 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
47678 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
47679 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
47681 2012-05-14 Andreas Jaeger <aj@suse.de>
47683 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
47684 it's not used in glibc.
47685 (__coshm1): Likewise.
47686 (__acosh1p): Likewise.
47689 * manual/string.texi (Copying and Concatenation): Add missing
47690 variable in concat example.
47691 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
47693 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
47696 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
47697 __builtin_clzl with __builtin_clzll.
47699 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
47702 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
47705 2012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
47707 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
47708 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
47709 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
47710 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
47712 2012-05-14 Mike Frysinger <vapier@gentoo.org>
47714 * NEWS: Update ia64 info.
47716 2012-05-12 Andreas Schwab <schwab@linux-m68k.org>
47718 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
47721 2012-05-12 Thomas Schwinge <thomas@codesourcery.com>
47723 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
47724 * sysdeps/unix/syscalls.list (dup3): Likewise.
47725 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
47726 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
47728 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
47730 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
47731 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
47733 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
47735 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
47737 (TLS_IE): Use mov/add instead of movq/addq to load thread
47739 (TLS_GD_PREFIX): New.
47742 2012-05-11 David S. Miller <davem@davemloft.net>
47744 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
47745 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
47746 (_FPU_SETCW): Likewise.
47748 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
47750 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
47751 is 32-byte aligned.
47753 2012-05-11 Andreas Schwab <schwab@linux-m68k.org>
47756 * iconvdata/gb18030.c: Update tables.
47757 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
47758 characters specially.
47759 (BODY for TO_LOOP): Add encoding of missing ranges.
47761 2012-05-11 Thomas Schwinge <thomas@codesourcery.com>
47764 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
47765 * sysdeps/mach/hurd/dup3.c: Likewise.
47766 * sysdeps/mach/hurd/readlinkat.c: Likewise.
47767 * sysdeps/powerpc/memmove.c:: Likewise.
47769 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
47771 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
47772 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
47774 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
47776 * elf/elf.h (R_X86_64_RELATIVE64): New.
47777 (R_X86_64_NUM): Updated.
47778 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
47779 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
47780 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
47781 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
47782 tst-quad1pie tst-quad2pie
47783 (modules-names): Add tst-quadmod1 tst-quadmod2.
47784 ($(objpfx)tst-quad1): New dependency.
47785 ($(objpfx)tst-quad2): Likewise.
47786 ($(objpfx)tst-quad1pie): Likewise.
47787 ($(objpfx)tst-quad2pie): Likewise.
47788 * sysdeps/x86_64/tst-quad1.c: New file.
47789 * sysdeps/x86_64/tst-quad1pie.c: New file.
47790 * sysdeps/x86_64/tst-quad2.c: Likewise.
47791 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
47792 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
47793 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
47794 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
47795 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
47797 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
47799 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
47800 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
47801 * streams/stropts.h (t_scalar_t): Define type.
47803 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
47804 (_PATH_PRESERVE): Set to "/var/lib".
47805 (_PATH_RWHODIR): Set to "/var/spool/rwho".
47807 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
47810 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
47811 if __dir_mkfile succeeded.
47813 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
47814 checking for _hurd_dtablesize. Unlock it right after having
47815 finished _hurd_dtable allocation.
47817 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
47819 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
47820 * sysdeps/mach/hurd/configure: Regenerated.
47821 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
47822 special-casing to...
47823 * sysdeps/gnu/configure.in: ... this new file.
47824 * sysdeps/unix/sysv/linux/configure: Regenerated.
47825 * sysdeps/gnu/configure: New generated file.
47827 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
47828 for Linux: use nsec instead of usec, as well as:
47829 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
47830 members of type struct timespec.
47831 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
47833 (struct stat64): Likewise.
47834 (_STATBUF_ST_NSEC): New macro.
47835 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
47837 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
47838 __strtoul_internal rather than strtoul.
47840 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
47842 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
47845 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
47847 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
47848 which preserves existing values.
47849 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
47851 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
47853 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
47854 TIMEOUT values. Return EINVAL for NFDS values either negative or
47855 greater than FD_SETSIZE.
47857 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
47859 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
47860 allocated, call __vm_protect to finish enabling the existing space, and
47861 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
47862 allocate the remainder.
47864 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
47866 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
47867 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
47869 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
47871 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
47872 sysdeps/mach/hurd/readlink.c.
47874 * posix/tst-sysconf.c (posix_options): Only use
47875 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
47876 _POSIX_SYNCHRONIZED_IO when they are defined
47877 * sysdeps/mach/hurd/bits/posix_opt.h:
47878 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
47879 (_XOPEN_REALTIME): Undefine macro.
47880 (_XOPEN_REALTIME_THREADS): Undefine macro.
47881 (_XOPEN_SHM): Undefine macro.
47882 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
47884 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
47886 (_POSIX_ASYNC_IO): Undefine macro.
47887 (_POSIX_PRIORITIZED_IO): Undefine macro.
47888 (_POSIX_SPIN_LOCKS): Define macro to -1.
47890 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
47891 SA_NODEFER, SA_RESETHAND.
47892 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
47893 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
47896 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
47898 * elf/Makefile (pldd-modules): Define unconditionally.
47900 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
47902 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
47904 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
47906 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
47907 Return ENOENT when name is empty.
47908 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
47910 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
47912 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
47914 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
47916 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
47918 Fix mlock in all cases except non-readable pages.
47919 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
47920 instead of VM_PROT_ALL as parameter to __vm_wire function.
47922 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
47923 (__mkdir): When path is `/', just fail with EEXIST.
47924 * sysdeps/mach/hurd/mkdirat.c: Likewise.
47926 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
47928 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
47929 <sys/uio.h> (for writev).
47930 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
47931 and <sys/param.h> (for MIN).
47933 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
47935 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
47936 REQUESTED_TIME. Properly set the remaining time and return EINTR
47939 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
47941 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
47942 Depend on against $(link-rpcuserlibs).
47944 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
47946 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
47947 (__libc_stack_end): Do not use attribute_relro.
47948 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
47949 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
47950 to libthread-provided value.
47951 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
47954 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
47957 * bits/libc-lock.h (__libc_once_get): New macro.
47958 * sysdeps/mach/bits/libc-lock.h: Likewise.
47959 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
47960 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
47961 instead of using implementation details.
47963 * libio/fileops.c: Unconditionally include <kernel-features.h>.
47964 * libio/freopen.c: Likewise.
47965 * libio/freopen64.c: Likewise.
47966 * misc/syslog.c: Likewise.
47967 * nscd/connections.c: Likewise.
47968 * nscd/netgroupcache.c: Likewise.
47969 * sysdeps/posix/getcwd.c: Likewise.
47971 2012-05-10 Roland McGrath <roland@hack.frob.com>
47973 * math/w_ilogbf.c: Add #include <limits.h>.
47975 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
47977 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
47978 path instead of returning without unlocking.
47980 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
47981 immediate-write ioctls.
47982 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
47984 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
47986 * sysdeps/mach/hurd/i386/init-first.c (init): Use
47987 __builtin_frame_address instead of making assumptions about the
47988 location of the return address relative to DATA. Force early load of
47989 the return address.
47990 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
47991 __builtin_frame_address.
47994 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
47995 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
47996 implement dup3 and do some further code clean-ups.
47997 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
47998 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
48000 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
48002 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
48004 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
48005 HURD_CRITICAL_END around holding _hurd_dtable_lock.
48006 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
48007 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
48008 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
48011 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
48012 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
48013 when handler == SIG_ERR, not when handler != SIG_ERR.
48015 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
48017 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
48018 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
48021 accept4 for GNU Hurd.
48022 * include/sys/socket.h (__libc_accept4): New prototype.
48023 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
48024 to implement __libc_accept4.
48025 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
48027 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
48029 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
48030 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
48031 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
48032 signal-defines.sym.
48034 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
48036 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
48038 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
48040 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
48041 assertion on O_CLOEXEC flag.
48042 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
48043 * hurd/intern-fd.c: Likewise.
48044 * hurd/port2fd.c: Likewise.
48046 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
48049 * bits/in.h (IPV6_PKTINFO): Define new macro.
48050 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
48052 2012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
48057 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
48058 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
48059 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
48060 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
48061 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
48062 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
48063 * math/libm-test.inc (logb_test) : Additional logb tests.
48065 2012-05-09 Andreas Schwab <schwab@linux-m68k.org>
48066 Andreas Jaeger <aj@suse.de>
48068 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
48069 * configure: Regenerated.
48070 * config.h.in (LINK_OBSOLETE_RPC): New macro.
48071 * config.make.in (link-obsolete-rpc): New substituted variable.
48072 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
48073 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
48074 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
48075 (shared-only-routines): Don't set it under [link-obsolete-rpc],
48076 so that libc.a contains the symbols.
48077 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
48078 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
48079 * sunrpc/auth_none.c: Likewise.
48080 * sunrpc/auth_unix.c: Likewise.
48081 * sunrpc/authdes_prot.c: Likewise.
48082 * sunrpc/authuxprot.c: Likewise.
48083 * sunrpc/clnt_gen.c: Likewise.
48084 * sunrpc/clnt_perr.c: Likewise.
48085 * sunrpc/clnt_raw.c: Likewise.
48086 * sunrpc/clnt_simp.c: Likewise.
48087 * sunrpc/clnt_tcp.c: Likewise.
48088 * sunrpc/clnt_udp.c: Likewise.
48089 * sunrpc/clnt_unix.c: Likewise.
48090 * sunrpc/des_crypt.c: Likewise.
48091 * sunrpc/des_soft.c: Likewise.
48092 * sunrpc/get_myaddr.c: Likewise.
48093 * sunrpc/key_call.c: Likewise.
48094 * sunrpc/key_prot.c: Likewise.
48095 * sunrpc/netname.c: Likewise.
48096 * sunrpc/pm_getmaps.c: Likewise.
48097 * sunrpc/pm_getport.c: Likewise.
48098 * sunrpc/pmap_clnt.c: Likewise.
48099 * sunrpc/pmap_prot.c: Likewise.
48100 * sunrpc/pmap_prot2.c: Likewise.
48101 * sunrpc/pmap_rmt.c: Likewise.
48102 * sunrpc/publickey.c: Likewise.
48103 * sunrpc/rpc_cmsg.c: Likewise.
48104 * sunrpc/rpc_common.c: Likewise.
48105 * sunrpc/rpc_dtable.c: Likewise.
48106 * sunrpc/rpc_prot.c: Likewise.
48107 * sunrpc/rpc_thread.c: Likewise.
48108 * sunrpc/rtime.c: Likewise.
48109 * sunrpc/svc.c: Likewise.
48110 * sunrpc/svc_auth.c: Likewise.
48111 * sunrpc/svc_raw.c: Likewise.
48112 * sunrpc/svc_run.c: Likewise.
48113 * sunrpc/svc_tcp.c: Likewise.
48114 * sunrpc/svc_udp.c: Likewise.
48115 * sunrpc/svc_unix.c: Likewise.
48116 * sunrpc/svcauth_des.c: Likewise.
48117 * sunrpc/xcrypt.c: Likewise.
48118 * sunrpc/xdr.c: Likewise.
48119 * sunrpc/xdr_array.c: Likewise.
48120 * sunrpc/xdr_float.c: Likewise.
48121 * sunrpc/xdr_intXX_t.c: Likewise.
48122 * sunrpc/xdr_mem.c: Likewise.
48123 * sunrpc/xdr_rec.c: Likewise.
48124 * sunrpc/xdr_ref.c: Likewise.
48125 * sunrpc/xdr_sizeof.c: Likewise.
48126 * sunrpc/xdr_stdio.c: Likewise.
48128 2012-05-10 Roland McGrath <roland@hack.frob.com>
48130 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
48131 change. Update copyright years.
48133 2012-05-10 Joseph Myers <joseph@codesourcery.com>
48135 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
48137 2012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
48138 Joseph Myers <joseph@codesourcery.com>
48139 Paul Pluzhnikov <ppluzhnikov@google.com>
48142 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
48144 [cross-compiling] (extra-libs): Likewise.
48145 [cross-compiling] (extra-libs-others): Likewise.
48146 [cross-compiling] (librpcsvc-routines): Likewise.
48147 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
48148 [cross-compiling] (omit-deps): Likewise.
48149 (sunrpc-CPPFLAGS): New variable.
48150 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
48151 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
48152 (cross-rpcgen-objs): New variable.
48153 (extra-objs): Append $(cross-rpcgen-objs).
48154 ($(cross-rpcgen-objs)): New rule.
48155 ($(objpfx)cross-rpcgen): Likewise.
48156 (rpcgen-cmd): Define to use $(built-program-file). Expand
48158 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
48159 ($(objpfx)x%.stmp): Likewise.
48160 * sunrpc/proto.h [IS_IN_build] (_): Define.
48161 [IS_IN_build] (_libc_intl_domainname): Likewise.
48163 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
48165 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
48166 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
48167 and R_X86_64_TPOFF64.
48169 2012-05-10 Joseph Myers <joseph@codesourcery.com>
48171 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
48172 sysdeps/unix/sysv/syscalls.list.
48175 * sysdeps/unix/sysv/syscalls.list: Remove file.
48177 2012-05-10 Paul Eggert <eggert@cs.ucla.edu>
48180 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
48181 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
48182 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
48183 (__LC_IDENTIFICATION): Make these macros useful in #if
48184 expressions, as required by C99.
48186 2012-05-10 Andreas Schwab <schwab@linux-m68k.org>
48188 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
48189 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
48192 2012-05-09 H.J. Lu <hongjiu.lu@intel.com>
48194 * stdlib/longlong.h: Updated from GCC.
48196 2012-05-09 Andreas Jaeger <aj@suse.de>
48198 * nscd/nscd.c (run_modes): Make named enum, reorder so that
48199 default is first entry.
48200 (run_mode): Set type.
48201 (main): Remove informal message about syslog.
48202 (options): Fix typo.
48205 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
48208 (llrintf): Likewise.
48209 (llrint): Likewise.
48212 (nearbyint): Likewise.
48213 (nearbyintf): Likewise.
48215 2012-05-09 Andreas Jaeger <aj@suse.de>
48216 Pedro Alves <palves@redhat.com>
48218 * nscd/nscd.c (run_mode): Use enum.
48219 (main): Cleanup coding style issue.
48221 2012-05-09 Alexandre Oliva <aoliva@redhat.com>
48222 Andreas Jaeger <aj@suse.de>
48224 * nscd/nscd.c (go_background): Replaced with...
48225 (run_mode): ... this.
48226 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
48227 (options): Add -F --foreground.
48228 (main): Implement it.
48229 (parse_opt): Parse it.
48231 2012-05-09 Andreas Jaeger <aj@suse.de>
48234 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
48235 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
48236 -Wconversion warning.
48237 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
48240 2012-05-09 Joseph Myers <joseph@codesourcery.com>
48242 * conform/data/locale.h-data (NULL): Use macro-constant. Require
48244 (LC_ALL): Use macro-int-constant.
48245 (LC_COLLATE): Likewise.
48246 (LC_CTYPE): Likewise.
48247 (LC_MESSAGES): Likewise.
48248 (LC_MONETARY): Likewise.
48249 (LC_NUMERIC): Likewise.
48250 (LC_TIME): Likewise.
48251 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
48252 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
48253 [ISO || ISO99 || ISO11] (*_t): Do not allow.
48254 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
48256 [C99-based standards] (float_t): Expect type.
48257 [C99-based standards] (double_t): Expect type.
48258 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
48260 [C99-based standards] (HUGE_VALL): Likewise.
48261 [C99-based standards] (INFINITY): Likewise.
48262 [C99-based standards] (NAN): Likewise.
48263 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
48264 [C99-based standards] (FP_NAN): Likewise.
48265 [C99-based standards] (FP_NORMAL): Likewise.
48266 [C99-based standards] (FP_SUBNORMAL): Likewise.
48267 [C99-based standards] (FP_ZERO): Likewise.
48268 [C99-based standards] (FP_FAST_FMA): Use
48269 optional-macro-int-constant. Specify type. Require == 1.
48270 [C99-based standards] (FP_FAST_FMAF): Likewise.
48271 [C99-based standards] (FP_FAST_FMAL): Likewise.
48272 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
48273 [C99-based standards] (FP_ILOGBNAN): Likewise.
48274 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
48276 [C99-based standards] (MATH_ERREXCEPT): Likewise.
48277 [C99-based standards] (math_errhandling): Specify type.
48278 [ISO99 || ISO11] (signgam): Do not allow.
48279 [non-C99-based standards] (copysignf): Do not allow.
48280 [non-C99-based standards] (exp2f): Likewise.
48281 [non-C99-based standards] (log2f): Likewise.
48282 [non-C99-based standards] (modff): Allow.
48283 [non-C99-based standards] (erff): Do not allow.
48284 [non-C99-based standards] (erfcf): Likewise.
48285 [non-C99-based standards] (gammaf): Likewise.
48286 [non-C99-based standards] (hypotf): Likewise.
48287 [non-C99-based standards] (j0f): Likewise.
48288 [non-C99-based standards] (j1f): Likewise.
48289 [non-C99-based standards] (jnf): Likewise.
48290 [non-C99-based standards] (lgammaf): Likewise.
48291 [non-C99-based standards] (tgammaf): Likewise.
48292 [non-C99-based standards] (y0f): Likewise.
48293 [non-C99-based standards] (y1f): Likewise.
48294 [non-C99-based standards] (ynf): Likewise.
48295 [non-C99-based standards] (isnanf): Likewise.
48296 [non-C99-based standards] (acoshf): Likewise.
48297 [non-C99-based standards] (asinhf): Likewise.
48298 [non-C99-based standards] (atanhf): Likewise.
48299 [non-C99-based standards] (cbrtf): Likewise.
48300 [non-C99-based standards] (expm1f): Likewise.
48301 [non-C99-based standards] (ilogbf): Likewise.
48302 [non-C99-based standards] (log1pf): Likewise.
48303 [non-C99-based standards] (logbf): Likewise.
48304 [non-C99-based standards] (nextafterf): Likewise.
48305 [non-C99-based standards] (remainderf): Likewise.
48306 [non-C99-based standards] (rintf): Likewise.
48307 [non-C99-based standards] (scalbf): Likewise.
48308 [non-C99-based standards] (copysignl): Likewise.
48309 [non-C99-based standards] (exp2l): Likewise.
48310 [non-C99-based standards] (log2l): Likewise.
48311 [non-C99-based standards] (modfl): Allow.
48312 [non-C99-based standards] (erfl): Do not allow.
48313 [non-C99-based standards] (erfcl): Likewise.
48314 [non-C99-based standards] (gammal): Likewise.
48315 [non-C99-based standards] (hypotl): Likewise.
48316 [non-C99-based standards] (j0l): Likewise.
48317 [non-C99-based standards] (j1l): Likewise.
48318 [non-C99-based standards] (jnl): Likewise.
48319 [non-C99-based standards] (lgammal): Likewise.
48320 [non-C99-based standards] (tgammal): Likewise.
48321 [non-C99-based standards] (y0l): Likewise.
48322 [non-C99-based standards] (y1l): Likewise.
48323 [non-C99-based standards] (ynl): Likewise.
48324 [non-C99-based standards] (isnanl): Likewise.
48325 [non-C99-based standards] (acoshl): Likewise.
48326 [non-C99-based standards] (asinhl): Likewise.
48327 [non-C99-based standards] (atanhl): Likewise.
48328 [non-C99-based standards] (cbrtl): Likewise.
48329 [non-C99-based standards] (expm1l): Likewise.
48330 [non-C99-based standards] (ilogbl): Likewise.
48331 [non-C99-based standards] (log1pl): Likewise.
48332 [non-C99-based standards] (logbl): Likewise.
48333 [non-C99-based standards] (nextafterl): Likewise.
48334 [non-C99-based standards] (remainderl): Likewise.
48335 [non-C99-based standards] (rintl): Likewise.
48336 [non-C99-based standards] (scalbl): Likewise.
48337 [ISO || ISO99 || ISO11] (*_t): Do not allow.
48338 [non-C99-based standards] (FP_*): Do not allow.
48339 [C99-based standards] (FP_*): Change to
48340 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
48341 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
48343 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
48344 (SIG_ERR): Likewise.
48345 [X/Open-based standards] (SIG_HOLD): Likewise.
48346 (SIG_IGN): Likewise.
48347 (SIGABRT): Use macro-int-constant. Specify type. Require
48349 (SIGFPE): Likewise.
48350 (SIGILL): Likewise.
48351 (SIGINT): Likewise.
48352 (SIGSEGV): Likewise.
48353 (SIGTER): Likewise.
48354 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
48355 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
48356 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
48357 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
48358 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
48359 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
48360 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
48361 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
48362 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
48363 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
48364 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
48365 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
48366 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
48367 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
48368 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
48369 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
48370 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
48371 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
48372 [X/Open-based standards] (SIGTRAP): Likewise.
48373 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
48374 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
48375 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
48376 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
48377 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
48380 2012-05-08 Ian Wienand <ianw@vmware.com>
48383 * time/tzset.c (__tzset_parse_tz): Update default rules for
48384 daylight time changes in the Energy Policy Act of 2005.
48386 2012-05-09 Andreas Jaeger <aj@suse.de>
48389 * elf/ldconfig.c (parse_conf): Change string to make clear that
48390 ldconfig only issued a warning if ld.so.conf does not exist.
48392 2012-05-08 David S. Miller <davem@davemloft.net>
48394 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
48395 movxtod instead of popping the value on the stack.
48397 * sysdeps/sparc/fpu/libm-test-ulps: Update.
48399 2012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
48401 * config.h.in: Add HAVE_ARM_PCS_VFP.
48403 2012-05-08 Roland Mc Grath <roland@hack.frob.com>
48406 * include/features.h: Warn if user requests __FORTIFY_SOURCE
48407 checking but the checks are disabled for any reason.
48409 2012-05-08 H.J. Lu <hongjiu.lu@intel.com>
48411 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
48412 and ELF64_R_TYPE with ELFW(R_TYPE).
48414 2012-05-08 Joseph Myers <joseph@codesourcery.com>
48416 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
48417 (ulimit): Likewise.
48419 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
48420 (settimeofday): Likewise.
48422 2012-05-08 Mike Frysinger <vapier@gentoo.org>
48424 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
48425 a struct th_u2 inside the union, and move tu_block/tu_code into
48426 a new th_u3 union of tu_block/tu_code inside of that. Move
48427 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
48428 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
48429 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
48430 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
48431 (th_stuff): Change to th_u1.tu_stuff.
48433 (th_msg): Change to th_u1.th_u2.tu_data.
48435 2012-05-07 David S. Miller <davem@davemloft.net>
48437 * sysdeps/sparc/fpu/libm-test-ulps: Update.
48440 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
48441 (SETUP_PIC_REG): Use it.
48442 (SETUP_PIC_REG_LEAF): Use it.
48444 2012-05-07 Joseph Myers <joseph@codesourcery.com>
48448 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
48450 (EXPL_FINITE): Likewise.
48451 (FLDLOG): Likewise.
48452 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
48453 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
48455 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
48457 (EXPL_FINITE): Likewise.
48458 (FLDLOG): Likewise.
48459 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
48460 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
48462 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
48463 test of -max_value argument for long double.
48464 * sysdeps/i386/fpu/libm-test-ulps: Update.
48465 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48467 2012-05-06 David S. Miller <davem@davemloft.net>
48469 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
48470 quad soft-float symbols whose references which are compiler
48472 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
48474 2012-05-06 Joseph Myers <joseph@codesourcery.com>
48478 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
48480 (EXPL_FINITE): Likewise.
48481 (FLDLOG): Likewise.
48484 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
48485 Adjust comments for base varying.
48486 (__expl_finite): Change alias to EXPL_FINITE.
48487 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
48489 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
48490 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
48491 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
48492 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
48493 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
48495 (EXPL_FINITE): Likewise.
48496 (FLDLOG): Likewise.
48499 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
48500 Adjust comments for base varying.
48501 (__expl_finite): Change alias to EXPL_FINITE.
48502 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
48504 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
48507 * math/libm-test.inc (check_float_internal): Correct ulp
48508 calculation for subnormal expected results.
48510 2012-05-06 Andreas Jaeger <aj@suse.de>
48512 * Makeconfig (+math-flags): New, set to -frounding-math.
48513 (+cflags): Add +math-flags so that all of glibc gets compiled with
48516 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
48518 2012-05-05 Joseph Myers <joseph@codesourcery.com>
48520 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
48526 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
48527 (__ieee754_expl): Allow for and saturate large arguments.
48528 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
48529 (u_threshold): Likewise.
48530 (__exp): Call __ieee754_exp before checking for overflow and
48532 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
48533 (u_threshold): Likewise.
48534 (__expf): Call __ieee754_expf before checking for overflow and
48536 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
48537 (u_threshold): Likewise.
48538 (__expl): Call __ieee754_expl before checking for overflow and
48540 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
48541 (__ieee754_expl): Allow for and saturate large arguments.
48542 * math/libm-test.inc (exp_test): Add another test. Do not allow
48543 missing overflow exception on overflow.
48544 (expm1_test): Do not allow missing overflow exception on overflow.
48546 * sysdeps/i386/fpu/e_expl.c: Move to ...
48547 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
48548 rather than using inline asm.
48549 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
48550 * sysdeps/x86_64/fpu/e_expl.S: Copy from
48551 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
48553 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
48556 (signal): Likewise.
48560 2012-05-04 Joseph Myers <joseph@codesourcery.com>
48562 * sysdeps/unix/syscalls.list (adjtime): Add entry from
48563 sysdeps/unix/common/syscalls.list.
48564 (fchmod): Likewise.
48565 (fchown): Likewise.
48566 (ftruncate): Likewise.
48567 (getrusage): Likewise.
48568 (gettimeofday): Likewise.
48569 (setpgid): Likewise.
48570 (setregid): Likewise.
48571 (setreuid): Likewise.
48572 (sigaction): Likewise.
48573 (truncate): Likewise.
48574 (vhangup): Likewise.
48575 * sysdeps/unix/common/syscalls.list: Remove file.
48576 * sysdeps/unix/bsd/Implies: Don't include unix/common.
48577 * sysdeps/unix/sysv/linux/Implies: Likewise.
48579 2012-05-04 H.J. Lu <hongjiu.lu@intel.com>
48581 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
48582 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
48583 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
48585 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
48587 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
48589 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
48590 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
48592 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
48593 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
48595 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
48596 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
48598 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
48599 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
48601 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
48602 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
48604 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
48605 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
48607 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
48609 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
48611 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
48613 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
48615 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
48616 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
48618 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
48620 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
48622 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
48624 2012-05-04 Joseph Myers <joseph@codesourcery.com>
48626 * sysdeps/unix/common/bits/dirent.h: Remove file.
48627 * sysdeps/unix/common/bits/fcntl.h: Likewise.
48629 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
48630 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
48631 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
48632 * sysdeps/unix/bsd/isatty.c: Likewise.
48633 * sysdeps/unix/bsd/tcdrain.c: Likewise.
48634 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
48635 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
48637 2012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
48640 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
48641 long double comparison inaccuracies.
48642 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
48643 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
48645 2012-05-04 Andreas Schwab <schwab@linux-m68k.org>
48647 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
48648 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
48650 2012-05-04 Joseph Myers <joseph@codesourcery.com>
48653 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
48654 nonzero digits before rounding a hex value.
48655 * stdlib/tst-strtod.c (tests): Add another test.
48657 2012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
48659 * sysdeps/s390/fpu/libm-test-ulps: Update.
48661 2012-05-03 Andreas Jaeger <aj@suse.de>
48663 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
48664 does not get optimized out.
48665 (malloc_opt_barrier): New.
48667 2012-05-03 Andreas Jaeger <aj@suse.de>
48668 Roland McGrath <roland@hack.frob.com>
48670 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
48671 intermediate file deletion.
48672 (generated): Add .symlist files.
48674 2012-05-03 Joseph Myers <joseph@codesourcery.com>
48677 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
48678 Redirect under this condition.
48679 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
48680 [__USE_GNU] (__dprintf_chk): Not under this condition.
48681 [__USE_GNU] (__vdprintf_chk): Likewise.
48682 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
48683 under this condition.
48684 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
48685 [__USE_XOPEN2K8] (dprintf): Define under this condition.
48686 [__USE_XOPEN2K8] (vdprintf): Likewise.
48687 [__USE_GNU] (__dprintf_chk): Not under this condition.
48688 [__USE_GNU] (__vdprintf_chk): Likewise.
48689 [__USE_GNU] (dprintf): Likewise.
48690 [__USE_GNU] (vdprintf): Likewise.
48692 2012-05-03 Roland McGrath <roland@hack.frob.com>
48694 * elf/Makefile (common-generated): Set this instead of generated for
48695 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
48696 $(all-built-dso)-derived lists.
48698 2012-05-03 Andreas Jaeger <aj@suse.de>
48700 * sysdeps/i386/fpu/libm-test-ulps: Update.
48703 * FAQ.in: Likewise.
48704 * scripts/gen-FAQ.pl: Likewise.
48705 * manual/install.texi (Installation): Point to online location of
48707 * Makefile (files-for-dist): Remove FAQ.
48710 2012-05-02 Allan McRae <allan@archlinux.org>
48712 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
48713 (LDFLAGS-reldepmod5.so): Likewise.
48714 (LDFLAGS-reldep6mod1.so): Likewise.
48715 (LDFLAGS-reldep6mod4.so): Likewise.
48716 (LDFLAGS-reldep8mod3.so): Likewise.
48717 (LDFLAGS-unload4mod1.so): Likewise.
48718 (LDFLAGS-unload4mod2.so): Likewise.
48719 (LDFLAGS-tst-initorder): Likewise.
48720 (LDFLAGS-tst-initordera2.so): Likewise.
48721 (LDFLAGS-tst-initordera3.so): Likewise.
48722 (LDFLAGS-tst-initordera4.so): Likewise.
48723 (LDFLAGS-tst-initorderb2.so): Likewise.
48724 (LDFLAGS-noload): Likewise.
48725 (LDFLAGS-next): Likewise.
48726 (LDFLAGS-order2mod1.so): Likewise.
48727 (LDFLAGS-order2mod2.so): Likewise.
48728 (LDFLAGS-tst-initorder2): Likewise.
48729 (LDFLAGS-tst-initorder2a.so): Likewise.
48730 (LDFLAGS-tst-initorder2b.so): Likewise.
48731 (LDFLAGS-tst-initorder2c.so): Likewise.
48732 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
48734 2012-05-02 David S. Miller <davem@davemloft.net>
48736 * sysdeps/sparc/fpu/libm-test-ulps: Update.
48738 2012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
48741 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
48743 2012-05-02 Andreas Jaeger <aj@suse.de>
48745 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
48746 since we manipulate rounding mode.
48747 (CPPFLAGS-test-idouble.c): Likewise.
48748 (CPPFLAGS-test-ifloat.c): Likewise.
48749 (CFLAGS-test-ldouble.c): Likewise.
48750 (CFLAGS-test-double.c): Likewise.
48751 (CFLAGS-test-float.c): Likewise.
48752 (CFLAGS-test-misc.c): Likewise.
48753 (CFLAGS-test-test-fenv.c): Likewise.
48755 2012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
48759 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
48760 comparisons to determine direction to adjust input.
48762 2012-05-01 Roland McGrath <roland@hack.frob.com>
48764 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
48765 output to the target.
48767 * scripts/localplt.awk: New file.
48768 * elf/Makefile ($(objpfx)check-localplt): Target removed.
48769 (check-localplt-CFLAGS): Variable removed.
48770 ($(all-built-dso:=.jmprel)): New static pattern rule.
48771 (generated): Add those targets.
48772 (localplt-built-dso): New variable.
48773 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
48775 * elf/check-localplt.c: File removed.
48777 * scripts/check-execstack.awk: New file.
48778 * elf/Makefile ($(objpfx)check-execstack): Target removed.
48779 (check-execstack-CFLAGS): Variable removed.
48780 ($(objpfx)check-execstack.h): Target removed.
48781 ($(objpfx)execstack-default): New target.
48782 (generated): Add that instead of check-execstack.h.
48783 ($(all-built-dso:=.phdr)): New static pattern rule.
48784 (generated): Add those targets.
48785 * elf/check-execstack.c: File removed.
48787 * scripts/check-textrel.awk: New file.
48788 * elf/Makefile ($(objpfx)check-textrel): Target removed.
48789 (check-textrel-CFLAGS): Variable removed.
48790 (all-built-dso): Use := to define.o
48791 ($(all-built-dso:=.dyn)): New static pattern rule.
48792 (generated): Add those targets.
48793 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
48794 * config.make.in (READELF): New substituted variable.
48795 * elf/check-textrel.c: File removed.
48797 2012-05-01 Joseph Myers <joseph@codesourcery.com>
48799 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
48801 * conform/data/ctype.h-data [C99-based standards] (isblank):
48803 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
48804 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
48805 [ISO || ISO99 || ISO11] (*_t): Do not allow.
48806 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
48807 Specify type. Require positive value.
48808 (EILSEQ): Likewise.
48809 (ERANGE): Likewise.
48810 [ISO || POSIX] (EILSEQ): Do not expect.
48811 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
48812 Specify type. Require positive value.
48813 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
48814 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
48815 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
48816 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
48817 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
48818 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
48819 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
48820 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
48821 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
48822 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
48823 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
48824 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
48825 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
48826 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
48827 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
48828 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
48829 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
48830 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
48831 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
48832 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
48833 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
48834 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
48835 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
48836 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
48837 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
48838 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
48839 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
48840 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
48841 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
48842 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
48843 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
48844 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
48845 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
48846 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
48847 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
48848 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
48849 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
48850 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
48851 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
48852 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
48853 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
48854 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
48855 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
48856 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
48857 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
48858 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
48859 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
48860 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
48861 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
48862 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
48863 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
48864 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
48865 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
48866 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
48867 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
48868 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
48869 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
48870 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
48871 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
48872 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
48873 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
48874 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
48875 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
48876 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
48877 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
48878 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
48879 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
48880 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
48881 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
48882 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
48883 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
48884 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
48885 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
48886 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
48887 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
48888 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
48889 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
48891 (FLT_ROUNDS): Expect as macro, not constant.
48892 (FLT_MANT_DIG): Use macro-int-constant.
48893 (DBL_MANT_DIG): Likewise.
48894 (LDBL_MANT_DIG): Likewise.
48895 (FLT_DIG): Likewise.
48896 (DBL_DIG): Likewise.
48897 (LDBL_DIG): Likewise.
48898 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
48899 (DBL_MIN_EXP): Likewise.
48900 (LDBL_MIN_EXP): Likewise.
48901 (FLT_MAX_EXP): Use macro-int-constant.
48902 (DBL_MAX_EXP): Likewise.
48903 (LDBL_MAX_EXP): Likewise.
48904 (FLT_MAX_10_EXP): Likewise.
48905 (DBL_MAX_10_EXP): Likewise.
48906 (LDBL_MAX_10_EXP): Likewise.
48907 (FLT_MAX): Use macro-constant.
48908 (DBL_MAX): Likewise.
48909 (LDBL_MAX): Likewise.
48910 (FLT_EPSILON): Use macro-constant. Give upper bound.
48911 (DBL_EPSILON): Likewise.
48912 (LDBL_EPSILON): Likewise.
48913 (FLT_MIN): Likewise.
48914 (DBL_MIN): Likewise.
48915 (LDBL_MIN): Likewise.
48916 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
48917 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
48918 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
48919 [ISO11] (FLT_HAS_SUBNORM): Likewise.
48920 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
48921 [ISO11] (DBL_DECIMAL_DIG): Likewise.
48922 [ISO11] (FLT_DECIMAL_DIG): Likewise.
48923 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
48924 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
48925 [ISO11] (FLT_TRUE_MIN): Likewise.
48926 [ISO11] (LDBL_TRUE_MIN): Likewise.
48927 [ISO || ISO99 || ISO11] (*_t): Do not allow.
48928 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
48929 (SCHAR_MIN): Use macro-int-constant. Specify type.
48930 (SCHAR_MAX): Likewise.
48931 (UCHAR_MAX): Likewise.
48932 (CHAR_MIN): Likewise.
48933 (CHAR_MAX): Likewise.
48934 (MB_LEN_MAX): Use macro-int-constant.
48935 (SHRT_MIN): Use macro-int-constant. Specify type.
48936 (SHRT_MAX): Likewise.
48937 (USHRT_MAX): Likewise.
48938 (INT_MAX): Likewise.
48939 (INT_MIN): Use macro-int-constant. Specify type. Make upper
48941 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
48943 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
48945 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
48946 bound negative. Suffix upper bound with "L".
48947 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
48949 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
48951 [C99-based standards] (LLONG_MAX): Likewise.
48952 [C99-based standards] (ULLONG_MAX): Likewise.
48953 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
48955 [ISO11] (max_align_t): Require type.
48956 [ISO || ISO99 || ISO11] (*_t): Do not allow.
48958 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
48959 from $CFLAGS, without defining away __attribute__ calls.
48960 (checknamespace): Use $CFLAGS_namespace.
48962 * conform/conformtest.pl (@keywords): Only include C99 keywords
48963 for standards based on C99 or C11.
48965 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
48967 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
48970 * conform/conformtest.pl: Handle "macro-int-constant" and test for
48971 usability of symbols in #if.
48973 * conform/conformtest.pl: If macro or constant types start
48974 "promoted:", expect the symbol to be of the following type
48975 promoted by the integer promotions.
48977 * conform/conformtest.pl: Parse all "constant" and "macro" lines
48978 in one place. Also handle "macro-constant".
48980 * conform/conformtest.pl: Only accept expected macro values with
48981 "==". Parse all "macro" lines in one place.
48982 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
48984 * conform/conformtest.pl: Handle braced types on "constant" lines
48985 instead of handling "typed-constant".
48986 * conform/data/signal.h-data: Use "constant" instead of
48989 * conform/conformtest.pl: Handle "optional-" at start of lines in
48990 one place rather than duplicating several cases. Handle each
48991 format of "macro" line with initial "optional-".
48993 * conform/conformtest.pl: Only accept expected constant or
48994 optional-constant values with "==". Parse all "constant" lines in
48995 one place. Parse all "optional-constant" lines in one place.
48996 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
48997 * conform/data/fmtmsg.h-data: Likewise.
48998 * conform/data/netinet/in.h-data: Likewise.
48999 * conform/data/tar.h-data: Likewise.
49000 * conform/data/limits.h-data: Use "==" form on "constant" and
49001 "optional-constant" lines.
49003 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
49004 Use -std=c99 for XOPEN2K.
49005 (@knownproblems): Remove.
49006 (newtoken): Don't check %isknown.
49008 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
49009 Do not expect macro.
49010 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
49011 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
49012 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
49013 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
49014 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
49015 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
49016 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
49017 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
49018 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
49019 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
49020 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
49021 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
49022 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
49023 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
49024 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
49025 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
49026 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
49027 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
49028 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
49029 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
49030 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
49031 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
49032 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
49033 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
49034 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
49035 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
49036 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
49037 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
49038 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
49039 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
49040 [XPG3] (acosh): Likewise.
49041 [XPG3] (asinh): Likewise.
49042 [XPG3] (atanh): Likewise.
49043 [XPG3] (cbrt): Likewise.
49044 [XPG3] (expm1): Likewise.
49045 [XPG3] (ilogb): Likewise.
49046 [XPG3] (log1p): Likewise.
49047 [XPG3] (logb): Likewise.
49048 [XPG3] (nextafter): Likewise.
49049 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
49050 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
49051 [XPG3] (remainder): Likewise.
49052 [XPG3] (rint): Likewise.
49053 [XPG3 || XPG4 || UNIX98] (round): Likewise.
49054 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
49055 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
49056 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
49057 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
49058 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
49059 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
49060 [UNIX98 || XOPEN2K] (scalb): Expect.
49061 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
49062 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
49063 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
49064 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
49065 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
49066 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
49067 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
49068 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
49069 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
49070 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
49071 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
49072 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
49073 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
49074 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
49075 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
49076 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
49077 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
49078 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
49079 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
49080 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
49081 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
49082 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
49083 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
49084 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
49085 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
49086 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
49087 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
49088 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
49089 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
49090 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
49091 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
49092 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
49093 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
49094 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
49095 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
49096 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
49097 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
49098 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
49099 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
49100 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
49101 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
49102 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
49103 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
49104 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
49105 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
49106 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
49107 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
49108 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
49109 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
49110 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
49111 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
49112 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
49113 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
49114 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
49115 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
49116 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
49117 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
49118 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
49119 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
49120 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
49121 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
49122 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
49123 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
49124 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
49125 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
49126 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
49127 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
49128 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
49129 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
49130 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
49131 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
49132 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
49133 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
49134 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
49135 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
49136 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
49137 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
49138 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
49139 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
49140 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
49141 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
49142 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
49143 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
49144 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
49145 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
49146 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
49147 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
49148 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
49149 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
49150 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
49151 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
49152 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
49153 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
49154 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
49155 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
49156 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
49157 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
49158 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
49159 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
49160 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
49161 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
49162 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
49163 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
49164 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
49165 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
49166 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
49167 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
49168 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
49169 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
49170 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
49171 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
49172 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
49173 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
49174 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
49175 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
49176 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
49177 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
49178 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
49179 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
49180 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
49181 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
49182 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
49183 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
49184 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
49185 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
49186 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
49187 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
49188 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
49189 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
49190 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
49191 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
49192 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
49193 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
49194 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
49195 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
49196 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
49197 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
49199 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
49200 _XOPEN_SOURCE_EXTENDED for XPG4.
49202 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
49204 * Makeconfig (localtime): Remove variable.
49205 (inst_localtime-file): Likewise.
49207 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
49209 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
49211 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
49213 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
49215 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
49217 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
49219 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
49221 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
49223 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
49225 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
49228 2012-05-01 Joseph Myers <joseph@codesourcery.com>
49232 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
49233 comparisons to determine direction to adjust input.
49234 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
49235 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
49236 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
49238 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
49240 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
49242 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
49243 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
49245 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
49247 * math/libm-test.inc (nexttoward_test): Add more tests.
49249 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
49252 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
49253 in version GLIBC_2.1, not GLIBC_2.0.
49254 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
49257 2012-04-30 Joseph Myers <joseph@codesourcery.com>
49260 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
49262 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
49263 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
49264 * math/libm-test.inc (acos_test): Add more tests.
49265 (asin_test): Likewise.
49266 * sysdeps/i386/fpu/libm-test-ulps: Update.
49267 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49270 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
49272 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
49273 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
49274 * math/libm-test.inc (acos_test_tonearest): New function.
49275 (acos_test_towardzero): Likewise.
49276 (acos_test_downward): Likewise.
49277 (acos_test_upward): Likewise.
49278 (asin_test_tonearest): Likewise.
49279 (asin_test_towardzero): Likewise.
49280 (asin_test_downward): Likewise.
49281 (asin_test_upward): Likewise.
49282 (main): Call the new functions.
49283 * sysdeps/i386/fpu/libm-test-ulps: Update.
49284 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
49288 * math/e_exp10.c: Include <float.h>.
49289 (__ieee754_exp10): Handle underflow here rather than multiplying
49290 large negative argument by M_LN10.
49291 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
49293 * math/e_exp10l.c: Include <float.h>.
49294 (__ieee754_exp10l): Handle underflow here rather than multiplying
49295 large negative argument by M_LN10l.
49296 * math/libm-test.inc (exp10_test): Add another test. Do not allow
49297 spurious overflow exception on underflow.
49299 2012-04-29 Marek Polacek <polacek@redhat.com>
49301 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
49302 (__fortify_function): New macro.
49303 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
49304 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
49305 __extern_always_inline.
49306 * libio/bits/stdio2.h: Likewise.
49307 * libio/bits/stdio.h: Likewise.
49308 * string/string.h: Likewise.
49309 * string/bits/string3.h: Likewise.
49310 * include/stdio.h: Likewise.
49311 * stdlib/bits/stdlib.h: Likewise.
49312 * stdlib/stdlib.h: Likewise.
49313 * rt/bits/mqueue2.h: Likewise.
49314 * rt/mqueue.h: Likewise.
49315 * posix/bits/unistd.h: Likewise.
49316 * posix/unistd.h: Likewise.
49317 * io/bits/poll2.h: Likewise.
49318 * io/bits/fcntl2.h: Likewise.
49319 * io/fcntl.h: Likewise.
49320 * io/sys/poll.h: Likewise.
49321 * misc/bits/syslog.h: Likewise.
49322 * misc/bits/syslog-ldbl.h: Likewise.
49323 * misc/sys/syslog.h: Likewise.
49324 * socket/bits/socket2.h: Likewise.
49325 * socket/sys/socket.h: Likewise.
49326 * debug/tst-chk1.c: Likewise.
49327 * wcsmbs/bits/wchar2.h: Likewise.
49328 * wcsmbs/bits/wchar-ldbl.h: Likewise.
49329 * wcsmbs/wchar.h: Likewise.
49331 2012-04-29 Andreas Jaeger <aj@suse.de>
49333 * Makerules (tests): Remove enable-check-abi protection.
49334 (check-abi-warn): Remove.
49335 (check-abi-%): Remove check-abi-warn usage.
49337 * configure.in: Remove check-abi configure option.
49338 * configure: Regenerated.
49339 * config.make.in (enable-check-abi): Remove.
49341 2012-04-28 Andreas Schwab <schwab@linux-m68k.org>
49344 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
49345 double functions to double *_finite functions.
49348 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
49349 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
49351 * stdio-common/Makefile (tests): Add tst-sprintf3.
49352 * stdio-common/tst-sprintf3.c: New file.
49354 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
49355 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
49357 2012-04-28 Joseph Myers <joseph@codesourcery.com>
49359 * conform/conformtest.pl: Remove duplicate typed-constant
49362 2012-04-28 David S. Miller <davem@davemloft.net>
49364 * Makerules (%.abilist): Add vpath on sysdep_dirs.
49365 (check-abi-%): Remove AWK script prerequisite and explicit
49367 (check-abi): Rewrite to just diff the symlist with the abilist.
49368 (config-tls, config-abi-config): Delete, no longer used.
49369 (update-abi-%): Remove AWK script and explicit abilist directory.
49370 (update-abi): Rewrite to simply compare and conditionally copy the
49371 symlist and the sysdep abilist file. Remove update-abi-config
49373 * abilist/ld.abilist: Remove.
49374 * abilist/libBrokenLocale.abilist: Remove.
49375 * abilist/libanl.abilist: Remove.
49376 * abilist/libcrypt.abilist: Remove.
49377 * abilist/libdl.abilist: Remove.
49378 * abilist/librt.abilist: Remove.
49379 * abilist/libthread_db.abilist: Remove.
49380 * abilist/libutil.abilist: Remove.
49381 * scripts/extract-abilist.awk: Remove.
49382 * scripts/merge-abilist.awk: Remove.
49383 * sysdeps/generic/libcidn.abilist: New file.
49384 * sysdeps/generic/libnss_compat.abilist: New file.
49385 * sysdeps/generic/libnss_db.abilist: New file.
49386 * sysdeps/generic/libnss_dns.abilist: New file.
49387 * sysdeps/generic/libnss_files.abilist: New file.
49388 * sysdeps/generic/libnss_hesiod.abilist: New file.
49389 * sysdeps/generic/libnss_nis.abilist: New file.
49390 * sysdeps/generic/libnss_nisplus.abilist: New file.
49391 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
49392 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
49393 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
49395 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
49396 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
49397 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
49398 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
49399 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
49400 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
49401 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
49402 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
49403 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
49405 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
49406 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
49407 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
49408 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
49410 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
49411 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
49412 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
49413 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
49414 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
49415 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
49417 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
49418 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
49419 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
49421 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
49422 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
49424 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
49426 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
49428 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
49430 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
49432 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
49434 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
49436 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
49438 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
49440 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
49442 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
49444 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
49446 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
49448 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
49450 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
49452 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
49454 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
49456 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
49458 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
49460 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
49462 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
49464 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
49466 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
49468 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
49470 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
49472 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
49474 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
49475 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
49477 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
49479 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
49481 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
49483 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
49485 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
49487 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
49489 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
49491 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
49493 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
49495 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
49497 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
49499 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
49500 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
49502 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
49504 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
49506 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
49508 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
49510 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
49512 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
49514 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
49516 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
49518 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
49520 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
49522 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
49524 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
49525 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
49526 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
49528 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
49529 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
49530 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
49531 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
49532 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
49533 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
49534 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
49535 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
49536 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
49537 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
49538 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
49539 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
49541 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
49543 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
49545 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
49547 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
49549 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
49551 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
49553 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
49555 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
49557 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
49559 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
49561 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
49563 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
49564 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
49566 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
49568 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
49570 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
49572 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
49574 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
49576 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
49578 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
49580 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
49582 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
49584 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
49586 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
49589 2012-04-28 Joseph Myers <joseph@codesourcery.com>
49591 * conform/conformtest.pl: Fix typo in handling typed-constant from
49594 2012-04-27 Joseph Myers <joseph@codesourcery.com>
49596 * README: Cut down references to pre-2.6 Linux kernels and
49597 Linuxthreads. Update lists of configurations in libc and ports
49598 and sort alphabetically. Say "or newer" with Linux kernel version
49601 * config.h.in [IS_IN_build]: Allow compiling without optimization.
49603 2012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
49606 * math/libm-test.inc (logb_test_downward): New test to expose
49607 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
49610 2012-04-27 Joseph Myers <joseph@codesourcery.com>
49613 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
49615 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
49616 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
49618 2012-04-26 Joseph Myers <joseph@codesourcery.com>
49620 * sysdeps/unix/i386/brk.S: Remove file.
49621 * sysdeps/unix/i386/dl-brk.S: Likewise.
49622 * sysdeps/unix/i386/pipe.S: Likewise.
49623 * sysdeps/unix/i386/sigreturn.S: Likewise.
49624 * sysdeps/unix/i386/syscall.S: Likewise.
49625 * sysdeps/unix/i386/vfork.S: Likewise.
49626 * sysdeps/unix/i386/wait.S: Likewise.
49628 * sysdeps/unix/common/tcsendbrk.c: Move to ...
49629 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
49631 * configure.in (arm*-none*): Do not allow without
49632 --enable-hacker-mode.
49633 (netbsd*): Remove case setting base_os.
49634 (386bsd*): Likewise.
49635 (freebsd*): Likewise.
49638 (sunos*): Likewise.
49639 (ultrix*): Likewise.
49640 (newsos*): Likewise.
49641 (dynix*): Likewise.
49647 (minix*): Likewise.
49648 (irix4*): Likewise.
49649 (irix6*): Likewise.
49650 (solaris[2-9]*): Likewise.
49652 * configure: Regenerated.
49654 2012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
49657 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
49658 overflow or cancellation in calculating denominator.
49659 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
49660 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
49661 down expression to avoid unexpected rounding in newer GCCs.
49662 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
49664 2012-04-26 David S. Miller <davem@davemloft.net>
49666 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
49667 long-double compat symbols.
49668 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
49669 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
49670 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
49671 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
49672 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
49673 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
49674 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
49675 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
49676 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
49677 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
49678 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
49679 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
49680 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
49682 2012-04-25 David S. Miller <davem@davemloft.net>
49684 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
49685 HWCAP_* values only after the memory barriers have been defined.
49686 (atomic_full_barrier): Define.
49687 (atomic_read_barrier): Define.
49688 (atomic_write_barrier): Define.
49690 2012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
49692 * shlib-versions: Add libgcc_s version information.
49693 * sysdeps/generic/libgcc_s.h: Remove.
49694 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
49696 * sysdeps/gnu/unwind-resume.c: Likewise.
49697 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
49699 2012-04-25 David S. Miller <davem@davemloft.net>
49701 * sysdeps/unix/sparc/brk.S: Delete.
49702 * sysdeps/unix/sparc/dl-brk.S: Delete.
49703 * sysdeps/unix/sparc/pipe.S: Delete.
49704 * sysdeps/unix/sparc/sysdep.S: Delete.
49705 * sysdeps/unix/sparc/sysdep.h: Delete.
49706 * sysdeps/unix/sparc/vfork.S: Delete.
49707 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
49708 (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
49709 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
49710 (ret_ERRVAL, r0, r1, MOVE): Define.
49711 (JUMPTARGET): Remove.
49712 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
49713 sysdeps/unix/sparc/sysdep.h
49714 (ENTRY, END): Remove.
49715 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
49717 2012-04-25 Joseph Myers <joseph@codesourcery.com>
49719 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
49720 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
49723 * timezone/README: Update upstream location and email address for
49725 * timezone/zdump.c: Update from tzcode 2012b.
49726 * timezone/zic.c: Likewise.
49728 * configure.in (libc_cv_as_needed): Remove test.
49729 * configure: Regenerated.
49730 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
49731 conditional definition.
49732 [$(have-as-needed) != yes] (no-as-needed): Likewise.
49733 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
49734 * config.make.in (have-as-needed): Remove variable.
49736 2012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
49737 Paul Pluzhnikov <ppluzhnikov@google.com>
49739 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
49742 2012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
49744 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
49745 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
49746 * sysdeps/sh/strlen.S: Likewise.
49748 2012-04-24 Joseph Myers <joseph@codesourcery.com>
49750 * sysdeps/unix/fork.S: Remove file.
49751 * sysdeps/unix/i386/fork.S: Likewise.
49752 * sysdeps/unix/sparc/fork.S: Likewise.
49754 * sysdeps/unix/system.c: Remove file.
49755 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
49757 * sysdeps/unix/getegid.S: Remove file.
49758 * sysdeps/unix/geteuid.S: Likewise.
49760 2012-04-24 Roland McGrath <roland@hack.frob.com>
49762 * scripts/check-localplt.awk: New file.
49763 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
49765 * scripts/data/localplt-generic.data: Add a comment.
49767 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
49768 NODE when __dir_mkfile failed.
49769 * sysdeps/mach/hurd/symlinkat.c: Likewise.
49770 Reported by Ludovic Courtès <ludo@gnu.org>.
49772 2012-04-24 Andreas Jaeger <aj@suse.de>
49774 * Makerules (common-clean): Also remove gen-as-const-headers
49777 2012-04-24 Joseph Myers <joseph@codesourcery.com>
49779 * Makerules (native-compile): Do not change working directory for
49780 build. Use $(OUTPUT_OPTION) in command.
49781 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
49783 2012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
49786 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
49787 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
49788 * math/libm-test.inc (floor_test): Add more tests.
49789 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
49791 2012-04-24 Joseph Myers <joseph@codesourcery.com>
49793 * sysdeps/unix/getdents.c: Remove file.
49794 * sysdeps/unix/sysv/getdents.c: Likewise.
49795 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
49797 * sysdeps/unix/syscalls.list (madvise): Add syscall from
49798 sysdeps/unix/mman/syscalls.list.
49800 (mprotect): Likewise.
49802 (munmap): Likewise.
49803 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
49804 * sysdeps/unix/mman/syscalls.list: Remove.
49805 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
49807 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
49808 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
49809 * configure: Regenerated.
49810 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
49811 $(libgcc_s_suffix).
49812 * config.make.in (libgcc_s_suffix): Remove variable.
49814 2012-04-23 Joseph Myers <joseph@codesourcery.com>
49816 * sysdeps/unix/sysv/gethostname.c: Move to ...
49817 * sysdeps/posix/gethostname.c: ... here.
49819 * sysdeps/unix/execve.S: Remove file.
49821 * sysdeps/unix/_exit.S: Remove file.
49823 2012-04-23 Andreas Jaeger <aj@suse.de>
49826 * manual/Makefile: Remove make dist support, there's no
49827 need for a stand-alone documentation tar ball.
49828 (TEXI2DVI): Define always, it's not in Makeconfig.
49831 (edition): Removed.
49832 (glibc-doc-$(edition).tar): Removed
49836 (ETAGS): Remove, it's in Makeconfig.
49837 (move-if-change): Remove, it's in Makeconfig.
49839 2012-04-23 Paul Eggert <eggert@cs.ucla.edu>
49842 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
49843 (strtod, strtof, strtold, strtol, strtoul, strtoq)
49844 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
49845 (strtod_l, strtof_l, strtold_l): Remove __wur.
49846 It is not necessarily an error to ignore strtol's return value.
49847 One can reliably look at the stored endptr to decide whether
49848 the number had valid syntax.
49850 2012-04-21 Andreas Jaeger <aj@suse.de>
49853 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
49855 2012-04-21 Joseph Myers <joseph@codesourcery.com>
49857 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
49858 * sysdeps/unix/sysv/Versions: Remove file.
49860 2012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
49863 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
49865 2012-04-21 Nick Alcock <nick.alcock@oracle.com>
49868 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
49869 version from __vm86.
49871 2012-04-20 Joseph Myers <joseph@codesourcery.com>
49873 * sysdeps/unix/common/lxstat.c: Remove file.
49874 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
49876 * sysdeps/unix/sysv/Makefile: Remove file.
49878 * sysdeps/unix/sysv/direct.h: Remove file.
49880 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
49881 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
49882 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
49883 * sysdeps/unix/sysv/bits/signum.h: Likewise.
49884 * sysdeps/unix/sysv/bits/stat.h: Likewise.
49885 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
49886 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
49888 * sysdeps/unix/sysv/setrlimit.c: Remove file.
49890 * sysdeps/unix/xmknod.c: Remove file.
49891 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
49893 * sysdeps/unix/sysv/settimeofday.c: Remove file.
49895 * sysdeps/unix/sysv/i386/time.S: Remove file.
49897 * sysdeps/unix/fxstat.c: Remove file.
49898 * sysdeps/unix/xstat.c: Likewise.
49899 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
49901 * sysdeps/unix/sysv/sigaction.c: Remove file.
49903 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
49904 (sysdep_headers): Remove variable.
49905 [termio.h not in sysdep_headers] (generated): Likewise.
49906 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
49907 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
49908 * sysdeps/unix/sysv/tcdrain.c: Likewise.
49909 * sysdeps/unix/sysv/tcflow.c: Likewise.
49910 * sysdeps/unix/sysv/tcflush.c: Likewise.
49911 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
49912 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
49913 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
49914 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
49915 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
49917 * sysdeps/unix/siglist.c: Remove file.
49919 * sysdeps/unix/getppid.S: Remove file.
49921 * sysdeps/unix/mkdir.c: Remove file.
49922 * sysdeps/unix/rmdir.c: Likewise.
49924 2012-04-19 Andreas Schwab <schwab@linux-m68k.org>
49926 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
49928 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
49929 errlist-compat value.
49931 2012-04-18 David S. Miller <davem@davemloft.net>
49933 * sysdeps/generic/memcopy.h (reg_char): Delete.
49934 * debug/strcat_chk.c: Use char, not reg_char.
49935 * debug/strcpy_chk.c: Likewise.
49936 * debug/strncat_chk.c: Likewise.
49937 * debug/strncpy_chk.c: Likewise.
49938 * string/memchr.c: Likewise.
49939 * string/memrchr.c: Likewise.
49940 * string/rawmemchr.c: Likewise.
49941 * string/strcat.c: Likewise.
49942 * string/strchr.c: Likewise.
49943 * string/strchrnul.c: Likewise.
49944 * string/strcmp.c: Likewise.
49945 * string/strcpy.c: Likewise.
49946 * string/strncat.c: Likewise.
49947 * string/strncmp.c: Likewise.
49948 * string/strncpy.c: Likewise.
49950 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
49952 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
49953 __builtin_memcopy is called when src and dest ranges are known to not
49956 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
49958 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
49959 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
49960 fwd_align_merge macro call.
49961 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
49962 bwd_align_merge macro call.
49963 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
49965 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
49967 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
49968 bwd_align_merge macros.
49969 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
49970 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
49971 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
49973 2012-04-18 David S. Miller <davem@davemloft.net>
49975 * sysdeps/sparc/sparc64/memcopy.h: Delete.
49977 2012-04-18 Andreas Jaeger <aj@suse.de>
49980 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
49981 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
49982 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
49984 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
49985 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
49986 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
49988 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
49989 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
49990 Adjust for changed ldbl-128 files.
49992 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
49993 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
49994 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
49996 2012-04-17 David S. Miller <davem@davemloft.net>
49998 * sysdeps/sparc/sparc32/memcopy.h: Delete.
50000 2012-04-17 Andreas Schwab <schwab@linux-m68k.org>
50002 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
50003 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
50004 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
50005 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
50006 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
50007 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
50009 2012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
50012 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
50013 * math/libm-test.inc: Add ilogb errno and exception tests.
50014 * math/w_ilogb.c: New file: ilogb wrapper.
50015 * math/w_ilogbf.c: New file: ilogbf wrapper.
50016 * math/w_ilogbl.c: New file: ilogbl wrapper.
50017 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
50018 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
50019 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
50020 exception being thrown with 0.0 as argument.
50021 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
50022 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
50023 exception being thrown with 0.0 as argument.
50024 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
50025 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
50026 exception being thrown with 0.0 as argument.
50027 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
50028 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
50029 exception being thrown with 0.0 as argument.
50030 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
50031 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
50032 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
50033 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
50034 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
50035 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
50036 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
50037 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
50038 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
50040 2012-04-17 Petr Baudis <pasky@ucw.cz>
50042 * include/sys/uio.h: Change __vector to __iovec to avoid clash
50045 2012-04-16 Marek Polacek <polacek@redhat.com>
50047 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
50049 2012-04-16 Marek Polacek <polacek@redhat.com>
50051 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
50052 operands of fdivp instruction.
50054 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
50056 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
50057 * elf/tst-auditmod3b.c: Likewise.
50058 * elf/tst-auditmod4b.c: Likewise.
50059 * elf/tst-auditmod5b.c: Likewise.
50060 * elf/tst-auditmod6b.c: Likewise.
50061 * elf/tst-auditmod6c.c: Likewise.
50062 * elf/tst-auditmod7b.c: Likewise.
50063 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
50064 * sysdeps/x86_64/preconfigure.in: Likewise.
50065 * sysdeps/x86_64/preconfigure: Regenerated.
50067 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
50069 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
50072 2012-04-13 Antoine Balestrat <merkil33@gmail.com>
50074 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
50075 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
50077 2012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
50080 * locale/iso-639.def: Fix gl language name. Spotted by
50083 2012-04-12 Roland McGrath <roland@hack.frob.com>
50086 * libio/libio.h (__io_write_fn): Update comment.
50088 2012-04-12 Petr Baudis <pasky@ucw.cz>
50091 * stdio.texi (Hook Functions): The user provided writer function
50092 is not allowed to return -1.
50094 2012-04-11 David S. Miller <davem@davemloft.net>
50096 * sysdeps/sparc/fpu/libm-test-ulps: Update.
50098 2012-04-11 Mike Frysinger <vapier@gentoo.org>
50100 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
50101 Add a leading slash to rtkaio.
50103 2012-04-11 Jim Meyering <meyering@redhat.com>
50106 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
50107 It is not necessarily an error to ignore fwrite's return
50108 value. One can reliably use ferror to test for errors after
50111 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
50113 * bits/types.h (__snseconds_t): New type.
50114 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
50116 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
50117 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
50118 (__SNSECONDS_T_TYPE): Likewise.
50119 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
50120 (__SNSECONDS_T_TYPE): Likewise.
50121 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
50122 (__SNSECONDS_T_TYPE): Likewise.
50124 2012-04-10 Andreas Jaeger <aj@suse.de>
50127 * manual/time.texi (Processor Time): Return type of times is
50128 elapsed real time since an arbitrary point in the past.
50129 (CPU Time): Move CLK_TCK from here...
50130 (Processor Time): ...to here. Correct description.
50131 * manual/conf.texi (Constants for Sysconf): Correct description of
50134 2012-04-10 David S. Miller <davem@davemloft.net>
50137 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
50138 where the is a gap between DT_REL(A) and DT_JMPREL.
50140 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
50142 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
50143 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
50144 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
50146 2012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
50148 * elf/dl-support.c (_dl_inhibit_cache): New variable.
50149 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
50150 (dl_main): Handle --inhibit-cache.
50151 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
50153 * elf/dl-load.c (_dl_map_object): Use it.
50154 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
50156 2012-04-09 Joseph Myers <joseph@codesourcery.com>
50159 * sysdeps/i386/fpu/e_powl.S (p78): New object.
50160 (__ieee754_powl): Saturate large exponents rather than testing for
50161 overflow of y*log2(x).
50162 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
50163 * math/libm-test.inc (pow_test): Do not permit spurious overflow
50167 * math/s_ctan.c: Include <float.h>.
50168 (__ctan): Avoid internal overflow or cancellation in calculating
50170 * math/s_ctanf.c: Likewise.
50171 * math/s_ctanl.c: Likewise.
50172 * math/s_ctanh.c: Likewise.
50173 * math/s_ctanhf.c: Likewise.
50174 * math/s_ctanhl.c: Likewise.
50175 * math/libm-test.inc (ctan_test): Add more tests.
50176 (ctanh_test): Likewise.
50177 * sysdeps/i386/fpu/libm-test-ulps: Update.
50178 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50180 2012-04-09 Andreas Jaeger <aj@suse.de>
50183 * manual/filesys.texi (Directory Entries): Mention that d_namlen
50184 is an optional BSD extension.
50187 * manual/stdio.texi (Opening Streams): Document additional fopen
50190 2012-04-09 Roland McGrath <roland@hack.frob.com>
50192 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
50193 %eax without telling the compiler.
50195 2012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
50198 * manual/install.texi: Use sourceware.org.
50200 2012-04-09 Joseph Myers <joseph@codesourcery.com>
50203 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
50204 (__ieee754_pow): Generate overflow and underflow using huge*huge
50205 and tiny*tiny rather than just returning constant infinity or zero
50206 for large exponents.
50207 * math/libm-test.inc (pow_test): Require overflow exceptions for
50208 applicable cases of large exponents.
50211 * sysdeps/i386/fpu/e_pow.S (p10): New object.
50212 (__ieee754_pow): Use iterative multiplication algorithm only for
50213 integer exponents with absolute value below 1024. Check for odd
50214 integer exponents when using algorithm for real exponents.
50215 * math/libm-test.inc (pow_test): Add more tests.
50216 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
50218 2012-04-08 Joseph Myers <joseph@codesourcery.com>
50221 * math/libm-test.inc (exp_test): Do not allow overflow exception
50224 2012-04-08 Aurelien Jarno <aurelien@aurel32.net>
50227 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
50228 instead of __kernel_standard_f.
50230 2012-04-08 Mike Frysinger <vapier@gentoo.org>
50232 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
50233 * sysdeps/x86_64/memset_chk.S: Likewise.
50235 2012-04-08 Andreas Jaeger <aj@suse.de>
50238 * manual/startup.texi (Environment Access): Describe return value
50239 for putenv and setenv.
50242 * manual/filesys.texi (Directory Entries): Add description for
50246 * manual/filesys.texi (Directory Entries): Clarify that it's file
50247 system not operating system in the description of DT_UNKNOWN.
50250 * manual/syslog.texi (closelog): Fix reference, it's openlog.
50252 2012-04-08 Stephen Compall <s11@member.fsf.org>
50255 * manual/llio.texi (Opening and Closing Files): Add cross
50256 reference to explain mode argument.
50258 2012-04-07 Mike Frysinger <vapier@gentoo.org>
50260 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
50261 * sysdeps/x86_64/memset_chk.S: Likewise.
50263 2012-04-07 David S. Miller <davem@davemloft.net>
50265 * elf/elf.h (R_SPARC_WDISP10): Define.
50266 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
50268 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
50269 R_SPARC_SIZE64 and R_SPARC_H34.
50271 2012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
50273 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
50274 conditions and remove no longer applicable assertion.
50276 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
50278 * bits/byteswap.h: Include <features.h>.
50279 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
50280 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
50282 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
50284 * bits/byteswap.h (__bswap_16): Removed.
50285 Include <bits/byteswap-16.h> to get __bswap_16.
50286 * sysdeps/i386/bits/byteswap.h: Likewise.
50287 * sysdeps/s390/bits/byteswap.h: Likewise.
50288 * sysdeps/x86_64/bits/byteswap.h: Likewise.
50289 * bits/byteswap-16.h: New file.
50290 * sysdeps/i386/bits/byteswap-16.h: Likewise.
50291 * sysdeps/s390/bits/byteswap-16.h: Likewise.
50292 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
50293 * string/Makefile (headers): Add bits/byteswap-16.h.
50295 2012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
50298 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
50300 * nss/Makefile (tests-static, tests): Add tst-nss-static.
50301 * nss/tst-nss-static.c: New.
50303 2012-04-06 Robert Millan <rmh@gnu.org>
50306 * manual/llio.texi (File Position Primitive): lseek
50307 refers to WHENCE when it really means OFFSET.
50309 2012-04-06 Andreas Jaeger <aj@suse.de>
50311 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
50312 strncmp declarations.
50314 * abilist/libc.abilist: Add __poll and __ppoll.
50316 2012-04-05 David S. Miller <davem@davemloft.net>
50318 * scripts/check-local-headers.sh: Accept a host triplet in the
50319 path matched by the exclude regexp.
50321 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
50323 * sysdeps/powerpc/powerpc32/dl-machine.h
50324 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
50325 * sysdeps/s390/s390-32/dl-machine.h
50326 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
50327 * sysdeps/sparc/sparc32/dl-machine.h
50328 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
50329 * sysdeps/sparc/sparc64/dl-machine.h
50330 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
50332 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
50334 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
50335 undefined symbol errors.
50337 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
50340 2012-04-05 Michael Matz <matz@suse.de>
50343 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
50345 2012-04-05 Andreas Jaeger <aj@suse.de>
50348 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
50351 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
50353 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
50354 which ROUND is no valid rounding mode.
50356 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
50358 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
50360 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
50362 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
50364 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
50365 an exception using FPU order intentionally.
50367 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
50369 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
50370 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
50371 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
50372 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
50374 2012-04-05 Simon Josefsson <simon@josefsson.org>
50377 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
50378 EINVAL when BUFLEN is too smal.
50380 2012-04-05 Thomas Schwinge <thomas@codesourcery.com>
50383 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
50384 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
50386 2012-04-03 Andreas Jaeger <aj@suse.de>
50389 * manual/setjmp.texi (System V contexts): Fix sentence.
50392 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
50393 New macro for this case.
50394 [!__GNUC__] (__bswap_64): New inline function for this case.
50395 * sysdeps/x86_64/bits/byteswap.h: Likewise.
50396 * bits/byteswap.h: Likewise.
50397 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
50398 ull, guard with __GLIBC_HAVE_LONG_LONG.
50400 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
50401 __GLIBC_HAVE_LONG_LONG.
50403 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
50404 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
50406 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
50409 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
50410 inptr and inend, rather than using last_ch.
50412 2012-04-02 David S. Miller <davem@davemloft.net>
50414 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
50415 * stdio-common/printf-parse.h (read_int): Change return type to
50416 'int', return -1 on INT_MAX overflow.
50417 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
50418 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
50419 overflows INT_MAX. Check for overflow of in-format-string precision
50420 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
50421 SIZE_MAX not INT_MAX for integer overflow test.
50422 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
50423 skip the construct in the format string but do not record anything.
50424 * stdio-common/bug22.c: Adjust to test both width/prevision
50425 INT_MAX overflow as well as total length INT_MAX overflow. Check
50426 explicitly for proper errno values.
50428 2012-04-02 Thomas Schwinge <thomas@codesourcery.com>
50430 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
50432 * string/test-strcmp.c [! WIDE]: Likewise.
50433 * time/tst-mktime2.c: Likewise for INT_MAX.
50434 * string/test-string.h: #include <sys/param.h> for MIN.
50436 * csu/init-first.c (__libc_init_first): Call __ctype_init.
50437 * sysdeps/i386/init-first.c (init): Likewise.
50438 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
50439 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
50440 * sysdeps/sh/init-first.c (init): Likewise.
50442 2012-04-01 Ulrich Drepper <drepper@gmail.com>
50444 * po/ru.po: Update from translation team.
50445 * po/vi.po: Likewise.
50447 2012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
50449 * resolv/nss_dns/dns-host.c: Merge copyright years.
50451 2012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
50453 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
50454 Optimize memcpy with prefetch if
50455 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
50456 src, dst pointers have unequal 16 byte alignments.
50458 2012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
50461 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
50462 from a CNAME entry and return the minimum ttl for the query.
50463 (gaih_getanswer_slice): Likewise.
50465 2012-03-30 Jeff Law <law@redhat.com>
50467 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
50469 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
50470 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
50472 * resolv/nss_dns/dns-host.c: Update copyright year.
50474 2012-03-30 Ulrich Drepper <drepper@gmail.com>
50476 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
50477 requests to save a system call. Fix check that all bytes are sent.
50479 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
50480 comments for sendmmsg.
50482 2012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
50485 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
50486 with only 1 character between 0x0041 and 0x01b0.
50487 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
50488 * wcsmbs/tst-mbsnrtowcs.c: New file.
50490 2012-03-29 David S. Miller <davem@davemloft.net>
50492 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
50493 small copies by hand.
50495 2012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
50498 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
50499 (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
50502 2012-03-28 David S. Miller <davem@davemloft.net>
50504 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
50505 that branches into memcpy.
50506 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
50507 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
50508 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
50509 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
50510 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
50512 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
50513 implementation too.
50514 * sysdeps/sparc/mempcpy.S: New file.
50516 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
50517 the IFUNC routine in the libc case.
50518 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
50520 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
50521 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
50522 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
50523 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
50524 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
50525 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
50526 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
50527 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
50529 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
50530 loop to 256 bytes instead of 64 bytes and fix test signedness.
50532 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
50533 * sysdeps/sparc/sparc32/Makefile: rather than here...
50534 * sysdeps/sparc/sparc64/Makefile: and here.
50536 2012-03-28 Ulrich Drepper <drepper@gmail.com>
50538 * malloc/mallocbug.c: Avoid warnings about unused variables.
50540 2012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
50543 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
50544 in the right place. Discard and retry query if response is
50545 larger than input buffer size.
50547 2012-03-28 Joseph Myers <joseph@codesourcery.com>
50552 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
50553 x for large integer exponent.
50554 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
50555 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
50556 sign of result as needed afterwards.
50557 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
50558 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
50559 result for underflowing pow the same as for overflow.
50560 (__kernel_standard_l): Handle powl overflow and underflow here
50561 rather than calling __kernel_standard.
50562 * math/libm-test.inc (pow_test): Add more tests.
50577 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
50578 * sysdeps/ieee754/k_standard.c: Include <float.h>.
50579 (__kernel_standard_l): New function.
50580 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
50582 * math/w_acosl.c (__acosl): Likewise.
50583 * math/w_asinl.c (__asinl): Likewise.
50584 * math/w_atan2l.c (__atan2l): Likewise.
50585 * math/w_atanhl.c (__atanhl): Likewise.
50586 * math/w_coshl.c (__coshl): Likewise.
50587 * math/w_exp10l.c (__exp10l): Likewise.
50588 * math/w_exp2l.c (__exp2l): Likewise.
50589 * math/w_fmodl.c (__fmodl): Likewise.
50590 * math/w_hypotl.c (__hypotl): Likewise.
50591 * math/w_j0l.c (__j0l, __y0l): Likewise.
50592 * math/w_j1l.c (__j1l, __y1l): Likewise.
50593 * math/w_jnl.c (__jnl, __ynl): Likewise.
50594 * math/w_lgammal.c (__lgammal): Likewise.
50595 * math/w_log10l.c (__log10l): Likewise.
50596 * math/w_log2l.c (__log2l): Likewise.
50597 * math/w_logl.c (__logl): Likewise.
50598 * math/w_powl.c (__powl): Likewise.
50599 * math/w_remainderl.c (__remainderl): Likewise.
50600 * math/w_scalbl.c (sysv_scalbl): Likewise.
50601 * math/w_sinhl.c (__sinhl): Likewise.
50602 * math/w_sqrtl.c (__sqrtl): Likewise.
50603 * math/w_tgammal.c (__tgammal): Likewise.
50604 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
50605 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
50606 * math/libm-test.inc (acos_test): Add more tests.
50607 (acosh_test): Likewise.
50608 (asin_test): Likewise.
50609 (atanh_test): Likewise.
50610 (exp_test): Likewise.
50611 (exp10_test): Likewise.
50612 (exp2_test): Likewise.
50613 (expm1_test): Likewise.
50614 (lgamma_test): Likewise.
50615 (log_test): Likewise.
50616 (log10_test): Likewise.
50617 (log1p_test): Likewise.
50618 (log2_test): Likewise.
50619 (pow_test): Do not allow some spurious overflow exceptions.
50620 (sqrt_test): Add more tests.
50621 (tgamma_test): Likewise.
50622 (y0_test): Likewise.
50623 (y1_test): Likewise.
50624 (yn_test): Likewise.
50626 2012-03-27 Anton Blanchard <anton@samba.org>
50628 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
50630 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
50631 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
50632 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
50634 2012-03-27 David S. Miller <davem@davemloft.net>
50636 * conform/Makefile: Run run-conformtest.sh using $(BASH).
50638 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
50639 have-as-vis3 check.
50641 2012-03-27 Andreas Jaeger <aj@suse.de>
50643 * sysdeps/x86_64/elf/configure.in: Moved to ...
50644 * sysdeps/x86_64/configure.in: ... here.
50645 * sysdeps/x86_64/elf/start.S: Moved to ...
50646 * sysdeps/x86_64/start.S: ... here.
50647 * sysdeps/x86_64/elf/configure: Delete.
50649 * sysdeps/x86_64/configure.in: Merge contents from
50650 sysdeps/i386/configure.in (without i686 check).
50652 * sysdeps/i386/elf/Versions: Merge into ...
50653 * sysdeps/i386/Versions: ... this.
50654 * sysdeps/i386/elf/Versions: Delete file.
50655 * sysdeps/i386/elf/start.S: Moved to ...
50656 * sysdeps/i386/start.S: ...here.
50657 * sysdeps/i386/elf/configure.in: Merge into...
50658 * sysdeps/i386/configure.in: ...here.
50659 * sysdeps/i386/elf/configure.in: Delete file.
50660 * sysdeps/i386/elf/configure: Delete file.
50662 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
50663 * debug/backtracesyms.c: ... here.
50664 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
50665 * debug/backtracesymsfd.c: ... here.
50666 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
50667 * sysdeps/generic/ifunc-sel.h: ... here.
50669 * sysdeps/unix/i386/start.c: Delete file.
50670 * sysdeps/unix/sparc/start.c: Delete file.
50671 * sysdeps/unix/start.c: Delete file.
50673 * sysdeps/sh/elf/configure.in: Moved to ...
50674 * sysdeps/sh/configure.in: ... here.
50675 * sysdeps/sh/elf/start.S: Moved to ...
50676 * sysdeps/sh/start.S: ... here.
50677 * sysdeps/sh/elf/configure: Delete file.
50679 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
50680 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
50681 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
50682 * sysdeps/powerpc/powerpc64/entry.h: ... here.
50683 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
50684 * sysdeps/powerpc/powerpc64/start.S: here.
50685 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
50686 * sysdeps/powerpc/powerpc64/Makefile: ... this.
50687 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
50688 * sysdeps/powerpc/powerpc64/configure.in: ... this.
50689 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
50691 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
50692 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
50693 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
50694 * sysdeps/powerpc/powerpc32/start.S: ... here.
50695 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
50696 * sysdeps/powerpc/powerpc32/configure.in: ... this.
50697 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
50699 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
50700 * sysdeps/powerpc/ifunc-sel.h: ... here.
50701 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
50702 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
50704 * sysdeps/sparc/elf/configure.in: Moved to ...
50705 * sysdeps/sparc/configure.in: ... here.
50706 * sysdeps/sparc/elf/configure: Delete file.
50707 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
50708 * sysdeps/sparc/sparc32/start.S: ... here.
50709 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
50710 * sysdeps/sparc/sparc64/start.S: ... here.
50711 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
50712 * sysdeps/sparc/sparc32/Makefile: ... this.
50713 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
50714 * sysdeps/sparc/sparc64/Makefile: ... this.
50716 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
50717 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
50718 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
50719 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
50720 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
50721 * sysdeps/s390/s390-32/setjmp.S: ... here.
50722 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
50723 * sysdeps/s390/s390-32/configure.in: ... here.
50724 * sysdeps/s390/s390-32/elf/configure: Delete file.
50725 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
50726 * sysdeps/s390/s390-32/start.S: ... here.
50728 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
50729 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
50730 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
50731 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
50732 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
50733 * sysdeps/s390/s390-64/setjmp.S: ... here.
50734 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
50735 * sysdeps/s390/s390-64/configure.in: ... here
50736 * sysdeps/s390/s390-64/elf/configure: Delete file.
50737 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
50738 * sysdeps/s390/s390-64/start.S: ... here.
50739 * sysdeps/s390/s390-64/elf/configure: Delete.
50741 * configure.in: Remove support for elf directories in sysdeps.
50743 * configure: Regenerated.
50744 * sysdeps/i386/configure: Regenerated.
50745 * sysdeps/powerpc/powerpc32/configure: Regenerated.
50746 * sysdeps/powerpc/powerpc64/configure: Regenerated.
50747 * sysdeps/s390/s390-32/configure: Regenerated.
50748 * sysdeps/s390/s390-64/configure: Regenerated.
50749 * sysdeps/sh/configure: Regenerated.
50750 * sysdeps/sparc/configure: Regenerated.
50751 * sysdeps/x86_64/configure: Regenerated.
50753 2012-03-26 Andreas Schwab <schwab@linux-m68k.org>
50755 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
50757 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
50758 denormal result into account.
50760 2012-03-25 Roland McGrath <roland@hack.frob.com>
50762 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
50763 Reported by Allan McRae <allan@archlinux.org>.
50765 2012-03-23 Jeff Law <law@redhat.com>
50767 * nss/getnssent.c (__nss_getent): Fix typo.
50769 2012-03-23 David S. Miller <davem@davemloft.net>
50771 * sysdeps/sparc/fpu/libm-test-ulps: Update.
50773 2012-03-23 H.J. Lu <hongjiu.lu@intel.com>
50775 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
50776 to pad to uint64_t for each field.
50777 (dl_tls_index): Replace unsigned long with uint64_t.
50779 2012-03-23 Daniel Jacobowitz <dmj@google.com>
50780 Paul Pluzhnikov <ppluzhnikov@google.com>
50783 * grp/Makefile (otherlibs): Don't set it.
50784 * inet/Makefile (otherlibs): Likewise.
50785 * login/Makefile (otherlibs): Likewise.
50786 * nscd/Makefile (otherlibs): Likewise.
50787 * posix/Makefile (otherlibs): Likewise.
50788 * pwd/Makefile (otherlibs): Likewise.
50789 * rt/Makefile (otherlibs): Likewise.
50790 * sunrpc/Makefile (otherlibs): Likewise.
50791 * nss/Makefile (otherlibs): Likewise.
50792 Add libnss_files to routines and static-only-routines.
50793 ($(objpfx)getent): Remove rule.
50794 * resolv/Makefile: Add libnss_dns and libresolv to routines and
50795 static-only-routines.
50797 2012-03-22 Joseph Myers <joseph@codesourcery.com>
50800 * math/s_cexp.c: Include <float.h>.
50801 (__cexp): Handle exp result overflowing not necessarily
50802 overflowing both real and imaginary parts of result.
50803 * math/s_cexpf.c: Likewise.
50804 * math/s_cexpl.c: Likewise.
50805 * math/libm-test.inc (cexp_test): Add more tests.
50806 * sysdeps/i386/fpu/libm-test-ulps: Update.
50807 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50809 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
50811 * include/link.h (ELFW): New macro.
50812 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
50813 Replace ELF64_R_TYPE with ELFW(R_TYPE).
50815 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
50817 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
50820 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
50822 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
50824 (struct La_x32_retval): Likewise.
50826 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
50828 * sysdeps/x86_64/preconfigure.in: New file.
50829 * sysdeps/x86_64/preconfigure: New generated file.
50831 2012-03-22 Joseph Myers <joseph@codesourcery.com>
50834 * math/e_exp2l.c: Include <float.h>.
50835 (__ieee754_exp2l): Handle overflow and underflow cases
50836 separately. Only pass fractional part of argument to
50838 * math/libm-test.inc (exp2_test): Add more tests.
50840 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
50841 negating x to take absolute value.
50842 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
50844 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
50845 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
50847 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
50848 computing low part if x was negated.
50849 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
50851 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
50853 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
50854 la_x32_gnu_pltexit.
50855 (pltexit): Cast int_retval to ptrdiff_t.
50856 * elf/tst-auditmod3b.c: Likewise.
50857 * elf/tst-auditmod4b.c: Likewise.
50858 * elf/tst-auditmod5b.c: Likewise.
50859 * elf/tst-auditmod6b.c: Likewise.
50860 * elf/tst-auditmod6c.c: Likewise.
50861 * elf/tst-auditmod7b.c: Likewise.
50863 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
50864 and x32_gnu_pltexit.
50866 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
50867 __ELF_NATIVE_CLASS.
50868 (La_x32_regs): New macro.
50869 (La_x32_retval): Likewise.
50870 (la_x32_gnu_pltenter): New function prototype.
50871 (la_x32_gnu_pltexit): Likewise.
50873 2012-03-21 Andreas Schwab <schwab@linux-m68k.org>
50875 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
50878 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
50880 * configure.in (libc_cv_cc_nofma): Check for option to disable
50881 generation of FMA instructions.
50882 * configure: Regenerate.
50883 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
50884 * sysdeps/ieee754/dbl-64/Makefile: New file.
50885 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
50886 Remove brandred-fma4.
50887 (CFLAGS-brandred-fma4.c): Remove.
50888 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
50889 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
50891 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
50894 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
50896 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
50897 LLONG_MAX != LONG_MAX.
50898 (_itoa_word): Use _ITOA_WORD_TYPE on value.
50899 (_fitoa_word): Likewise.
50900 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
50901 LLONG_MAX != LONG_MAX.
50902 * stdio-common/_itowa.h: Include <_itoa.h>.
50903 (_itowa_word): Use _ITOA_WORD_TYPE on value.
50904 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
50905 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
50906 only if not defined.
50907 (_ITOA_WORD_TYPE): Likewise.
50908 (_itoa_word): Use _ITOA_WORD_TYPE on value.
50909 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
50911 2012-03-21 David S. Miller <davem@davemloft.net>
50913 * sysdeps/sparc/fpu/libm-test-ulps: Update.
50915 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
50917 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
50918 of x86_64 when setting libc_cv_slibdir, libdir and
50920 * sysdeps/unix/sysv/linux/configure: Regenerated.
50922 2012-03-21 Joseph Myers <joseph@codesourcery.com>
50924 * manual/lang.texi (Old Varargs): Remove section.
50925 (How Variadic): Update menu.
50926 (va_start): Do not mention varargs.h.
50928 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
50929 Joseph Myers <joseph@codesourcery.com>
50931 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
50933 * configure: Regenerated.
50935 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
50937 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
50938 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
50941 2012-03-21 Joseph Myers <joseph@codesourcery.com>
50944 * Makefile (files-for-dist): Remove NOTES.
50945 (NOTES): Remove rule.
50946 * README: Don't refer to NOTES.
50947 * manual/creature.texi: Don't include macros.texi.
50948 * manual/intro.texi (creature.texi): Remove comment referring to
50951 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
50952 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
50953 * configure: Regenerated.
50954 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
50955 LIBC_TRY_CC_OPTION.
50956 (libc_cv_as_i686): Likewise.
50957 (libc_cv_cc_avx): Likewise.
50958 (libc_cv_cc_sse2avx): Likewise.
50959 (libc_cv_cc_fma4): Likewise.
50960 (libc_cv_cc_novzeroupper): Likewise.
50961 * sysdeps/i386/configure: Regenerated.
50964 * sysdeps/i386/fpu/s_cexp.S: Remove.
50965 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
50966 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
50967 * math/libm-test.inc (cexp_test): Add more tests.
50968 * sysdeps/i386/fpu/libm-test-ulps: Update.
50969 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50971 2012-03-21 Allan McRae <allan@archlinux.org>
50973 * timezone/Makefile: Do not install iso3166.tab and zone.tab
50975 2012-03-21 Joseph Myers <joseph@codesourcery.com>
50978 * math/w_exp2.c: Do not include <float.h>.
50979 (o_threshold, u_threshold): Remove.
50980 (__exp2): Calculate result before checking finiteness and calling
50982 * math/w_exp2f.c: Likewise.
50983 * math/w_exp2l.c: Likewise.
50984 * math/libm-test.inc (exp2_test): Require overflow exception for
50988 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
50989 range of signed 64-bit integers before using fistpll. Remove
50990 checks for whether integers fit in mantissa bits.
50991 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
50992 the range of signed 32-bit integers before using fistpl. Remove
50993 checks for whether integers fit in mantissa bits.
50994 * sysdeps/i386/fpu/e_powl.S (p64): New object.
50995 (__ieee754_powl): Test for y outside the range of signed 64-bit
50996 integers before using fistpll. Reduce 64-bit values to 63-bit
50998 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
50999 divide-by-zero is raised for zero to large negative powers.
51000 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
51001 (__ieee754_powl): Test for y outside the range of signed 64-bit
51002 integers before using fistpll. Reduce 64-bit values to 63-bit
51004 * math/libm-test.inc (pow_test): Add more tests.
51006 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
51008 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
51009 <stdio-common/_itoa.h>.
51010 * debug/segfault.c: Likewise.
51011 * elf/dl-cache.c: Likewise.
51012 * elf/dl-minimal.c: Likewise.
51013 * elf/dl-misc.c: Likewise.
51014 * elf/dl-sysdep.c: Likewise.
51015 * elf/dl-version.c: Likewise.
51016 * elf/rtld.c: Likewise.
51017 * hurd/hurdsock.c: Likewise.
51018 * hurd/lookup-retry.c: Likewise.
51019 * malloc/malloc.c: Likewise.
51020 * malloc/mtrace.c: Likewise.
51021 * nscd/nscd_getgr_r.c: Likewise.
51022 * nscd/nscd_getpw_r.c: Likewise.
51023 * nscd/nscd_getserv_r.c: Likewise.
51024 * posix/getopt_init.c: Likewise.
51025 * posix/wordexp.c: Likewise.
51026 * stdio-common/_itoa.c: Likewise.
51027 * stdio-common/printf_fphex.c: Likewise.
51028 * stdio-common/vfprintf.c: Likewise.
51029 * string/_strerror.c: Likewise.
51030 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
51031 * sysdeps/i386/i686/hp-timing.h: Likewise.
51032 * sysdeps/mach/_strerror.c: Likewise.
51033 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
51034 * sysdeps/mach/hurd/sethostid.c: Likewise.
51035 * sysdeps/mach/hurd/xmknodat.c: Likewise.
51036 * sysdeps/mach/xpg-strerror.c: Likewise.
51037 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
51038 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
51039 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
51040 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
51041 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
51042 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
51043 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
51044 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
51045 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
51046 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
51047 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
51048 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
51049 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
51050 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
51051 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
51052 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
51053 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
51054 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
51055 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
51056 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
51057 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
51059 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
51061 * stdio-common/_itoa.h: Moved to ...
51062 * sysdeps/generic/_itoa.h: Here.
51064 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
51066 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
51067 instead of "_itoa.h" and "_itowa.h".
51068 * stdio-common/vfprintf.: Likewise.
51070 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
51072 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
51074 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
51075 (__signbit): Likwise.
51076 (llrintf): Likwise.
51079 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
51081 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
51084 2012-03-20 Joseph Myers <joseph@codesourcery.com>
51086 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
51087 OVERFLOW_EXCEPTION_OK.
51088 * math/libm-test.inc ("Philosophy"): Update comment about
51090 (OVERFLOW_EXCEPTION): Define.
51091 (OVERFLOW_EXCEPTION_OK): Likewise.
51092 (INVALID_EXCEPTION_OK): Renumber.
51093 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
51094 (IGNORE_ZERO_INF_SIGN): Likewise.
51095 (test_exceptions): Handle FE_OVERFLOW.
51096 (exp10_test): Expect overflow exceptions.
51097 (exp2_test): Likewise.
51098 (expm1_test): Likewise.
51099 (nextafter_test): Likewise.
51100 (pow_test): Likewise.
51101 (scalbn_test): Likewise.
51102 (scalbln_test): Likewise.
51104 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
51106 * sysdeps/x86_64/bits/atomic.h
51107 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
51109 (atomic_exchange_acq): Likewise.
51110 (__arch_exchange_and_add_body): Likewise.
51111 (__arch_add_body): Likewise.
51112 (atomic_add_negative): Likewise.
51113 (atomic_add_zero): Likewise.
51115 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
51117 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
51118 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
51120 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
51122 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
51123 Check __x86_64__ instead of __WORDSIZE.
51125 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
51127 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
51129 2012-03-19 David S. Miller <davem@davemloft.net>
51131 * sysdeps/sparc/fpu/libm-test-ulps: Update.
51133 * sysdeps/sparc/fpu/fenv_private.h: New file.
51134 * sysdeps/sparc/fpu/math_private.h: Use it.
51135 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
51137 (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
51138 (libc_feholdexcept_setroundl): Remove.
51139 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
51141 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
51142 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
51144 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
51146 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
51147 int64_t instead of long int.
51148 (INSERT_WORDS64): Likwise.
51150 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
51152 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
51153 _Unwind_GetCFA return to _Unwind_Ptr first.
51155 2012-03-19 Joseph Myers <joseph@codesourcery.com>
51158 * math/s_clog.c: Include <float.h>.
51159 (__clog): Scale large or subnormal inputs.
51160 * math/s_clogf.c: Likewise.
51161 * math/s_clogl.c: Likewise.
51162 * math/s_clog10.c: Include <float.h>.
51163 (M_LOG10_2): Define.
51164 (__clog10): Scale large or subnormal inputs.
51165 * math/s_clog10f.c: Likewise.
51166 * math/s_clog10l.c: Likewise.
51167 * math/libm-test.inc (clog_test): Add more tests.
51168 (clog10_test): Likewise.
51169 * sysdeps/i386/fpu/libm-test-ulps: Update.
51170 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51173 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
51175 * math/libm-test.inc (atan2_test): Add another test.
51177 * Makerules (common-objdir-compile): Remove.
51178 * sysdeps/unix/Makefile (config-generated): Do not add
51179 $(unix-generated) to variable.
51180 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
51181 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
51183 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
51185 [generic bits/local_lim.h] (before-compile): Do not append to
51187 [generic bits/local_lim.h] (common-generated): Likewise.
51188 [generic sys/param.h] (before-compile): Do not append to variable.
51189 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
51190 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
51191 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
51192 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
51194 [generic sys/param.h] (sys/param.h-includes): Remove variable.
51195 [generic sys/param.h] (sys/param.h-includes): Remove rule.
51196 [generic sys/param.h] ($(addprefix
51197 $(common-objpfx),$(sys/param.h-includes))): Likewise.
51198 [generic sys/param.h] (common-generated): Do not append to
51200 [generic sys/param.h] (sysdep_headers): Likewise.
51201 [generic bits/errno.h] (before-compile): Do not append to
51203 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
51205 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
51206 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
51207 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
51208 [generic bits/errno.h] (common-generated): Do not append to
51210 [generic bits/ioctls.h] (before-compile): Do not append to
51212 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
51214 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
51215 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
51216 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
51218 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
51219 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
51220 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
51221 [generic bits/ioctls.h] (common-generated): Do not append to
51223 [generic sys/syscall.h] (syscall.h): Remove variable.
51224 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
51226 [generic sys/syscall.h] (before-compile): Do not append to
51228 [generic sys/syscall.h] (common-generated): Likewise.
51229 * sysdeps/unix/errnos-tmpl.c: Remove file.
51230 * sysdeps/unix/errnos.awk: Likewise.
51231 * sysdeps/unix/ioctls-tmpl.c: Likewise.
51232 * sysdeps/unix/ioctls.awk: Likewise.
51233 * sysdeps/unix/mk-local_lim.c: Likewise.
51234 * sysdeps/unix/snarf-ioctls: Likewise.
51236 2012-03-19 Richard Henderson <rth@twiddle.net>
51238 * sysdeps/i386/fpu/fenv_private.h: New file.
51239 * sysdeps/i386/fpu/math_private.h: Use it.
51240 (math_opt_barrier, math_force_eval): Remove.
51241 (libc_feholdexcept_setround_53bit): Remove.
51242 (libc_feupdateenv_53bit): Remove.
51243 * sysdeps/x86_64/fpu/math_private.h: Likewise.
51244 (math_opt_barrier, math_force_eval): Remove.
51245 (libc_feholdexcept): Remove.
51246 (libc_feholdexcept_setround): Remove.
51247 (libc_fetestexcept, libc_fesetenv): Remove.
51248 (libc_feupdateenv_test): Remove.
51249 (libc_feupdateenv, libc_feholdsetround): Remove.
51250 (libc_feresetround): Remove.
51252 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
51253 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
51255 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
51256 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
51257 (libc_feupdateenv_testl): New.
51258 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
51259 (libc_feupdateenv_testf): New.
51260 (libc_feupdateenv): Use libc_feupdateenv_test.
51261 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
51262 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
51264 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
51265 (libc_feholdsetroundf, libc_feholdsetroundl): New.
51266 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
51267 (libc_feresetround_noex): New.
51268 (libc_feresetround_noexf): New.
51269 (libc_feresetround_noexl): New.
51270 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
51271 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
51272 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
51273 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
51275 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
51276 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
51278 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
51279 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
51280 SET_RESTORE_ROUND_NOEX.
51281 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
51282 SET_RESTORE_ROUND_NOEXF.
51283 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
51284 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
51285 (libc_feholdsetroundf): New.
51286 (libc_feresetround, libc_feresetroundf): New.
51288 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
51289 (libc_feholdexcept_setround_53bit): Convert from macro to function.
51290 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
51292 * sysdeps/generic/math_private.h: Include <fenv.h>.
51293 (default_libc_feholdexcept): New.
51294 (default_libc_feholdexcept_setround): New.
51295 (default_libc_fesetenv, default_libc_feupdateenv): New.
51296 (libc_feholdexcept): Only define if undefined.
51297 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
51298 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
51299 (libc_feholdexcept_setroundl): Likewise.
51300 (libc_feholdexcept_setround_53bit): Likewise.
51301 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
51302 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
51303 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
51304 (libc_feupdateenv_53bit): Likewise.
51305 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
51306 (libc_feholdexcept): Convert from macro to inline function.
51307 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
51308 (libc_fesetenv, libc_feupdateenv): Likewise.
51310 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
51311 not previously defined.
51312 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
51313 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
51314 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
51315 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
51316 * sysdeps/ieee754/flt-32/math_private.h: New file.
51317 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
51318 math_private.h below SET_FLOAT_WORD.
51319 (__isnan, __isinf_ns, __finite): Remove.
51320 (__isnanf, __isinf_nsf, __finitef): Remove.
51322 2012-03-18 Andreas Schwab <schwab@linux-m68k.org>
51324 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
51326 2012-03-17 David S. Miller <davem@davemloft.net>
51329 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
51332 2012-03-16 David S. Miller <davem@davemloft.net>
51334 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
51338 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
51340 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
51341 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
51342 sysdep_routines when subdir is sysvipc.
51343 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
51344 __getshmlba helper.
51346 * sysdeps/sparc/fpu/libm-test/ulps: Update.
51348 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
51350 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
51353 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
51355 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
51356 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
51357 (__lround): Renamed to ...
51358 (__llround): This. Replace long int with long long int.
51359 Define lround functions as aliases of llround functions.
51360 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
51362 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
51364 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
51365 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
51366 adresses to uintptr_t. Replace "long int" and "unsigned long
51367 int" with "greg_t" on va_arg.
51369 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
51371 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
51372 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
51374 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
51375 Move e_machine check before EI_CLASS check. Handle x32
51376 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
51377 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
51378 SKIP_EM_IA_64 and include
51379 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
51381 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
51382 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
51383 (add_system_dir): New macro.
51385 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
51386 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
51388 2012-03-16 Joseph Myers <joseph@codesourcery.com>
51399 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
51401 * math/w_j0f.c (j0f): Likewise.
51403 * math/w_j0l.c (__j0l): Likewise.
51405 * math/w_j1.c (j1): Likewise.
51407 * math/w_j1f.c (j1f): Likewise.
51409 * math/w_j1l.c (__j1l): Likewise.
51411 * math/w_jn.c (jn): Likewise.
51413 * math/w_jnf.c (jnf): Likewise.
51415 * math/w_jnl.c (__jnl): Likewise.
51417 * math/libm-test.inc (j0_test): Add more tests.
51418 (j1_test): Likewise.
51419 (jn_test): Likewise. Add trailing semicolon to existing test.
51420 (y0_test): Likewise.
51421 (y1_test): Likewise.
51422 * sysdeps/i386/fpu/libm-test-ulps: Update.
51423 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51427 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
51428 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
51429 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
51430 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
51431 (__tanl): Set errno for infinite argument.
51432 * sysdeps/i386/fpu/mptan.c: Remove.
51433 * sysdeps/i386/fpu/s_tan.S: Likewise.
51434 * sysdeps/i386/fpu/s_tanl.S: Likewise.
51435 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
51436 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
51437 * math/libm-test.inc (tan_test): Add more tests and enable more
51438 tests for double and long double.
51439 * sysdeps/i386/fpu/libm-test-ulps: Update.
51440 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51442 2012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
51444 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
51445 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
51447 2012-03-16 Roland McGrath <roland@hack.frob.com>
51449 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
51450 * configure.in: Use it for both main tree and add-ons.
51451 * configure: Regenerated.
51453 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
51455 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
51457 2012-03-16 Joseph Myers <joseph@codesourcery.com>
51459 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
51463 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
51464 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
51465 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
51466 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
51467 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
51469 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
51470 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
51471 != 0 for prec == 2.
51472 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
51473 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
51474 * sysdeps/i386/fpu/s_cosl.S: Likewise.
51475 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
51476 * sysdeps/i386/fpu/s_sinl.S: Likewise.
51477 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
51478 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
51479 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
51480 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
51481 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
51482 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
51483 * math/libm-test.inc (cos_test): Add more tests and enable more
51484 tests for long double.
51485 (sin_test): Likewise.
51486 (sincos_test): Likewise.
51487 * sysdeps/i386/fpu/libm-test-ulps: Update.
51488 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51490 2012-03-16 David S. Miller <davem@davemloft.net>
51492 * sysdeps/sparc/fpu/math_private.h: New file.
51494 2012-03-15 David S. Miller <davem@davemloft.net>
51496 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
51498 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
51499 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
51501 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
51502 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
51503 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
51504 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
51505 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
51506 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
51508 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
51510 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
51511 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
51513 * sysdeps/sparc/sparc-ifunc.h: New file.
51514 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
51516 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
51517 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
51519 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
51521 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
51522 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
51523 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
51524 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
51526 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
51527 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
51528 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
51529 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
51530 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
51532 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
51534 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
51535 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
51536 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
51537 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
51538 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
51539 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
51540 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
51541 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
51542 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
51543 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
51544 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
51545 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
51546 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
51547 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
51548 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
51549 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
51550 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
51551 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
51552 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
51553 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
51554 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
51555 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
51556 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
51557 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
51559 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
51561 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
51563 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
51565 2012-03-15 Andreas Jaeger <aj@suse.de>
51568 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
51569 ieee754/flt-32 implementation for sin, cos and sincos.
51570 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
51571 * sysdeps/i386/fpu/s_cosf.S: Likewise.
51572 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
51573 * sysdeps/i386/fpu/s_sinf.S: Likewise.
51574 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
51575 ieee754/flt-32 implementation for tan.
51577 * math/libm-test.inc (cos_test): Enable some large input tests for
51579 (sin_test): Likewise.
51580 (sincos_test): Likewise.
51581 (tan_test): Add tests for large input.
51583 * sysdeps/i386/fpu/libm-test-ulps: Update.
51585 2012-03-15 Andreas Jaeger <aj@suse.de>
51588 * math/libm-test.inc (cos_test): Add more test cases.
51589 (sin_test): Likewise.
51590 (sincos_test): Likewise.
51592 2012-03-15 Andreas Jaeger <aj@suse.de>
51595 * math/libm-test.inc (cos_test): Add a test case for large input
51597 (sin_test): Likewise.
51598 (sincos_test): Likewise.
51600 2012-03-15 Andreas Jaeger <aj@suse.de>
51601 Joseph Myers <joseph@codesourcery.com>
51604 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
51605 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
51606 * sysdeps/i386/fpu/branred.c: Likewise.
51607 * sysdeps/i386/fpu/dosincos.c: Likewise.
51608 * sysdeps/i386/fpu/mpa.c: Likewise.
51609 * sysdeps/i386/fpu/s_cos.S: Likewise.
51610 * sysdeps/i386/fpu/s_sin.S: Likewise.
51611 * sysdeps/i386/fpu/s_sincos.S: Likewise.
51612 * sysdeps/i386/fpu/sincos32.c: Likewise.
51614 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
51616 (libc_feupdateenv_53bit): Define.
51617 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
51619 (libc_feupdateenv_53bit): Define.
51621 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
51622 53 bit (without extend i386 double precision).
51624 * math/libm-test.inc (sincos_test): Add tests for large input.
51628 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
51630 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
51632 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
51634 2012-03-15 David S. Miller <davem@davemloft.net>
51636 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
51637 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
51638 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
51639 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
51640 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
51641 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
51642 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
51643 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
51644 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
51645 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
51646 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
51647 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
51648 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
51649 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
51650 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
51651 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
51653 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
51654 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
51656 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
51657 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
51659 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
51660 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
51662 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
51663 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
51664 fmin/fmax sysdep routines.
51665 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
51667 2012-03-14 David S. Miller <davem@davemloft.net>
51669 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
51670 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
51671 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
51672 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
51673 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
51674 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
51675 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
51676 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
51677 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
51678 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
51679 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
51680 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
51681 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
51682 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
51683 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
51684 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
51685 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
51686 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
51687 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
51688 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
51689 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
51690 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
51691 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
51692 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
51693 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
51694 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
51695 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
51696 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
51697 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
51699 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
51701 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
51702 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
51704 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
51705 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
51707 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
51708 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
51710 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
51711 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
51713 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
51714 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
51716 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
51718 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
51720 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
51722 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
51724 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
51726 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
51728 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
51729 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
51731 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
51732 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
51734 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
51735 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
51737 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
51738 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
51741 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
51744 * sysdeps/sparc/fpu/libm-test-ulps: Update.
51746 * sysdeps/sparc/configure.in: New file.
51747 * sysdeps/sparc/configure: Generate.
51748 * configure.in (libc_cv_sparc_as_vis3): Substitute.
51749 * configure: Regenerate.
51750 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
51751 * config.make.in (have-as-vis3): New.
51752 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
51753 available use -Av9d instead of -Av9a.
51754 * sysdeps/sparc/sparc64/Makefile: Likewise.
51755 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
51756 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
51758 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
51760 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
51762 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
51764 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
51765 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
51766 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
51767 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
51768 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
51770 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
51771 fzeros/fnegs to load 0x80000000 into a float register instead of
51773 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
51775 2012-03-14 Joseph Myers <joseph@codesourcery.com>
51777 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
51779 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
51780 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
51781 ($(inst_includedir)/bits/syscall.h): Remove rule.
51782 ($(objpfx)bits/syscall.d): Include instead of
51783 $(objpfx)syscall-list.d.
51784 (generated): Change syscall-list.h and syscall-list.d to
51785 bits/syscall.h and bits/syscall.d.
51787 2012-03-14 Roland McGrath <roland@hack.frob.com>
51790 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
51792 2012-03-14 Joseph Myers <joseph@codesourcery.com>
51795 * math/s_csqrt.c: Include <float.h>.
51796 (__csqrt): Scale large or subnormal inputs.
51797 * math/s_csqrtf.c: Likewise.
51798 * math/s_csqrtl.c: Likewise.
51799 * math/libm-test.inc (csqrt_test): Add more tests.
51800 * sysdeps/i386/fpu/libm-test-ulps: Update.
51801 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51804 * math/libm-test.inc (hypot_test): Add more tests.
51806 2012-03-13 David S. Miller <davem@davemloft.net>
51809 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
51810 double-precision for the calculation instead of scaling.
51812 2012-03-13 Joseph Myers <joseph@codesourcery.com>
51814 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
51815 manipulate bits before adding and subtracting TWO52[sx].
51816 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
51817 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
51819 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
51821 2012-03-13 David S. Miller <davem@davemloft.net>
51823 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
51824 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
51825 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
51826 rtld-global-offsets.h
51827 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
51829 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
51832 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
51834 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
51835 'err' in the ifdef scope in which it is actually used.
51837 * nss/nss_db/db-init.c: Include string.h
51839 2012-03-12 David S. Miller <davem@davemloft.net>
51841 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
51842 masking out of the most significant byte of random value used.
51843 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
51844 Fix coding style in previous change.
51846 * sysdeps/unix/sysv/linux/kernel-features.h
51847 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
51848 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
51850 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
51853 2012-03-11 David S. Miller <davem@davemloft.net>
51855 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
51856 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
51857 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
51858 for 'resultvar' otherwise things get truncated on 64-bit.
51860 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
51861 Fix masking out of the most significant byte of random value used.
51863 * sysdeps/sparc/fpu/libm-test-ulps: Update.
51865 2012-03-10 Andreas Schwab <schwab@linux-m68k.org>
51867 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
51869 2012-03-09 David S. Miller <davem@davemloft.net>
51871 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
51872 variables with appropriate CPP guards.
51873 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
51874 from the frame pointer, not the stack pointer. Correct layout
51875 comments. Fix test on resulting framesize and the management of
51876 the outregs buffer for pltexit. Preserve floating point return
51877 values across _dl_call_pltexit call.
51878 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
51879 framesize and the management of the outregs buffer for pltexit.
51880 Preserve floating point return values across _dl_call_pltexit
51882 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
51883 (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
51884 (la_sparc64_gnu_pltexit): New functions.
51885 (print_exit): Fix format string for return register value.
51887 2012-03-10 Joseph Myers <joseph@codesourcery.com>
51889 * sunrpc/Makefile (others): Add rpcgen.
51890 ($(objpfx)rpcgen): Remove special build rule and dependency on
51892 * sunrpc/rpcgen.c: New file.
51894 2012-03-09 Paul Eggert <eggert@cs.ucla.edu>
51897 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
51898 * stdio-common/bug-vfprintf-nargs.c: Likewise.
51899 * sysdeps/i386/crti.S: Likewise.
51900 * sysdeps/i386/crtn.S: Likewise.
51901 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
51902 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
51903 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
51904 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
51905 * sysdeps/sh/crti.S: Likewise.
51906 * sysdeps/sh/crtn.S: Likewise.
51907 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
51910 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
51912 * locale/programs/locfile-kw.gperf: Likewise.
51913 * locale/programs/charmap-kw.h: Regenerated.
51914 * locale/programs/locfile-kw.h: Likewise.
51917 * intl/plural.y: Replace FSF snail mail address with URL.
51918 * intl/plural.c: Regenerated.
51920 2012-03-09 Richard Henderson <rth@twiddle.net>
51922 * include/math_private.h: Remove file.
51923 * math/math_private.h: Move file ...
51924 * sysdeps/generic/math_private.h: ... here.
51926 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
51927 * sysdeps/powerpc/fpu/math_private.h: Likewise.
51928 * sysdeps/x86_64/fpu/math_private.h: Likewise.
51930 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
51931 and <math_private.h>.
51932 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
51933 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
51934 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
51935 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
51936 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
51937 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
51938 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
51939 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
51940 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
51941 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
51942 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
51943 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
51944 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
51945 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
51946 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
51947 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
51948 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
51949 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
51950 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
51951 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
51952 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
51953 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
51954 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
51955 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
51956 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
51957 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
51958 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
51959 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
51960 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
51961 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
51962 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
51963 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
51964 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
51965 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
51966 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
51967 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
51968 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
51969 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
51970 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
51971 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
51972 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
51973 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
51974 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
51975 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
51976 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
51977 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
51978 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
51979 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
51980 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
51981 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
51982 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
51983 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
51984 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
51985 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
51986 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
51987 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
51988 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
51989 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
51990 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
51991 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
51992 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
51993 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
51994 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
51995 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
51996 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
51997 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
51998 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
51999 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
52000 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
52001 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
52002 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
52003 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
52004 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
52005 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
52006 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
52007 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
52008 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
52009 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
52010 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
52011 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
52012 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
52013 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
52014 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
52015 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
52016 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
52017 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
52018 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
52019 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
52020 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
52021 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
52022 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
52023 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
52024 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
52025 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
52026 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
52027 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
52028 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
52029 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
52030 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
52031 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
52032 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
52033 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
52034 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
52035 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
52036 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
52037 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
52038 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
52039 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
52040 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
52041 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
52042 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
52043 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
52044 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
52045 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
52046 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
52047 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
52048 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
52049 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
52050 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
52051 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
52052 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
52053 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
52054 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
52055 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
52056 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
52057 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
52058 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
52059 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
52060 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
52061 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
52062 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
52063 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
52064 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
52065 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
52066 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
52067 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
52068 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
52069 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
52070 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
52071 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
52072 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
52073 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
52074 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
52075 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
52076 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
52077 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
52078 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
52079 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
52080 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
52081 * sysdeps/ieee754/k_standard.c: Likewise.
52082 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
52083 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
52084 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
52085 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
52086 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
52087 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
52088 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
52089 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
52090 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
52091 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
52092 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
52093 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
52094 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
52095 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
52096 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
52097 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
52098 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
52099 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
52100 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
52101 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
52102 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
52103 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
52104 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
52105 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
52106 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
52107 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
52108 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
52109 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
52110 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
52111 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
52112 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
52113 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
52114 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
52115 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
52116 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
52117 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
52118 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
52119 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
52120 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
52121 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
52122 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
52123 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
52124 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
52125 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
52126 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
52127 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
52128 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
52129 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
52130 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
52131 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
52132 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
52133 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
52134 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
52135 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
52136 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
52137 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
52138 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
52139 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
52140 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
52141 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
52142 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
52143 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
52144 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
52145 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
52146 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
52147 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
52148 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
52149 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
52150 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
52151 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
52152 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
52153 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
52154 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
52155 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
52156 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
52157 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
52158 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
52159 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
52160 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
52161 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
52162 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
52163 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
52164 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
52165 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
52166 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
52167 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
52168 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
52169 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
52170 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
52171 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
52172 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
52173 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
52174 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
52175 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
52176 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
52177 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
52178 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
52179 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
52180 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
52181 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
52182 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
52183 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
52184 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
52185 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
52186 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
52187 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
52188 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
52189 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
52190 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
52191 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
52192 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
52193 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
52194 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
52195 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
52196 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
52197 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
52198 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
52199 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
52200 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
52201 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
52202 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
52203 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
52204 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
52205 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
52206 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
52207 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
52208 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
52209 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
52210 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
52211 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
52212 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
52213 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
52214 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
52215 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
52216 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
52217 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
52218 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
52219 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
52220 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
52221 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
52222 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
52223 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
52224 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
52225 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
52226 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
52227 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
52228 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
52229 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
52230 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
52231 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
52232 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
52233 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
52234 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
52235 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
52236 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
52237 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
52238 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
52239 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
52240 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
52241 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
52242 * sysdeps/ieee754/s_lib_version.c: Likewise.
52243 * sysdeps/ieee754/s_matherr.c: Likewise.
52244 * sysdeps/ieee754/s_signgam.c: Likewise.
52245 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
52246 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
52247 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
52248 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
52249 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
52250 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
52251 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
52252 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
52253 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
52254 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
52255 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
52256 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
52257 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
52258 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
52259 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
52260 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
52261 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
52262 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
52263 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
52264 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
52265 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
52267 2012-03-09 Joseph Myers <joseph@codesourcery.com>
52269 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
52270 * sunrpc/rpc_main.c: Likewise.
52271 * sunrpc/rpc_svcout.c: Likewise.
52273 2012-03-09 David S. Miller <davem@davemloft.net>
52275 * include/math_private.h: New file.
52277 2012-03-09 Joseph Myers <joseph@codesourcery.com>
52279 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
52280 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
52281 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
52282 from <bits/socket_type.h>.
52283 (enum __socket_type): Don't define here.
52284 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
52285 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
52286 bits/socket_type.h.
52289 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
52290 checking __USE_GNU.
52292 * Makerules ($(inst_includedir)/%.h): New rule.
52293 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
52294 (install-others): Remove variable setting.
52295 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
52297 2012-03-08 Richard Henderson <rth@twiddle.net>
52299 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
52300 from macro to inline function; merge with the
52301 !__LIBC_INTERNAL_MATH_INLINES version.
52302 (__ieee754_sqrtf): Likewise.
52304 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
52305 to inline function.
52306 (__rintf, __floor, __floorf): Likewise.
52308 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
52309 macro to inline function.
52310 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
52312 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
52313 not <math/math_private.h>.
52315 2012-03-08 David S. Miller <davem@davemloft.net>
52317 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
52319 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
52321 2012-03-08 Thomas Schwinge <thomas@codesourcery.com>
52323 * resolv/gai_misc.c (handle_requests): Fix struct timespec
52325 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
52326 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
52328 2012-03-08 Ulrich Drepper <drepper@gmail.com>
52330 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
52331 be defined individually, they must be defined as a block. Define
52332 S for printing a string instead of hidint the different by using a
52333 macro for adding the 'l'.
52334 * stdio-common/tst-fphex-wide.c: Adjust.
52336 2012-03-07 Marek Polacek <polacek@redhat.com>
52338 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
52340 2012-03-08 Marek Polacek <polacek@redhat.com>
52343 * stdio-common/Makefile (tests): Add tst-fphex-wide.
52344 * stdio-common/tst-fphex.c: Define a few macros to make the
52345 test reusable. Use them.
52346 * stdio-common/tst-fphex-wide.c: New file.
52348 2012-03-08 Joseph Myers <joseph@codesourcery.com>
52351 * manual/macros.texi (gnusystems): New macro.
52352 (nongnusystems): Likewise.
52353 (gnulinuxhurdsystems): Likewise.
52354 (gnuhurdsystems): Likewise..
52355 (gnulinuxsystems): Likewise.
52356 * manual/charset.texi: Use new macros or @theglibc{} to refer to
52357 variants of the GNU system, not "GNU system".
52358 * manual/conf.texi: Likewise.
52359 * manual/errno.texi: Likewise. Update example of errno macro
52361 * manual/filesys.texi: Likewise.
52362 (getumask): Document as specific to GNU/Hurd.
52363 * manual/install.texi: Likewise. Reword some references to
52365 * manual/intro.texi: Likewise.
52366 * manual/io.texi: Likewise.
52367 (File Name Portability): Detail which constraints are inapplicable
52368 to all GNU systems and which are only inapplicable to GNU/Hurd.
52369 * manual/job.texi: Likewise.
52370 * manual/llio.texi: Likewise.
52371 (O_NOCTTY): Document as present on GNU/Linux.
52372 * manual/maint.texi: Likewise.
52373 * manual/memory.texi: Likewise.
52374 * manual/pattern.texi: Likewise.
52375 * manual/pipe.texi: Likewise.
52376 * manual/process.texi: Likewise.
52377 * manual/resource.texi: Likewise.
52378 (RUSAGE_CHILDREN): Remove statement about specifying a particular
52380 * manual/setjmp.texi: Likewise.
52381 * manual/signal.texi: Likewise.
52382 * manual/startup.texi: Likewise.
52383 * manual/stdio.texi: Likewise.
52384 * manual/terminal.texi: Likewise.
52385 (ONLCR): Document as POSIX.
52386 (OXTABS): Document availability on GNU/Linux as XTABS.
52387 (ONOEOT): Document availability separately from other bits.
52388 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
52389 * manual/time.texi: Likewise.
52390 * manual/users.texi: Likewise.
52391 * INSTALL: Regenerated.
52392 * sysdeps/gnu/errlist.c: Regenerated.
52394 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
52395 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
52396 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
52398 * configure: Regenerated.
52400 2012-03-07 Joseph Myers <joseph@codesourcery.com>
52402 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
52403 default includes instead of AC_HEADER_CHECK.
52404 * sysdeps/i386/configure: Regenerated.
52407 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
52408 * math/s_cacoshf.c (__cacoshf): Likewise.
52409 * math/s_cacoshl.c (__cacoshl): Likewise.
52410 * math/s_casinh.c (__casinh): Set signs of result from argument.
52411 * math/s_casinhf.c (__casinhf): Likewise.
52412 * math/s_casinhl.c (__casinhl): Likewise.
52413 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
52414 (casinh_test): Add more tests.
52415 * sysdeps/i386/fpu/libm-test-ulps: Update.
52416 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52418 2012-03-07 Ulrich Drepper <drepper@gmail.com>
52420 * po/zh_TW.po: Update from translation team.
52422 * login/Makefile (distribute): Remove variable.
52423 * catgets/Makefile: Likewise.
52424 * mach/Makefile: Likewise.
52425 * malloc/Makefile: Likewise.
52426 * misc/Makefile: Likewise.
52427 * iconv/Makefile: Likewise.
52428 * nscd/Makefile: Likewise.
52429 * hurd/Makefile: Likewise.
52430 * manual/Makefile: Likewise.
52431 * locale/Makefile: Likewise.
52432 * intl/Makefile: Likewise.
52433 * conform/Makefile: Likewise.
52434 * nss/Makefile: Likewise.
52435 * time/Makefile: Likewise.
52436 * soft-fp/Makefile: Likewise.
52437 * dirent/Makefile: Likewise.
52438 * gmon/Makefile: Likewise.
52439 * po/Makefile: Likewise.
52440 * rt/Makefile: Likewise.
52441 * socket/Makefile: Likewise.
52442 * math/Makefile: Likewise.
52443 * signal/Makefile: Likewise.
52444 * debug/Makefile: Likewise.
52445 * elf/Makefile: Likewise.
52446 * timezone/Makefile: Likewise.
52447 * stdlib/Makefile: Likewise.
52448 * iconvdata/Makefile: Likewise.
52449 * sunrpc/Makefile: Likewise.
52450 * io/Makefile: Likewise.
52451 * argp/Makefile: Likewise.
52452 * inet/Makefile: Likewise.
52453 * hesiod/Makefile: Likewise.
52454 * grp/Makefile: Likewise.
52455 * csu/Makefile: Likewise.
52456 * wctype/Makefile: Likewise.
52457 * crypt/Makefile: Likewise.
52458 * libio/Makefile: Likewise.
52459 * string/Makefile: Likewise.
52460 * nis/Makefile: Likewise.
52461 * resolv/Makefile: Likewise.
52462 * stdio-common/Makefile: Likewise.
52463 * wcsmbs/Makefile: Likewise.
52464 * dlfcn/Makefile: Likewise.
52465 * posix/Makefile: Likewise.
52468 * timezone/Makefile: Don't install timezone files, just the programs
52471 2012-03-06 Ulrich Drepper <drepper@gmail.com>
52473 * nss/databases.def: Add missing gshadow entry.
52475 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
52477 2012-03-06 Marek Polacek <polacek@redhat.com>
52480 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
52481 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
52482 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
52483 * stdio-common/tst-long-dbl-fphex.c: New file.
52485 2012-03-06 David S. Miller <davem@davemloft.net>
52487 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
52488 (set_obp_int): New function.
52489 (get_obp_int): New function.
52490 (__get_clockfreq_via_dev_openprom): Likewise.
52491 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
52492 Avoid unused variable warnings on 'val' and use builtin_expect.
52493 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
52495 (INLINE_CLONE_SYSCALL): Likewise.
52497 2012-03-05 David S. Miller <davem@davemloft.net>
52499 * sysdeps/sparc/fpu/libm-test-ulps: Update.
52501 2012-03-05 Andreas Schwab <schwab@linux-m68k.org>
52503 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
52505 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
52506 only for |x| >= 40.
52507 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
52509 2012-03-05 H.J. Lu <hongjiu.lu@intel.com>
52511 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
52512 Replace gettimeofday with __vdso_gettimeofday.
52514 * sysdeps/unix/sysv/linux/x86_64/init-first.c
52515 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
52516 __vdso_clock_gettime and __vdso_getcpu.
52518 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
52519 time with __vdso_time.
52521 2012-03-05 Joseph Myers <joseph@codesourcery.com>
52523 * manual/lang.texi (size_t): Note types to which size_t may be
52524 equivalent with the GNU C Library, but do not describe when
52525 differences between them are significant.
52527 2012-03-05 Andreas Jaeger <aj@suse.de>
52529 * sysdeps/i386/fpu/libm-test-ulps: Update.
52531 2012-03-05 Joseph Myers <joseph@codesourcery.com>
52534 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
52535 (__ieee754_pow): Save and restore rounding mode and use
52536 round-to-nearest for main computations.
52537 * math/libm-test.inc (pow_test_tonearest): New function.
52538 (pow_test_towardzero): Likewise.
52539 (pow_test_downward): Likewise.
52540 (pow_test_upward): Likewise.
52541 (main): Call the new functions.
52542 * sysdeps/i386/fpu/libm-test-ulps: Update.
52543 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52546 * math/libm-test.inc (cosh_test_tonearest): New function.
52547 (cosh_test_towardzero): Likewise.
52548 (cosh_test_downward): Likewise.
52549 (cosh_test_upward): Likewise.
52550 (sinh_test_tonearest): Likewise.
52551 (sinh_test_towardzero): Likewise.
52552 (sinh_test_downward): Likewise.
52553 (sinh_test_upward): Likewise.
52554 (main): Call the new functions.
52555 * sysdeps/i386/fpu/libm-test-ulps: Update.
52556 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52558 2012-03-05 Tom de Vries <tom@codesourcery.com>
52560 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
52561 default stack guard is set in last bytes.
52562 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
52564 2012-03-05 Kees Cook <keescook@chromium.org>
52566 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
52569 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
52570 possibly allocate from heap instead of stack.
52571 * stdio-common/bug-vfprintf-nargs.c: New file.
52572 * stdio-common/Makefile (tests): Add nargs overflow test.
52574 2012-03-03 Andreas Schwab <schwab@linux-m68k.org>
52576 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
52578 2012-03-03 Marek Polacek <polacek@redhat.com>
52580 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
52581 * math/math_private.h: Likewise.
52582 * stdlib/tst-strtod.c: Likewise.
52583 * sysdeps/i386/i486/bits/atomic.h: Likewise.
52584 * sysdeps/x86_64/bits/atomic.h: Likewise.
52586 2012-03-02 David S. Miller <davem@davemloft.net>
52588 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
52589 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
52590 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
52591 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
52592 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
52593 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
52594 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
52595 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
52597 2012-03-02 Roland McGrath <roland@hack.frob.com>
52600 * manual/examples/README: New file, says the example source files
52601 can be used under GPL>=2.
52602 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
52603 line containing just "*/".
52604 * manual/examples/add.c: Add copyright header (GPL>=2).
52605 * manual/examples/argp-ex1.c: Likewise.
52606 * manual/examples/argp-ex2.c: Likewise.
52607 * manual/examples/argp-ex3.c: Likewise.
52608 * manual/examples/argp-ex4.c: Likewise.
52609 * manual/examples/atexit.c: Likewise.
52610 * manual/examples/db.c: Likewise.
52611 * manual/examples/dir.c: Likewise.
52612 * manual/examples/dir2.c: Likewise.
52613 * manual/examples/execinfo.c: Likewise.
52614 * manual/examples/filecli.c: Likewise.
52615 * manual/examples/filesrv.c: Likewise.
52616 * manual/examples/fmtmsgexpl.c: Likewise.
52617 * manual/examples/genpass.c: Likewise.
52618 * manual/examples/inetcli.c: Likewise.
52619 * manual/examples/inetsrv.c: Likewise.
52620 * manual/examples/isockad.c: Likewise.
52621 * manual/examples/longopt.c: Likewise.
52622 * manual/examples/memopen.c: Likewise.
52623 * manual/examples/memstrm.c: Likewise.
52624 * manual/examples/mkfsock.c: Likewise.
52625 * manual/examples/mkisock.c: Likewise.
52626 * manual/examples/mygetpass.c: Likewise.
52627 * manual/examples/pipe.c: Likewise.
52628 * manual/examples/popen.c: Likewise.
52629 * manual/examples/rprintf.c: Likewise.
52630 * manual/examples/search.c: Likewise.
52631 * manual/examples/select.c: Likewise.
52632 * manual/examples/setjmp.c: Likewise.
52633 * manual/examples/sigh1.c: Likewise.
52634 * manual/examples/sigusr.c: Likewise.
52635 * manual/examples/stpcpy.c: Likewise.
52636 * manual/examples/strdupa.c: Likewise.
52637 * manual/examples/strftim.c: Likewise.
52638 * manual/examples/strncat.c: Likewise.
52639 * manual/examples/subopt.c: Likewise.
52640 * manual/examples/swapcontext.c: Likewise.
52641 * manual/examples/termios.c: Likewise.
52642 * manual/examples/testopt.c: Likewise.
52643 * manual/examples/testpass.c: Likewise.
52644 * manual/examples/timeval_subtract.c: Likewise.
52647 * manual/time.texi (Elapsed Time): Move timeval_subtract example
52649 * manual/timeval_subtract.c.texi: ... here, new file.
52651 2012-03-02 David S. Miller <davem@davemloft.net>
52653 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
52655 2012-03-02 Joseph Myers <joseph@codesourcery.com>
52658 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
52659 (__sin): Save and restore rounding mode and use round-to-nearest
52660 for all computations.
52661 (__cos): Save and restore rounding mode and use round-to-nearest
52662 for all computations.
52663 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
52665 (tan): Save and restore rounding mode and use round-to-nearest for
52667 * math/libm-test.inc (cos_test_tonearest): New function.
52668 (cos_test_towardzero): Likewise.
52669 (cos_test_downward): Likewise.
52670 (cos_test_upward): Likewise.
52671 (sin_test_tonearest): Likewise.
52672 (sin_test_towardzero): Likewise.
52673 (sin_test_downward): Likewise.
52674 (sin_test_upward): Likewise.
52675 (tan_test_tonearest): Likewise.
52676 (tan_test_towardzero): Likewise.
52677 (tan_test_downward): Likewise.
52678 (tan_test_upward): Likewise.
52679 (main): Call the new functions.
52680 * sysdeps/i386/fpu/libm-test-ulps: Update.
52681 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52684 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
52685 small n, then large n, before computing and testing k+n.
52686 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
52687 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
52689 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
52691 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
52692 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
52693 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
52694 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
52695 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
52696 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
52697 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
52698 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
52699 * math/libm-test.inc (scalbn_test): Add more tests.
52700 (scalbln_test): Likewise.
52702 * manual/filesys.texi (mode_t): Describe constraints on size and
52703 signedness, not exact equivalence to a particular type.
52705 (ino64_t): Likewise.
52707 (nlink_t): Likewise.
52708 (blkcnt_t): Likewise.
52709 (blkcnt64_t): Likewise.
52710 * manual/llio.texi (off_t): Likewise.
52713 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
52714 (__ieee754_exp): Save and restore rounding mode and use
52715 round-to-nearest for all computations.
52716 * math/libm-test.inc (exp_test_tonearest): New function.
52717 (exp_test_towardzero): Likewise.
52718 (exp_test_downward): Likewise.
52719 (exp_test_upward): Likewise.
52720 (main): Call the new functions.
52721 * sysdeps/i386/fpu/libm-test-ulps: Update.
52722 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52724 2012-03-01 Chris Demetriou <cgd@google.com>
52726 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
52727 have predictable order.
52729 2012-03-01 David S. Miller <davem@davemloft.net>
52731 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
52733 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
52734 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
52735 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
52736 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
52738 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
52739 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
52740 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
52741 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
52742 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
52743 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
52744 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
52745 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
52746 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
52748 * sysdeps/sparc/fpu/libm-test-ulps: Update.
52750 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
52751 * sysdeps/sparc/fpu/libm-test-ulps: to here.
52752 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
52754 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
52755 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
52756 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
52757 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
52758 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
52759 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
52760 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
52761 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
52762 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
52763 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
52764 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
52765 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
52766 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
52767 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
52768 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
52769 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
52770 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
52771 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
52772 * sysdeps/sparc/elf/configure: Regenerated.
52774 2012-03-01 Joseph Myers <joseph@codesourcery.com>
52776 * configure.in (AS, LD): Require binutils 2.20 or later.
52777 * configure: Regenerated.
52778 * manual/install.texi (Tools for Compilation): Give binutils 2.20
52779 as required minimum version.
52780 * INSTALL: Regenerated.
52784 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
52785 before squaring exponent.
52786 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
52787 bottom long double and 27 bits of top long double before squaring
52789 * math/libm-test.inc (erfc_test): Add more tests.
52790 * sysdeps/i386/fpu/libm-test-ulps: Update.
52791 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
52792 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52794 2012-03-01 Kai Tietz <ktietz@redhat.com>
52796 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
52797 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
52798 containing bit-fields.
52799 * soft-fp/extended.h (_FP_UNION_E): Likewise.
52800 * soft-fp/single.h (_FP_UNION_S): Likewise.
52801 * soft-fp/double.h (_FP_UNION_D): Likewise.
52803 2012-02-29 Joseph Myers <joseph@codesourcery.com>
52806 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
52807 not include ../strcmp.S.
52808 [USE_AS_STRNCASECMP_L]: Likewise.
52809 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
52810 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
52811 * sysdeps/i386/i686/multiarch/strncase_l-c.c
52812 (__strncasecmp_l_ia32): Define as alias to
52813 __strncasecmp_l_nonascii.
52816 * math/libm-test.inc (expm1_test): Add test for bug 5794.
52817 * sysdeps/i386/fpu/libm-test-ulps: Update.
52818 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52820 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
52821 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52823 2012-02-29 Jeff Law <law@redhat.com>
52825 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
52826 out of bounds read.
52828 2012-02-29 Marek Polacek <polacek@redhat.com>
52831 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
52832 * elf/Makefile: Add rules to run tst-unused-dep.out.
52834 2012-02-28 David S. Miller <davem@davemloft.net>
52836 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
52837 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
52838 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
52839 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
52840 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
52841 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
52843 2012-02-29 Joseph Myers <joseph@codesourcery.com>
52845 * math/libm-test.inc (llround_test): Move one test from
52846 lround_test. Use TEST_f_L in moved test.
52847 (lround_test): Move misplaced test to llround_test. Add testcase
52850 2012-02-28 Ulrich Drepper <drepper@gmail.com>
52852 * sysdeps/x86_64/fpu/e_expf.S: New file.
52853 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
52855 2012-02-28 Stanislav Brabec <sbrabec@suse.cz>
52858 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
52859 of remain_len that may cause incomplete multi-byte character and
52861 * posix/bug-regex33.c: New file.
52862 * posix/Makefile (tests): Add bug-regex33.
52864 2012-02-28 Joseph Myers <joseph@codesourcery.com>
52866 * manual/macros.texi: New file.
52867 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
52868 * manual/libc.texinfo: Include macros.texi.
52869 * manual/creatute.texi: Likewise.
52870 * manual/install.texi: Likewise.
52871 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
52872 @glibcadj{} in references to the GNU C Library.
52873 * manual/charset.texi: Likewise.
52874 * manual/conf.texi: Likewise.
52875 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
52876 when not using those macros.
52877 * manual/creature.texi: Likewise.
52878 * manual/crypt.texi: Likewise.
52879 * manual/errno.texi: Likewise.
52880 * manual/filesys.texi: Likewise.
52881 * manual/header.texi: Likewise.
52882 * manual/install.texi: Likewise.
52883 * manual/intro.texi: Likewise.
52884 * manual/io.texi: Likewise.
52885 * manual/job.texi: Likewise.
52886 * manual/lang.texi: Likewise.
52887 * manual/libc.texiinfo: Likewise.
52888 * manual/llio.texi: Likewise.
52889 * manual/locale.texi: Likewise.
52890 * manual/maint.texi: Likewise.
52891 * manual/math.texi: Likewise.
52892 * manual/memory.texi: Likewise.
52893 * manual/message.texi: Likewise.
52894 * manual/nss.texi: Likewise.
52895 * manual/pattern.texi: Likewise.
52896 * manual/process.texi: Likewise.
52897 * manual/resource.texi: Likewise.
52898 * manual/search.texi: Likewise.
52899 * manual/setjmp.texi: Likewise.
52900 * manual/signal.texi: Likewise.
52901 * manual/socket.texi: Likewise.
52902 * manual/startup.texi: Likewise.
52903 * manual/stdio.texi: Likewise.
52904 * manual/string.texi: Likewise.
52905 * manual/sysinfo.texi: Likewise.
52906 * manual/syslog.texi: Likewise.
52907 * manual/terminal.texi: Likewise.
52908 * manual/time.texi: Likewise.
52909 * manual/users.texi: Likewise.
52910 * INSTALL: Regenerated.
52911 * NOTES: Regenerated.
52912 * sysdeps/gnu/errlist.c: Regenerated.
52914 2012-02-28 Andreas Schwab <schwab@linux-m68k.org>
52916 * include/dirent.h: Include <dirstream.h> before
52919 2012-02-28 David S. Miller <davem@davemloft.net>
52921 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
52922 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
52923 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
52924 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
52926 2012-02-27 David S. Miller <davem@davemloft.net>
52928 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
52929 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
52930 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
52931 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
52933 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
52934 frame pointer instead of stack pointer relative arg slot.
52935 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
52936 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
52937 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
52939 2012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
52942 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
52944 2012-02-27 David S. Miller <davem@davemloft.net>
52946 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
52947 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
52948 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
52949 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
52950 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
52951 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
52952 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
52953 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
52955 2012-02-27 Joseph Myers <joseph@codesourcery.com>
52957 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
52958 later. Allow versions 5-9.
52959 * configure: Regenerated.
52960 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
52961 required minimum version and 4.6 as recommended version. Do not
52962 mention bugs in GCC 2.7 and 2.8.
52963 * INSTALL: Regenerated.
52965 2012-02-27 David S. Miller <davem@davemloft.net>
52967 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
52968 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
52969 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
52970 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
52971 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
52972 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
52973 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
52974 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
52976 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
52977 manipulate bits before adding and subtracting TWO112[sx].
52978 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
52980 2012-02-27 Roland McGrath <roland@hack.frob.com>
52983 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
52984 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
52985 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
52986 being in POSIX, because they are in 1003.1-2008.
52988 * rt/tst-aio.c: Include <fcntl.h>.
52989 * rt/tst-aio7.c: Likewise.
52990 * rt/tst-aio64.c: Likewise.
52992 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
52994 2012-02-27 Joseph Myers <joseph@codesourcery.com>
52996 * manual/install.texi (--with-headers): Describe headers as
52997 interface headers, not private headers.
52998 (Specific advice for GNU/Linux systems): Describe use of headers
52999 from "make headers_install", not private headers from older
53001 * INSTALL: Regenerated.
53002 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
53004 * sysdeps/unix/sysv/linux/configure: Regenerated.
53006 * manual/llio.texi (fclean): Remove documentation.
53008 * manual/Makefile (libc-texi-generated): New variable. Include
53010 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
53011 $(libc-texi-generated), not duplicated list of files.
53012 (version.texi, stamp-version): New rules.
53013 (realclean): Remove $(libc-texi-generated), not individual files
53014 from that list. Do not remove dir-add.texinfo.
53015 * manual/libc.texinfo: Comment out uses of edition numbers and
53016 references to printed manual. Remove last-updated dates.
53017 (EDITION): Comment out.
53019 (VERSION, UPDATED): Remove.
53020 (version.texi): Include.
53022 2012-02-27 Andreas Schwab <schwab@linux-m68k.org>
53024 * sysdeps/posix/spawni.c: Include <signal.h>.
53025 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
53026 * sysdeps/pthread/aio_fsync.c: Likewise.
53028 2012-02-26 Ulrich Drepper <drepper@gmail.com>
53030 * conform/Makefile (tests): Run only when not cross-compiling and
53031 when fast-check is not defined.
53033 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
53034 * conform/data/limits.h-data: Fixes for POSIX2008.
53035 * conform/run-conformtest.sh: Run all tests.
53036 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
53038 * include/bits/dlfcn.h: Likewise.
53039 * include/langinfo.h: Likewise.
53040 * include/monetary.h: Likewise.
53041 * include/sys/poll.h: Likewise.
53043 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
53045 * posix/spawn.h: Define __need_sigset_t.
53046 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
53047 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
53048 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
53049 to get sigevent_t only.
53050 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
53051 only for __USE_GNU.
53052 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
53053 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
53054 process_vm_writev only for __USE_GNU.
53055 * termios/termios.h: Declare tcgetsid also for POSIX2008.
53057 * conform/Makefile: For now ignore errors from run-conformtest.
53058 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
53059 POSIX to avoid namespace pollution. Don't prepend headers.
53060 * conform/data/aio.h-data: Fixes for POSIX testing.
53061 * conform/data/fcntl.h-data: Likewise.
53062 * conform/data/glob.h-data: Likewise.
53063 * conform/data/grp.h-data: Likewise.
53064 * conform/data/pthread.h-data: Likewise.
53065 * conform/data/pwd.h-data: Likewise.
53066 * conform/data/signal.h-data: Likewise.
53067 * conform/data/spawn.h-data: Likewise.
53068 * conform/data/stdio.h-data: Likewise.
53069 * conform/data/stdlib.h-data: Likewise.
53070 * conform/data/stropts.h-data: Likewise.
53071 * conform/data/sys/mman.h-data: Likewise.
53072 * conform/data/sys/stat.h-data: Likewise.
53073 * conform/data/sys/types.h-data: Likewise.
53074 * conform/data/sys/wait.h-data: Likewise.
53075 * conform/data/time.h-data: Likewise.
53076 * conform/data/unistd.h-data: Likewise.
53077 * conform/data/utime.h-data: Likewise.
53079 * io/sys/stat.h: fchmod was always in POSIX.
53080 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
53081 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
53082 * rt/aio.h: Define __need_timespec before including <time.h>.
53083 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
53084 struct. Add forward declaration of pthread_attr_t and use it in
53086 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
53087 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
53088 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
53089 always remove CLK_TCK definition.
53091 2012-02-26 Andreas Schwab <schwab@linux-m68k.org>
53093 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
53095 2012-02-25 Ulrich Drepper <drepper@gmail.com>
53097 * conform/run-conformtest.sh: New file.
53098 * conform/Makefile: Run run-conformtest for tests.
53099 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
53102 * conform/data/uchar.h-data: New file.
53103 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
53104 * conform/data/arpa/inet.h-data: Likewise.
53105 * conform/data/assert.h-data: Likewise.
53106 * conform/data/complex.h-data: Likewise.
53107 * conform/data/cpio.h-data: Likewise.
53108 * conform/data/ctype.h-data: Likewise.
53109 * conform/data/dirent.h-data: Likewise.
53110 * conform/data/dlfcn.h-data: Likewise.
53111 * conform/data/errno.h-data: Likewise.
53112 * conform/data/fcntl.h-data: Likewise.
53113 * conform/data/float.h-data: Likewise.
53114 * conform/data/fmtmsg.h-data: Likewise.
53115 * conform/data/fnmatch.h-data: Likewise.
53116 * conform/data/ftw.h-data: Likewise.
53117 * conform/data/glob.h-data: Likewise.
53118 * conform/data/grp.h-data: Likewise.
53119 * conform/data/iconv.h-data: Likewise.
53120 * conform/data/inttypes.h-data: Likewise.
53121 * conform/data/langinfo.h-data: Likewise.
53122 * conform/data/libgen.h-data: Likewise.
53123 * conform/data/limits.h-data: Likewise.
53124 * conform/data/locale.h-data: Likewise.
53125 * conform/data/math.h-data: Likewise.
53126 * conform/data/monetary.h-data: Likewise.
53127 * conform/data/mqueue.h-data: Likewise.
53128 * conform/data/ndbm.h-data: Likewise.
53129 * conform/data/net/if.h-data: Likewise.
53130 * conform/data/netdb.h-data: Likewise.
53131 * conform/data/netinet/in.h-data: Likewise.
53132 * conform/data/nl_types.h-data: Likewise.
53133 * conform/data/poll.h-data: Likewise.
53134 * conform/data/pthread.h-data: Likewise.
53135 * conform/data/pwd.h-data: Likewise.
53136 * conform/data/regex.h-data: Likewise.
53137 * conform/data/sched.h-data: Likewise.
53138 * conform/data/search.h-data: Likewise.
53139 * conform/data/semaphore.h-data: Likewise.
53140 * conform/data/setjmp.h-data: Likewise.
53141 * conform/data/signal.h-data: Likewise.
53142 * conform/data/spawn.h-data: Likewise.
53143 * conform/data/stdarg.h-data: Likewise.
53144 * conform/data/stdio.h-data: Likewise.
53145 * conform/data/stdlib.h-data: Likewise.
53146 * conform/data/string.h-data: Likewise.
53147 * conform/data/strings.h-data: Likewise.
53148 * conform/data/stropts.h-data: Likewise.
53149 * conform/data/sys/ipc.h-data: Likewise.
53150 * conform/data/sys/mman.h-data: Likewise.
53151 * conform/data/sys/msg.h-data: Likewise.
53152 * conform/data/sys/resource.h-data: Likewise.
53153 * conform/data/sys/select.h-data: Likewise.
53154 * conform/data/sys/sem.h-data: Likewise.
53155 * conform/data/sys/shm.h-data: Likewise.
53156 * conform/data/sys/socket.h-data: Likewise.
53157 * conform/data/sys/stat.h-data: Likewise.
53158 * conform/data/sys/statvfs.h-data: Likewise.
53159 * conform/data/sys/time.h-data: Likewise.
53160 * conform/data/sys/timeb.h-data: Likewise.
53161 * conform/data/sys/times.h-data: Likewise.
53162 * conform/data/sys/types.h-data: Likewise.
53163 * conform/data/sys/uio.h-data: Likewise.
53164 * conform/data/sys/un.h-data: Likewise.
53165 * conform/data/sys/utsname.h-data: Likewise.
53166 * conform/data/sys/wait.h-data: Likewise.
53167 * conform/data/syslog.h-data: Likewise.
53168 * conform/data/tar.h-data: Likewise.
53169 * conform/data/termios.h-data: Likewise.
53170 * conform/data/utime.h-data: Likewise.
53171 * conform/data/utmpx.h-data: Likewise.
53172 * conform/data/varargs.h-data: Likewise.
53173 * conform/data/wchar.h-data: Likewise.
53174 * conform/data/wctype.h-data: Likewise.
53175 * conform/data/wordexp.h-data: Likewise.
53177 * include/stropts.h: New file.
53178 * include/uchar.h: New file.
53179 * include/aio.h: Changes to allow conformtest.pl to use the headers.
53180 * include/assert.h: Likewise.
53181 * include/ctype.h: Likewise.
53182 * include/dirent.h: Likewise.
53183 * include/dlfcn.h: Likewise.
53184 * include/fcntl.h: Likewise.
53185 * include/fnmatch.h: Likewise.
53186 * include/glob.h: Likewise.
53187 * include/grp.h: Likewise.
53188 * include/libio.h: Likewise.
53189 * include/locale.h: Likewise.
53190 * include/math.h: Likewise.
53191 * include/net/if.h: Likewise.
53192 * include/netdb.h: Likewise.
53193 * include/netinet/in.h: Likewise.
53194 * include/pthread.h: Likewise.
53195 * include/pwd.h: Likewise.
53196 * include/regex.h: Likewise.
53197 * include/sched.h: Likewise.
53198 * include/search.h: Likewise.
53199 * include/setjmp.h: Likewise.
53200 * include/signal.h: Likewise.
53201 * include/stdio.h: Likewise.
53202 * include/stdlib.h: Likewise.
53203 * include/string.h: Likewise.
53204 * include/sys/cdefs.h: Likewise.
53205 * include/sys/mman.h: Likewise.
53206 * include/sys/msg.h: Likewise.
53207 * include/sys/resource.h: Likewise.
53208 * include/sys/select.h: Likewise.
53209 * include/sys/socket.h: Likewise.
53210 * include/sys/stat.h: Likewise.
53211 * include/sys/statvfs.h: Likewise.
53212 * include/sys/time.h: Likewise.
53213 * include/sys/times.h: Likewise.
53214 * include/sys/uio.h: Likewise.
53215 * include/sys/utsname.h: Likewise.
53216 * include/sys/wait.h: Likewise.
53217 * include/termios.h: Likewise.
53218 * include/time.h: Likewise.
53219 * include/ulimit.h: Likewise.
53220 * include/unistd.h: Likewise.
53221 * include/utime.h: Likewise.
53222 * include/wchar.h: Likewise.
53223 * include/wctype.h: Likewise.
53224 * include/wordexp.h: Likewise.
53226 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
53228 * time/time.h: TIME_UTC must be a macro.
53229 Make timespec_get available for ISO C11 only as well.
53231 2012-02-24 Ulrich Drepper <drepper@gmail.com>
53233 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
53234 Reported by Peng Haitao <penght@cn.fujitsu.com>.
53236 2012-02-24 Joseph Myers <joseph@codesourcery.com>
53238 * configure.in: Use -o not -a in test for unsupported multi-arch.
53240 2012-02-24 Joseph Myers <joseph@codesourcery.com>
53242 * manual/texinfo.tex: Update to version 2012-01-19.16.
53244 2012-02-24 Joseph Myers <joseph@codesourcery.com>
53246 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
53248 2012-02-24 Roland McGrath <roland@hack.frob.com>
53251 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
53252 * manual/fdl-1.3.texi: New file.
53253 * manual/fdl-1.1.texi: File removed.
53256 * manual/libc.texinfo (FDL_VERSION): New @set.
53257 Use it for mention of FDL in cover text.
53258 (Documentation License): Use it in @include file name.
53260 2012-02-22 Joseph Myers <joseph@codesourcery.com>
53261 Roland McGrath <roland@hack.frob.com>
53264 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
53265 (not LONG_LONG_MAX and LONG_LONG_MIN.
53266 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
53267 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
53269 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
53271 2012-02-22 Joseph Myers <joseph@codesourcery.com>
53275 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
53276 manipulate bits before adding and subtracting TWO23[sx].
53277 * math/libm-test.inc (nearbyint_test): Add more tests.
53279 2012-02-22 Joseph Myers <joseph@codesourcery.com>
53282 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
53283 bits before adding and subtracting TWO23[sx].
53284 * math/libm-test.inc (rint_test): Add more tests.
53285 (rint_test_tonearest): Likewise.
53286 (rint_test_towardzero): Likewise.
53287 (rint_test_downward): Likewise.
53288 (rint_test_upward: Likewise.
53290 2012-02-22 Joseph Myers <joseph@codesourcery.com>
53293 * include/stdc-predef.h: New file. Extracted from features.h.
53294 * include/features.h: Include stdc-predef.h.
53295 * Makefile (headers): Add stdc-predef.h.
53296 * CONFORMANCE (Compiler limitations): Update.
53298 2012-02-22 Joseph Myers <joseph@codesourcery.com>
53300 * manual/libc.texinfo (VERSION, UPDATED): Revert.
53302 2012-02-21 David S. Miller <davem@davemloft.net>
53304 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
53305 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
53307 2012-02-20 David S. Miller <davem@davemloft.net>
53309 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
53310 using a normal save/restore sequence, rather than allocating a
53311 dummy stack frame just to store a frame pointer and restore.
53312 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
53314 2012-02-21 Joseph Myers <joseph@codesourcery.com>
53316 * manual/install.texi: Fix stray word in line-wrapped comment.
53318 2012-02-20 David S. Miller <davem@davemloft.net>
53320 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
53321 both binutils and gcc support GOTDATA.
53323 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
53324 "rd %pc" in the PIC register setup sequences.
53326 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
53327 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
53328 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
53329 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
53330 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
53331 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
53332 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
53333 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
53334 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
53335 (SYSCALL_ERROR_HANDLER): Likewise.
53336 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
53337 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
53338 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
53339 (SYSCALL_ERROR_HANDLER): Likewise.
53341 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
53342 (HAVE_GCC_GOTDATA): New.
53343 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
53344 relocation support in both binutils and gcc.
53345 * sysdeps/sparc/elf/configure: Regenerate.
53347 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
53348 * sysdeps/sparc/sparc32/elf/configure: Delete.
53349 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
53350 * sysdeps/sparc/sparc64/elf/configure: Delete.
53351 * sysdeps/sparc/elf/configure.in: New file.
53352 * sysdeps/sparc/elf/configure: Generate.
53354 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
53355 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
53356 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
53357 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
53358 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
53360 2012-02-21 Joseph Myers <joseph@codesourcery.com>
53362 * manual/install.texi: Do not mention specific glibc version
53364 * manual/libc.texinfo (VERSION, UPDATED): Update.
53365 (@copying): Use @copyright{} and range of years.
53367 2012-02-21 Joseph Myers <joseph@codesourcery.com>
53370 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
53371 [crti.S not in sysdirs] (generated): Do not append.
53372 [crti.S not in sysdirs] (omit-deps): Likewise.
53373 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
53374 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
53375 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
53376 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
53377 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
53379 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
53380 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
53381 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
53382 * csu/defs.awk: Remove file.
53383 * sysdeps/generic/initfini.c: Likewise.
53384 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
53386 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
53389 2012-02-20 Joseph Myers <joseph@codesourcery.com>
53391 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
53392 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
53393 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
53394 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
53395 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
53396 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
53398 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
53399 (__EPOLL_PACKED): Define to empty if not defined by
53401 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
53402 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
53405 2012-02-20 Joseph Myers <joseph@codesourcery.com>
53407 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
53408 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
53409 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
53410 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
53412 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
53413 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
53416 2012-02-20 Joseph Myers <joseph@codesourcery.com>
53418 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
53420 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
53421 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
53422 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
53423 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53425 2012-02-20 Aurelien Jarno <aurelien@aurel32.net>
53427 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
53428 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
53430 2012-02-19 Andreas Schwab <schwab@linux-m68k.org>
53432 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
53433 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
53435 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
53437 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
53440 2012-02-19 Aurelien Jarno <aurelien@aurel32.net>
53442 * math/w_acos.c: Use non-signaling floating-point comparisons.
53443 * math/w_acosf.c: Likewise.
53444 * math/w_acosh.c: Likewise.
53445 * math/w_acoshf.c: Likewise.
53446 * math/w_acoshl.c: Likewise.
53447 * math/w_acosl.c: Likewise.
53448 * math/w_asin.c: Likewise.
53449 * math/w_asinf.c: Likewise.
53450 * math/w_asinl.c: Likewise.
53451 * math/w_atanh.c: Likewise.
53452 * math/w_atanhf.c: Likewise.
53453 * math/w_atanhl.c: Likewise.
53454 * math/w_exp2.c: Likewise.
53455 * math/w_exp2f.c: Likewise.
53456 * math/w_exp2l.c: Likewise.
53457 * math/w_j0.c: Likewise.
53458 * math/w_j0f.c: Likewise.
53459 * math/w_j0l.c: Likewise.
53460 * math/w_j1.c: Likewise.
53461 * math/w_j1f.c: Likewise.
53462 * math/w_j1l.c: Likewise.
53463 * math/w_jn.c: Likewise.
53464 * math/w_jnf.c: Likewise.
53465 * math/w_log.c: Likewise.
53466 * math/w_log10.c: Likewise.
53467 * math/w_log10f.c: Likewise.
53468 * math/w_log10l.c: Likewise.
53469 * math/w_log2.c: Likewise.
53470 * math/w_log2f.c: Likewise.
53471 * math/w_log2l.c: Likewise.
53472 * math/w_logf.c: Likewise.
53473 * math/w_logl.c: Likewise.
53474 * math/w_sqrt.c: Likewise.
53475 * math/w_sqrtf.c: Likewise.
53476 * math/w_sqrtl.c: Likewise.
53477 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
53478 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
53479 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
53480 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
53481 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
53483 2012-02-19 Joseph Myers <joseph@codesourcery.com>
53486 * manual/string.texi (strnlen): Use correct parameter name in
53487 equivalent expression.
53489 2012-02-19 Joseph Myers <joseph@codesourcery.com>
53492 * manual/users.texi (seteuid): Consistently use neweuid for
53495 2012-02-19 Joseph Myers <joseph@codesourcery.com>
53498 * manual/nss.texi (Services in the NSS configuration): Correct
53499 list of services in example configuration file.
53501 2012-02-19 Nick Bowler <nbowler@draconx.ca>
53504 * manual/arith.texi: Remove statements about negative zero
53505 behaving identically to zero.
53507 2012-02-18 Joseph Myers <joseph@codesourcery.com>
53510 * manual/install.texi: Do not document upgrading from libc5.
53512 2012-02-18 Joseph Myers <joseph@codesourcery.com>
53515 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
53517 2012-02-18 David S. Miller <davem@davemloft.net>
53519 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
53520 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
53521 %o7 across the call.
53522 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
53524 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
53525 SETUP_PIC_REG_LEAF.
53526 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
53527 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
53528 * sysdeps/sparc/crtn.S: Likewise.
53530 2012-02-17 Ulrich Drepper <drepper@gmail.com>
53532 * aout/Makefile: Remove.
53534 2012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
53537 * manual/examples/argp-ex1.c (main): Format definition in GNU
53539 * manual/examples/argp-ex2.c (main): Likewise.
53540 * manual/examples/argp-ex3.c (main): Likewise.
53541 * manual/examples/argp-ex4.c (main): Likewise.
53542 * manual/examples/longopt.c (main): Use new-style prototype
53544 * manual/examples/strncat.c (main): Specify return type and use
53545 (void) for arguments.
53546 * manual/examples/subopt.c (main): Use char **argv argument.
53548 2012-02-17 Joseph Myers <joseph@codesourcery.com>
53551 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
53554 2012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
53557 * manual/string.texi (strchr): Change when strchrnul is
53560 2012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
53563 * manual/locale.texi (setlocale): Document LOCPATH.
53565 2012-02-17 Joseph Myers <joseph@codesourcery.com>
53568 * manual/process.texi (execle): Move @dots{} before last argument.
53570 2012-02-17 Paul Bolle <pebolle@tiscali.nl>
53573 * manual/charset.texi (Generic Charset Conversion): Fix typo
53574 (LC_TYPE -> LC_CTYPE).
53576 2012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
53579 * manual/arith.texi (scalbn): Use @var{} on parameter names.
53580 (scalbnf): Likewise.
53581 (scalbnl): Likewise.
53582 (scalbln): Likewise.
53583 (scalblnf): Likewise.
53584 (scalblnl): Likewise.
53585 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
53586 (vwarnx): Likewise.
53589 * manual/filesys.texi (telldir): Use braces around return type.
53590 * manual/llio.texi (mmap): Add space after comma.
53591 (mmap64): Likewise.
53592 * manual/math.texi (jn): Use @var{} on parameter names.
53598 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
53600 * manual/resource.texi (ulimit): Use @dots{} instead of literal
53602 (sched_get_priority_min): Remove semicolon on @deftypefun line.
53603 (sched_get_priority_max): Likewise.
53604 * manual/signal.texi (sigvec): Add space after comma.
53605 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
53607 (if_indextoname): Likewise.
53608 (if_freenameindex): Likewise.
53609 (sendto): Use ',' instead of '.' in prototype.
53610 * manual/startup.texi (syscall): Use @dots{} instead of literal
53612 * manual/stdio.texi (__fpending): Separate initial words of
53613 paragraph from @deftypefun line.
53614 * manual/syslog.texi (syslog): Use @dots{} instead of literal
53616 (vsyslog): Use @var{} on parameter names.
53617 * manual/terminal.texi (stty): Use @var{} on parameter names.
53618 * manual/users.texi (getutmp): Use @var{} on parameter names.
53619 (getutmpx): Likewise.
53621 2012-02-17 Joseph Myers <joseph@codesourcery.com>
53624 * manual/stdio.texi (fopen): Fix typos in description of
53627 2012-02-17 Aurelien Jarno <aurelien@aurel32.net>
53630 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
53631 get clock_id definition.
53633 2012-02-17 Thomas Schwinge <thomas@schwinge.name>
53636 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
53637 (madvise): Cast every argument to void on its own.
53639 2012-02-17 Joseph Myers <joseph@codesourcery.com>
53642 * manual/startup.texi (Exit Status): Fix typo.
53644 2012-02-17 Joseph Myers <joseph@codesourcery.com>
53647 * manual/examples/argp-ex1.c: Include <stdlib.h>.
53648 * manual/examples/argp-ex2.c: Likewise.
53649 * manual/examples/argp-ex3.c: Likewise.
53651 2012-02-16 Richard Henderson <rth@redhat.com>
53653 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
53654 * sysdeps/s390/s390-32/initfini.c: Remove.
53655 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
53656 * sysdeps/s390/s390-64/initfini.c: Remove.
53658 2012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
53660 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
53661 compiler output for sysdeps/generic/initfini.c.
53662 * sysdeps/sh/elf/initfini.c: Remove file.
53664 2012-02-16 David S. Miller <davem@davemloft.net>
53667 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
53669 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
53670 * sysdeps/sparc/crti.S: New file.
53671 * sysdeps/sparc/crtn.S: New file.
53672 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
53673 * sysdeps/sparc/sparc64/Makefile: Likewise.
53675 2012-02-15 Mike Frysinger <vapier@gentoo.org>
53678 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
53680 2012-02-15 Roland McGrath <roland@hack.frob.com>
53683 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
53685 * mach/devstream.c (cookie_io_functions_t): Macro removed.
53686 (write, read, close): Likewise.
53687 Patch by Aurelien Jarno <aurelien@aurel32.net>.
53689 2012-02-15 Joseph Myers <joseph@codesourcery.com>
53691 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
53692 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
53693 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
53694 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
53696 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
53697 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
53700 2012-02-14 Marek Polacek <polacek@redhat.com>
53702 * sysdeps/x86_64/crti.S: New file.
53703 * sysdeps/x86_64/crtn.S: New file.
53704 * sysdeps/x86_64/elf/initfini.c: Remove file.
53706 2012-02-13 Joseph Myers <joseph@codesourcery.com>
53708 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
53709 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
53710 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
53711 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
53713 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
53714 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
53717 2012-02-13 Joseph Myers <joseph@codesourcery.com>
53719 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
53720 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
53721 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
53722 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
53724 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
53725 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
53728 2012-02-10 Thomas Schwinge <thomas@codesourcery.com>
53730 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
53731 __feraiseexcept instead of feraiseexcept.
53733 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
53734 nanosleep invocations.
53735 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
53736 strings, and add error checking for a nanosleep invocations.
53738 2012-02-09 Paul Eggert <eggert@cs.ucla.edu>
53740 Replace FSF snail mail address with URLs, as per GNU coding standards.
53741 Most of the snail mail addresses were wrong anyway, and omitting
53742 them makes the source code easier to maintain. Almost all of the
53743 changes are to license notices and to locale LC_IDENTIFICATION
53744 addresses, except for this one:
53745 * manual/libc.texinfo: In "Published by", give the FSF's URL,
53746 not its snail mail address.
53748 2012-02-09 Richard Henderson <rth@twiddle.net>
53750 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
53751 of kernel-features.h.
53753 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
53755 2012-02-08 Marek Polacek <polacek@redhat.com>
53757 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
53758 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
53759 * sysdeps/gnu/_G_config.h: Likewise.
53760 * sysdeps/generic/_G_config.h: Likewise.
53762 2012-02-08 Andreas Schwab <schwab@linux-m68k.org>
53764 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
53766 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53768 * sysdeps/powerpc/powerpc32/crti.S: New file.
53769 * sysdeps/powerpc/powerpc32/crtn.S: New file.
53770 * sysdeps/powerpc/powerpc64/crti.S: New file.
53771 * sysdeps/powerpc/powerpc64/crtn.S: New file.
53773 * Makeconfig (have-initfini): Don't set.
53774 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
53775 * configure.in (nopic_initfini): Don't substitute.
53776 * config.h.in (HAVE_INITFINI): Don't #undef.
53777 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
53778 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
53780 2012-02-08 Joseph Myers <joseph@codesourcery.com>
53782 Support crti.S and crtn.S provided directly by architectures.
53783 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
53784 [crti.S in sysdirs] (omit-deps): Likewise.
53785 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
53786 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
53787 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
53788 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
53789 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
53790 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
53791 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
53792 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
53793 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
53794 compiler output for sysdeps/generic/initfini.c.
53795 * sysdeps/i386/elf/Makefile: Remove file.
53796 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
53798 2012-02-07 Marek Polacek <polacek@redhat.com>
53800 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
53801 * sysdeps/gnu/_G_config.h: Likewise.
53802 * sysdeps/mach/hurd/_G_config.h: Likewise.
53804 2012-02-07 Marek Polacek <polacek@redhat.com>
53806 * math/Makefile (tests): Add tst-CMPLX2.
53807 * math/tst-CMPLX2.c: New file.
53809 2012-02-07 Andreas Schwab <schwab@linux-m68k.org>
53811 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
53813 * math/libm-test.inc (jn_test): Add missing L suffix.
53815 2012-02-06 Marek Polacek <polacek@redhat.com>
53817 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
53818 * sysdeps/i386/fpu/e_powf.S: Likewise.
53819 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
53820 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
53821 * sysdeps/i386/fpu/e_acosh.S: Likewise.
53822 * sysdeps/i386/fpu/e_pow.S: Likewise.
53823 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
53824 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
53825 * sysdeps/i386/fpu/s_expm1.S: Likewise.
53826 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
53827 * sysdeps/i386/fpu/e_log2.S: Likewise.
53828 * sysdeps/i386/fpu/e_log2l.S: Likewise.
53829 * sysdeps/i386/fpu/e_scalb.S: Likewise.
53830 * sysdeps/i386/fpu/e_powl.S: Likewise.
53831 * sysdeps/i386/fpu/s_log1p.S: Likewise.
53832 * sysdeps/i386/fpu/e_log10f.S: Likewise.
53833 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
53834 * sysdeps/i386/fpu/e_logl.S: Likewise.
53835 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
53836 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
53837 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
53838 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
53839 * sysdeps/i386/fpu/e_log2f.S: Likewise.
53840 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
53841 * sysdeps/i386/fpu/e_log.S: Likewise.
53842 * sysdeps/i386/fpu/s_cexp.S: Likewise.
53843 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
53844 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
53845 * sysdeps/i386/fpu/e_logf.S: Likewise.
53846 * sysdeps/i386/fpu/e_log10l.S: Likewise.
53847 * sysdeps/i386/fpu/e_atanh.S: Likewise.
53848 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
53849 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
53850 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
53851 * sysdeps/i386/fpu/e_log10.S: Likewise.
53852 * sysdeps/i386/fpu/s_frexp.S: Likewise.
53853 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
53854 * sysdeps/i386/fpu/s_asinh.S: Likewise.
53855 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
53856 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
53857 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
53858 * sysdeps/i386/asm-syntax.h: Likewise.
53859 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
53860 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
53861 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
53862 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
53863 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
53864 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
53865 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
53866 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
53867 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
53868 * sysdeps/powerpc/sysdep.h: Likewise.
53869 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
53870 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
53872 2012-02-06 Joseph Myers <joseph@codesourcery.com>
53875 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
53877 2012-02-06 Joseph Myers <joseph@codesourcery.com>
53879 * sysdeps/i386/sysdep.h: Include <features.h>.
53880 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
53883 2012-02-05 Joseph Myers <joseph@codesourcery.com>
53885 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
53887 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
53890 2012-02-03 Joseph Myers <joseph@codesourcery.com>
53892 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
53893 (SETUP_PIC_REG): Use GET_PC_THUNK.
53894 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
53897 2012-02-03 Joseph Myers <joseph@codesourcery.com>
53899 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
53900 for non-PIC compilation.
53901 (SETUP_PIC_REG): Add .p2align directive.
53902 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
53903 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
53904 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
53905 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
53906 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
53907 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
53908 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
53909 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
53910 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
53911 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
53912 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
53913 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
53914 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
53915 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
53916 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
53917 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
53918 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
53919 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
53920 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
53921 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
53922 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
53923 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
53924 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
53925 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
53926 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
53927 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
53928 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
53929 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
53930 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
53931 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
53932 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
53933 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
53934 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
53935 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
53936 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
53937 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
53938 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
53939 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
53940 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
53941 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
53942 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
53944 2012-02-03 Joseph Myers <joseph@codesourcery.com>
53946 * math/tst-CMPLX.c: Include <stdio.h>.
53948 2012-01-31 Joseph Myers <joseph@codesourcery.com>
53950 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
53952 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
53953 * sysdeps/sparc/bits/mathdef.h: Likewise.
53955 2012-01-31 Marek Polacek <polacek@redhat.com>
53957 * libio/libio.h: Don't define _PARAMS.
53958 * locale/programs/config.h: Don't define PARAMS.
53959 * stdlib/strtol_l.c: Likewise.
53960 (__strtol_l): Remove PARAMS from the prototype.
53962 2012-01-31 Ulrich Drepper <drepper@gmail.com>
53964 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
53965 names. Just use the correct names. Remove unnecessary wrapper
53967 * malloc/arena.c: Likewise.
53968 * malloc/hooks.c: Likewise.
53970 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
53971 ARENA_TEST says not to. Simplify test for creation of a new arena.
53972 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
53974 2012-01-30 Ulrich Drepper <drepper@gmail.com>
53976 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
53978 (update_get_addr): New function.
53979 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
53980 GET_ADDR_MODULE parameter.
53982 2012-01-30 Joseph Myers <joseph@codesourcery.com>
53984 * crypt/cert.c: Remove __STDC__ conditionals.
53985 * crypt/crypt-entry.c: Likewise.
53986 * crypt/crypt_util.c: Likewise.
53987 * libio/filedoalloc.c: Likewise.
53988 * libio/fileops.c: Likewise.
53989 * libio/genops.c: Likewise.
53990 * libio/iofclose.c: Likewise.
53991 * libio/iofdopen.c: Likewise.
53992 * libio/iofopen.c: Likewise.
53993 * libio/iofopen64.c: Likewise.
53994 * libio/iogetdelim.c: Likewise.
53995 * libio/iopopen.c: Likewise.
53996 * libio/obprintf.c: Likewise.
53997 * libio/oldfileops.c: Likewise.
53998 * libio/oldiofclose.c: Likewise.
53999 * libio/oldiofdopen.c: Likewise.
54000 * libio/oldiofopen.c: Likewise.
54001 * libio/oldiopopen.c: Likewise.
54002 * libio/wfiledoalloc.c: Likewise.
54003 * libio/wgenops.c: Likewise.
54004 * locale/programs/xmalloc.c: Likewise.
54005 * misc/syslog.c: Likewise.
54006 * stdio-common/xbug.c: Likewise.
54007 * string/memchr.c: Likewise.
54008 * string/memcmp.c: Likewise.
54009 * string/memrchr.c: Likewise.
54010 * string/rawmemchr.c: Likewise.
54011 * sysdeps/posix/getcwd.c: Likewise.
54012 * time/strftime_l.c: Likewise.
54014 2012-01-30 Joseph Myers <joseph@codesourcery.com>
54016 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
54017 * config.make.in (config-cflags-sse2avx): Define.
54018 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
54021 2012-01-29 Chris Metcalf <cmetcalf@tilera.com>
54023 * scripts/config.guess: Update from upstream config git repository.
54024 * scripts/config.sub: Likewise.
54026 2012-01-28 Chris Metcalf <cmetcalf@tilera.com>
54028 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
54030 (R_TILEPRO_*, R_TILEGX_*): New macros.
54032 * scripts/firstversions.awk: Fix bug in version range handling.
54034 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
54036 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
54038 * include/sys/epoll.h: New file.
54039 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
54042 2012-01-28 Ulrich Drepper <drepper@gmail.com>
54044 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
54045 Avoid unnecessary __WORDSIZE == 64 test.
54046 (fmaxf): Use VEX format if possible.
54051 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
54052 * math/math_private.h: Remove libc_fegetround* and
54054 * sysdeps/i386/configure.in: Check for -msse2avx.
54055 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
54056 also if SSE2AVX is defined.
54057 Remove libc_fegetround* and libc_fesetround*.
54058 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
54059 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
54060 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
54062 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
54063 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
54064 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
54065 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
54066 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
54068 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
54070 2012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
54072 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
54074 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
54076 2012-01-27 Ulrich Drepper <drepper@gmail.com>
54079 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
54081 * Makeconfig (libm): Define.
54082 * elf/Makefile: Add rules to build and run tst-relsort1.
54083 * elf/tst-relsort1.c: New file.
54084 * elf/tst-relsort1mod1.c: New file.
54085 * elf/tst-relsort1mod2.c: New file.
54087 2012-01-27 Joseph Myers <joseph@codesourcery.com>
54089 * math/s_ldexp.c: Remove __STDC__ conditionals.
54090 * math/s_ldexpf.c: Likewise.
54091 * math/s_ldexpl.c: Likewise.
54092 * math/s_nextafter.c: Likewise.
54093 * math/s_nexttowardf.c: Likewise.
54094 * math/s_significand.c: Likewise.
54095 * math/s_significandf.c: Likewise.
54096 * math/s_significandl.c: Likewise.
54097 * math/w_jnl.c: Likewise.
54098 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
54099 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
54100 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
54101 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
54102 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
54103 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
54104 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
54105 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
54106 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
54107 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
54108 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
54109 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
54110 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
54111 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
54112 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
54113 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
54114 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
54115 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
54116 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
54117 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
54118 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
54119 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
54120 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
54121 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
54122 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
54123 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
54124 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
54125 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
54126 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
54127 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
54128 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
54129 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
54130 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
54131 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
54132 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
54133 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
54134 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
54135 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
54136 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
54137 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
54138 * sysdeps/ieee754/k_standard.c: Likewise.
54139 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
54140 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
54141 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
54142 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
54143 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
54144 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
54145 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
54146 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
54147 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
54148 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
54149 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
54150 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
54151 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
54152 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
54153 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
54154 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
54155 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
54156 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
54157 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
54158 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
54159 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
54160 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
54161 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
54162 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
54163 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
54164 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
54165 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
54166 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
54167 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
54168 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
54169 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
54170 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
54171 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
54172 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
54173 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
54174 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
54175 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
54176 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
54177 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
54178 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
54179 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
54180 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
54181 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
54182 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
54183 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
54184 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
54185 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
54186 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
54187 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
54188 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
54189 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
54190 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
54191 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
54192 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
54193 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
54194 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
54195 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
54196 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
54197 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
54198 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
54199 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
54200 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
54201 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
54202 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
54203 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
54204 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
54205 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
54206 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
54207 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
54208 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
54209 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
54210 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
54211 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
54212 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
54213 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
54214 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
54215 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
54216 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
54217 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
54218 * sysdeps/ieee754/s_matherr.c: Likewise.
54219 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
54220 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
54221 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
54222 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
54224 2012-01-26 Joseph Myers <joseph@codesourcery.com>
54226 * crypt/md5.h: Remove __STDC__ conditionals.
54227 * libio/libioP.h: Likewise.
54228 * locale/programs/config.h: Likewise.
54229 * sysdeps/generic/sysdep.h: Likewise.
54230 * sysdeps/i386/asm-syntax.h: Likewise.
54231 * sysdeps/s390/asm-syntax.h: Likewise.
54232 * sysdeps/unix/sysdep.h: Likewise.
54233 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
54234 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
54236 2012-01-26 Joseph Myers <joseph@codesourcery.com>
54238 * libio/libio.h: Remove __STDC__ conditionals.
54239 * malloc/obstack.h: Likewise.
54240 * math/complex.h: Likewise.
54241 * math/math.h: Likewise.
54242 * sysdeps/generic/_G_config.h: Likewise.
54243 * sysdeps/gnu/_G_config.h: Likewise.
54244 * sysdeps/mach/hurd/_G_config.h: Likewise.
54245 * sysdeps/powerpc/bits/mathdef.h: Likewise.
54246 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
54247 * sysdeps/sparc/bits/mathdef.h: Likewise.
54249 2012-01-26 Ulrich Drepper <drepper@gmail.com>
54252 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
54253 Clean up HAS_* macros.
54254 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
54255 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
54257 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
54259 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
54260 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
54261 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
54262 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
54263 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
54265 2012-01-25 Joseph Myers <joseph@codesourcery.com>
54267 * elf/tst-unique3.cc (gets): Remove declaration.
54268 * elf/tst-unique3lib.cc (gets): Likewise.
54269 * elf/tst-unique3lib2.cc (gets): Likewise.
54270 * elf/tst-unique4.cc (gets): Likewise.
54272 2012-01-24 Ulrich Drepper <drepper@gmail.com>
54274 * include/stdio.h: Add C++ protection. Add gets declarations and
54276 * debug/tst-chk1.c: Don't declare gets here.
54277 * stdio-common/tst-gets.c: Likewise.
54279 2012-01-24 Joseph Myers <joseph@codesourcery.com>
54281 * posix/glob: Remove directory.
54283 2012-01-24 Joseph Myers <joseph@codesourcery.com>
54285 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
54287 2012-01-22 Pino Toscano <toscano.pino@tiscali.it>
54289 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
54290 of the non-standard EPFNOSUPPORT.
54292 2011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
54294 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
54295 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
54296 ANYWHERE set to 1 only on KERN_NO_SPACE error.
54298 2012-01-21 Ulrich Drepper <drepper@gmail.com>
54300 * wcsmbs/uchar.h: Test __STDC_VERSION__.
54302 2012-01-20 Ulrich Drepper <drepper@gmail.com>
54304 * nscd/aicache.c (addhstaiX): Do not cache negative results of
54306 * nscd/grpcache.c (cache_addgr): Likewise.
54307 * nscd/hstcache.c (cache_addhst): Likewise.
54308 * nscd/initgrcache.c (addinitgroupsX): Likewise.
54309 * nscd/pwdcache.c (cache_addpw): Likewise.
54310 * nscd/servicescache.c (cache_addserv): Likewise.
54312 2012-01-16 Ulrich Drepper <drepper@gmail.com>
54314 * malloc/malloc.c: Various cleanups.
54315 * malloc/hooks.c: Likewise.
54317 * stdlib/Makefile (tests): Add bug-fmtmsg1.
54318 * stdlib/bug-fmtmsg1.c: New file.
54320 * stdlib/fmtmsg.c (init): Add missing unlock.
54321 Patch by Peng Haitao <penght@cn.fujitsu.com>.
54323 2012-01-12 Marek Polacek <polacek@redhat.com>
54325 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
54328 2012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
54330 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
54331 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
54332 macro to ensure uniqueness of label name.
54333 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
54334 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
54336 2012-01-11 Ulrich Drepper <drepper@gmail.com>
54338 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
54340 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
54341 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
54342 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
54343 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
54345 2012-01-10 Ulrich Drepper <drepper@gmail.com>
54347 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
54349 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
54350 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
54351 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
54353 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
54355 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
54356 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
54357 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
54358 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
54360 * math/bits/math-finite.h: Add ldexp support.
54362 2012-01-10 Marek Polacek <polacek@redhat.com>
54364 * locale/programs/localedef.h (show_archive_content): Add noreturn
54367 2012-01-09 Ulrich Drepper <drepper@gmail.com>
54369 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
54371 2012-01-08 Ulrich Drepper <drepper@gmail.com>
54373 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
54375 * io/Makefile (headers): Add bits/poll2.h.
54377 2011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
54379 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
54380 typo #include statement.
54382 2012-01-08 Ulrich Drepper <drepper@gmail.com>
54384 * include/sys/cdefs.h: Define __attribute_alloc_size.
54385 * catgets/gencat.c: Add alloc_size attribute and apply consistently
54386 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
54387 * elf/pldd.c: Likewise.
54388 * iconv/iconv_charmap.c: Likewise.
54389 * iconv/iconvconfig.c: Likewise.
54390 * iconv/strtab.c: Likewise.
54391 * locale/programs/locale.c: Likewise.
54392 * locale/programs/localedef.h: Likewise.
54393 * locale/programs/simple-hash.c: Likewise.
54394 * nscd/nscd.h: Likewise.
54395 * nss/makedb.c: Likewise.
54396 * sysdeps/generic/ldconfig.h: Likewise.
54397 * locale/programs/localedef.c: Remove xmalloc prototype.
54398 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
54400 2012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
54402 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
54405 2012-01-08 Ulrich Drepper <drepper@gmail.com>
54407 * math/Makefile (tests): Add tst-CMPLX.
54408 * math/tst-CMPLX.c: New file.
54410 * math/complex.h (CMPLXL): Fix typo.
54412 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
54413 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
54415 * debug/tst-chk1.c: Add poll and ppoll tests.
54416 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
54417 * include/sys/poll.h: Add hidden proto for ppoll.
54418 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
54419 * sysdeps/mach/hurd/ppoll.c: Likewise.
54420 * io/ppoll.c: Likewise.
54421 * debug/poll_chk.c: New file.
54422 * debug/ppoll_chk.c: New file.
54423 * include/bits/poll2.h: New file.
54424 * io/bits/poll2.h: New file.
54427 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
54429 * configure.in: static is always set to yes. Remove.
54430 * config.make.in: Don't set build-static.
54431 * Makeconfig: Remove use of build-static.
54432 * dlfcn/Makefile: Likewise.
54433 * elf/Makefile: Likewise.
54434 * math/Makefile: Likewise.
54435 * misc/Makefile: Likewise.
54436 * nptl/Makefile: Likewise.
54437 * sysdeps/mach/hurd/Makefile: Likewise.
54439 * configure.in: PWD_P is not used anymore.
54440 * config.make.in: Remove PWD_P entry.
54442 * configure.in: Remove last remnants of RANLIB.
54443 No need to check for signed size_t anymore.
54444 Don't set libc_commonpagesize and libc_relro_required here for Alpha
54446 Remove __builtin_expect test because we require at least gcc 3.4.
54447 * aclocal.m4: Likewise.
54449 * wcsmbs/mbrtoc16.c: Implement using towc function.
54450 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
54451 * wcsmbs/wcsmbsload.c: Likewise.
54452 * iconv/gconv_simple.c: Likewise.
54453 * iconv/gconv_int.h: Likewise.
54454 * iconv/gconv_builtin.h: Likewise.
54455 * iconv/iconv_prog.c: Remove CHAR16 handling.
54457 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
54459 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
54461 * configure.in: Remove --with-elf and --enable-bounded options.
54462 Dont set base_machine for ia64. More non-ELF conditions removed.
54463 Remove testing and setting of leading underscore information.
54464 * config.make.in (build-bounded): Set to no.
54465 * config.h.in: Remove NO_UNDERSCORES entry.
54466 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
54468 * csu/start.c: Remove !NO_UNDERSCORE code.
54469 * locale/localeinfo.h: Likewise.
54470 * sysdeps/generic/machine-gmon.h: Likewise.
54471 * sysdeps/generic/sysdep.h: Likewise.
54472 * sysdeps/i386/sysdep.h: Likewise.
54473 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
54474 * sysdeps/mach/sysdep.h: Likewise.
54475 * sysdeps/s390/s390-32/sysdep.h: Likewise.
54476 * sysdeps/s390/s390-64/sysdep.h: Likewise.
54477 * sysdeps/sh/sysdep.h: Likewise.
54478 * sysdeps/sparc/sparc32/alloca.S: Likewise.
54479 * sysdeps/unix/i386/sysdep.S: Likewise.
54480 * sysdeps/unix/sparc/start.c: Likewise.
54481 * sysdeps/unix/sparc/sysdep.S: Likewise.
54482 * sysdeps/unix/sparc/sysdep.h: Likewise.
54483 * sysdeps/unix/start.c: Likewise.
54484 * sysdeps/unix/x86_64/sysdep.S: Likewise.
54485 * sysdeps/x86_64/sysdep.h: Likewise.
54487 2012-01-07 Ulrich Drepper <drepper@gmail.com>
54490 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
54492 * argp/argp-fmtstream.h: Use const instead __const.
54493 * argp/argp.h: Likewise.
54494 * assert/assert.h: Likewise.
54495 * bits/fenv.h: Likewise.
54496 * bits/sched.h: Likewise.
54497 * bits/sigset.h: Likewise.
54498 * bits/sigthread.h: Likewise.
54499 * catgets/nl_types.h: Likewise.
54500 * conform/data/pthread.h-data: Likewise.
54501 * crypt/crypt-private.h: Likewise.
54502 * crypt/crypt.h: Likewise.
54503 * crypt/crypt_util.c: Likewise.
54504 * ctype/ctype.h: Likewise.
54505 * debug/execinfo.h: Likewise.
54506 * debug/mbsnrtowcs_chk.c: Likewise.
54507 * debug/mbsrtowcs_chk.c: Likewise.
54508 * debug/wcsnrtombs_chk.c: Likewise.
54509 * debug/wcsrtombs_chk.c: Likewise.
54510 * debug/wcstombs_chk.c: Likewise.
54511 * dirent/dirent.h: Likewise.
54512 * dlfcn/dlfcn.h: Likewise.
54513 * elf/neededtest4.c: Likewise.
54514 * grp/grp.h: Likewise.
54515 * gshadow/gshadow.h: Likewise.
54516 * iconv/gconv.h: Likewise.
54517 * iconv/gconv_int.h: Likewise.
54518 * iconv/gconv_simple.c: Likewise.
54519 * iconv/iconv.h: Likewise.
54520 * iconv/loop.c: Likewise.
54521 * iconv/skeleton.c: Likewise.
54522 * include/aio.h: Likewise.
54523 * include/aliases.h: Likewise.
54524 * include/argz.h: Likewise.
54525 * include/arpa/inet.h: Likewise.
54526 * include/assert.h: Likewise.
54527 * include/dirent.h: Likewise.
54528 * include/dlfcn.h: Likewise.
54529 * include/execinfo.h: Likewise.
54530 * include/fcntl.h: Likewise.
54531 * include/fenv.h: Likewise.
54532 * include/glob.h: Likewise.
54533 * include/grp.h: Likewise.
54534 * include/libintl.h: Likewise.
54535 * include/mntent.h: Likewise.
54536 * include/netdb.h: Likewise.
54537 * include/pwd.h: Likewise.
54538 * include/rpc/netdb.h: Likewise.
54539 * include/sched.h: Likewise.
54540 * include/search.h: Likewise.
54541 * include/shadow.h: Likewise.
54542 * include/signal.h: Likewise.
54543 * include/stdio.h: Likewise.
54544 * include/stdlib.h: Likewise.
54545 * include/string.h: Likewise.
54546 * include/sys/socket.h: Likewise.
54547 * include/sys/stat.h: Likewise.
54548 * include/sys/statfs.h: Likewise.
54549 * include/sys/statvfs.h: Likewise.
54550 * include/sys/syslog.h: Likewise.
54551 * include/sys/time.h: Likewise.
54552 * include/sys/uio.h: Likewise.
54553 * include/time.h: Likewise.
54554 * include/unistd.h: Likewise.
54555 * include/utmp.h: Likewise.
54556 * include/wchar.h: Likewise.
54557 * include/wctype.h: Likewise.
54558 * inet/aliases.h: Likewise.
54559 * inet/arpa/inet.h: Likewise.
54560 * inet/netinet/ether.h: Likewise.
54561 * inet/netinet/in.h: Likewise.
54562 * intl/libintl.h: Likewise.
54563 * io/bits/fcntl2.h: Likewise.
54564 * io/fcntl.h: Likewise.
54565 * io/ftw.h: Likewise.
54566 * io/sys/poll.h: Likewise.
54567 * io/sys/stat.h: Likewise.
54568 * io/sys/statfs.h: Likewise.
54569 * io/sys/statvfs.h: Likewise.
54570 * io/utime.h: Likewise.
54571 * libio/bits/stdio.h: Likewise.
54572 * libio/bits/stdio2.h: Likewise.
54573 * libio/libio.h: Likewise.
54574 * libio/libioP.h: Likewise.
54575 * libio/stdio.h: Likewise.
54576 * locale/lc-ctype.c: Likewise.
54577 * locale/locale.h: Likewise.
54578 * login/utmp.h: Likewise.
54579 * malloc/arena.c: Likewise.
54580 * malloc/malloc.c: Likewise.
54581 * malloc/malloc.h: Likewise.
54582 * malloc/mcheck.c: Likewise.
54583 * malloc/mtrace.c: Likewise.
54584 * math/bits/mathcalls.h: Likewise.
54585 * math/fenv.h: Likewise.
54586 * math/math_private.h: Likewise.
54587 * misc/bits/error.h: Likewise.
54588 * misc/bits/syslog.h: Likewise.
54589 * misc/err.h: Likewise.
54590 * misc/error.h: Likewise.
54591 * misc/fstab.h: Likewise.
54592 * misc/mntent.h: Likewise.
54593 * misc/regexp.h: Likewise.
54594 * misc/search.h: Likewise.
54595 * misc/sgtty.h: Likewise.
54596 * misc/sys/mman.h: Likewise.
54597 * misc/sys/syslog.h: Likewise.
54598 * misc/sys/uio.h: Likewise.
54599 * misc/sys/xattr.h: Likewise.
54600 * misc/ttyent.h: Likewise.
54601 * nis/rpcsvc/ypclnt.h: Likewise.
54602 * nss/nss.h: Likewise.
54603 * posix/bits/unistd.h: Likewise.
54604 * posix/fnmatch.h: Likewise.
54605 * posix/glob.h: Likewise.
54606 * posix/sched.h: Likewise.
54607 * posix/spawn.h: Likewise.
54608 * posix/sys/wait.h: Likewise.
54609 * posix/unistd.h: Likewise.
54610 * posix/wordexp.h: Likewise.
54611 * pwd/pwd.h: Likewise.
54612 * resolv/netdb.h: Likewise.
54613 * resource/sys/resource.h: Likewise.
54614 * rt/aio.h: Likewise.
54615 * rt/bits/mqueue2.h: Likewise.
54616 * rt/mqueue.h: Likewise.
54617 * shadow/shadow.h: Likewise.
54618 * signal/signal.h: Likewise.
54619 * socket/send.c: Likewise.
54620 * socket/sendto.c: Likewise.
54621 * socket/sys/socket.h: Likewise.
54622 * stdio-common/printf.h: Likewise.
54623 * stdlib/bits/stdlib.h: Likewise.
54624 * stdlib/fmtmsg.h: Likewise.
54625 * stdlib/monetary.h: Likewise.
54626 * stdlib/stdlib.h: Likewise.
54627 * stdlib/ucontext.h: Likewise.
54628 * streams/stropts.h: Likewise.
54629 * string/argz.h: Likewise.
54630 * string/bits/string2.h: Likewise.
54631 * string/string.h: Likewise.
54632 * string/strings.h: Likewise.
54633 * sunrpc/rpc/auth.h: Likewise.
54634 * sunrpc/rpc/auth_des.h: Likewise.
54635 * sunrpc/rpc/clnt.h: Likewise.
54636 * sunrpc/rpc/netdb.h: Likewise.
54637 * sunrpc/rpc/pmap_clnt.h: Likewise.
54638 * sunrpc/rpc/xdr.h: Likewise.
54639 * sysdeps/generic/inttypes.h: Likewise.
54640 * sysdeps/generic/net/if.h: Likewise.
54641 * sysdeps/generic/sys/swap.h: Likewise.
54642 * sysdeps/gnu/net/if.h: Likewise.
54643 * sysdeps/gnu/utmpx.h: Likewise.
54644 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
54645 * sysdeps/i386/i486/bits/string.h: Likewise.
54646 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
54647 * sysdeps/s390/bits/string.h: Likewise.
54648 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
54649 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
54650 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
54651 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
54652 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
54653 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
54654 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
54655 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
54656 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
54657 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
54658 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
54659 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
54660 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
54661 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
54662 * sysdeps/unix/sysv/linux/readv.c: Likewise.
54663 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
54664 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
54665 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
54666 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
54667 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
54668 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
54669 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
54670 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
54671 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
54672 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
54673 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
54674 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
54675 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
54676 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
54677 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
54678 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
54679 * sysvipc/sys/ipc.h: Likewise.
54680 * sysvipc/sys/msg.h: Likewise.
54681 * sysvipc/sys/sem.h: Likewise.
54682 * sysvipc/sys/shm.h: Likewise.
54683 * termios/termios.h: Likewise.
54684 * time/sys/time.h: Likewise.
54685 * time/time.h: Likewise.
54686 * wcsmbs/bits/wchar2.h: Likewise.
54687 * wcsmbs/uchar.h: Likewise.
54688 * wcsmbs/wchar.h: Likewise.
54689 * wctype/wctype.h: Likewise.
54692 * Makeconfig: Remove all but ELF support including AIX support.
54693 * Makerules: Likewise.
54694 * config.h.in: Likewise.
54695 * config.make.in: Likewise.
54696 * configure: Likewise.
54697 * configure.in: Likewise.
54698 * csu/Makefile: Likewise.
54699 * csu/version.c: Likewise.
54700 * debug/Makefile: Likewise.
54701 * dlfcn/Makefile: Likewise.
54702 * elf/Makefile: Likewise.
54703 * extra-lib.mk: Likewise.
54704 * iconv/Makefile: Likewise.
54705 * include/libc-symbols.h: Likewise.
54706 * include/shlib-compat.h: Likewise.
54707 * resolv/Makefile: Likewise.
54708 * resolv/res_libc.c: Likewise.
54709 * rt/Makefile: Likewise.
54710 * sysdeps/i386/asm-syntax.h: Likewise.
54711 * sysdeps/i386/sysdep.h: Likewise.
54712 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
54713 * sysdeps/mach/sysdep.h: Likewise.
54714 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
54715 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
54716 * sysdeps/s390/asm-syntax.h: Likewise.
54717 * sysdeps/s390/s390-32/sysdep.h: Likewise.
54718 * sysdeps/s390/s390-64/sysdep.h: Likewise.
54719 * sysdeps/sh/sysdep.h: Likewise.
54720 * sysdeps/unix/sparc/sysdep.h: Likewise.
54721 * sysdeps/wordsize-32/divdi3.c: Likewise.
54722 * sysdeps/x86_64/sysdep.h: Likewise.
54724 * argp/Versions: Remove _argp_unlock_xxx.
54727 * abilist/ld.abilist: Update. Adjust for removal of tls option.
54728 * abilist/libBrokenLocale.abilist: Likewise.
54729 * abilist/libanl.abilist: Likewise.
54730 * abilist/libc.abilist: Likewise.
54731 * abilist/libcrypt.abilist: Likewise.
54732 * abilist/libdl.abilist: Likewise.
54733 * abilist/libm.abilist: Likewise.
54734 * abilist/libnsl.abilist: Likewise.
54735 * abilist/libpthread.abilist: Likewise.
54736 * abilist/libresolv.abilist: Likewise.
54737 * abilist/librt.abilist: Likewise.
54738 * abilist/libthread_db.abilist: Likewise.
54739 * abilist/libutil.abilist: Likewise.
54740 * abilist/libnss_db.abilist: New file.
54742 * scripts/abilist.awk: Add support for indirect functions.
54744 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
54746 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
54748 * shlib-versions: Remove entries for ports architectures.
54750 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
54752 * elf/stackguard-macros.h: Remove support for IA-64.
54753 * elf/tst-auditmod1.c: Likewise.
54754 * sysdeps/generic/ldsodefs.h: Likewise.
54756 * sysdeps/unix/sysv/linux/configure.in: Ports should define
54757 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
54761 * configure.in: Remove --enable-omitfp support.
54763 * config.make.in: Likewise.
54764 * Makeconfig: Likewise.
54765 * manual/install.texi: Likewise.
54767 In case anyone cares, the IA-64 architecture could move to ports.
54768 * sysdeps/ia64/*: Removed.
54769 * sysdeps/unix/sysv/linux/ia64/*: Removed.
54770 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
54773 * configure.in: Remove entries for unsupported architectures.
54776 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
54777 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
54779 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
54780 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
54781 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
54782 fall back to using wcrtomb.
54783 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
54784 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
54786 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
54787 * wcsmbs/tst-c16c32-1.c: New file.
54789 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
54792 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
54794 * elf/tst-unique3.cc: Add explicit declaration of gets.
54795 * elf/tst-unique3lib.cc: Likewise.
54796 * elf/tst-unique3lib2.cc: Likewise.
54797 * elf/tst-unique4.cc: Likewise.
54799 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
54801 2012-01-06 Joseph Myers <joseph@codesourcery.com>
54804 * assert/assert.h (static_assert): Don't define for C++.
54805 * libio/stdio.h (gets): Do declare for C++ <= C++11.
54806 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
54808 2012-01-03 Ulrich Drepper <drepper@gmail.com>
54810 * iconv/loop.c (single loop): Fix assertion in storing of
54813 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
54815 2012-01-01 Ulrich Drepper <drepper@gmail.com>
54817 * posix/getconf.c: Update copyright year.
54818 * nss/getent.c: Likewise.
54819 * nss/makedb.c: Likewise.
54820 * iconv/iconvconfig.c: Likewise.
54821 * iconv/iconv_prog.c: Likewise.
54822 * elf/ldconfig.c: Likewise.
54823 * elf/pldd.c: Likewise.
54824 * elf/sotruss.ksh: Likewise.
54825 * catgets/gencat.c: Likewise.
54826 * csu/version.c: Likewise.
54827 * elf/ldd.bash.in: Likewise.
54828 * elf/sprof.c (print_version): Likewise.
54829 * locale/programs/locale.c: Likewise.
54830 * locale/programs/localedef.c: Likewise.
54831 * login/programs/pt_chown.c: Likewise.
54832 * nscd/nscd.c (print_version): Likewise.
54833 * debug/xtrace.sh: Likewise.
54834 * malloc/memusage.sh: Likewise.
54835 * malloc/mtrace.pl: Likewise.
54836 * debug/catchsegv.sh: Likewise.
54838 2011-12-30 Jakub Jelinek <jakub@redhat.com>
54840 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
54843 2011-12-24 Ulrich Drepper <drepper@gmail.com>
54846 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
54847 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
54849 * iconv/gconv_int.h: Likewise.
54850 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
54851 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
54852 from libc for GLIBC_2.16.
54853 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
54854 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
54855 * wcsmbs/uchar.h: Really define mbstate_t.
54856 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
54857 * wcsmbs/c16rtomb.c: New file.
54858 * wcsmbs/mbrtoc16.c: New file.
54859 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
54860 for C/POSIX locale.
54861 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
54862 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
54864 * wcsmbs/wchar.h: Add missing __restrict.
54866 2011-12-23 Ulrich Drepper <drepper@gmail.com>
54869 * time/Makefile (routines): Add timespec_get.
54870 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
54871 * time/time.h: Define TIME_UTC and declare timespec_get. Define
54872 timespec for ISO C11.
54873 * time/timespec_get.c: New file.
54874 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
54875 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
54878 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
54879 * stdlib/stdlib.h: Declare aligned_alloc.
54880 * Versions.def: Add GLIBC_2.16 for libc.
54881 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
54884 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
54887 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
54891 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
54894 * assert/assert.h (static_assert): Define.
54896 * version.h: Update for 2.16 development version.
54899 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
54902 * version.h (RELEASE): Bump for 2.15 release.
54903 * include/features.h (__GLIBC_MINOR__): Bump to 15.
54905 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
54906 Patch by Marek Polacek <mpolacek@redhat.com>.
54908 * bits/byteswap.h: Protect long long constants with __extension__.
54909 * sysdeps/i386/bits/byteswap.h: Likewise.
54910 * sysdeps/ia64/bits/byteswap.h: Likewise.
54911 * sysdeps/s390/bits/byteswap.h: Likewise.
54912 * sysdeps/x86_64/bits/byteswap.h: Likewise.
54914 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
54917 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
54918 destination buffer.
54919 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
54921 2011-12-23 Marek Polacek <polacek@redhat.com>
54923 * elf/dl-addr.c (determine_info): Add inline keyword.
54924 * elf/tst-auditmod4b.c (check_avx): Likewise.
54925 * elf/tst-auditmod6b.c (check_avx): Likewise.
54926 * elf/tst-auditmod6c.c (check_avx): Likewise.
54927 * elf/tst-auditmod7b.c (check_avx): Likewise.
54929 2011-12-23 Ulrich Drepper <drepper@gmail.com>
54931 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
54934 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
54937 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
54938 processing for last bytes.
54940 2011-08-06 Bruno Haible <bruno@clisp.org>
54943 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
54944 U+0385, not to U+1FEE.
54947 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
54948 entry for U+00A5 U+0301.
54950 2011-12-22 Ulrich Drepper <drepper@gmail.com>
54953 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
54954 buffer for the output is too small.
54956 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
54960 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
54961 SSE flags if possible.
54963 2011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
54966 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
54967 processing for last bytes.
54969 2011-12-22 Joseph Myers <joseph@codesourcery.com>
54971 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
54972 (syscall-list-default-options, syscall-list-default-condition)
54973 (syscall-list-includes): Define.
54974 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
54975 list of ABIs and options and #if conditions for each ABI. Do not
54976 handle common syscalls between ABIs specially.
54977 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
54979 (syscall-list-variants, syscall-list-32bit-options)
54980 (syscall-list-32bit-condition, syscall-list-64bit-options)
54981 (syscall-list-64bit-condition): Define.
54982 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
54983 (syscall-list-variants, syscall-list-32bit-options)
54984 (syscall-list-32bit-condition, syscall-list-64bit-options)
54985 (syscall-list-64bit-condition): Define.
54986 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
54988 (syscall-list-variants, syscall-list-32bit-options)
54989 (syscall-list-32bit-condition, syscall-list-64bit-options)
54990 (syscall-list-64bit-condition): Define.
54991 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
54993 (syscall-list-variants, syscall-list-32bit-options)
54994 (syscall-list-32bit-condition, syscall-list-64bit-options)
54995 (syscall-list-64bit-condition): Define.
54997 2011-12-22 Ulrich Drepper <drepper@gmail.com>
54999 * locale/iso-639.def: Add brx entry.
55002 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
55003 Proposed by Mariusz_Cukr <marcukr@op.pl>.
55005 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
55006 __feraiseexcept_renamed.
55008 2011-12-21 Ulrich Drepper <drepper@gmail.com>
55011 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
55012 EPOLLET with unsigned values.
55013 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
55014 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
55016 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
55017 to large cancellation.
55018 * math/s_cacoshf.c: Likewise.
55019 * math/s_cacoshl.c: Likewise.
55021 2011-11-18 Richard B. Kreckel <kreckel@ginac.de>
55025 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
55026 * math/s_cacoshf.c: Likewise.
55027 * math/s_cacoshl.c: Likewise.
55029 2011-12-21 Ulrich Drepper <drepper@gmail.com>
55032 * iconv/gconv.h: Define __GCONV_SWAP.
55033 * iconvdata/unicode.c: The swap bit must be stored in __flags.
55034 * iconvdata/utf-16.c: Likewise.
55035 * iconvdata/utf-32.c: Likewise.
55037 2011-12-21 Andreas Schwab <schwab@linux-m68k.org>
55040 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
55041 numerator after shifting it by one limb.
55043 2011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
55045 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
55046 under [__USE_EXTERN_INLINES].
55048 2011-12-17 Ulrich Drepper <drepper@gmail.com>
55051 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
55053 2011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
55055 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
55056 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
55058 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
55059 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
55060 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
55061 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
55062 for strncasecmp/strncasecmp_l compilation.
55063 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
55064 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
55066 2011-12-08 Marek Polacek <mpolacek@redhat.com>
55069 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
55072 2011-12-17 Ulrich Drepper <drepper@gmail.com>
55075 * time/tzfile.c (__tzfile_read): Check values from file header.
55077 2011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
55079 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
55080 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
55081 * powerpc/powerpc32/dl-start.S: Likewise.
55082 * powerpc/powerpc32/elf/start.S: Likewise.
55083 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
55084 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
55085 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
55086 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
55087 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
55088 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
55089 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
55090 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
55091 * powerpc/powerpc32/fpu/s_round.S: Likewise.
55092 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
55093 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
55094 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
55095 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
55096 * powerpc/powerpc32/memset.S: Likewise.
55097 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
55098 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
55099 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
55100 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
55101 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
55102 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
55103 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
55104 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
55105 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
55106 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
55107 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
55108 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
55109 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
55111 2011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
55113 * math/libm-test.inc: Added more nearbyint tests.
55114 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
55115 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
55116 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
55117 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
55119 2011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
55121 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
55124 2011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
55126 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
55127 Add wcscpy-ssse3 wcscpy-c.
55128 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
55129 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
55130 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
55131 * sysdeps/x86_64/wcschr.S: New file.
55132 * sysdeps/x86_64/wcsrchr.S: New file.
55133 * string/test-strcmp.c: Remove checking of wcscmp function for
55135 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
55136 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
55137 wcsrchr-sse2 wcsrchr-c.
55138 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
55139 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
55140 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
55141 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
55142 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
55143 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
55144 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
55145 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
55146 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
55147 * wcsmbc/wcschr.c (WCSCHR): New macro.
55149 2011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
55151 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
55152 * wcsmbs/test-wcsrchr.c: New file.
55153 * string/test-strrchr.c: Add wcsrchr support.
55155 * wcsmbs/test-wcscpy.c: New file.
55156 * string/test-strcpy.c: Add wcscpy support.
55159 2011-12-10 Ulrich Drepper <drepper@gmail.com>
55161 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
55164 2011-12-06 Andreas Schwab <schwab@linux-m68k.org>
55167 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
55169 2011-12-04 Ulrich Drepper <drepper@gmail.com>
55171 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
55172 Minor optimizations.
55174 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
55175 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
55176 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
55178 2011-12-03 Ulrich Drepper <drepper@gmail.com>
55180 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
55181 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
55182 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
55183 for gcc to avoid warnings.
55184 * inet/Makefile (tests): Add tst-checks.
55185 * inet/tst-checks.c: New file.
55187 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
55190 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
55193 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
55194 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
55196 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
55198 2011-12-02 Ulrich Drepper <drepper@gmail.com>
55200 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
55203 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
55205 2011-11-29 Joseph Myers <joseph@codesourcery.com>
55207 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
55208 conditional on GCC version.
55209 (__arch_compare_and_exchange_val_8_acq)
55210 (__arch_compare_and_exchange_val_16_acq)
55211 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
55212 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
55213 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
55215 2011-12-02 Joseph Myers <joseph@codesourcery.com>
55217 * sysdeps/sh/backtrace.c: New file.
55219 2011-12-02 Andreas Schwab <schwab@redhat.com>
55221 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
55224 2011-12-01 Andreas Schwab <schwab@redhat.com>
55226 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
55227 falling back to utime.
55229 2011-11-30 Andreas Schwab <schwab@redhat.com>
55231 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
55232 expectations for float.
55234 2011-11-29 Andreas Schwab <schwab@redhat.com>
55236 * locale/weight.h (findidx): Add parameter len.
55237 * locale/weightwc.h (findidx): Likewise.
55238 * posix/fnmatch_loop.c (FCT): Adjust caller.
55239 * posix/regcomp.c (build_equiv_class): Likewise.
55240 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
55241 * posix/regexec.c (check_node_accept_bytes): Likewise.
55242 * string/strcoll_l.c (STRCOLL): Likewise.
55243 * string/strxfrm_l.c (STRXFRM): Likewise.
55245 2011-11-17 Ulrich Drepper <drepper@gmail.com>
55247 * Makefile.in: Remove CVSOPT handling.
55248 * configure.in: Remove use of AC_REVISION.
55249 * iconvdata/Makefile (distribute): No need to filter out CVS.
55250 * scripts/list-sources.sh: Remove CVS, subversion and monotone
55253 2011-11-16 Andreas Schwab <schwab@redhat.com>
55255 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
55256 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
55257 [USE_AS_STRNCASECMP_L]: Likewise.
55258 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
55259 NO_TLS_DIRECT_SEG_REFS.
55260 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
55261 Fix argument offsets for non-PIC.
55262 [USE_AS_STRNCASECMP_L]: Likewise.
55263 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
55264 NO_TLS_DIRECT_SEG_REFS.
55266 2011-11-15 Ulrich Drepper <drepper@gmail.com>
55268 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
55270 * locale/loadlocale.c (_nl_load_locale): Likewise.
55272 2011-11-15 Andreas Schwab <schwab@redhat.com>
55274 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
55275 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
55276 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
55277 (SYSCALL_GETTIME): Set errno on error.
55279 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
55280 count references to noai6ai_cached.
55282 2011-11-15 Ulrich Drepper <drepper@gmail.com>
55284 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
55286 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
55287 FD_CLOEXEC for /proc/self/maps.
55289 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
55290 FD_CLOEXEC for /proc/meminfo.
55292 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
55295 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
55296 FD_CLOEXEC for given file.
55298 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
55300 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
55301 FD_CLOEXEC for /etc/hosts.
55302 (_gethtent): Likewise.
55304 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
55306 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
55307 cancellation and set FD_CLOEXEC for /etc/netgroup.
55309 * nss/nss_files/files-key.c (search): Don't allow cancellation when
55310 reading /etc/publickey.
55312 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
55313 allow cancellation when reading /etc/group.
55315 * nss/nss_files/files-alias.c (internal_setent): Don't allow
55317 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
55319 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
55320 when using data file.
55322 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
55324 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
55325 (write_nis_obj): Use "c" and "e" in fopen.
55327 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
55329 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
55331 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
55333 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
55335 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
55338 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
55340 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
55342 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
55344 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
55345 file parsing and set FD_CLOEXEC.
55347 2011-11-14 Ulrich Drepper <drepper@gmail.com>
55349 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
55351 2011-11-14 Andreas Schwab <schwab@redhat.com>
55353 * malloc/arena.c (arena_get2): Don't call reused_arena when
55354 _int_new_arena failed.
55356 2011-11-14 Ulrich Drepper <drepper@gmail.com>
55358 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
55359 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
55360 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
55361 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
55362 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
55363 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
55364 to compile strcasecmp and strncasecmp.
55365 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
55366 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
55368 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
55370 2011-11-13 Ulrich Drepper <drepper@gmail.com>
55372 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
55373 locale-defines.sym to gen-as-const-headers.
55374 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
55375 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
55376 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
55377 to compile strcasecmp and strncasecmp.
55378 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
55379 strcasecmp_l and strncasecmp_l.
55380 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
55381 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
55382 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
55383 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
55384 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
55385 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
55386 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
55387 * sysdeps/i386/i686/multiarch/strncase.S: New file.
55388 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
55389 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
55390 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
55392 2011-11-12 Ulrich Drepper <drepper@gmail.com>
55394 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
55395 result of SYSDEP_GETTIME_CPU to retval.
55396 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
55397 parameter list to macro. Remove trailing semicolon. Adjust users.
55399 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
55402 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
55404 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
55406 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
55407 from unused variable.
55409 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
55411 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
55414 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
55417 * sunrpc/rpc_prot.c (rejected): Fix case value.
55419 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
55420 unsigned long long int to avoid warnings in shift.
55422 * posix/regex_internal.c (re_string_reconstruct): Actually use result
55424 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
55427 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
55428 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
55429 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
55431 * nis/nis_table.c (nis_list): Use variable of correct type for
55432 result of __follow_path call.
55434 2011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
55436 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
55437 of math functions ceil, trunc, floor, round, and sqrt, when
55438 avaliable on the platform.
55439 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
55441 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
55442 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
55443 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
55445 2011-10-30 Marek Polacek <mpolacek@redhat.com>
55447 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
55448 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
55450 2011-11-11 Roland McGrath <roland@hack.frob.com>
55452 * include/unistd.h: Fix __readlink return type.
55453 Reported by Chris Metcalf <cmetcalf@tilera.com>.
55455 2011-11-11 Ulrich Drepper <drepper@gmail.com>
55457 * stdlib/ucontext.h: Undo last change for makecontext.
55459 2011-11-11 Andreas Schwab <schwab@redhat.com>
55461 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
55463 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
55464 * setjmp/setjmp.h: Mark functions as non-leaf.
55465 * setjmp/bits/setjmp2.h: Likewise.
55466 * stdlib/ucontext.h: Likewise.
55468 2011-11-10 Andreas Schwab <schwab@redhat.com>
55470 * malloc/arena.c (_int_new_arena): Don't increment narenas.
55471 (reused_arena): Don't check arena limit.
55472 (arena_get2): Atomically check arena limit.
55474 2011-11-08 Ulrich Drepper <drepper@gmail.com>
55476 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
55477 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
55479 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
55482 2011-11-07 Andreas Schwab <schwab@redhat.com>
55484 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
55485 handler when locking.
55487 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
55488 Fix size of allocated buffer.
55490 2011-11-04 Andreas Schwab <schwab@redhat.com>
55493 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
55494 declarations for long double functions.
55495 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
55497 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
55499 2011-11-03 Andreas Schwab <schwab@redhat.com>
55501 * nscd/nscd.c (main): Don't start AVC thread until credentials are
55504 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
55507 2011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
55509 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
55511 2011-11-01 Andreas Schwab <schwab@linux-m68k.org>
55513 * include/alloca.h (stackinfo_alloca_round): Define.
55514 (extend_alloca): Use it.
55515 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
55516 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
55519 * scripts/check-local-headers.sh: Ignore libaudit.h.
55521 * nscd/Makefile (extra-objs): Make recursively expanded.
55523 2011-11-01 Ulrich Drepper <drepper@gmail.com>
55525 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
55526 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
55528 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
55529 * posix/tst-rfc3484-2.c: Likewise.
55530 * posix/tst-rfc3484-3.c: Likewise.
55532 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
55534 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
55536 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
55537 process_vm_writev from libc using GLIBC_2.15 version.
55539 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
55541 2011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
55543 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
55546 2011-10-31 Ulrich Drepper <drepper@gmail.com>
55549 * nss/getent.c (initgroups_keys): Show error message in case no group
55552 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
55553 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
55554 __bump_nl_timestamp.
55555 * nscd/connections (nscd_init): When host database is served open
55556 netlink socket and request notification about configuration changes.
55557 (main_loop_poll): Track netlink file descriptor and bump timestamp
55558 in case data becomes available.
55559 (main_loop_epoll): Likewise.
55560 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
55561 (database_pers_head): Add extra_data fileds.
55562 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
55563 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
55564 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
55566 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
55567 in6ai data, call __free_in6ai.
55568 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
55569 Add -DHAVE_NETLINK.
55570 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
55571 interface information. Reuse previous data if netlink timestamp
55573 (__bump_nl_timestamp): New function.
55574 (__free_in6ai): New function.
55576 2011-10-30 Ulrich Drepper <drepper@gmail.com>
55578 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
55579 close_not_cancel_no_status here.
55580 (__check_pf): Reorganize code a bit to not call close twice if OOM.
55582 2011-10-29 Ulrich Drepper <drepper@gmail.com>
55585 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
55588 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
55589 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
55590 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
55592 2011-07-03 Andreas Jaeger <aj@suse.de>
55595 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
55596 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
55597 * math/libm-test.inc (sin_test): Add test case.
55599 2011-10-29 Ulrich Drepper <drepper@gmail.com>
55602 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
55603 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
55605 * elf/chroot_canon.c (chroot_canon): Cleanups.
55607 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
55610 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
55611 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
55613 * string/test-strchr.c: Make usable for strchrnul testing.
55614 * string/test-strchrnul.c: New file.
55615 * string/Makefile (strop-tests): Add strchrnul.
55617 * po/it.po: Update from translation team.
55618 * po/es.po: Likewise.
55620 2011-10-28 Ulrich Drepper <drepper@gmail.com>
55622 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
55623 the three constants needed as parameters. Drop the others.
55624 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
55625 __m128i_strloadu_tolower.
55626 Create and initialize variable zero and use it in all the places
55627 where _mm_setzero_si128 was used.
55629 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
55630 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
55631 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
55632 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
55634 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
55635 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
55636 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
55637 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
55638 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
55639 __mpranred, __mptan.
55640 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
55641 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
55642 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
55643 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
55644 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
55645 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
55646 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
55647 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
55648 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
55650 2011-10-28 Andreas Schwab <schwab@redhat.com>
55652 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
55653 redefine if SHARED.
55654 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
55656 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
55657 wide char related routines to wcsmbs subdir.
55659 2011-10-27 Andreas Schwab <schwab@redhat.com>
55662 * misc/sys/cdefs.h (__THROWNL): Define.
55663 * posix/unistd.h: Use __THREADNL instead of __THREAD
55664 for memory synchronization functions.
55666 2011-10-26 Roland McGrath <roland@hack.frob.com>
55669 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
55671 * manual/stdio.texi (Obstack Streams): Node removed.
55673 2011-10-26 Andreas Schwab <schwab@redhat.com>
55675 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
55676 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
55677 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
55679 * math/math_private.h (math_force_eval): Allow non-addressable
55681 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
55683 2011-10-25 Ulrich Drepper <drepper@gmail.com>
55685 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
55686 file is not needed.
55688 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
55689 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
55690 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
55691 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
55692 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
55693 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
55694 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
55695 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
55697 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
55698 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
55699 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
55700 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
55701 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
55702 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
55703 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
55704 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
55705 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
55706 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
55707 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
55708 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
55709 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
55710 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
55711 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
55712 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
55713 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
55714 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
55715 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
55717 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
55718 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
55720 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
55721 place. Use VEX encoding when compiling for AVX.
55723 2011-10-25 Andreas Schwab <schwab@redhat.com>
55725 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
55726 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
55728 * string/test-strchr.c (do_test): Don't generate NUL bytes.
55730 2011-10-25 Ulrich Drepper <drepper@gmail.com>
55732 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
55733 useless if() expression.
55734 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
55735 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
55736 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
55737 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
55738 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
55739 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
55740 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
55741 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
55742 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
55743 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
55744 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
55745 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
55746 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
55747 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
55748 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
55749 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
55750 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
55751 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
55752 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
55754 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
55756 2011-10-25 Andreas Schwab <schwab@redhat.com>
55758 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
55760 * elf/dl-fini.c (_dl_sort_fini): Likewise.
55762 2011-10-25 Ulrich Drepper <drepper@gmail.com>
55764 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
55765 .text section. Avoid duplicate constants.
55766 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
55767 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
55768 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
55769 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
55770 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
55771 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
55772 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
55773 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
55774 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
55775 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
55776 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
55777 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
55778 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
55779 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
55780 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
55781 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
55782 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
55783 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
55784 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
55785 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
55786 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
55787 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
55788 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
55789 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
55790 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
55791 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
55792 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
55793 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
55794 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
55795 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
55796 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
55797 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
55798 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
55799 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
55800 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
55801 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
55802 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
55803 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
55804 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
55805 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
55806 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
55807 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
55808 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
55809 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
55810 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
55812 2011-10-24 Ulrich Drepper <drepper@gmail.com>
55814 * sysdeps/x86_64/dla.h: Move to ...
55815 * sysdeps/x86_64/fpu/dla.h: ...here.
55816 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
55817 situations. Use __builtin_fma only for gcc 4.6 and up.
55819 * config.make.in: Add have-mfma4 entry.
55820 * configure.in: Substitute libc_cv_cc_fma4.
55821 * math/Makefile (dbl-only-routines): Add sincostab.
55822 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
55823 Use __sincostab not sincos.
55824 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
55826 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
55827 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
55828 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
55829 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
55831 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
55832 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
55833 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
55834 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
55836 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
55837 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
55839 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
55840 define aliases when function name is a macro.
55841 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
55842 sysdeps/ieee754/dbl-64/sincos.tbl.
55843 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
55844 fma4-enabled routines.
55845 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
55846 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
55847 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
55848 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
55849 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
55850 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
55851 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
55852 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
55853 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
55854 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
55855 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
55856 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
55857 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
55858 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
55859 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
55860 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
55861 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
55862 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
55863 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
55864 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
55865 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
55866 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
55867 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
55868 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
55869 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
55870 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
55871 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
55872 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
55873 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
55874 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
55876 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
55878 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
55879 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
55880 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
55881 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
55882 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
55883 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
55884 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
55885 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
55887 2011-10-24 Andreas Schwab <schwab@redhat.com>
55889 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
55891 2011-10-23 Ulrich Drepper <drepper@gmail.com>
55893 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
55895 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
55897 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
55899 * string/strnlen.c: Don't define STRNLEN, reverse logic.
55900 Remove unused variable magic_bits.
55901 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
55903 * string/strnlen.c: Define and use STRNLEN macro.
55904 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
55905 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
55906 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
55907 * wcsmbs/wcslen.c: Define and use WCSLEN.
55908 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
55909 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
55910 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
55911 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
55912 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
55913 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
55914 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
55916 2011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
55918 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
55919 strnlen-sse2-no-bsf.
55920 Rename strlen-no-bsf to strlen-sse2-no-bsf.
55921 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
55922 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
55923 Add strnlen support.
55924 (USE_AS_STRNLEN): New macro.
55925 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
55926 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
55927 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
55928 * sysdeps/x86_64/wcslen.S: New file.
55930 2011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
55932 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
55933 XMM-moves are used for copying on small sizes.
55935 2011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
55937 * wcsmbs/Makefile (strop-tests): Add wcschr.
55938 * wcsmbs/test-wcschr.c: New file.
55939 * string/test-strchr.c: Update.
55940 Add wcschr support.
55943 2011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
55945 * wcsmbs/Makefile (strop-tests): Add wcslen.
55946 * wcsmbs/test-wcslen.c: New file.
55947 * string/test-strlen.c: Update.
55948 Add wcslen support.
55951 2011-10-23 Ulrich Drepper <drepper@gmail.com>
55953 * po/it.po: Update from translation team.
55955 2011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
55957 * sysdeps/x86_64/wcscmp.S: Update.
55958 Fix wrong comparison semantics.
55959 wcscmp shall use signed comparison not unsigned.
55960 Don't use substraction to avoid overflow bug.
55961 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
55962 * wcsmbc/wcscmp.c: Likewise.
55963 * string/test-strcmp.c: Likewise.
55964 Add new tests to check cases with negative values.
55966 2011-10-23 Ulrich Drepper <drepper@gmail.com>
55968 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
55969 * sysdeps/x86_64/dla.h: ...here. New file.
55970 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
55971 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
55972 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
55973 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
55974 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
55975 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
55976 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
55977 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
55978 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
55980 2011-10-23 Andreas Schwab <schwab@linux-m68k.org>
55982 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
55983 __ynl_finite aliases.
55985 2011-10-22 Ulrich Drepper <drepper@gmail.com>
55987 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
55989 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
55991 [DLA_FMA] (EMULV): Use DLA_FMA.
55992 [DLA_FMA] (MUL12): Use EMULV.
55993 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
55994 that are not needed.
55995 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
55996 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
55997 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
55998 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
55999 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
56000 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
56001 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
56003 2011-10-22 Andreas Schwab <schwab@linux-m68k.org>
56005 * math/s_nan.c: Undef __nan.
56006 * math/s_nanf.c: Undef __nanf.
56007 * math/s_nanl.c: Undef __nanl.
56008 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
56011 2011-10-22 Ulrich Drepper <drepper@gmail.com>
56013 * math/s_catan.c: Add branch predictions.
56014 * math/s_catanf.c: Likewise.
56015 * math/s_catanh.c: Likewise.
56016 * math/s_catanhf.c: Likewise.
56017 * math/s_catanhl.c: Likewise.
56018 * math/s_catanl.c: Likewise.
56019 * math/s_cexp.c: Likewise.
56020 * math/s_cexpf.c: Likewise.
56021 * math/s_cexpl.c: Likewise.
56022 * math/s_clog.c: Likewise.
56023 * math/s_clog10.c: Likewise.
56024 * math/s_clog10f.c: Likewise.
56025 * math/s_clog10l.c: Likewise.
56026 * math/s_clogf.c: Likewise.
56027 * math/s_clogl.c: Likewise.
56028 * math/s_csqrt.c: Likewise.
56029 * math/s_csqrtf.c: Likewise.
56030 * math/s_csqrtl.c: Likewise.
56031 * math/s_ctanf.c: Likewise.
56032 * math/s_ctanh.c: Likewise.
56033 * math/s_ctanhf.c: Likewise.
56034 * math/s_ctanhl.c: Likewise.
56035 * math/s_ctanl.c: Likewise.
56037 * math/math_private.h: Define __nan, __nanf, __nanl.
56038 * math/s_cacosh.c: Include <math_private.h>.
56039 * math/s_cacoshl.c: Likewise.
56040 * math/s_casinh.c: Likewise.
56041 * math/s_casinhf.c: Likewise.
56042 * math/s_casinhl.c: Likewise.
56043 * math/s_ccos.c: Rely entire on ccosh.
56044 * math/s_ccosf.c: Rely entire on ccoshf.
56045 * math/s_ccosl.c: Rely entirely on ccoshl.
56046 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
56047 Remove tests for FE_INVALID.
56048 * math/s_ccoshf.c: Likewise.
56049 * math/s_ccoshl.c: Likewise.
56050 * math/s_csin.c: Likewise.
56051 * math/s_csinf.c: Likewise.
56052 * math/s_csinh.c Likewise.
56053 * math/s_csinhf.c: Likewise.
56054 * math/s_csinhl.c: Likewise.
56055 * math/s_csinl.c: Likewise.
56056 * math/s_ctan.c: Likewise.
56057 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
56058 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
56059 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
56061 2011-10-21 Ulrich Drepper <drepper@gmail.com>
56063 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
56064 compilation problems.
56066 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
56069 2011-10-20 Ulrich Drepper <drepper@gmail.com>
56071 * sysdeps/i386/configure.in: Test for -mfma4 option.
56072 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
56073 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
56074 COMMON_CPUID_INDEX_80000001.
56075 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
56076 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
56077 use it if FMA3 is not supported.
56078 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
56080 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
56081 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
56083 2011-10-20 Andreas Schwab <schwab@redhat.com>
56086 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
56087 it would create a cycle with a link time dependency.
56089 2011-10-19 Ulrich Drepper <drepper@gmail.com>
56091 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
56093 * string/Makefile (strop-tests): Add rawmemchr.
56094 * string/test-rawmemchr.c: New file.
56096 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
56097 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
56098 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
56099 when compiling str{,n}casecmp and when AVX is available. Hook up
56100 new optimized code in initializers.
56102 2011-10-19 Andreas Schwab <schwab@redhat.com>
56104 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
56105 __feraiseexcept instead of feraiseexcept.
56107 2011-10-18 Ulrich Drepper <drepper@gmail.com>
56109 * math/math_private.h: Define defaults for libc_fetestexcept and
56111 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
56112 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
56113 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
56114 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
56115 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
56116 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
56117 libc_fetestexcept and libc_feupdateenv.
56119 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
56120 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
56121 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
56122 * sysdeps/x86_64/fpu/math_private.h: Define special version of
56123 libc_feholdexcept_setround.
56125 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
56126 Add s_nearbyint-c and s_nearbyintf-c.
56127 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
56128 nearbyintf inlines.
56129 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
56130 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
56131 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
56132 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
56134 * math/math_private.h: Define defaults for libc_fegetround,
56135 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
56136 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
56137 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
56138 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
56139 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
56140 standard functions.
56141 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
56142 Remove comments and hacks for old compiler versions.
56143 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
56144 libc_fegetround, libc_fesetround, libc_feholdexcept, and
56145 libc_feholdexceptl.
56147 2011-10-18 Andreas Schwab <schwab@redhat.com>
56149 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
56150 (__feraiseexcept_renamed): Add __NTH.
56151 (feraiseexcept): Add __NTH. Rename local variables to fix
56152 namespace violations.
56154 2011-10-17 Ulrich Drepper <drepper@gmail.com>
56156 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
56158 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
56160 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
56161 recently added interfaces.
56162 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
56164 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
56165 about macro parameter expansion.
56167 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
56168 __NO_MATH_INLINES is defined. Cleanups.
56170 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
56171 and __floorf is target has SSE4.1.
56172 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
56173 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
56174 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
56175 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
56177 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
56179 (floorf): Likewise.
56181 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
56183 2011-10-17 Andreas Schwab <schwab@redhat.com>
56185 * misc/sys/cdefs.h: Fix last change.
56187 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
56190 2011-10-16 Ulrich Drepper <drepper@gmail.com>
56192 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
56194 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
56195 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
56196 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
56197 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
56198 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
56199 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
56200 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
56201 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
56202 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
56203 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
56204 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
56205 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
56206 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
56207 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
56208 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
56209 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
56210 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
56211 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
56212 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
56213 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
56214 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
56215 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
56217 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
56218 ceil, ceilf, floor, floorf.
56220 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
56221 Perform IRELATIVE relocations last.
56223 * elf/do-rel.h: Add another parameter nrelative, replacing the
56224 local variable with the same name. Change name of the function
56225 to end in Rel or Rela (uppercase).
56226 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
56227 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
56228 elf_dynamic_do_##reloc function.
56230 2011-10-15 Ulrich Drepper <drepper@gmail.com>
56232 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
56233 is sufficient, at least on modern CPUs.
56235 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
56237 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
56238 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
56240 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
56242 * math/bits/math-finite.h: Add entries for exp.
56243 * math/e_expl.c: Add __*_finite alias.
56244 * sysdeps/i386/fpu/e_exp.S: Likewise.
56245 * sysdeps/i386/fpu/e_expf.S: Likewise.
56246 * sysdeps/i386/fpu/e_expl.c: Likewise.
56247 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
56248 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
56249 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
56250 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
56251 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
56252 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
56253 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
56255 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
56256 is sufficient, at least on modern CPUs.
56258 * ctype/ctype-info.c (__ctype_init): Define.
56259 * include/ctype.h (__ctype_init): Declare.
56260 (__ctype_b_loc): The variable is always initialized.
56261 (__ctype_toupper_loc): Likewise.
56262 (__ctype_tolower_loc): Likewise.
56263 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
56264 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
56266 2011-10-15 Andreas Schwab <schwab@linux-m68k.org>
56268 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
56270 * configure.in: Also look in $cxxmachine/include for C++ system
56273 2011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
56275 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
56276 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
56277 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
56278 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
56279 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
56280 (USE_AS_WMEMCMP): New macro.
56282 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
56283 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
56284 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
56285 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
56286 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
56287 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
56288 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
56289 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
56290 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
56291 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
56292 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
56293 (USE_AS_WMEMCMP): New macro.
56294 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
56295 * sysdeps/string/test-memcmp.c: Update.
56296 Fix simple_wmemcmp.
56298 * wcsmbs/wmemcmp.c: Update.
56299 (WMEMCMP): New macro.
56302 2011-10-12 Andreas Jaeger <aj@suse.de>
56305 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
56307 2011-10-15 Ulrich Drepper <drepper@gmail.com>
56309 * libio/iofwide.c (do_length): Avoid warning.
56311 * ctype/ctype.h (__isctype_f): Add missing __THROW.
56313 2011-10-14 Ulrich Drepper <drepper@gmail.com>
56315 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
56317 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
56318 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
56319 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
56320 * sysdeps/i386/i686/fpu/e_log.S: New file.
56321 * sysdeps/i386/i686/fpu/e_logf.S: New file.
56322 * sysdeps/i386/i686/fpu/e_logl.S: New file.
56324 * ctype/ctype.h: Add support for inlined isXXX functions when
56325 compiling C++ code.
56327 2011-10-14 Andreas Schwab <schwab@redhat.com>
56329 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
56331 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
56333 2011-10-13 Roland McGrath <roland@hack.frob.com>
56336 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
56338 2011-10-13 Andreas Schwab <schwab@redhat.com>
56340 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
56341 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
56344 * sysdeps/x86_64/memrchr.S: Check for zero size.
56346 * string/stratcliff.c: Add memrchr tests.
56348 2011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
56350 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
56351 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
56352 rawmemchr-sse2 rawmemchr-sse2-bsf.
56353 * sysdeps/i386/i686/multiarch/memchr.S: New file.
56354 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
56355 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
56356 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
56357 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
56358 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
56359 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
56360 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
56361 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
56362 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
56363 * string/memrchr.c (MEMRCHR): New macro.
56365 2011-10-12 Ulrich Drepper <drepper@gmail.com>
56367 Add integration with gcc's -ffinite-math-only and optimize wrapper
56369 * Versions.def: Define GLIBC_2.15 version for libm.
56370 * math/Makefile (headers): Add bits/math-finite.h.
56371 * math/bits/math-finite.h: New file.
56372 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
56373 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
56374 * math/e_acoshl.c: Add __*_finite alias.
56375 * math/e_acosl.c: Likewise.
56376 * math/e_asinl.c: Likewise.
56377 * math/e_atan2l.c: Likewise.
56378 * math/e_atanhl.c: Likewise.
56379 * math/e_coshl.c: Likewise.
56380 * math/e_exp10.c: Likewise.
56381 * math/e_exp10f.c: Likewise.
56382 * math/e_exp10l.c: Likewise.
56383 * math/e_exp2l.c: Likewise.
56384 * math/e_fmodl.c: Likewise.
56385 * math/e_gammal_r.c: Likewise.
56386 * math/e_hypotl.c: Likewise.
56387 * math/e_j0l.c: Likewise.
56388 * math/e_j1l.c: Likewise.
56389 * math/e_jnl.c: Likewise.
56390 * math/e_lgammal_r.c: Likewise.
56391 * math/e_log10l.c: Likewise.
56392 * math/e_log2l.c: Likewise.
56393 * math/e_logl.c: Likewise.
56394 * math/e_powl.c: Likewise.
56395 * math/e_sinhl.c: Likewise.
56396 * math/e_sqrtl.c: Likewise.
56397 * math/e_scalb.c: Completely rewritten and optimized.
56398 * math/e_scalbf.c: Likewise.
56399 * math/e_scalbl.c: Likewise.
56400 * math/w_acos.c: Likewise.
56401 * math/w_acosf.c: Likewise.
56402 * math/w_acosl.c: Likewise.
56403 * math/w_acosh.c: Likewise.
56404 * math/w_acoshf.c: Likewise.
56405 * math/w_acoshl.c: Likewise.
56406 * math/w_asin.c: Likewise.
56407 * math/w_asinf.c: Likewise.
56408 * math/w_asinl.c: Likewise.
56409 * math/w_atan2.c: Likewise.
56410 * math/w_atan2f.c: Likewise.
56411 * math/w_atan2l.c: Likewise.
56412 * math/w_atanh.c: Likewise.
56413 * math/w_atanhf.c: Likewise.
56414 * math/w_atanhl.c: Likewise.
56415 * math/w_exp10.c: Likewise.
56416 * math/w_exp10f.c: Likewise.
56417 * math/w_exp10l.c: Likewise.
56418 * math/w_fmod.c: Likewise.
56419 * math/w_fmodf.c: Likewise.
56420 * math/w_fmodl.c: Likewise.
56421 * math/w_j0.c: Likewise.
56422 * math/w_j0f.c: Likewise.
56423 * math/w_j0l.c: Likewise.
56424 * math/w_j1.c: Likewise.
56425 * math/w_j1f.c: Likewise.
56426 * math/w_j1l.c: Likewise.
56427 * math/w_jn.c: Likewise.
56428 * math/w_jnf.c: Likewise.
56429 * math/w_log.c: Likewise.
56430 * math/w_logf.c: Likewise.
56431 * math/w_logl.c: Likewise.
56432 * math/w_log10.c: Likewise.
56433 * math/w_log10f.c: Likewise.
56434 * math/w_log10l.c: Likewise.
56435 * math/w_log2.c: Likewise.
56436 * math/w_log2f.c: Likewise.
56437 * math/w_log2l.c: Likewise.
56438 * math/w_pow.c: Likewise.
56439 * math/w_powf.c: Likewise.
56440 * math/w_powl.c: Likewise.
56441 * math/w_remainder.c: Likewise.
56442 * math/w_remainderf.c: Likewise.
56443 * math/w_remainderl.c: Likewise.
56444 * math/w_scalb.c: Likewise.
56445 * math/w_scalbf.c: Likewise.
56446 * math/w_scalbl.c: Likewise.
56447 * math/w_sqrt.c: Likewise.
56448 * math/w_sqrtf.c: Likewise.
56449 * math/w_sqrtl.c: Likewise.
56450 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
56451 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
56453 * math/math_private.h: Declare __kernel_standard_f.
56454 * math/w_cosh.c: Remove cruft and optimize a bit.
56455 * math/w_coshf.c: Likewise.
56456 * math/w_coshl.c: Likewise.
56457 * math/w_exp2.c: Likewise.
56458 * math/w_exp2f.c: Likewise.
56459 * math/w_exp2l.c: Likewise.
56460 * math/w_hypot.c: Likewise.
56461 * math/w_hypotf.c: Likewise.
56462 * math/w_hypotl.c: Likewise.
56463 * math/w_lgamma.c: Likewise.
56464 * math/w_lgamma_r.c: Likewise.
56465 * math/w_lgammaf.c: Likewise.
56466 * math/w_lgammaf_r.c: Likewise.
56467 * math/w_lgammal.c: Likewise.
56468 * math/w_lgammal_r.c: Likewise.
56469 * math/w_sinh.c: Likewise.
56470 * math/w_sinhf.c: Likewise.
56471 * math/w_sinhl.c: Likewise.
56472 * math/w_tgamma.c: Likewise.
56473 * math/w_tgammaf.c: Likewise.
56474 * math/w_tgammal.c: Likewise.
56475 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
56476 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
56477 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
56478 Minor optimizations. Pretty printing. Remove cruft.
56479 * sysdeps/i386/fpu/e_acosf.S: Likewise.
56480 * sysdeps/i386/fpu/e_acosh.S: Likewise.
56481 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
56482 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
56483 * sysdeps/i386/fpu/e_acosl.c: Likewise.
56484 * sysdeps/i386/fpu/e_asin.S: Likewise.
56485 * sysdeps/i386/fpu/e_asinf.S: Likewise.
56486 * sysdeps/i386/fpu/e_atan2.S: Likewise.
56487 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
56488 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
56489 * sysdeps/i386/fpu/e_atanh.S: Likewise.
56490 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
56491 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
56492 * sysdeps/i386/fpu/e_exp10.S: Likewise.
56493 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
56494 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
56495 * sysdeps/i386/fpu/e_exp2.S: Likewise.
56496 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
56497 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
56498 * sysdeps/i386/fpu/e_fmod.S: Likewise.
56499 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
56500 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
56501 * sysdeps/i386/fpu/e_hypot.S: Likewise.
56502 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
56503 * sysdeps/i386/fpu/e_log.S: Likewise.
56504 * sysdeps/i386/fpu/e_log10.S: Likewise.
56505 * sysdeps/i386/fpu/e_log10f.S: Likewise.
56506 * sysdeps/i386/fpu/e_log10l.S: Likewise.
56507 * sysdeps/i386/fpu/e_log2.S: Likewise.
56508 * sysdeps/i386/fpu/e_log2f.S: Likewise.
56509 * sysdeps/i386/fpu/e_log2l.S: Likewise.
56510 * sysdeps/i386/fpu/e_logf.S: Likewise.
56511 * sysdeps/i386/fpu/e_logl.S: Likewise.
56512 * sysdeps/i386/fpu/e_pow.S: Likewise.
56513 * sysdeps/i386/fpu/e_powf.S: Likewise.
56514 * sysdeps/i386/fpu/e_powl.S: Likewise.
56515 * sysdeps/i386/fpu/e_remainder.S: Likewise.
56516 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
56517 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
56518 * sysdeps/i386/fpu/e_scalb.S: Likewise.
56519 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
56520 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
56521 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
56522 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
56523 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
56524 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
56525 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
56526 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
56527 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
56528 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
56529 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
56530 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
56531 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
56532 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
56533 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
56534 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
56535 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
56536 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
56537 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
56538 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
56539 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
56540 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
56541 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
56542 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
56543 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
56544 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
56545 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
56546 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
56547 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
56548 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
56549 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
56550 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
56551 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
56552 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
56553 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
56554 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
56555 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
56556 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
56557 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
56558 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
56559 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
56560 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
56561 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
56562 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
56563 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
56564 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
56565 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
56566 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
56567 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
56568 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
56569 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
56570 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
56571 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
56572 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
56573 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
56574 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
56575 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
56576 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
56577 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
56578 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
56579 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
56580 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
56581 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
56582 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
56583 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
56584 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
56585 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
56586 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
56587 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
56588 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
56589 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
56590 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
56591 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
56592 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
56593 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
56594 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
56595 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
56596 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
56597 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
56598 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
56599 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
56600 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
56601 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
56602 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
56603 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
56604 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
56605 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
56606 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
56607 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
56608 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
56609 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
56610 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
56611 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
56612 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
56613 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
56614 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
56615 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
56616 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
56617 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
56618 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
56619 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
56620 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
56621 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
56622 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
56623 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
56624 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
56625 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
56626 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
56627 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
56628 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
56629 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
56630 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
56631 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
56632 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
56633 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
56634 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
56635 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
56636 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
56637 (__isnanf): Likewise.
56638 (__isinf_ns): Likewise.
56639 (__isinf_nsf): Likewise.
56640 (__finite): Likewise.
56641 (__finitef): Likewise.
56642 (__ieee754_sqrt): Define as macro.
56643 (__ieee754_sqrtf): Define as macro.
56644 (__ieee754_sqrtl): Define as macro.
56645 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
56647 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
56648 __FINITE_MATH_ONLY__ consistent.
56649 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
56651 2011-10-10 Andreas Schwab <schwab@linux-m68k.org>
56653 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
56656 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
56658 2011-10-09 Ulrich Drepper <drepper@gmail.com>
56660 * po/ja.po: Update from translation team.
56662 2011-10-08 Roland McGrath <roland@hack.frob.com>
56664 * locale/programs/locarchive.c (prepare_address_space): New function.
56665 (create_archive, enlarge_archive, open_archive): Use it.
56667 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
56668 inside [SHARED], where it is used.
56670 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
56672 * nss/getent.c (netgroup_keys): Remove unused variable.
56673 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
56675 2011-10-08 Ulrich Drepper <drepper@gmail.com>
56677 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
56678 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
56679 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
56680 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
56681 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
56682 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
56683 * math/Makefile (libm-calls): Add s_isinf_ns.
56684 * math/divtc3.c: Use __isinf_nsl instead of isinf.
56685 * math/multc3.c: Likewise.
56686 * math/s_casin.c: Likewise.
56687 * math/s_casinf.c: Likewise.
56688 * math/s_casinl.c: Likewise.
56689 * math/s_ccos.c: Likewise.
56690 * math/s_ccosf.c: Likewise.
56691 * math/s_ccosl.c: Likewise.
56692 * math/s_ctan.c: Likewise.
56693 * math/s_ctanf.c: Likewise.
56694 * math/s_ctanh.c: Likewise.
56695 * math/s_ctanhf.c: Likewise.
56696 * math/s_ctanhl.c: Likewise.
56697 * math/s_ctanl.c: Likewise.
56698 * math/w_fmod.c: Likewise.
56699 * math/w_fmodf.c: Likewise.
56700 * math/w_fmodl.c: Likewise.
56701 * math/w_remainder.c: Likewise.
56702 * math/w_remainderf.c: Likewise.
56703 * math/w_remainderl.c: Likewise.
56704 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
56705 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
56706 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
56707 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
56708 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
56709 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
56710 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
56711 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
56713 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
56715 * stdio-common/printf_fphex.c: Likewise.
56716 * stdio-common/printf_size.c: Likewise.
56718 * math/e_exp10.c: Include math_private.h using <...> not "...".
56719 * math/e_exp10f.c: Likewise.
56720 * math/e_exp10l.c: Likewise.
56721 * math/e_exp2l.c: Likewise.
56722 * math/e_j0l.c: Likewise.
56723 * math/e_j1l.c: Likewise.
56724 * math/e_jnl.c: Likewise.
56725 * math/e_lgammal_r.c: Likewise.
56726 * math/e_rem_pio2l.c: Likewise.
56727 * math/e_scalb.c: Likewise.
56728 * math/e_scalbf.c: Likewise.
56729 * math/e_scalbl.c: Likewise.
56730 * math/k_cosl.c: Likewise.
56731 * math/k_sinl.c: Likewise.
56732 * math/k_tanl.c: Likewise.
56733 * math/s_cacoshf.c: Likewise.
56734 * math/s_catan.c: Likewise.
56735 * math/s_catanf.c: Likewise.
56736 * math/s_catanh.c: Likewise.
56737 * math/s_catanhf.c: Likewise.
56738 * math/s_catanhl.c: Likewise.
56739 * math/s_catanl.c: Likewise.
56740 * math/s_ccosh.c: Likewise.
56741 * math/s_ccoshf.c: Likewise.
56742 * math/s_ccoshl.c: Likewise.
56743 * math/s_cexp.c: Likewise.
56744 * math/s_cexpf.c: Likewise.
56745 * math/s_cexpl.c: Likewise.
56746 * math/s_clog.c: Likewise.
56747 * math/s_clog10.c: Likewise.
56748 * math/s_clog10f.c: Likewise.
56749 * math/s_clog10l.c: Likewise.
56750 * math/s_clogf.c: Likewise.
56751 * math/s_clogl.c: Likewise.
56752 * math/s_csin.c: Likewise.
56753 * math/s_csinf.c: Likewise.
56754 * math/s_csinh.c: Likewise.
56755 * math/s_csinhf.c: Likewise.
56756 * math/s_csinhl.c: Likewise.
56757 * math/s_csinl.c: Likewise.
56758 * math/s_csqrt.c: Likewise.
56759 * math/s_csqrtf.c: Likewise.
56760 * math/s_csqrtl.c: Likewise.
56761 * math/s_ctan.c: Likewise.
56762 * math/s_ctanf.c: Likewise.
56763 * math/s_ctanh.c: Likewise.
56764 * math/s_ctanhf.c: Likewise.
56765 * math/s_ctanhl.c: Likewise.
56766 * math/s_ctanl.c: Likewise.
56767 * math/s_ldexp.c: Likewise.
56768 * math/s_ldexpf.c: Likewise.
56769 * math/s_ldexpl.c: Likewise.
56770 * math/s_significand.c: Likewise.
56771 * math/s_significandf.c: Likewise.
56772 * math/s_significandl.c: Likewise.
56773 * math/w_acos.c: Likewise.
56774 * math/w_acosf.c: Likewise.
56775 * math/w_acosh.c: Likewise.
56776 * math/w_acoshf.c: Likewise.
56777 * math/w_acoshl.c: Likewise.
56778 * math/w_acosl.c: Likewise.
56779 * math/w_asin.c: Likewise.
56780 * math/w_asinf.c: Likewise.
56781 * math/w_asinl.c: Likewise.
56782 * math/w_atan2.c: Likewise.
56783 * math/w_atan2f.c: Likewise.
56784 * math/w_atan2l.c: Likewise.
56785 * math/w_atanh.c: Likewise.
56786 * math/w_atanhf.c: Likewise.
56787 * math/w_atanhl.c: Likewise.
56788 * math/w_cosh.c: Likewise.
56789 * math/w_coshf.c: Likewise.
56790 * math/w_coshl.c: Likewise.
56791 * math/w_dremf.c: Likewise.
56792 * math/w_exp10.c: Likewise.
56793 * math/w_exp10f.c: Likewise.
56794 * math/w_exp10l.c: Likewise.
56795 * math/w_exp2.c: Likewise.
56796 * math/w_exp2f.c: Likewise.
56797 * math/w_fmod.c: Likewise.
56798 * math/w_fmodf.c: Likewise.
56799 * math/w_fmodl.c: Likewise.
56800 * math/w_hypot.c: Likewise.
56801 * math/w_hypotf.c: Likewise.
56802 * math/w_hypotl.c: Likewise.
56803 * math/w_j0.c: Likewise.
56804 * math/w_j0f.c: Likewise.
56805 * math/w_j0l.c: Likewise.
56806 * math/w_j1.c: Likewise.
56807 * math/w_j1f.c: Likewise.
56808 * math/w_j1l.c: Likewise.
56809 * math/w_jn.c: Likewise.
56810 * math/w_jnf.c: Likewise.
56811 * math/w_jnl.c: Likewise.
56812 * math/w_lgamma.c: Likewise.
56813 * math/w_lgamma_r.c: Likewise.
56814 * math/w_lgammaf.c: Likewise.
56815 * math/w_lgammaf_r.c: Likewise.
56816 * math/w_lgammal.c: Likewise.
56817 * math/w_lgammal_r.c: Likewise.
56818 * math/w_log.c: Likewise.
56819 * math/w_log10.c: Likewise.
56820 * math/w_log10f.c: Likewise.
56821 * math/w_log10l.c: Likewise.
56822 * math/w_log2.c: Likewise.
56823 * math/w_log2f.c: Likewise.
56824 * math/w_log2l.c: Likewise.
56825 * math/w_logf.c: Likewise.
56826 * math/w_logl.c: Likewise.
56827 * math/w_pow.c: Likewise.
56828 * math/w_powf.c: Likewise.
56829 * math/w_powl.c: Likewise.
56830 * math/w_remainder.c: Likewise.
56831 * math/w_remainderf.c: Likewise.
56832 * math/w_remainderl.c: Likewise.
56833 * math/w_scalb.c: Likewise.
56834 * math/w_scalbf.c: Likewise.
56835 * math/w_scalbl.c: Likewise.
56836 * math/w_sinh.c: Likewise.
56837 * math/w_sinhf.c: Likewise.
56838 * math/w_sinhl.c: Likewise.
56839 * math/w_sqrt.c: Likewise.
56840 * math/w_sqrtf.c: Likewise.
56841 * math/w_sqrtl.c: Likewise.
56842 * math/w_tgamma.c: Likewise.
56843 * math/w_tgammaf.c: Likewise.
56844 * math/w_tgammal.c: Likewise.
56846 * po/ja.po: Update from translation team.
56848 2011-09-29 Andreas Jaeger <aj@suse.de>
56851 * sunrpc/netname.c (netname2host): Fix logic.
56855 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
56857 * math/w_remainder.c (__remainder): Likewise.
56858 * math/w_remainderf.c (__remainderf): Likewise.
56859 * math/libm-test.inc (remainder_test): Add test cases.
56861 2011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
56863 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
56866 2011-10-07 Ulrich Drepper <drepper@gmail.com>
56868 * string/test-memcmp.c: Avoid unncessary #defines.
56869 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
56871 2011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
56873 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
56874 Use new sse2 version for core i3 - i7 as it's faster
56875 than sse42 version.
56876 (bit_Prefer_PMINUB_for_stringop): New.
56877 * sysdeps/x86_64/rawmemchr.S: Update.
56878 Replace with faster SSE2 version.
56879 * sysdeps/x86_64/memrchr.S: New file.
56880 * sysdeps/x86_64/memchr.S: Update.
56881 Replace with faster SSE2 version.
56883 2011-09-12 Marek Polacek <mpolacek@redhat.com>
56885 * elf/dl-load.c (lose): Add cast to avoid warning.
56887 2011-10-07 Ulrich Drepper <drepper@gmail.com>
56889 * po/ca.po: Update from translation team.
56891 * inet/getnetgrent_r.c: Hook up nscd.
56892 * nscd/Makefile (routines): Add nscd_netgroup.
56893 (nscd-modules): Add netgroupcache.
56894 (CFLAGS-netgroupcache.c): Define.
56895 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
56896 (cache_search): Add const to second parameter.
56897 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
56899 (dbs): Add netgrdb entry.
56900 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
56901 (verify_persistent_db): Handle netgrdb.
56902 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
56903 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
56905 (netgroup_response_header): Define.
56906 (innetgroup_response_header): Define.
56907 (datahead): Add netgroup_response_header and innetgroup_response_header
56909 * nscd/nscd.conf: Add entries for netgroup cache.
56910 * nscd/nscd.h (dbtype): Add netgrdb.
56911 (_PATH_NSCD_NETGROUP_DB): Define.
56912 (netgroup_iov_disabled): Declare.
56913 (xmalloc, xcalloc, xrealloc): Move declarations here.
56914 (cache_search): Adjust prototype.
56915 Add netgroup-related prototypes.
56916 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
56917 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
56918 (__nscd_innetgr): Declare.
56919 * nscd/selinux.c (perms): Use access_vector_t as element type and
56920 add netgroup-related initializers.
56921 * nscd/netgroupcache.c: New file.
56922 * nscd/nscd_netgroup.c: New file.
56923 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
56924 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
56925 For four parameters use innetgr.
56926 * nss/nss_files/files-init.c: Add definition and callback for netgr.
56927 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
56928 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
56929 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
56931 * nscd/connections.c (register_traced_file): Don't register file
56932 for disabled databases.
56934 2011-10-06 Ulrich Drepper <drepper@gmail.com>
56936 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
56938 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
56939 from tree and freeing node.
56941 2011-09-25 Jiri Olsa <jolsa@redhat.com>
56943 * nss/nsswitch.c (__nss_database_lookup): Handle
56944 nss_parse_service_list out of memory case.
56946 2011-09-15 Jiri Olsa <jolsa@redhat.com>
56948 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
56949 out of memory case.
56951 2011-10-04 Andreas Schwab <schwab@redhat.com>
56953 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
56954 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
56956 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
56957 elf_machine_rela, elf_machine_lazy_rel.
56958 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
56959 (ELF_DYNAMIC_DO_REL): Likewise.
56960 (ELF_DYNAMIC_DO_RELA): Likewise.
56961 (ELF_DYNAMIC_RELOCATE): Likewise.
56962 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
56963 to ELF_DYNAMIC_DO_REL.
56964 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
56965 (dl_main): In trace mode always set __RTLD_NOIFUNC.
56966 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
56968 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
56969 skip_ifunc, don't call ifunc function if non-zero.
56970 (elf_machine_rela): Likewise.
56971 (elf_machine_lazy_rel): Likewise.
56972 (elf_machine_lazy_rela): Likewise.
56973 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
56974 (elf_machine_lazy_rel): Likewise.
56975 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
56977 (elf_machine_lazy_rel): Likewise.
56978 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
56980 (elf_machine_lazy_rel): Likewise.
56981 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
56982 (elf_machine_lazy_rel): Likewise.
56983 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
56984 (elf_machine_lazy_rel): Likewise.
56985 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
56986 (elf_machine_lazy_rel): Likewise.
56987 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
56988 (elf_machine_lazy_rel): Likewise.
56989 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
56990 (elf_machine_lazy_rel): Likewise.
56991 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
56992 (elf_machine_lazy_rel): Likewise.
56994 2011-09-28 Ulrich Drepper <drepper@gmail.com>
56996 * nss/nss_files/files-init.c (_nss_files_init): Use static
56997 initialization for all the *_traced_file variables.
56999 2011-09-28 Andreas Schwab <schwab@redhat.com>
57001 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
57003 2011-09-27 Roland McGrath <roland@hack.frob.com>
57006 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
57008 2011-09-27 Andreas Schwab <schwab@redhat.com>
57010 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
57011 Reread the line before reparsing it.
57013 2011-09-26 Andreas Schwab <schwab@redhat.com>
57015 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
57017 2011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
57018 Maxim Kuvyrkov <maxim@codesourcery.com>
57019 Joseph Myers <joseph@codesourcery.com>
57021 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
57022 if needed for __stack_chk_guard.
57024 2011-09-19 Roland McGrath <roland@hack.frob.com>
57026 * sysdeps/posix/spawni.c (script_execute): Always define it.
57027 It will be optimized away if unused.
57028 (maybe_script_execute): New function.
57029 (__spawni): Call it.
57031 * Makerules: Don't include tls.make.
57032 (config-tls): Always set to thread.
57033 * tls.make.c: File removed.
57035 2011-09-19 Mike Frysinger <vapier@gentoo.org>
57037 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
57038 * config.make.in (CPPFLAGS-config): New substituted variable.
57040 2011-09-15 Ulrich Drepper <drepper@gmail.com>
57042 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
57045 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
57046 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
57048 2011-09-15 Roland McGrath <roland@hack.frob.com>
57050 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
57051 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
57052 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
57053 (CALL_FAIL): Likewise.
57054 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
57055 (CALL_FAIL): Macro removed.
57056 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
57058 2011-09-15 Ulrich Drepper <drepper@gmail.com>
57060 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
57061 for __FINITE_MATH_ONLY__ == 1.
57063 2011-09-15 Andreas Schwab <schwab@redhat.com>
57065 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
57066 __ieee754_sqrt instead of sqrt.
57067 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
57068 __ieee754_sqrtf instead of sqrtf.
57069 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
57070 __floorf instead of floorf.
57071 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
57072 __floorf, __truncf instead of floorf, truncf.
57074 2011-09-14 Ulrich Drepper <drepper@gmail.com>
57076 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
57078 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
57079 __extern_always_inline.
57080 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
57083 2011-09-14 Andreas Schwab <schwab@redhat.com>
57085 * elf/rtld.c (dl_main): Also relocate in dependency order when
57086 doing symbol dependency testing.
57088 2011-09-13 Andreas Schwab <schwab@linux-m68k.org>
57090 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
57091 Always define `refsym'.
57093 2011-09-13 Andreas Schwab <schwab@redhat.com>
57095 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
57096 (__FD_ELT): Renamed from __FDELT.
57097 * misc/bits/select2.h (__FD_ELT): Likewise.
57098 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
57099 __FD_MASK instead of __FDELT, __FDMASK.
57100 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
57102 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
57105 * elf/Makefile (gen-ldd): Fix pattern.
57107 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
57108 (init_tls): Likewise.
57110 2011-09-12 Ulrich Drepper <drepper@gmail.com>
57112 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
57114 2011-09-12 Andreas Schwab <schwab@redhat.com>
57116 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
57117 `struct cmsghdr *' instead of `void *'.
57118 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
57121 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
57123 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
57125 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
57126 ldd_rewrite_script.
57128 2011-09-11 Ulrich Drepper <drepper@gmail.com>
57130 * configure.in: Remove --with-tls option.
57131 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
57132 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
57133 out in case it is missing.
57134 * sysdeps/ia64/elf/configure.in: Likewise.
57135 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
57136 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
57137 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
57138 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
57139 * sysdeps/sh/elf/configure.in: Likewise.
57140 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
57141 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
57142 * sysdeps/x86_64/elf/configure.in: Likewise.
57143 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
57144 * sysdeps/mach/hurd/tls.h: Likewise.
57147 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
57150 * configure.in: Fix use of AC_INIT.
57152 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
57154 2011-09-10 Ulrich Drepper <drepper@gmail.com>
57156 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
57158 * malloc/hooks.c: Likewise.
57161 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
57162 variables statically.
57163 (narenas): Initialize.
57164 (list_lock): Initialize.
57165 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
57166 initializtion of main_arena and list_lock. Small cleanups.
57167 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
57168 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
57169 Add initializers to main_arena and mp_.
57170 (malloc_state): Remove pagesize member. Change all users to use
57173 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
57174 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
57175 is always initialized.
57177 * malloc/malloc.c: Removed unused configurations and dead code.
57178 * malloc/arena.c: Likewise.
57179 * malloc/hooks.c: Likewise.
57180 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
57182 * include/tls.h: Removed. USE___THREAD must always be defined.
57183 * bits/libc-tsd.h: Don't handle !USE___THREAD.
57184 * elf/dl-libc.c: Likewise.
57185 * elf/dl-tsd.c: Likewise.
57186 * include/errno.h: Likewise.
57187 * include/netdb.h: Likewise.
57188 * include/resolv.h: Likewise.
57189 * inet/herrno-loc.c: Likewise.
57190 * inet/herrno.c: Likewise.
57191 * malloc/arena.c: Likewise.
57192 * malloc/hooks.c: Likewise.
57193 * malloc/malloc.c: Likewise.
57194 * resolv/res-state.c: Likewise.
57195 * resolv/res_libc.c: Likewise.
57196 * sysdeps/i386/dl-machine.h: Likewise.
57197 * sysdeps/ia64/dl-machine.h: Likewise.
57198 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
57199 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
57200 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
57201 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
57202 * sysdeps/sh/dl-machine.h: Likewise.
57203 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
57204 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
57205 * sysdeps/unix/i386/sysdep.S: Likewise.
57206 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
57207 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
57208 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
57209 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
57210 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
57211 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
57212 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
57213 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
57214 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
57215 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
57216 * sysdeps/unix/x86_64/sysdep.S: Likewise.
57217 * sysdeps/x86_64/dl-machine.h: Likewise.
57218 * tls.make.c: Likewise.
57220 * configure.in: Remove --with-__thread option. Make tests for
57221 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
57222 tls_model attribute fail if no support is available. Remove
57224 * Makeconfig: Adjust for dropped configure option. All features are
57226 * Makerules: Likewise.
57227 * Versions.def: Likewise.
57228 * argp/argp-fmtstream.c: Likewise.
57229 * argp/argp-fmtstream.h: Likewise.
57230 * argp/argp-help.c: Likewise.
57231 * assert/assert.c: Likewise.
57232 * config.h.in: Likewise.
57233 * config.make.in: Likewise.
57234 * configure: Likewise.
57235 * configure.in: Likewise.
57236 * csu/Versions: Likewise.
57237 * csu/init.c: Likewise.
57238 * elf/tst-audit2.c: Likewise.
57239 * elf/tst-tls10.c: Likewise.
57240 * elf/tst-tls10.h: Likewise.
57241 * elf/tst-tls11.c: Likewise.
57242 * elf/tst-tls12.c: Likewise.
57243 * elf/tst-tls14.c: Likewise.
57244 * elf/tst-tlsmod11.c: Likewise.
57245 * elf/tst-tlsmod12.c: Likewise.
57246 * elf/tst-tlsmod13.c: Likewise.
57247 * elf/tst-tlsmod13a.c: Likewise.
57248 * elf/tst-tlsmod14a.c: Likewise.
57249 * elf/tst-tlsmod15b.c: Likewise.
57250 * elf/tst-tlsmod16a.c: Likewise.
57251 * elf/tst-tlsmod16b.c: Likewise.
57252 * elf/tst-tlsmod7.c: Likewise.
57253 * elf/tst-tlsmod8.c: Likewise.
57254 * elf/tst-tlsmod9.c: Likewise.
57255 * gmon/gmon.c: Likewise.
57256 * grp/fgetgrent_r.c: Likewise.
57257 * grp/putgrent.c: Likewise.
57258 * hurd/fopenport.c: Likewise.
57259 * include/libc-symbols.h: Likewise.
57260 * include/tls.h: Likewise.
57261 * intl/gettextP.h: Likewise.
57262 * intl/loadinfo.h: Likewise.
57263 * locale/global-locale.c: Likewise.
57264 * locale/localeinfo.h: Likewise.
57265 * mach/devstream.c: Likewise.
57266 * malloc/arena.c: Likewise.
57267 * malloc/set-freeres.c: Likewise.
57268 * misc/err.c: Likewise.
57269 * misc/getttyent.c: Likewise.
57270 * misc/mntent_r.c: Likewise.
57271 * posix/getopt.c: Likewise.
57272 * posix/wordexp.c: Likewise.
57273 * pwd/fgetpwent_r.c: Likewise.
57274 * resolv/Versions: Likewise.
57275 * resolv/res_hconf.c: Likewise.
57276 * shadow/fgetspent_r.c: Likewise.
57277 * shadow/putspent.c: Likewise.
57278 * stdio-common/printf_fphex.c: Likewise.
57279 * stdio-common/tmpfile.c: Likewise.
57280 * stdlib/abort.c: Likewise.
57281 * stdlib/fmtmsg.c: Likewise.
57282 * sunrpc/auth_unix.c: Likewise.
57283 * sunrpc/clnt_perr.c: Likewise.
57284 * sunrpc/clnt_tcp.c: Likewise.
57285 * sunrpc/clnt_udp.c: Likewise.
57286 * sunrpc/clnt_unix.c: Likewise.
57287 * sunrpc/openchild.c: Likewise.
57288 * sunrpc/svc_simple.c: Likewise.
57289 * sunrpc/svc_tcp.c: Likewise.
57290 * sunrpc/svc_udp.c: Likewise.
57291 * sunrpc/svc_unix.c: Likewise.
57292 * sunrpc/xdr.c: Likewise.
57293 * sunrpc/xdr_array.c: Likewise.
57294 * sunrpc/xdr_rec.c: Likewise.
57295 * sunrpc/xdr_ref.c: Likewise.
57296 * sunrpc/xdr_stdio.c: Likewise.
57298 2011-09-09 Ulrich Drepper <drepper@gmail.com>
57300 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
57302 2011-07-03 Andreas Jaeger <aj@suse.de>
57304 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
57305 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
57306 regenerate with gen-libm-tests.pl.
57308 2010-05-12 Petr Baudis <pasky@suse.cz>
57311 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
57312 around j0() zero points by switching to j1().
57313 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
57314 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
57315 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
57316 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
57318 2011-09-09 Ulrich Drepper <drepper@gmail.com>
57320 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
57322 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
57324 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
57325 Patch in part by Pavel Roskin <proski@gnu.org>.
57328 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
57330 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
57331 Free memory block if necessary.
57334 * libio/genops.c (INTDEF): For string streams the _lock pointer can
57335 be NULL. Don't lock in this case.
57337 2011-09-09 Roland McGrath <roland@hack.frob.com>
57339 * elf/elf.h (ELFOSABI_GNU): New macro.
57340 (ELFOSABI_LINUX): Define to that.
57342 2011-07-29 Denis Zaitceff <zaitceff@gmail.com>
57344 * string/strncat.c (strncat): Undef the symbol in case it has been
57345 defined in bits/string.h.
57347 2011-09-09 Ulrich Drepper <drepper@gmail.com>
57349 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
57351 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
57354 2011-08-17 Andreas Jaeger <aj@suse.de>
57356 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
57358 2011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
57359 Ian Lance Taylor <iant@google.com>
57361 * math/libm-test.inc (lround_test): New testcase.
57362 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
57364 2011-09-08 Ulrich Drepper <drepper@gmail.com>
57366 * Makefile: Remove support for automatic cvs check-ins.
57367 * Makerules: Likewise.
57368 * config.make.in: Likewise.
57369 * configure.in: Likewise.
57370 * intl/Makefile: Likewise.
57371 * locale/Makefile: Likewise.
57372 * po/Makefile: Likewise.
57373 * posix/Makefile: Likewise.
57374 * sysdeps/gnu/Makefile: Likewise.
57375 * sysdeps/mach/hurd/Makefile: Likewise.
57376 * sysdeps/sparc/sparc32/Makefile: Likewise.
57379 * posix/Makefile (bug-regex32-ENV): Define.
57380 Patch by John Stanley <jpsinthemix@verizon.net>.
57382 * misc/Makefile (headers): Add bits/select2.h.
57383 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
57384 * misc/bits/select2.h: New file.
57385 * include/bits/select2.h: New file.
57386 * debug/Makefile (routines): Add fdelt_chk.
57387 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
57388 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
57390 * debug/fdelt_chk.c: New file.
57392 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
57393 * wcsmbs/test-wmemcmp.c: Likewise.
57394 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
57395 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
57397 2011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
57399 * string/Makefile (strop-tests): Add memcmp.
57400 * string/test-wmemcmp.c: New file.
57401 * string/test-memcmp.c: Add wmemcmp support.
57403 2011-09-08 Roland McGrath <roland@hack.frob.com>
57406 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
57409 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
57410 garbage value in a __mach_port_mod_refs call in the cases of the
57411 task-self and thread-self ports.
57413 2011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
57415 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
57417 2011-09-08 Andreas Schwab <schwab@redhat.com>
57419 * elf/dl-load.c (lose): Check for non-null L.
57421 2011-09-07 Ulrich Drepper <drepper@gmail.com>
57423 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
57425 * elf/dl-libc.c (dlerror_run): Pass back error code from
57429 * elf/dl-load.c (lose): Free l_origin if it is valid.
57431 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
57433 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
57434 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
57435 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
57436 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
57437 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
57438 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
57440 2011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
57442 * sysdeps/powerpc/fpu/e_hypot.c: New file.
57443 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
57444 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
57445 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
57446 * sysdeps/powerpc/fpu/k_cosf.c: New file.
57447 * sysdeps/powerpc/fpu/k_sinf.c: New file.
57448 * sysdeps/powerpc/fpu/s_cosf.c: New file.
57449 * sysdeps/powerpc/fpu/s_sinf.c: New file.
57450 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
57451 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
57453 2011-08-15 Alan Modra <amodra@gmail.com>
57456 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
57457 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
57458 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
57459 ppc_mcount to static-only-routines.
57460 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
57462 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
57463 __mcount_internal with usual JUMPTARGET. Remove useless nop.
57465 2011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
57467 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
57468 for finite and infinity parameters.
57470 2011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
57472 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
57473 and add nop instructions for throughput optimization.
57474 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
57476 2011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
57478 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
57479 aligned copy for power7 with vector-scalar instructions.
57480 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
57482 2011-07-24 H.J. Lu <hongjiu.lu@intel.com>
57484 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
57487 2011-09-07 Andreas Schwab <schwab@redhat.com>
57490 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
57493 2011-09-07 Ulrich Drepper <drepper@gmail.com>
57495 * sysdeps/unix/sysv/linux/x86_64/init-first.c
57496 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
57497 syscall wrapper around clock_gettime in __vdso_clock_gettime.
57498 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
57501 2011-09-06 Ulrich Drepper <drepper@gmail.com>
57503 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
57504 Forgot to demangle the pointer.
57506 * sysdeps/i386/sysdep.h: Define atom_text_section.
57507 * sysdeps/x86_64/sysdep.h: Likewise.
57508 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
57509 section with atom_text_section.
57510 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
57511 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
57512 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
57513 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
57514 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
57516 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
57517 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
57518 already be defined. Change to take two parameters and don't assign
57519 result to variable. Adjust all users.
57520 Define INTERNAL_GETTIME if not already defined.
57521 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
57523 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
57524 HAVE_CLOCK_GETTIME_VSYSCALL.
57525 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
57527 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
57528 gettimeofday vsyscall, just use time.
57530 2011-09-06 Andreas Schwab <schwab@redhat.com>
57532 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
57535 2011-09-06 Ulrich Drepper <drepper@gmail.com>
57537 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
57539 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
57541 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
57542 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
57543 syscall if possible.
57545 2011-09-05 Ulrich Drepper <drepper@gmail.com>
57547 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
57548 e_ident. Don't pass to find_mapsXX.
57549 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
57551 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
57553 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
57554 strchr-sse2-no-bsf strrchr-sse2-no-bsf
57555 * sysdeps/x86_64/multiarch/strchr.S: Update.
57556 Check bit_slow_BSF bit.
57557 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
57558 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
57559 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
57561 2011-09-05 Ulrich Drepper <drepper@gmail.com>
57564 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
57566 (tryshell): Define.
57567 (__spawni): Change last parameter to be flag. Test
57568 SPAWN_XFLAGS_USE_PATH flag to use path or not.
57569 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
57570 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
57571 * posix/spawni.c: Likewise.
57572 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
57573 * posix/spawnp.c: Likewise. Change normal version to use
57574 SPAWN_XFLAGS_USE_PATH.
57575 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
57576 SPAWN_XFLAGS_TRY_SHELL.
57579 * posix/glob.h: Remove gcc 1.x support.
57582 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
57584 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
57586 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
57587 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
57589 * sysdeps/i386/i686/multiarch/strchr.S: New file.
57590 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
57591 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
57592 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
57593 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
57594 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
57596 2011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
57598 * sysdeps/x86_64/wcscmp.S: New file.
57600 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
57601 wcscmp-c wcscmp-sse2
57602 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
57603 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
57604 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
57605 * wcsmbs/wcscmp.c: Allow renaming.
57607 2011-09-05 David S. Miller <davem@davemloft.net>
57609 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
57610 stack slot, rather than the struct return pointer slot.
57611 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
57612 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
57613 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
57614 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
57616 2011-09-05 Ulrich Drepper <drepper@gmail.com>
57618 * po/ja.po: Update from translation team.
57621 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
57622 kernel in 64-bit binaries.
57624 2011-09-01 David S. Miller <davem@davemloft.net>
57626 * elf/elf.h (HWCAP_SPARC_*): Move to..
57627 * sysdeps/sparc/sysdep.h: this new file and add new values.
57628 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
57629 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
57630 _DL_HWCAP_COUNT to 24.
57631 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
57633 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
57634 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
57635 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
57636 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
57637 instead of magic constants.
57638 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
57640 2011-08-31 David S. Miller <davem@davemloft.net>
57642 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
57643 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
57644 Reimplement to do errno handling inline.
57645 (SYSCALL_ERROR_HANDLER): New macro.
57646 (__SYSCALL_STRING): Do not do errno handling in asm.
57647 (__CLONE_SYSCALL_STRING): Delete.
57648 (__INTERNAL_SYSCALL_STRING): Delete.
57649 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
57650 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
57651 (PSEUDO): Reimplement to do errno handling inline.
57652 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
57653 (SYSCALL_ERROR_HANDLER): New macro.
57654 (__SYSCALL_STRING): Do not do errno handling in asm.
57655 (__CLONE_SYSCALL_STRING): Delete.
57656 (__INTERNAL_SYSCALL_STRING): Delete.
57657 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
57658 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
57660 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
57661 (inline_syscall*): Add 'err' argument.
57662 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
57663 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
57664 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
57665 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
57667 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
57668 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
57670 2011-08-30 Andreas Schwab <schwab@redhat.com>
57672 * elf/rtld.c (dl_main): Relocate objects in dependency order.
57674 2011-08-29 Jiri Olsa <jolsa@redhat.com>
57676 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
57679 2011-08-24 David S. Miller <davem@davemloft.net>
57681 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
57683 2011-08-24 Andreas Schwab <schwab@redhat.com>
57685 * elf/Makefile: Add rules to build and run unload8 test.
57686 * elf/unload8.c: New file.
57687 * elf/unload8mod1.c: New file.
57688 * elf/unload8mod1x.c: New file.
57689 * elf/unload8mod2.c: New file.
57690 * elf/unload8mod3.c: New file.
57692 * elf/dl-close.c (_dl_close_worker): Reset private search list if
57695 2011-08-23 David S. Miller <davem@davemloft.net>
57697 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
57698 subtract stack bias.
57699 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
57700 %sp not %fp in calculations.
57701 (_JMPBUF_UNWINDS_ADJ): Likewise.
57703 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
57704 (aio_suspend): Call it to force an exception region around the
57705 AIO_MISC_WAIT() invocation.
57707 2011-08-23 Andreas Schwab <schwab@redhat.com>
57709 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
57712 2011-07-04 Aurelien Jarno <aurelien@aurel32.net>
57714 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
57716 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
57717 and <dl-machine.h>.
57718 (Elf64_FuncDesc): Remove.
57720 2011-08-22 David S. Miller <davem@davemloft.net>
57722 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
57723 sigaltstack check, add missing cfi directives.
57724 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
57725 missing cfi directives, and sigaltstack handling.
57727 2011-08-16 Andreas Schwab <schwab@redhat.com>
57730 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
57731 object is seen twice.
57732 * elf/dl-fini.c (_dl_sort_fini): Likewise.
57734 * elf/Makefile (distribute): Add tst-initorder2.c.
57735 (tests): Add tst-initorder2.
57736 (modules-names): Add tst-initorder2a tst-initorder2b
57737 tst-initorder2c tst-initorder2d. Add rules to build them.
57738 ($(objpfx)tst-initorder2.out): New rule.
57739 * elf/tst-initorder2.c: New file.
57740 * elf/tst-initorder2.exp: New file.
57742 2011-08-22 Andreas Schwab <schwab@redhat.com>
57744 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
57746 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
57747 dependencies back to end of function.
57749 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
57750 $(elfobjdir)/ld.so.
57752 2011-08-21 Ulrich Drepper <drepper@gmail.com>
57754 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
57755 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
57756 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
57757 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
57758 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
57759 of __vdso_gettimeofday.
57760 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
57761 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
57763 (_libc_vdso_platform_setup): Remove initialization of
57764 __vdso_gettimeofday and __vdso_time.
57766 2011-08-20 Ulrich Drepper <drepper@gmail.com>
57768 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
57769 and fgetc_unlocked.
57770 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
57773 * elf/dl-open.c (add_to_global): Report additions to the global scope
57774 for LD_DEBUG=scopes.
57775 (dl_open_worker): Also print scope of newly loaded dependencies.
57776 (_dl_show_scope): Indicate if there is no scope.
57779 * stdio-common/Makefile (tests): Add bug24.
57780 * stdio-common/bug24.c: New file.
57782 2011-08-19 Andreas Jaeger <aj@suse.de>
57785 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
57786 non-existant file when using close-on-exec mode.
57788 2011-08-20 Ulrich Drepper <drepper@gmail.com>
57790 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
57791 the very first instruction.
57793 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
57794 the CFI state in the end.
57795 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
57796 inclusion of dl-trampoline.h.
57797 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
57799 2011-08-19 Andreas Schwab <schwab@redhat.com>
57801 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
57802 expectations for long double.
57804 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
57805 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
57807 2011-08-14 David S. Miller <davem@davemloft.net>
57809 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
57810 artificual limit depends upon the system page size.
57812 2011-08-17 Ulrich Drepper <drepper@gmail.com>
57814 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
57815 * resolv/Makefile: Define CFLAGS-libresolv.
57817 2011-08-17 Andreas Schwab <schwab@redhat.com>
57819 * nss/makedb.c (compute_tables): Make variables used in nested
57822 2011-08-17 Ulrich Drepper <drepper@gmail.com>
57824 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
57825 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
57826 if buffer was too small.
57828 * elf/pldd.c (main): Attach to all threads in the process.
57829 Rewrite /proc handling to use *at functions.
57831 2011-08-16 Ulrich Drepper <drepper@gmail.com>
57833 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
57834 specifies first scope to show.
57835 (dl_open_worker): Update callers. Move printing scope of new
57836 object to before the relocation.
57837 * elf/rtld.c (dl_main): Update _dl_show_scope call.
57838 * sysdeps/generic/ldsodefs.h: Update declaration.
57840 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
57841 string for the scope number.
57843 2011-08-14 Ulrich Drepper <drepper@gmail.com>
57845 * nscd/servicescache.c (cache_addserv): Make sure written is always
57848 2011-08-14 Roland McGrath <roland@hack.frob.com>
57850 * sysdeps/i386/i486/bits/atomic.h
57851 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
57852 statement expression, so as to suppress "set but not used" warning.
57853 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
57855 * string/strncat.c (STRNCAT): Use prototype definition.
57857 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
57858 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
57860 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
57861 (localedef-modules): Add localedef.
57862 (locale-modules): Add locale.
57864 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
57865 * elf/rtld.c (dl_main): Invert order of assignment in last change,
57866 to avoid a warning.
57868 2011-08-14 David S. Miller <davem@davemloft.net>
57870 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
57871 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
57873 2011-08-13 Ulrich Drepper <drepper@gmail.com>
57875 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
57876 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
57877 * elf/rtld.c (dl_main): Set l_name of vDSO.
57878 Call _dl_show_scope when DL_DEBUG_SCOPES.
57879 (process_dl_debug): Recognize scopes flag and also set it for all.
57880 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
57881 Declare _dl_show_scope.
57883 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
57884 (do_dlopen): Pass caller_dlopen to dl_open.
57885 (__libc_dlopen_mode): Initialize caller_dlopen.
57887 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
57888 of libc. Make tolower call locale-independent. Optimize a bit by
57889 using isdigit instead of isalnum.
57890 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
57892 2011-08-12 Ulrich Drepper <drepper@gmail.com>
57894 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
57895 was a dependency or dynamically loaded.
57897 2011-08-11 Ulrich Drepper <drepper@gmail.com>
57899 * intl/l10nflist.c: Allow architecture-specific pop function.
57900 * sysdeps/x86_64/l10nflist.c: New file.
57902 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
57905 2011-08-10 Andreas Schwab <schwab@redhat.com>
57907 * include/dirent.h: Add libc_hidden_proto for scandirat and
57908 scandirat64. Don't declare __scandirat64.
57909 * dirent/scandirat.c: Add libc_hidden_def.
57910 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
57911 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
57913 2011-08-10 David S. Miller <davem@davemloft.net>
57915 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
57917 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
57918 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
57919 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
57921 2011-08-09 Ulrich Drepper <drepper@gmail.com>
57923 * Versions.def [libc]: Add GLIBC_2.15.
57924 * dirent/Makefile (routines): Add scandirat and scandirat64.
57925 * dirent/Versions [libc]: Export scandirat and scandirat64 for
57927 * dirent/dirent.h: Declare scandirat and scandirat64.
57928 * dirent/scandirat.c: New file.
57929 * dirent/scandirat64.c: New file.
57930 * sysdeps/wordsize-64/scandirat.c: New file.
57931 * sysdeps/wordsize-64/scandirat64.c: New file.
57932 * dirent/opendir.c: Define opendirat.
57933 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
57935 * dirent/scandir64.c: Adjust for scandir.c change.
57936 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
57937 __scandirat64, and __scandir_cancel_handler.
57938 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
57939 additional parameter and use openat instead of open (outside of ld.so).
57940 Add new __opendir as wrapper around __opendirat.
57941 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
57942 here without requiring old scandirat implementation.
57944 2011-08-08 Ulrich Drepper <drepper@gmail.com>
57946 * dirent/scandir.c (cancel_handler): Renamed to
57947 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
57948 defined. Adjust users.
57949 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
57950 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
57952 2011-08-04 Ulrich Drepper <drepper@gmail.com>
57954 * string/test-string.h (IMPL): Use __STRING to expand name and then
57957 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
57960 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
57962 * string/Makefile: Update.
57963 (strop-tests): Append strncat.
57964 * string/test-wcscmp.c: New file.
57965 New comprehensive test for wcscmp.
57966 * string/test-strcmp.c: Update.
57967 (WIDE): New define.
57969 2011-07-22 Andreas Schwab <schwab@redhat.com>
57971 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
57974 2011-07-26 Andreas Schwab <schwab@redhat.com>
57976 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
57977 encoding to ACE if AI_IDN.
57979 2011-08-01 Jakub Jelinek <jakub@redhat.com>
57981 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
57982 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
57984 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
57986 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
57987 Fix overflow bug in strncat.
57988 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
57990 * string/test-strncat.c: Update.
57991 Add new tests for checking overflow bugs.
57993 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
57995 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
57996 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
57997 * sysdeps/i386/i686/multiarch/strcat.S: New file.
57998 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
57999 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
58000 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
58001 * sysdeps/i386/i686/multiarch/strncat.S: New file.
58002 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
58003 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
58005 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
58006 (USE_AS_STRCAT): Define.
58007 Add strcat and strncat support.
58008 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
58010 2011-07-25 Andreas Schwab <schwab@redhat.com>
58012 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
58013 __n bigger than INT_MAX+1.
58014 (__strncmp_g): Likewise.
58016 2011-07-23 Ulrich Drepper <drepper@gmail.com>
58018 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
58019 * libio/stido.h: Likewise.
58021 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
58023 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
58026 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
58027 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
58028 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
58029 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
58030 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
58033 * scripts/test-installation.pl: Don't expect libnss_test1 to be
58036 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
58038 (_dl_x86_64_save_sse): Likewise.
58040 2011-07-22 Ulrich Drepper <drepper@gmail.com>
58042 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
58044 (_dl_x86_64_save_sse): Likewise.
58046 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
58048 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
58050 2011-07-21 Andreas Schwab <schwab@redhat.com>
58052 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
58054 (_dl_x86_64_save_sse): Use correct AVX check.
58056 2011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
58058 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
58059 bug in strncpy/strncat.
58060 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
58062 2011-07-21 Ulrich Drepper <drepper@gmail.com>
58064 * string/tester.c (test_strcat): Add tests for different alignments
58065 of source and destination.
58066 (test_strncat): Likewise.
58068 2011-07-20 Ulrich Drepper <drepper@gmail.com>
58071 * posix/glob.c (glob): Check passed in values before using them in
58072 expressions to avoid some overflows.
58073 (glob_in_dir): Likewise.
58076 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
58077 check for AVX enablement so that we don't crash with old kernels and
58079 * elf/tst-audit4.c: Add same checks here.
58080 * elf/tst-audit6.c: Likewise.
58082 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
58084 2011-07-09 Andreas Schwab <schwab@linux-m68k.org>
58086 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
58088 2011-07-20 Ulrich Drepper <drepper@gmail.com>
58090 * po/cs.po: Update from translation team.
58091 * po/bg.po: Likewise.
58093 2011-07-12 Marek Polacek <mpolacek@redhat.com>
58095 * misc/sys/cdefs.h: Add support for const attribute.
58096 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
58097 to gnu_dev_{major,minor,makedev} functions.
58099 2011-07-20 Marek Polacek <mpolacek@redhat.com>
58101 * intl/dcigettext.c (get_output_charset): Add missing bracket.
58103 2011-07-20 Andreas Schwab <schwab@redhat.com>
58105 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
58108 2011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
58110 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
58111 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
58112 register in order to avoid conflicts with the soft frame pointer
58113 being held in r11 when necessary.
58114 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
58115 (INTERNAL_VSYSCALL_NCS): Likewise.
58117 2011-07-14 Marek Polacek <mpolacek@redhat.com>
58119 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
58120 * elf/dl-fini.c (_dl_fini): Adjust caller.
58121 * elf/dl-close.c (_dl_close_worker): Likewise.
58122 * sysdeps/generic/ldsodefs.h: Adjust declaration.
58124 2011-07-15 Marek Polacek <mpolacek@redhat.com>
58126 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
58127 "aux_cache->nlibs < 0".
58129 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
58130 in the reload-count case.
58132 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
58134 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
58135 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
58136 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
58137 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
58138 * sysdeps/x86_64/multiarch/strcat.S: New file.
58139 * sysdeps/x86_64/multiarch/strncat.S: New file.
58140 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
58141 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
58142 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
58143 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
58144 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
58145 (USE_AS_STRCAT): Define.
58146 Add strcat and strncat support.
58147 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
58148 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
58149 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
58150 * string/strncat.c: Update.
58151 (USE_AS_STRNCAT): Define.
58152 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
58153 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
58155 * sysdeps/x86_64/multiarch/init-arch.h
58156 (bit_Prefer_PMINUB_for_stringop): New.
58157 (index_Prefer_PMINUB_for_stringop): Likewise.
58158 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
58159 bit_Prefer_PMINUB_for_stringop.
58161 2011-07-19 Ulrich Drepper <drepper@gmail.com>
58163 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
58165 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
58166 of casting of buffer.
58167 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
58168 buffer32 and buffer64.
58169 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
58170 writes instead of casting of buffer.
58171 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
58173 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
58176 2011-07-19 Andreas Schwab <schwab@redhat.com>
58178 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
58180 2011-07-19 Ulrich Drepper <drepper@gmail.com>
58182 * nscd/nscd.c (termination_handler): Don't do anything for a database
58183 if it has not yet been initialized.
58185 2011-07-18 Ulrich Drepper <drepper@gmail.com>
58187 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
58189 2011-07-15 Marek Polacek <mpolacek@redhat.com>
58191 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
58193 2011-07-18 Ulrich Drepper <drepper@gmail.com>
58195 * po/nl.po: Update from translation team.
58196 * po/sv.po: Likewise.
58198 2011-07-16 Roland McGrath <roland@hack.frob.com>
58200 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
58201 now disallowed by GCC.
58203 * configure.in (use-default-link): Default to yes if a test -shared
58204 link meets our qualifications.
58205 * configure: Regenerated.
58207 * config.make.in (output-format): New variable.
58208 * configure.in: Check for ld --print-output-format support.
58209 * configure: Regenerated.
58210 * Makerules ($(common-objpfx)format.lds)
58211 [$(output-format) != unknown]: Just use $(output-format),
58212 instead of the linker-script munging.
58214 2011-07-14 Roland McGrath <roland@hack.frob.com>
58216 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
58217 of $(common-objpfx)shlib.lds.
58218 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
58220 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
58221 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
58223 * configure.in (-z relro check): Adjust test code to add a large
58224 writable data section after it.
58225 * configure: Regenerated.
58227 2011-07-11 Roland McGrath <roland@hack.frob.com>
58229 * configure.in (-z relro check): Fix test code to make the variable
58231 * configure: Regenerated.
58233 2011-07-11 Ulrich Drepper <drepper@gmail.com>
58235 * nscd/nscd.h (struct traced_file): Define.
58236 (struct database_dyn): Remove inotify_descr, reset_res, and filename
58237 elements. Add traced_files.
58238 (inotify_fd): Declare.
58239 (register_traced_file): Declare.
58240 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
58241 (inotify_fd): Export.
58242 (resolv_conf_descr): Remove.
58243 (nscd_init): Move inotify descriptor creation to main.
58244 Don't register files for notification here.
58245 (register_traced_file): New function.
58246 (invalidate_cache): Don't use reset_res to determine whether to call
58247 res_init, go through the list of registered files.
58248 (main_loop_poll): The inotify descriptors are now stored in the
58249 structures for the traced files.
58250 (main_loop_epoll): Likewise
58251 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
58252 to __nss_disable_nscd.
58253 * nscd/cache.c (prune_cache): There is no single inotify descriptor
58254 for a database anymore. Check the records for all the registered
58256 * nss/Makefile (libnss_files-routines): Add files-init.
58257 (libnss_db-routines): Add db-init.
58258 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
58259 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
58260 * nss/nss_db/db-init.c: New file.
58261 * nss/nss_files/files-init.c: New file.
58262 * nss/nsswitch.c (nss_load_library): New function. Broken out of
58263 __nss_lookup_function.
58264 (__nss_lookup_function): Call nss_load_library.
58265 (nss_load_all_libraries): New function.
58266 (__nss_disable_nscd): Take parameter with callback function for files
58267 to register. Set is_nscd. Load all the DSOs for the NSS modules
58268 used for the cached services.
58269 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
58270 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
58271 options for features to all the files in nscd.
58273 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
58275 2011-07-10 Roland McGrath <roland@hack.frob.com>
58277 * csu/elf-init.c (__libc_csu_init): Comment typo.
58279 2011-07-09 Ulrich Drepper <drepper@gmail.com>
58281 * po/pl.po: Update from translation team.
58282 * po/ja.po: Likewise.
58283 * po/ru.po: Likewise.
58284 * po/ko.po: Likewise.
58285 * po/fr.po: Likewise.
58287 2011-07-09 Roland McGrath <roland@hack.frob.com>
58289 * configure.in (.ctors/.dtors header and trailer check):
58290 Use an empirical test on a built program.
58291 * configure: Regenerated.
58293 * configure.in (-z relro check): Use an empirical test on a built DSO.
58294 Detect, but do not require, on ia64.
58295 * configure: Regenerated.
58297 * configure.in (READELF): Find it with AC_CHECK_TOOL.
58298 Update tests that use readelf to use $READELF instead.
58299 * configure: Regenerated.
58301 2011-07-08 Ulrich Drepper <drepper@gmail.com>
58303 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
58304 if the result is not used.
58306 2011-07-05 Andreas Jaeger <aj@suse.de>
58309 * stdlib/tst-strtod.c: Add testcase.
58311 2011-07-07 Ulrich Drepper <drepper@gmail.com>
58313 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
58314 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
58315 The latter has a higher limit. Take additional parameter to pass to
58317 (__pathconf): Pass file to __statfs_link_max.
58318 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
58320 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
58324 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
58325 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
58327 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
58328 (__statfs_filesize_max): Likewise.
58329 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
58331 2011-07-05 Andreas Jaeger <aj@suse.de>
58333 * resolv/res_comp.c (dn_skipname): Remove unused variable.
58335 2011-07-06 Marek Polacek <mpolacek@redhat.com>
58337 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
58339 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
58342 2011-07-04 H.J. Lu <hongjiu.lu@intel.com>
58344 * Makefile (strop-tests): Add strncat.
58345 * string/test-strncat.c: New file.
58347 2011-06-30 Marek Polacek <mpolacek@redhat.com>
58349 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
58351 2011-06-21 Andreas Jaeger <aj@suse.de>
58353 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
58354 Copy rule from iconvdata/Makefile.
58356 2011-07-06 Ulrich Drepper <drepper@gmail.com>
58359 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
58360 but no long options are defined, just return 'W'.
58362 2011-06-22 Marek Polacek <mpolacek@redhat.com>
58365 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
58367 2011-07-06 Ulrich Drepper <drepper@gmail.com>
58369 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
58371 (innetgr): Likewise.
58373 2011-07-05 Roland McGrath <roland@hack.frob.com>
58375 * config.make.in (install_root): Default to $(DESTDIR).
58377 2011-07-05 Ulrich Drepper <drepper@gmail.com>
58379 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
58381 2011-07-02 Roland McGrath <roland@hack.frob.com>
58383 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
58385 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
58386 containing directory rather than embedding absolute directory names.
58388 * scripts/check-local-headers.sh: Rewritten using awk.
58389 Match by word, not by line. Print error messages for matches.
58390 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
58392 * Makerules [shlib-lds-flags empty]:
58393 ($(common-objpfx)libc_pic.opts): New target.
58394 ($(common-objpfx)libc_pic.os.clean): New target.
58395 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
58397 * config.make.in (OBJCOPY): New variable.
58398 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
58399 * configure: Regenerated.
58401 * config.make.in (use-default-link): New variable.
58402 * configure.in (use_default_link): Grok --with-default-link to set it.
58403 * configure: Regenerated.
58404 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
58405 (shlib-lds, shlib-lds-flags): Define to empty.
58407 * Makerules (shlib-lds): New variable.
58408 (shlib-lds-flags): New variable.
58409 (build-shlib, build-moduile, build-module-asneeded): Use it.
58410 ($(common-objpfx)libc.so): Use $(shlib-lds).
58411 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
58412 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
58414 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
58415 DT_FLAGS/DT_FLAGS_1 with zero flags.
58417 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
58418 linker script munging.
58420 2011-07-02 Ulrich Drepper <drepper@gmail.com>
58422 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
58424 * crypt/sha512.c (sha512_process_block): Perform total addition using
58425 128-bit if possible.
58426 (__sha512_finish_ctx): Likewise.
58427 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
58429 * crypt/sha256.c (SWAP64): Define.
58430 (sha256_process_block): Perform total addition using 64-bit if
58432 (__sha256_finish_ctx): Likewise.
58434 2011-07-01 Ulrich Drepper <drepper@gmail.com>
58436 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
58437 * nscd/initgrcache.c (addinitgroupsX): Likewise.
58438 * nscd/hstcache.c (cache_addhst): Likewise.
58439 * nscd/grpcache.c (cache_addgr): Likewise.
58440 * nscd/aicache.c (addhstaiX): Likewise
58441 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
58443 2011-07-01 Thorsten Kukuk <kukuk@suse.de>
58445 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
58446 * nscd/initgrcache.c (addinitgroupsX): Likewise.
58447 * nscd/hstcache.c (cache_addhst): Likewise.
58448 * nscd/grpcache.c (cache_addgr): Likewise.
58449 * nscd/aicache.c (addhstaiX): Likewise
58451 2011-07-01 Andreas Schwab <schwab@redhat.com>
58453 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
58454 domain only when needed.
58456 2011-06-30 Andreas Schwab <schwab@redhat.com>
58458 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
58459 is always restored.
58461 2011-06-29 Ulrich Drepper <drepper@gmail.com>
58463 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
58464 are re-adding the entry.
58465 * nscd/servicescache.c (cache_addserv): Likewise.
58467 2011-06-30 Aurelien Jarno <aurelien@aurel32.net>
58469 * sysdeps/generic/dl-irel.h: fix protection against multiple
58471 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
58473 2011-06-28 Ulrich Drepper <drepper@gmail.com>
58476 * malloc/memusage.sh: Fix quoting in message.
58477 * debug/xtrace.sh: Likewise.
58479 * configure.in: Remove support for --experimental-malloc option, make
58481 * config.make.in: Likewise.
58482 * malloc/Makefile: Likewise.
58484 2011-06-27 Andreas Schwab <schwab@redhat.com>
58486 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
58487 two-byte characters.
58489 2011-06-27 Roland McGrath <roland@hack.frob.com>
58491 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
58492 AC_CACHE_CHECK invocation.
58493 * configure: Regenerated.
58495 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
58497 2011-06-27 Ulrich Drepper <drepper@gmail.com>
58500 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
58501 bit from old_res_options.
58503 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
58505 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
58506 value type for setfct.
58508 2011-06-23 H.J. Lu <hongjiu.lu@intel.com>
58510 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
58511 __gettimeofday instead of gettimeofday.
58513 2011-06-26 Ulrich Drepper <drepper@gmail.com>
58515 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
58517 2011-06-24 H.J. Lu <hongjiu.lu@intel.com>
58519 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
58521 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
58524 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
58526 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
58527 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
58528 strcpy-sse2-unaligned strncpy-sse2-unaligned
58529 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
58530 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
58531 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
58532 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
58533 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
58534 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
58535 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
58536 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
58537 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
58538 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
58539 (STRCPY): Support SSE2 and SSSE3 versions.
58541 2011-06-24 Ulrich Drepper <drepper@gmail.com>
58544 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
58545 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
58546 kernels which artificially limit size of requests.
58548 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
58550 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
58551 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
58552 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
58553 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
58554 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
58555 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
58556 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
58557 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
58558 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
58559 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
58560 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
58561 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
58562 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
58563 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
58564 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
58565 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
58566 Enable unaligned load optimization for Intel Core i3, i5 and i7
58568 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
58570 (index_Fast_Unaligned_Load): Define.
58571 (HAS_FAST_UNALIGNED_LOAD): Define.
58573 2011-06-23 Marek Polacek <mpolacek@redhat.com>
58575 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
58577 2011-06-22 Ulrich Drepper <drepper@gmail.com>
58580 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
58581 until it is clear that the information is realy needed.
58582 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
58584 2011-06-22 Andreas Schwab <schwab@redhat.com>
58586 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
58588 2011-06-22 Ulrich Drepper <drepper@gmail.com>
58590 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
58591 /sys/devices/system/cpu/online if it is usable.
58593 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
58594 reading the information from the /proc filesystem to once a second.
58596 2011-06-21 Andreas Jaeger <aj@suse.de>
58598 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
58599 NULL after inclusion of kernel headers.
58601 2011-06-21 Ulrich Drepper <drepper@gmail.com>
58603 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
58604 calls to internal_setent.
58607 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
58608 addresses using gethostbyname4_r ignore IPv4 addresses.
58610 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
58611 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
58613 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
58615 2011-06-20 David S. Miller <davem@davemloft.net>
58617 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
58619 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
58621 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
58622 (elf_irel): Use it.
58623 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
58624 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
58625 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
58626 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
58627 * sysdeps/x86_64/dl-irel.h: Likewise.
58629 * elf/dl-runtime.c: Use elf_ifunc_invoke.
58630 * elf/dl-sym.c: Likewise.
58632 2011-06-15 Ulrich Drepper <drepper@gmail.com>
58634 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
58635 need to dereference resplen2.
58637 2011-06-14 Andreas Schwab <schwab@redhat.com>
58639 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
58641 2011-06-15 Ulrich Drepper <drepper@gmail.com>
58643 * Makeconfig: Define vardbdir and inst_vardbdir.
58644 * nss/Makefile: Add rules to install db-Makefile.
58646 * nss/nss_db/db-XXX.c: Cleanup.
58648 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
58649 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
58651 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
58652 * nss/makedb.c: Implement -g option to specify that value strings
58653 are generated and should not be added to table iterated over for
58655 * nss/nss_db/db-initgroups.c: New file.
58657 * nss/getent.c: Add support for initgroups lookups through getgrouplist
58660 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
58661 (internal_getgrouplist): Adjust to name change.
58662 Update use_initgroups_entry if this is not the first call.
58663 * nss/databases.def: Add initgroups entry.
58665 * nss/makedb.c (compute_tables): Check result of multiple hash table
58666 sizes to minimize maximum chain length.
58668 2011-06-14 Ulrich Drepper <drepper@gmail.com>
58670 * Versions.def: Add entry for libnss_db.
58671 * shlib-versions: Likewise.
58672 * nss/Makefile: Add rules to build libnss_db.
58673 * nss/Versions: Add libnss_db information. Organize libnss_files
58675 * nss/db-Makefile: Add gshadow support. Change rules for the new
58676 makedb progra. Some minor improvements to generate smaller files.
58677 * nss/nss_db/nss_db.h: Move NSS database header data structures to
58679 * nss/makedb.c: ...here.
58680 Improve database format to be smaller and require less memory at
58682 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
58684 * nss/nss_db/db-netgrp.c: Likewise.
58685 * nss/nss_db/db-open.c: Likewise.
58686 * nss/nss_files/flies-XXX.x: Adjust comments.
58687 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
58688 * nss/nss_files/files-grp.c: Likewise.
58689 * nss/nss_files/files-hosts.c: Likewise.
58690 * nss/nss_files/files-network.c: Likewise.
58691 * nss/nss_files/files-proto.c: Likewise.
58692 * nss/nss_files/files-pwd.c: Likewise.
58693 * nss/nss_files/files-rpc.c: Likewise.
58694 * nss/nss_files/files-service.c: Likewise.
58695 * nss/nss_files/files-sgrp.c: Likewise.
58696 * nss/nss_files/files-spwd.c: Likewise.
58697 * nss/nss_db/db-alias.c: Removed.
58698 * nss/nss_db/dummy-db.h: Removed.
58700 2011-06-02 Ulrich Drepper <drepper@gmail.com>
58702 * nss/makedb.c: Rewritten to not use database library.
58703 * nss/Makefile: Update to build new makedb program.
58705 2011-06-14 Andreas Jaeger <aj@suse.de>
58707 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
58708 memset declaration.
58710 2011-06-10 Andreas Schwab <schwab@redhat.com>
58712 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
58715 2011-06-10 Roland McGrath <roland@hack.frob.com>
58717 * Makerules (shlib.lds): Fail if the linker script comes out empty.
58718 * elf/Makefile ($(objpfx)ld.so): Likewise.
58720 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
58721 Don't list ld.so twice in dependencies.
58723 * posix/bug-regex31.c: Include <stdlib.h>.
58725 * nscd/hstcache.c (cache_addhst): Remove unused variable.
58727 * nis/nss_compat/compat-spwd.c
58728 (getspent_next_nss_netgr): Remove unused variable.
58729 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
58731 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
58732 nonmembers" output to use the right array.
58734 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
58736 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
58738 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
58739 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
58740 * catgets/gencat.c (read_input_file): Likewise.
58741 * locale/programs/locarchive.c (enlarge_archive): Likewise.
58743 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
58744 variable definition inside #if's controlling its use.
58746 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
58748 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
58750 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
58752 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
58755 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
58757 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
58758 * configure: Regenerated.
58760 * Makerules: Revert last change.
58761 * elf/Makefile: Likewise.
58763 2011-06-09 Roland McGrath <roland@hack.frob.com>
58765 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
58766 * elf/Makefile ($(objpfx)librtld.os): Likewise.
58767 (reloc-link): Likewise.
58769 2011-06-09 Ulrich Drepper <drepper@gmail.com>
58771 * elf/Makefile: Add rules to build pldd.
58772 * elf/pldd.c: New file.
58773 * elf/pldd-xx.c: New file.
58775 2011-06-07 Ulrich Drepper <drepper@gmail.com>
58777 * version.h: Update for 2.15 development version.
58779 2011-06-07 David S. Miller <davem@davemloft.net>
58781 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
58783 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
58784 elf_machine_lazy_rel): Likewise.
58785 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
58786 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
58787 elf_machine_lazy_rel): Likewise.
58788 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
58789 dl_hwcap via passed in argument.
58790 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
58793 2011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
58795 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
58797 2011-06-06 Roland McGrath <roland@hack.frob.com>
58800 * manual/fdl-1.1.texi: New file, verbatim from:
58801 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
58802 * manual/lgpl-2.1.texi: New file, verbatim from:
58803 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
58804 * manual/Makefile (licenses): New variable, list those new file names.
58806 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
58808 * manual/fdl.texi: File removed.
58809 * manual/lesser.texi: File removed.
58810 * manual/libc.texinfo (Copying, Documentation License):
58811 Use new @include file names, put @appendix directive before @include.
58813 2011-06-04 Jakub Jelinek <jakub@redhat.com>
58816 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
58817 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
58818 (mq_open): Add __NTH.
58820 2011-06-02 H.J. Lu <hongjiu.lu@intel.com>
58822 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
58823 Assume Intel Core i3/i5/i7 processor if AVX is available.
58825 2011-05-31 Ulrich Drepper <drepper@gmail.com>
58827 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
58830 2011-05-31 Andreas Schwab <schwab@redhat.com>
58832 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
58833 memory. Use alloca_account. Fix memory leak when retrying.
58835 2011-05-31 Ulrich Drepper <drepper@gmail.com>
58837 * version.h (RELEASE): Bump for 2.14 release.
58838 * include/features.h (__GLIBC_MINOR__): Bump to 14.
58840 * config.make.in (RANLIB): Remove entry.
58842 2011-05-30 Ulrich Drepper <drepper@gmail.com>
58844 * po/Makefile (po-sed-cmd): Add ksh to extensions.
58845 (libc.pot): Work around missing support for .ksh extension in xgettext.
58848 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
58849 if both request failed.
58850 (send_dg): In case of server errors clear resplen or *resplen2.
58853 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
58854 when there are multiple maps.
58855 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
58856 (_dl_fini): Remove test here.
58858 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
58860 2011-05-29 Ulrich Drepper <drepper@gmail.com>
58863 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
58864 bit from old_res_options.
58865 (gaih_inet): Likewise.
58868 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
58871 * resolv/res_init.c (res_setoptions): Make the code more compact.
58874 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
58878 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
58880 * malloc/malloc.h: Mark malloc hook variables as deprecated.
58883 * malloc/malloc.h: Declare malloc hook variables as volatile.
58885 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
58889 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
58890 raise in the comment.
58891 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
58892 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
58893 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
58895 2011-05-28 Ulrich Drepper <drepper@gmail.com>
58898 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
58899 grow the buffers more if it already has to be sufficient.
58900 (build_wcs_upper_buffer): Likewise.
58901 * posix/regexec.c (check_matching): Likewise.
58902 (clean_state_log_if_needed): Likewise.
58903 (extend_buffers): Don't enlarge buffers beyond size of the input
58905 Patches mostly by Emil Wojak <emil@wojak.eu>.
58906 * posix/bug-regex32.c: New file.
58907 * posix/Makefile (tests): Add bug-regex32.
58909 * locale/findlocale.c (_nl_find_locale): Return right away if
58910 _nl_explode_name failed.
58911 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
58913 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
58915 * debug/xtrace.sh: Unify messages.
58916 * malloc/memusage.sh: Likewise.
58919 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
58920 time symbol from vDSO. Substitute with vsyscall if not available.
58921 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
58924 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
58925 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
58926 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
58927 Add sendmmsg and internal_sendmmsg.
58928 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
58929 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
58930 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
58932 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
58933 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
58934 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
58936 2011-05-27 Ulrich Drepper <drepper@gmail.com>
58939 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
58940 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
58942 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
58946 * iconvdata/Makefile (tests): Add bug-iconv9.
58947 * iconvdata/bug-iconv9.c: New file.
58949 2011-05-27 Andreas Schwab <schwab@redhat.com>
58952 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
58954 2011-05-25 Jakub Jelinek <jakub@redhat.com>
58956 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
58957 (struct user_regs_struct): Change intcs field back to cs.
58959 2011-05-25 Ulrich Drepper <drepper@gmail.com>
58961 * po/ja.po: Update from translation team.
58963 2011-05-23 Ulrich Drepper <drepper@gmail.com>
58966 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
58967 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
58969 2011-05-20 Andreas Schwab <schwab@redhat.com>
58971 * stdlib/longlong.h: Update from GCC.
58973 2011-05-23 Andreas Schwab <schwab@redhat.com>
58975 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
58977 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
58978 Add parameter name.
58979 (__sysconf): Pass it down.
58981 2011-05-22 Ulrich Drepper <drepper@gmail.com>
58984 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
58986 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
58987 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
58988 add in in __libc_use_alloca calls. Adjust callers.
58989 (glob): Use malloc in some situations.
58991 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
58992 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
58995 2011-05-21 Ulrich Drepper <drepper@gmail.com>
58997 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
58998 and CLOCK_BOOTTIME_ALARM.
59001 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
59004 * string/_strerror.c (__strerror_r): Print negative errors as signed
59008 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
59009 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
59010 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
59012 * configure.in: Fix typo in redirection and correct removal of test
59013 files in two cases.
59016 * locale/setlocale.c (new_composite_name): Fix test to check for
59017 identical name of all categories.
59020 * libio/filedoalloc.c (local_isatty): New function.
59021 (_IO_file_doallocate): Use local_isatty.
59022 * stdio-common/perror.c (perror): In case a new stream is used
59023 forward the stream error.
59024 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
59027 2011-05-20 Ulrich Drepper <drepper@gmail.com>
59030 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
59032 * include/alloca.h (extend_alloca_account): Define.
59035 * posix/regex.h: Fix comments with documentation of user-accessible
59036 fields after compilation and describe correct free'ing of pattern
59037 after re_compile_pattern.
59038 Patch by Reuben Thomas <rrt@sc3d.org>.
59040 2011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
59042 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
59043 and -mno-altivec to prevent the compiler from using Altivec and/or
59044 VSX instructions when the corresponding registers are not available.
59046 2011-05-19 Andreas Schwab <schwab@redhat.com>
59048 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
59050 2011-05-19 Ulrich Drepper <drepper@gmail.com>
59052 * libio/freopen.c (freopen): Use __dup2, not dup2.
59053 * libio/freopen64.c (freopen64): Likewise.
59055 2011-05-17 H.J. Lu <hongjiu.lu@intel.com>
59058 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
59059 * math/Makefile (tests): Add test-powl.
59060 (CFLAGS-test-powl.c): Define.
59061 * math/test-powl.c: New file.
59063 2011-05-16 H.J. Lu <hongjiu.lu@intel.com>
59065 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
59067 2011-05-17 Ulrich Drepper <drepper@gmail.com>
59070 * iconvdata/gb18030.c: Update to GB18020-2005.
59072 2011-05-16 Ulrich Drepper <drepper@gmail.com>
59074 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
59075 RE_SYNTAX_POSIX_AWK): Update to match recent development.
59076 Patch by Aharon Robbins <arnold@skeeve.com>.
59079 * stdlib/putenv.c (putenv): Don't always create copy of the variable
59083 * misc/pselect.c (__pselect): Handle timeout value errors hidden
59084 through underflows.
59087 * misc/error.c (error_at_line): Ensure file_name and old_file_name
59088 point to strings before performing equality test for error_one_per_line
59092 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
59095 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
59096 (struct user_fpregs_struct): Avoid __uint*_t types.
59099 * malloc/mtrace.c (tr_where): Add additional parameter to point to
59100 symbol info. Use it instead of calling _dl_addr locally.
59101 (lock_and_info): New function.
59102 (tr_freehook): Call lock_and_info and pass symbol info as additional
59103 parameter to tr_where.
59104 (tr_mallochook): Likewise.
59105 (tr_reallochook): Likewise.
59106 (tr_memalignhook): Likewise.
59108 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
59109 used and couldn't be at all thread-safe.
59111 2011-05-15 Ulrich Drepper <drepper@gmail.com>
59113 * libio/freopen.c (freopen): Don't close old file descriptor
59114 before the new one is opened. Instead dup the new file descriptor
59115 to the old one after the new stream is created.
59116 * libio/freopen64.c (freopen64): Likewise.
59117 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
59118 * libio/fileops.c (_IO_new_file_close_it): Handle new
59119 _IO_FLAGS2_NOCLOSE flag.
59120 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
59121 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
59122 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
59123 _IO_FLAGS2_NOCLOSE flag.
59124 * include/unistd.h: Add hidden_proto for dup3.
59125 Define __have_dup3.
59126 * io/dup3.c: Define hidden symbol.
59127 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
59130 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
59131 when an incomplete long option is used.
59132 * posix/tst-getopt_long1.c: New file.
59133 * posix/Makefile (tests): Add tst-getopt_long1.
59136 * scripts/config.guess: Update from autoconf-2.68.
59137 * scripts/config.sub: Likewise.
59140 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
59142 (has_cpuclock): ...this. New function.
59143 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
59144 macro here based on has_cpuclock code.
59147 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
59148 First byte (not low byte) is now always NUL.
59149 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
59151 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
59152 Use non-cancelable interfaces.
59155 * locale/iso-639.def: Add entry for Sorani.
59158 * include/stdlib.h: Move include protection to the right place.
59159 Define abort_msg_s. Declare __abort_msg with it.
59160 * stdlib/abort.c (__abort_msg): Adjust type.
59161 * assert/assert.c (__assert_fail_base): New function. Majority
59162 of code from __assert_fail. Allocate memory for __abort_msg with
59164 (__assert_fail): Now call __assert_fail_base.
59165 * assert/assert-perr.c: Remove bulk of implementation. Use
59166 __assert_fail_base.
59167 * include/assert.hL Declare __assert_fail_base.
59168 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
59170 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
59172 2011-05-14 Ulrich Drepper <drepper@gmail.com>
59176 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
59177 until all modules are registered in the DTV.
59178 * elf/Makefile: Add rules to build and run tst-tls19.
59179 * elf/tst-tls19.c: New file.
59180 * elf/tst-tls19mod1.c: New file.
59181 * elf/tst-tls19mod2.c: New file.
59182 * elf/tst-tls19mod3.c: New file.
59183 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
59186 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
59190 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
59191 two-byte sequence errors.
59192 * iconvdata/Makefile (tests): Add bug-iconv8.
59193 * iconvdata/bug-iconv8.c: New file.
59196 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
59199 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
59202 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
59203 (dummy_getcfa): New function.
59204 (init): Get _Unwind_GetCFA address, use dummy if not found.
59205 (backtrace_helper): In recursion check, also check whether CFA changes.
59206 (__backtrace): Completely initialize arg.
59208 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
59209 storing incomplete byte sequence in state object. Avoid testing for
59210 guaranteed too small input if we know there is enough data available.
59212 2011-05-11 Andreas Schwab <schwab@redhat.com>
59214 * Makeconfig (+link-pie): Indent.
59215 * Rules (binaries-pie): Define if $(have-fpie) and
59217 (binaries-shared): Also filter out $(binaries-pie).
59218 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
59219 * nscd/Makefile (others-pie): Add nscd.
59220 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
59221 ($(objpfx)nscd): Remove command override.
59222 * login/Makefile (others-pie): Add pt_chown.
59223 ($(objpfx)pt_chown): Remove command override.
59224 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
59225 remove command overrides.
59227 2011-05-13 Ulrich Drepper <drepper@gmail.com>
59229 * libio/tst_putwc.c: Fix error messages.
59232 * libio/fileops.c (_IO_new_file_close_it): Always flush when
59233 currently writing and seek to current position when not.
59234 * libio/Makefile (tests): Add bug-fclose1.
59235 * libio/bug-fclose1.c: New file.
59237 2011-05-12 Ulrich Drepper <drepper@gmail.com>
59240 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
59241 don't set DF_1_NODELETE here.
59242 (do_lookup_x): When entering new entry test for copy relocation
59243 and if necessary set DF_1_NODELETE flag.
59244 * elf/tst-unique4.cc: New file.
59245 * elf/tst-unique4.h: New file.
59246 * elf/tst-unique4lib.cc: New file.
59247 * elf/Makefile: Add rules to build and run tst-unique4.
59248 Patch by Piotr Bury <pbury@goahead.com>.
59250 2011-05-11 Ulrich Drepper <drepper@gmail.com>
59253 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
59256 * misc/mntent_r.c (addmntent): Flush the stream after the output
59259 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
59260 (is_trusted_path_normalize): Skip initial colon. Append slash
59261 to empty buffer. Duplicate is_trusted_path code but allow
59262 constructed patch to be prefix.
59263 (is_dst): Allow $ORIGIN followed by /.
59264 (_dl_dst_substitute): Correct clearing of check_for_trusted.
59265 Correct testing of result of is_trusted_path_normalize
59266 (decompose_rpath): Fix warning.
59268 2011-05-10 Ulrich Drepper <drepper@gmail.com>
59271 * grp/initgroups.c (internal_getgrouplist): When we found the service
59272 list through the initgroups entry in nsswitch.conf do not always
59273 continue on a successful lookup. Don't always use the
59274 __nss_group_database value if it is set.
59275 * nss/nsswitch.conf (initgroups): Change action for successful db
59276 lookup to continue for compatibility.
59278 2011-05-09 Ulrich Drepper <drepper@gmail.com>
59281 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
59283 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
59285 * iconvdata/tst-tables.sh: Likewise.
59286 * iconvdata/cp770.c: New file.
59287 * iconvdata/cp771.c: New file.
59288 * iconvdata/cp772.c: New file.
59289 * iconvdata/cp773.c: New file.
59290 * iconvdata/cp774.c: New file.
59291 * iconvdata/testdata/CP770: New file.
59292 * iconvdata/testdata/CP770..UTF8: New file.
59293 * iconvdata/testdata/CP771: New file.
59294 * iconvdata/testdata/CP771..UTF8: New file.
59295 * iconvdata/testdata/CP772: New file.
59296 * iconvdata/testdata/CP772..UTF8: New file.
59297 * iconvdata/testdata/CP773: New file.
59298 * iconvdata/testdata/CP773..UTF8: New file.
59299 * iconvdata/testdata/CP774: New file.
59300 * iconvdata/testdata/CP774..UTF8: New file.
59302 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
59304 * iconvdata/gen-8bit-gap.sh: Likewise.
59305 * iconvdata/gen-8bit.sh: Likewise.
59307 * locale/iso-639.def: Add ary entry.
59310 * locale/C-translit.h.in: Add U20A1 transliteration.
59313 * locale/iso-639.def: Add wae entry.
59314 Patch by Kevin Bortis <bortis@translate-wae.ch>.
59317 * locale/programs/localedef.c (construct_output_path): Use ssize_t
59321 * locale/C-translit.h.in: Add entry for U20B9.
59322 Patch by pravin.d.s@gmail.com.
59324 2011-05-08 Ulrich Drepper <drepper@gmail.com>
59327 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
59328 ENAMETOOLONG use generic getcwd.
59329 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
59330 in rtld. Use *stat64.
59331 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
59332 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
59333 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
59334 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
59335 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
59336 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
59337 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
59338 __fstatat64 macros.
59339 * include/dirent.h: Add libc_hidden_proto for rewinddir.
59340 * dirent/rewinddir.c: Add libc_hidden_def.
59341 * sysdeps/mach/hurd/rewinddir.c: Likewise.
59342 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
59344 * include/dirent.h (__alloc_dir): Add flags parameter.
59345 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
59346 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
59348 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
59349 from fdopendir if O_CLOEXEC is already set.
59351 2011-03-15 Alan Modra <amodra@gmail.com>
59353 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
59354 l_tls_firstbyte_offset non-zero. Save padding offset in
59355 l_tls_firstbyte_offset for later use.
59356 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
59357 freeing static tls block.
59359 2011-03-05 Jonathan Nieder <jrnieder@gmail.com>
59361 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
59362 where #ifdef was intended. The intent is to prevent ARG_MAX from
59363 being defined by the kernel headers.
59365 2011-05-07 Ulrich Drepper <drepper@gmail.com>
59368 * resolv/resolv.h: Define RES_NOTLDQUERY.
59369 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
59370 no-tld-query and set RES_NOTLDQUERY.
59371 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
59372 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
59373 modern BIND to search name as TLD unless forbidden.
59375 2011-05-07 Petr Baudis <pasky@suse.cz>
59376 Ulrich Drepper <drepper@gmail.com>
59379 * elf/dl-load.c (fillin_rpath): Move trusted path check...
59380 (is_trusted_path): ...to here.
59381 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
59382 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
59383 using is_trusted_path_normalize() in setuid scripts.
59385 2011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
59387 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
59388 __BEGIN/__END_DECLS.
59390 2011-05-06 Ulrich Drepper <drepper@gmail.com>
59392 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
59393 NSS_STATUS_NOTFOUND if no record was found.
59395 2011-05-05 Andreas Schwab <schwab@redhat.com>
59397 * sunrpc/Makefile (headers): Add rpc/netdb.h.
59398 (headers-not-in-tirpc): Remove rpc/netdb.h
59399 * resolv/netdb.h: Revert last change.
59401 2011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
59403 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
59404 circular dependency between libgcc.a and libc.a.
59406 2011-05-05 Andreas Schwab <schwab@redhat.com>
59408 * resolv/netdb.h: Don't include <rpc/netdb.h>.
59409 * nis/Makefile: Don't install rpcsvc/*.
59410 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
59411 instead of <rpc/types.h>.
59412 (MAXHOSTNAMELEN): Define.
59414 2011-05-03 Andreas Schwab <schwab@redhat.com>
59416 * elf/ldconfig.c (add_dir): Don't crash on empty path.
59418 2011-04-28 Maciej Babinski <mbabinski@google.com>
59421 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
59422 gethostbyname4_r when IPv6 results are possible.
59424 2011-05-02 Ulrich Drepper <drepper@gmail.com>
59427 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
59428 _PC_PIPE_BUF handling.
59430 2011-04-30 Bruno Haible <bruno@clisp.org>
59433 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
59434 * resolv/netdb.h (getnameinfo): Change type of flags parameter
59436 * inet/getnameinfo.c (getnameinfo): Likewise.
59438 2011-04-29 Ulrich Drepper <drepper@gmail.com>
59440 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
59441 to groups setting in database lookup.
59442 * nss/nsswitch.conf: Add initgroups entry.
59444 2011-04-22 Ulrich Drepper <drepper@gmail.com>
59447 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
59449 Patch by Eric Blake <eblake@redhat.com>.
59451 2011-04-20 H.J. Lu <hongjiu.lu@intel.com>
59453 * sunrpc/Makefile (need-export-routines): Add svc_run.
59454 (routines): Remove svc_run.
59455 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
59456 * sunrpc/clnt_perr.c (clnt_perrno): Export.
59457 * sunrpc/svc_run.c (svc_run): Likewise.
59458 * sunrpc/svc_udp.c (svcudp_create): Likewise.
59460 2011-04-21 Ulrich Drepper <drepper@gmail.com>
59462 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
59463 problem in reallocation in last patch.
59465 2011-04-20 Ulrich Drepper <drepper@gmail.com>
59467 * sunrpc/Makefile: Move inclusion of Rules.
59469 2011-04-19 Ulrich Drepper <drepper@gmail.com>
59471 * nss/nss_files/files-initgroups.c: New file.
59472 * nss/Makefile (libnss_files-routines): Add files-initgroups.
59473 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
59474 _nss_files_initgroups_dyn.
59476 2011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
59478 * elf/elf.h (R_ARM_IRELATIVE): Define.
59480 2011-04-19 Ulrich Drepper <drepper@gmail.com>
59482 * po/ru.po: Update from translation team.
59484 2011-04-17 Ulrich Drepper <drepper@gmail.com>
59486 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
59489 2011-02-06 Mike Frysinger <vapier@gentoo.org>
59492 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
59493 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
59494 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
59495 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
59496 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
59498 2011-03-28 Andreas Schwab <schwab@linux-m68k.org>
59500 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
59502 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
59503 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
59504 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
59506 2011-04-17 Ulrich Drepper <drepper@gmail.com>
59509 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
59511 * stdlib/bug-getcontext.c: New file.
59512 * stdlib/Makefile: Add rules to build and run bug-getcontext.
59514 2011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
59516 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
59517 instructions into .machine "z9-109".
59518 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
59519 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
59521 2011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
59523 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
59524 between environment variables and auxiliary vector.
59526 2011-04-16 Ulrich Drepper <drepper@gmail.com>
59528 * Makefile: Add rules to build linkobj/libc.so.
59529 * include/libc-symbols.h: Define libc_hidden_nolink.
59530 * include/rpc/auth.h: Mark functions which are to be hidden.
59531 * include/rpc/auth_des.h: Likewise.
59532 * include/rpc/auth_unix.h: Likewise.
59533 * include/rpc/clnt.h: Likewise.
59534 * include/rpc/des_crypt.h: Likewise.
59535 * include/rpc/key_prot.h: Likewise.
59536 * include/rpc/pmap_clnt.h: Likewise.
59537 * include/rpc/pmap_prot.h: Likewise.
59538 * include/rpc/pmap_rmt.h: Likewise.
59539 * include/rpc/rpc_msg.h: Likewise.
59540 * include/rpc/svc.h: Likewise.
59541 * include/rpc/svc_auth.h: Likewise.
59542 * include/rpc/xdr.h: Likewise.
59543 * nis/Makefile: Link all DSOs against linkobj/libc.so.
59544 * nss/Makefile: Likewise.
59545 * sunrpc/Makefile: Don't install headers. Build library with normal
59546 entry points. Don't build rpcinfo. Link RPC tests appropriately.
59547 * sunrpc/auth_des.c: Hide exported symbols by default, export some
59548 for the compat linking library. Remove use of INTDEF/INTUSE.
59549 * sunrpc/auth_none.c: Likewise.
59550 * sunrpc/auth_unix.c: Likewise.
59551 * sunrpc/authdes_prot.c: Likewise.
59552 * sunrpc/authuxprot.c: Likewise.
59553 * sunrpc/clnt_gen.c: Likewise.
59554 * sunrpc/clnt_perr.c: Likewise.
59555 * sunrpc/clnt_raw.c: Likewise.
59556 * sunrpc/clnt_simp.c: Likewise.
59557 * sunrpc/clnt_tcp.c: Likewise.
59558 * sunrpc/clnt_udp.c: Likewise.
59559 * sunrpc/clnt_unix.c: Likewise.
59560 * sunrpc/des_crypt.c: Likewise.
59561 * sunrpc/des_soft.c: Likewise.
59562 * sunrpc/get_myaddr.c: Likewise.
59563 * sunrpc/key_call.c: Likewise.
59564 * sunrpc/key_prot.c: Likewise.
59565 * sunrpc/netname.c: Likewise.
59566 * sunrpc/pm_getmaps.c: Likewise.
59567 * sunrpc/pm_getport.c: Likewise.
59568 * sunrpc/pmap_clnt.c: Likewise.
59569 * sunrpc/pmap_prot.c: Likewise.
59570 * sunrpc/pmap_prot2.c: Likewise.
59571 * sunrpc/pmap_rmt.c: Likewise.
59572 * sunrpc/publickey.c: Likewise.
59573 * sunrpc/rpc_cmsg.c: Likewise.
59574 * sunrpc/rpc_common.c: Likewise.
59575 * sunrpc/rpc_dtable.c: Likewise.
59576 * sunrpc/rpc_prot.c: Likewise.
59577 * sunrpc/rpc_thread.c: Likewise.
59578 * sunrpc/rtime.c: Likewise.
59579 * sunrpc/svc.c: Likewise.
59580 * sunrpc/svc_auth.c: Likewise.
59581 * sunrpc/svc_authux.c: Likewise.
59582 * sunrpc/svc_raw.c: Likewise.
59583 * sunrpc/svc_run.c: Likewise.
59584 * sunrpc/svc_simple.c: Likewise.
59585 * sunrpc/svc_tcp.c: Likewise.
59586 * sunrpc/svc_udp.c: Likewise.
59587 * sunrpc/svc_unix.c: Likewise.
59588 * sunrpc/svcauth_des.c: Likewise.
59589 * sunrpc/xcrypt.c: Likewise.
59590 * sunrpc/xdr.c: Likewise.
59591 * sunrpc/xdr_array.c: Likewise.
59592 * sunrpc/xdr_float.c: Likewise.
59593 * sunrpc/xdr_intXX_t.c: Likewise.
59594 * sunrpc/xdr_mem.c: Likewise.
59595 * sunrpc/xdr_rec.c: Likewise.
59596 * sunrpc/xdr_ref.c: Likewise.
59597 * sunrpc/xdr_sizeof.c: Likewise.
59598 * sunrpc/xdr_stdio.c: Likewise.
59600 2011-04-10 Ulrich Drepper <drepper@gmail.com>
59603 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
59604 * sysdeps/ia64/dl-tls.h: Likewise.
59605 * sysdeps/powerpc/dl-tls.h: Likewise.
59606 * sysdeps/s390/dl-tls.h: Likewise.
59607 * sysdeps/sh/dl-tls.h: Likewise.
59608 * sysdeps/sparc/dl-tls.h: Likewise.
59609 * sysdeps/x86_64/dl-tls.h: Likewise.
59610 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
59612 2011-03-14 Andreas Schwab <schwab@redhat.com>
59614 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
59615 rpath element also skip the following colon.
59616 (expand_dynamic_string_token): Add is_path parameter and pass
59617 down to DL_DST_REQUIRED and _dl_dst_substitute.
59618 (decompose_rpath): Call expand_dynamic_string_token with
59619 non-zero is_path. Ignore empty rpaths.
59620 (_dl_map_object_from_fd): Call expand_dynamic_string_token
59623 2011-04-08 Andreas Schwab <schwab@linux-m68k.org>
59625 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
59628 2011-04-09 Ulrich Drepper <drepper@gmail.com>
59631 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
59632 Patch by Filipe David Manana <fdmanana@apache.org>.
59634 2011-04-07 Andreas Schwab <schwab@redhat.com>
59636 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
59637 Maintain aligned stack.
59638 (CHECK_RSP): Remove unused macro.
59640 2011-04-03 Ulrich Drepper <drepper@gmail.com>
59642 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
59643 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
59645 2011-04-02 Ulrich Drepper <drepper@gmail.com>
59647 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
59649 * include/features.h: Mention __USE_XOPEN2K8 in comment.
59651 2011-03-26 H.J. Lu <hongjiu.lu@intel.com>
59654 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
59655 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
59656 * sysdeps/x86_64/memmove.c: New file.
59657 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
59658 (memcpy): Renamed to ...
59659 (__new_memcpy): This.
59660 (memcpy): Provide GLIBC_2_14 memcpy.
59661 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
59662 (memcpy): Provide GLIBC_2_2_5 memcpy.
59664 2011-04-01 Ulrich Drepper <drepper@gmail.com>
59667 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
59669 2011-03-30 Andreas Schwab <schwab@redhat.com>
59671 * misc/syncfs.c: New file.
59672 * misc/Makefile (routines): Add syncfs.
59673 * posix/unistd.h: Declare syncfs.
59674 * sysdeps/unix/syscalls.list: Add syncfs.
59676 2011-04-01 Andreas Schwab <schwab@redhat.com>
59678 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
59680 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
59681 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
59682 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
59683 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
59684 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
59685 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
59686 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
59688 2011-04-01 Ulrich Drepper <drepper@gmail.com>
59690 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
59691 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
59692 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
59693 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
59694 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
59695 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
59696 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
59698 * io/Makefile: Compile fallocate.c, fallocate64.c, and
59699 sync_file_range.c with -fexceptions.
59700 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
59701 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
59702 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
59703 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
59704 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
59705 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
59706 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
59707 sync_file_range as cancellation point
59708 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
59709 now a wrapper around __call_sync_file_range with cancellation handling.
59710 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
59711 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
59712 function name to __call_sync_file_range.
59713 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
59714 Add call_sync_file_range.
59716 2011-04-01 Andreas Schwab <schwab@redhat.com>
59718 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
59721 2011-04-01 Ulrich Drepper <drepper@gmail.com>
59723 * iconv/iconv.h: Fix typo in comment.
59724 * io/fcntl.h: Likewise.
59725 * libio/stdio.h: Likewise.
59726 * posix/spawn.h: Likewise.
59727 * posix/unistd.h: Likewise.
59728 * stdlib/stdlib.h: Likewise.
59729 * time/time.h: Likewise.
59730 * wcsmbs/wchar.h: Likewise.
59732 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
59733 open_by_handle): Add.
59734 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
59735 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
59736 Augment a few comments.
59737 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
59738 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
59739 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
59740 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
59741 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
59742 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
59745 * io/fcntl.h (AT_EMPTY_PATH): Define.
59747 2011-03-30 Ulrich Drepper <drepper@gmail.com>
59749 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
59750 * sysdeps/unix/sysv/linux/bits/time.h: New file.
59751 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
59753 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
59754 * Versions.def: Add GLIBC_2.14.
59755 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
59758 2011-03-22 Ulrich Drepper <drepper@gmail.com>
59760 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
59762 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
59764 2011-03-20 H.J. Lu <hongjiu.lu@intel.com>
59767 * string/test-strncmp.c (do_page_test): New function.
59768 (check2): Likewise.
59769 (test_main): Call check2.
59770 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
59772 2011-03-20 Ulrich Drepper <drepper@gmail.com>
59775 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
59776 Handle cache information in CPU leaf 4.
59777 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
59779 2011-03-18 Ulrich Drepper <drepper@gmail.com>
59782 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
59783 character representation.
59784 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
59786 2011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
59788 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
59789 END(__isnan) to END(__isnanf) to match function entry point/label
59790 EALIGN(__isnanf,...).
59792 2011-03-10 Jakub Jelinek <jakub@redhat.com>
59794 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
59796 2011-03-10 Ulrich Drepper <drepper@gmail.com>
59799 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
59800 copy from the symbol referenced in the relocation to initialize the
59802 Patch by Piotr Bury <pbury@goahead.com>.
59803 * elf/Makefile: Add rules to build and tst-unique3.
59804 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
59805 * elf/tst-unique3.cc: New file.
59806 * elf/tst-unique3.h: New file.
59807 * elf/tst-unique3lib.cc: New file.
59808 * elf/tst-unique3lib2.cc: New file.
59810 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
59812 2011-03-10 Mike Frysinger <vapier@gentoo.org>
59814 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
59815 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
59818 2011-03-06 Ulrich Drepper <drepper@gmail.com>
59820 * elf/dl-load.c (_dl_map_object): If we are looking for the first
59821 to-be-loaded object along a path to loader is ld.so.
59823 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
59824 Ulrich Drepper <drepper@gmail.com>
59826 * sysdeps/x86_64/memset.S: After aligning destination, code
59827 branches to different locations depending on the value of
59828 misalignment, when multiarch is enabled. Fix this.
59830 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
59832 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
59833 Set _x86_64_preferred_memory_instruction for AMD processsors.
59834 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
59835 Set bit_Prefer_SSE_for_memop for AMD processors.
59837 2011-03-04 Ulrich Drepper <drepper@gmail.com>
59839 * libio/fmemopen.c (fmemopen): Optimize a bit.
59841 2011-03-03 Andreas Schwab <schwab@redhat.com>
59843 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
59845 2011-03-03 Roland McGrath <roland@redhat.com>
59847 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
59849 2011-02-28 Aurelien Jarno <aurelien@aurel32.net>
59851 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
59852 __bzero_ultra1 instead of __memset_ultra1.
59854 2011-02-23 Andreas Schwab <schwab@redhat.com>
59855 Ulrich Drepper <drepper@gmail.com>
59858 * include/link.h (struct link_map): Add l_orig_initfini.
59859 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
59860 returning unsuccessfully.
59861 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
59862 close of a file loaded at startup, restore the original l_initfini
59864 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
59865 list, store the pointer.
59866 * elf/Makefile ($(objpfx)noload-mem): New rule.
59867 (noload-ENV): Define.
59868 (tests): Add $(objpfx)noload-mem.
59869 * elf/noload.c: Include <memcheck.h>.
59870 (main): Call mtrace. Close all opened handles.
59872 2011-02-17 Andreas Schwab <schwab@redhat.com>
59875 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
59876 dependencies are missing.
59878 2011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
59880 Fix __if_freereq crash: Unlike the generic version which uses free,
59882 * sysdeps/mach/hurd/ifreq.h: New file.
59884 2011-01-27 Petr Baudis <pasky@suse.cz>
59885 Ulrich Drepper <drepper@gmail.com>
59888 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
59889 to extend_alloca().
59890 * stdio-common/bug23.c: New file.
59891 * stdio-common/Makefile (tests): Add bug23.
59893 2010-09-28 Andreas Schwab <schwab@redhat.com>
59894 Ulrich Drepper <drepper@gmail.com>
59897 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
59898 before performing relro protection. At old place add assertion
59899 to make sure nothing changed.
59901 2011-02-17 Nathan Sidwell <nathan@codesourcery.com>
59902 Glauber de Oliveira Costa <glommer@gmail.com>
59904 * elf/elf.h: Add new ARM TLS relocs.
59906 2011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
59908 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
59909 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
59911 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
59913 * sysdeps/wordsize-64/tst-writev.c: New file.
59915 2011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
59917 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
59918 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
59919 insns in _dl_start to prevent a TOC reference before relocs are
59922 2011-02-15 Ulrich Drepper <drepper@gmail.com>
59925 * Makeconfig: Remove RANLIB definition.
59926 * Makerules: Don't use RANLIB.
59927 * aclocal.m4: Remove ranlib test.
59928 * configure.in: No need to check for ranlib.
59929 * elf/rtld-Rules: Don't use RANLIB.
59931 2011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
59933 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
59935 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
59936 inclusion protection macro.
59938 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
59939 SIGRTMIN and SIGRTMAX and print information in that case only when
59940 SIGRTMIN is defined.
59942 2011-02-11 Jakub Jelinek <jakub@redhat.com>
59944 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
59945 arginfo fn returning -1.
59947 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
59948 and thousands string is zero terminated.
59950 2011-02-03 Andreas Schwab <schwab@redhat.com>
59952 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
59953 sysdeps/unix/sysv/linux/bits/socket.h.
59955 2011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
59957 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
59958 (__CPU_COUNT): Remove old macros.
59959 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
59960 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
59961 (__CPU_ALLOC, __CPU_FREE): Add macros.
59962 (__sched_cpualloc, __sched_cpufree): Add declarations.
59964 2011-02-05 Ulrich Drepper <drepper@gmail.com>
59966 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
59967 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
59968 * nscd/aicache.c (addhstaiX): Return timeout of added value.
59969 (readdhstai): Return value of addhstaiX call.
59970 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
59971 (addgrbyX): Return value returned by cache_addgr.
59972 (readdgrbyname): Return value returned by addgrbyX.
59973 (readdgrbygid): Likewise.
59974 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
59975 (addpwbyX): Return value returned by cache_addpw.
59976 (readdpwbyname): Return value returned by addhstbyX.
59977 (readdpwbyuid): Likewise.
59978 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
59979 (addservbyX): Return value returned by cache_addserv.
59980 (readdservbyname): Return value returned by addservbyX:
59981 (readdservbyport): Likewise.
59982 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
59983 (addhstbyX): Return value returned by cache_addhst.
59984 (readdhstbyname): Return value returned by addhstbyX.
59985 (readdhstbyaddr): Likewise.
59986 (readdhstbynamev6): Likewise.
59987 (readdhstbyaddrv6): Likewise.
59988 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
59989 (readdinitgroups): Return value returned by addinitgroupsX.
59990 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
59991 (prune_cache): Keep track of timeout value of re-added entries.
59992 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
59993 * nscd/nscd.h: Adjust prototypes of readd* functions.
59995 2011-02-04 Roland McGrath <roland@redhat.com>
59997 * nis/nis_server.c (nis_servstate): Use the right name for 0.
59998 (nis_stats): Likewise.
59999 * nis/nis_modify.c (nis_modify): Likewise.
60000 * nis/nis_remove.c (nis_remove): Likewise.
60001 * nis/nis_add.c (nis_add): Likewise.
60003 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
60005 * posix/fnmatch_loop.c: Add some consts.
60007 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
60009 2011-02-02 H.J. Lu <hongjiu.lu@intel.com>
60012 * config.make.in (config-cflags-novzeroupper): Define.
60013 * configure.in: Substitute libc_cv_cc_novzeroupper.
60014 * elf/Makefile (AVX-CFLAGS): Define.
60015 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
60016 (CFLAGS-tst-auditmod4a.c): Likewise.
60017 (CFLAGS-tst-auditmod4b.c): Likewise.
60018 (CFLAGS-tst-auditmod6b.c): Likewise.
60019 (CFLAGS-tst-auditmod6c.c): Likewise.
60020 (CFLAGS-tst-auditmod7b.c): Likewise.
60021 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
60023 2011-02-02 Ulrich Drepper <drepper@gmail.com>
60025 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
60026 function to the callback.
60027 Patch partly by Jiri Olsa <jolsa@redhat.com>.
60029 2011-02-02 Andreas Schwab <schwab@redhat.com>
60031 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
60034 2011-01-19 Ulrich Drepper <drepper@gmail.com>
60037 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
60039 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
60041 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
60044 * elf/Makefile: Add rules to build and run new test.
60045 * elf/tst-initorder.c: New file.
60046 * elf/tst-initorder.exp: New file.
60047 * elf/tst-initordera1.c: New file.
60048 * elf/tst-initordera2.c: New file.
60049 * elf/tst-initordera3.c: New file.
60050 * elf/tst-initordera4.c: New file.
60051 * elf/tst-initorderb1.c: New file.
60052 * elf/tst-initorderb2.c: New file.
60053 * elf/tst-order-a1.c: New file.
60054 * elf/tst-order-a2.c: New file.
60055 * elf/tst-order-a3.c: New file.
60056 * elf/tst-order-a4.c: New file.
60057 * elf/tst-order-b1.c: New file.
60058 * elf/tst-order-b2.c: New file.
60059 * elf/tst-order-main.c: New file.
60060 New test case by George Gensure <werkt0@gmail.com>.
60062 2010-10-01 Andreas Schwab <schwab@redhat.com>
60064 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
60065 decoding ACE if AI_CANONIDN.
60067 2011-01-18 Ulrich Drepper <drepper@gmail.com>
60069 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
60071 2011-01-17 Ulrich Drepper <drepper@gmail.com>
60073 * version.h (RELEASE): Bump for 2.13 release.
60074 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
60076 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
60078 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
60080 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
60081 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
60082 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
60083 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
60084 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
60085 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
60087 * posix/getconf.c: Update copyright year.
60088 * catgets/gencat.c: Likewise.
60089 * csu/version.c: Likewise.
60090 * debug/catchsegv.sh: Likewise.
60091 * debug/xtrace.sh: Likewise.
60092 * elf/ldconfig.c: Likewise.
60093 * elf/ldd.bash.in: Likewise.
60094 * elf/sprof.c (print_version): Likewise.
60095 * iconv/iconv_prog.c: Likewise.
60096 * iconv/iconvconfig.c: Likewise.
60097 * locale/programs/locale.c: Likewise.
60098 * locale/programs/localedef.c: Likewise.
60099 * malloc/memusage.sh: Likewise.
60100 * malloc/mtrace.pl: Likewise.
60101 * nscd/nscd.c (print_version): Likewise.
60102 * nss/getent.c: Likewise.
60104 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
60105 PF_CAIF, and PF_ALG.
60106 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
60108 2011-01-16 Andreas Schwab <schwab@linux-m68k.org>
60110 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
60111 (modules-names): Use them.
60112 (ifunc-test-modules, ifunc-pie-tests): Define.
60113 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
60114 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
60115 (test-extras): Likewise.
60116 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
60117 $(compile-command.c).
60118 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
60119 (all-built-dso): Define.
60120 (check-textrel.out, check-execstack.out): Depend on it.
60122 * configure.in: Don't override --enable-multi-arch.
60124 2011-01-15 Ulrich Drepper <drepper@gmail.com>
60127 * nscd/hstcache.c (tryagain): Define.
60128 (cache_addhst): Return tryagain not notfound for temporary errors.
60129 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
60132 2011-01-14 Ulrich Drepper <drepper@gmail.com>
60135 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
60136 to make the syscall.
60137 * sysdeps/unix/sysv/linux/setgroups.c: New file.
60140 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
60141 and fall back to matching as normal character if the string ends before
60142 the matching ']' is found. This is what POSIX requires.
60143 * posix/testfnm.c: Adjust test result.
60144 * posix/globtest.sh: Adjust test result. Add new test.
60145 * posix/tst-fnmatch.input: Likewise.
60146 * posix/tst-fnmatch2.c: Add new test.
60148 2010-12-28 Andreas Schwab <schwab@linux-m68k.org>
60150 * elf/Makefile (check-execstack): Revert last change. Depend on
60152 (check-execstack.h): New target.
60153 (generated): Add check-execstack.h.
60154 * elf/check-execstack.c: Include "check-execstack.h".
60155 (main): Revert last change.
60156 (handle_file): Return zero if GNU_STACK is absent and
60157 DEFAULT_STACK_PERMS doesn't include PF_X.
60159 2011-01-13 Ulrich Drepper <drepper@gmail.com>
60161 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
60162 in child fails because the descriptor is already closed.
60163 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
60164 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
60165 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
60168 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
60172 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
60173 temporary buffer used to handle multi lookups locally.
60174 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
60176 2011-01-12 Ulrich Drepper <drepper@gmail.com>
60178 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
60181 2011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
60183 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
60184 alignment for SSE2.
60186 2011-01-12 Ulrich Drepper <drepper@gmail.com>
60189 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
60190 characters. When rounding increased number of integer digits recompute
60192 * stdio-common/tst-grouping.c: New file.
60193 * stdio-common/Makefile: Add rules to build and run tst-grouping.
60195 2011-01-09 Ulrich Drepper <drepper@gmail.com>
60197 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
60198 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
60200 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
60202 * bits/select.h: Likewise.
60204 2011-01-08 Ulrich Drepper <drepper@gmail.com>
60206 * po/ja.po: Update from translation team.
60208 2011-01-04 David S. Miller <davem@sunset.davemloft.net>
60211 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
60212 implementation just like for lxstat, fxstatat, et al.
60214 2010-12-27 Jim Meyering <meyering@redhat.com>
60217 * posix/regexec.c (build_trtable): Return failure indication upon
60218 calloc failure. Otherwise, re_search_internal could infloop on OOM.
60220 2010-12-25 Ulrich Drepper <drepper@gmail.com>
60223 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
60224 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
60225 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
60226 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
60229 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
60232 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
60233 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
60235 2010-12-15 H.J. Lu <hongjiu.lu@intel.com>
60237 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
60238 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
60239 script has SORT_BY_INIT_PRIORITY.
60240 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
60241 NO_CTORS_DTORS_SECTIONS is defined.
60242 * elf/soinit.c: Likewise.
60243 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
60244 NO_CTORS_DTORS_SECTIONS is defined.
60245 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
60246 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
60247 * sysdeps/sh/init-first.c: Likewise.
60248 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
60250 2010-12-24 Ulrich Drepper <drepper@gmail.com>
60252 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
60253 always use the slow path.
60255 2010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
60257 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
60258 similar rule which adds the sysdep directories to the header search in
60259 order to pick up the correct platform stackinfo.h.
60260 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
60261 perform test if it is, otherwise return successfully without testing.
60262 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
60263 DEFAULT_STACK_PERMS define in stackinfo.h.
60264 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
60265 defined in stackinfo.h.
60266 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
60267 DEFAULT_STACK_PERMS defined in stackinfo.h.
60268 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
60269 * sysdeps/ia64/stackinfo.h: Likewise.
60270 * sysdeps/s390/stackinfo.h: Likewise.
60271 * sysdeps/sh/stackinfo.h: Likewise.
60272 * sysdeps/sparc/stackinfo.h: Likewise.
60273 * sysdeps/x86_64/stackinfo.h: Likewise.
60274 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
60275 PF_X for powerpc64. Retain PF_X for powerpc32.
60277 2010-12-19 Ulrich Drepper <drepper@gmail.com>
60279 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
60281 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
60282 GETDENTS_64BIT_ALIGNED.
60284 2010-12-14 Ulrich Drepper <dreper@gmail.com>
60286 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
60288 2010-12-10 Andreas Schwab <schwab@redhat.com>
60290 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
60293 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
60294 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
60296 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
60297 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
60299 2010-12-09 Ulrich Drepper <drepper@gmail.com>
60302 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
60305 2010-12-09 Jakub Jelinek <jakub@redhat.com>
60307 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
60309 2010-12-03 Ulrich Drepper <drepper@gmail.com>
60311 * po/it.po: Update from translation team.
60313 2010-12-01 H.J. Lu <hongjiu.lu@intel.com>
60315 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
60318 2010-11-30 Ulrich Drepper <drepper@gmail.com>
60320 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
60322 2010-11-24 Andreas Schwab <schwab@redhat.com>
60324 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
60326 (gaih_getanswer_slice): Likewise.
60328 2010-10-20 Jakub Jelinek <jakub@redhat.com>
60330 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
60332 2010-05-31 Petr Baudis <pasky@suse.cz>
60335 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
60336 silently even in the chroot mode.
60338 2010-11-22 Ulrich Drepper <drepper@gmail.com>
60340 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
60341 last patch a bit. Pretty printing
60343 2010-05-31 Petr Baudis <pasky@suse.cz>
60346 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
60347 initialization of skip_initgroups_dyn.
60349 2010-11-19 Ulrich Drepper <drepper@gmail.com>
60351 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
60352 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
60354 2010-11-16 Ulrich Drepper <drepper@gmail.com>
60356 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
60358 2010-11-11 Andreas Schwab <schwab@redhat.com>
60360 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
60361 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
60362 (tst-fnmatch-ENV): Set MALLOC_TRACE.
60363 ($(objpfx)tst-fnmatch-mem): New rule.
60364 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
60365 * posix/tst-fnmatch.c (main): Call mtrace.
60367 2010-11-11 H.J. Lu <hongjiu.lu@intel.com>
60369 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
60370 Support Intel processor model 6 and model 0x2c.
60372 2010-11-10 Luis Machado <luisgpm@br.ibm.com>
60374 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
60377 2010-11-09 H.J. Lu <hongjiu.lu@intel.com>
60380 * string/test-strncasecmp.c (check_result): New function.
60381 (do_one_test): Use it.
60382 (check1): New function.
60383 (test_main): Use it.
60384 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
60385 Support strcasecmp and strncasecmp.
60387 2010-11-08 Ulrich Drepper <drepper@gmail.com>
60390 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
60391 * sysdeps/x86_64/bits/byteswap.h: Likewise.
60393 2010-11-07 H.J. Lu <hongjiu.lu@intel.com>
60395 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
60397 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
60399 * sysdeps/x86_64/multiarch/bzero.S: New file.
60400 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
60401 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
60402 * sysdeps/x86_64/multiarch/memset.S: New file.
60403 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
60404 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
60405 Set bit_Prefer_SSE_for_memop for Intel processors.
60406 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
60408 (index_Prefer_SSE_for_memop): Define.
60409 (HAS_PREFER_SSE_FOR_MEMOP): Define.
60411 2010-11-04 Luis Machado <luisgpm@br.ibm.com>
60413 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
60414 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
60416 2010-11-03 H.J. Lu <hongjiu.lu@intel.com>
60419 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
60420 (__x86_64_raw_data_cache_size_half): Likewise.
60421 (__x86_64_raw_shared_cache_size): Likewise.
60422 (__x86_64_raw_shared_cache_size_half): Likewise.
60424 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
60425 (__x86_64_raw_data_cache_size_half): Likewise.
60426 (__x86_64_raw_shared_cache_size): Likewise.
60427 (__x86_64_raw_shared_cache_size_half): Likewise.
60428 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
60429 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
60430 and __x86_64_raw_shared_cache_size_half. Round
60431 __x86_64_data_cache_size_half, __x86_64_data_cache_size
60432 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
60433 to multiple of 256 bytes.
60435 2010-11-03 Ulrich Drepper <drepper@gmail.com>
60438 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
60439 of inacessible symlinks. Verify result of symlink before returning it.
60440 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
60441 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
60443 2010-10-28 Erich Ritz <erichritz@gmail.com>
60445 * math/math.h (isinf): Fix typo in comment.
60447 2010-11-01 Ulrich Drepper <drepper@gmail.com>
60449 * po/da.po: Update from translation team.
60451 2010-10-26 Ulrich Drepper <drepper@gmail.com>
60453 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
60454 is added to the list.
60456 2010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
60457 Ulrich Drepper <drepper@gmail.com>
60459 * elf/dl-object.c (_dl_new_object): Don't append the new object to
60460 the global list here. Move code to...
60461 (_dl_add_to_namespace_list): ...here. New function.
60462 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
60463 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
60464 * elf/dl-load.c (lose): Don't remove the element from the list.
60465 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
60466 (_dl_map_object): Likewise.
60468 2010-10-25 Ulrich Drepper <drepper@gmail.com>
60471 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
60472 into all bytes of SSE register.
60473 Patch by Richard Li <richardpku@gmail.com>.
60475 2010-10-24 Ulrich Drepper <drepper@gmail.com>
60478 * malloc/malloc.c (_int_free): Fill correct number of bytes when
60481 2010-10-20 Michael B. Brutman <brutman@us.ibm.com>
60483 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
60484 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
60485 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
60486 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
60487 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
60489 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
60491 2010-10-22 Andreas Schwab <schwab@redhat.com>
60493 * include/dlfcn.h (__RTLD_SECURE): Define.
60494 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
60495 mode & __RTLD_SECURE instead.
60496 (open_path): Rename preloaded parameter to secure.
60497 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
60498 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
60499 * elf/dl-deps.c (openaux): Likewise.
60500 * elf/rtld.c (struct map_args): Remove is_preloaded.
60501 (map_doit): Don't use it.
60502 (dl_main): Likewise.
60503 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
60504 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
60506 2010-09-09 Andreas Schwab <schwab@redhat.com>
60508 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
60509 (sysd-rules-targets): Remove duplicates.
60510 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
60511 rtld-%.$o dependency.
60513 2010-10-18 Andreas Schwab <schwab@redhat.com>
60515 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
60516 _dl_map_object do it.
60518 2010-10-19 Ulrich Drepper <drepper@gmail.com>
60520 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
60521 fast fma builtins, define the macros in the C99 standard.
60522 (FP_FAST_FMAF): Likewise.
60523 (FP_FAST_FMAL): Likewise.
60524 * sysdeps/x86_64/bits/mathdef.h: Likewise.
60526 * bits/mathdef.h: Update copyright year.
60527 * sysdeps/powerpc/bits/mathdef.h: Likewise.
60529 2010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
60531 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
60532 builtins, define the macros in the C99 standard.
60533 (FP_FAST_FMAF): Likewise.
60534 (FP_FAST_FMAL): Likewise.
60535 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
60537 (FP_FAST_FMAF): Likewise.
60539 2010-10-15 Jakub Jelinek <jakub@redhat.com>
60542 * math/libm-test.inc (fma_test): Some new testcases.
60543 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
60544 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
60545 y and infinite z. Do multiplication by C already in long double.
60546 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
60547 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
60548 y and infinite z. Do bitwise or of inexact bit into u.d.
60549 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
60550 * sysdeps/i386/fpu/s_fmaf.S: Removed.
60551 * sysdeps/i386/fpu/s_fma.S: Removed.
60552 * sysdeps/i386/fpu/s_fmal.S: Removed.
60554 2010-10-16 Jakub Jelinek <jakub@redhat.com>
60557 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
60558 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
60559 computation is not scheduled after fetestexcept. Fix value
60560 of minimum denormal long double.
60562 2010-10-14 Jakub Jelinek <jakub@redhat.com>
60565 * math/libm-test.inc (fma_test): Add some more tests.
60566 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
60569 2010-10-15 Andreas Schwab <schwab@redhat.com>
60571 * scripts/data/localplt-s390-linux-gnu.data: New file.
60572 * scripts/data/localplt-s390x-linux-gnu.data: New file.
60574 2010-10-13 Jakub Jelinek <jakub@redhat.com>
60577 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
60578 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
60580 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
60582 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
60583 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
60584 if one of x and y is very large and the other is subnormal.
60585 * sysdeps/s390/fpu/s_fmaf.c: New file.
60586 * sysdeps/s390/fpu/s_fma.c: New file.
60587 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
60588 * sysdeps/powerpc/fpu/s_fma.S: New file.
60589 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
60590 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
60591 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
60593 2010-10-12 Jakub Jelinek <jakub@redhat.com>
60596 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
60598 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
60599 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
60600 * sysdeps/i386/i686/multiarch/s_fma.c: Include
60601 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
60602 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
60603 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
60604 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
60606 2010-10-12 Ulrich Drepper <drepper@redhat.com>
60609 * posix/regcomp.c (parse_branch): One more memory leak plugged.
60610 * posix/bug-regex31.input: Add test case.
60612 2010-10-11 Ulrich Drepper <drepper@gmail.com>
60614 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
60615 * posix/bug-regex31.input: New file.
60618 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
60619 (parse_sub_exp): Fix last change, use postorder.
60621 * posix/bug-regex31.c: New file.
60622 * posix/Makefile: Add rules to build and run bug-regex31.
60624 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
60627 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
60630 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
60631 to have entries in sys_siglist.
60634 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
60637 2010-10-07 Jakub Jelinek <jakub@redhat.com>
60640 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
60641 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
60642 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
60643 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
60644 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
60645 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
60646 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
60647 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
60648 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
60649 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
60650 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
60651 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
60652 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
60653 * math/ftestexcept.c (fetestexcept): Likewise.
60654 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
60655 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
60656 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
60657 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
60658 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
60659 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
60660 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
60662 2010-10-11 Ulrich Drepper <drepper@gmail.com>
60665 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
60668 2010-10-06 Ulrich Drepper <drepper@gmail.com>
60670 * string/bug-strstr1.c: New file.
60671 * string/Makefile: Add rules to build and run bug-strstr1.
60673 2010-10-05 Eric Blake <eblake@redhat.com>
60676 * string/str-two-way.h (two_way_long_needle): Always clear memory
60677 when skipping input due to the shift table.
60679 2010-10-03 Ulrich Drepper <drepper@gmail.com>
60682 * malloc/mcheck.c: Handle large requests.
60685 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
60686 for strncmp and strncasecmp.
60687 * string/stratcliff.c: Add tests for strcmp and strncmp.
60688 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
60690 2010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
60692 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
60695 2010-09-30 Andreas Jaeger <aj@suse.de>
60697 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
60698 (CGROUP_SUPER_MAGIC): Define.
60699 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
60700 Handle btrfs and cgroup file systems.
60701 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
60704 2010-09-27 Luis Machado <luisgpm@br.ibm.com>
60706 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
60707 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
60709 2010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
60712 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
60713 trying to locate the ELF header.
60715 2010-09-27 Andreas Schwab <schwab@redhat.com>
60718 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
60719 Mask out sign-bit copies when constructing f_fsid.
60721 2010-09-24 Petr Baudis <pasky@suse.cz>
60723 * debug/stack_chk_fail_local.c: Add missing licence exception.
60724 * debug/warning-nop.c: Likewise.
60726 2010-09-15 Joseph Myers <joseph@codesourcery.com>
60728 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
60729 implementing getdents64 using getdents syscall, set d_type if
60730 __ASSUME_GETDENTS32_D_TYPE.
60732 2010-09-16 Andreas Schwab <schwab@redhat.com>
60734 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
60735 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
60737 2010-09-21 Ulrich Drepper <drepper@redhat.com>
60740 * posix/unistd.h: Undo change of feature selection for ftruncate from
60743 2010-09-20 Ulrich Drepper <drepper@redhat.com>
60745 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
60748 2010-09-20 Andreas Schwab <schwab@redhat.com>
60750 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
60752 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
60754 2010-09-14 Andreas Schwab <schwab@redhat.com>
60756 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
60757 variables after CHECK_SP call.
60758 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
60760 2010-09-13 Andreas Schwab <schwab@redhat.com>
60761 Ulrich Drepper <drepper@redhat.com>
60763 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
60764 re-relocationg ld.so.
60765 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
60766 _dl_init_paths call.
60767 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
60770 2010-09-14 Ulrich Drepper <drepper@redhat.com>
60772 * resolv/res_init.c (__res_vinit): Count the default server we added.
60774 2010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
60775 Ulrich Drepper <drepper@redhat.com>
60778 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
60779 (____longjmp_chk): Use %ebx for saving value across system call.
60782 2010-09-06 Andreas Schwab <schwab@redhat.com>
60784 * manual/Makefile: Don't mix pattern rules with normal rules.
60786 2010-09-05 Andreas Schwab <schwab@linux-m68k.org>
60788 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
60790 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
60791 * libio/iofopncook.c (_IO_cookie_init): Likewise.
60792 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
60793 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
60794 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
60797 2010-09-04 Ulrich Drepper <drepper@redhat.com>
60800 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
60801 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
60803 2010-09-02 Ulrich Drepper <drepper@redhat.com>
60805 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
60806 * sysdeps/x86_64/addmul_1.S: Likewise.
60807 * sysdeps/x86_64/lshift.S: Likewise.
60808 * sysdeps/x86_64/mul_1.S: Likewise.
60809 * sysdeps/x86_64/rshift.S: Likewise.
60810 * sysdeps/x86_64/sub_n.S: Likewise.
60811 * sysdeps/x86_64/submul_1.S: Likewise.
60813 2010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
60815 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
60816 Define __sched_param instead of SCHED_* and sched_param when
60817 <bits/sched.h> is included with __need_schedparam defined.
60818 * bits/sched.h [__need_schedparam]
60819 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
60820 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
60821 (__defined_schedparam): Define to 1.
60822 (__sched_param): New structure, identical to sched_param.
60823 (__need_schedparam): Undefine.
60825 2010-08-31 Mike Frysinger <vapier@gentoo.org>
60827 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
60828 (epoll_create1): Declare.
60830 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
60832 2010-08-31 Andreas Schwab <schwab@redhat.com>
60835 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
60836 shifting retval into place.
60838 2010-09-01 Ulrich Drepper <drepper@redhat.com>
60840 * nis/rpcsvc/nis.h: Update copyright notice.
60841 * nis/rpcsvc/nis.x: Likewise.
60842 * nis/rpcsvc/nis_callback.h: Likewise.
60843 * nis/rpcsvc/nis_callback.x: Likewise.
60844 * nis/rpcsvc/nis_object.x: Likewise.
60845 * nis/rpcsvc/nis_tags.h: Likewise.
60846 * nis/rpcsvc/yp.h: Likewise.
60847 * nis/rpcsvc/yp.x: Likewise.
60848 * nis/rpcsvc/ypupd.h: Likewise.
60849 * nis/yp_xdr.c: Likewise.
60850 * nis/ypupdate_xdr.c: Likewise.
60852 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
60853 mainly the body of pmap_getport. Add parameters to specify timeouts.
60854 (pmap_getport): Use __libc_rpc_getport.
60855 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
60856 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
60857 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
60859 2010-08-31 Andreas Schwab <schwab@linux-m68k.org>
60861 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
60864 2010-08-27 Roland McGrath <roland@redhat.com>
60866 * sysdeps/i386/i686/multiarch/Makefile
60867 (CFLAGS-varshift.c): New variable.
60869 2010-08-27 Ulrich Drepper <drepper@redhat.com>
60871 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
60872 * sysdeps/i386/i686/multiarch/varshift.c: New file.
60874 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
60876 * sysdeps/x86_64/strlen.S: Minimal code improvement.
60878 2010-08-26 H.J. Lu <hongjiu.lu@intel.com>
60880 * sysdeps/x86_64/strlen.S: Unroll the loop.
60881 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
60882 strlen-sse2 strlen-sse2-bsf.
60883 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
60884 __strlen_no_bsf if bit_Slow_BSF is set.
60885 (__strlen_sse42): Removed.
60886 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
60887 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
60889 2010-08-25 Roland McGrath <roland@redhat.com>
60891 * sysdeps/x86_64/multiarch/varshift.S: File removed.
60892 * sysdeps/x86_64/multiarch/varshift.c: New file.
60893 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
60894 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
60895 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
60896 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
60898 2010-08-25 H.J. Lu <hongjiu.lu@intel.com>
60900 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
60901 strlen-sse2 strlen-sse2-bsf.
60902 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
60903 __strlen_sse2_bsf if bit_Slow_BSF is unset.
60904 (__strlen_sse2): Removed.
60905 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
60906 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
60907 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
60908 bit_Slow_BSF for Atom.
60909 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
60910 (index_Slow_BSF): Define.
60911 (HAS_SLOW_BSF): Define.
60913 2010-08-25 Ulrich Drepper <drepper@redhat.com>
60916 * resolv/res_init.c (__res_vinit): When no server address at all
60917 is given default to loopback.
60919 2010-08-24 Roland McGrath <roland@redhat.com>
60921 * configure.in: Remove config-name.h generation.
60922 * configure: Regenerated.
60923 * config-name.in: File removed.
60924 * scripts/config-uname.sh: New file.
60925 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
60926 ($(objdir)config-name.h): New target.
60928 * sunrpc/rpc_parse.h: Avoid nested comment.
60930 2010-08-24 Richard Henderson <rth@redhat.com>
60931 Ulrich Drepper <drepper@redhat.com>
60932 H.J. Lu <hongjiu.lu@intel.com>
60934 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
60935 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
60936 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
60937 Replace _mm_srli_si128 with __m128i_shift_right. Replace
60938 _mm_alignr_epi8 with _mm_loadu_si128.
60939 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
60940 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
60941 (__m128i_shift_right): Removed.
60942 * sysdeps/i386/i686/multiarch/varshift.h: New file.
60943 * sysdeps/i386/i686/multiarch/varshift.S: New file.
60944 * sysdeps/x86_64/multiarch/varshift.h: New file.
60945 * sysdeps/x86_64/multiarch/varshift.S: New file.
60947 2010-08-21 Mike Frysinger <vapier@gentoo.org>
60949 * configure.in: Move assembler checks to before sysdep dir checking.
60951 2010-08-20 Petr Baudis <pasky@suse.cz>
60953 * LICENSES: Sync the sunrpc license.
60955 2010-08-19 Ulrich Drepper <drepper@redhat.com>
60957 * sunrpc/auth_des.c: Update copyright notice once again.
60958 * sunrpc/auth_none.c: Likewise.
60959 * sunrpc/auth_unix.c: Likewise.
60960 * sunrpc/authdes_prot.c: Likewise.
60961 * sunrpc/authuxprot.c: Likewise.
60962 * sunrpc/bindrsvprt.c: Likewise.
60963 * sunrpc/clnt_gen.c: Likewise.
60964 * sunrpc/clnt_perr.c: Likewise.
60965 * sunrpc/clnt_raw.c: Likewise.
60966 * sunrpc/clnt_simp.c: Likewise.
60967 * sunrpc/clnt_tcp.c: Likewise.
60968 * sunrpc/clnt_udp.c: Likewise.
60969 * sunrpc/clnt_unix.c: Likewise.
60970 * sunrpc/des_crypt.c: Likewise.
60971 * sunrpc/des_soft.c: Likewise.
60972 * sunrpc/get_myaddr.c: Likewise.
60973 * sunrpc/getrpcport.c: Likewise.
60974 * sunrpc/key_call.c: Likewise.
60975 * sunrpc/key_prot.c: Likewise.
60976 * sunrpc/openchild.c: Likewise.
60977 * sunrpc/pm_getmaps.c: Likewise.
60978 * sunrpc/pm_getport.c: Likewise.
60979 * sunrpc/pmap_clnt.c: Likewise.
60980 * sunrpc/pmap_prot.c: Likewise.
60981 * sunrpc/pmap_prot2.c: Likewise.
60982 * sunrpc/pmap_rmt.c: Likewise.
60983 * sunrpc/rpc/auth.h: Likewise.
60984 * sunrpc/rpc/auth_unix.h: Likewise.
60985 * sunrpc/rpc/clnt.h: Likewise.
60986 * sunrpc/rpc/des_crypt.h: Likewise.
60987 * sunrpc/rpc/key_prot.h: Likewise.
60988 * sunrpc/rpc/netdb.h: Likewise.
60989 * sunrpc/rpc/pmap_clnt.h: Likewise.
60990 * sunrpc/rpc/pmap_prot.h: Likewise.
60991 * sunrpc/rpc/pmap_rmt.h: Likewise.
60992 * sunrpc/rpc/rpc.h: Likewise.
60993 * sunrpc/rpc/rpc_des.h: Likewise.
60994 * sunrpc/rpc/rpc_msg.h: Likewise.
60995 * sunrpc/rpc/svc.h: Likewise.
60996 * sunrpc/rpc/svc_auth.h: Likewise.
60997 * sunrpc/rpc/types.h: Likewise.
60998 * sunrpc/rpc/xdr.h: Likewise.
60999 * sunrpc/rpc_clntout.c: Likewise.
61000 * sunrpc/rpc_cmsg.c: Likewise.
61001 * sunrpc/rpc_common.c: Likewise.
61002 * sunrpc/rpc_cout.c: Likewise.
61003 * sunrpc/rpc_dtable.c: Likewise.
61004 * sunrpc/rpc_hout.c: Likewise.
61005 * sunrpc/rpc_main.c: Likewise.
61006 * sunrpc/rpc_parse.c: Likewise.
61007 * sunrpc/rpc_parse.h: Likewise.
61008 * sunrpc/rpc_prot.c: Likewise.
61009 * sunrpc/rpc_sample.c: Likewise.
61010 * sunrpc/rpc_scan.c: Likewise.
61011 * sunrpc/rpc_scan.h: Likewise.
61012 * sunrpc/rpc_svcout.c: Likewise.
61013 * sunrpc/rpc_tblout.c: Likewise.
61014 * sunrpc/rpc_util.c: Likewise.
61015 * sunrpc/rpc_util.h: Likewise.
61016 * sunrpc/rpcinfo.c: Likewise.
61017 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
61018 * sunrpc/rpcsvc/key_prot.x: Likewise.
61019 * sunrpc/rpcsvc/klm_prot.x: Likewise.
61020 * sunrpc/rpcsvc/mount.x: Likewise.
61021 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
61022 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
61023 * sunrpc/rpcsvc/rex.x: Likewise.
61024 * sunrpc/rpcsvc/rstat.x: Likewise.
61025 * sunrpc/rpcsvc/rusers.x: Likewise.
61026 * sunrpc/rpcsvc/sm_inter.x: Likewise.
61027 * sunrpc/rpcsvc/spray.x: Likewise.
61028 * sunrpc/rpcsvc/yppasswd.x: Likewise.
61029 * sunrpc/rtime.c: Likewise.
61030 * sunrpc/svc.c: Likewise.
61031 * sunrpc/svc_auth.c: Likewise.
61032 * sunrpc/svc_authux.c: Likewise.
61033 * sunrpc/svc_raw.c: Likewise.
61034 * sunrpc/svc_run.c: Likewise.
61035 * sunrpc/svc_simple.c: Likewise.
61036 * sunrpc/svc_tcp.c: Likewise.
61037 * sunrpc/svc_udp.c: Likewise.
61038 * sunrpc/svc_unix.c: Likewise.
61039 * sunrpc/svcauth_des.c: Likewise.
61040 * sunrpc/xcrypt.c: Likewise.
61041 * sunrpc/xdr.c: Likewise.
61042 * sunrpc/xdr_array.c: Likewise.
61043 * sunrpc/xdr_float.c: Likewise.
61044 * sunrpc/xdr_mem.c: Likewise.
61045 * sunrpc/xdr_rec.c: Likewise.
61046 * sunrpc/xdr_ref.c: Likewise.
61047 * sunrpc/xdr_sizeof.c: Likewise.
61048 * sunrpc/xdr_stdio.c: Likewise.
61050 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
61053 2010-08-19 Andreas Schwab <schwab@redhat.com>
61055 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
61057 2010-08-19 Luis Machado <luisgpm@br.ibm.com>
61059 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
61060 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
61061 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
61062 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
61063 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
61064 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
61065 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
61066 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
61067 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
61068 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
61069 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
61070 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
61071 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
61072 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
61074 2010-07-26 Anton Blanchard <anton@samba.org>
61076 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
61077 * malloc/arena.c (heap_trim): Likewise.
61079 2010-08-16 Ulrich Drepper <drepper@redhat.com>
61081 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
61083 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
61084 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
61086 2010-08-12 H.J. Lu <hongjiu.lu@intel.com>
61088 * sysdeps/i386/elf/Makefile: New file.
61090 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
61092 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
61093 from fanotify_init.
61094 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
61095 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
61097 2010-08-15 Ulrich Drepper <drepper@redhat.com>
61099 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
61101 * sysdeps/multiarch/strcmp.S: Likewise.
61103 2010-08-14 Ulrich Drepper <drepper@redhat.com>
61105 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
61106 strncase_l-nonascii.
61107 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
61108 Add strncase_l-ssse3.
61109 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
61110 * sysdeps/x86_64/strcmp.S: Likewise.
61111 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
61112 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
61113 * sysdeps/x86_64/strncase.S: New file.
61114 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
61115 * sysdeps/x86_64/strncase_l.S: New file.
61116 * string/Makefile (strop-tests): Add strncasecmp.
61117 * string/test-strncasecmp.c: New file.
61119 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
61122 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
61123 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
61125 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
61127 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
61129 2010-08-12 Ulrich Drepper <drepper@redhat.com>
61131 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
61132 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
61133 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
61135 2010-05-01 Alan Modra <amodra@gmail.com>
61137 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
61138 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
61139 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
61140 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
61141 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
61142 tidying. Don't tail-call __sigjmp_save for static lib.
61143 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
61145 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
61146 (CALL_MCOUNT): Add eh info, and nop after bl.
61147 (TAIL_CALL_SYSCALL_ERROR): New macro.
61148 (PSEUDO_RET): Use it.
61149 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
61150 Correct save location of integer regs and cr.
61151 (_dl_profile_resolve): Correct cr save location. Delete nops
61152 after bl when SHARED. Reduce cfi size a little by better
61153 placement of cfi directives.
61154 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
61155 make a stack frame. Instead use parm save area as a temp.
61156 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
61157 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
61158 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
61159 Don't make a stack frame for parent, use parm save area.
61160 Increase child stack frame to 112 bytes. Don't save unused reg,
61161 and adjust reg usage. Set up cfi on error recovery and
61162 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
61163 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
61164 (__makecontext): Add dummy nop after jump to exit.
61165 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
61166 Use correct parm save area and cr save, reduce stack frame.
61167 Correct cfi for possible PSEUDO_RET frame setup.
61168 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
61169 Branch to local label emitted by PSEUDO_RET rather than
61172 2010-08-12 Andreas Schwab <schwab@redhat.com>
61175 * locale/programs/locale.c (print_assignment): New function.
61176 (show_locale_vars): Use it.
61178 2010-08-11 Ulrich Drepper <drepper@redhat.com>
61180 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
61182 (struct statfs64): Likewise.
61183 (_STATFS_F_FLAGS): Define.
61184 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
61185 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
61186 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
61187 (ST_VALID): Define locally.
61188 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
61189 __statvfs_getflags, use the provided value.
61190 * sysdeps/unix/sysv/linux/kernel-features.h: Define
61191 __ASSUME_STATFS_F_FLAGS.
61193 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
61195 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
61196 Add sys/fanotify.h.
61197 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
61198 fanotify_mask for GLIBC_2.13.
61199 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
61200 fanotify_init and fanotify_mark.
61201 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
61202 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
61204 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
61206 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
61207 prlimit64 for GLIBC_2.13.
61208 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
61210 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
61212 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
61213 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
61214 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
61215 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
61216 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
61218 * sysdeps/unix/sysv/linux/prlimit.c: New file.
61221 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
61222 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
61224 * nss/Makefile: Add rules to build and run tst-nss-test1.
61225 * shlib-versions: Add entry for libnss_test1.
61226 * nss/nss_test1.c: New file.
61227 * nss/tst-nss-test1.c: New file.
61229 * nss/nsswitch.c (__nss_database_custom): Define new variable.
61230 (__nss_configure_lookup): Set appropriate entry in
61231 __nss_configure_lookup to true.
61232 * nss/nsswitch.h: Define enum with indeces of databases in
61233 databases and __nss_database_custom arrays. Declare
61234 __nss_database_custom.
61235 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
61236 to avoid using nscd when custom rules are installed.
61237 * nss/getXXbyYY_r.c: Likewise.
61238 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
61240 * nss/nss_files/files-parse.c: Whitespace fixes.
61242 2010-08-09 Ulrich Drepper <drepper@redhat.com>
61245 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
61246 * posix/fnmatch_loop.c: Likewise.
61248 2010-07-17 Andi Kleen <ak@linux.intel.com>
61250 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
61251 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
61252 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
61253 * Versions.def [GLIBC_2.13]: Add.
61255 2010-08-06 Ulrich Drepper <drepper@redhat.com>
61257 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
61258 Also fail if tpwd after pwuid call is NULL.
61260 2010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
61262 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
61263 when converting to ms.
61265 2010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
61267 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
61268 EOPNOTSUPP errors with ENOTTY.
61269 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
61270 EOPNOTSUPP errors with ENOTTY.
61272 2010-07-31 Ulrich Drepper <drepper@redhat.com>
61274 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
61275 Add strcasecmp_l-ssse3.
61276 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
61278 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
61279 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
61280 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
61282 2010-07-30 Ulrich Drepper <drepper@redhat.com>
61284 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
61286 * string/Makefile (strop-tests): Add strcasecmp.
61287 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
61288 strcasecmp_l-nonascii.
61289 (gen-as-const-headers): Add locale-defines.sym.
61290 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
61291 * sysdeps/x86_64/strcasecmp.S: New file.
61292 * sysdeps/x86_64/strcasecmp_l.S: New file.
61293 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
61294 * sysdeps/x86_64/locale-defines.sym: New file.
61295 * string/test-strcasecmp.c: New file.
61297 * string/test-strcasestr.c: Test both ends of the range of characters.
61298 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
61300 2010-07-29 Roland McGrath <roland@redhat.com>
61303 * manual/locale.texi (Yes-or-No Questions): Fix example code.
61305 2010-07-27 Ulrich Drepper <drepper@redhat.com>
61307 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
61310 2010-07-27 Andreas Schwab <schwab@redhat.com>
61312 * manual/memory.texi (Malloc Tunable Parameters): Document
61315 2010-07-26 Roland McGrath <roland@redhat.com>
61318 * configure.in (-fgnu89-inline check): Set and substitute
61319 gnu89_inline, not libc_cv_gnu89_inline.
61320 * configure: Regenerated.
61321 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
61323 2010-07-26 Ulrich Drepper <drepper@redhat.com>
61325 * string/test-strnlen.c: New file.
61326 * string/Makefile (strop-tests): Add strnlen.
61327 * string/tester.c (test_strnlen): Add a few more test cases.
61328 * string/tst-strlen.c: Better error reporting.
61330 * sysdeps/x86_64/strnlen.S: New file.
61332 2010-07-24 Ulrich Drepper <drepper@redhat.com>
61334 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
61335 lower-latency instructions.
61337 2010-07-23 Ulrich Drepper <drepper@redhat.com>
61339 * string/test-strcasestr.c: New file.
61340 * string/test-strstr.c: New file.
61341 * string/Makefile (strop-tests): Add strstr and strcasestr.
61342 * string/str-two-way.h: Don't undefine MAX.
61343 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
61345 2010-07-21 Andreas Schwab <schwab@redhat.com>
61347 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
61348 strcasestr-nonascii.
61349 (CFLAGS-strcasestr-nonascii.c): Define.
61350 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
61351 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
61352 Remove unused attribute.
61354 2010-07-20 Roland McGrath <roland@redhat.com>
61356 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
61357 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
61358 ld.so.cache was broken. With it, there is no way to disable dsocaps
61359 like LD_HWCAP_MASK can disable hwcaps.
61361 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
61363 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
61365 2010-07-16 Ulrich Drepper <drepper@redhat.com>
61367 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
61368 call in strcasestr.
61369 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
61370 __strcasestr_sse42_nonascii.
61371 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
61372 strcasestr-nonascii.c.
61373 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
61375 2010-06-15 Luis Machado <luisgpm@br.ibm.com>
61377 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
61378 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
61379 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
61380 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
61382 2010-07-09 Ulrich Drepper <drepper@redhat.com>
61384 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
61387 2010-07-06 Andreas Schwab <schwab@redhat.com>
61390 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
61393 2010-07-06 Ulrich Drepper <drepper@redhat.com>
61395 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
61396 _PC_PIPE_BUF using F_GETPIPE_SZ.
61398 2010-07-05 Roland McGrath <roland@redhat.com>
61400 * manual/arith.texi (Rounding Functions): Fix rint description
61401 implicit in round description.
61403 2010-07-02 Ulrich Drepper <drepper@redhat.com>
61405 * elf/Makefile: Fix linking for a few tests to make recent linker
61408 2010-06-30 Andreas Schwab <schwab@redhat.com>
61410 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
61411 $(common-objpfx)libc_nonshared.a.
61413 2010-06-21 Luis Machado <luisgpm@br.ibm.com>
61415 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
61416 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
61417 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
61418 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
61419 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
61420 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
61421 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
61422 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
61423 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
61424 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
61425 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
61426 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
61427 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
61428 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
61429 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
61430 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
61431 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
61432 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
61433 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
61434 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
61435 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
61436 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
61437 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
61438 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
61439 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
61440 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
61441 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
61442 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
61443 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
61444 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
61445 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
61446 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
61447 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
61448 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
61449 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
61450 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
61451 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
61452 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
61453 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
61454 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
61455 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
61456 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
61457 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
61458 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
61459 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
61460 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
61461 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
61462 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
61464 2010-06-25 H.J. Lu <hongjiu.lu@intel.com>
61466 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
61467 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
61468 * string/memmove.c (memmove): Renamed to ...
61469 (MEMMOVE): ...this. Default to memmove.
61470 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
61471 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
61473 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
61474 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
61475 mempcpy-ssse3-back memmove-ssse3-back.
61476 * sysdeps/x86_64/multiarch/bcopy.S: New file .
61477 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
61478 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
61479 * sysdeps/x86_64/multiarch/memcpy.S: New file.
61480 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
61481 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
61482 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
61483 * sysdeps/x86_64/multiarch/memmove.c: New file.
61484 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
61485 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
61486 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
61487 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
61488 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
61489 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
61491 (index_Fast_Copy_Backward): Define.
61492 (HAS_ARCH_FEATURE): Define.
61493 (HAS_FAST_REP_STRING): Define.
61494 (HAS_FAST_COPY_BACKWARD): Define.
61496 2010-06-21 Andreas Schwab <schwab@redhat.com>
61498 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
61499 Restore proper fallback handling.
61501 2010-06-19 Ulrich Drepper <drepper@redhat.com>
61504 * posix/group_member.c (__group_member): Correct checking loop.
61506 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
61507 OOM in getpwuid_r correctly. Return error number when the caller
61508 should return, otherwise -1.
61509 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
61510 call returning > 0 value.
61511 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
61513 2010-06-07 Andreas Schwab <schwab@redhat.com>
61515 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
61516 libc_nonshared.a from targets in modules-names.
61518 2010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
61520 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
61523 2010-06-10 Luis Machado <luisgpm@br.ibm.com>
61525 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
61526 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
61527 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
61528 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
61530 2010-06-02 Andreas Schwab <schwab@redhat.com>
61532 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
61534 2010-06-14 Ulrich Drepper <drepper@redhat.com>
61536 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
61538 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
61539 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
61540 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
61541 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
61542 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
61543 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
61545 2010-06-14 Roland McGrath <roland@redhat.com>
61547 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
61549 2010-06-07 Jakub Jelinek <jakub@redhat.com>
61551 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
61552 __REDIRECT followed by __THROW.
61553 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
61554 * posix/getopt.h (getopt): Likewise.
61556 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
61558 * hurd/lookup-at.c (__file_name_lookup_at): Accept
61559 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
61560 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
61562 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
61563 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
61565 2010-05-28 Luis Machado <luisgpm@br.ibm.com>
61567 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
61569 2010-05-26 H.J. Lu <hongjiu.lu@intel.com>
61572 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
61573 Properly check family and model.
61575 2010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
61577 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
61579 2010-05-24 Luis Machado <luisgpm@br.ibm.com>
61581 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
61583 2010-05-21 Ulrich Drepper <drepper@redhat.com>
61585 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
61588 2010-05-19 Andreas Schwab <schwab@redhat.com>
61590 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
61593 2010-05-21 Andreas Schwab <schwab@redhat.com>
61595 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
61596 and internal_recvmmsg.
61597 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
61598 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
61599 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
61600 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
61602 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
61603 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
61604 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
61606 2010-05-20 Andreas Schwab <schwab@redhat.com>
61608 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
61610 2010-05-17 Luis Machado <luisgpm@br.ibm.com>
61612 POWER7 optimizations.
61613 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
61614 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
61616 2010-05-19 Ulrich Drepper <drepper@redhat.com>
61618 * version.h: Update for 2.13 development version.
61620 2010-05-12 Andrew Stubbs <ams@codesourcery.com>
61622 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
61623 exceptions. Return 0.
61625 2010-05-07 Roland McGrath <roland@redhat.com>
61627 * elf/ldconfig.c (main): Add a const.
61629 2010-05-06 Ulrich Drepper <drepper@redhat.com>
61631 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
61632 (args_options): Add no-idn option.
61633 (ahosts_keys_int): Add idn_flags to ai_flags.
61634 (parse_option): Handle 'i' option to clear idn_flags.
61636 * malloc/malloc.c (_int_free): Possible race in the most recently
61637 added check. Only act on the data if no current modification
61640 See ChangeLog.17 for earlier changes.